]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/_core_wrap.cpp
gave different accels to different radio items
[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
c32bde28 6008static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
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:InputStream_close",kwnames,&obj0)) goto fail;
15afbcd0
RD
6017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6019 {
6020 PyThreadState* __tstate = wxPyBeginAllowThreads();
6021 (arg1)->close();
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_flush(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_flush",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)->flush();
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_eof(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6059 PyObject *resultobj;
6060 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6061 bool result;
6062 PyObject * obj0 = 0 ;
6063 char *kwnames[] = {
6064 (char *) "self", NULL
6065 };
6066
6067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
6068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6070 {
6071 PyThreadState* __tstate = wxPyBeginAllowThreads();
6072 result = (bool)(arg1)->eof();
6073
6074 wxPyEndAllowThreads(__tstate);
6075 if (PyErr_Occurred()) SWIG_fail;
6076 }
4f89f6a3
RD
6077 {
6078 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6079 }
d14a1e28
RD
6080 return resultobj;
6081 fail:
6082 return NULL;
6083}
6084
6085
c32bde28 6086static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6087 PyObject *resultobj;
6088 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6089 int arg2 = (int) -1 ;
6090 PyObject *result;
6091 PyObject * obj0 = 0 ;
994141e6 6092 PyObject * obj1 = 0 ;
d14a1e28
RD
6093 char *kwnames[] = {
6094 (char *) "self",(char *) "size", NULL
6095 };
6096
994141e6 6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6100 if (obj1) {
c32bde28 6101 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6102 if (PyErr_Occurred()) SWIG_fail;
994141e6 6103 }
d14a1e28
RD
6104 {
6105 PyThreadState* __tstate = wxPyBeginAllowThreads();
6106 result = (PyObject *)(arg1)->read(arg2);
6107
6108 wxPyEndAllowThreads(__tstate);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 }
6111 resultobj = result;
6112 return resultobj;
6113 fail:
6114 return NULL;
6115}
6116
6117
c32bde28 6118static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6119 PyObject *resultobj;
6120 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6121 int arg2 = (int) -1 ;
6122 PyObject *result;
6123 PyObject * obj0 = 0 ;
994141e6 6124 PyObject * obj1 = 0 ;
d14a1e28
RD
6125 char *kwnames[] = {
6126 (char *) "self",(char *) "size", NULL
6127 };
6128
994141e6 6129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6132 if (obj1) {
c32bde28 6133 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6134 if (PyErr_Occurred()) SWIG_fail;
994141e6 6135 }
d14a1e28
RD
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 result = (PyObject *)(arg1)->readline(arg2);
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 resultobj = result;
6144 return resultobj;
6145 fail:
6146 return NULL;
6147}
6148
6149
c32bde28 6150static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6151 PyObject *resultobj;
6152 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6153 int arg2 = (int) -1 ;
6154 PyObject *result;
6155 PyObject * obj0 = 0 ;
994141e6 6156 PyObject * obj1 = 0 ;
d14a1e28
RD
6157 char *kwnames[] = {
6158 (char *) "self",(char *) "sizehint", NULL
6159 };
6160
994141e6 6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 6164 if (obj1) {
c32bde28 6165 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6166 if (PyErr_Occurred()) SWIG_fail;
994141e6 6167 }
d14a1e28
RD
6168 {
6169 PyThreadState* __tstate = wxPyBeginAllowThreads();
6170 result = (PyObject *)(arg1)->readlines(arg2);
6171
6172 wxPyEndAllowThreads(__tstate);
6173 if (PyErr_Occurred()) SWIG_fail;
6174 }
6175 resultobj = result;
6176 return resultobj;
6177 fail:
6178 return NULL;
6179}
6180
6181
c32bde28 6182static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6183 PyObject *resultobj;
6184 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6185 int arg2 ;
6186 int arg3 = (int) 0 ;
6187 PyObject * obj0 = 0 ;
994141e6
RD
6188 PyObject * obj1 = 0 ;
6189 PyObject * obj2 = 0 ;
d14a1e28
RD
6190 char *kwnames[] = {
6191 (char *) "self",(char *) "offset",(char *) "whence", NULL
6192 };
6193
994141e6 6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6197 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 6198 if (PyErr_Occurred()) SWIG_fail;
994141e6 6199 if (obj2) {
c32bde28 6200 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6201 if (PyErr_Occurred()) SWIG_fail;
994141e6 6202 }
d14a1e28
RD
6203 {
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 (arg1)->seek(arg2,arg3);
6206
6207 wxPyEndAllowThreads(__tstate);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 Py_INCREF(Py_None); resultobj = Py_None;
6211 return resultobj;
6212 fail:
6213 return NULL;
6214}
6215
6216
c32bde28 6217static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6218 PyObject *resultobj;
6219 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6220 int result;
6221 PyObject * obj0 = 0 ;
6222 char *kwnames[] = {
6223 (char *) "self", NULL
6224 };
6225
6226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
15afbcd0
RD
6227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6229 {
6230 PyThreadState* __tstate = wxPyBeginAllowThreads();
6231 result = (int)(arg1)->tell();
6232
6233 wxPyEndAllowThreads(__tstate);
6234 if (PyErr_Occurred()) SWIG_fail;
6235 }
c32bde28 6236 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
6237 return resultobj;
6238 fail:
6239 return NULL;
6240}
6241
6242
c32bde28 6243static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6244 PyObject *resultobj;
6245 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6246 char result;
6247 PyObject * obj0 = 0 ;
6248 char *kwnames[] = {
6249 (char *) "self", NULL
6250 };
6251
6252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
15afbcd0
RD
6253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 result = (char)(arg1)->Peek();
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
c32bde28 6262 resultobj = SWIG_From_char((char)result);
d14a1e28
RD
6263 return resultobj;
6264 fail:
6265 return NULL;
6266}
6267
6268
c32bde28 6269static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6270 PyObject *resultobj;
6271 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6272 char result;
6273 PyObject * obj0 = 0 ;
6274 char *kwnames[] = {
6275 (char *) "self", NULL
6276 };
6277
6278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
15afbcd0
RD
6279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6281 {
6282 PyThreadState* __tstate = wxPyBeginAllowThreads();
6283 result = (char)(arg1)->GetC();
6284
6285 wxPyEndAllowThreads(__tstate);
6286 if (PyErr_Occurred()) SWIG_fail;
6287 }
c32bde28 6288 resultobj = SWIG_From_char((char)result);
d14a1e28
RD
6289 return resultobj;
6290 fail:
6291 return NULL;
6292}
6293
6294
c32bde28 6295static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6296 PyObject *resultobj;
6297 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6298 size_t result;
6299 PyObject * obj0 = 0 ;
6300 char *kwnames[] = {
6301 (char *) "self", NULL
6302 };
6303
6304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
6305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6307 {
6308 PyThreadState* __tstate = wxPyBeginAllowThreads();
6309 result = (size_t)(arg1)->LastRead();
6310
6311 wxPyEndAllowThreads(__tstate);
6312 if (PyErr_Occurred()) SWIG_fail;
6313 }
c32bde28 6314 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
6315 return resultobj;
6316 fail:
6317 return NULL;
6318}
6319
6320
c32bde28 6321static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6322 PyObject *resultobj;
6323 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6324 bool result;
6325 PyObject * obj0 = 0 ;
6326 char *kwnames[] = {
6327 (char *) "self", NULL
6328 };
6329
6330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
6331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 result = (bool)(arg1)->CanRead();
6336
6337 wxPyEndAllowThreads(__tstate);
6338 if (PyErr_Occurred()) SWIG_fail;
6339 }
4f89f6a3
RD
6340 {
6341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6342 }
d14a1e28
RD
6343 return resultobj;
6344 fail:
6345 return NULL;
6346}
6347
6348
c32bde28 6349static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6350 PyObject *resultobj;
6351 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6352 bool result;
6353 PyObject * obj0 = 0 ;
6354 char *kwnames[] = {
6355 (char *) "self", NULL
6356 };
6357
6358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
6359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6361 {
6362 PyThreadState* __tstate = wxPyBeginAllowThreads();
6363 result = (bool)(arg1)->Eof();
6364
6365 wxPyEndAllowThreads(__tstate);
6366 if (PyErr_Occurred()) SWIG_fail;
6367 }
4f89f6a3
RD
6368 {
6369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6370 }
d14a1e28
RD
6371 return resultobj;
6372 fail:
6373 return NULL;
6374}
6375
6376
c32bde28 6377static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6378 PyObject *resultobj;
6379 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6380 char arg2 ;
6381 bool result;
6382 PyObject * obj0 = 0 ;
994141e6 6383 PyObject * obj1 = 0 ;
d14a1e28
RD
6384 char *kwnames[] = {
6385 (char *) "self",(char *) "c", NULL
6386 };
6387
994141e6 6388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6391 arg2 = (char)SWIG_As_char(obj1);
15afbcd0 6392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6393 {
6394 PyThreadState* __tstate = wxPyBeginAllowThreads();
6395 result = (bool)(arg1)->Ungetch(arg2);
6396
6397 wxPyEndAllowThreads(__tstate);
6398 if (PyErr_Occurred()) SWIG_fail;
6399 }
4f89f6a3
RD
6400 {
6401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6402 }
d14a1e28
RD
6403 return resultobj;
6404 fail:
6405 return NULL;
6406}
6407
6408
c32bde28 6409static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6410 PyObject *resultobj;
6411 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6412 long arg2 ;
6413 int arg3 = (int) wxFromStart ;
6414 long result;
6415 PyObject * obj0 = 0 ;
994141e6
RD
6416 PyObject * obj1 = 0 ;
6417 PyObject * obj2 = 0 ;
d14a1e28
RD
6418 char *kwnames[] = {
6419 (char *) "self",(char *) "pos",(char *) "mode", NULL
6420 };
6421
994141e6 6422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 6425 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 6426 if (PyErr_Occurred()) SWIG_fail;
994141e6 6427 if (obj2) {
c32bde28 6428 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6429 if (PyErr_Occurred()) SWIG_fail;
994141e6 6430 }
d14a1e28
RD
6431 {
6432 PyThreadState* __tstate = wxPyBeginAllowThreads();
6433 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6434
6435 wxPyEndAllowThreads(__tstate);
6436 if (PyErr_Occurred()) SWIG_fail;
6437 }
c32bde28 6438 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
6439 return resultobj;
6440 fail:
6441 return NULL;
6442}
6443
6444
c32bde28 6445static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6446 PyObject *resultobj;
6447 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6448 long result;
6449 PyObject * obj0 = 0 ;
6450 char *kwnames[] = {
6451 (char *) "self", NULL
6452 };
6453
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
15afbcd0
RD
6455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 result = (long)(arg1)->TellI();
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
c32bde28 6464 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
6465 return resultobj;
6466 fail:
6467 return NULL;
6468}
6469
6470
c32bde28 6471static PyObject * InputStream_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6472 PyObject *obj;
6473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6474 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6475 Py_INCREF(obj);
6476 return Py_BuildValue((char *)"");
6477}
c32bde28 6478static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6479 PyObject *resultobj;
6480 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6481 PyObject *arg2 = (PyObject *) 0 ;
6482 PyObject * obj0 = 0 ;
6483 PyObject * obj1 = 0 ;
6484 char *kwnames[] = {
6485 (char *) "self",(char *) "obj", NULL
6486 };
6487
6488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6491 arg2 = obj1;
6492 {
6493 PyThreadState* __tstate = wxPyBeginAllowThreads();
6494 wxOutputStream_write(arg1,arg2);
6495
6496 wxPyEndAllowThreads(__tstate);
6497 if (PyErr_Occurred()) SWIG_fail;
6498 }
6499 Py_INCREF(Py_None); resultobj = Py_None;
6500 return resultobj;
6501 fail:
6502 return NULL;
6503}
6504
6505
c32bde28 6506static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6507 PyObject *obj;
6508 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6509 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6510 Py_INCREF(obj);
6511 return Py_BuildValue((char *)"");
6512}
c32bde28 6513static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6514 PyObject *resultobj;
6515 wxInputStream *arg1 = (wxInputStream *) 0 ;
6516 wxString *arg2 = 0 ;
6517 wxString *arg3 = 0 ;
6518 wxString *arg4 = 0 ;
6519 wxDateTime arg5 ;
6520 wxFSFile *result;
6521 wxPyInputStream *temp1 ;
6522 bool created1 ;
ae8162c8
RD
6523 bool temp2 = false ;
6524 bool temp3 = false ;
6525 bool temp4 = false ;
d14a1e28
RD
6526 wxDateTime *argp5 ;
6527 PyObject * obj0 = 0 ;
6528 PyObject * obj1 = 0 ;
6529 PyObject * obj2 = 0 ;
6530 PyObject * obj3 = 0 ;
6531 PyObject * obj4 = 0 ;
6532 char *kwnames[] = {
6533 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6534 };
6535
6536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6537 {
6538 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6539 arg1 = temp1->m_wxis;
ae8162c8 6540 created1 = false;
d14a1e28
RD
6541 } else {
6542 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 6543 arg1 = wxPyCBInputStream_create(obj0, false);
d14a1e28
RD
6544 if (arg1 == NULL) {
6545 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6546 SWIG_fail;
6547 }
ae8162c8 6548 created1 = true;
d14a1e28
RD
6549 }
6550 }
6551 {
6552 arg2 = wxString_in_helper(obj1);
6553 if (arg2 == NULL) SWIG_fail;
ae8162c8 6554 temp2 = true;
d14a1e28
RD
6555 }
6556 {
6557 arg3 = wxString_in_helper(obj2);
6558 if (arg3 == NULL) SWIG_fail;
ae8162c8 6559 temp3 = true;
d14a1e28
RD
6560 }
6561 {
6562 arg4 = wxString_in_helper(obj3);
6563 if (arg4 == NULL) SWIG_fail;
ae8162c8 6564 temp4 = true;
d14a1e28 6565 }
15afbcd0
RD
6566 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6567 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6568 arg5 = *argp5;
d14a1e28
RD
6569 {
6570 PyThreadState* __tstate = wxPyBeginAllowThreads();
6571 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6572
6573 wxPyEndAllowThreads(__tstate);
6574 if (PyErr_Occurred()) SWIG_fail;
6575 }
6576 {
412d302d 6577 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
6578 }
6579 {
6580 if (created1)
6581 delete arg1;
6582 }
6583 {
6584 if (temp2)
6585 delete arg2;
6586 }
6587 {
6588 if (temp3)
6589 delete arg3;
6590 }
6591 {
6592 if (temp4)
6593 delete arg4;
6594 }
6595 return resultobj;
6596 fail:
6597 {
6598 if (created1)
6599 delete arg1;
6600 }
6601 {
6602 if (temp2)
6603 delete arg2;
6604 }
6605 {
6606 if (temp3)
6607 delete arg3;
6608 }
6609 {
6610 if (temp4)
6611 delete arg4;
6612 }
6613 return NULL;
6614}
6615
6616
c32bde28 6617static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6618 PyObject *resultobj;
6619 wxFSFile *arg1 = (wxFSFile *) 0 ;
6620 PyObject * obj0 = 0 ;
6621 char *kwnames[] = {
6622 (char *) "self", NULL
6623 };
6624
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
6626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6628 {
6629 PyThreadState* __tstate = wxPyBeginAllowThreads();
6630 delete arg1;
6631
6632 wxPyEndAllowThreads(__tstate);
6633 if (PyErr_Occurred()) SWIG_fail;
6634 }
6635 Py_INCREF(Py_None); resultobj = Py_None;
6636 return resultobj;
6637 fail:
6638 return NULL;
6639}
6640
6641
c32bde28 6642static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6643 PyObject *resultobj;
6644 wxFSFile *arg1 = (wxFSFile *) 0 ;
6645 wxInputStream *result;
6646 PyObject * obj0 = 0 ;
6647 char *kwnames[] = {
6648 (char *) "self", NULL
6649 };
6650
6651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
6652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6654 {
6655 PyThreadState* __tstate = wxPyBeginAllowThreads();
6656 result = (wxInputStream *)(arg1)->GetStream();
6657
6658 wxPyEndAllowThreads(__tstate);
6659 if (PyErr_Occurred()) SWIG_fail;
6660 }
6661 {
6662 wxPyInputStream * _ptr = NULL;
6663
6664 if (result) {
6665 _ptr = new wxPyInputStream(result);
6666 }
ae8162c8 6667 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), true);
d14a1e28
RD
6668 }
6669 return resultobj;
6670 fail:
6671 return NULL;
6672}
6673
6674
c32bde28 6675static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6676 PyObject *resultobj;
6677 wxFSFile *arg1 = (wxFSFile *) 0 ;
6678 wxString *result;
6679 PyObject * obj0 = 0 ;
6680 char *kwnames[] = {
6681 (char *) "self", NULL
6682 };
6683
6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
6685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 {
6690 wxString const &_result_ref = (arg1)->GetMimeType();
6691 result = (wxString *) &_result_ref;
6692 }
6693
6694 wxPyEndAllowThreads(__tstate);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
cc6dd355
RD
6697 {
6698#if wxUSE_UNICODE
6699 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6700#else
6701 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6702#endif
6703 }
d14a1e28
RD
6704 return resultobj;
6705 fail:
6706 return NULL;
6707}
6708
6709
c32bde28 6710static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6711 PyObject *resultobj;
6712 wxFSFile *arg1 = (wxFSFile *) 0 ;
6713 wxString *result;
6714 PyObject * obj0 = 0 ;
6715 char *kwnames[] = {
6716 (char *) "self", NULL
6717 };
6718
6719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
6720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6722 {
6723 PyThreadState* __tstate = wxPyBeginAllowThreads();
6724 {
6725 wxString const &_result_ref = (arg1)->GetLocation();
6726 result = (wxString *) &_result_ref;
6727 }
6728
6729 wxPyEndAllowThreads(__tstate);
6730 if (PyErr_Occurred()) SWIG_fail;
6731 }
cc6dd355
RD
6732 {
6733#if wxUSE_UNICODE
6734 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6735#else
6736 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6737#endif
6738 }
d14a1e28
RD
6739 return resultobj;
6740 fail:
6741 return NULL;
6742}
6743
6744
c32bde28 6745static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6746 PyObject *resultobj;
6747 wxFSFile *arg1 = (wxFSFile *) 0 ;
6748 wxString *result;
6749 PyObject * obj0 = 0 ;
6750 char *kwnames[] = {
6751 (char *) "self", NULL
6752 };
6753
6754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
15afbcd0
RD
6755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6757 {
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 {
6760 wxString const &_result_ref = (arg1)->GetAnchor();
6761 result = (wxString *) &_result_ref;
6762 }
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
cc6dd355
RD
6767 {
6768#if wxUSE_UNICODE
6769 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6770#else
6771 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6772#endif
6773 }
d14a1e28
RD
6774 return resultobj;
6775 fail:
6776 return NULL;
6777}
6778
6779
c32bde28 6780static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6781 PyObject *resultobj;
6782 wxFSFile *arg1 = (wxFSFile *) 0 ;
6783 wxDateTime result;
6784 PyObject * obj0 = 0 ;
6785 char *kwnames[] = {
6786 (char *) "self", NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
6790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 result = (arg1)->GetModificationTime();
6795
6796 wxPyEndAllowThreads(__tstate);
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 {
6800 wxDateTime * resultptr;
6801 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 6802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
6803 }
6804 return resultobj;
6805 fail:
6806 return NULL;
6807}
6808
6809
c32bde28 6810static PyObject * FSFile_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6811 PyObject *obj;
6812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6813 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6814 Py_INCREF(obj);
6815 return Py_BuildValue((char *)"");
6816}
c32bde28 6817static PyObject * CPPFileSystemHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6818 PyObject *obj;
6819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6820 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6821 Py_INCREF(obj);
6822 return Py_BuildValue((char *)"");
6823}
c32bde28 6824static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6825 PyObject *resultobj;
6826 wxPyFileSystemHandler *result;
6827 char *kwnames[] = {
6828 NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6832 {
6833 PyThreadState* __tstate = wxPyBeginAllowThreads();
6834 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6835
6836 wxPyEndAllowThreads(__tstate);
6837 if (PyErr_Occurred()) SWIG_fail;
6838 }
15afbcd0 6839 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
d14a1e28
RD
6840 return resultobj;
6841 fail:
6842 return NULL;
6843}
6844
6845
c32bde28 6846static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6847 PyObject *resultobj;
6848 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6849 PyObject *arg2 = (PyObject *) 0 ;
6850 PyObject *arg3 = (PyObject *) 0 ;
6851 PyObject * obj0 = 0 ;
6852 PyObject * obj1 = 0 ;
6853 PyObject * obj2 = 0 ;
6854 char *kwnames[] = {
6855 (char *) "self",(char *) "self",(char *) "_class", NULL
6856 };
6857
6858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6861 arg2 = obj1;
6862 arg3 = obj2;
6863 {
6864 PyThreadState* __tstate = wxPyBeginAllowThreads();
6865 (arg1)->_setCallbackInfo(arg2,arg3);
6866
6867 wxPyEndAllowThreads(__tstate);
6868 if (PyErr_Occurred()) SWIG_fail;
6869 }
6870 Py_INCREF(Py_None); resultobj = Py_None;
6871 return resultobj;
6872 fail:
6873 return NULL;
6874}
6875
6876
c32bde28 6877static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6878 PyObject *resultobj;
6879 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6880 wxString *arg2 = 0 ;
6881 bool result;
ae8162c8 6882 bool temp2 = false ;
d14a1e28
RD
6883 PyObject * obj0 = 0 ;
6884 PyObject * obj1 = 0 ;
6885 char *kwnames[] = {
6886 (char *) "self",(char *) "location", NULL
6887 };
6888
6889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6892 {
6893 arg2 = wxString_in_helper(obj1);
6894 if (arg2 == NULL) SWIG_fail;
ae8162c8 6895 temp2 = true;
d14a1e28
RD
6896 }
6897 {
6898 PyThreadState* __tstate = wxPyBeginAllowThreads();
6899 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6900
6901 wxPyEndAllowThreads(__tstate);
6902 if (PyErr_Occurred()) SWIG_fail;
6903 }
4f89f6a3
RD
6904 {
6905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6906 }
d14a1e28
RD
6907 {
6908 if (temp2)
6909 delete arg2;
6910 }
6911 return resultobj;
6912 fail:
6913 {
6914 if (temp2)
6915 delete arg2;
6916 }
6917 return NULL;
6918}
6919
6920
c32bde28 6921static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6922 PyObject *resultobj;
6923 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6924 wxFileSystem *arg2 = 0 ;
6925 wxString *arg3 = 0 ;
6926 wxFSFile *result;
ae8162c8 6927 bool temp3 = false ;
d14a1e28
RD
6928 PyObject * obj0 = 0 ;
6929 PyObject * obj1 = 0 ;
6930 PyObject * obj2 = 0 ;
6931 char *kwnames[] = {
6932 (char *) "self",(char *) "fs",(char *) "location", NULL
6933 };
6934
6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6938 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6939 SWIG_POINTER_EXCEPTION | 0)) == -1)
6940 SWIG_fail;
d14a1e28 6941 if (arg2 == NULL) {
15afbcd0
RD
6942 PyErr_SetString(PyExc_TypeError,"null reference");
6943 SWIG_fail;
d14a1e28
RD
6944 }
6945 {
6946 arg3 = wxString_in_helper(obj2);
6947 if (arg3 == NULL) SWIG_fail;
ae8162c8 6948 temp3 = true;
d14a1e28
RD
6949 }
6950 {
6951 PyThreadState* __tstate = wxPyBeginAllowThreads();
6952 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6953
6954 wxPyEndAllowThreads(__tstate);
6955 if (PyErr_Occurred()) SWIG_fail;
6956 }
6957 {
4cf4100f 6958 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
6959 }
6960 {
6961 if (temp3)
6962 delete arg3;
6963 }
6964 return resultobj;
6965 fail:
6966 {
6967 if (temp3)
6968 delete arg3;
6969 }
6970 return NULL;
6971}
6972
6973
c32bde28 6974static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6975 PyObject *resultobj;
6976 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6977 wxString *arg2 = 0 ;
6978 int arg3 = (int) 0 ;
6979 wxString result;
ae8162c8 6980 bool temp2 = false ;
d14a1e28
RD
6981 PyObject * obj0 = 0 ;
6982 PyObject * obj1 = 0 ;
994141e6 6983 PyObject * obj2 = 0 ;
d14a1e28
RD
6984 char *kwnames[] = {
6985 (char *) "self",(char *) "spec",(char *) "flags", NULL
6986 };
6987
994141e6 6988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6991 {
6992 arg2 = wxString_in_helper(obj1);
6993 if (arg2 == NULL) SWIG_fail;
ae8162c8 6994 temp2 = true;
d14a1e28 6995 }
994141e6 6996 if (obj2) {
c32bde28 6997 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 6998 if (PyErr_Occurred()) SWIG_fail;
994141e6 6999 }
d14a1e28
RD
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7003
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 {
7008#if wxUSE_UNICODE
7009 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7010#else
7011 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7012#endif
7013 }
7014 {
7015 if (temp2)
7016 delete arg2;
7017 }
7018 return resultobj;
7019 fail:
7020 {
7021 if (temp2)
7022 delete arg2;
7023 }
7024 return NULL;
7025}
7026
7027
c32bde28 7028static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7029 PyObject *resultobj;
7030 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7031 wxString result;
7032 PyObject * obj0 = 0 ;
7033 char *kwnames[] = {
7034 (char *) "self", NULL
7035 };
7036
7037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7040 {
7041 PyThreadState* __tstate = wxPyBeginAllowThreads();
7042 result = (arg1)->FindNext();
7043
7044 wxPyEndAllowThreads(__tstate);
7045 if (PyErr_Occurred()) SWIG_fail;
7046 }
7047 {
7048#if wxUSE_UNICODE
7049 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7050#else
7051 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7052#endif
7053 }
7054 return resultobj;
7055 fail:
7056 return NULL;
7057}
7058
7059
c32bde28 7060static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7061 PyObject *resultobj;
7062 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7063 wxString *arg2 = 0 ;
7064 wxString result;
ae8162c8 7065 bool temp2 = false ;
d14a1e28
RD
7066 PyObject * obj0 = 0 ;
7067 PyObject * obj1 = 0 ;
7068 char *kwnames[] = {
7069 (char *) "self",(char *) "location", NULL
7070 };
7071
7072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7075 {
7076 arg2 = wxString_in_helper(obj1);
7077 if (arg2 == NULL) SWIG_fail;
ae8162c8 7078 temp2 = true;
d14a1e28
RD
7079 }
7080 {
7081 PyThreadState* __tstate = wxPyBeginAllowThreads();
7082 result = (arg1)->GetProtocol((wxString const &)*arg2);
7083
7084 wxPyEndAllowThreads(__tstate);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 }
7087 {
7088#if wxUSE_UNICODE
7089 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7090#else
7091 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7092#endif
7093 }
7094 {
7095 if (temp2)
7096 delete arg2;
7097 }
7098 return resultobj;
7099 fail:
7100 {
7101 if (temp2)
7102 delete arg2;
7103 }
7104 return NULL;
7105}
7106
7107
c32bde28 7108static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7109 PyObject *resultobj;
7110 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7111 wxString *arg2 = 0 ;
7112 wxString result;
ae8162c8 7113 bool temp2 = false ;
d14a1e28
RD
7114 PyObject * obj0 = 0 ;
7115 PyObject * obj1 = 0 ;
7116 char *kwnames[] = {
7117 (char *) "self",(char *) "location", NULL
7118 };
7119
7120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7123 {
7124 arg2 = wxString_in_helper(obj1);
7125 if (arg2 == NULL) SWIG_fail;
ae8162c8 7126 temp2 = true;
d14a1e28
RD
7127 }
7128 {
7129 PyThreadState* __tstate = wxPyBeginAllowThreads();
7130 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
7131
7132 wxPyEndAllowThreads(__tstate);
7133 if (PyErr_Occurred()) SWIG_fail;
7134 }
7135 {
7136#if wxUSE_UNICODE
7137 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7138#else
7139 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7140#endif
7141 }
7142 {
7143 if (temp2)
7144 delete arg2;
7145 }
7146 return resultobj;
7147 fail:
7148 {
7149 if (temp2)
7150 delete arg2;
7151 }
7152 return NULL;
7153}
7154
7155
c32bde28 7156static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7157 PyObject *resultobj;
7158 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7159 wxString *arg2 = 0 ;
7160 wxString result;
ae8162c8 7161 bool temp2 = false ;
d14a1e28
RD
7162 PyObject * obj0 = 0 ;
7163 PyObject * obj1 = 0 ;
7164 char *kwnames[] = {
7165 (char *) "self",(char *) "location", NULL
7166 };
7167
7168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7171 {
7172 arg2 = wxString_in_helper(obj1);
7173 if (arg2 == NULL) SWIG_fail;
ae8162c8 7174 temp2 = true;
d14a1e28
RD
7175 }
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 result = (arg1)->GetAnchor((wxString const &)*arg2);
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 {
7184#if wxUSE_UNICODE
7185 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7186#else
7187 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7188#endif
7189 }
7190 {
7191 if (temp2)
7192 delete arg2;
7193 }
7194 return resultobj;
7195 fail:
7196 {
7197 if (temp2)
7198 delete arg2;
7199 }
7200 return NULL;
7201}
7202
7203
c32bde28 7204static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7205 PyObject *resultobj;
7206 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7207 wxString *arg2 = 0 ;
7208 wxString result;
ae8162c8 7209 bool temp2 = false ;
d14a1e28
RD
7210 PyObject * obj0 = 0 ;
7211 PyObject * obj1 = 0 ;
7212 char *kwnames[] = {
7213 (char *) "self",(char *) "location", NULL
7214 };
7215
7216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7219 {
7220 arg2 = wxString_in_helper(obj1);
7221 if (arg2 == NULL) SWIG_fail;
ae8162c8 7222 temp2 = true;
d14a1e28
RD
7223 }
7224 {
7225 PyThreadState* __tstate = wxPyBeginAllowThreads();
7226 result = (arg1)->GetRightLocation((wxString const &)*arg2);
7227
7228 wxPyEndAllowThreads(__tstate);
7229 if (PyErr_Occurred()) SWIG_fail;
7230 }
7231 {
7232#if wxUSE_UNICODE
7233 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7234#else
7235 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7236#endif
7237 }
7238 {
7239 if (temp2)
7240 delete arg2;
7241 }
7242 return resultobj;
7243 fail:
7244 {
7245 if (temp2)
7246 delete arg2;
7247 }
7248 return NULL;
7249}
7250
7251
c32bde28 7252static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7253 PyObject *resultobj;
7254 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
7255 wxString *arg2 = 0 ;
7256 wxString result;
ae8162c8 7257 bool temp2 = false ;
d14a1e28
RD
7258 PyObject * obj0 = 0 ;
7259 PyObject * obj1 = 0 ;
7260 char *kwnames[] = {
7261 (char *) "self",(char *) "location", NULL
7262 };
7263
7264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
7266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7267 {
7268 arg2 = wxString_in_helper(obj1);
7269 if (arg2 == NULL) SWIG_fail;
ae8162c8 7270 temp2 = true;
d14a1e28
RD
7271 }
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
7274 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
7275
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 {
7280#if wxUSE_UNICODE
7281 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7282#else
7283 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7284#endif
7285 }
7286 {
7287 if (temp2)
7288 delete arg2;
7289 }
7290 return resultobj;
7291 fail:
7292 {
7293 if (temp2)
7294 delete arg2;
7295 }
7296 return NULL;
7297}
7298
7299
c32bde28 7300static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7301 PyObject *obj;
7302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7303 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
7304 Py_INCREF(obj);
7305 return Py_BuildValue((char *)"");
7306}
c32bde28 7307static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7308 PyObject *resultobj;
7309 wxFileSystem *result;
7310 char *kwnames[] = {
7311 NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 result = (wxFileSystem *)new wxFileSystem();
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 {
412d302d 7323 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
7324 }
7325 return resultobj;
7326 fail:
7327 return NULL;
7328}
7329
7330
c32bde28 7331static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7332 PyObject *resultobj;
7333 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7334 PyObject * obj0 = 0 ;
7335 char *kwnames[] = {
7336 (char *) "self", NULL
7337 };
7338
7339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
15afbcd0
RD
7340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7342 {
7343 PyThreadState* __tstate = wxPyBeginAllowThreads();
7344 delete arg1;
7345
7346 wxPyEndAllowThreads(__tstate);
7347 if (PyErr_Occurred()) SWIG_fail;
7348 }
7349 Py_INCREF(Py_None); resultobj = Py_None;
7350 return resultobj;
7351 fail:
7352 return NULL;
7353}
7354
7355
c32bde28 7356static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7357 PyObject *resultobj;
7358 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7359 wxString *arg2 = 0 ;
ae8162c8
RD
7360 bool arg3 = (bool) false ;
7361 bool temp2 = false ;
d14a1e28
RD
7362 PyObject * obj0 = 0 ;
7363 PyObject * obj1 = 0 ;
7364 PyObject * obj2 = 0 ;
7365 char *kwnames[] = {
7366 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7367 };
7368
7369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7372 {
7373 arg2 = wxString_in_helper(obj1);
7374 if (arg2 == NULL) SWIG_fail;
ae8162c8 7375 temp2 = true;
d14a1e28
RD
7376 }
7377 if (obj2) {
c32bde28 7378 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 7379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7380 }
7381 {
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
7384
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) SWIG_fail;
7387 }
7388 Py_INCREF(Py_None); resultobj = Py_None;
7389 {
7390 if (temp2)
7391 delete arg2;
7392 }
7393 return resultobj;
7394 fail:
7395 {
7396 if (temp2)
7397 delete arg2;
7398 }
7399 return NULL;
7400}
7401
7402
c32bde28 7403static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7404 PyObject *resultobj;
7405 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7406 wxString result;
7407 PyObject * obj0 = 0 ;
7408 char *kwnames[] = {
7409 (char *) "self", NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
7413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 result = (arg1)->GetPath();
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 {
7423#if wxUSE_UNICODE
7424 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7425#else
7426 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7427#endif
7428 }
7429 return resultobj;
7430 fail:
7431 return NULL;
7432}
7433
7434
c32bde28 7435static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7436 PyObject *resultobj;
7437 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7438 wxString *arg2 = 0 ;
7439 wxFSFile *result;
ae8162c8 7440 bool temp2 = false ;
d14a1e28
RD
7441 PyObject * obj0 = 0 ;
7442 PyObject * obj1 = 0 ;
7443 char *kwnames[] = {
7444 (char *) "self",(char *) "location", NULL
7445 };
7446
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7450 {
7451 arg2 = wxString_in_helper(obj1);
7452 if (arg2 == NULL) SWIG_fail;
ae8162c8 7453 temp2 = true;
d14a1e28
RD
7454 }
7455 {
7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7457 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7458
7459 wxPyEndAllowThreads(__tstate);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 {
4cf4100f 7463 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
7464 }
7465 {
7466 if (temp2)
7467 delete arg2;
7468 }
7469 return resultobj;
7470 fail:
7471 {
7472 if (temp2)
7473 delete arg2;
7474 }
7475 return NULL;
7476}
7477
7478
c32bde28 7479static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7480 PyObject *resultobj;
7481 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7482 wxString *arg2 = 0 ;
7483 int arg3 = (int) 0 ;
7484 wxString result;
ae8162c8 7485 bool temp2 = false ;
d14a1e28
RD
7486 PyObject * obj0 = 0 ;
7487 PyObject * obj1 = 0 ;
994141e6 7488 PyObject * obj2 = 0 ;
d14a1e28
RD
7489 char *kwnames[] = {
7490 (char *) "self",(char *) "spec",(char *) "flags", NULL
7491 };
7492
994141e6 7493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7496 {
7497 arg2 = wxString_in_helper(obj1);
7498 if (arg2 == NULL) SWIG_fail;
ae8162c8 7499 temp2 = true;
d14a1e28 7500 }
994141e6 7501 if (obj2) {
c32bde28 7502 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7503 if (PyErr_Occurred()) SWIG_fail;
994141e6 7504 }
d14a1e28
RD
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 {
7513#if wxUSE_UNICODE
7514 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7515#else
7516 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7517#endif
7518 }
7519 {
7520 if (temp2)
7521 delete arg2;
7522 }
7523 return resultobj;
7524 fail:
7525 {
7526 if (temp2)
7527 delete arg2;
7528 }
7529 return NULL;
7530}
7531
7532
c32bde28 7533static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7534 PyObject *resultobj;
7535 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7536 wxString result;
7537 PyObject * obj0 = 0 ;
7538 char *kwnames[] = {
7539 (char *) "self", NULL
7540 };
7541
7542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7545 {
7546 PyThreadState* __tstate = wxPyBeginAllowThreads();
7547 result = (arg1)->FindNext();
7548
7549 wxPyEndAllowThreads(__tstate);
7550 if (PyErr_Occurred()) SWIG_fail;
7551 }
7552 {
7553#if wxUSE_UNICODE
7554 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7555#else
7556 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7557#endif
7558 }
7559 return resultobj;
7560 fail:
7561 return NULL;
7562}
7563
7564
c32bde28 7565static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7566 PyObject *resultobj;
7567 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7568 PyObject * obj0 = 0 ;
7569 char *kwnames[] = {
7570 (char *) "handler", NULL
7571 };
7572
7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
7574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7576 {
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
7578 wxFileSystem::AddHandler(arg1);
7579
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 Py_INCREF(Py_None); resultobj = Py_None;
7584 return resultobj;
7585 fail:
7586 return NULL;
7587}
7588
7589
c32bde28 7590static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7591 PyObject *resultobj;
7592 char *kwnames[] = {
7593 NULL
7594 };
7595
7596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7597 {
7598 PyThreadState* __tstate = wxPyBeginAllowThreads();
7599 wxFileSystem::CleanUpHandlers();
7600
7601 wxPyEndAllowThreads(__tstate);
7602 if (PyErr_Occurred()) SWIG_fail;
7603 }
7604 Py_INCREF(Py_None); resultobj = Py_None;
7605 return resultobj;
7606 fail:
7607 return NULL;
7608}
7609
7610
c32bde28 7611static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7612 PyObject *resultobj;
7613 wxString *arg1 = 0 ;
7614 wxString result;
ae8162c8 7615 bool temp1 = false ;
d14a1e28
RD
7616 PyObject * obj0 = 0 ;
7617 char *kwnames[] = {
7618 (char *) "filename", NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7622 {
7623 arg1 = wxString_in_helper(obj0);
7624 if (arg1 == NULL) SWIG_fail;
ae8162c8 7625 temp1 = true;
d14a1e28
RD
7626 }
7627 {
7628 PyThreadState* __tstate = wxPyBeginAllowThreads();
7629 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7630
7631 wxPyEndAllowThreads(__tstate);
7632 if (PyErr_Occurred()) SWIG_fail;
7633 }
7634 {
7635#if wxUSE_UNICODE
7636 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7637#else
7638 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7639#endif
7640 }
7641 {
7642 if (temp1)
7643 delete arg1;
7644 }
7645 return resultobj;
7646 fail:
7647 {
7648 if (temp1)
7649 delete arg1;
7650 }
7651 return NULL;
7652}
7653
7654
c32bde28 7655static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7656 PyObject *resultobj;
7657 wxString *arg1 = 0 ;
7658 wxString result;
ae8162c8 7659 bool temp1 = false ;
d14a1e28
RD
7660 PyObject * obj0 = 0 ;
7661 char *kwnames[] = {
7662 (char *) "url", NULL
7663 };
7664
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7666 {
7667 arg1 = wxString_in_helper(obj0);
7668 if (arg1 == NULL) SWIG_fail;
ae8162c8 7669 temp1 = true;
d14a1e28
RD
7670 }
7671 {
7672 PyThreadState* __tstate = wxPyBeginAllowThreads();
2ef75293 7673 result = FileSystem_URLToFileName((wxString const &)*arg1);
d14a1e28
RD
7674
7675 wxPyEndAllowThreads(__tstate);
7676 if (PyErr_Occurred()) SWIG_fail;
7677 }
7678 {
7679#if wxUSE_UNICODE
7680 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7681#else
7682 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7683#endif
7684 }
7685 {
7686 if (temp1)
7687 delete arg1;
7688 }
7689 return resultobj;
7690 fail:
7691 {
7692 if (temp1)
7693 delete arg1;
7694 }
7695 return NULL;
7696}
7697
7698
2ef75293
RD
7699static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) {
7700 PyObject *obj;
7701 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7702 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7703 Py_INCREF(obj);
7704 return Py_BuildValue((char *)"");
7705}
c32bde28 7706static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7707 PyObject *resultobj;
7708 wxInternetFSHandler *result;
7709 char *kwnames[] = {
7710 NULL
7711 };
7712
7713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7714 {
7715 PyThreadState* __tstate = wxPyBeginAllowThreads();
7716 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7717
7718 wxPyEndAllowThreads(__tstate);
7719 if (PyErr_Occurred()) SWIG_fail;
7720 }
15afbcd0 7721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
d14a1e28
RD
7722 return resultobj;
7723 fail:
7724 return NULL;
7725}
7726
7727
c32bde28 7728static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7729 PyObject *resultobj;
7730 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7731 wxString *arg2 = 0 ;
7732 bool result;
ae8162c8 7733 bool temp2 = false ;
d14a1e28
RD
7734 PyObject * obj0 = 0 ;
7735 PyObject * obj1 = 0 ;
7736 char *kwnames[] = {
7737 (char *) "self",(char *) "location", NULL
7738 };
7739
7740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7743 {
7744 arg2 = wxString_in_helper(obj1);
7745 if (arg2 == NULL) SWIG_fail;
ae8162c8 7746 temp2 = true;
d14a1e28
RD
7747 }
7748 {
7749 PyThreadState* __tstate = wxPyBeginAllowThreads();
7750 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7751
7752 wxPyEndAllowThreads(__tstate);
7753 if (PyErr_Occurred()) SWIG_fail;
7754 }
4f89f6a3
RD
7755 {
7756 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7757 }
d14a1e28
RD
7758 {
7759 if (temp2)
7760 delete arg2;
7761 }
7762 return resultobj;
7763 fail:
7764 {
7765 if (temp2)
7766 delete arg2;
7767 }
7768 return NULL;
7769}
7770
7771
c32bde28 7772static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7773 PyObject *resultobj;
7774 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7775 wxFileSystem *arg2 = 0 ;
7776 wxString *arg3 = 0 ;
7777 wxFSFile *result;
ae8162c8 7778 bool temp3 = false ;
d14a1e28
RD
7779 PyObject * obj0 = 0 ;
7780 PyObject * obj1 = 0 ;
7781 PyObject * obj2 = 0 ;
7782 char *kwnames[] = {
7783 (char *) "self",(char *) "fs",(char *) "location", NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7789 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7790 SWIG_POINTER_EXCEPTION | 0)) == -1)
7791 SWIG_fail;
d14a1e28 7792 if (arg2 == NULL) {
15afbcd0
RD
7793 PyErr_SetString(PyExc_TypeError,"null reference");
7794 SWIG_fail;
d14a1e28
RD
7795 }
7796 {
7797 arg3 = wxString_in_helper(obj2);
7798 if (arg3 == NULL) SWIG_fail;
ae8162c8 7799 temp3 = true;
d14a1e28
RD
7800 }
7801 {
7802 PyThreadState* __tstate = wxPyBeginAllowThreads();
7803 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7804
7805 wxPyEndAllowThreads(__tstate);
7806 if (PyErr_Occurred()) SWIG_fail;
7807 }
7808 {
4cf4100f 7809 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
7810 }
7811 {
7812 if (temp3)
7813 delete arg3;
7814 }
7815 return resultobj;
7816 fail:
7817 {
7818 if (temp3)
7819 delete arg3;
7820 }
7821 return NULL;
7822}
7823
7824
c32bde28 7825static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7826 PyObject *obj;
7827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7828 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7829 Py_INCREF(obj);
7830 return Py_BuildValue((char *)"");
7831}
c32bde28 7832static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7833 PyObject *resultobj;
7834 wxZipFSHandler *result;
7835 char *kwnames[] = {
7836 NULL
7837 };
7838
7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7840 {
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 result = (wxZipFSHandler *)new wxZipFSHandler();
7843
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
15afbcd0 7847 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
d14a1e28
RD
7848 return resultobj;
7849 fail:
7850 return NULL;
7851}
7852
7853
c32bde28 7854static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7855 PyObject *resultobj;
7856 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7857 wxString *arg2 = 0 ;
7858 bool result;
ae8162c8 7859 bool temp2 = false ;
d14a1e28
RD
7860 PyObject * obj0 = 0 ;
7861 PyObject * obj1 = 0 ;
7862 char *kwnames[] = {
7863 (char *) "self",(char *) "location", NULL
7864 };
7865
7866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7869 {
7870 arg2 = wxString_in_helper(obj1);
7871 if (arg2 == NULL) SWIG_fail;
ae8162c8 7872 temp2 = true;
d14a1e28
RD
7873 }
7874 {
7875 PyThreadState* __tstate = wxPyBeginAllowThreads();
7876 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7877
7878 wxPyEndAllowThreads(__tstate);
7879 if (PyErr_Occurred()) SWIG_fail;
7880 }
4f89f6a3
RD
7881 {
7882 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7883 }
d14a1e28
RD
7884 {
7885 if (temp2)
7886 delete arg2;
7887 }
7888 return resultobj;
7889 fail:
7890 {
7891 if (temp2)
7892 delete arg2;
7893 }
7894 return NULL;
7895}
7896
7897
c32bde28 7898static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7899 PyObject *resultobj;
7900 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7901 wxFileSystem *arg2 = 0 ;
7902 wxString *arg3 = 0 ;
7903 wxFSFile *result;
ae8162c8 7904 bool temp3 = false ;
d14a1e28
RD
7905 PyObject * obj0 = 0 ;
7906 PyObject * obj1 = 0 ;
7907 PyObject * obj2 = 0 ;
7908 char *kwnames[] = {
7909 (char *) "self",(char *) "fs",(char *) "location", NULL
7910 };
7911
7912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7916 SWIG_POINTER_EXCEPTION | 0)) == -1)
7917 SWIG_fail;
d14a1e28 7918 if (arg2 == NULL) {
15afbcd0
RD
7919 PyErr_SetString(PyExc_TypeError,"null reference");
7920 SWIG_fail;
d14a1e28
RD
7921 }
7922 {
7923 arg3 = wxString_in_helper(obj2);
7924 if (arg3 == NULL) SWIG_fail;
ae8162c8 7925 temp3 = true;
d14a1e28
RD
7926 }
7927 {
7928 PyThreadState* __tstate = wxPyBeginAllowThreads();
7929 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7930
7931 wxPyEndAllowThreads(__tstate);
7932 if (PyErr_Occurred()) SWIG_fail;
7933 }
7934 {
4cf4100f 7935 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
7936 }
7937 {
7938 if (temp3)
7939 delete arg3;
7940 }
7941 return resultobj;
7942 fail:
7943 {
7944 if (temp3)
7945 delete arg3;
7946 }
7947 return NULL;
7948}
7949
7950
c32bde28 7951static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7952 PyObject *resultobj;
7953 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7954 wxString *arg2 = 0 ;
7955 int arg3 = (int) 0 ;
7956 wxString result;
ae8162c8 7957 bool temp2 = false ;
d14a1e28
RD
7958 PyObject * obj0 = 0 ;
7959 PyObject * obj1 = 0 ;
994141e6 7960 PyObject * obj2 = 0 ;
d14a1e28
RD
7961 char *kwnames[] = {
7962 (char *) "self",(char *) "spec",(char *) "flags", NULL
7963 };
7964
994141e6 7965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7968 {
7969 arg2 = wxString_in_helper(obj1);
7970 if (arg2 == NULL) SWIG_fail;
ae8162c8 7971 temp2 = true;
d14a1e28 7972 }
994141e6 7973 if (obj2) {
c32bde28 7974 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 7975 if (PyErr_Occurred()) SWIG_fail;
994141e6 7976 }
d14a1e28
RD
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 {
7985#if wxUSE_UNICODE
7986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7987#else
7988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7989#endif
7990 }
7991 {
7992 if (temp2)
7993 delete arg2;
7994 }
7995 return resultobj;
7996 fail:
7997 {
7998 if (temp2)
7999 delete arg2;
8000 }
8001 return NULL;
8002}
8003
8004
c32bde28 8005static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8006 PyObject *resultobj;
8007 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
8008 wxString result;
8009 PyObject * obj0 = 0 ;
8010 char *kwnames[] = {
8011 (char *) "self", NULL
8012 };
8013
8014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
8015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
8016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8017 {
8018 PyThreadState* __tstate = wxPyBeginAllowThreads();
8019 result = (arg1)->FindNext();
8020
8021 wxPyEndAllowThreads(__tstate);
8022 if (PyErr_Occurred()) SWIG_fail;
8023 }
8024 {
8025#if wxUSE_UNICODE
8026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8027#else
8028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8029#endif
8030 }
8031 return resultobj;
8032 fail:
8033 return NULL;
8034}
8035
8036
c32bde28 8037static PyObject * ZipFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8038 PyObject *obj;
8039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8040 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
8041 Py_INCREF(obj);
8042 return Py_BuildValue((char *)"");
8043}
c32bde28 8044static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8045 PyObject *resultobj;
8046 wxString *arg1 = 0 ;
8047 wxImage *arg2 = 0 ;
8048 long arg3 ;
ae8162c8 8049 bool temp1 = false ;
d14a1e28
RD
8050 PyObject * obj0 = 0 ;
8051 PyObject * obj1 = 0 ;
994141e6 8052 PyObject * obj2 = 0 ;
d14a1e28
RD
8053 char *kwnames[] = {
8054 (char *) "filename",(char *) "image",(char *) "type", NULL
8055 };
8056
994141e6 8057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8058 {
8059 arg1 = wxString_in_helper(obj0);
8060 if (arg1 == NULL) SWIG_fail;
ae8162c8 8061 temp1 = true;
d14a1e28 8062 }
15afbcd0
RD
8063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
8064 SWIG_POINTER_EXCEPTION | 0)) == -1)
8065 SWIG_fail;
d14a1e28 8066 if (arg2 == NULL) {
15afbcd0
RD
8067 PyErr_SetString(PyExc_TypeError,"null reference");
8068 SWIG_fail;
994141e6 8069 }
c32bde28 8070 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 8071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8072 {
8073 PyThreadState* __tstate = wxPyBeginAllowThreads();
8074 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
8075
8076 wxPyEndAllowThreads(__tstate);
8077 if (PyErr_Occurred()) SWIG_fail;
8078 }
8079 Py_INCREF(Py_None); resultobj = Py_None;
8080 {
8081 if (temp1)
8082 delete arg1;
8083 }
8084 return resultobj;
8085 fail:
8086 {
8087 if (temp1)
8088 delete arg1;
8089 }
8090 return NULL;
8091}
8092
8093
c32bde28 8094static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8095 PyObject *resultobj;
8096 wxString *arg1 = 0 ;
8097 wxBitmap *arg2 = 0 ;
8098 long arg3 ;
ae8162c8 8099 bool temp1 = false ;
d14a1e28
RD
8100 PyObject * obj0 = 0 ;
8101 PyObject * obj1 = 0 ;
994141e6 8102 PyObject * obj2 = 0 ;
d14a1e28
RD
8103 char *kwnames[] = {
8104 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
8105 };
8106
994141e6 8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8108 {
8109 arg1 = wxString_in_helper(obj0);
8110 if (arg1 == NULL) SWIG_fail;
ae8162c8 8111 temp1 = true;
d14a1e28 8112 }
15afbcd0
RD
8113 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
8114 SWIG_POINTER_EXCEPTION | 0)) == -1)
8115 SWIG_fail;
d14a1e28 8116 if (arg2 == NULL) {
15afbcd0
RD
8117 PyErr_SetString(PyExc_TypeError,"null reference");
8118 SWIG_fail;
994141e6 8119 }
c32bde28 8120 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 8121 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8122 {
8123 PyThreadState* __tstate = wxPyBeginAllowThreads();
8124 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
8125
8126 wxPyEndAllowThreads(__tstate);
8127 if (PyErr_Occurred()) SWIG_fail;
8128 }
8129 Py_INCREF(Py_None); resultobj = Py_None;
8130 {
8131 if (temp1)
8132 delete arg1;
8133 }
8134 return resultobj;
8135 fail:
8136 {
8137 if (temp1)
8138 delete arg1;
8139 }
8140 return NULL;
8141}
8142
8143
c32bde28 8144static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8145 PyObject *resultobj;
8146 wxString *arg1 = 0 ;
8147 PyObject *arg2 = (PyObject *) 0 ;
ae8162c8 8148 bool temp1 = false ;
d14a1e28
RD
8149 PyObject * obj0 = 0 ;
8150 PyObject * obj1 = 0 ;
8151 char *kwnames[] = {
8152 (char *) "filename",(char *) "data", NULL
8153 };
8154
8155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
8156 {
8157 arg1 = wxString_in_helper(obj0);
8158 if (arg1 == NULL) SWIG_fail;
ae8162c8 8159 temp1 = true;
d14a1e28
RD
8160 }
8161 arg2 = obj1;
8162 {
8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
8164 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
8165
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 Py_INCREF(Py_None); resultobj = Py_None;
8170 {
8171 if (temp1)
8172 delete arg1;
8173 }
8174 return resultobj;
8175 fail:
8176 {
8177 if (temp1)
8178 delete arg1;
8179 }
8180 return NULL;
8181}
8182
8183
c32bde28 8184static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8185 PyObject *resultobj;
8186 wxMemoryFSHandler *result;
8187 char *kwnames[] = {
8188 NULL
8189 };
8190
8191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
8192 {
8193 PyThreadState* __tstate = wxPyBeginAllowThreads();
8194 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
8195
8196 wxPyEndAllowThreads(__tstate);
8197 if (PyErr_Occurred()) SWIG_fail;
8198 }
15afbcd0 8199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
d14a1e28
RD
8200 return resultobj;
8201 fail:
8202 return NULL;
8203}
8204
8205
c32bde28 8206static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8207 PyObject *resultobj;
8208 wxString *arg1 = 0 ;
ae8162c8 8209 bool temp1 = false ;
d14a1e28
RD
8210 PyObject * obj0 = 0 ;
8211 char *kwnames[] = {
8212 (char *) "filename", NULL
8213 };
8214
8215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
8216 {
8217 arg1 = wxString_in_helper(obj0);
8218 if (arg1 == NULL) SWIG_fail;
ae8162c8 8219 temp1 = true;
d14a1e28
RD
8220 }
8221 {
8222 PyThreadState* __tstate = wxPyBeginAllowThreads();
8223 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
8224
8225 wxPyEndAllowThreads(__tstate);
8226 if (PyErr_Occurred()) SWIG_fail;
8227 }
8228 Py_INCREF(Py_None); resultobj = Py_None;
8229 {
8230 if (temp1)
8231 delete arg1;
8232 }
8233 return resultobj;
8234 fail:
8235 {
8236 if (temp1)
8237 delete arg1;
8238 }
8239 return NULL;
8240}
8241
8242
c32bde28 8243static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8244 PyObject *resultobj;
8245 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8246 wxString *arg2 = 0 ;
8247 bool result;
ae8162c8 8248 bool temp2 = false ;
d14a1e28
RD
8249 PyObject * obj0 = 0 ;
8250 PyObject * obj1 = 0 ;
8251 char *kwnames[] = {
8252 (char *) "self",(char *) "location", NULL
8253 };
8254
8255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8258 {
8259 arg2 = wxString_in_helper(obj1);
8260 if (arg2 == NULL) SWIG_fail;
ae8162c8 8261 temp2 = true;
d14a1e28
RD
8262 }
8263 {
8264 PyThreadState* __tstate = wxPyBeginAllowThreads();
8265 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
8266
8267 wxPyEndAllowThreads(__tstate);
8268 if (PyErr_Occurred()) SWIG_fail;
8269 }
4f89f6a3
RD
8270 {
8271 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8272 }
d14a1e28
RD
8273 {
8274 if (temp2)
8275 delete arg2;
8276 }
8277 return resultobj;
8278 fail:
8279 {
8280 if (temp2)
8281 delete arg2;
8282 }
8283 return NULL;
8284}
8285
8286
c32bde28 8287static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8288 PyObject *resultobj;
8289 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8290 wxFileSystem *arg2 = 0 ;
8291 wxString *arg3 = 0 ;
8292 wxFSFile *result;
ae8162c8 8293 bool temp3 = false ;
d14a1e28
RD
8294 PyObject * obj0 = 0 ;
8295 PyObject * obj1 = 0 ;
8296 PyObject * obj2 = 0 ;
8297 char *kwnames[] = {
8298 (char *) "self",(char *) "fs",(char *) "location", NULL
8299 };
8300
8301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
8305 SWIG_POINTER_EXCEPTION | 0)) == -1)
8306 SWIG_fail;
d14a1e28 8307 if (arg2 == NULL) {
15afbcd0
RD
8308 PyErr_SetString(PyExc_TypeError,"null reference");
8309 SWIG_fail;
d14a1e28
RD
8310 }
8311 {
8312 arg3 = wxString_in_helper(obj2);
8313 if (arg3 == NULL) SWIG_fail;
ae8162c8 8314 temp3 = true;
d14a1e28
RD
8315 }
8316 {
8317 PyThreadState* __tstate = wxPyBeginAllowThreads();
8318 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
8319
8320 wxPyEndAllowThreads(__tstate);
8321 if (PyErr_Occurred()) SWIG_fail;
8322 }
8323 {
4cf4100f 8324 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
8325 }
8326 {
8327 if (temp3)
8328 delete arg3;
8329 }
8330 return resultobj;
8331 fail:
8332 {
8333 if (temp3)
8334 delete arg3;
8335 }
8336 return NULL;
8337}
8338
8339
c32bde28 8340static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8341 PyObject *resultobj;
8342 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8343 wxString *arg2 = 0 ;
8344 int arg3 = (int) 0 ;
8345 wxString result;
ae8162c8 8346 bool temp2 = false ;
d14a1e28
RD
8347 PyObject * obj0 = 0 ;
8348 PyObject * obj1 = 0 ;
994141e6 8349 PyObject * obj2 = 0 ;
d14a1e28
RD
8350 char *kwnames[] = {
8351 (char *) "self",(char *) "spec",(char *) "flags", NULL
8352 };
8353
994141e6 8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8357 {
8358 arg2 = wxString_in_helper(obj1);
8359 if (arg2 == NULL) SWIG_fail;
ae8162c8 8360 temp2 = true;
d14a1e28 8361 }
994141e6 8362 if (obj2) {
c32bde28 8363 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8364 if (PyErr_Occurred()) SWIG_fail;
994141e6 8365 }
d14a1e28
RD
8366 {
8367 PyThreadState* __tstate = wxPyBeginAllowThreads();
8368 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8369
8370 wxPyEndAllowThreads(__tstate);
8371 if (PyErr_Occurred()) SWIG_fail;
8372 }
8373 {
8374#if wxUSE_UNICODE
8375 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8376#else
8377 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8378#endif
8379 }
8380 {
8381 if (temp2)
8382 delete arg2;
8383 }
8384 return resultobj;
8385 fail:
8386 {
8387 if (temp2)
8388 delete arg2;
8389 }
8390 return NULL;
8391}
8392
8393
c32bde28 8394static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8395 PyObject *resultobj;
8396 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8397 wxString result;
8398 PyObject * obj0 = 0 ;
8399 char *kwnames[] = {
8400 (char *) "self", NULL
8401 };
8402
8403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
8404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8406 {
8407 PyThreadState* __tstate = wxPyBeginAllowThreads();
8408 result = (arg1)->FindNext();
8409
8410 wxPyEndAllowThreads(__tstate);
8411 if (PyErr_Occurred()) SWIG_fail;
8412 }
8413 {
8414#if wxUSE_UNICODE
8415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8416#else
8417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8418#endif
8419 }
8420 return resultobj;
8421 fail:
8422 return NULL;
8423}
8424
8425
c32bde28 8426static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8427 PyObject *obj;
8428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8429 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8430 Py_INCREF(obj);
8431 return Py_BuildValue((char *)"");
8432}
c32bde28 8433static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8434 PyObject *resultobj;
8435 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8436 wxString result;
8437 PyObject * obj0 = 0 ;
8438 char *kwnames[] = {
8439 (char *) "self", NULL
8440 };
8441
8442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
8443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8445 {
8446 PyThreadState* __tstate = wxPyBeginAllowThreads();
8447 result = (arg1)->GetName();
8448
8449 wxPyEndAllowThreads(__tstate);
8450 if (PyErr_Occurred()) SWIG_fail;
8451 }
8452 {
8453#if wxUSE_UNICODE
8454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8455#else
8456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8457#endif
8458 }
8459 return resultobj;
8460 fail:
8461 return NULL;
8462}
8463
8464
c32bde28 8465static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8466 PyObject *resultobj;
8467 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8468 wxString result;
8469 PyObject * obj0 = 0 ;
8470 char *kwnames[] = {
8471 (char *) "self", NULL
8472 };
8473
8474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
15afbcd0
RD
8475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8477 {
8478 PyThreadState* __tstate = wxPyBeginAllowThreads();
8479 result = (arg1)->GetExtension();
8480
8481 wxPyEndAllowThreads(__tstate);
8482 if (PyErr_Occurred()) SWIG_fail;
8483 }
8484 {
8485#if wxUSE_UNICODE
8486 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8487#else
8488 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8489#endif
8490 }
8491 return resultobj;
8492 fail:
8493 return NULL;
8494}
8495
8496
c32bde28 8497static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8498 PyObject *resultobj;
8499 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8500 long result;
8501 PyObject * obj0 = 0 ;
8502 char *kwnames[] = {
8503 (char *) "self", NULL
8504 };
8505
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8509 {
8510 PyThreadState* __tstate = wxPyBeginAllowThreads();
8511 result = (long)(arg1)->GetType();
8512
8513 wxPyEndAllowThreads(__tstate);
8514 if (PyErr_Occurred()) SWIG_fail;
8515 }
c32bde28 8516 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
8517 return resultobj;
8518 fail:
8519 return NULL;
8520}
8521
8522
c32bde28 8523static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8524 PyObject *resultobj;
8525 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8526 wxString result;
8527 PyObject * obj0 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "self", NULL
8530 };
8531
8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8535 {
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (arg1)->GetMimeType();
8538
8539 wxPyEndAllowThreads(__tstate);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
8542 {
8543#if wxUSE_UNICODE
8544 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8545#else
8546 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8547#endif
8548 }
8549 return resultobj;
8550 fail:
8551 return NULL;
8552}
8553
8554
c32bde28 8555static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8556 PyObject *resultobj;
8557 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8558 wxString *arg2 = 0 ;
8559 bool result;
ae8162c8 8560 bool temp2 = false ;
d14a1e28
RD
8561 PyObject * obj0 = 0 ;
8562 PyObject * obj1 = 0 ;
8563 char *kwnames[] = {
8564 (char *) "self",(char *) "name", NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8570 {
8571 arg2 = wxString_in_helper(obj1);
8572 if (arg2 == NULL) SWIG_fail;
ae8162c8 8573 temp2 = true;
d14a1e28
RD
8574 }
8575 {
8576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8577 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8578
8579 wxPyEndAllowThreads(__tstate);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 }
4f89f6a3
RD
8582 {
8583 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8584 }
d14a1e28
RD
8585 {
8586 if (temp2)
8587 delete arg2;
8588 }
8589 return resultobj;
8590 fail:
8591 {
8592 if (temp2)
8593 delete arg2;
8594 }
8595 return NULL;
8596}
8597
8598
c32bde28 8599static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8600 PyObject *resultobj;
8601 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8602 wxString *arg2 = 0 ;
ae8162c8 8603 bool temp2 = false ;
d14a1e28
RD
8604 PyObject * obj0 = 0 ;
8605 PyObject * obj1 = 0 ;
8606 char *kwnames[] = {
8607 (char *) "self",(char *) "name", NULL
8608 };
8609
8610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8613 {
8614 arg2 = wxString_in_helper(obj1);
8615 if (arg2 == NULL) SWIG_fail;
ae8162c8 8616 temp2 = true;
d14a1e28
RD
8617 }
8618 {
8619 PyThreadState* __tstate = wxPyBeginAllowThreads();
8620 (arg1)->SetName((wxString const &)*arg2);
8621
8622 wxPyEndAllowThreads(__tstate);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 }
8625 Py_INCREF(Py_None); resultobj = Py_None;
8626 {
8627 if (temp2)
8628 delete arg2;
8629 }
8630 return resultobj;
8631 fail:
8632 {
8633 if (temp2)
8634 delete arg2;
8635 }
8636 return NULL;
8637}
8638
8639
c32bde28 8640static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8641 PyObject *resultobj;
8642 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8643 wxString *arg2 = 0 ;
ae8162c8 8644 bool temp2 = false ;
d14a1e28
RD
8645 PyObject * obj0 = 0 ;
8646 PyObject * obj1 = 0 ;
8647 char *kwnames[] = {
8648 (char *) "self",(char *) "extension", NULL
8649 };
8650
8651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8654 {
8655 arg2 = wxString_in_helper(obj1);
8656 if (arg2 == NULL) SWIG_fail;
ae8162c8 8657 temp2 = true;
d14a1e28
RD
8658 }
8659 {
8660 PyThreadState* __tstate = wxPyBeginAllowThreads();
8661 (arg1)->SetExtension((wxString const &)*arg2);
8662
8663 wxPyEndAllowThreads(__tstate);
8664 if (PyErr_Occurred()) SWIG_fail;
8665 }
8666 Py_INCREF(Py_None); resultobj = Py_None;
8667 {
8668 if (temp2)
8669 delete arg2;
8670 }
8671 return resultobj;
8672 fail:
8673 {
8674 if (temp2)
8675 delete arg2;
8676 }
8677 return NULL;
8678}
8679
8680
c32bde28 8681static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8682 PyObject *resultobj;
8683 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8684 long arg2 ;
8685 PyObject * obj0 = 0 ;
994141e6 8686 PyObject * obj1 = 0 ;
d14a1e28
RD
8687 char *kwnames[] = {
8688 (char *) "self",(char *) "type", NULL
8689 };
8690
994141e6 8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 8694 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 8695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8696 {
8697 PyThreadState* __tstate = wxPyBeginAllowThreads();
8698 (arg1)->SetType(arg2);
8699
8700 wxPyEndAllowThreads(__tstate);
8701 if (PyErr_Occurred()) SWIG_fail;
8702 }
8703 Py_INCREF(Py_None); resultobj = Py_None;
8704 return resultobj;
8705 fail:
8706 return NULL;
8707}
8708
8709
c32bde28 8710static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8711 PyObject *resultobj;
8712 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8713 wxString *arg2 = 0 ;
ae8162c8 8714 bool temp2 = false ;
d14a1e28
RD
8715 PyObject * obj0 = 0 ;
8716 PyObject * obj1 = 0 ;
8717 char *kwnames[] = {
8718 (char *) "self",(char *) "mimetype", NULL
8719 };
8720
8721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8724 {
8725 arg2 = wxString_in_helper(obj1);
8726 if (arg2 == NULL) SWIG_fail;
ae8162c8 8727 temp2 = true;
d14a1e28
RD
8728 }
8729 {
8730 PyThreadState* __tstate = wxPyBeginAllowThreads();
8731 (arg1)->SetMimeType((wxString const &)*arg2);
8732
8733 wxPyEndAllowThreads(__tstate);
8734 if (PyErr_Occurred()) SWIG_fail;
8735 }
8736 Py_INCREF(Py_None); resultobj = Py_None;
8737 {
8738 if (temp2)
8739 delete arg2;
8740 }
8741 return resultobj;
8742 fail:
8743 {
8744 if (temp2)
8745 delete arg2;
8746 }
8747 return NULL;
8748}
8749
8750
c32bde28 8751static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8752 PyObject *obj;
8753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8754 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8755 Py_INCREF(obj);
8756 return Py_BuildValue((char *)"");
8757}
c32bde28 8758static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8759 PyObject *resultobj;
8760 wxImageHistogram *result;
8761 char *kwnames[] = {
8762 NULL
8763 };
8764
8765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8766 {
8767 PyThreadState* __tstate = wxPyBeginAllowThreads();
8768 result = (wxImageHistogram *)new wxImageHistogram();
8769
8770 wxPyEndAllowThreads(__tstate);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
15afbcd0 8773 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
d14a1e28
RD
8774 return resultobj;
8775 fail:
8776 return NULL;
8777}
8778
8779
c32bde28 8780static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8781 PyObject *resultobj;
8782 unsigned char arg1 ;
8783 unsigned char arg2 ;
8784 unsigned char arg3 ;
8785 unsigned long result;
8786 PyObject * obj0 = 0 ;
8787 PyObject * obj1 = 0 ;
8788 PyObject * obj2 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "r",(char *) "g",(char *) "b", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 8794 arg1 = (unsigned char)SWIG_As_unsigned_SS_char(obj0);
15afbcd0 8795 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8796 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 8797 if (PyErr_Occurred()) SWIG_fail;
c32bde28 8798 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 8799 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8800 {
8801 PyThreadState* __tstate = wxPyBeginAllowThreads();
8802 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8803
8804 wxPyEndAllowThreads(__tstate);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 }
c32bde28 8807 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
8808 return resultobj;
8809 fail:
8810 return NULL;
8811}
8812
8813
c32bde28 8814static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8815 PyObject *resultobj;
8816 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8817 unsigned char *arg2 = (unsigned char *) 0 ;
8818 unsigned char *arg3 = (unsigned char *) 0 ;
8819 unsigned char *arg4 = (unsigned char *) 0 ;
8820 unsigned char arg5 = (unsigned char) 1 ;
8821 unsigned char arg6 = (unsigned char) 0 ;
8822 unsigned char arg7 = (unsigned char) 0 ;
8823 bool result;
8824 unsigned char temp2 ;
c32bde28 8825 int res2 = 0 ;
d14a1e28 8826 unsigned char temp3 ;
c32bde28 8827 int res3 = 0 ;
d14a1e28 8828 unsigned char temp4 ;
c32bde28 8829 int res4 = 0 ;
d14a1e28
RD
8830 PyObject * obj0 = 0 ;
8831 PyObject * obj1 = 0 ;
8832 PyObject * obj2 = 0 ;
8833 PyObject * obj3 = 0 ;
8834 char *kwnames[] = {
8835 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8836 };
8837
c32bde28
RD
8838 arg2 = &temp2; res2 = SWIG_NEWOBJ;
8839 arg3 = &temp3; res3 = SWIG_NEWOBJ;
8840 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8844 if (obj1) {
c32bde28 8845 arg5 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 8846 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8847 }
8848 if (obj2) {
c32bde28 8849 arg6 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 8850 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8851 }
8852 if (obj3) {
c32bde28 8853 arg7 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 8854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8855 }
8856 {
8857 PyThreadState* __tstate = wxPyBeginAllowThreads();
8858 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8859
8860 wxPyEndAllowThreads(__tstate);
8861 if (PyErr_Occurred()) SWIG_fail;
8862 }
4f89f6a3
RD
8863 {
8864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8865 }
c32bde28
RD
8866 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
8867 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_char, 0)));
8868 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
8869 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_char, 0)));
8870 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
8871 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_char, 0)));
d14a1e28
RD
8872 return resultobj;
8873 fail:
8874 return NULL;
8875}
8876
8877
c32bde28 8878static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8879 PyObject *obj;
8880 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8881 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8882 Py_INCREF(obj);
8883 return Py_BuildValue((char *)"");
8884}
c32bde28 8885static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8886 PyObject *resultobj;
8887 wxString *arg1 = 0 ;
8888 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8889 int arg3 = (int) -1 ;
8890 wxImage *result;
ae8162c8 8891 bool temp1 = false ;
d14a1e28 8892 PyObject * obj0 = 0 ;
994141e6
RD
8893 PyObject * obj1 = 0 ;
8894 PyObject * obj2 = 0 ;
d14a1e28
RD
8895 char *kwnames[] = {
8896 (char *) "name",(char *) "type",(char *) "index", NULL
8897 };
8898
994141e6 8899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8900 {
8901 arg1 = wxString_in_helper(obj0);
8902 if (arg1 == NULL) SWIG_fail;
ae8162c8 8903 temp1 = true;
d14a1e28 8904 }
994141e6 8905 if (obj1) {
c32bde28 8906 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 8907 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8908 }
8909 if (obj2) {
c32bde28 8910 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8911 if (PyErr_Occurred()) SWIG_fail;
994141e6 8912 }
d14a1e28
RD
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
15afbcd0 8920 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8921 {
8922 if (temp1)
8923 delete arg1;
8924 }
8925 return resultobj;
8926 fail:
8927 {
8928 if (temp1)
8929 delete arg1;
8930 }
8931 return NULL;
8932}
8933
8934
c32bde28 8935static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8936 PyObject *resultobj;
8937 wxImage *arg1 = (wxImage *) 0 ;
8938 PyObject * obj0 = 0 ;
8939 char *kwnames[] = {
8940 (char *) "self", NULL
8941 };
8942
8943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
15afbcd0
RD
8944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8946 {
8947 PyThreadState* __tstate = wxPyBeginAllowThreads();
8948 delete arg1;
8949
8950 wxPyEndAllowThreads(__tstate);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
8953 Py_INCREF(Py_None); resultobj = Py_None;
8954 return resultobj;
8955 fail:
8956 return NULL;
8957}
8958
8959
c32bde28 8960static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8961 PyObject *resultobj;
8962 wxString *arg1 = 0 ;
8963 wxString *arg2 = 0 ;
8964 int arg3 = (int) -1 ;
8965 wxImage *result;
ae8162c8
RD
8966 bool temp1 = false ;
8967 bool temp2 = false ;
d14a1e28
RD
8968 PyObject * obj0 = 0 ;
8969 PyObject * obj1 = 0 ;
994141e6 8970 PyObject * obj2 = 0 ;
d14a1e28
RD
8971 char *kwnames[] = {
8972 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8973 };
8974
994141e6 8975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8976 {
8977 arg1 = wxString_in_helper(obj0);
8978 if (arg1 == NULL) SWIG_fail;
ae8162c8 8979 temp1 = true;
d14a1e28
RD
8980 }
8981 {
8982 arg2 = wxString_in_helper(obj1);
8983 if (arg2 == NULL) SWIG_fail;
ae8162c8 8984 temp2 = true;
d14a1e28 8985 }
994141e6 8986 if (obj2) {
c32bde28 8987 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 8988 if (PyErr_Occurred()) SWIG_fail;
994141e6 8989 }
d14a1e28
RD
8990 {
8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
8992 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8993
8994 wxPyEndAllowThreads(__tstate);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 }
15afbcd0 8997 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8998 {
8999 if (temp1)
9000 delete arg1;
9001 }
9002 {
9003 if (temp2)
9004 delete arg2;
9005 }
9006 return resultobj;
9007 fail:
9008 {
9009 if (temp1)
9010 delete arg1;
9011 }
9012 {
9013 if (temp2)
9014 delete arg2;
9015 }
9016 return NULL;
9017}
9018
9019
c32bde28 9020static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9021 PyObject *resultobj;
9022 wxInputStream *arg1 = 0 ;
9023 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9024 int arg3 = (int) -1 ;
9025 wxImage *result;
9026 wxPyInputStream *temp1 ;
9027 bool created1 ;
9028 PyObject * obj0 = 0 ;
994141e6
RD
9029 PyObject * obj1 = 0 ;
9030 PyObject * obj2 = 0 ;
d14a1e28
RD
9031 char *kwnames[] = {
9032 (char *) "stream",(char *) "type",(char *) "index", NULL
9033 };
9034
994141e6 9035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9036 {
9037 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9038 arg1 = temp1->m_wxis;
ae8162c8 9039 created1 = false;
d14a1e28
RD
9040 } else {
9041 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 9042 arg1 = wxPyCBInputStream_create(obj0, false);
d14a1e28
RD
9043 if (arg1 == NULL) {
9044 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9045 SWIG_fail;
9046 }
ae8162c8 9047 created1 = true;
d14a1e28
RD
9048 }
9049 }
994141e6 9050 if (obj1) {
c32bde28 9051 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 9052 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9053 }
9054 if (obj2) {
c32bde28 9055 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9056 if (PyErr_Occurred()) SWIG_fail;
994141e6 9057 }
d14a1e28
RD
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
15afbcd0 9065 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9066 {
9067 if (created1)
9068 delete arg1;
9069 }
9070 return resultobj;
9071 fail:
9072 {
9073 if (created1)
9074 delete arg1;
9075 }
9076 return NULL;
9077}
9078
9079
c32bde28 9080static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9081 PyObject *resultobj;
9082 wxInputStream *arg1 = 0 ;
9083 wxString *arg2 = 0 ;
9084 int arg3 = (int) -1 ;
9085 wxImage *result;
9086 wxPyInputStream *temp1 ;
9087 bool created1 ;
ae8162c8 9088 bool temp2 = false ;
d14a1e28
RD
9089 PyObject * obj0 = 0 ;
9090 PyObject * obj1 = 0 ;
994141e6 9091 PyObject * obj2 = 0 ;
d14a1e28
RD
9092 char *kwnames[] = {
9093 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
9094 };
9095
994141e6 9096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
9097 {
9098 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9099 arg1 = temp1->m_wxis;
ae8162c8 9100 created1 = false;
d14a1e28
RD
9101 } else {
9102 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 9103 arg1 = wxPyCBInputStream_create(obj0, false);
d14a1e28
RD
9104 if (arg1 == NULL) {
9105 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9106 SWIG_fail;
9107 }
ae8162c8 9108 created1 = true;
d14a1e28
RD
9109 }
9110 }
9111 {
9112 arg2 = wxString_in_helper(obj1);
9113 if (arg2 == NULL) SWIG_fail;
ae8162c8 9114 temp2 = true;
d14a1e28 9115 }
994141e6 9116 if (obj2) {
c32bde28 9117 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9118 if (PyErr_Occurred()) SWIG_fail;
994141e6 9119 }
d14a1e28
RD
9120 {
9121 PyThreadState* __tstate = wxPyBeginAllowThreads();
9122 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
9123
9124 wxPyEndAllowThreads(__tstate);
9125 if (PyErr_Occurred()) SWIG_fail;
9126 }
15afbcd0 9127 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9128 {
9129 if (created1)
9130 delete arg1;
9131 }
9132 {
9133 if (temp2)
9134 delete arg2;
9135 }
9136 return resultobj;
9137 fail:
9138 {
9139 if (created1)
9140 delete arg1;
9141 }
9142 {
9143 if (temp2)
9144 delete arg2;
9145 }
9146 return NULL;
9147}
9148
9149
c32bde28 9150static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9151 PyObject *resultobj;
9152 int arg1 = (int) 0 ;
9153 int arg2 = (int) 0 ;
ae8162c8 9154 bool arg3 = (bool) true ;
d14a1e28 9155 wxImage *result;
994141e6
RD
9156 PyObject * obj0 = 0 ;
9157 PyObject * obj1 = 0 ;
d14a1e28 9158 PyObject * obj2 = 0 ;
66c033b4
RD
9159 char *kwnames[] = {
9160 (char *) "width",(char *) "height",(char *) "clear", NULL
9161 };
d14a1e28 9162
66c033b4 9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 9164 if (obj0) {
c32bde28 9165 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 9166 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9167 }
9168 if (obj1) {
c32bde28 9169 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9170 if (PyErr_Occurred()) SWIG_fail;
994141e6 9171 }
d14a1e28 9172 if (obj2) {
c32bde28 9173 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 9174 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9175 }
9176 {
9177 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 9178 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
d14a1e28
RD
9179
9180 wxPyEndAllowThreads(__tstate);
9181 if (PyErr_Occurred()) SWIG_fail;
9182 }
15afbcd0 9183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9184 return resultobj;
9185 fail:
9186 return NULL;
9187}
9188
9189
c32bde28 9190static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9191 PyObject *resultobj;
9192 wxBitmap *arg1 = 0 ;
9193 wxImage *result;
9194 PyObject * obj0 = 0 ;
9195 char *kwnames[] = {
9196 (char *) "bitmap", NULL
9197 };
9198
9199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
9200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
9201 SWIG_POINTER_EXCEPTION | 0)) == -1)
9202 SWIG_fail;
d14a1e28 9203 if (arg1 == NULL) {
15afbcd0
RD
9204 PyErr_SetString(PyExc_TypeError,"null reference");
9205 SWIG_fail;
d14a1e28
RD
9206 }
9207 {
e3b71cb8 9208 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
9211
9212 wxPyEndAllowThreads(__tstate);
110da5b0 9213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 9214 }
15afbcd0 9215 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9216 return resultobj;
9217 fail:
9218 return NULL;
9219}
9220
9221
c32bde28 9222static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9223 PyObject *resultobj;
9224 int arg1 ;
9225 int arg2 ;
9226 unsigned char *arg3 = (unsigned char *) 0 ;
9227 wxImage *result;
994141e6
RD
9228 PyObject * obj0 = 0 ;
9229 PyObject * obj1 = 0 ;
d14a1e28
RD
9230 PyObject * obj2 = 0 ;
9231 char *kwnames[] = {
9232 (char *) "width",(char *) "height",(char *) "data", NULL
9233 };
9234
994141e6 9235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
c32bde28 9236 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 9237 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9238 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
9239 if (PyErr_Occurred()) SWIG_fail;
9240 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
9241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9242 {
9243 PyThreadState* __tstate = wxPyBeginAllowThreads();
9244 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
9245
9246 wxPyEndAllowThreads(__tstate);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 }
15afbcd0 9249 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9250 return resultobj;
9251 fail:
9252 return NULL;
9253}
9254
9255
c32bde28 9256static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9257 PyObject *resultobj;
9258 wxImage *arg1 = (wxImage *) 0 ;
9259 int arg2 ;
9260 int arg3 ;
9261 PyObject * obj0 = 0 ;
994141e6
RD
9262 PyObject * obj1 = 0 ;
9263 PyObject * obj2 = 0 ;
d14a1e28
RD
9264 char *kwnames[] = {
9265 (char *) "self",(char *) "width",(char *) "height", NULL
9266 };
9267
994141e6 9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9271 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9272 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9273 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9275 {
9276 PyThreadState* __tstate = wxPyBeginAllowThreads();
9277 (arg1)->Create(arg2,arg3);
9278
9279 wxPyEndAllowThreads(__tstate);
9280 if (PyErr_Occurred()) SWIG_fail;
9281 }
9282 Py_INCREF(Py_None); resultobj = Py_None;
9283 return resultobj;
9284 fail:
9285 return NULL;
9286}
9287
9288
c32bde28 9289static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9290 PyObject *resultobj;
9291 wxImage *arg1 = (wxImage *) 0 ;
9292 PyObject * obj0 = 0 ;
9293 char *kwnames[] = {
9294 (char *) "self", NULL
9295 };
9296
9297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 (arg1)->Destroy();
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_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9315 PyObject *resultobj;
9316 wxImage *arg1 = (wxImage *) 0 ;
9317 int arg2 ;
9318 int arg3 ;
9319 SwigValueWrapper< wxImage > result;
9320 PyObject * obj0 = 0 ;
994141e6
RD
9321 PyObject * obj1 = 0 ;
9322 PyObject * obj2 = 0 ;
d14a1e28
RD
9323 char *kwnames[] = {
9324 (char *) "self",(char *) "width",(char *) "height", NULL
9325 };
9326
994141e6 9327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9330 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9331 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9332 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9333 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9334 {
9335 PyThreadState* __tstate = wxPyBeginAllowThreads();
9336 result = (arg1)->Scale(arg2,arg3);
9337
9338 wxPyEndAllowThreads(__tstate);
9339 if (PyErr_Occurred()) SWIG_fail;
9340 }
9341 {
9342 wxImage * resultptr;
9343 resultptr = new wxImage((wxImage &) result);
15afbcd0 9344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9345 }
9346 return resultobj;
9347 fail:
9348 return NULL;
9349}
9350
9351
c32bde28 9352static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9353 PyObject *resultobj;
9354 wxImage *arg1 = (wxImage *) 0 ;
9355 int arg2 ;
9356 int arg3 ;
9357 SwigValueWrapper< wxImage > result;
9358 PyObject * obj0 = 0 ;
994141e6
RD
9359 PyObject * obj1 = 0 ;
9360 PyObject * obj2 = 0 ;
d14a1e28
RD
9361 char *kwnames[] = {
9362 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9363 };
9364
994141e6 9365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9368 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9369 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9370 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9371 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9372 {
9373 PyThreadState* __tstate = wxPyBeginAllowThreads();
9374 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9375
9376 wxPyEndAllowThreads(__tstate);
9377 if (PyErr_Occurred()) SWIG_fail;
9378 }
9379 {
9380 wxImage * resultptr;
9381 resultptr = new wxImage((wxImage &) result);
15afbcd0 9382 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9383 }
9384 return resultobj;
9385 fail:
9386 return NULL;
9387}
9388
9389
c32bde28 9390static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9391 PyObject *resultobj;
9392 wxImage *arg1 = (wxImage *) 0 ;
9393 int arg2 ;
9394 int arg3 ;
9395 wxImage *result;
9396 PyObject * obj0 = 0 ;
994141e6
RD
9397 PyObject * obj1 = 0 ;
9398 PyObject * obj2 = 0 ;
d14a1e28
RD
9399 char *kwnames[] = {
9400 (char *) "self",(char *) "width",(char *) "height", NULL
9401 };
9402
994141e6 9403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9406 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9407 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9408 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9409 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9410 {
9411 PyThreadState* __tstate = wxPyBeginAllowThreads();
9412 {
9413 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9414 result = (wxImage *) &_result_ref;
9415 }
9416
9417 wxPyEndAllowThreads(__tstate);
9418 if (PyErr_Occurred()) SWIG_fail;
9419 }
15afbcd0 9420 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
9421 return resultobj;
9422 fail:
9423 return NULL;
9424}
9425
9426
c32bde28 9427static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9428 PyObject *resultobj;
9429 wxImage *arg1 = (wxImage *) 0 ;
9430 int arg2 ;
9431 int arg3 ;
9432 unsigned char arg4 ;
9433 unsigned char arg5 ;
9434 unsigned char arg6 ;
9435 PyObject * obj0 = 0 ;
994141e6
RD
9436 PyObject * obj1 = 0 ;
9437 PyObject * obj2 = 0 ;
d14a1e28
RD
9438 PyObject * obj3 = 0 ;
9439 PyObject * obj4 = 0 ;
9440 PyObject * obj5 = 0 ;
9441 char *kwnames[] = {
9442 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9443 };
9444
994141e6 9445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9448 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9449 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9450 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9451 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9452 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 9453 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9454 arg5 = (unsigned char)SWIG_As_unsigned_SS_char(obj4);
15afbcd0 9455 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9456 arg6 = (unsigned char)SWIG_As_unsigned_SS_char(obj5);
15afbcd0 9457 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9458 {
9459 PyThreadState* __tstate = wxPyBeginAllowThreads();
9460 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9461
9462 wxPyEndAllowThreads(__tstate);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
9465 Py_INCREF(Py_None); resultobj = Py_None;
9466 return resultobj;
9467 fail:
9468 return NULL;
9469}
9470
9471
c32bde28 9472static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9473 PyObject *resultobj;
9474 wxImage *arg1 = (wxImage *) 0 ;
9475 int arg2 ;
9476 int arg3 ;
9477 unsigned char result;
9478 PyObject * obj0 = 0 ;
994141e6
RD
9479 PyObject * obj1 = 0 ;
9480 PyObject * obj2 = 0 ;
d14a1e28
RD
9481 char *kwnames[] = {
9482 (char *) "self",(char *) "x",(char *) "y", NULL
9483 };
9484
994141e6 9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9488 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9489 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9490 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9491 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9492 {
9493 PyThreadState* __tstate = wxPyBeginAllowThreads();
9494 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9495
9496 wxPyEndAllowThreads(__tstate);
9497 if (PyErr_Occurred()) SWIG_fail;
9498 }
c32bde28 9499 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
9500 return resultobj;
9501 fail:
9502 return NULL;
9503}
9504
9505
c32bde28 9506static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9507 PyObject *resultobj;
9508 wxImage *arg1 = (wxImage *) 0 ;
9509 int arg2 ;
9510 int arg3 ;
9511 unsigned char result;
9512 PyObject * obj0 = 0 ;
994141e6
RD
9513 PyObject * obj1 = 0 ;
9514 PyObject * obj2 = 0 ;
d14a1e28
RD
9515 char *kwnames[] = {
9516 (char *) "self",(char *) "x",(char *) "y", NULL
9517 };
9518
994141e6 9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9522 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9523 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9524 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9525 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9526 {
9527 PyThreadState* __tstate = wxPyBeginAllowThreads();
9528 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9529
9530 wxPyEndAllowThreads(__tstate);
9531 if (PyErr_Occurred()) SWIG_fail;
9532 }
c32bde28 9533 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
9534 return resultobj;
9535 fail:
9536 return NULL;
9537}
9538
9539
c32bde28 9540static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9541 PyObject *resultobj;
9542 wxImage *arg1 = (wxImage *) 0 ;
9543 int arg2 ;
9544 int arg3 ;
9545 unsigned char result;
9546 PyObject * obj0 = 0 ;
994141e6
RD
9547 PyObject * obj1 = 0 ;
9548 PyObject * obj2 = 0 ;
d14a1e28
RD
9549 char *kwnames[] = {
9550 (char *) "self",(char *) "x",(char *) "y", NULL
9551 };
9552
994141e6 9553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9556 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9557 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9558 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9559 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9563
9564 wxPyEndAllowThreads(__tstate);
9565 if (PyErr_Occurred()) SWIG_fail;
9566 }
c32bde28 9567 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
9568 return resultobj;
9569 fail:
9570 return NULL;
9571}
9572
9573
c32bde28 9574static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9575 PyObject *resultobj;
9576 wxImage *arg1 = (wxImage *) 0 ;
9577 int arg2 ;
9578 int arg3 ;
9579 unsigned char arg4 ;
9580 PyObject * obj0 = 0 ;
994141e6
RD
9581 PyObject * obj1 = 0 ;
9582 PyObject * obj2 = 0 ;
d14a1e28
RD
9583 PyObject * obj3 = 0 ;
9584 char *kwnames[] = {
9585 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9586 };
9587
994141e6 9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9591 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9592 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9593 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9594 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9595 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 9596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 (arg1)->SetAlpha(arg2,arg3,arg4);
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 Py_INCREF(Py_None); resultobj = Py_None;
9605 return resultobj;
9606 fail:
9607 return NULL;
9608}
9609
9610
c32bde28 9611static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9612 PyObject *resultobj;
9613 wxImage *arg1 = (wxImage *) 0 ;
9614 int arg2 ;
9615 int arg3 ;
9616 unsigned char result;
9617 PyObject * obj0 = 0 ;
994141e6
RD
9618 PyObject * obj1 = 0 ;
9619 PyObject * obj2 = 0 ;
d14a1e28
RD
9620 char *kwnames[] = {
9621 (char *) "self",(char *) "x",(char *) "y", NULL
9622 };
9623
994141e6 9624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 9627 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 9628 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9629 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 9630 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9631 {
9632 PyThreadState* __tstate = wxPyBeginAllowThreads();
9633 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9634
9635 wxPyEndAllowThreads(__tstate);
9636 if (PyErr_Occurred()) SWIG_fail;
9637 }
c32bde28 9638 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
9639 return resultobj;
9640 fail:
9641 return NULL;
9642}
9643
9644
c32bde28 9645static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9646 PyObject *resultobj;
9647 wxImage *arg1 = (wxImage *) 0 ;
9648 bool result;
9649 PyObject * obj0 = 0 ;
9650 char *kwnames[] = {
9651 (char *) "self", NULL
9652 };
9653
9654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
15afbcd0
RD
9655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9657 {
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
9659 result = (bool)(arg1)->HasAlpha();
9660
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
4f89f6a3
RD
9664 {
9665 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9666 }
d14a1e28
RD
9667 return resultobj;
9668 fail:
9669 return NULL;
9670}
9671
9672
c32bde28 9673static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9674 PyObject *resultobj;
9675 wxImage *arg1 = (wxImage *) 0 ;
9676 byte *arg2 = (byte *) 0 ;
9677 byte *arg3 = (byte *) 0 ;
9678 byte *arg4 = (byte *) 0 ;
9679 byte arg5 = (byte) 0 ;
9680 byte arg6 = (byte) 0 ;
9681 byte arg7 = (byte) 0 ;
9682 bool result;
9683 byte temp2 ;
c32bde28 9684 int res2 = 0 ;
d14a1e28 9685 byte temp3 ;
c32bde28 9686 int res3 = 0 ;
d14a1e28 9687 byte temp4 ;
c32bde28 9688 int res4 = 0 ;
d14a1e28
RD
9689 PyObject * obj0 = 0 ;
9690 PyObject * obj1 = 0 ;
9691 PyObject * obj2 = 0 ;
9692 PyObject * obj3 = 0 ;
9693 char *kwnames[] = {
9694 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9695 };
9696
c32bde28
RD
9697 arg2 = &temp2; res2 = SWIG_NEWOBJ;
9698 arg3 = &temp3; res3 = SWIG_NEWOBJ;
9699 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 9700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9703 if (obj1) {
c32bde28 9704 arg5 = (byte)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 9705 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9706 }
9707 if (obj2) {
c32bde28 9708 arg6 = (byte)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 9709 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9710 }
9711 if (obj3) {
c32bde28 9712 arg7 = (byte)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 9713 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9714 }
9715 {
9716 PyThreadState* __tstate = wxPyBeginAllowThreads();
9717 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9718
9719 wxPyEndAllowThreads(__tstate);
9720 if (PyErr_Occurred()) SWIG_fail;
9721 }
4f89f6a3
RD
9722 {
9723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9724 }
c32bde28
RD
9725 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
9726 SWIG_From_unsigned_SS_char((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_byte, 0)));
9727 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
9728 SWIG_From_unsigned_SS_char((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_byte, 0)));
9729 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
9730 SWIG_From_unsigned_SS_char((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_byte, 0)));
d14a1e28
RD
9731 return resultobj;
9732 fail:
9733 return NULL;
9734}
9735
9736
c32bde28 9737static PyObject *_wrap_Image_ConvertAlphaToMask(PyObject *, PyObject *args, PyObject *kwargs) {
4cf4100f
RD
9738 PyObject *resultobj;
9739 wxImage *arg1 = (wxImage *) 0 ;
9740 byte arg2 = (byte) 128 ;
9741 bool result;
9742 PyObject * obj0 = 0 ;
9743 PyObject * obj1 = 0 ;
9744 char *kwnames[] = {
9745 (char *) "self",(char *) "threshold", NULL
9746 };
9747
9748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertAlphaToMask",kwnames,&obj0,&obj1)) goto fail;
9749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9751 if (obj1) {
c32bde28 9752 arg2 = (byte)SWIG_As_unsigned_SS_char(obj1);
4cf4100f
RD
9753 if (PyErr_Occurred()) SWIG_fail;
9754 }
9755 {
9756 PyThreadState* __tstate = wxPyBeginAllowThreads();
9757 result = (bool)(arg1)->ConvertAlphaToMask(arg2);
9758
9759 wxPyEndAllowThreads(__tstate);
9760 if (PyErr_Occurred()) SWIG_fail;
9761 }
9762 {
9763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9764 }
9765 return resultobj;
9766 fail:
9767 return NULL;
9768}
9769
9770
c32bde28 9771static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9772 PyObject *resultobj;
9773 wxImage *arg1 = (wxImage *) 0 ;
9774 wxImage *arg2 = 0 ;
9775 byte arg3 ;
9776 byte arg4 ;
9777 byte arg5 ;
9778 bool result;
9779 PyObject * obj0 = 0 ;
9780 PyObject * obj1 = 0 ;
9781 PyObject * obj2 = 0 ;
9782 PyObject * obj3 = 0 ;
9783 PyObject * obj4 = 0 ;
9784 char *kwnames[] = {
9785 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9786 };
9787
9788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
9789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9791 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9792 SWIG_POINTER_EXCEPTION | 0)) == -1)
9793 SWIG_fail;
d14a1e28 9794 if (arg2 == NULL) {
15afbcd0
RD
9795 PyErr_SetString(PyExc_TypeError,"null reference");
9796 SWIG_fail;
a41e16b6 9797 }
c32bde28 9798 arg3 = (byte)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 9799 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9800 arg4 = (byte)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 9801 if (PyErr_Occurred()) SWIG_fail;
c32bde28 9802 arg5 = (byte)SWIG_As_unsigned_SS_char(obj4);
15afbcd0 9803 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9807
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
4f89f6a3
RD
9811 {
9812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9813 }
d14a1e28
RD
9814 return resultobj;
9815 fail:
9816 return NULL;
9817}
9818
9819
c32bde28 9820static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9821 PyObject *resultobj;
9822 wxString *arg1 = 0 ;
9823 bool result;
ae8162c8 9824 bool temp1 = false ;
d14a1e28
RD
9825 PyObject * obj0 = 0 ;
9826 char *kwnames[] = {
9827 (char *) "name", NULL
9828 };
9829
9830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9831 {
9832 arg1 = wxString_in_helper(obj0);
9833 if (arg1 == NULL) SWIG_fail;
ae8162c8 9834 temp1 = true;
d14a1e28
RD
9835 }
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
9838 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9839
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
4f89f6a3
RD
9843 {
9844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9845 }
d14a1e28
RD
9846 {
9847 if (temp1)
9848 delete arg1;
9849 }
9850 return resultobj;
9851 fail:
9852 {
9853 if (temp1)
9854 delete arg1;
9855 }
9856 return NULL;
9857}
9858
9859
c32bde28 9860static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9861 PyObject *resultobj;
9862 wxString *arg1 = 0 ;
9863 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9864 int result;
ae8162c8 9865 bool temp1 = false ;
d14a1e28 9866 PyObject * obj0 = 0 ;
994141e6 9867 PyObject * obj1 = 0 ;
d14a1e28
RD
9868 char *kwnames[] = {
9869 (char *) "name",(char *) "type", NULL
9870 };
9871
994141e6 9872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9873 {
9874 arg1 = wxString_in_helper(obj0);
9875 if (arg1 == NULL) SWIG_fail;
ae8162c8 9876 temp1 = true;
d14a1e28 9877 }
994141e6 9878 if (obj1) {
c32bde28 9879 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 9880 if (PyErr_Occurred()) SWIG_fail;
994141e6 9881 }
d14a1e28
RD
9882 {
9883 PyThreadState* __tstate = wxPyBeginAllowThreads();
9884 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9885
9886 wxPyEndAllowThreads(__tstate);
9887 if (PyErr_Occurred()) SWIG_fail;
9888 }
c32bde28 9889 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
9890 {
9891 if (temp1)
9892 delete arg1;
9893 }
9894 return resultobj;
9895 fail:
9896 {
9897 if (temp1)
9898 delete arg1;
9899 }
9900 return NULL;
9901}
9902
9903
c32bde28 9904static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9905 PyObject *resultobj;
9906 wxImage *arg1 = (wxImage *) 0 ;
9907 wxString *arg2 = 0 ;
9908 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9909 int arg4 = (int) -1 ;
9910 bool result;
ae8162c8 9911 bool temp2 = false ;
d14a1e28
RD
9912 PyObject * obj0 = 0 ;
9913 PyObject * obj1 = 0 ;
994141e6
RD
9914 PyObject * obj2 = 0 ;
9915 PyObject * obj3 = 0 ;
d14a1e28
RD
9916 char *kwnames[] = {
9917 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9918 };
9919
994141e6 9920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9923 {
9924 arg2 = wxString_in_helper(obj1);
9925 if (arg2 == NULL) SWIG_fail;
ae8162c8 9926 temp2 = true;
d14a1e28 9927 }
994141e6 9928 if (obj2) {
c32bde28 9929 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 9930 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9931 }
9932 if (obj3) {
c32bde28 9933 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 9934 if (PyErr_Occurred()) SWIG_fail;
994141e6 9935 }
d14a1e28
RD
9936 {
9937 PyThreadState* __tstate = wxPyBeginAllowThreads();
9938 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9939
9940 wxPyEndAllowThreads(__tstate);
9941 if (PyErr_Occurred()) SWIG_fail;
9942 }
4f89f6a3
RD
9943 {
9944 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9945 }
d14a1e28
RD
9946 {
9947 if (temp2)
9948 delete arg2;
9949 }
9950 return resultobj;
9951 fail:
9952 {
9953 if (temp2)
9954 delete arg2;
9955 }
9956 return NULL;
9957}
9958
9959
c32bde28 9960static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9961 PyObject *resultobj;
9962 wxImage *arg1 = (wxImage *) 0 ;
9963 wxString *arg2 = 0 ;
9964 wxString *arg3 = 0 ;
9965 int arg4 = (int) -1 ;
9966 bool result;
ae8162c8
RD
9967 bool temp2 = false ;
9968 bool temp3 = false ;
d14a1e28
RD
9969 PyObject * obj0 = 0 ;
9970 PyObject * obj1 = 0 ;
9971 PyObject * obj2 = 0 ;
994141e6 9972 PyObject * obj3 = 0 ;
d14a1e28
RD
9973 char *kwnames[] = {
9974 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9975 };
9976
994141e6 9977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9980 {
9981 arg2 = wxString_in_helper(obj1);
9982 if (arg2 == NULL) SWIG_fail;
ae8162c8 9983 temp2 = true;
d14a1e28
RD
9984 }
9985 {
9986 arg3 = wxString_in_helper(obj2);
9987 if (arg3 == NULL) SWIG_fail;
ae8162c8 9988 temp3 = true;
d14a1e28 9989 }
994141e6 9990 if (obj3) {
c32bde28 9991 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 9992 if (PyErr_Occurred()) SWIG_fail;
994141e6 9993 }
d14a1e28
RD
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
4f89f6a3
RD
10001 {
10002 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10003 }
d14a1e28
RD
10004 {
10005 if (temp2)
10006 delete arg2;
10007 }
10008 {
10009 if (temp3)
10010 delete arg3;
10011 }
10012 return resultobj;
10013 fail:
10014 {
10015 if (temp2)
10016 delete arg2;
10017 }
10018 {
10019 if (temp3)
10020 delete arg3;
10021 }
10022 return NULL;
10023}
10024
10025
c32bde28 10026static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10027 PyObject *resultobj;
10028 wxImage *arg1 = (wxImage *) 0 ;
10029 wxString *arg2 = 0 ;
10030 int arg3 ;
10031 bool result;
ae8162c8 10032 bool temp2 = false ;
d14a1e28
RD
10033 PyObject * obj0 = 0 ;
10034 PyObject * obj1 = 0 ;
994141e6 10035 PyObject * obj2 = 0 ;
d14a1e28
RD
10036 char *kwnames[] = {
10037 (char *) "self",(char *) "name",(char *) "type", NULL
10038 };
10039
994141e6 10040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10043 {
10044 arg2 = wxString_in_helper(obj1);
10045 if (arg2 == NULL) SWIG_fail;
ae8162c8 10046 temp2 = true;
d14a1e28 10047 }
c32bde28 10048 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10049 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10050 {
10051 PyThreadState* __tstate = wxPyBeginAllowThreads();
10052 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
10053
10054 wxPyEndAllowThreads(__tstate);
10055 if (PyErr_Occurred()) SWIG_fail;
10056 }
4f89f6a3
RD
10057 {
10058 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10059 }
d14a1e28
RD
10060 {
10061 if (temp2)
10062 delete arg2;
10063 }
10064 return resultobj;
10065 fail:
10066 {
10067 if (temp2)
10068 delete arg2;
10069 }
10070 return NULL;
10071}
10072
10073
c32bde28 10074static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10075 PyObject *resultobj;
10076 wxImage *arg1 = (wxImage *) 0 ;
10077 wxString *arg2 = 0 ;
10078 wxString *arg3 = 0 ;
10079 bool result;
ae8162c8
RD
10080 bool temp2 = false ;
10081 bool temp3 = false ;
d14a1e28
RD
10082 PyObject * obj0 = 0 ;
10083 PyObject * obj1 = 0 ;
10084 PyObject * obj2 = 0 ;
10085 char *kwnames[] = {
10086 (char *) "self",(char *) "name",(char *) "mimetype", NULL
10087 };
10088
10089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10092 {
10093 arg2 = wxString_in_helper(obj1);
10094 if (arg2 == NULL) SWIG_fail;
ae8162c8 10095 temp2 = true;
d14a1e28
RD
10096 }
10097 {
10098 arg3 = wxString_in_helper(obj2);
10099 if (arg3 == NULL) SWIG_fail;
ae8162c8 10100 temp3 = true;
d14a1e28
RD
10101 }
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
4f89f6a3
RD
10109 {
10110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10111 }
d14a1e28
RD
10112 {
10113 if (temp2)
10114 delete arg2;
10115 }
10116 {
10117 if (temp3)
10118 delete arg3;
10119 }
10120 return resultobj;
10121 fail:
10122 {
10123 if (temp2)
10124 delete arg2;
10125 }
10126 {
10127 if (temp3)
10128 delete arg3;
10129 }
10130 return NULL;
10131}
10132
10133
c32bde28 10134static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10135 PyObject *resultobj;
10136 wxInputStream *arg1 = 0 ;
10137 bool result;
10138 wxPyInputStream *temp1 ;
10139 bool created1 ;
10140 PyObject * obj0 = 0 ;
10141 char *kwnames[] = {
10142 (char *) "stream", NULL
10143 };
10144
10145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
10146 {
10147 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
10148 arg1 = temp1->m_wxis;
ae8162c8 10149 created1 = false;
d14a1e28
RD
10150 } else {
10151 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 10152 arg1 = wxPyCBInputStream_create(obj0, false);
d14a1e28
RD
10153 if (arg1 == NULL) {
10154 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
10155 SWIG_fail;
10156 }
ae8162c8 10157 created1 = true;
d14a1e28
RD
10158 }
10159 }
10160 {
10161 PyThreadState* __tstate = wxPyBeginAllowThreads();
10162 result = (bool)wxImage::CanRead(*arg1);
10163
10164 wxPyEndAllowThreads(__tstate);
10165 if (PyErr_Occurred()) SWIG_fail;
10166 }
4f89f6a3
RD
10167 {
10168 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10169 }
d14a1e28
RD
10170 {
10171 if (created1)
10172 delete arg1;
10173 }
10174 return resultobj;
10175 fail:
10176 {
10177 if (created1)
10178 delete arg1;
10179 }
10180 return NULL;
10181}
10182
10183
c32bde28 10184static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10185 PyObject *resultobj;
10186 wxImage *arg1 = (wxImage *) 0 ;
10187 wxInputStream *arg2 = 0 ;
10188 long arg3 = (long) wxBITMAP_TYPE_ANY ;
10189 int arg4 = (int) -1 ;
10190 bool result;
10191 wxPyInputStream *temp2 ;
10192 bool created2 ;
10193 PyObject * obj0 = 0 ;
10194 PyObject * obj1 = 0 ;
994141e6
RD
10195 PyObject * obj2 = 0 ;
10196 PyObject * obj3 = 0 ;
d14a1e28
RD
10197 char *kwnames[] = {
10198 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
10199 };
10200
994141e6 10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10204 {
10205 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
10206 arg2 = temp2->m_wxis;
ae8162c8 10207 created2 = false;
d14a1e28
RD
10208 } else {
10209 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 10210 arg2 = wxPyCBInputStream_create(obj1, false);
d14a1e28
RD
10211 if (arg2 == NULL) {
10212 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
10213 SWIG_fail;
10214 }
ae8162c8 10215 created2 = true;
d14a1e28
RD
10216 }
10217 }
994141e6 10218 if (obj2) {
c32bde28 10219 arg3 = (long)SWIG_As_long(obj2);
15afbcd0 10220 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
10221 }
10222 if (obj3) {
c32bde28 10223 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10224 if (PyErr_Occurred()) SWIG_fail;
994141e6 10225 }
d14a1e28
RD
10226 {
10227 PyThreadState* __tstate = wxPyBeginAllowThreads();
10228 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
10229
10230 wxPyEndAllowThreads(__tstate);
10231 if (PyErr_Occurred()) SWIG_fail;
10232 }
4f89f6a3
RD
10233 {
10234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10235 }
d14a1e28
RD
10236 {
10237 if (created2)
10238 delete arg2;
10239 }
10240 return resultobj;
10241 fail:
10242 {
10243 if (created2)
10244 delete arg2;
10245 }
10246 return NULL;
10247}
10248
10249
c32bde28 10250static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10251 PyObject *resultobj;
10252 wxImage *arg1 = (wxImage *) 0 ;
10253 wxInputStream *arg2 = 0 ;
10254 wxString *arg3 = 0 ;
10255 int arg4 = (int) -1 ;
10256 bool result;
10257 wxPyInputStream *temp2 ;
10258 bool created2 ;
ae8162c8 10259 bool temp3 = false ;
d14a1e28
RD
10260 PyObject * obj0 = 0 ;
10261 PyObject * obj1 = 0 ;
10262 PyObject * obj2 = 0 ;
994141e6 10263 PyObject * obj3 = 0 ;
d14a1e28
RD
10264 char *kwnames[] = {
10265 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
10266 };
10267
994141e6 10268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10271 {
10272 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
10273 arg2 = temp2->m_wxis;
ae8162c8 10274 created2 = false;
d14a1e28
RD
10275 } else {
10276 PyErr_Clear(); // clear the failure of the wxPyConvert above
ae8162c8 10277 arg2 = wxPyCBInputStream_create(obj1, false);
d14a1e28
RD
10278 if (arg2 == NULL) {
10279 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
10280 SWIG_fail;
10281 }
ae8162c8 10282 created2 = true;
d14a1e28
RD
10283 }
10284 }
10285 {
10286 arg3 = wxString_in_helper(obj2);
10287 if (arg3 == NULL) SWIG_fail;
ae8162c8 10288 temp3 = true;
d14a1e28 10289 }
994141e6 10290 if (obj3) {
c32bde28 10291 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10292 if (PyErr_Occurred()) SWIG_fail;
994141e6 10293 }
d14a1e28
RD
10294 {
10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
10296 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
10297
10298 wxPyEndAllowThreads(__tstate);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 }
4f89f6a3
RD
10301 {
10302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10303 }
d14a1e28
RD
10304 {
10305 if (created2)
10306 delete arg2;
10307 }
10308 {
10309 if (temp3)
10310 delete arg3;
10311 }
10312 return resultobj;
10313 fail:
10314 {
10315 if (created2)
10316 delete arg2;
10317 }
10318 {
10319 if (temp3)
10320 delete arg3;
10321 }
10322 return NULL;
10323}
10324
10325
c32bde28 10326static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10327 PyObject *resultobj;
10328 wxImage *arg1 = (wxImage *) 0 ;
10329 bool result;
10330 PyObject * obj0 = 0 ;
10331 char *kwnames[] = {
10332 (char *) "self", NULL
10333 };
10334
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
10336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 result = (bool)(arg1)->Ok();
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
4f89f6a3
RD
10345 {
10346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10347 }
d14a1e28
RD
10348 return resultobj;
10349 fail:
10350 return NULL;
10351}
10352
10353
c32bde28 10354static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10355 PyObject *resultobj;
10356 wxImage *arg1 = (wxImage *) 0 ;
10357 int result;
10358 PyObject * obj0 = 0 ;
10359 char *kwnames[] = {
10360 (char *) "self", NULL
10361 };
10362
10363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
10364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10366 {
10367 PyThreadState* __tstate = wxPyBeginAllowThreads();
10368 result = (int)(arg1)->GetWidth();
10369
10370 wxPyEndAllowThreads(__tstate);
10371 if (PyErr_Occurred()) SWIG_fail;
10372 }
c32bde28 10373 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10374 return resultobj;
10375 fail:
10376 return NULL;
10377}
10378
10379
c32bde28 10380static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10381 PyObject *resultobj;
10382 wxImage *arg1 = (wxImage *) 0 ;
10383 int result;
10384 PyObject * obj0 = 0 ;
10385 char *kwnames[] = {
10386 (char *) "self", NULL
10387 };
10388
10389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
10390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10392 {
10393 PyThreadState* __tstate = wxPyBeginAllowThreads();
10394 result = (int)(arg1)->GetHeight();
10395
10396 wxPyEndAllowThreads(__tstate);
10397 if (PyErr_Occurred()) SWIG_fail;
10398 }
c32bde28 10399 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
10400 return resultobj;
10401 fail:
10402 return NULL;
10403}
10404
10405
c32bde28 10406static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
10407 PyObject *resultobj;
10408 wxImage *arg1 = (wxImage *) 0 ;
10409 wxSize result;
10410 PyObject * obj0 = 0 ;
10411 char *kwnames[] = {
10412 (char *) "self", NULL
10413 };
10414
10415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 result = wxImage_GetSize(arg1);
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 {
10426 wxSize * resultptr;
10427 resultptr = new wxSize((wxSize &) result);
10428 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10429 }
10430 return resultobj;
10431 fail:
10432 return NULL;
10433}
10434
10435
c32bde28 10436static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10437 PyObject *resultobj;
10438 wxImage *arg1 = (wxImage *) 0 ;
10439 wxRect *arg2 = 0 ;
10440 SwigValueWrapper< wxImage > result;
10441 wxRect temp2 ;
10442 PyObject * obj0 = 0 ;
10443 PyObject * obj1 = 0 ;
10444 char *kwnames[] = {
10445 (char *) "self",(char *) "rect", NULL
10446 };
10447
10448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10451 {
10452 arg2 = &temp2;
10453 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10454 }
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10458
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 {
10463 wxImage * resultptr;
10464 resultptr = new wxImage((wxImage &) result);
15afbcd0 10465 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10466 }
10467 return resultobj;
10468 fail:
10469 return NULL;
10470}
10471
10472
c32bde28 10473static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10474 PyObject *resultobj;
10475 wxImage *arg1 = (wxImage *) 0 ;
10476 SwigValueWrapper< wxImage > result;
10477 PyObject * obj0 = 0 ;
10478 char *kwnames[] = {
10479 (char *) "self", NULL
10480 };
10481
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
10483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10485 {
10486 PyThreadState* __tstate = wxPyBeginAllowThreads();
10487 result = (arg1)->Copy();
10488
10489 wxPyEndAllowThreads(__tstate);
10490 if (PyErr_Occurred()) SWIG_fail;
10491 }
10492 {
10493 wxImage * resultptr;
10494 resultptr = new wxImage((wxImage &) result);
15afbcd0 10495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10496 }
10497 return resultobj;
10498 fail:
10499 return NULL;
10500}
10501
10502
c32bde28 10503static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10504 PyObject *resultobj;
10505 wxImage *arg1 = (wxImage *) 0 ;
10506 wxImage *arg2 = 0 ;
10507 int arg3 ;
10508 int arg4 ;
10509 PyObject * obj0 = 0 ;
10510 PyObject * obj1 = 0 ;
994141e6
RD
10511 PyObject * obj2 = 0 ;
10512 PyObject * obj3 = 0 ;
d14a1e28
RD
10513 char *kwnames[] = {
10514 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10515 };
10516
994141e6 10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10520 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10521 SWIG_POINTER_EXCEPTION | 0)) == -1)
10522 SWIG_fail;
d14a1e28 10523 if (arg2 == NULL) {
15afbcd0
RD
10524 PyErr_SetString(PyExc_TypeError,"null reference");
10525 SWIG_fail;
994141e6 10526 }
c32bde28 10527 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 10528 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10529 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 10530 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10534
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 Py_INCREF(Py_None); resultobj = Py_None;
10539 return resultobj;
10540 fail:
10541 return NULL;
10542}
10543
10544
c32bde28 10545static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10546 PyObject *resultobj;
10547 wxImage *arg1 = (wxImage *) 0 ;
10548 PyObject *result;
10549 PyObject * obj0 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 result = (PyObject *)wxImage_GetData(arg1);
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 resultobj = result;
10565 return resultobj;
10566 fail:
10567 return NULL;
10568}
10569
10570
c32bde28 10571static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10572 PyObject *resultobj;
10573 wxImage *arg1 = (wxImage *) 0 ;
10574 PyObject *arg2 = (PyObject *) 0 ;
10575 PyObject * obj0 = 0 ;
10576 PyObject * obj1 = 0 ;
10577 char *kwnames[] = {
10578 (char *) "self",(char *) "data", NULL
10579 };
10580
10581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10584 arg2 = obj1;
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 wxImage_SetData(arg1,arg2);
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 Py_INCREF(Py_None); resultobj = Py_None;
10593 return resultobj;
10594 fail:
10595 return NULL;
10596}
10597
10598
c32bde28 10599static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10600 PyObject *resultobj;
10601 wxImage *arg1 = (wxImage *) 0 ;
10602 PyObject *result;
10603 PyObject * obj0 = 0 ;
10604 char *kwnames[] = {
10605 (char *) "self", NULL
10606 };
10607
10608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10611 {
10612 PyThreadState* __tstate = wxPyBeginAllowThreads();
10613 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10614
10615 wxPyEndAllowThreads(__tstate);
10616 if (PyErr_Occurred()) SWIG_fail;
10617 }
10618 resultobj = result;
10619 return resultobj;
10620 fail:
10621 return NULL;
10622}
10623
10624
c32bde28 10625static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10626 PyObject *resultobj;
10627 wxImage *arg1 = (wxImage *) 0 ;
10628 PyObject *arg2 = (PyObject *) 0 ;
10629 PyObject * obj0 = 0 ;
10630 PyObject * obj1 = 0 ;
10631 char *kwnames[] = {
10632 (char *) "self",(char *) "data", NULL
10633 };
10634
10635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10638 arg2 = obj1;
10639 {
10640 PyThreadState* __tstate = wxPyBeginAllowThreads();
10641 wxImage_SetDataBuffer(arg1,arg2);
10642
10643 wxPyEndAllowThreads(__tstate);
10644 if (PyErr_Occurred()) SWIG_fail;
10645 }
10646 Py_INCREF(Py_None); resultobj = Py_None;
10647 return resultobj;
10648 fail:
10649 return NULL;
10650}
10651
10652
c32bde28 10653static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10654 PyObject *resultobj;
10655 wxImage *arg1 = (wxImage *) 0 ;
10656 PyObject *result;
10657 PyObject * obj0 = 0 ;
10658 char *kwnames[] = {
10659 (char *) "self", NULL
10660 };
10661
10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10665 {
10666 PyThreadState* __tstate = wxPyBeginAllowThreads();
10667 result = (PyObject *)wxImage_GetAlphaData(arg1);
10668
10669 wxPyEndAllowThreads(__tstate);
10670 if (PyErr_Occurred()) SWIG_fail;
10671 }
10672 resultobj = result;
10673 return resultobj;
10674 fail:
10675 return NULL;
10676}
10677
10678
c32bde28 10679static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10680 PyObject *resultobj;
10681 wxImage *arg1 = (wxImage *) 0 ;
10682 PyObject *arg2 = (PyObject *) 0 ;
10683 PyObject * obj0 = 0 ;
10684 PyObject * obj1 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self",(char *) "data", NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10692 arg2 = obj1;
10693 {
10694 PyThreadState* __tstate = wxPyBeginAllowThreads();
10695 wxImage_SetAlphaData(arg1,arg2);
10696
10697 wxPyEndAllowThreads(__tstate);
10698 if (PyErr_Occurred()) SWIG_fail;
10699 }
10700 Py_INCREF(Py_None); resultobj = Py_None;
10701 return resultobj;
10702 fail:
10703 return NULL;
10704}
10705
10706
c32bde28 10707static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10708 PyObject *resultobj;
10709 wxImage *arg1 = (wxImage *) 0 ;
10710 PyObject *result;
10711 PyObject * obj0 = 0 ;
10712 char *kwnames[] = {
10713 (char *) "self", NULL
10714 };
10715
10716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10722
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 resultobj = result;
10727 return resultobj;
10728 fail:
10729 return NULL;
10730}
10731
10732
c32bde28 10733static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10734 PyObject *resultobj;
10735 wxImage *arg1 = (wxImage *) 0 ;
10736 PyObject *arg2 = (PyObject *) 0 ;
10737 PyObject * obj0 = 0 ;
10738 PyObject * obj1 = 0 ;
10739 char *kwnames[] = {
10740 (char *) "self",(char *) "data", NULL
10741 };
10742
10743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10746 arg2 = obj1;
10747 {
10748 PyThreadState* __tstate = wxPyBeginAllowThreads();
10749 wxImage_SetAlphaBuffer(arg1,arg2);
10750
10751 wxPyEndAllowThreads(__tstate);
10752 if (PyErr_Occurred()) SWIG_fail;
10753 }
10754 Py_INCREF(Py_None); resultobj = Py_None;
10755 return resultobj;
10756 fail:
10757 return NULL;
10758}
10759
10760
c32bde28 10761static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10762 PyObject *resultobj;
10763 wxImage *arg1 = (wxImage *) 0 ;
10764 unsigned char arg2 ;
10765 unsigned char arg3 ;
10766 unsigned char arg4 ;
10767 PyObject * obj0 = 0 ;
10768 PyObject * obj1 = 0 ;
10769 PyObject * obj2 = 0 ;
10770 PyObject * obj3 = 0 ;
10771 char *kwnames[] = {
10772 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10773 };
10774
10775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10778 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 10779 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10780 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 10781 if (PyErr_Occurred()) SWIG_fail;
c32bde28 10782 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 10783 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10784 {
10785 PyThreadState* __tstate = wxPyBeginAllowThreads();
10786 (arg1)->SetMaskColour(arg2,arg3,arg4);
10787
10788 wxPyEndAllowThreads(__tstate);
10789 if (PyErr_Occurred()) SWIG_fail;
10790 }
10791 Py_INCREF(Py_None); resultobj = Py_None;
10792 return resultobj;
10793 fail:
10794 return NULL;
10795}
10796
10797
c32bde28 10798static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10799 PyObject *resultobj;
10800 wxImage *arg1 = (wxImage *) 0 ;
10801 unsigned char result;
10802 PyObject * obj0 = 0 ;
10803 char *kwnames[] = {
10804 (char *) "self", NULL
10805 };
10806
10807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
15afbcd0
RD
10808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10810 {
10811 PyThreadState* __tstate = wxPyBeginAllowThreads();
10812 result = (unsigned char)(arg1)->GetMaskRed();
10813
10814 wxPyEndAllowThreads(__tstate);
10815 if (PyErr_Occurred()) SWIG_fail;
10816 }
c32bde28 10817 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
10818 return resultobj;
10819 fail:
10820 return NULL;
10821}
10822
10823
c32bde28 10824static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10825 PyObject *resultobj;
10826 wxImage *arg1 = (wxImage *) 0 ;
10827 unsigned char result;
10828 PyObject * obj0 = 0 ;
10829 char *kwnames[] = {
10830 (char *) "self", NULL
10831 };
10832
10833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
10834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10836 {
10837 PyThreadState* __tstate = wxPyBeginAllowThreads();
10838 result = (unsigned char)(arg1)->GetMaskGreen();
10839
10840 wxPyEndAllowThreads(__tstate);
10841 if (PyErr_Occurred()) SWIG_fail;
10842 }
c32bde28 10843 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
10844 return resultobj;
10845 fail:
10846 return NULL;
10847}
10848
10849
c32bde28 10850static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10851 PyObject *resultobj;
10852 wxImage *arg1 = (wxImage *) 0 ;
10853 unsigned char result;
10854 PyObject * obj0 = 0 ;
10855 char *kwnames[] = {
10856 (char *) "self", NULL
10857 };
10858
10859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10862 {
10863 PyThreadState* __tstate = wxPyBeginAllowThreads();
10864 result = (unsigned char)(arg1)->GetMaskBlue();
10865
10866 wxPyEndAllowThreads(__tstate);
10867 if (PyErr_Occurred()) SWIG_fail;
10868 }
c32bde28 10869 resultobj = SWIG_From_unsigned_SS_char((unsigned char)result);
d14a1e28
RD
10870 return resultobj;
10871 fail:
10872 return NULL;
10873}
10874
10875
c32bde28 10876static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10877 PyObject *resultobj;
10878 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 10879 bool arg2 = (bool) true ;
d14a1e28
RD
10880 PyObject * obj0 = 0 ;
10881 PyObject * obj1 = 0 ;
10882 char *kwnames[] = {
10883 (char *) "self",(char *) "mask", NULL
10884 };
10885
10886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10889 if (obj1) {
c32bde28 10890 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 10891 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10892 }
10893 {
10894 PyThreadState* __tstate = wxPyBeginAllowThreads();
10895 (arg1)->SetMask(arg2);
10896
10897 wxPyEndAllowThreads(__tstate);
10898 if (PyErr_Occurred()) SWIG_fail;
10899 }
10900 Py_INCREF(Py_None); resultobj = Py_None;
10901 return resultobj;
10902 fail:
10903 return NULL;
10904}
10905
10906
c32bde28 10907static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10908 PyObject *resultobj;
10909 wxImage *arg1 = (wxImage *) 0 ;
10910 bool result;
10911 PyObject * obj0 = 0 ;
10912 char *kwnames[] = {
10913 (char *) "self", NULL
10914 };
10915
10916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
10917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10919 {
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 result = (bool)(arg1)->HasMask();
10922
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) SWIG_fail;
10925 }
4f89f6a3
RD
10926 {
10927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10928 }
d14a1e28
RD
10929 return resultobj;
10930 fail:
10931 return NULL;
10932}
10933
10934
c32bde28 10935static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10936 PyObject *resultobj;
10937 wxImage *arg1 = (wxImage *) 0 ;
10938 double arg2 ;
10939 wxPoint *arg3 = 0 ;
ae8162c8 10940 bool arg4 = (bool) true ;
d14a1e28
RD
10941 wxPoint *arg5 = (wxPoint *) NULL ;
10942 SwigValueWrapper< wxImage > result;
10943 wxPoint temp3 ;
10944 PyObject * obj0 = 0 ;
994141e6 10945 PyObject * obj1 = 0 ;
d14a1e28
RD
10946 PyObject * obj2 = 0 ;
10947 PyObject * obj3 = 0 ;
10948 PyObject * obj4 = 0 ;
10949 char *kwnames[] = {
10950 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10951 };
10952
994141e6 10953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 10956 arg2 = (double)SWIG_As_double(obj1);
15afbcd0 10957 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10958 {
10959 arg3 = &temp3;
10960 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10961 }
10962 if (obj3) {
c32bde28 10963 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 10964 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10965 }
10966 if (obj4) {
15afbcd0
RD
10967 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10969 }
10970 {
10971 PyThreadState* __tstate = wxPyBeginAllowThreads();
10972 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10973
10974 wxPyEndAllowThreads(__tstate);
10975 if (PyErr_Occurred()) SWIG_fail;
10976 }
10977 {
10978 wxImage * resultptr;
10979 resultptr = new wxImage((wxImage &) result);
15afbcd0 10980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10981 }
10982 return resultobj;
10983 fail:
10984 return NULL;
10985}
10986
10987
c32bde28 10988static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10989 PyObject *resultobj;
10990 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 10991 bool arg2 = (bool) true ;
d14a1e28
RD
10992 SwigValueWrapper< wxImage > result;
10993 PyObject * obj0 = 0 ;
10994 PyObject * obj1 = 0 ;
10995 char *kwnames[] = {
10996 (char *) "self",(char *) "clockwise", NULL
10997 };
10998
10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11002 if (obj1) {
c32bde28 11003 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 11004 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11005 }
11006 {
11007 PyThreadState* __tstate = wxPyBeginAllowThreads();
11008 result = (arg1)->Rotate90(arg2);
11009
11010 wxPyEndAllowThreads(__tstate);
11011 if (PyErr_Occurred()) SWIG_fail;
11012 }
11013 {
11014 wxImage * resultptr;
11015 resultptr = new wxImage((wxImage &) result);
15afbcd0 11016 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11017 }
11018 return resultobj;
11019 fail:
11020 return NULL;
11021}
11022
11023
c32bde28 11024static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11025 PyObject *resultobj;
11026 wxImage *arg1 = (wxImage *) 0 ;
ae8162c8 11027 bool arg2 = (bool) true ;
d14a1e28
RD
11028 SwigValueWrapper< wxImage > result;
11029 PyObject * obj0 = 0 ;
11030 PyObject * obj1 = 0 ;
11031 char *kwnames[] = {
11032 (char *) "self",(char *) "horizontally", NULL
11033 };
11034
11035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11038 if (obj1) {
c32bde28 11039 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 11040 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11041 }
11042 {
11043 PyThreadState* __tstate = wxPyBeginAllowThreads();
11044 result = (arg1)->Mirror(arg2);
11045
11046 wxPyEndAllowThreads(__tstate);
11047 if (PyErr_Occurred()) SWIG_fail;
11048 }
11049 {
11050 wxImage * resultptr;
11051 resultptr = new wxImage((wxImage &) result);
15afbcd0 11052 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11053 }
11054 return resultobj;
11055 fail:
11056 return NULL;
11057}
11058
11059
c32bde28 11060static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11061 PyObject *resultobj;
11062 wxImage *arg1 = (wxImage *) 0 ;
11063 unsigned char arg2 ;
11064 unsigned char arg3 ;
11065 unsigned char arg4 ;
11066 unsigned char arg5 ;
11067 unsigned char arg6 ;
11068 unsigned char arg7 ;
11069 PyObject * obj0 = 0 ;
11070 PyObject * obj1 = 0 ;
11071 PyObject * obj2 = 0 ;
11072 PyObject * obj3 = 0 ;
11073 PyObject * obj4 = 0 ;
11074 PyObject * obj5 = 0 ;
11075 PyObject * obj6 = 0 ;
11076 char *kwnames[] = {
11077 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
11078 };
11079
11080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
11081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11083 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 11084 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11085 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 11086 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11087 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 11088 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11089 arg5 = (unsigned char)SWIG_As_unsigned_SS_char(obj4);
15afbcd0 11090 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11091 arg6 = (unsigned char)SWIG_As_unsigned_SS_char(obj5);
15afbcd0 11092 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11093 arg7 = (unsigned char)SWIG_As_unsigned_SS_char(obj6);
15afbcd0 11094 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11095 {
11096 PyThreadState* __tstate = wxPyBeginAllowThreads();
11097 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
11098
11099 wxPyEndAllowThreads(__tstate);
11100 if (PyErr_Occurred()) SWIG_fail;
11101 }
11102 Py_INCREF(Py_None); resultobj = Py_None;
11103 return resultobj;
11104 fail:
11105 return NULL;
11106}
11107
11108
c32bde28 11109static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11110 PyObject *resultobj;
11111 wxImage *arg1 = (wxImage *) 0 ;
11112 unsigned char arg2 ;
11113 unsigned char arg3 ;
11114 unsigned char arg4 ;
11115 SwigValueWrapper< wxImage > result;
11116 PyObject * obj0 = 0 ;
11117 PyObject * obj1 = 0 ;
11118 PyObject * obj2 = 0 ;
11119 PyObject * obj3 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11127 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 11128 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11129 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 11130 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11131 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 11132 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
11136
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
11140 {
11141 wxImage * resultptr;
11142 resultptr = new wxImage((wxImage &) result);
15afbcd0 11143 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
11144 }
11145 return resultobj;
11146 fail:
11147 return NULL;
11148}
11149
11150
c32bde28 11151static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11152 PyObject *resultobj;
11153 wxImage *arg1 = (wxImage *) 0 ;
11154 wxString *arg2 = 0 ;
11155 wxString *arg3 = 0 ;
ae8162c8
RD
11156 bool temp2 = false ;
11157 bool temp3 = false ;
d14a1e28
RD
11158 PyObject * obj0 = 0 ;
11159 PyObject * obj1 = 0 ;
11160 PyObject * obj2 = 0 ;
11161 char *kwnames[] = {
11162 (char *) "self",(char *) "name",(char *) "value", NULL
11163 };
11164
11165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11168 {
11169 arg2 = wxString_in_helper(obj1);
11170 if (arg2 == NULL) SWIG_fail;
ae8162c8 11171 temp2 = true;
d14a1e28
RD
11172 }
11173 {
11174 arg3 = wxString_in_helper(obj2);
11175 if (arg3 == NULL) SWIG_fail;
ae8162c8 11176 temp3 = true;
d14a1e28
RD
11177 }
11178 {
11179 PyThreadState* __tstate = wxPyBeginAllowThreads();
11180 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
11181
11182 wxPyEndAllowThreads(__tstate);
11183 if (PyErr_Occurred()) SWIG_fail;
11184 }
11185 Py_INCREF(Py_None); resultobj = Py_None;
11186 {
11187 if (temp2)
11188 delete arg2;
11189 }
11190 {
11191 if (temp3)
11192 delete arg3;
11193 }
11194 return resultobj;
11195 fail:
11196 {
11197 if (temp2)
11198 delete arg2;
11199 }
11200 {
11201 if (temp3)
11202 delete arg3;
11203 }
11204 return NULL;
11205}
11206
11207
c32bde28 11208static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11209 PyObject *resultobj;
11210 wxImage *arg1 = (wxImage *) 0 ;
11211 wxString *arg2 = 0 ;
11212 int arg3 ;
ae8162c8 11213 bool temp2 = false ;
d14a1e28
RD
11214 PyObject * obj0 = 0 ;
11215 PyObject * obj1 = 0 ;
994141e6 11216 PyObject * obj2 = 0 ;
d14a1e28
RD
11217 char *kwnames[] = {
11218 (char *) "self",(char *) "name",(char *) "value", NULL
11219 };
11220
994141e6 11221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
11222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11224 {
11225 arg2 = wxString_in_helper(obj1);
11226 if (arg2 == NULL) SWIG_fail;
ae8162c8 11227 temp2 = true;
d14a1e28 11228 }
c32bde28 11229 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 11230 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11231 {
11232 PyThreadState* __tstate = wxPyBeginAllowThreads();
11233 (arg1)->SetOption((wxString const &)*arg2,arg3);
11234
11235 wxPyEndAllowThreads(__tstate);
11236 if (PyErr_Occurred()) SWIG_fail;
11237 }
11238 Py_INCREF(Py_None); resultobj = Py_None;
11239 {
11240 if (temp2)
11241 delete arg2;
11242 }
11243 return resultobj;
11244 fail:
11245 {
11246 if (temp2)
11247 delete arg2;
11248 }
11249 return NULL;
11250}
11251
11252
c32bde28 11253static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11254 PyObject *resultobj;
11255 wxImage *arg1 = (wxImage *) 0 ;
11256 wxString *arg2 = 0 ;
11257 wxString result;
ae8162c8 11258 bool temp2 = false ;
d14a1e28
RD
11259 PyObject * obj0 = 0 ;
11260 PyObject * obj1 = 0 ;
11261 char *kwnames[] = {
11262 (char *) "self",(char *) "name", NULL
11263 };
11264
11265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11268 {
11269 arg2 = wxString_in_helper(obj1);
11270 if (arg2 == NULL) SWIG_fail;
ae8162c8 11271 temp2 = true;
d14a1e28
RD
11272 }
11273 {
11274 PyThreadState* __tstate = wxPyBeginAllowThreads();
11275 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
11276
11277 wxPyEndAllowThreads(__tstate);
11278 if (PyErr_Occurred()) SWIG_fail;
11279 }
11280 {
11281#if wxUSE_UNICODE
11282 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11283#else
11284 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11285#endif
11286 }
11287 {
11288 if (temp2)
11289 delete arg2;
11290 }
11291 return resultobj;
11292 fail:
11293 {
11294 if (temp2)
11295 delete arg2;
11296 }
11297 return NULL;
11298}
11299
11300
c32bde28 11301static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11302 PyObject *resultobj;
11303 wxImage *arg1 = (wxImage *) 0 ;
11304 wxString *arg2 = 0 ;
11305 int result;
ae8162c8 11306 bool temp2 = false ;
d14a1e28
RD
11307 PyObject * obj0 = 0 ;
11308 PyObject * obj1 = 0 ;
11309 char *kwnames[] = {
11310 (char *) "self",(char *) "name", NULL
11311 };
11312
11313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11316 {
11317 arg2 = wxString_in_helper(obj1);
11318 if (arg2 == NULL) SWIG_fail;
ae8162c8 11319 temp2 = true;
d14a1e28
RD
11320 }
11321 {
11322 PyThreadState* __tstate = wxPyBeginAllowThreads();
11323 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
11324
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
c32bde28 11328 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
11329 {
11330 if (temp2)
11331 delete arg2;
11332 }
11333 return resultobj;
11334 fail:
11335 {
11336 if (temp2)
11337 delete arg2;
11338 }
11339 return NULL;
11340}
11341
11342
c32bde28 11343static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11344 PyObject *resultobj;
11345 wxImage *arg1 = (wxImage *) 0 ;
11346 wxString *arg2 = 0 ;
11347 bool result;
ae8162c8 11348 bool temp2 = false ;
d14a1e28
RD
11349 PyObject * obj0 = 0 ;
11350 PyObject * obj1 = 0 ;
11351 char *kwnames[] = {
11352 (char *) "self",(char *) "name", NULL
11353 };
11354
11355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11358 {
11359 arg2 = wxString_in_helper(obj1);
11360 if (arg2 == NULL) SWIG_fail;
ae8162c8 11361 temp2 = true;
d14a1e28
RD
11362 }
11363 {
11364 PyThreadState* __tstate = wxPyBeginAllowThreads();
11365 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
11366
11367 wxPyEndAllowThreads(__tstate);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
4f89f6a3
RD
11370 {
11371 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11372 }
d14a1e28
RD
11373 {
11374 if (temp2)
11375 delete arg2;
11376 }
11377 return resultobj;
11378 fail:
11379 {
11380 if (temp2)
11381 delete arg2;
11382 }
11383 return NULL;
11384}
11385
11386
c32bde28 11387static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11388 PyObject *resultobj;
11389 wxImage *arg1 = (wxImage *) 0 ;
11390 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11391 unsigned long result;
11392 PyObject * obj0 = 0 ;
11393 PyObject * obj1 = 0 ;
11394 char *kwnames[] = {
11395 (char *) "self",(char *) "stopafter", NULL
11396 };
11397
11398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11401 if (obj1) {
c32bde28 11402 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 11403 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11404 }
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 result = (unsigned long)(arg1)->CountColours(arg2);
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
c32bde28 11412 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
11413 return resultobj;
11414 fail:
11415 return NULL;
11416}
11417
11418
c32bde28 11419static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11420 PyObject *resultobj;
11421 wxImage *arg1 = (wxImage *) 0 ;
11422 wxImageHistogram *arg2 = 0 ;
11423 unsigned long result;
11424 PyObject * obj0 = 0 ;
11425 PyObject * obj1 = 0 ;
11426 char *kwnames[] = {
11427 (char *) "self",(char *) "h", NULL
11428 };
11429
11430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11434 SWIG_POINTER_EXCEPTION | 0)) == -1)
11435 SWIG_fail;
d14a1e28 11436 if (arg2 == NULL) {
15afbcd0
RD
11437 PyErr_SetString(PyExc_TypeError,"null reference");
11438 SWIG_fail;
d14a1e28
RD
11439 }
11440 {
11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
11442 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11443
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
c32bde28 11447 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
11448 return resultobj;
11449 fail:
11450 return NULL;
11451}
11452
11453
c32bde28 11454static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11455 PyObject *resultobj;
11456 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11457 PyObject * obj0 = 0 ;
11458 char *kwnames[] = {
11459 (char *) "handler", NULL
11460 };
11461
11462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11465 {
11466 PyThreadState* __tstate = wxPyBeginAllowThreads();
11467 wxImage::AddHandler(arg1);
11468
11469 wxPyEndAllowThreads(__tstate);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 }
11472 Py_INCREF(Py_None); resultobj = Py_None;
11473 return resultobj;
11474 fail:
11475 return NULL;
11476}
11477
11478
c32bde28 11479static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11480 PyObject *resultobj;
11481 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11482 PyObject * obj0 = 0 ;
11483 char *kwnames[] = {
11484 (char *) "handler", NULL
11485 };
11486
11487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 wxImage::InsertHandler(arg1);
11493
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 Py_INCREF(Py_None); resultobj = Py_None;
11498 return resultobj;
11499 fail:
11500 return NULL;
11501}
11502
11503
c32bde28 11504static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11505 PyObject *resultobj;
11506 wxString *arg1 = 0 ;
11507 bool result;
ae8162c8 11508 bool temp1 = false ;
d14a1e28
RD
11509 PyObject * obj0 = 0 ;
11510 char *kwnames[] = {
11511 (char *) "name", NULL
11512 };
11513
11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11515 {
11516 arg1 = wxString_in_helper(obj0);
11517 if (arg1 == NULL) SWIG_fail;
ae8162c8 11518 temp1 = true;
d14a1e28
RD
11519 }
11520 {
11521 PyThreadState* __tstate = wxPyBeginAllowThreads();
11522 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11523
11524 wxPyEndAllowThreads(__tstate);
11525 if (PyErr_Occurred()) SWIG_fail;
11526 }
4f89f6a3
RD
11527 {
11528 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11529 }
d14a1e28
RD
11530 {
11531 if (temp1)
11532 delete arg1;
11533 }
11534 return resultobj;
11535 fail:
11536 {
11537 if (temp1)
11538 delete arg1;
11539 }
11540 return NULL;
11541}
11542
11543
c32bde28 11544static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11545 PyObject *resultobj;
11546 wxString result;
11547 char *kwnames[] = {
11548 NULL
11549 };
11550
11551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11552 {
11553 PyThreadState* __tstate = wxPyBeginAllowThreads();
11554 result = wxImage::GetImageExtWildcard();
11555
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 {
11560#if wxUSE_UNICODE
11561 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11562#else
11563 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11564#endif
11565 }
11566 return resultobj;
11567 fail:
11568 return NULL;
11569}
11570
11571
c32bde28 11572static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11573 PyObject *resultobj;
11574 wxImage *arg1 = (wxImage *) 0 ;
1fbf26be 11575 int arg2 = (int) -1 ;
d14a1e28
RD
11576 wxBitmap result;
11577 PyObject * obj0 = 0 ;
1fbf26be 11578 PyObject * obj1 = 0 ;
d14a1e28 11579 char *kwnames[] = {
1fbf26be 11580 (char *) "self",(char *) "depth", NULL
d14a1e28
RD
11581 };
11582
1fbf26be 11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_ConvertToBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1fbf26be
RD
11586 if (obj1) {
11587 arg2 = (int)SWIG_As_int(obj1);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
d14a1e28 11590 {
e3b71cb8 11591 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28 11592 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fbf26be 11593 result = wxImage_ConvertToBitmap(arg1,arg2);
d14a1e28
RD
11594
11595 wxPyEndAllowThreads(__tstate);
110da5b0 11596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11597 }
11598 {
11599 wxBitmap * resultptr;
11600 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11601 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11602 }
11603 return resultobj;
11604 fail:
11605 return NULL;
11606}
11607
11608
c32bde28 11609static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11610 PyObject *resultobj;
11611 wxImage *arg1 = (wxImage *) 0 ;
11612 unsigned char arg2 ;
11613 unsigned char arg3 ;
11614 unsigned char arg4 ;
11615 wxBitmap result;
11616 PyObject * obj0 = 0 ;
11617 PyObject * obj1 = 0 ;
11618 PyObject * obj2 = 0 ;
11619 PyObject * obj3 = 0 ;
11620 char *kwnames[] = {
11621 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11622 };
11623
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 11627 arg2 = (unsigned char)SWIG_As_unsigned_SS_char(obj1);
15afbcd0 11628 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11629 arg3 = (unsigned char)SWIG_As_unsigned_SS_char(obj2);
15afbcd0 11630 if (PyErr_Occurred()) SWIG_fail;
c32bde28 11631 arg4 = (unsigned char)SWIG_As_unsigned_SS_char(obj3);
15afbcd0 11632 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 11633 {
e3b71cb8 11634 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
11635 PyThreadState* __tstate = wxPyBeginAllowThreads();
11636 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11637
11638 wxPyEndAllowThreads(__tstate);
110da5b0 11639 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11640 }
11641 {
11642 wxBitmap * resultptr;
11643 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11644 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11645 }
11646 return resultobj;
11647 fail:
11648 return NULL;
11649}
11650
11651
c32bde28 11652static PyObject * Image_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11653 PyObject *obj;
11654 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11655 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11656 Py_INCREF(obj);
11657 return Py_BuildValue((char *)"");
11658}
c32bde28 11659static int _wrap_NullImage_set(PyObject *) {
d14a1e28
RD
11660 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11661 return 1;
11662}
11663
11664
11665static PyObject *_wrap_NullImage_get() {
11666 PyObject *pyobj;
11667
15afbcd0 11668 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11669 return pyobj;
11670}
11671
11672
c32bde28 11673static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *) {
d14a1e28
RD
11674 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11675 return 1;
11676}
11677
11678
11679static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11680 PyObject *pyobj;
11681
11682 {
11683#if wxUSE_UNICODE
11684 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11685#else
11686 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11687#endif
11688 }
11689 return pyobj;
11690}
11691
11692
c32bde28 11693static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *) {
d14a1e28
RD
11694 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11695 return 1;
11696}
11697
11698
11699static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11700 PyObject *pyobj;
11701
11702 {
11703#if wxUSE_UNICODE
11704 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11705#else
11706 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11707#endif
11708 }
11709 return pyobj;
11710}
11711
11712
c32bde28 11713static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *) {
d14a1e28
RD
11714 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11715 return 1;
11716}
11717
11718
11719static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11720 PyObject *pyobj;
11721
11722 {
11723#if wxUSE_UNICODE
11724 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11725#else
11726 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11727#endif
11728 }
11729 return pyobj;
11730}
11731
11732
c32bde28 11733static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *) {
d14a1e28
RD
11734 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11735 return 1;
11736}
11737
11738
11739static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11740 PyObject *pyobj;
11741
11742 {
11743#if wxUSE_UNICODE
11744 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11745#else
11746 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11747#endif
11748 }
11749 return pyobj;
11750}
11751
11752
c32bde28 11753static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *) {
d14a1e28
RD
11754 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11755 return 1;
11756}
11757
11758
11759static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11760 PyObject *pyobj;
11761
11762 {
11763#if wxUSE_UNICODE
11764 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11765#else
11766 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11767#endif
11768 }
11769 return pyobj;
11770}
11771
11772
c32bde28 11773static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11774 PyObject *resultobj;
11775 wxBMPHandler *result;
11776 char *kwnames[] = {
11777 NULL
11778 };
11779
11780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11781 {
11782 PyThreadState* __tstate = wxPyBeginAllowThreads();
11783 result = (wxBMPHandler *)new wxBMPHandler();
11784
11785 wxPyEndAllowThreads(__tstate);
11786 if (PyErr_Occurred()) SWIG_fail;
11787 }
15afbcd0 11788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
11789 return resultobj;
11790 fail:
11791 return NULL;
11792}
11793
11794
c32bde28 11795static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11796 PyObject *obj;
11797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11798 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11799 Py_INCREF(obj);
11800 return Py_BuildValue((char *)"");
11801}
c32bde28 11802static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11803 PyObject *resultobj;
11804 wxICOHandler *result;
11805 char *kwnames[] = {
11806 NULL
11807 };
11808
11809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11810 {
11811 PyThreadState* __tstate = wxPyBeginAllowThreads();
11812 result = (wxICOHandler *)new wxICOHandler();
11813
11814 wxPyEndAllowThreads(__tstate);
11815 if (PyErr_Occurred()) SWIG_fail;
11816 }
15afbcd0 11817 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
11818 return resultobj;
11819 fail:
11820 return NULL;
11821}
11822
11823
c32bde28 11824static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11825 PyObject *obj;
11826 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11827 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11828 Py_INCREF(obj);
11829 return Py_BuildValue((char *)"");
11830}
c32bde28 11831static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11832 PyObject *resultobj;
11833 wxCURHandler *result;
11834 char *kwnames[] = {
11835 NULL
11836 };
11837
11838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11839 {
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 result = (wxCURHandler *)new wxCURHandler();
11842
11843 wxPyEndAllowThreads(__tstate);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
15afbcd0 11846 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
11847 return resultobj;
11848 fail:
11849 return NULL;
11850}
11851
11852
c32bde28 11853static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11854 PyObject *obj;
11855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11856 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11857 Py_INCREF(obj);
11858 return Py_BuildValue((char *)"");
11859}
c32bde28 11860static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11861 PyObject *resultobj;
11862 wxANIHandler *result;
11863 char *kwnames[] = {
11864 NULL
11865 };
11866
11867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11868 {
11869 PyThreadState* __tstate = wxPyBeginAllowThreads();
11870 result = (wxANIHandler *)new wxANIHandler();
11871
11872 wxPyEndAllowThreads(__tstate);
11873 if (PyErr_Occurred()) SWIG_fail;
11874 }
15afbcd0 11875 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
11876 return resultobj;
11877 fail:
11878 return NULL;
11879}
11880
11881
c32bde28 11882static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11883 PyObject *obj;
11884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11885 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11886 Py_INCREF(obj);
11887 return Py_BuildValue((char *)"");
11888}
c32bde28 11889static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11890 PyObject *resultobj;
11891 wxPNGHandler *result;
11892 char *kwnames[] = {
11893 NULL
11894 };
11895
11896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11897 {
11898 PyThreadState* __tstate = wxPyBeginAllowThreads();
11899 result = (wxPNGHandler *)new wxPNGHandler();
11900
11901 wxPyEndAllowThreads(__tstate);
11902 if (PyErr_Occurred()) SWIG_fail;
11903 }
15afbcd0 11904 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
11905 return resultobj;
11906 fail:
11907 return NULL;
11908}
11909
11910
c32bde28 11911static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11912 PyObject *obj;
11913 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11914 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11915 Py_INCREF(obj);
11916 return Py_BuildValue((char *)"");
11917}
c32bde28 11918static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11919 PyObject *resultobj;
11920 wxGIFHandler *result;
11921 char *kwnames[] = {
11922 NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11926 {
11927 PyThreadState* __tstate = wxPyBeginAllowThreads();
11928 result = (wxGIFHandler *)new wxGIFHandler();
11929
11930 wxPyEndAllowThreads(__tstate);
11931 if (PyErr_Occurred()) SWIG_fail;
11932 }
15afbcd0 11933 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
11934 return resultobj;
11935 fail:
11936 return NULL;
11937}
11938
11939
c32bde28 11940static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11941 PyObject *obj;
11942 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11943 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11944 Py_INCREF(obj);
11945 return Py_BuildValue((char *)"");
11946}
c32bde28 11947static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11948 PyObject *resultobj;
11949 wxPCXHandler *result;
11950 char *kwnames[] = {
11951 NULL
11952 };
11953
11954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11955 {
11956 PyThreadState* __tstate = wxPyBeginAllowThreads();
11957 result = (wxPCXHandler *)new wxPCXHandler();
11958
11959 wxPyEndAllowThreads(__tstate);
11960 if (PyErr_Occurred()) SWIG_fail;
11961 }
15afbcd0 11962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
11963 return resultobj;
11964 fail:
11965 return NULL;
11966}
11967
11968
c32bde28 11969static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11970 PyObject *obj;
11971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11972 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11973 Py_INCREF(obj);
11974 return Py_BuildValue((char *)"");
11975}
c32bde28 11976static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11977 PyObject *resultobj;
11978 wxJPEGHandler *result;
11979 char *kwnames[] = {
11980 NULL
11981 };
11982
11983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 result = (wxJPEGHandler *)new wxJPEGHandler();
11987
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
15afbcd0 11991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
11992 return resultobj;
11993 fail:
11994 return NULL;
11995}
11996
11997
c32bde28 11998static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11999 PyObject *obj;
12000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12001 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
12002 Py_INCREF(obj);
12003 return Py_BuildValue((char *)"");
12004}
c32bde28 12005static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12006 PyObject *resultobj;
12007 wxPNMHandler *result;
12008 char *kwnames[] = {
12009 NULL
12010 };
12011
12012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
12013 {
12014 PyThreadState* __tstate = wxPyBeginAllowThreads();
12015 result = (wxPNMHandler *)new wxPNMHandler();
12016
12017 wxPyEndAllowThreads(__tstate);
12018 if (PyErr_Occurred()) SWIG_fail;
12019 }
15afbcd0 12020 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
12021 return resultobj;
12022 fail:
12023 return NULL;
12024}
12025
12026
c32bde28 12027static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12028 PyObject *obj;
12029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12030 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
12031 Py_INCREF(obj);
12032 return Py_BuildValue((char *)"");
12033}
c32bde28 12034static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12035 PyObject *resultobj;
12036 wxXPMHandler *result;
12037 char *kwnames[] = {
12038 NULL
12039 };
12040
12041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
12042 {
12043 PyThreadState* __tstate = wxPyBeginAllowThreads();
12044 result = (wxXPMHandler *)new wxXPMHandler();
12045
12046 wxPyEndAllowThreads(__tstate);
12047 if (PyErr_Occurred()) SWIG_fail;
12048 }
15afbcd0 12049 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
12050 return resultobj;
12051 fail:
12052 return NULL;
12053}
12054
12055
c32bde28 12056static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12057 PyObject *obj;
12058 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12059 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
12060 Py_INCREF(obj);
12061 return Py_BuildValue((char *)"");
12062}
c32bde28 12063static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12064 PyObject *resultobj;
12065 wxTIFFHandler *result;
12066 char *kwnames[] = {
12067 NULL
12068 };
12069
12070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 result = (wxTIFFHandler *)new wxTIFFHandler();
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
15afbcd0 12078 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
12079 return resultobj;
12080 fail:
12081 return NULL;
12082}
12083
12084
c32bde28 12085static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12086 PyObject *obj;
12087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12088 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
12089 Py_INCREF(obj);
12090 return Py_BuildValue((char *)"");
12091}
c32bde28 12092static PyObject *_wrap_Quantize_Quantize(PyObject *, PyObject *args, PyObject *kwargs) {
c0de73ae
RD
12093 PyObject *resultobj;
12094 wxImage *arg1 = 0 ;
12095 wxImage *arg2 = 0 ;
12096 int arg3 = (int) 236 ;
12097 int arg4 = (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS|wxQUANTIZE_FILL_DESTINATION_IMAGE ;
12098 bool result;
12099 PyObject * obj0 = 0 ;
12100 PyObject * obj1 = 0 ;
12101 PyObject * obj2 = 0 ;
12102 PyObject * obj3 = 0 ;
12103 char *kwnames[] = {
12104 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
12105 };
12106
12107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Quantize_Quantize",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
12109 SWIG_POINTER_EXCEPTION | 0)) == -1)
12110 SWIG_fail;
12111 if (arg1 == NULL) {
12112 PyErr_SetString(PyExc_TypeError,"null reference");
12113 SWIG_fail;
12114 }
12115 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
12116 SWIG_POINTER_EXCEPTION | 0)) == -1)
12117 SWIG_fail;
12118 if (arg2 == NULL) {
12119 PyErr_SetString(PyExc_TypeError,"null reference");
12120 SWIG_fail;
12121 }
12122 if (obj2) {
c32bde28 12123 arg3 = (int)SWIG_As_int(obj2);
c0de73ae
RD
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 if (obj3) {
c32bde28 12127 arg4 = (int)SWIG_As_int(obj3);
c0de73ae
RD
12128 if (PyErr_Occurred()) SWIG_fail;
12129 }
12130 {
12131 PyThreadState* __tstate = wxPyBeginAllowThreads();
12132 result = (bool)Quantize_Quantize((wxImage const &)*arg1,*arg2,arg3,arg4);
12133
12134 wxPyEndAllowThreads(__tstate);
12135 if (PyErr_Occurred()) SWIG_fail;
12136 }
12137 {
12138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12139 }
12140 return resultobj;
12141 fail:
12142 return NULL;
12143}
12144
12145
c32bde28 12146static PyObject * Quantize_swigregister(PyObject *, PyObject *args) {
c0de73ae
RD
12147 PyObject *obj;
12148 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12149 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize, obj);
12150 Py_INCREF(obj);
12151 return Py_BuildValue((char *)"");
12152}
c32bde28 12153static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12154 PyObject *resultobj;
12155 wxEvtHandler *result;
12156 char *kwnames[] = {
12157 NULL
12158 };
12159
12160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 result = (wxEvtHandler *)new wxEvtHandler();
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
b0f7404b 12168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvtHandler, 1);
d14a1e28
RD
12169 return resultobj;
12170 fail:
12171 return NULL;
12172}
12173
12174
c32bde28 12175static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12176 PyObject *resultobj;
12177 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12178 wxEvtHandler *result;
12179 PyObject * obj0 = 0 ;
12180 char *kwnames[] = {
12181 (char *) "self", NULL
12182 };
12183
12184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12187 {
12188 PyThreadState* __tstate = wxPyBeginAllowThreads();
12189 result = (wxEvtHandler *)(arg1)->GetNextHandler();
12190
12191 wxPyEndAllowThreads(__tstate);
12192 if (PyErr_Occurred()) SWIG_fail;
12193 }
12194 {
412d302d 12195 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
12196 }
12197 return resultobj;
12198 fail:
12199 return NULL;
12200}
12201
12202
c32bde28 12203static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12204 PyObject *resultobj;
12205 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12206 wxEvtHandler *result;
12207 PyObject * obj0 = 0 ;
12208 char *kwnames[] = {
12209 (char *) "self", NULL
12210 };
12211
12212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12215 {
12216 PyThreadState* __tstate = wxPyBeginAllowThreads();
12217 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
12218
12219 wxPyEndAllowThreads(__tstate);
12220 if (PyErr_Occurred()) SWIG_fail;
12221 }
12222 {
412d302d 12223 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
12224 }
12225 return resultobj;
12226 fail:
12227 return NULL;
12228}
12229
12230
c32bde28 12231static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12232 PyObject *resultobj;
12233 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12234 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
12235 PyObject * obj0 = 0 ;
12236 PyObject * obj1 = 0 ;
12237 char *kwnames[] = {
12238 (char *) "self",(char *) "handler", NULL
12239 };
12240
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12244 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
12245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12246 {
12247 PyThreadState* __tstate = wxPyBeginAllowThreads();
12248 (arg1)->SetNextHandler(arg2);
12249
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 Py_INCREF(Py_None); resultobj = Py_None;
12254 return resultobj;
12255 fail:
12256 return NULL;
12257}
12258
12259
c32bde28 12260static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12261 PyObject *resultobj;
12262 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12263 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
12264 PyObject * obj0 = 0 ;
12265 PyObject * obj1 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self",(char *) "handler", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
12274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12275 {
12276 PyThreadState* __tstate = wxPyBeginAllowThreads();
12277 (arg1)->SetPreviousHandler(arg2);
12278
12279 wxPyEndAllowThreads(__tstate);
12280 if (PyErr_Occurred()) SWIG_fail;
12281 }
12282 Py_INCREF(Py_None); resultobj = Py_None;
12283 return resultobj;
12284 fail:
12285 return NULL;
12286}
12287
12288
c32bde28 12289static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12290 PyObject *resultobj;
12291 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12292 bool result;
12293 PyObject * obj0 = 0 ;
12294 char *kwnames[] = {
12295 (char *) "self", NULL
12296 };
12297
12298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
12299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12301 {
12302 PyThreadState* __tstate = wxPyBeginAllowThreads();
12303 result = (bool)(arg1)->GetEvtHandlerEnabled();
12304
12305 wxPyEndAllowThreads(__tstate);
12306 if (PyErr_Occurred()) SWIG_fail;
12307 }
4f89f6a3
RD
12308 {
12309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12310 }
d14a1e28
RD
12311 return resultobj;
12312 fail:
12313 return NULL;
12314}
12315
12316
c32bde28 12317static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12318 PyObject *resultobj;
12319 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12320 bool arg2 ;
12321 PyObject * obj0 = 0 ;
12322 PyObject * obj1 = 0 ;
12323 char *kwnames[] = {
12324 (char *) "self",(char *) "enabled", NULL
12325 };
12326
12327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12330 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 12331 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12332 {
12333 PyThreadState* __tstate = wxPyBeginAllowThreads();
12334 (arg1)->SetEvtHandlerEnabled(arg2);
12335
12336 wxPyEndAllowThreads(__tstate);
12337 if (PyErr_Occurred()) SWIG_fail;
12338 }
12339 Py_INCREF(Py_None); resultobj = Py_None;
12340 return resultobj;
12341 fail:
12342 return NULL;
12343}
12344
12345
c32bde28 12346static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12347 PyObject *resultobj;
12348 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12349 wxEvent *arg2 = 0 ;
12350 bool result;
12351 PyObject * obj0 = 0 ;
12352 PyObject * obj1 = 0 ;
12353 char *kwnames[] = {
12354 (char *) "self",(char *) "event", NULL
12355 };
12356
12357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12361 SWIG_POINTER_EXCEPTION | 0)) == -1)
12362 SWIG_fail;
d14a1e28 12363 if (arg2 == NULL) {
15afbcd0
RD
12364 PyErr_SetString(PyExc_TypeError,"null reference");
12365 SWIG_fail;
d14a1e28
RD
12366 }
12367 {
12368 PyThreadState* __tstate = wxPyBeginAllowThreads();
12369 result = (bool)(arg1)->ProcessEvent(*arg2);
12370
12371 wxPyEndAllowThreads(__tstate);
12372 if (PyErr_Occurred()) SWIG_fail;
12373 }
4f89f6a3
RD
12374 {
12375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12376 }
d14a1e28
RD
12377 return resultobj;
12378 fail:
12379 return NULL;
12380}
12381
12382
c32bde28 12383static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12384 PyObject *resultobj;
12385 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12386 wxEvent *arg2 = 0 ;
12387 PyObject * obj0 = 0 ;
12388 PyObject * obj1 = 0 ;
12389 char *kwnames[] = {
12390 (char *) "self",(char *) "event", NULL
12391 };
12392
12393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12397 SWIG_POINTER_EXCEPTION | 0)) == -1)
12398 SWIG_fail;
d14a1e28 12399 if (arg2 == NULL) {
15afbcd0
RD
12400 PyErr_SetString(PyExc_TypeError,"null reference");
12401 SWIG_fail;
d14a1e28
RD
12402 }
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 (arg1)->AddPendingEvent(*arg2);
12406
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
12410 Py_INCREF(Py_None); resultobj = Py_None;
12411 return resultobj;
12412 fail:
12413 return NULL;
12414}
12415
12416
c32bde28 12417static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12418 PyObject *resultobj;
12419 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12420 PyObject * obj0 = 0 ;
12421 char *kwnames[] = {
12422 (char *) "self", NULL
12423 };
12424
12425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
12426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12428 {
12429 PyThreadState* __tstate = wxPyBeginAllowThreads();
12430 (arg1)->ProcessPendingEvents();
12431
12432 wxPyEndAllowThreads(__tstate);
12433 if (PyErr_Occurred()) SWIG_fail;
12434 }
12435 Py_INCREF(Py_None); resultobj = Py_None;
12436 return resultobj;
12437 fail:
12438 return NULL;
12439}
12440
12441
c32bde28 12442static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12443 PyObject *resultobj;
12444 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12445 int arg2 ;
12446 int arg3 ;
12447 int arg4 ;
12448 PyObject *arg5 = (PyObject *) 0 ;
12449 PyObject * obj0 = 0 ;
994141e6
RD
12450 PyObject * obj1 = 0 ;
12451 PyObject * obj2 = 0 ;
12452 PyObject * obj3 = 0 ;
d14a1e28
RD
12453 PyObject * obj4 = 0 ;
12454 char *kwnames[] = {
12455 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12456 };
12457
994141e6 12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
12459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12461 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12462 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12463 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12464 if (PyErr_Occurred()) SWIG_fail;
c32bde28 12465 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 12466 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12467 arg5 = obj4;
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
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_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12483 PyObject *resultobj;
12484 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12485 int arg2 ;
12486 int arg3 = (int) -1 ;
12487 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12488 bool result;
12489 PyObject * obj0 = 0 ;
994141e6
RD
12490 PyObject * obj1 = 0 ;
12491 PyObject * obj2 = 0 ;
12492 PyObject * obj3 = 0 ;
d14a1e28
RD
12493 char *kwnames[] = {
12494 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12495 };
12496
994141e6 12497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
12498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12500 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12501 if (PyErr_Occurred()) SWIG_fail;
994141e6 12502 if (obj2) {
c32bde28 12503 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 12504 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12505 }
12506 if (obj3) {
c32bde28 12507 arg4 = (wxEventType)SWIG_As_int(obj3);
15afbcd0 12508 if (PyErr_Occurred()) SWIG_fail;
994141e6 12509 }
d14a1e28
RD
12510 {
12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
12512 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12513
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
4f89f6a3
RD
12517 {
12518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12519 }
d14a1e28
RD
12520 return resultobj;
12521 fail:
12522 return NULL;
12523}
12524
12525
c32bde28 12526static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12527 PyObject *resultobj;
12528 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12529 PyObject *arg2 = (PyObject *) 0 ;
12530 PyObject * obj0 = 0 ;
12531 PyObject * obj1 = 0 ;
12532 char *kwnames[] = {
12533 (char *) "self",(char *) "_self", NULL
12534 };
12535
12536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12539 arg2 = obj1;
12540 {
12541 PyThreadState* __tstate = wxPyBeginAllowThreads();
12542 wxEvtHandler__setOORInfo(arg1,arg2);
12543
12544 wxPyEndAllowThreads(__tstate);
12545 if (PyErr_Occurred()) SWIG_fail;
12546 }
12547 Py_INCREF(Py_None); resultobj = Py_None;
12548 return resultobj;
12549 fail:
12550 return NULL;
12551}
12552
12553
c32bde28 12554static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12555 PyObject *obj;
12556 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12557 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12558 Py_INCREF(obj);
12559 return Py_BuildValue((char *)"");
12560}
c32bde28 12561static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12562 PyObject *resultobj;
12563 wxEventType result;
12564 char *kwnames[] = {
12565 NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = (wxEventType)wxNewEventType();
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
c32bde28 12576 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12577 return resultobj;
12578 fail:
12579 return NULL;
12580}
12581
12582
c32bde28 12583static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12584 PyObject *resultobj;
12585 wxEvent *arg1 = (wxEvent *) 0 ;
12586 PyObject * obj0 = 0 ;
12587 char *kwnames[] = {
12588 (char *) "self", NULL
12589 };
12590
12591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
15afbcd0
RD
12592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12594 {
12595 PyThreadState* __tstate = wxPyBeginAllowThreads();
12596 delete arg1;
12597
12598 wxPyEndAllowThreads(__tstate);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
12601 Py_INCREF(Py_None); resultobj = Py_None;
12602 return resultobj;
12603 fail:
12604 return NULL;
12605}
12606
12607
c32bde28 12608static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12609 PyObject *resultobj;
12610 wxEvent *arg1 = (wxEvent *) 0 ;
12611 wxEventType arg2 ;
12612 PyObject * obj0 = 0 ;
994141e6 12613 PyObject * obj1 = 0 ;
d14a1e28
RD
12614 char *kwnames[] = {
12615 (char *) "self",(char *) "typ", NULL
12616 };
12617
994141e6 12618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12621 arg2 = (wxEventType)SWIG_As_int(obj1);
15afbcd0 12622 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12623 {
12624 PyThreadState* __tstate = wxPyBeginAllowThreads();
12625 (arg1)->SetEventType(arg2);
12626
12627 wxPyEndAllowThreads(__tstate);
12628 if (PyErr_Occurred()) SWIG_fail;
12629 }
12630 Py_INCREF(Py_None); resultobj = Py_None;
12631 return resultobj;
12632 fail:
12633 return NULL;
12634}
12635
12636
c32bde28 12637static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12638 PyObject *resultobj;
12639 wxEvent *arg1 = (wxEvent *) 0 ;
12640 wxEventType result;
12641 PyObject * obj0 = 0 ;
12642 char *kwnames[] = {
12643 (char *) "self", NULL
12644 };
12645
12646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12649 {
12650 PyThreadState* __tstate = wxPyBeginAllowThreads();
12651 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12652
12653 wxPyEndAllowThreads(__tstate);
12654 if (PyErr_Occurred()) SWIG_fail;
12655 }
c32bde28 12656 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12657 return resultobj;
12658 fail:
12659 return NULL;
12660}
12661
12662
c32bde28 12663static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12664 PyObject *resultobj;
12665 wxEvent *arg1 = (wxEvent *) 0 ;
12666 wxObject *result;
12667 PyObject * obj0 = 0 ;
12668 char *kwnames[] = {
12669 (char *) "self", NULL
12670 };
12671
12672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
12673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12675 {
12676 PyThreadState* __tstate = wxPyBeginAllowThreads();
12677 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12678
12679 wxPyEndAllowThreads(__tstate);
12680 if (PyErr_Occurred()) SWIG_fail;
12681 }
12682 {
412d302d 12683 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
12684 }
12685 return resultobj;
12686 fail:
12687 return NULL;
12688}
12689
12690
c32bde28 12691static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12692 PyObject *resultobj;
12693 wxEvent *arg1 = (wxEvent *) 0 ;
12694 wxObject *arg2 = (wxObject *) 0 ;
12695 PyObject * obj0 = 0 ;
12696 PyObject * obj1 = 0 ;
12697 char *kwnames[] = {
12698 (char *) "self",(char *) "obj", NULL
12699 };
12700
12701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 (arg1)->SetEventObject(arg2);
12709
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 Py_INCREF(Py_None); resultobj = Py_None;
12714 return resultobj;
12715 fail:
12716 return NULL;
12717}
12718
12719
c32bde28 12720static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12721 PyObject *resultobj;
12722 wxEvent *arg1 = (wxEvent *) 0 ;
12723 long result;
12724 PyObject * obj0 = 0 ;
12725 char *kwnames[] = {
12726 (char *) "self", NULL
12727 };
12728
12729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
15afbcd0
RD
12730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12732 {
12733 PyThreadState* __tstate = wxPyBeginAllowThreads();
12734 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12735
12736 wxPyEndAllowThreads(__tstate);
12737 if (PyErr_Occurred()) SWIG_fail;
12738 }
c32bde28 12739 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
12740 return resultobj;
12741 fail:
12742 return NULL;
12743}
12744
12745
c32bde28 12746static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12747 PyObject *resultobj;
12748 wxEvent *arg1 = (wxEvent *) 0 ;
12749 long arg2 = (long) 0 ;
12750 PyObject * obj0 = 0 ;
994141e6 12751 PyObject * obj1 = 0 ;
d14a1e28
RD
12752 char *kwnames[] = {
12753 (char *) "self",(char *) "ts", NULL
12754 };
12755
994141e6 12756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 12759 if (obj1) {
c32bde28 12760 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 12761 if (PyErr_Occurred()) SWIG_fail;
994141e6 12762 }
d14a1e28
RD
12763 {
12764 PyThreadState* __tstate = wxPyBeginAllowThreads();
12765 (arg1)->SetTimestamp(arg2);
12766
12767 wxPyEndAllowThreads(__tstate);
12768 if (PyErr_Occurred()) SWIG_fail;
12769 }
12770 Py_INCREF(Py_None); resultobj = Py_None;
12771 return resultobj;
12772 fail:
12773 return NULL;
12774}
12775
12776
c32bde28 12777static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12778 PyObject *resultobj;
12779 wxEvent *arg1 = (wxEvent *) 0 ;
12780 int result;
12781 PyObject * obj0 = 0 ;
12782 char *kwnames[] = {
12783 (char *) "self", NULL
12784 };
12785
12786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
12787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12789 {
12790 PyThreadState* __tstate = wxPyBeginAllowThreads();
12791 result = (int)((wxEvent const *)arg1)->GetId();
12792
12793 wxPyEndAllowThreads(__tstate);
12794 if (PyErr_Occurred()) SWIG_fail;
12795 }
c32bde28 12796 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12797 return resultobj;
12798 fail:
12799 return NULL;
12800}
12801
12802
c32bde28 12803static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12804 PyObject *resultobj;
12805 wxEvent *arg1 = (wxEvent *) 0 ;
12806 int arg2 ;
12807 PyObject * obj0 = 0 ;
994141e6 12808 PyObject * obj1 = 0 ;
d14a1e28
RD
12809 char *kwnames[] = {
12810 (char *) "self",(char *) "Id", NULL
12811 };
12812
994141e6 12813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12816 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12817 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12818 {
12819 PyThreadState* __tstate = wxPyBeginAllowThreads();
12820 (arg1)->SetId(arg2);
12821
12822 wxPyEndAllowThreads(__tstate);
12823 if (PyErr_Occurred()) SWIG_fail;
12824 }
12825 Py_INCREF(Py_None); resultobj = Py_None;
12826 return resultobj;
12827 fail:
12828 return NULL;
12829}
12830
12831
c32bde28 12832static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12833 PyObject *resultobj;
12834 wxEvent *arg1 = (wxEvent *) 0 ;
12835 bool result;
12836 PyObject * obj0 = 0 ;
12837 char *kwnames[] = {
12838 (char *) "self", NULL
12839 };
12840
12841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
12842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12844 {
12845 PyThreadState* __tstate = wxPyBeginAllowThreads();
12846 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12847
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
4f89f6a3
RD
12851 {
12852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12853 }
d14a1e28
RD
12854 return resultobj;
12855 fail:
12856 return NULL;
12857}
12858
12859
c32bde28 12860static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12861 PyObject *resultobj;
12862 wxEvent *arg1 = (wxEvent *) 0 ;
ae8162c8 12863 bool arg2 = (bool) true ;
d14a1e28
RD
12864 PyObject * obj0 = 0 ;
12865 PyObject * obj1 = 0 ;
12866 char *kwnames[] = {
12867 (char *) "self",(char *) "skip", NULL
12868 };
12869
12870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12873 if (obj1) {
c32bde28 12874 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 12875 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12876 }
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 (arg1)->Skip(arg2);
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 Py_INCREF(Py_None); resultobj = Py_None;
12885 return resultobj;
12886 fail:
12887 return NULL;
12888}
12889
12890
c32bde28 12891static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12892 PyObject *resultobj;
12893 wxEvent *arg1 = (wxEvent *) 0 ;
12894 bool result;
12895 PyObject * obj0 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
15afbcd0
RD
12901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12906
12907 wxPyEndAllowThreads(__tstate);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
4f89f6a3
RD
12910 {
12911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12912 }
d14a1e28
RD
12913 return resultobj;
12914 fail:
12915 return NULL;
12916}
12917
12918
c32bde28 12919static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12920 PyObject *resultobj;
12921 wxEvent *arg1 = (wxEvent *) 0 ;
12922 bool result;
12923 PyObject * obj0 = 0 ;
12924 char *kwnames[] = {
12925 (char *) "self", NULL
12926 };
12927
12928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
15afbcd0
RD
12929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12931 {
12932 PyThreadState* __tstate = wxPyBeginAllowThreads();
12933 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12934
12935 wxPyEndAllowThreads(__tstate);
12936 if (PyErr_Occurred()) SWIG_fail;
12937 }
4f89f6a3
RD
12938 {
12939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12940 }
d14a1e28
RD
12941 return resultobj;
12942 fail:
12943 return NULL;
12944}
12945
12946
c32bde28 12947static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12948 PyObject *resultobj;
12949 wxEvent *arg1 = (wxEvent *) 0 ;
12950 int result;
12951 PyObject * obj0 = 0 ;
12952 char *kwnames[] = {
12953 (char *) "self", NULL
12954 };
12955
12956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
15afbcd0
RD
12957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12959 {
12960 PyThreadState* __tstate = wxPyBeginAllowThreads();
12961 result = (int)(arg1)->StopPropagation();
12962
12963 wxPyEndAllowThreads(__tstate);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 }
c32bde28 12966 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
12967 return resultobj;
12968 fail:
12969 return NULL;
12970}
12971
12972
c32bde28 12973static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12974 PyObject *resultobj;
12975 wxEvent *arg1 = (wxEvent *) 0 ;
12976 int arg2 ;
12977 PyObject * obj0 = 0 ;
994141e6 12978 PyObject * obj1 = 0 ;
d14a1e28
RD
12979 char *kwnames[] = {
12980 (char *) "self",(char *) "propagationLevel", NULL
12981 };
12982
994141e6 12983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 12986 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 12987 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12988 {
12989 PyThreadState* __tstate = wxPyBeginAllowThreads();
12990 (arg1)->ResumePropagation(arg2);
12991
12992 wxPyEndAllowThreads(__tstate);
12993 if (PyErr_Occurred()) SWIG_fail;
12994 }
12995 Py_INCREF(Py_None); resultobj = Py_None;
12996 return resultobj;
12997 fail:
12998 return NULL;
12999}
13000
13001
c32bde28 13002static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13003 PyObject *resultobj;
13004 wxEvent *arg1 = (wxEvent *) 0 ;
13005 wxEvent *result;
13006 PyObject * obj0 = 0 ;
13007 char *kwnames[] = {
13008 (char *) "self", NULL
13009 };
13010
13011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
13012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
13013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13014 {
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 result = (wxEvent *)(arg1)->Clone();
13017
13018 wxPyEndAllowThreads(__tstate);
13019 if (PyErr_Occurred()) SWIG_fail;
13020 }
15afbcd0 13021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
13022 return resultobj;
13023 fail:
13024 return NULL;
13025}
13026
13027
c32bde28 13028static PyObject * Event_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13029 PyObject *obj;
13030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13031 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
13032 Py_INCREF(obj);
13033 return Py_BuildValue((char *)"");
13034}
c32bde28 13035static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13036 PyObject *resultobj;
13037 wxEvent *arg1 = 0 ;
13038 wxPropagationDisabler *result;
13039 PyObject * obj0 = 0 ;
13040 char *kwnames[] = {
13041 (char *) "event", NULL
13042 };
13043
13044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
13045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
13046 SWIG_POINTER_EXCEPTION | 0)) == -1)
13047 SWIG_fail;
d14a1e28 13048 if (arg1 == NULL) {
15afbcd0
RD
13049 PyErr_SetString(PyExc_TypeError,"null reference");
13050 SWIG_fail;
d14a1e28
RD
13051 }
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
15afbcd0 13059 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
13060 return resultobj;
13061 fail:
13062 return NULL;
13063}
13064
13065
c32bde28 13066static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13067 PyObject *resultobj;
13068 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
13069 PyObject * obj0 = 0 ;
13070 char *kwnames[] = {
13071 (char *) "self", NULL
13072 };
13073
13074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
13075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
13076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13077 {
13078 PyThreadState* __tstate = wxPyBeginAllowThreads();
13079 delete arg1;
13080
13081 wxPyEndAllowThreads(__tstate);
13082 if (PyErr_Occurred()) SWIG_fail;
13083 }
13084 Py_INCREF(Py_None); resultobj = Py_None;
13085 return resultobj;
13086 fail:
13087 return NULL;
13088}
13089
13090
c32bde28 13091static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13092 PyObject *obj;
13093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13094 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
13095 Py_INCREF(obj);
13096 return Py_BuildValue((char *)"");
13097}
c32bde28 13098static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13099 PyObject *resultobj;
13100 wxEvent *arg1 = 0 ;
13101 wxPropagateOnce *result;
13102 PyObject * obj0 = 0 ;
13103 char *kwnames[] = {
13104 (char *) "event", NULL
13105 };
13106
13107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
13108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
13109 SWIG_POINTER_EXCEPTION | 0)) == -1)
13110 SWIG_fail;
d14a1e28 13111 if (arg1 == NULL) {
15afbcd0
RD
13112 PyErr_SetString(PyExc_TypeError,"null reference");
13113 SWIG_fail;
d14a1e28
RD
13114 }
13115 {
13116 PyThreadState* __tstate = wxPyBeginAllowThreads();
13117 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
13118
13119 wxPyEndAllowThreads(__tstate);
13120 if (PyErr_Occurred()) SWIG_fail;
13121 }
15afbcd0 13122 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
13123 return resultobj;
13124 fail:
13125 return NULL;
13126}
13127
13128
c32bde28 13129static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13130 PyObject *resultobj;
13131 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
13132 PyObject * obj0 = 0 ;
13133 char *kwnames[] = {
13134 (char *) "self", NULL
13135 };
13136
13137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
13138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
13139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13140 {
13141 PyThreadState* __tstate = wxPyBeginAllowThreads();
13142 delete arg1;
13143
13144 wxPyEndAllowThreads(__tstate);
13145 if (PyErr_Occurred()) SWIG_fail;
13146 }
13147 Py_INCREF(Py_None); resultobj = Py_None;
13148 return resultobj;
13149 fail:
13150 return NULL;
13151}
13152
13153
c32bde28 13154static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13155 PyObject *obj;
13156 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13157 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
13158 Py_INCREF(obj);
13159 return Py_BuildValue((char *)"");
13160}
c32bde28 13161static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13162 PyObject *resultobj;
13163 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13164 int arg2 = (int) 0 ;
13165 wxCommandEvent *result;
994141e6
RD
13166 PyObject * obj0 = 0 ;
13167 PyObject * obj1 = 0 ;
d14a1e28
RD
13168 char *kwnames[] = {
13169 (char *) "commandType",(char *) "winid", NULL
13170 };
13171
994141e6
RD
13172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
13173 if (obj0) {
c32bde28 13174 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 13175 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13176 }
13177 if (obj1) {
c32bde28 13178 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13179 if (PyErr_Occurred()) SWIG_fail;
994141e6 13180 }
d14a1e28
RD
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
13184
13185 wxPyEndAllowThreads(__tstate);
13186 if (PyErr_Occurred()) SWIG_fail;
13187 }
15afbcd0 13188 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
13189 return resultobj;
13190 fail:
13191 return NULL;
13192}
13193
13194
c32bde28 13195static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13196 PyObject *resultobj;
13197 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13198 int result;
13199 PyObject * obj0 = 0 ;
13200 char *kwnames[] = {
13201 (char *) "self", NULL
13202 };
13203
13204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13207 {
13208 PyThreadState* __tstate = wxPyBeginAllowThreads();
13209 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
13210
13211 wxPyEndAllowThreads(__tstate);
13212 if (PyErr_Occurred()) SWIG_fail;
13213 }
c32bde28 13214 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13215 return resultobj;
13216 fail:
13217 return NULL;
13218}
13219
13220
c32bde28 13221static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13222 PyObject *resultobj;
13223 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13224 wxString *arg2 = 0 ;
ae8162c8 13225 bool temp2 = false ;
d14a1e28
RD
13226 PyObject * obj0 = 0 ;
13227 PyObject * obj1 = 0 ;
13228 char *kwnames[] = {
13229 (char *) "self",(char *) "s", NULL
13230 };
13231
13232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13235 {
13236 arg2 = wxString_in_helper(obj1);
13237 if (arg2 == NULL) SWIG_fail;
ae8162c8 13238 temp2 = true;
d14a1e28
RD
13239 }
13240 {
13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
13242 (arg1)->SetString((wxString const &)*arg2);
13243
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 Py_INCREF(Py_None); resultobj = Py_None;
13248 {
13249 if (temp2)
13250 delete arg2;
13251 }
13252 return resultobj;
13253 fail:
13254 {
13255 if (temp2)
13256 delete arg2;
13257 }
13258 return NULL;
13259}
13260
13261
c32bde28 13262static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13263 PyObject *resultobj;
13264 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13265 wxString result;
13266 PyObject * obj0 = 0 ;
13267 char *kwnames[] = {
13268 (char *) "self", NULL
13269 };
13270
13271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
15afbcd0
RD
13272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13274 {
13275 PyThreadState* __tstate = wxPyBeginAllowThreads();
13276 result = ((wxCommandEvent const *)arg1)->GetString();
13277
13278 wxPyEndAllowThreads(__tstate);
13279 if (PyErr_Occurred()) SWIG_fail;
13280 }
13281 {
13282#if wxUSE_UNICODE
13283 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13284#else
13285 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13286#endif
13287 }
13288 return resultobj;
13289 fail:
13290 return NULL;
13291}
13292
13293
c32bde28 13294static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13295 PyObject *resultobj;
13296 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13297 bool result;
13298 PyObject * obj0 = 0 ;
13299 char *kwnames[] = {
13300 (char *) "self", NULL
13301 };
13302
13303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
13304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13306 {
13307 PyThreadState* __tstate = wxPyBeginAllowThreads();
13308 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
13309
13310 wxPyEndAllowThreads(__tstate);
13311 if (PyErr_Occurred()) SWIG_fail;
13312 }
4f89f6a3
RD
13313 {
13314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13315 }
d14a1e28
RD
13316 return resultobj;
13317 fail:
13318 return NULL;
13319}
13320
13321
c32bde28 13322static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13323 PyObject *resultobj;
13324 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13325 bool result;
13326 PyObject * obj0 = 0 ;
13327 char *kwnames[] = {
13328 (char *) "self", NULL
13329 };
13330
13331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
13332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13334 {
13335 PyThreadState* __tstate = wxPyBeginAllowThreads();
13336 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
13337
13338 wxPyEndAllowThreads(__tstate);
13339 if (PyErr_Occurred()) SWIG_fail;
13340 }
4f89f6a3
RD
13341 {
13342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13343 }
d14a1e28
RD
13344 return resultobj;
13345 fail:
13346 return NULL;
13347}
13348
13349
c32bde28 13350static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13351 PyObject *resultobj;
13352 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13353 long arg2 ;
13354 PyObject * obj0 = 0 ;
994141e6 13355 PyObject * obj1 = 0 ;
d14a1e28
RD
13356 char *kwnames[] = {
13357 (char *) "self",(char *) "extraLong", NULL
13358 };
13359
994141e6 13360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13363 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 13364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13365 {
13366 PyThreadState* __tstate = wxPyBeginAllowThreads();
13367 (arg1)->SetExtraLong(arg2);
13368
13369 wxPyEndAllowThreads(__tstate);
13370 if (PyErr_Occurred()) SWIG_fail;
13371 }
13372 Py_INCREF(Py_None); resultobj = Py_None;
13373 return resultobj;
13374 fail:
13375 return NULL;
13376}
13377
13378
c32bde28 13379static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13380 PyObject *resultobj;
13381 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13382 long result;
13383 PyObject * obj0 = 0 ;
13384 char *kwnames[] = {
13385 (char *) "self", NULL
13386 };
13387
13388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
15afbcd0
RD
13389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13391 {
13392 PyThreadState* __tstate = wxPyBeginAllowThreads();
13393 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
13394
13395 wxPyEndAllowThreads(__tstate);
13396 if (PyErr_Occurred()) SWIG_fail;
13397 }
c32bde28 13398 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
13399 return resultobj;
13400 fail:
13401 return NULL;
13402}
13403
13404
c32bde28 13405static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13406 PyObject *resultobj;
13407 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13408 int arg2 ;
13409 PyObject * obj0 = 0 ;
994141e6 13410 PyObject * obj1 = 0 ;
d14a1e28
RD
13411 char *kwnames[] = {
13412 (char *) "self",(char *) "i", NULL
13413 };
13414
994141e6 13415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13418 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13419 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13420 {
13421 PyThreadState* __tstate = wxPyBeginAllowThreads();
13422 (arg1)->SetInt(arg2);
13423
13424 wxPyEndAllowThreads(__tstate);
13425 if (PyErr_Occurred()) SWIG_fail;
13426 }
13427 Py_INCREF(Py_None); resultobj = Py_None;
13428 return resultobj;
13429 fail:
13430 return NULL;
13431}
13432
13433
c32bde28 13434static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13435 PyObject *resultobj;
13436 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13437 long result;
13438 PyObject * obj0 = 0 ;
13439 char *kwnames[] = {
13440 (char *) "self", NULL
13441 };
13442
13443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
15afbcd0
RD
13444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13446 {
13447 PyThreadState* __tstate = wxPyBeginAllowThreads();
13448 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13449
13450 wxPyEndAllowThreads(__tstate);
13451 if (PyErr_Occurred()) SWIG_fail;
13452 }
c32bde28 13453 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
13454 return resultobj;
13455 fail:
13456 return NULL;
13457}
13458
13459
c32bde28 13460static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13461 PyObject *resultobj;
13462 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13463 wxEvent *result;
13464 PyObject * obj0 = 0 ;
13465 char *kwnames[] = {
13466 (char *) "self", NULL
13467 };
13468
13469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
13470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13472 {
13473 PyThreadState* __tstate = wxPyBeginAllowThreads();
13474 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13475
13476 wxPyEndAllowThreads(__tstate);
13477 if (PyErr_Occurred()) SWIG_fail;
13478 }
15afbcd0 13479 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
13480 return resultobj;
13481 fail:
13482 return NULL;
13483}
13484
13485
c32bde28 13486static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13487 PyObject *obj;
13488 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13489 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13490 Py_INCREF(obj);
13491 return Py_BuildValue((char *)"");
13492}
c32bde28 13493static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13494 PyObject *resultobj;
13495 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13496 int arg2 = (int) 0 ;
13497 wxNotifyEvent *result;
994141e6
RD
13498 PyObject * obj0 = 0 ;
13499 PyObject * obj1 = 0 ;
d14a1e28
RD
13500 char *kwnames[] = {
13501 (char *) "commandType",(char *) "winid", NULL
13502 };
13503
994141e6
RD
13504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13505 if (obj0) {
c32bde28 13506 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 13507 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13508 }
13509 if (obj1) {
c32bde28 13510 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13511 if (PyErr_Occurred()) SWIG_fail;
994141e6 13512 }
d14a1e28
RD
13513 {
13514 PyThreadState* __tstate = wxPyBeginAllowThreads();
13515 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13516
13517 wxPyEndAllowThreads(__tstate);
13518 if (PyErr_Occurred()) SWIG_fail;
13519 }
15afbcd0 13520 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
13521 return resultobj;
13522 fail:
13523 return NULL;
13524}
13525
13526
c32bde28 13527static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13528 PyObject *resultobj;
13529 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13530 PyObject * obj0 = 0 ;
13531 char *kwnames[] = {
13532 (char *) "self", NULL
13533 };
13534
13535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
15afbcd0
RD
13536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13538 {
13539 PyThreadState* __tstate = wxPyBeginAllowThreads();
13540 (arg1)->Veto();
13541
13542 wxPyEndAllowThreads(__tstate);
13543 if (PyErr_Occurred()) SWIG_fail;
13544 }
13545 Py_INCREF(Py_None); resultobj = Py_None;
13546 return resultobj;
13547 fail:
13548 return NULL;
13549}
13550
13551
c32bde28 13552static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13553 PyObject *resultobj;
13554 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13555 PyObject * obj0 = 0 ;
13556 char *kwnames[] = {
13557 (char *) "self", NULL
13558 };
13559
13560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
15afbcd0
RD
13561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13563 {
13564 PyThreadState* __tstate = wxPyBeginAllowThreads();
13565 (arg1)->Allow();
13566
13567 wxPyEndAllowThreads(__tstate);
13568 if (PyErr_Occurred()) SWIG_fail;
13569 }
13570 Py_INCREF(Py_None); resultobj = Py_None;
13571 return resultobj;
13572 fail:
13573 return NULL;
13574}
13575
13576
c32bde28 13577static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13578 PyObject *resultobj;
13579 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13580 bool result;
13581 PyObject * obj0 = 0 ;
13582 char *kwnames[] = {
13583 (char *) "self", NULL
13584 };
13585
13586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
15afbcd0
RD
13587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13589 {
13590 PyThreadState* __tstate = wxPyBeginAllowThreads();
13591 result = (bool)(arg1)->IsAllowed();
13592
13593 wxPyEndAllowThreads(__tstate);
13594 if (PyErr_Occurred()) SWIG_fail;
13595 }
4f89f6a3
RD
13596 {
13597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13598 }
d14a1e28
RD
13599 return resultobj;
13600 fail:
13601 return NULL;
13602}
13603
13604
c32bde28 13605static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13606 PyObject *obj;
13607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13608 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13609 Py_INCREF(obj);
13610 return Py_BuildValue((char *)"");
13611}
c32bde28 13612static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13613 PyObject *resultobj;
13614 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13615 int arg2 = (int) 0 ;
13616 int arg3 = (int) 0 ;
13617 int arg4 = (int) 0 ;
13618 wxScrollEvent *result;
994141e6
RD
13619 PyObject * obj0 = 0 ;
13620 PyObject * obj1 = 0 ;
13621 PyObject * obj2 = 0 ;
13622 PyObject * obj3 = 0 ;
d14a1e28
RD
13623 char *kwnames[] = {
13624 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13625 };
13626
994141e6
RD
13627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13628 if (obj0) {
c32bde28 13629 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 13630 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13631 }
13632 if (obj1) {
c32bde28 13633 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13634 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13635 }
13636 if (obj2) {
c32bde28 13637 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13638 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13639 }
13640 if (obj3) {
c32bde28 13641 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 13642 if (PyErr_Occurred()) SWIG_fail;
994141e6 13643 }
d14a1e28
RD
13644 {
13645 PyThreadState* __tstate = wxPyBeginAllowThreads();
13646 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13647
13648 wxPyEndAllowThreads(__tstate);
13649 if (PyErr_Occurred()) SWIG_fail;
13650 }
15afbcd0 13651 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
13652 return resultobj;
13653 fail:
13654 return NULL;
13655}
13656
13657
c32bde28 13658static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13659 PyObject *resultobj;
13660 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13661 int result;
13662 PyObject * obj0 = 0 ;
13663 char *kwnames[] = {
13664 (char *) "self", NULL
13665 };
13666
13667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
c32bde28 13677 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13678 return resultobj;
13679 fail:
13680 return NULL;
13681}
13682
13683
c32bde28 13684static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13685 PyObject *resultobj;
13686 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13687 int result;
13688 PyObject * obj0 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "self", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13696 {
13697 PyThreadState* __tstate = wxPyBeginAllowThreads();
13698 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13699
13700 wxPyEndAllowThreads(__tstate);
13701 if (PyErr_Occurred()) SWIG_fail;
13702 }
c32bde28 13703 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13704 return resultobj;
13705 fail:
13706 return NULL;
13707}
13708
13709
c32bde28 13710static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13711 PyObject *resultobj;
13712 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13713 int arg2 ;
13714 PyObject * obj0 = 0 ;
994141e6 13715 PyObject * obj1 = 0 ;
d14a1e28
RD
13716 char *kwnames[] = {
13717 (char *) "self",(char *) "orient", NULL
13718 };
13719
994141e6 13720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13723 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13724 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13725 {
13726 PyThreadState* __tstate = wxPyBeginAllowThreads();
13727 (arg1)->SetOrientation(arg2);
13728
13729 wxPyEndAllowThreads(__tstate);
13730 if (PyErr_Occurred()) SWIG_fail;
13731 }
13732 Py_INCREF(Py_None); resultobj = Py_None;
13733 return resultobj;
13734 fail:
13735 return NULL;
13736}
13737
13738
c32bde28 13739static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13740 PyObject *resultobj;
13741 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13742 int arg2 ;
13743 PyObject * obj0 = 0 ;
994141e6 13744 PyObject * obj1 = 0 ;
d14a1e28
RD
13745 char *kwnames[] = {
13746 (char *) "self",(char *) "pos", NULL
13747 };
13748
994141e6 13749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13752 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13753 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13754 {
13755 PyThreadState* __tstate = wxPyBeginAllowThreads();
13756 (arg1)->SetPosition(arg2);
13757
13758 wxPyEndAllowThreads(__tstate);
13759 if (PyErr_Occurred()) SWIG_fail;
13760 }
13761 Py_INCREF(Py_None); resultobj = Py_None;
13762 return resultobj;
13763 fail:
13764 return NULL;
13765}
13766
13767
c32bde28 13768static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13769 PyObject *obj;
13770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13771 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13772 Py_INCREF(obj);
13773 return Py_BuildValue((char *)"");
13774}
c32bde28 13775static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13776 PyObject *resultobj;
13777 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13778 int arg2 = (int) 0 ;
13779 int arg3 = (int) 0 ;
13780 wxScrollWinEvent *result;
994141e6
RD
13781 PyObject * obj0 = 0 ;
13782 PyObject * obj1 = 0 ;
13783 PyObject * obj2 = 0 ;
d14a1e28
RD
13784 char *kwnames[] = {
13785 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13786 };
13787
994141e6
RD
13788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13789 if (obj0) {
c32bde28 13790 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 13791 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13792 }
13793 if (obj1) {
c32bde28 13794 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13795 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13796 }
13797 if (obj2) {
c32bde28 13798 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 13799 if (PyErr_Occurred()) SWIG_fail;
994141e6 13800 }
d14a1e28
RD
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
15afbcd0 13808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
13809 return resultobj;
13810 fail:
13811 return NULL;
13812}
13813
13814
c32bde28 13815static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13816 PyObject *resultobj;
13817 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13818 int result;
13819 PyObject * obj0 = 0 ;
13820 char *kwnames[] = {
13821 (char *) "self", NULL
13822 };
13823
13824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
c32bde28 13834 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13835 return resultobj;
13836 fail:
13837 return NULL;
13838}
13839
13840
c32bde28 13841static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13842 PyObject *resultobj;
13843 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13844 int result;
13845 PyObject * obj0 = 0 ;
13846 char *kwnames[] = {
13847 (char *) "self", NULL
13848 };
13849
13850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13853 {
13854 PyThreadState* __tstate = wxPyBeginAllowThreads();
13855 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13856
13857 wxPyEndAllowThreads(__tstate);
13858 if (PyErr_Occurred()) SWIG_fail;
13859 }
c32bde28 13860 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
13861 return resultobj;
13862 fail:
13863 return NULL;
13864}
13865
13866
c32bde28 13867static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13868 PyObject *resultobj;
13869 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13870 int arg2 ;
13871 PyObject * obj0 = 0 ;
994141e6 13872 PyObject * obj1 = 0 ;
d14a1e28
RD
13873 char *kwnames[] = {
13874 (char *) "self",(char *) "orient", NULL
13875 };
13876
994141e6 13877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13880 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13881 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 (arg1)->SetOrientation(arg2);
13885
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
13889 Py_INCREF(Py_None); resultobj = Py_None;
13890 return resultobj;
13891 fail:
13892 return NULL;
13893}
13894
13895
c32bde28 13896static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13897 PyObject *resultobj;
13898 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13899 int arg2 ;
13900 PyObject * obj0 = 0 ;
994141e6 13901 PyObject * obj1 = 0 ;
d14a1e28
RD
13902 char *kwnames[] = {
13903 (char *) "self",(char *) "pos", NULL
13904 };
13905
994141e6 13906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 13909 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 13910 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 (arg1)->SetPosition(arg2);
13914
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 Py_INCREF(Py_None); resultobj = Py_None;
13919 return resultobj;
13920 fail:
13921 return NULL;
13922}
13923
13924
c32bde28 13925static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13926 PyObject *obj;
13927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13928 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13929 Py_INCREF(obj);
13930 return Py_BuildValue((char *)"");
13931}
c32bde28 13932static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13933 PyObject *resultobj;
13934 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13935 wxMouseEvent *result;
994141e6 13936 PyObject * obj0 = 0 ;
d14a1e28
RD
13937 char *kwnames[] = {
13938 (char *) "mouseType", NULL
13939 };
13940
994141e6
RD
13941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13942 if (obj0) {
c32bde28 13943 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 13944 if (PyErr_Occurred()) SWIG_fail;
994141e6 13945 }
d14a1e28
RD
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 {
412d302d 13954 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
13955 }
13956 return resultobj;
13957 fail:
13958 return NULL;
13959}
13960
13961
c32bde28 13962static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13963 PyObject *resultobj;
13964 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13965 bool result;
13966 PyObject * obj0 = 0 ;
13967 char *kwnames[] = {
13968 (char *) "self", NULL
13969 };
13970
13971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13974 {
13975 PyThreadState* __tstate = wxPyBeginAllowThreads();
13976 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13977
13978 wxPyEndAllowThreads(__tstate);
13979 if (PyErr_Occurred()) SWIG_fail;
13980 }
4f89f6a3
RD
13981 {
13982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13983 }
d14a1e28
RD
13984 return resultobj;
13985 fail:
13986 return NULL;
13987}
13988
13989
c32bde28 13990static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13991 PyObject *resultobj;
13992 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13993 int arg2 = (int) wxMOUSE_BTN_ANY ;
13994 bool result;
13995 PyObject * obj0 = 0 ;
994141e6 13996 PyObject * obj1 = 0 ;
d14a1e28
RD
13997 char *kwnames[] = {
13998 (char *) "self",(char *) "but", NULL
13999 };
14000
994141e6 14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14004 if (obj1) {
c32bde28 14005 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14006 if (PyErr_Occurred()) SWIG_fail;
994141e6 14007 }
d14a1e28
RD
14008 {
14009 PyThreadState* __tstate = wxPyBeginAllowThreads();
14010 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
14011
14012 wxPyEndAllowThreads(__tstate);
14013 if (PyErr_Occurred()) SWIG_fail;
14014 }
4f89f6a3
RD
14015 {
14016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14017 }
d14a1e28
RD
14018 return resultobj;
14019 fail:
14020 return NULL;
14021}
14022
14023
c32bde28 14024static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14025 PyObject *resultobj;
14026 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14027 int arg2 = (int) wxMOUSE_BTN_ANY ;
14028 bool result;
14029 PyObject * obj0 = 0 ;
994141e6 14030 PyObject * obj1 = 0 ;
d14a1e28
RD
14031 char *kwnames[] = {
14032 (char *) "self",(char *) "but", NULL
14033 };
14034
994141e6 14035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14038 if (obj1) {
c32bde28 14039 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14040 if (PyErr_Occurred()) SWIG_fail;
994141e6 14041 }
d14a1e28
RD
14042 {
14043 PyThreadState* __tstate = wxPyBeginAllowThreads();
14044 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
14045
14046 wxPyEndAllowThreads(__tstate);
14047 if (PyErr_Occurred()) SWIG_fail;
14048 }
4f89f6a3
RD
14049 {
14050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14051 }
d14a1e28
RD
14052 return resultobj;
14053 fail:
14054 return NULL;
14055}
14056
14057
c32bde28 14058static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14059 PyObject *resultobj;
14060 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14061 int arg2 = (int) wxMOUSE_BTN_ANY ;
14062 bool result;
14063 PyObject * obj0 = 0 ;
994141e6 14064 PyObject * obj1 = 0 ;
d14a1e28
RD
14065 char *kwnames[] = {
14066 (char *) "self",(char *) "but", NULL
14067 };
14068
994141e6 14069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 14072 if (obj1) {
c32bde28 14073 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14074 if (PyErr_Occurred()) SWIG_fail;
994141e6 14075 }
d14a1e28
RD
14076 {
14077 PyThreadState* __tstate = wxPyBeginAllowThreads();
14078 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
14079
14080 wxPyEndAllowThreads(__tstate);
14081 if (PyErr_Occurred()) SWIG_fail;
14082 }
4f89f6a3
RD
14083 {
14084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14085 }
d14a1e28
RD
14086 return resultobj;
14087 fail:
14088 return NULL;
14089}
14090
14091
c32bde28 14092static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14093 PyObject *resultobj;
14094 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14095 int arg2 ;
14096 bool result;
14097 PyObject * obj0 = 0 ;
994141e6 14098 PyObject * obj1 = 0 ;
d14a1e28
RD
14099 char *kwnames[] = {
14100 (char *) "self",(char *) "but", NULL
14101 };
14102
994141e6 14103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14106 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14107 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
4f89f6a3
RD
14115 {
14116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14117 }
d14a1e28
RD
14118 return resultobj;
14119 fail:
14120 return NULL;
14121}
14122
14123
c32bde28 14124static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14125 PyObject *resultobj;
14126 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14127 int arg2 ;
14128 bool result;
14129 PyObject * obj0 = 0 ;
994141e6 14130 PyObject * obj1 = 0 ;
d14a1e28
RD
14131 char *kwnames[] = {
14132 (char *) "self",(char *) "but", NULL
14133 };
14134
994141e6 14135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 14138 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 14139 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14140 {
14141 PyThreadState* __tstate = wxPyBeginAllowThreads();
14142 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
14143
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
4f89f6a3
RD
14147 {
14148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14149 }
d14a1e28
RD
14150 return resultobj;
14151 fail:
14152 return NULL;
14153}
14154
14155
c32bde28 14156static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14157 PyObject *resultobj;
14158 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14159 int result;
14160 PyObject * obj0 = 0 ;
14161 char *kwnames[] = {
14162 (char *) "self", NULL
14163 };
14164
14165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
14166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14168 {
14169 PyThreadState* __tstate = wxPyBeginAllowThreads();
14170 result = (int)((wxMouseEvent const *)arg1)->GetButton();
14171
14172 wxPyEndAllowThreads(__tstate);
14173 if (PyErr_Occurred()) SWIG_fail;
14174 }
c32bde28 14175 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14176 return resultobj;
14177 fail:
14178 return NULL;
14179}
14180
14181
c32bde28 14182static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14183 PyObject *resultobj;
14184 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14185 bool result;
14186 PyObject * obj0 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "self", NULL
14189 };
14190
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14194 {
14195 PyThreadState* __tstate = wxPyBeginAllowThreads();
14196 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
14197
14198 wxPyEndAllowThreads(__tstate);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
4f89f6a3
RD
14201 {
14202 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14203 }
d14a1e28
RD
14204 return resultobj;
14205 fail:
14206 return NULL;
14207}
14208
14209
c32bde28 14210static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14211 PyObject *resultobj;
14212 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14213 bool result;
14214 PyObject * obj0 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "self", NULL
14217 };
14218
14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14222 {
14223 PyThreadState* __tstate = wxPyBeginAllowThreads();
14224 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
14225
14226 wxPyEndAllowThreads(__tstate);
14227 if (PyErr_Occurred()) SWIG_fail;
14228 }
4f89f6a3
RD
14229 {
14230 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14231 }
d14a1e28
RD
14232 return resultobj;
14233 fail:
14234 return NULL;
14235}
14236
14237
c32bde28 14238static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14239 PyObject *resultobj;
14240 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14241 bool result;
14242 PyObject * obj0 = 0 ;
14243 char *kwnames[] = {
14244 (char *) "self", NULL
14245 };
14246
14247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14250 {
14251 PyThreadState* __tstate = wxPyBeginAllowThreads();
14252 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
14253
14254 wxPyEndAllowThreads(__tstate);
14255 if (PyErr_Occurred()) SWIG_fail;
14256 }
4f89f6a3
RD
14257 {
14258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14259 }
d14a1e28
RD
14260 return resultobj;
14261 fail:
14262 return NULL;
14263}
14264
14265
c32bde28 14266static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14267 PyObject *resultobj;
14268 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14269 bool result;
14270 PyObject * obj0 = 0 ;
14271 char *kwnames[] = {
14272 (char *) "self", NULL
14273 };
14274
14275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14278 {
14279 PyThreadState* __tstate = wxPyBeginAllowThreads();
14280 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
14281
14282 wxPyEndAllowThreads(__tstate);
14283 if (PyErr_Occurred()) SWIG_fail;
14284 }
4f89f6a3
RD
14285 {
14286 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14287 }
d14a1e28
RD
14288 return resultobj;
14289 fail:
14290 return NULL;
14291}
14292
14293
c32bde28 14294static PyObject *_wrap_MouseEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
412d302d
RD
14295 PyObject *resultobj;
14296 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14297 bool result;
14298 PyObject * obj0 = 0 ;
14299 char *kwnames[] = {
14300 (char *) "self", NULL
14301 };
14302
14303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_CmdDown",kwnames,&obj0)) goto fail;
14304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14306 {
14307 PyThreadState* __tstate = wxPyBeginAllowThreads();
14308 result = (bool)((wxMouseEvent const *)arg1)->CmdDown();
14309
14310 wxPyEndAllowThreads(__tstate);
14311 if (PyErr_Occurred()) SWIG_fail;
14312 }
14313 {
14314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14315 }
14316 return resultobj;
14317 fail:
14318 return NULL;
14319}
14320
14321
c32bde28 14322static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14323 PyObject *resultobj;
14324 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14325 bool result;
14326 PyObject * obj0 = 0 ;
14327 char *kwnames[] = {
14328 (char *) "self", NULL
14329 };
14330
14331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14334 {
14335 PyThreadState* __tstate = wxPyBeginAllowThreads();
14336 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
14337
14338 wxPyEndAllowThreads(__tstate);
14339 if (PyErr_Occurred()) SWIG_fail;
14340 }
4f89f6a3
RD
14341 {
14342 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14343 }
d14a1e28
RD
14344 return resultobj;
14345 fail:
14346 return NULL;
14347}
14348
14349
c32bde28 14350static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14351 PyObject *resultobj;
14352 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14353 bool result;
14354 PyObject * obj0 = 0 ;
14355 char *kwnames[] = {
14356 (char *) "self", NULL
14357 };
14358
14359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14362 {
14363 PyThreadState* __tstate = wxPyBeginAllowThreads();
14364 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
14365
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
4f89f6a3
RD
14369 {
14370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14371 }
d14a1e28
RD
14372 return resultobj;
14373 fail:
14374 return NULL;
14375}
14376
14377
c32bde28 14378static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14379 PyObject *resultobj;
14380 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14381 bool result;
14382 PyObject * obj0 = 0 ;
14383 char *kwnames[] = {
14384 (char *) "self", NULL
14385 };
14386
14387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
4f89f6a3
RD
14397 {
14398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14399 }
d14a1e28
RD
14400 return resultobj;
14401 fail:
14402 return NULL;
14403}
14404
14405
c32bde28 14406static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14407 PyObject *resultobj;
14408 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14409 bool result;
14410 PyObject * obj0 = 0 ;
14411 char *kwnames[] = {
14412 (char *) "self", NULL
14413 };
14414
14415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14418 {
14419 PyThreadState* __tstate = wxPyBeginAllowThreads();
14420 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
14421
14422 wxPyEndAllowThreads(__tstate);
14423 if (PyErr_Occurred()) SWIG_fail;
14424 }
4f89f6a3
RD
14425 {
14426 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14427 }
d14a1e28
RD
14428 return resultobj;
14429 fail:
14430 return NULL;
14431}
14432
14433
c32bde28 14434static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14435 PyObject *resultobj;
14436 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14437 bool result;
14438 PyObject * obj0 = 0 ;
14439 char *kwnames[] = {
14440 (char *) "self", NULL
14441 };
14442
14443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14444 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14445 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14446 {
14447 PyThreadState* __tstate = wxPyBeginAllowThreads();
14448 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
14449
14450 wxPyEndAllowThreads(__tstate);
14451 if (PyErr_Occurred()) SWIG_fail;
14452 }
4f89f6a3
RD
14453 {
14454 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14455 }
d14a1e28
RD
14456 return resultobj;
14457 fail:
14458 return NULL;
14459}
14460
14461
c32bde28 14462static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14463 PyObject *resultobj;
14464 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14465 bool result;
14466 PyObject * obj0 = 0 ;
14467 char *kwnames[] = {
14468 (char *) "self", NULL
14469 };
14470
14471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
14472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14474 {
14475 PyThreadState* __tstate = wxPyBeginAllowThreads();
14476 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
14477
14478 wxPyEndAllowThreads(__tstate);
14479 if (PyErr_Occurred()) SWIG_fail;
14480 }
4f89f6a3
RD
14481 {
14482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14483 }
d14a1e28
RD
14484 return resultobj;
14485 fail:
14486 return NULL;
14487}
14488
14489
c32bde28 14490static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14491 PyObject *resultobj;
14492 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14493 bool result;
14494 PyObject * obj0 = 0 ;
14495 char *kwnames[] = {
14496 (char *) "self", NULL
14497 };
14498
14499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14502 {
14503 PyThreadState* __tstate = wxPyBeginAllowThreads();
14504 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
14505
14506 wxPyEndAllowThreads(__tstate);
14507 if (PyErr_Occurred()) SWIG_fail;
14508 }
4f89f6a3
RD
14509 {
14510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14511 }
d14a1e28
RD
14512 return resultobj;
14513 fail:
14514 return NULL;
14515}
14516
14517
c32bde28 14518static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14519 PyObject *resultobj;
14520 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14521 bool result;
14522 PyObject * obj0 = 0 ;
14523 char *kwnames[] = {
14524 (char *) "self", NULL
14525 };
14526
14527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14530 {
14531 PyThreadState* __tstate = wxPyBeginAllowThreads();
14532 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
14533
14534 wxPyEndAllowThreads(__tstate);
14535 if (PyErr_Occurred()) SWIG_fail;
14536 }
4f89f6a3
RD
14537 {
14538 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14539 }
d14a1e28
RD
14540 return resultobj;
14541 fail:
14542 return NULL;
14543}
14544
14545
c32bde28 14546static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14547 PyObject *resultobj;
14548 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14549 bool result;
14550 PyObject * obj0 = 0 ;
14551 char *kwnames[] = {
14552 (char *) "self", NULL
14553 };
14554
14555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
14556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14558 {
14559 PyThreadState* __tstate = wxPyBeginAllowThreads();
14560 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
14561
14562 wxPyEndAllowThreads(__tstate);
14563 if (PyErr_Occurred()) SWIG_fail;
14564 }
4f89f6a3
RD
14565 {
14566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14567 }
d14a1e28
RD
14568 return resultobj;
14569 fail:
14570 return NULL;
14571}
14572
14573
c32bde28 14574static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14575 PyObject *resultobj;
14576 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14577 bool result;
14578 PyObject * obj0 = 0 ;
14579 char *kwnames[] = {
14580 (char *) "self", NULL
14581 };
14582
14583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (bool)(arg1)->LeftIsDown();
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
4f89f6a3
RD
14593 {
14594 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14595 }
d14a1e28
RD
14596 return resultobj;
14597 fail:
14598 return NULL;
14599}
14600
14601
c32bde28 14602static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14603 PyObject *resultobj;
14604 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14605 bool result;
14606 PyObject * obj0 = 0 ;
14607 char *kwnames[] = {
14608 (char *) "self", NULL
14609 };
14610
14611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14614 {
14615 PyThreadState* __tstate = wxPyBeginAllowThreads();
14616 result = (bool)(arg1)->MiddleIsDown();
14617
14618 wxPyEndAllowThreads(__tstate);
14619 if (PyErr_Occurred()) SWIG_fail;
14620 }
4f89f6a3
RD
14621 {
14622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14623 }
d14a1e28
RD
14624 return resultobj;
14625 fail:
14626 return NULL;
14627}
14628
14629
c32bde28 14630static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14631 PyObject *resultobj;
14632 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14633 bool result;
14634 PyObject * obj0 = 0 ;
14635 char *kwnames[] = {
14636 (char *) "self", NULL
14637 };
14638
14639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14642 {
14643 PyThreadState* __tstate = wxPyBeginAllowThreads();
14644 result = (bool)(arg1)->RightIsDown();
14645
14646 wxPyEndAllowThreads(__tstate);
14647 if (PyErr_Occurred()) SWIG_fail;
14648 }
4f89f6a3
RD
14649 {
14650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14651 }
d14a1e28
RD
14652 return resultobj;
14653 fail:
14654 return NULL;
14655}
14656
14657
c32bde28 14658static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14659 PyObject *resultobj;
14660 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14661 bool result;
14662 PyObject * obj0 = 0 ;
14663 char *kwnames[] = {
14664 (char *) "self", NULL
14665 };
14666
14667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
15afbcd0
RD
14668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14670 {
14671 PyThreadState* __tstate = wxPyBeginAllowThreads();
14672 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14673
14674 wxPyEndAllowThreads(__tstate);
14675 if (PyErr_Occurred()) SWIG_fail;
14676 }
4f89f6a3
RD
14677 {
14678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14679 }
d14a1e28
RD
14680 return resultobj;
14681 fail:
14682 return NULL;
14683}
14684
14685
c32bde28 14686static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14687 PyObject *resultobj;
14688 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14689 bool result;
14690 PyObject * obj0 = 0 ;
14691 char *kwnames[] = {
14692 (char *) "self", NULL
14693 };
14694
14695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14698 {
14699 PyThreadState* __tstate = wxPyBeginAllowThreads();
14700 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14701
14702 wxPyEndAllowThreads(__tstate);
14703 if (PyErr_Occurred()) SWIG_fail;
14704 }
4f89f6a3
RD
14705 {
14706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14707 }
d14a1e28
RD
14708 return resultobj;
14709 fail:
14710 return NULL;
14711}
14712
14713
c32bde28 14714static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14715 PyObject *resultobj;
14716 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14717 bool result;
14718 PyObject * obj0 = 0 ;
14719 char *kwnames[] = {
14720 (char *) "self", NULL
14721 };
14722
14723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
15afbcd0
RD
14724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14726 {
14727 PyThreadState* __tstate = wxPyBeginAllowThreads();
14728 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14729
14730 wxPyEndAllowThreads(__tstate);
14731 if (PyErr_Occurred()) SWIG_fail;
14732 }
4f89f6a3
RD
14733 {
14734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14735 }
d14a1e28
RD
14736 return resultobj;
14737 fail:
14738 return NULL;
14739}
14740
14741
c32bde28 14742static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14743 PyObject *resultobj;
14744 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14745 bool result;
14746 PyObject * obj0 = 0 ;
14747 char *kwnames[] = {
14748 (char *) "self", NULL
14749 };
14750
14751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14754 {
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14757
14758 wxPyEndAllowThreads(__tstate);
14759 if (PyErr_Occurred()) SWIG_fail;
14760 }
4f89f6a3
RD
14761 {
14762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14763 }
d14a1e28
RD
14764 return resultobj;
14765 fail:
14766 return NULL;
14767}
14768
14769
c32bde28 14770static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14771 PyObject *resultobj;
14772 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14773 wxPoint result;
14774 PyObject * obj0 = 0 ;
14775 char *kwnames[] = {
14776 (char *) "self", NULL
14777 };
14778
14779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14782 {
14783 PyThreadState* __tstate = wxPyBeginAllowThreads();
14784 result = (arg1)->GetPosition();
14785
14786 wxPyEndAllowThreads(__tstate);
14787 if (PyErr_Occurred()) SWIG_fail;
14788 }
14789 {
14790 wxPoint * resultptr;
14791 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14792 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14793 }
14794 return resultobj;
14795 fail:
14796 return NULL;
14797}
14798
14799
c32bde28 14800static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14801 PyObject *resultobj;
14802 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14803 long *arg2 = (long *) 0 ;
14804 long *arg3 = (long *) 0 ;
14805 long temp2 ;
c32bde28 14806 int res2 = 0 ;
d14a1e28 14807 long temp3 ;
c32bde28 14808 int res3 = 0 ;
d14a1e28
RD
14809 PyObject * obj0 = 0 ;
14810 char *kwnames[] = {
14811 (char *) "self", NULL
14812 };
14813
c32bde28
RD
14814 arg2 = &temp2; res2 = SWIG_NEWOBJ;
14815 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 14816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",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 (arg1)->GetPosition(arg2,arg3);
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
14827 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
14828 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
14829 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
14830 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
14831 return resultobj;
14832 fail:
14833 return NULL;
14834}
14835
14836
c32bde28 14837static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14838 PyObject *resultobj;
14839 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14840 wxDC *arg2 = 0 ;
14841 wxPoint result;
14842 PyObject * obj0 = 0 ;
14843 PyObject * obj1 = 0 ;
14844 char *kwnames[] = {
14845 (char *) "self",(char *) "dc", NULL
14846 };
14847
14848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14851 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14852 SWIG_POINTER_EXCEPTION | 0)) == -1)
14853 SWIG_fail;
d14a1e28 14854 if (arg2 == NULL) {
15afbcd0
RD
14855 PyErr_SetString(PyExc_TypeError,"null reference");
14856 SWIG_fail;
d14a1e28
RD
14857 }
14858 {
14859 PyThreadState* __tstate = wxPyBeginAllowThreads();
14860 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14861
14862 wxPyEndAllowThreads(__tstate);
14863 if (PyErr_Occurred()) SWIG_fail;
14864 }
14865 {
14866 wxPoint * resultptr;
14867 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14868 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14869 }
14870 return resultobj;
14871 fail:
14872 return NULL;
14873}
14874
14875
c32bde28 14876static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14877 PyObject *resultobj;
14878 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14879 int result;
d14a1e28
RD
14880 PyObject * obj0 = 0 ;
14881 char *kwnames[] = {
14882 (char *) "self", NULL
14883 };
14884
14885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14888 {
14889 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14890 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
14891
14892 wxPyEndAllowThreads(__tstate);
14893 if (PyErr_Occurred()) SWIG_fail;
14894 }
c32bde28 14895 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14896 return resultobj;
14897 fail:
14898 return NULL;
14899}
14900
14901
c32bde28 14902static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14903 PyObject *resultobj;
14904 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14905 int result;
d14a1e28
RD
14906 PyObject * obj0 = 0 ;
14907 char *kwnames[] = {
14908 (char *) "self", NULL
14909 };
14910
14911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14914 {
14915 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14916 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
14917
14918 wxPyEndAllowThreads(__tstate);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
c32bde28 14921 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14922 return resultobj;
14923 fail:
14924 return NULL;
14925}
14926
14927
c32bde28 14928static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14929 PyObject *resultobj;
14930 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14931 int result;
14932 PyObject * obj0 = 0 ;
14933 char *kwnames[] = {
14934 (char *) "self", NULL
14935 };
14936
14937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
15afbcd0
RD
14938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14940 {
14941 PyThreadState* __tstate = wxPyBeginAllowThreads();
14942 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14943
14944 wxPyEndAllowThreads(__tstate);
14945 if (PyErr_Occurred()) SWIG_fail;
14946 }
c32bde28 14947 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14948 return resultobj;
14949 fail:
14950 return NULL;
14951}
14952
14953
c32bde28 14954static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14955 PyObject *resultobj;
14956 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14957 int result;
14958 PyObject * obj0 = 0 ;
14959 char *kwnames[] = {
14960 (char *) "self", NULL
14961 };
14962
14963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
15afbcd0
RD
14964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14966 {
14967 PyThreadState* __tstate = wxPyBeginAllowThreads();
14968 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14969
14970 wxPyEndAllowThreads(__tstate);
14971 if (PyErr_Occurred()) SWIG_fail;
14972 }
c32bde28 14973 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
14974 return resultobj;
14975 fail:
14976 return NULL;
14977}
14978
14979
c32bde28 14980static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14981 PyObject *resultobj;
14982 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14983 int result;
14984 PyObject * obj0 = 0 ;
14985 char *kwnames[] = {
14986 (char *) "self", NULL
14987 };
14988
14989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
15afbcd0
RD
14990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14992 {
14993 PyThreadState* __tstate = wxPyBeginAllowThreads();
14994 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14995
14996 wxPyEndAllowThreads(__tstate);
14997 if (PyErr_Occurred()) SWIG_fail;
14998 }
c32bde28 14999 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15000 return resultobj;
15001 fail:
15002 return NULL;
15003}
15004
15005
c32bde28 15006static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15007 PyObject *resultobj;
15008 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15009 bool result;
15010 PyObject * obj0 = 0 ;
15011 char *kwnames[] = {
15012 (char *) "self", NULL
15013 };
15014
15015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
15afbcd0
RD
15016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15018 {
15019 PyThreadState* __tstate = wxPyBeginAllowThreads();
15020 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
15021
15022 wxPyEndAllowThreads(__tstate);
15023 if (PyErr_Occurred()) SWIG_fail;
15024 }
4f89f6a3
RD
15025 {
15026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15027 }
d14a1e28
RD
15028 return resultobj;
15029 fail:
15030 return NULL;
15031}
15032
15033
c32bde28 15034static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15035 PyObject *resultobj;
15036 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 15037 int arg2 ;
d14a1e28 15038 PyObject * obj0 = 0 ;
994141e6 15039 PyObject * obj1 = 0 ;
d14a1e28
RD
15040 char *kwnames[] = {
15041 (char *) "self",(char *) "m_x", NULL
15042 };
15043
994141e6 15044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15047 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15049 if (arg1) (arg1)->m_x = arg2;
15050
15051 Py_INCREF(Py_None); resultobj = Py_None;
15052 return resultobj;
15053 fail:
15054 return NULL;
15055}
15056
15057
c32bde28 15058static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15059 PyObject *resultobj;
15060 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 15061 int result;
d14a1e28
RD
15062 PyObject * obj0 = 0 ;
15063 char *kwnames[] = {
15064 (char *) "self", NULL
15065 };
15066
15067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15070 result = (int) ((arg1)->m_x);
d14a1e28 15071
c32bde28 15072 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15073 return resultobj;
15074 fail:
15075 return NULL;
15076}
15077
15078
c32bde28 15079static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15080 PyObject *resultobj;
15081 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 15082 int arg2 ;
d14a1e28 15083 PyObject * obj0 = 0 ;
994141e6 15084 PyObject * obj1 = 0 ;
d14a1e28
RD
15085 char *kwnames[] = {
15086 (char *) "self",(char *) "m_y", NULL
15087 };
15088
994141e6 15089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15092 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15093 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15094 if (arg1) (arg1)->m_y = arg2;
15095
15096 Py_INCREF(Py_None); resultobj = Py_None;
15097 return resultobj;
15098 fail:
15099 return NULL;
15100}
15101
15102
c32bde28 15103static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15104 PyObject *resultobj;
15105 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 15106 int result;
d14a1e28
RD
15107 PyObject * obj0 = 0 ;
15108 char *kwnames[] = {
15109 (char *) "self", NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15115 result = (int) ((arg1)->m_y);
d14a1e28 15116
c32bde28 15117 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15118 return resultobj;
15119 fail:
15120 return NULL;
15121}
15122
15123
c32bde28 15124static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15125 PyObject *resultobj;
15126 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15127 bool arg2 ;
15128 PyObject * obj0 = 0 ;
15129 PyObject * obj1 = 0 ;
15130 char *kwnames[] = {
15131 (char *) "self",(char *) "m_leftDown", NULL
15132 };
15133
15134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15137 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15138 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15139 if (arg1) (arg1)->m_leftDown = arg2;
15140
15141 Py_INCREF(Py_None); resultobj = Py_None;
15142 return resultobj;
15143 fail:
15144 return NULL;
15145}
15146
15147
c32bde28 15148static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15149 PyObject *resultobj;
15150 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15151 bool result;
15152 PyObject * obj0 = 0 ;
15153 char *kwnames[] = {
15154 (char *) "self", NULL
15155 };
15156
15157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15160 result = (bool) ((arg1)->m_leftDown);
15161
4f89f6a3
RD
15162 {
15163 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15164 }
d14a1e28
RD
15165 return resultobj;
15166 fail:
15167 return NULL;
15168}
15169
15170
c32bde28 15171static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15172 PyObject *resultobj;
15173 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15174 bool arg2 ;
15175 PyObject * obj0 = 0 ;
15176 PyObject * obj1 = 0 ;
15177 char *kwnames[] = {
15178 (char *) "self",(char *) "m_middleDown", NULL
15179 };
15180
15181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15184 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15185 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15186 if (arg1) (arg1)->m_middleDown = arg2;
15187
15188 Py_INCREF(Py_None); resultobj = Py_None;
15189 return resultobj;
15190 fail:
15191 return NULL;
15192}
15193
15194
c32bde28 15195static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15196 PyObject *resultobj;
15197 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15198 bool result;
15199 PyObject * obj0 = 0 ;
15200 char *kwnames[] = {
15201 (char *) "self", NULL
15202 };
15203
15204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15207 result = (bool) ((arg1)->m_middleDown);
15208
4f89f6a3
RD
15209 {
15210 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15211 }
d14a1e28
RD
15212 return resultobj;
15213 fail:
15214 return NULL;
15215}
15216
15217
c32bde28 15218static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15219 PyObject *resultobj;
15220 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15221 bool arg2 ;
15222 PyObject * obj0 = 0 ;
15223 PyObject * obj1 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "self",(char *) "m_rightDown", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15231 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15232 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15233 if (arg1) (arg1)->m_rightDown = arg2;
15234
15235 Py_INCREF(Py_None); resultobj = Py_None;
15236 return resultobj;
15237 fail:
15238 return NULL;
15239}
15240
15241
c32bde28 15242static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15243 PyObject *resultobj;
15244 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15245 bool result;
15246 PyObject * obj0 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15254 result = (bool) ((arg1)->m_rightDown);
15255
4f89f6a3
RD
15256 {
15257 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15258 }
d14a1e28
RD
15259 return resultobj;
15260 fail:
15261 return NULL;
15262}
15263
15264
c32bde28 15265static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15266 PyObject *resultobj;
15267 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15268 bool arg2 ;
15269 PyObject * obj0 = 0 ;
15270 PyObject * obj1 = 0 ;
15271 char *kwnames[] = {
15272 (char *) "self",(char *) "m_controlDown", NULL
15273 };
15274
15275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15278 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15279 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15280 if (arg1) (arg1)->m_controlDown = arg2;
15281
15282 Py_INCREF(Py_None); resultobj = Py_None;
15283 return resultobj;
15284 fail:
15285 return NULL;
15286}
15287
15288
c32bde28 15289static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15290 PyObject *resultobj;
15291 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15292 bool result;
15293 PyObject * obj0 = 0 ;
15294 char *kwnames[] = {
15295 (char *) "self", NULL
15296 };
15297
15298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15301 result = (bool) ((arg1)->m_controlDown);
15302
4f89f6a3
RD
15303 {
15304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15305 }
d14a1e28
RD
15306 return resultobj;
15307 fail:
15308 return NULL;
15309}
15310
15311
c32bde28 15312static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15313 PyObject *resultobj;
15314 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15315 bool arg2 ;
15316 PyObject * obj0 = 0 ;
15317 PyObject * obj1 = 0 ;
15318 char *kwnames[] = {
15319 (char *) "self",(char *) "m_shiftDown", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15325 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15326 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15327 if (arg1) (arg1)->m_shiftDown = arg2;
15328
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 return resultobj;
15331 fail:
15332 return NULL;
15333}
15334
15335
c32bde28 15336static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15337 PyObject *resultobj;
15338 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15339 bool result;
15340 PyObject * obj0 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15348 result = (bool) ((arg1)->m_shiftDown);
15349
4f89f6a3
RD
15350 {
15351 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15352 }
d14a1e28
RD
15353 return resultobj;
15354 fail:
15355 return NULL;
15356}
15357
15358
c32bde28 15359static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15360 PyObject *resultobj;
15361 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15362 bool arg2 ;
15363 PyObject * obj0 = 0 ;
15364 PyObject * obj1 = 0 ;
15365 char *kwnames[] = {
15366 (char *) "self",(char *) "m_altDown", NULL
15367 };
15368
15369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15372 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15373 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15374 if (arg1) (arg1)->m_altDown = arg2;
15375
15376 Py_INCREF(Py_None); resultobj = Py_None;
15377 return resultobj;
15378 fail:
15379 return NULL;
15380}
15381
15382
c32bde28 15383static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15384 PyObject *resultobj;
15385 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15386 bool result;
15387 PyObject * obj0 = 0 ;
15388 char *kwnames[] = {
15389 (char *) "self", NULL
15390 };
15391
15392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15395 result = (bool) ((arg1)->m_altDown);
15396
4f89f6a3
RD
15397 {
15398 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15399 }
d14a1e28
RD
15400 return resultobj;
15401 fail:
15402 return NULL;
15403}
15404
15405
c32bde28 15406static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15407 PyObject *resultobj;
15408 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15409 bool arg2 ;
15410 PyObject * obj0 = 0 ;
15411 PyObject * obj1 = 0 ;
15412 char *kwnames[] = {
15413 (char *) "self",(char *) "m_metaDown", NULL
15414 };
15415
15416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15419 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 15420 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15421 if (arg1) (arg1)->m_metaDown = arg2;
15422
15423 Py_INCREF(Py_None); resultobj = Py_None;
15424 return resultobj;
15425 fail:
15426 return NULL;
15427}
15428
15429
c32bde28 15430static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15431 PyObject *resultobj;
15432 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15433 bool result;
15434 PyObject * obj0 = 0 ;
15435 char *kwnames[] = {
15436 (char *) "self", NULL
15437 };
15438
15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15442 result = (bool) ((arg1)->m_metaDown);
15443
4f89f6a3
RD
15444 {
15445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15446 }
d14a1e28
RD
15447 return resultobj;
15448 fail:
15449 return NULL;
15450}
15451
15452
c32bde28 15453static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15454 PyObject *resultobj;
15455 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15456 int arg2 ;
15457 PyObject * obj0 = 0 ;
994141e6 15458 PyObject * obj1 = 0 ;
d14a1e28
RD
15459 char *kwnames[] = {
15460 (char *) "self",(char *) "m_wheelRotation", NULL
15461 };
15462
994141e6 15463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15466 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15467 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15468 if (arg1) (arg1)->m_wheelRotation = arg2;
15469
15470 Py_INCREF(Py_None); resultobj = Py_None;
15471 return resultobj;
15472 fail:
15473 return NULL;
15474}
15475
15476
c32bde28 15477static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15478 PyObject *resultobj;
15479 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15480 int result;
15481 PyObject * obj0 = 0 ;
15482 char *kwnames[] = {
15483 (char *) "self", NULL
15484 };
15485
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15489 result = (int) ((arg1)->m_wheelRotation);
15490
c32bde28 15491 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15492 return resultobj;
15493 fail:
15494 return NULL;
15495}
15496
15497
c32bde28 15498static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15499 PyObject *resultobj;
15500 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15501 int arg2 ;
15502 PyObject * obj0 = 0 ;
994141e6 15503 PyObject * obj1 = 0 ;
d14a1e28
RD
15504 char *kwnames[] = {
15505 (char *) "self",(char *) "m_wheelDelta", NULL
15506 };
15507
994141e6 15508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15511 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15512 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15513 if (arg1) (arg1)->m_wheelDelta = arg2;
15514
15515 Py_INCREF(Py_None); resultobj = Py_None;
15516 return resultobj;
15517 fail:
15518 return NULL;
15519}
15520
15521
c32bde28 15522static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15523 PyObject *resultobj;
15524 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15525 int result;
15526 PyObject * obj0 = 0 ;
15527 char *kwnames[] = {
15528 (char *) "self", NULL
15529 };
15530
15531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15534 result = (int) ((arg1)->m_wheelDelta);
15535
c32bde28 15536 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15537 return resultobj;
15538 fail:
15539 return NULL;
15540}
15541
15542
c32bde28 15543static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15544 PyObject *resultobj;
15545 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15546 int arg2 ;
15547 PyObject * obj0 = 0 ;
994141e6 15548 PyObject * obj1 = 0 ;
d14a1e28
RD
15549 char *kwnames[] = {
15550 (char *) "self",(char *) "m_linesPerAction", NULL
15551 };
15552
994141e6 15553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 15556 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15557 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15558 if (arg1) (arg1)->m_linesPerAction = arg2;
15559
15560 Py_INCREF(Py_None); resultobj = Py_None;
15561 return resultobj;
15562 fail:
15563 return NULL;
15564}
15565
15566
c32bde28 15567static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15568 PyObject *resultobj;
15569 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15570 int result;
15571 PyObject * obj0 = 0 ;
15572 char *kwnames[] = {
15573 (char *) "self", NULL
15574 };
15575
15576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15579 result = (int) ((arg1)->m_linesPerAction);
15580
c32bde28 15581 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15582 return resultobj;
15583 fail:
15584 return NULL;
15585}
15586
15587
c32bde28 15588static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15589 PyObject *obj;
15590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15591 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15592 Py_INCREF(obj);
15593 return Py_BuildValue((char *)"");
15594}
c32bde28 15595static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15596 PyObject *resultobj;
e811c8ce
RD
15597 int arg1 = (int) 0 ;
15598 int arg2 = (int) 0 ;
d14a1e28 15599 wxSetCursorEvent *result;
994141e6
RD
15600 PyObject * obj0 = 0 ;
15601 PyObject * obj1 = 0 ;
d14a1e28
RD
15602 char *kwnames[] = {
15603 (char *) "x",(char *) "y", NULL
15604 };
15605
994141e6
RD
15606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15607 if (obj0) {
c32bde28 15608 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 15609 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15610 }
15611 if (obj1) {
c32bde28 15612 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 15613 if (PyErr_Occurred()) SWIG_fail;
994141e6 15614 }
d14a1e28
RD
15615 {
15616 PyThreadState* __tstate = wxPyBeginAllowThreads();
15617 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15618
15619 wxPyEndAllowThreads(__tstate);
15620 if (PyErr_Occurred()) SWIG_fail;
15621 }
15afbcd0 15622 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
15623 return resultobj;
15624 fail:
15625 return NULL;
15626}
15627
15628
c32bde28 15629static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15630 PyObject *resultobj;
15631 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15632 int result;
d14a1e28
RD
15633 PyObject * obj0 = 0 ;
15634 char *kwnames[] = {
15635 (char *) "self", NULL
15636 };
15637
15638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15641 {
15642 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15643 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
15644
15645 wxPyEndAllowThreads(__tstate);
15646 if (PyErr_Occurred()) SWIG_fail;
15647 }
c32bde28 15648 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15649 return resultobj;
15650 fail:
15651 return NULL;
15652}
15653
15654
c32bde28 15655static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15656 PyObject *resultobj;
15657 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15658 int result;
d14a1e28
RD
15659 PyObject * obj0 = 0 ;
15660 char *kwnames[] = {
15661 (char *) "self", NULL
15662 };
15663
15664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15667 {
15668 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15669 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
15670
15671 wxPyEndAllowThreads(__tstate);
15672 if (PyErr_Occurred()) SWIG_fail;
15673 }
c32bde28 15674 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15675 return resultobj;
15676 fail:
15677 return NULL;
15678}
15679
15680
c32bde28 15681static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15682 PyObject *resultobj;
15683 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15684 wxCursor *arg2 = 0 ;
15685 PyObject * obj0 = 0 ;
15686 PyObject * obj1 = 0 ;
15687 char *kwnames[] = {
15688 (char *) "self",(char *) "cursor", NULL
15689 };
15690
15691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15695 SWIG_POINTER_EXCEPTION | 0)) == -1)
15696 SWIG_fail;
d14a1e28 15697 if (arg2 == NULL) {
15afbcd0
RD
15698 PyErr_SetString(PyExc_TypeError,"null reference");
15699 SWIG_fail;
d14a1e28
RD
15700 }
15701 {
15702 PyThreadState* __tstate = wxPyBeginAllowThreads();
15703 (arg1)->SetCursor((wxCursor const &)*arg2);
15704
15705 wxPyEndAllowThreads(__tstate);
15706 if (PyErr_Occurred()) SWIG_fail;
15707 }
15708 Py_INCREF(Py_None); resultobj = Py_None;
15709 return resultobj;
15710 fail:
15711 return NULL;
15712}
15713
15714
c32bde28 15715static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15716 PyObject *resultobj;
15717 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15718 wxCursor *result;
15719 PyObject * obj0 = 0 ;
15720 char *kwnames[] = {
15721 (char *) "self", NULL
15722 };
15723
15724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 {
15730 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15731 result = (wxCursor *) &_result_ref;
15732 }
15733
15734 wxPyEndAllowThreads(__tstate);
15735 if (PyErr_Occurred()) SWIG_fail;
15736 }
4276dc52
RD
15737 {
15738 wxCursor* resultptr = new wxCursor(*result);
15739 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15740 }
d14a1e28
RD
15741 return resultobj;
15742 fail:
15743 return NULL;
15744}
15745
15746
c32bde28 15747static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15748 PyObject *resultobj;
15749 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15750 bool result;
15751 PyObject * obj0 = 0 ;
15752 char *kwnames[] = {
15753 (char *) "self", NULL
15754 };
15755
15756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15759 {
15760 PyThreadState* __tstate = wxPyBeginAllowThreads();
15761 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15762
15763 wxPyEndAllowThreads(__tstate);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 }
4f89f6a3
RD
15766 {
15767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15768 }
d14a1e28
RD
15769 return resultobj;
15770 fail:
15771 return NULL;
15772}
15773
15774
c32bde28 15775static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15776 PyObject *obj;
15777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15778 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15779 Py_INCREF(obj);
15780 return Py_BuildValue((char *)"");
15781}
c32bde28 15782static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15783 PyObject *resultobj;
15784 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15785 wxKeyEvent *result;
994141e6 15786 PyObject * obj0 = 0 ;
d14a1e28
RD
15787 char *kwnames[] = {
15788 (char *) "keyType", NULL
15789 };
15790
994141e6
RD
15791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15792 if (obj0) {
c32bde28 15793 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 15794 if (PyErr_Occurred()) SWIG_fail;
994141e6 15795 }
d14a1e28
RD
15796 {
15797 PyThreadState* __tstate = wxPyBeginAllowThreads();
15798 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15799
15800 wxPyEndAllowThreads(__tstate);
15801 if (PyErr_Occurred()) SWIG_fail;
15802 }
15afbcd0 15803 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
15804 return resultobj;
15805 fail:
15806 return NULL;
15807}
15808
15809
c32bde28 15810static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15811 PyObject *resultobj;
15812 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15813 bool result;
15814 PyObject * obj0 = 0 ;
15815 char *kwnames[] = {
15816 (char *) "self", NULL
15817 };
15818
15819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15822 {
15823 PyThreadState* __tstate = wxPyBeginAllowThreads();
15824 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15825
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
4f89f6a3
RD
15829 {
15830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15831 }
d14a1e28
RD
15832 return resultobj;
15833 fail:
15834 return NULL;
15835}
15836
15837
c32bde28 15838static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15839 PyObject *resultobj;
15840 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15841 bool result;
15842 PyObject * obj0 = 0 ;
15843 char *kwnames[] = {
15844 (char *) "self", NULL
15845 };
15846
15847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15850 {
15851 PyThreadState* __tstate = wxPyBeginAllowThreads();
15852 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15853
15854 wxPyEndAllowThreads(__tstate);
15855 if (PyErr_Occurred()) SWIG_fail;
15856 }
4f89f6a3
RD
15857 {
15858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15859 }
d14a1e28
RD
15860 return resultobj;
15861 fail:
15862 return NULL;
15863}
15864
15865
c32bde28 15866static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15867 PyObject *resultobj;
15868 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15869 bool result;
15870 PyObject * obj0 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "self", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15878 {
15879 PyThreadState* __tstate = wxPyBeginAllowThreads();
15880 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15881
15882 wxPyEndAllowThreads(__tstate);
15883 if (PyErr_Occurred()) SWIG_fail;
15884 }
4f89f6a3
RD
15885 {
15886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15887 }
d14a1e28
RD
15888 return resultobj;
15889 fail:
15890 return NULL;
15891}
15892
15893
c32bde28 15894static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15895 PyObject *resultobj;
15896 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15897 bool result;
15898 PyObject * obj0 = 0 ;
15899 char *kwnames[] = {
15900 (char *) "self", NULL
15901 };
15902
15903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15909
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
4f89f6a3
RD
15913 {
15914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15915 }
d14a1e28
RD
15916 return resultobj;
15917 fail:
15918 return NULL;
15919}
15920
15921
c32bde28 15922static PyObject *_wrap_KeyEvent_CmdDown(PyObject *, PyObject *args, PyObject *kwargs) {
412d302d
RD
15923 PyObject *resultobj;
15924 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15925 bool result;
15926 PyObject * obj0 = 0 ;
15927 char *kwnames[] = {
15928 (char *) "self", NULL
15929 };
15930
15931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_CmdDown",kwnames,&obj0)) goto fail;
15932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15934 {
15935 PyThreadState* __tstate = wxPyBeginAllowThreads();
15936 result = (bool)((wxKeyEvent const *)arg1)->CmdDown();
15937
15938 wxPyEndAllowThreads(__tstate);
15939 if (PyErr_Occurred()) SWIG_fail;
15940 }
15941 {
15942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15943 }
15944 return resultobj;
15945 fail:
15946 return NULL;
15947}
15948
15949
c32bde28 15950static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15951 PyObject *resultobj;
15952 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15953 bool result;
15954 PyObject * obj0 = 0 ;
15955 char *kwnames[] = {
15956 (char *) "self", NULL
15957 };
15958
15959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
15afbcd0
RD
15960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15962 {
15963 PyThreadState* __tstate = wxPyBeginAllowThreads();
15964 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15965
15966 wxPyEndAllowThreads(__tstate);
15967 if (PyErr_Occurred()) SWIG_fail;
15968 }
4f89f6a3
RD
15969 {
15970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15971 }
d14a1e28
RD
15972 return resultobj;
15973 fail:
15974 return NULL;
15975}
15976
15977
c32bde28 15978static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15979 PyObject *resultobj;
15980 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15981 int result;
15982 PyObject * obj0 = 0 ;
15983 char *kwnames[] = {
15984 (char *) "self", NULL
15985 };
15986
15987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
15988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15990 {
15991 PyThreadState* __tstate = wxPyBeginAllowThreads();
15992 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15993
15994 wxPyEndAllowThreads(__tstate);
15995 if (PyErr_Occurred()) SWIG_fail;
15996 }
c32bde28 15997 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
15998 return resultobj;
15999 fail:
16000 return NULL;
16001}
16002
16003
c32bde28 16004static PyObject *_wrap_KeyEvent_GetUnicodeKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16005 PyObject *resultobj;
16006 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16007 int result;
16008 PyObject * obj0 = 0 ;
16009 char *kwnames[] = {
16010 (char *) "self", NULL
16011 };
16012
19272049 16013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUnicodeKey",kwnames,&obj0)) goto fail;
15afbcd0
RD
16014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16016 {
16017 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272049 16018 result = (int)wxKeyEvent_GetUnicodeKey(arg1);
d14a1e28
RD
16019
16020 wxPyEndAllowThreads(__tstate);
16021 if (PyErr_Occurred()) SWIG_fail;
16022 }
c32bde28 16023 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16024 return resultobj;
16025 fail:
16026 return NULL;
16027}
16028
16029
c32bde28 16030static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16031 PyObject *resultobj;
16032 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16033 unsigned int result;
d14a1e28
RD
16034 PyObject * obj0 = 0 ;
16035 char *kwnames[] = {
16036 (char *) "self", NULL
16037 };
16038
16039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
16040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16042 {
16043 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 16044 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
16045
16046 wxPyEndAllowThreads(__tstate);
16047 if (PyErr_Occurred()) SWIG_fail;
16048 }
c32bde28 16049 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d14a1e28
RD
16050 return resultobj;
16051 fail:
16052 return NULL;
16053}
16054
16055
c32bde28 16056static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16057 PyObject *resultobj;
16058 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16059 unsigned int result;
d14a1e28
RD
16060 PyObject * obj0 = 0 ;
16061 char *kwnames[] = {
16062 (char *) "self", NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
16066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16068 {
16069 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 16070 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
16071
16072 wxPyEndAllowThreads(__tstate);
16073 if (PyErr_Occurred()) SWIG_fail;
16074 }
c32bde28 16075 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d14a1e28
RD
16076 return resultobj;
16077 fail:
16078 return NULL;
16079}
16080
16081
c32bde28 16082static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16083 PyObject *resultobj;
16084 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16085 wxPoint result;
16086 PyObject * obj0 = 0 ;
16087 char *kwnames[] = {
16088 (char *) "self", NULL
16089 };
16090
16091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16094 {
16095 PyThreadState* __tstate = wxPyBeginAllowThreads();
16096 result = (arg1)->GetPosition();
16097
16098 wxPyEndAllowThreads(__tstate);
16099 if (PyErr_Occurred()) SWIG_fail;
16100 }
16101 {
16102 wxPoint * resultptr;
16103 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 16104 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16105 }
16106 return resultobj;
16107 fail:
16108 return NULL;
16109}
16110
16111
c32bde28 16112static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16113 PyObject *resultobj;
16114 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16115 long *arg2 = (long *) 0 ;
16116 long *arg3 = (long *) 0 ;
16117 long temp2 ;
c32bde28 16118 int res2 = 0 ;
d14a1e28 16119 long temp3 ;
c32bde28 16120 int res3 = 0 ;
d14a1e28
RD
16121 PyObject * obj0 = 0 ;
16122 char *kwnames[] = {
16123 (char *) "self", NULL
16124 };
16125
c32bde28
RD
16126 arg2 = &temp2; res2 = SWIG_NEWOBJ;
16127 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 16128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
16129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16131 {
16132 PyThreadState* __tstate = wxPyBeginAllowThreads();
16133 (arg1)->GetPosition(arg2,arg3);
16134
16135 wxPyEndAllowThreads(__tstate);
16136 if (PyErr_Occurred()) SWIG_fail;
16137 }
16138 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
16139 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
16140 SWIG_From_long((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_long, 0)));
16141 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
16142 SWIG_From_long((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_long, 0)));
d14a1e28
RD
16143 return resultobj;
16144 fail:
16145 return NULL;
16146}
16147
16148
c32bde28 16149static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16150 PyObject *resultobj;
16151 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16152 int result;
d14a1e28
RD
16153 PyObject * obj0 = 0 ;
16154 char *kwnames[] = {
16155 (char *) "self", NULL
16156 };
16157
16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
16159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16161 {
16162 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 16163 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
16164
16165 wxPyEndAllowThreads(__tstate);
16166 if (PyErr_Occurred()) SWIG_fail;
16167 }
c32bde28 16168 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16169 return resultobj;
16170 fail:
16171 return NULL;
16172}
16173
16174
c32bde28 16175static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16176 PyObject *resultobj;
16177 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16178 int result;
d14a1e28
RD
16179 PyObject * obj0 = 0 ;
16180 char *kwnames[] = {
16181 (char *) "self", NULL
16182 };
16183
16184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
16185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16187 {
16188 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 16189 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
16190
16191 wxPyEndAllowThreads(__tstate);
16192 if (PyErr_Occurred()) SWIG_fail;
16193 }
c32bde28 16194 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16195 return resultobj;
16196 fail:
16197 return NULL;
16198}
16199
16200
c32bde28 16201static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16202 PyObject *resultobj;
16203 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16204 int arg2 ;
d14a1e28 16205 PyObject * obj0 = 0 ;
994141e6 16206 PyObject * obj1 = 0 ;
d14a1e28
RD
16207 char *kwnames[] = {
16208 (char *) "self",(char *) "m_x", NULL
16209 };
16210
994141e6 16211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16214 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16216 if (arg1) (arg1)->m_x = arg2;
16217
16218 Py_INCREF(Py_None); resultobj = Py_None;
16219 return resultobj;
16220 fail:
16221 return NULL;
16222}
16223
16224
c32bde28 16225static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16226 PyObject *resultobj;
16227 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16228 int result;
d14a1e28
RD
16229 PyObject * obj0 = 0 ;
16230 char *kwnames[] = {
16231 (char *) "self", NULL
16232 };
16233
16234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16237 result = (int) ((arg1)->m_x);
d14a1e28 16238
c32bde28 16239 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16240 return resultobj;
16241 fail:
16242 return NULL;
16243}
16244
16245
c32bde28 16246static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16247 PyObject *resultobj;
16248 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16249 int arg2 ;
d14a1e28 16250 PyObject * obj0 = 0 ;
994141e6 16251 PyObject * obj1 = 0 ;
d14a1e28
RD
16252 char *kwnames[] = {
16253 (char *) "self",(char *) "m_y", NULL
16254 };
16255
994141e6 16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16259 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16260 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16261 if (arg1) (arg1)->m_y = arg2;
16262
16263 Py_INCREF(Py_None); resultobj = Py_None;
16264 return resultobj;
16265 fail:
16266 return NULL;
16267}
16268
16269
c32bde28 16270static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16271 PyObject *resultobj;
16272 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16273 int result;
d14a1e28
RD
16274 PyObject * obj0 = 0 ;
16275 char *kwnames[] = {
16276 (char *) "self", NULL
16277 };
16278
16279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16282 result = (int) ((arg1)->m_y);
d14a1e28 16283
c32bde28 16284 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
16285 return resultobj;
16286 fail:
16287 return NULL;
16288}
16289
16290
c32bde28 16291static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16292 PyObject *resultobj;
16293 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16294 long arg2 ;
16295 PyObject * obj0 = 0 ;
994141e6 16296 PyObject * obj1 = 0 ;
d14a1e28
RD
16297 char *kwnames[] = {
16298 (char *) "self",(char *) "m_keyCode", NULL
16299 };
16300
994141e6 16301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16304 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 16305 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16306 if (arg1) (arg1)->m_keyCode = arg2;
16307
16308 Py_INCREF(Py_None); resultobj = Py_None;
16309 return resultobj;
16310 fail:
16311 return NULL;
16312}
16313
16314
c32bde28 16315static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16316 PyObject *resultobj;
16317 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16318 long result;
16319 PyObject * obj0 = 0 ;
16320 char *kwnames[] = {
16321 (char *) "self", NULL
16322 };
16323
16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16327 result = (long) ((arg1)->m_keyCode);
16328
c32bde28 16329 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
16330 return resultobj;
16331 fail:
16332 return NULL;
16333}
16334
16335
c32bde28 16336static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16337 PyObject *resultobj;
16338 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16339 bool arg2 ;
16340 PyObject * obj0 = 0 ;
16341 PyObject * obj1 = 0 ;
16342 char *kwnames[] = {
16343 (char *) "self",(char *) "m_controlDown", NULL
16344 };
16345
16346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16349 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16351 if (arg1) (arg1)->m_controlDown = arg2;
16352
16353 Py_INCREF(Py_None); resultobj = Py_None;
16354 return resultobj;
16355 fail:
16356 return NULL;
16357}
16358
16359
c32bde28 16360static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16361 PyObject *resultobj;
16362 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16363 bool result;
16364 PyObject * obj0 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16372 result = (bool) ((arg1)->m_controlDown);
16373
4f89f6a3
RD
16374 {
16375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16376 }
d14a1e28
RD
16377 return resultobj;
16378 fail:
16379 return NULL;
16380}
16381
16382
c32bde28 16383static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16384 PyObject *resultobj;
16385 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16386 bool arg2 ;
16387 PyObject * obj0 = 0 ;
16388 PyObject * obj1 = 0 ;
16389 char *kwnames[] = {
16390 (char *) "self",(char *) "m_shiftDown", NULL
16391 };
16392
16393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16396 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16397 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16398 if (arg1) (arg1)->m_shiftDown = arg2;
16399
16400 Py_INCREF(Py_None); resultobj = Py_None;
16401 return resultobj;
16402 fail:
16403 return NULL;
16404}
16405
16406
c32bde28 16407static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16408 PyObject *resultobj;
16409 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16410 bool result;
16411 PyObject * obj0 = 0 ;
16412 char *kwnames[] = {
16413 (char *) "self", NULL
16414 };
16415
16416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16419 result = (bool) ((arg1)->m_shiftDown);
16420
4f89f6a3
RD
16421 {
16422 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16423 }
d14a1e28
RD
16424 return resultobj;
16425 fail:
16426 return NULL;
16427}
16428
16429
c32bde28 16430static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16431 PyObject *resultobj;
16432 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16433 bool arg2 ;
16434 PyObject * obj0 = 0 ;
16435 PyObject * obj1 = 0 ;
16436 char *kwnames[] = {
16437 (char *) "self",(char *) "m_altDown", NULL
16438 };
16439
16440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16443 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16444 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16445 if (arg1) (arg1)->m_altDown = arg2;
16446
16447 Py_INCREF(Py_None); resultobj = Py_None;
16448 return resultobj;
16449 fail:
16450 return NULL;
16451}
16452
16453
c32bde28 16454static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16455 PyObject *resultobj;
16456 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16457 bool result;
16458 PyObject * obj0 = 0 ;
16459 char *kwnames[] = {
16460 (char *) "self", NULL
16461 };
16462
16463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16466 result = (bool) ((arg1)->m_altDown);
16467
4f89f6a3
RD
16468 {
16469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16470 }
d14a1e28
RD
16471 return resultobj;
16472 fail:
16473 return NULL;
16474}
16475
16476
c32bde28 16477static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16478 PyObject *resultobj;
16479 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16480 bool arg2 ;
16481 PyObject * obj0 = 0 ;
16482 PyObject * obj1 = 0 ;
16483 char *kwnames[] = {
16484 (char *) "self",(char *) "m_metaDown", NULL
16485 };
16486
16487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16490 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16491 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16492 if (arg1) (arg1)->m_metaDown = arg2;
16493
16494 Py_INCREF(Py_None); resultobj = Py_None;
16495 return resultobj;
16496 fail:
16497 return NULL;
16498}
16499
16500
c32bde28 16501static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16502 PyObject *resultobj;
16503 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16504 bool result;
16505 PyObject * obj0 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16513 result = (bool) ((arg1)->m_metaDown);
16514
4f89f6a3
RD
16515 {
16516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16517 }
d14a1e28
RD
16518 return resultobj;
16519 fail:
16520 return NULL;
16521}
16522
16523
c32bde28 16524static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16525 PyObject *resultobj;
16526 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16527 bool arg2 ;
16528 PyObject * obj0 = 0 ;
16529 PyObject * obj1 = 0 ;
16530 char *kwnames[] = {
16531 (char *) "self",(char *) "m_scanCode", NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16537 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 16538 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16539 if (arg1) (arg1)->m_scanCode = arg2;
16540
16541 Py_INCREF(Py_None); resultobj = Py_None;
16542 return resultobj;
16543 fail:
16544 return NULL;
16545}
16546
16547
c32bde28 16548static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16549 PyObject *resultobj;
16550 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16551 bool result;
16552 PyObject * obj0 = 0 ;
16553 char *kwnames[] = {
16554 (char *) "self", NULL
16555 };
16556
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16560 result = (bool) ((arg1)->m_scanCode);
16561
4f89f6a3
RD
16562 {
16563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16564 }
d14a1e28
RD
16565 return resultobj;
16566 fail:
16567 return NULL;
16568}
16569
16570
c32bde28 16571static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16572 PyObject *resultobj;
16573 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16574 unsigned int arg2 ;
d14a1e28
RD
16575 PyObject * obj0 = 0 ;
16576 PyObject * obj1 = 0 ;
16577 char *kwnames[] = {
16578 (char *) "self",(char *) "m_rawCode", NULL
16579 };
16580
16581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16584 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
15afbcd0 16585 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16586 if (arg1) (arg1)->m_rawCode = arg2;
16587
16588 Py_INCREF(Py_None); resultobj = Py_None;
16589 return resultobj;
16590 fail:
16591 return NULL;
16592}
16593
16594
c32bde28 16595static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16596 PyObject *resultobj;
16597 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16598 unsigned int result;
d14a1e28
RD
16599 PyObject * obj0 = 0 ;
16600 char *kwnames[] = {
16601 (char *) "self", NULL
16602 };
16603
16604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16607 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 16608
c32bde28 16609 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d14a1e28
RD
16610 return resultobj;
16611 fail:
16612 return NULL;
16613}
16614
16615
c32bde28 16616static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16617 PyObject *resultobj;
16618 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16619 unsigned int arg2 ;
d14a1e28
RD
16620 PyObject * obj0 = 0 ;
16621 PyObject * obj1 = 0 ;
16622 char *kwnames[] = {
16623 (char *) "self",(char *) "m_rawFlags", NULL
16624 };
16625
16626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 16629 arg2 = (unsigned int)SWIG_As_unsigned_SS_int(obj1);
15afbcd0 16630 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16631 if (arg1) (arg1)->m_rawFlags = arg2;
16632
16633 Py_INCREF(Py_None); resultobj = Py_None;
16634 return resultobj;
16635 fail:
16636 return NULL;
16637}
16638
16639
c32bde28 16640static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16641 PyObject *resultobj;
16642 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16643 unsigned int result;
d14a1e28
RD
16644 PyObject * obj0 = 0 ;
16645 char *kwnames[] = {
16646 (char *) "self", NULL
16647 };
16648
16649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16652 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 16653
c32bde28 16654 resultobj = SWIG_From_unsigned_SS_int((unsigned int)result);
d14a1e28
RD
16655 return resultobj;
16656 fail:
16657 return NULL;
16658}
16659
16660
c32bde28 16661static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16662 PyObject *obj;
16663 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16664 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16665 Py_INCREF(obj);
16666 return Py_BuildValue((char *)"");
16667}
c32bde28 16668static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16669 PyObject *resultobj;
16670 wxSize const &arg1_defvalue = wxDefaultSize ;
16671 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16672 int arg2 = (int) 0 ;
16673 wxSizeEvent *result;
16674 wxSize temp1 ;
16675 PyObject * obj0 = 0 ;
994141e6 16676 PyObject * obj1 = 0 ;
d14a1e28
RD
16677 char *kwnames[] = {
16678 (char *) "sz",(char *) "winid", NULL
16679 };
16680
994141e6 16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16682 if (obj0) {
16683 {
16684 arg1 = &temp1;
16685 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16686 }
16687 }
994141e6 16688 if (obj1) {
c32bde28 16689 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16690 if (PyErr_Occurred()) SWIG_fail;
994141e6 16691 }
d14a1e28
RD
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
15afbcd0 16699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
16700 return resultobj;
16701 fail:
16702 return NULL;
16703}
16704
16705
c32bde28 16706static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16707 PyObject *resultobj;
16708 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16709 wxSize result;
16710 PyObject * obj0 = 0 ;
16711 char *kwnames[] = {
16712 (char *) "self", NULL
16713 };
16714
16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16718 {
16719 PyThreadState* __tstate = wxPyBeginAllowThreads();
16720 result = ((wxSizeEvent const *)arg1)->GetSize();
16721
16722 wxPyEndAllowThreads(__tstate);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 }
16725 {
16726 wxSize * resultptr;
16727 resultptr = new wxSize((wxSize &) result);
15afbcd0 16728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16729 }
16730 return resultobj;
16731 fail:
16732 return NULL;
16733}
16734
16735
c32bde28 16736static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16737 PyObject *resultobj;
16738 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16739 wxRect result;
16740 PyObject * obj0 = 0 ;
16741 char *kwnames[] = {
16742 (char *) "self", NULL
16743 };
16744
16745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16748 {
16749 PyThreadState* __tstate = wxPyBeginAllowThreads();
16750 result = ((wxSizeEvent const *)arg1)->GetRect();
16751
16752 wxPyEndAllowThreads(__tstate);
16753 if (PyErr_Occurred()) SWIG_fail;
16754 }
16755 {
16756 wxRect * resultptr;
16757 resultptr = new wxRect((wxRect &) result);
15afbcd0 16758 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16759 }
16760 return resultobj;
16761 fail:
16762 return NULL;
16763}
16764
16765
c32bde28 16766static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16767 PyObject *resultobj;
16768 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16769 wxRect arg2 ;
16770 wxRect *argp2 ;
16771 PyObject * obj0 = 0 ;
16772 PyObject * obj1 = 0 ;
16773 char *kwnames[] = {
16774 (char *) "self",(char *) "rect", NULL
16775 };
16776
16777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16780 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16781 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16782 arg2 = *argp2;
d14a1e28
RD
16783 {
16784 PyThreadState* __tstate = wxPyBeginAllowThreads();
16785 (arg1)->SetRect(arg2);
16786
16787 wxPyEndAllowThreads(__tstate);
16788 if (PyErr_Occurred()) SWIG_fail;
16789 }
16790 Py_INCREF(Py_None); resultobj = Py_None;
16791 return resultobj;
16792 fail:
16793 return NULL;
16794}
16795
16796
c32bde28 16797static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16798 PyObject *resultobj;
16799 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16800 wxSize arg2 ;
16801 wxSize *argp2 ;
16802 PyObject * obj0 = 0 ;
16803 PyObject * obj1 = 0 ;
16804 char *kwnames[] = {
16805 (char *) "self",(char *) "size", NULL
16806 };
16807
16808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16811 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16812 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16813 arg2 = *argp2;
d14a1e28
RD
16814 {
16815 PyThreadState* __tstate = wxPyBeginAllowThreads();
16816 wxSizeEvent_SetSize(arg1,arg2);
16817
16818 wxPyEndAllowThreads(__tstate);
16819 if (PyErr_Occurred()) SWIG_fail;
16820 }
16821 Py_INCREF(Py_None); resultobj = Py_None;
16822 return resultobj;
16823 fail:
16824 return NULL;
16825}
16826
16827
c32bde28 16828static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16829 PyObject *resultobj;
16830 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16831 wxSize *arg2 = (wxSize *) 0 ;
16832 PyObject * obj0 = 0 ;
16833 PyObject * obj1 = 0 ;
16834 char *kwnames[] = {
16835 (char *) "self",(char *) "m_size", NULL
16836 };
16837
16838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16841 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16843 if (arg1) (arg1)->m_size = *arg2;
16844
16845 Py_INCREF(Py_None); resultobj = Py_None;
16846 return resultobj;
16847 fail:
16848 return NULL;
16849}
16850
16851
c32bde28 16852static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16853 PyObject *resultobj;
16854 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16855 wxSize *result;
16856 PyObject * obj0 = 0 ;
16857 char *kwnames[] = {
16858 (char *) "self", NULL
16859 };
16860
16861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16864 result = (wxSize *)& ((arg1)->m_size);
16865
15afbcd0 16866 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
16867 return resultobj;
16868 fail:
16869 return NULL;
16870}
16871
16872
c32bde28 16873static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16874 PyObject *resultobj;
16875 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16876 wxRect *arg2 = (wxRect *) 0 ;
16877 PyObject * obj0 = 0 ;
16878 PyObject * obj1 = 0 ;
16879 char *kwnames[] = {
16880 (char *) "self",(char *) "m_rect", NULL
16881 };
16882
16883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16886 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16888 if (arg1) (arg1)->m_rect = *arg2;
16889
16890 Py_INCREF(Py_None); resultobj = Py_None;
16891 return resultobj;
16892 fail:
16893 return NULL;
16894}
16895
16896
c32bde28 16897static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16898 PyObject *resultobj;
16899 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16900 wxRect *result;
16901 PyObject * obj0 = 0 ;
16902 char *kwnames[] = {
16903 (char *) "self", NULL
16904 };
16905
16906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16909 result = (wxRect *)& ((arg1)->m_rect);
16910
15afbcd0 16911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16912 return resultobj;
16913 fail:
16914 return NULL;
16915}
16916
16917
c32bde28 16918static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16919 PyObject *obj;
16920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16921 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16922 Py_INCREF(obj);
16923 return Py_BuildValue((char *)"");
16924}
c32bde28 16925static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16926 PyObject *resultobj;
16927 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16928 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16929 int arg2 = (int) 0 ;
16930 wxMoveEvent *result;
16931 wxPoint temp1 ;
16932 PyObject * obj0 = 0 ;
994141e6 16933 PyObject * obj1 = 0 ;
d14a1e28
RD
16934 char *kwnames[] = {
16935 (char *) "pos",(char *) "winid", NULL
16936 };
16937
994141e6 16938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16939 if (obj0) {
16940 {
16941 arg1 = &temp1;
16942 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16943 }
16944 }
994141e6 16945 if (obj1) {
c32bde28 16946 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 16947 if (PyErr_Occurred()) SWIG_fail;
994141e6 16948 }
d14a1e28
RD
16949 {
16950 PyThreadState* __tstate = wxPyBeginAllowThreads();
16951 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16952
16953 wxPyEndAllowThreads(__tstate);
16954 if (PyErr_Occurred()) SWIG_fail;
16955 }
15afbcd0 16956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
16957 return resultobj;
16958 fail:
16959 return NULL;
16960}
16961
16962
c32bde28 16963static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16964 PyObject *resultobj;
16965 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16966 wxPoint result;
16967 PyObject * obj0 = 0 ;
16968 char *kwnames[] = {
16969 (char *) "self", NULL
16970 };
16971
16972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16975 {
16976 PyThreadState* __tstate = wxPyBeginAllowThreads();
16977 result = ((wxMoveEvent const *)arg1)->GetPosition();
16978
16979 wxPyEndAllowThreads(__tstate);
16980 if (PyErr_Occurred()) SWIG_fail;
16981 }
16982 {
16983 wxPoint * resultptr;
16984 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 16985 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16986 }
16987 return resultobj;
16988 fail:
16989 return NULL;
16990}
16991
16992
c32bde28 16993static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16994 PyObject *resultobj;
16995 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16996 wxRect result;
16997 PyObject * obj0 = 0 ;
16998 char *kwnames[] = {
16999 (char *) "self", NULL
17000 };
17001
17002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
17003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17005 {
17006 PyThreadState* __tstate = wxPyBeginAllowThreads();
17007 result = ((wxMoveEvent const *)arg1)->GetRect();
17008
17009 wxPyEndAllowThreads(__tstate);
17010 if (PyErr_Occurred()) SWIG_fail;
17011 }
17012 {
17013 wxRect * resultptr;
17014 resultptr = new wxRect((wxRect &) result);
15afbcd0 17015 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
17016 }
17017 return resultobj;
17018 fail:
17019 return NULL;
17020}
17021
17022
c32bde28 17023static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17024 PyObject *resultobj;
17025 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17026 wxRect arg2 ;
17027 wxRect *argp2 ;
17028 PyObject * obj0 = 0 ;
17029 PyObject * obj1 = 0 ;
17030 char *kwnames[] = {
17031 (char *) "self",(char *) "rect", NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17037 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
17038 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
17039 arg2 = *argp2;
d14a1e28
RD
17040 {
17041 PyThreadState* __tstate = wxPyBeginAllowThreads();
17042 (arg1)->SetRect(arg2);
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
17047 Py_INCREF(Py_None); resultobj = Py_None;
17048 return resultobj;
17049 fail:
17050 return NULL;
17051}
17052
17053
c32bde28 17054static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17055 PyObject *resultobj;
17056 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17057 wxPoint arg2 ;
17058 wxPoint *argp2 ;
17059 PyObject * obj0 = 0 ;
17060 PyObject * obj1 = 0 ;
17061 char *kwnames[] = {
17062 (char *) "self",(char *) "pos", NULL
17063 };
17064
17065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17068 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
17069 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
17070 arg2 = *argp2;
d14a1e28
RD
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 wxMoveEvent_SetPosition(arg1,arg2);
17074
17075 wxPyEndAllowThreads(__tstate);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 Py_INCREF(Py_None); resultobj = Py_None;
17079 return resultobj;
17080 fail:
17081 return NULL;
17082}
17083
17084
c32bde28 17085static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17086 PyObject *resultobj;
17087 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17088 wxPoint *arg2 = (wxPoint *) 0 ;
17089 PyObject * obj0 = 0 ;
17090 PyObject * obj1 = 0 ;
17091 char *kwnames[] = {
17092 (char *) "self",(char *) "m_pos", NULL
17093 };
17094
17095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
17099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17100 if (arg1) (arg1)->m_pos = *arg2;
17101
17102 Py_INCREF(Py_None); resultobj = Py_None;
17103 return resultobj;
17104 fail:
17105 return NULL;
17106}
17107
17108
c32bde28 17109static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17110 PyObject *resultobj;
17111 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17112 wxPoint *result;
17113 PyObject * obj0 = 0 ;
17114 char *kwnames[] = {
17115 (char *) "self", NULL
17116 };
17117
17118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
17119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17121 result = (wxPoint *)& ((arg1)->m_pos);
17122
15afbcd0 17123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
17124 return resultobj;
17125 fail:
17126 return NULL;
17127}
17128
17129
c32bde28 17130static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17131 PyObject *resultobj;
17132 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17133 wxRect *arg2 = (wxRect *) 0 ;
17134 PyObject * obj0 = 0 ;
17135 PyObject * obj1 = 0 ;
17136 char *kwnames[] = {
17137 (char *) "self",(char *) "m_rect", NULL
17138 };
17139
17140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17143 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
17144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17145 if (arg1) (arg1)->m_rect = *arg2;
17146
17147 Py_INCREF(Py_None); resultobj = Py_None;
17148 return resultobj;
17149 fail:
17150 return NULL;
17151}
17152
17153
c32bde28 17154static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17155 PyObject *resultobj;
17156 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
17157 wxRect *result;
17158 PyObject * obj0 = 0 ;
17159 char *kwnames[] = {
17160 (char *) "self", NULL
17161 };
17162
17163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
17164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
17165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17166 result = (wxRect *)& ((arg1)->m_rect);
17167
15afbcd0 17168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
17169 return resultobj;
17170 fail:
17171 return NULL;
17172}
17173
17174
c32bde28 17175static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17176 PyObject *obj;
17177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17178 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
17179 Py_INCREF(obj);
17180 return Py_BuildValue((char *)"");
17181}
c32bde28 17182static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17183 PyObject *resultobj;
17184 int arg1 = (int) 0 ;
17185 wxPaintEvent *result;
994141e6 17186 PyObject * obj0 = 0 ;
d14a1e28
RD
17187 char *kwnames[] = {
17188 (char *) "Id", NULL
17189 };
17190
994141e6
RD
17191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
17192 if (obj0) {
c32bde28 17193 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17194 if (PyErr_Occurred()) SWIG_fail;
994141e6 17195 }
d14a1e28
RD
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 result = (wxPaintEvent *)new wxPaintEvent(arg1);
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
15afbcd0 17203 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
17204 return resultobj;
17205 fail:
17206 return NULL;
17207}
17208
17209
c32bde28 17210static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17211 PyObject *obj;
17212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17213 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
17214 Py_INCREF(obj);
17215 return Py_BuildValue((char *)"");
17216}
c32bde28 17217static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17218 PyObject *resultobj;
17219 int arg1 = (int) 0 ;
17220 wxNcPaintEvent *result;
994141e6 17221 PyObject * obj0 = 0 ;
d14a1e28
RD
17222 char *kwnames[] = {
17223 (char *) "winid", NULL
17224 };
17225
994141e6
RD
17226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
17227 if (obj0) {
c32bde28 17228 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17229 if (PyErr_Occurred()) SWIG_fail;
994141e6 17230 }
d14a1e28
RD
17231 {
17232 PyThreadState* __tstate = wxPyBeginAllowThreads();
17233 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
17234
17235 wxPyEndAllowThreads(__tstate);
17236 if (PyErr_Occurred()) SWIG_fail;
17237 }
15afbcd0 17238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
17239 return resultobj;
17240 fail:
17241 return NULL;
17242}
17243
17244
c32bde28 17245static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17246 PyObject *obj;
17247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17248 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
17249 Py_INCREF(obj);
17250 return Py_BuildValue((char *)"");
17251}
c32bde28 17252static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17253 PyObject *resultobj;
17254 int arg1 = (int) 0 ;
17255 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
17256 wxEraseEvent *result;
994141e6 17257 PyObject * obj0 = 0 ;
d14a1e28
RD
17258 PyObject * obj1 = 0 ;
17259 char *kwnames[] = {
17260 (char *) "Id",(char *) "dc", NULL
17261 };
17262
994141e6
RD
17263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
17264 if (obj0) {
c32bde28 17265 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17266 if (PyErr_Occurred()) SWIG_fail;
994141e6 17267 }
d14a1e28 17268 if (obj1) {
15afbcd0
RD
17269 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
17270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17271 }
17272 {
17273 PyThreadState* __tstate = wxPyBeginAllowThreads();
17274 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
17275
17276 wxPyEndAllowThreads(__tstate);
17277 if (PyErr_Occurred()) SWIG_fail;
17278 }
15afbcd0 17279 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
17280 return resultobj;
17281 fail:
17282 return NULL;
17283}
17284
17285
c32bde28 17286static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17287 PyObject *resultobj;
17288 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
17289 wxDC *result;
17290 PyObject * obj0 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
17296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
17297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17298 {
17299 PyThreadState* __tstate = wxPyBeginAllowThreads();
17300 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
17301
17302 wxPyEndAllowThreads(__tstate);
17303 if (PyErr_Occurred()) SWIG_fail;
17304 }
17305 {
412d302d 17306 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17307 }
17308 return resultobj;
17309 fail:
17310 return NULL;
17311}
17312
17313
c32bde28 17314static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17315 PyObject *obj;
17316 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17317 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
17318 Py_INCREF(obj);
17319 return Py_BuildValue((char *)"");
17320}
c32bde28 17321static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17322 PyObject *resultobj;
17323 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17324 int arg2 = (int) 0 ;
17325 wxFocusEvent *result;
994141e6
RD
17326 PyObject * obj0 = 0 ;
17327 PyObject * obj1 = 0 ;
d14a1e28
RD
17328 char *kwnames[] = {
17329 (char *) "type",(char *) "winid", NULL
17330 };
17331
994141e6
RD
17332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
17333 if (obj0) {
c32bde28 17334 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 17335 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17336 }
17337 if (obj1) {
c32bde28 17338 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17339 if (PyErr_Occurred()) SWIG_fail;
994141e6 17340 }
d14a1e28
RD
17341 {
17342 PyThreadState* __tstate = wxPyBeginAllowThreads();
17343 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
17344
17345 wxPyEndAllowThreads(__tstate);
17346 if (PyErr_Occurred()) SWIG_fail;
17347 }
15afbcd0 17348 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
17349 return resultobj;
17350 fail:
17351 return NULL;
17352}
17353
17354
c32bde28 17355static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17356 PyObject *resultobj;
17357 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
17358 wxWindow *result;
17359 PyObject * obj0 = 0 ;
17360 char *kwnames[] = {
17361 (char *) "self", NULL
17362 };
17363
17364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
17366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17367 {
17368 PyThreadState* __tstate = wxPyBeginAllowThreads();
17369 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
17370
17371 wxPyEndAllowThreads(__tstate);
17372 if (PyErr_Occurred()) SWIG_fail;
17373 }
17374 {
412d302d 17375 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17376 }
17377 return resultobj;
17378 fail:
17379 return NULL;
17380}
17381
17382
c32bde28 17383static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17384 PyObject *resultobj;
17385 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
17386 wxWindow *arg2 = (wxWindow *) 0 ;
17387 PyObject * obj0 = 0 ;
17388 PyObject * obj1 = 0 ;
17389 char *kwnames[] = {
17390 (char *) "self",(char *) "win", NULL
17391 };
17392
17393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
17395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17396 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 (arg1)->SetWindow(arg2);
17401
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 Py_INCREF(Py_None); resultobj = Py_None;
17406 return resultobj;
17407 fail:
17408 return NULL;
17409}
17410
17411
c32bde28 17412static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17413 PyObject *obj;
17414 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17415 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
17416 Py_INCREF(obj);
17417 return Py_BuildValue((char *)"");
17418}
c32bde28 17419static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17420 PyObject *resultobj;
17421 wxWindow *arg1 = (wxWindow *) NULL ;
17422 wxChildFocusEvent *result;
17423 PyObject * obj0 = 0 ;
17424 char *kwnames[] = {
17425 (char *) "win", NULL
17426 };
17427
17428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
17429 if (obj0) {
15afbcd0
RD
17430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17432 }
17433 {
17434 PyThreadState* __tstate = wxPyBeginAllowThreads();
17435 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
17436
17437 wxPyEndAllowThreads(__tstate);
17438 if (PyErr_Occurred()) SWIG_fail;
17439 }
15afbcd0 17440 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
17441 return resultobj;
17442 fail:
17443 return NULL;
17444}
17445
17446
c32bde28 17447static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17448 PyObject *resultobj;
17449 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
17450 wxWindow *result;
17451 PyObject * obj0 = 0 ;
17452 char *kwnames[] = {
17453 (char *) "self", NULL
17454 };
17455
17456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
17458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17459 {
17460 PyThreadState* __tstate = wxPyBeginAllowThreads();
17461 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
17462
17463 wxPyEndAllowThreads(__tstate);
17464 if (PyErr_Occurred()) SWIG_fail;
17465 }
17466 {
412d302d 17467 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17468 }
17469 return resultobj;
17470 fail:
17471 return NULL;
17472}
17473
17474
c32bde28 17475static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17476 PyObject *obj;
17477 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17478 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
17479 Py_INCREF(obj);
17480 return Py_BuildValue((char *)"");
17481}
c32bde28 17482static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17483 PyObject *resultobj;
17484 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
ae8162c8 17485 bool arg2 = (bool) true ;
d14a1e28
RD
17486 int arg3 = (int) 0 ;
17487 wxActivateEvent *result;
994141e6 17488 PyObject * obj0 = 0 ;
d14a1e28 17489 PyObject * obj1 = 0 ;
994141e6 17490 PyObject * obj2 = 0 ;
d14a1e28
RD
17491 char *kwnames[] = {
17492 (char *) "type",(char *) "active",(char *) "Id", NULL
17493 };
17494
994141e6
RD
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17496 if (obj0) {
c32bde28 17497 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 17498 if (PyErr_Occurred()) SWIG_fail;
994141e6 17499 }
d14a1e28 17500 if (obj1) {
c32bde28 17501 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 17502 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17503 }
17504 if (obj2) {
c32bde28 17505 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 17506 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17507 }
17508 {
17509 PyThreadState* __tstate = wxPyBeginAllowThreads();
17510 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17511
17512 wxPyEndAllowThreads(__tstate);
17513 if (PyErr_Occurred()) SWIG_fail;
17514 }
15afbcd0 17515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
17516 return resultobj;
17517 fail:
17518 return NULL;
17519}
17520
17521
c32bde28 17522static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17523 PyObject *resultobj;
17524 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17525 bool result;
17526 PyObject * obj0 = 0 ;
17527 char *kwnames[] = {
17528 (char *) "self", NULL
17529 };
17530
17531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
17532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17534 {
17535 PyThreadState* __tstate = wxPyBeginAllowThreads();
17536 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17537
17538 wxPyEndAllowThreads(__tstate);
17539 if (PyErr_Occurred()) SWIG_fail;
17540 }
4f89f6a3
RD
17541 {
17542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17543 }
d14a1e28
RD
17544 return resultobj;
17545 fail:
17546 return NULL;
17547}
17548
17549
c32bde28 17550static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17551 PyObject *obj;
17552 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17553 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17554 Py_INCREF(obj);
17555 return Py_BuildValue((char *)"");
17556}
c32bde28 17557static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17558 PyObject *resultobj;
17559 int arg1 = (int) 0 ;
17560 wxInitDialogEvent *result;
994141e6 17561 PyObject * obj0 = 0 ;
d14a1e28
RD
17562 char *kwnames[] = {
17563 (char *) "Id", NULL
17564 };
17565
994141e6
RD
17566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17567 if (obj0) {
c32bde28 17568 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17569 if (PyErr_Occurred()) SWIG_fail;
994141e6 17570 }
d14a1e28
RD
17571 {
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17574
17575 wxPyEndAllowThreads(__tstate);
17576 if (PyErr_Occurred()) SWIG_fail;
17577 }
15afbcd0 17578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
17579 return resultobj;
17580 fail:
17581 return NULL;
17582}
17583
17584
c32bde28 17585static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17586 PyObject *obj;
17587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17588 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17589 Py_INCREF(obj);
17590 return Py_BuildValue((char *)"");
17591}
c32bde28 17592static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17593 PyObject *resultobj;
17594 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17595 int arg2 = (int) 0 ;
17596 wxMenu *arg3 = (wxMenu *) NULL ;
17597 wxMenuEvent *result;
994141e6
RD
17598 PyObject * obj0 = 0 ;
17599 PyObject * obj1 = 0 ;
d14a1e28
RD
17600 PyObject * obj2 = 0 ;
17601 char *kwnames[] = {
17602 (char *) "type",(char *) "winid",(char *) "menu", NULL
17603 };
17604
994141e6
RD
17605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17606 if (obj0) {
c32bde28 17607 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 17608 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17609 }
17610 if (obj1) {
c32bde28 17611 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17612 if (PyErr_Occurred()) SWIG_fail;
994141e6 17613 }
d14a1e28 17614 if (obj2) {
15afbcd0
RD
17615 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17617 }
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17621
17622 wxPyEndAllowThreads(__tstate);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
15afbcd0 17625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
17626 return resultobj;
17627 fail:
17628 return NULL;
17629}
17630
17631
c32bde28 17632static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17633 PyObject *resultobj;
17634 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17635 int result;
17636 PyObject * obj0 = 0 ;
17637 char *kwnames[] = {
17638 (char *) "self", NULL
17639 };
17640
17641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15afbcd0
RD
17642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17644 {
17645 PyThreadState* __tstate = wxPyBeginAllowThreads();
17646 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17647
17648 wxPyEndAllowThreads(__tstate);
17649 if (PyErr_Occurred()) SWIG_fail;
17650 }
c32bde28 17651 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
17652 return resultobj;
17653 fail:
17654 return NULL;
17655}
17656
17657
c32bde28 17658static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17659 PyObject *resultobj;
17660 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17661 bool result;
17662 PyObject * obj0 = 0 ;
17663 char *kwnames[] = {
17664 (char *) "self", NULL
17665 };
17666
17667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15afbcd0
RD
17668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17670 {
17671 PyThreadState* __tstate = wxPyBeginAllowThreads();
17672 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17673
17674 wxPyEndAllowThreads(__tstate);
17675 if (PyErr_Occurred()) SWIG_fail;
17676 }
4f89f6a3
RD
17677 {
17678 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17679 }
d14a1e28
RD
17680 return resultobj;
17681 fail:
17682 return NULL;
17683}
17684
17685
c32bde28 17686static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17687 PyObject *resultobj;
17688 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17689 wxMenu *result;
17690 PyObject * obj0 = 0 ;
17691 char *kwnames[] = {
17692 (char *) "self", NULL
17693 };
17694
17695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
17696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17701
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 {
412d302d 17706 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
17707 }
17708 return resultobj;
17709 fail:
17710 return NULL;
17711}
17712
17713
c32bde28 17714static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17715 PyObject *obj;
17716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17717 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17718 Py_INCREF(obj);
17719 return Py_BuildValue((char *)"");
17720}
c32bde28 17721static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17722 PyObject *resultobj;
17723 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17724 int arg2 = (int) 0 ;
17725 wxCloseEvent *result;
994141e6
RD
17726 PyObject * obj0 = 0 ;
17727 PyObject * obj1 = 0 ;
d14a1e28
RD
17728 char *kwnames[] = {
17729 (char *) "type",(char *) "winid", NULL
17730 };
17731
994141e6
RD
17732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17733 if (obj0) {
c32bde28 17734 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 17735 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17736 }
17737 if (obj1) {
c32bde28 17738 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 17739 if (PyErr_Occurred()) SWIG_fail;
994141e6 17740 }
d14a1e28
RD
17741 {
17742 PyThreadState* __tstate = wxPyBeginAllowThreads();
17743 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17744
17745 wxPyEndAllowThreads(__tstate);
17746 if (PyErr_Occurred()) SWIG_fail;
17747 }
15afbcd0 17748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
17749 return resultobj;
17750 fail:
17751 return NULL;
17752}
17753
17754
c32bde28 17755static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17756 PyObject *resultobj;
17757 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17758 bool arg2 ;
17759 PyObject * obj0 = 0 ;
17760 PyObject * obj1 = 0 ;
17761 char *kwnames[] = {
17762 (char *) "self",(char *) "logOff", NULL
17763 };
17764
17765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17768 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 17769 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17770 {
17771 PyThreadState* __tstate = wxPyBeginAllowThreads();
17772 (arg1)->SetLoggingOff(arg2);
17773
17774 wxPyEndAllowThreads(__tstate);
17775 if (PyErr_Occurred()) SWIG_fail;
17776 }
17777 Py_INCREF(Py_None); resultobj = Py_None;
17778 return resultobj;
17779 fail:
17780 return NULL;
17781}
17782
17783
c32bde28 17784static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17785 PyObject *resultobj;
17786 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17787 bool result;
17788 PyObject * obj0 = 0 ;
17789 char *kwnames[] = {
17790 (char *) "self", NULL
17791 };
17792
17793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15afbcd0
RD
17794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17796 {
17797 PyThreadState* __tstate = wxPyBeginAllowThreads();
17798 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17799
17800 wxPyEndAllowThreads(__tstate);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
4f89f6a3
RD
17803 {
17804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17805 }
d14a1e28
RD
17806 return resultobj;
17807 fail:
17808 return NULL;
17809}
17810
17811
c32bde28 17812static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17813 PyObject *resultobj;
17814 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
ae8162c8 17815 bool arg2 = (bool) true ;
d14a1e28
RD
17816 PyObject * obj0 = 0 ;
17817 PyObject * obj1 = 0 ;
17818 char *kwnames[] = {
17819 (char *) "self",(char *) "veto", NULL
17820 };
17821
17822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 17825 if (obj1) {
c32bde28 17826 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 17827 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17828 }
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 (arg1)->Veto(arg2);
17832
17833 wxPyEndAllowThreads(__tstate);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 Py_INCREF(Py_None); resultobj = Py_None;
17837 return resultobj;
17838 fail:
17839 return NULL;
17840}
17841
17842
c32bde28 17843static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17844 PyObject *resultobj;
17845 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17846 bool arg2 ;
17847 PyObject * obj0 = 0 ;
17848 PyObject * obj1 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self",(char *) "canVeto", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17856 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 17857 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17858 {
17859 PyThreadState* __tstate = wxPyBeginAllowThreads();
17860 (arg1)->SetCanVeto(arg2);
17861
17862 wxPyEndAllowThreads(__tstate);
17863 if (PyErr_Occurred()) SWIG_fail;
17864 }
17865 Py_INCREF(Py_None); resultobj = Py_None;
17866 return resultobj;
17867 fail:
17868 return NULL;
17869}
17870
17871
c32bde28 17872static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17873 PyObject *resultobj;
17874 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17875 bool result;
17876 PyObject * obj0 = 0 ;
17877 char *kwnames[] = {
17878 (char *) "self", NULL
17879 };
17880
17881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
4f89f6a3
RD
17891 {
17892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17893 }
d14a1e28
RD
17894 return resultobj;
17895 fail:
17896 return NULL;
17897}
17898
17899
c32bde28 17900static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17901 PyObject *resultobj;
17902 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17903 bool result;
17904 PyObject * obj0 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "self", NULL
17907 };
17908
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17912 {
17913 PyThreadState* __tstate = wxPyBeginAllowThreads();
17914 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17915
17916 wxPyEndAllowThreads(__tstate);
17917 if (PyErr_Occurred()) SWIG_fail;
17918 }
4f89f6a3
RD
17919 {
17920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17921 }
d14a1e28
RD
17922 return resultobj;
17923 fail:
17924 return NULL;
17925}
17926
17927
c32bde28 17928static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17929 PyObject *obj;
17930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17931 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17932 Py_INCREF(obj);
17933 return Py_BuildValue((char *)"");
17934}
c32bde28 17935static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17936 PyObject *resultobj;
17937 int arg1 = (int) 0 ;
ae8162c8 17938 bool arg2 = (bool) false ;
d14a1e28 17939 wxShowEvent *result;
994141e6 17940 PyObject * obj0 = 0 ;
d14a1e28
RD
17941 PyObject * obj1 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "winid",(char *) "show", NULL
17944 };
17945
994141e6
RD
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17947 if (obj0) {
c32bde28 17948 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 17949 if (PyErr_Occurred()) SWIG_fail;
994141e6 17950 }
d14a1e28 17951 if (obj1) {
c32bde28 17952 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 17953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17954 }
17955 {
17956 PyThreadState* __tstate = wxPyBeginAllowThreads();
17957 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17958
17959 wxPyEndAllowThreads(__tstate);
17960 if (PyErr_Occurred()) SWIG_fail;
17961 }
15afbcd0 17962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
17963 return resultobj;
17964 fail:
17965 return NULL;
17966}
17967
17968
c32bde28 17969static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17970 PyObject *resultobj;
17971 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17972 bool arg2 ;
17973 PyObject * obj0 = 0 ;
17974 PyObject * obj1 = 0 ;
17975 char *kwnames[] = {
17976 (char *) "self",(char *) "show", NULL
17977 };
17978
17979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 17982 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 17983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17984 {
17985 PyThreadState* __tstate = wxPyBeginAllowThreads();
17986 (arg1)->SetShow(arg2);
17987
17988 wxPyEndAllowThreads(__tstate);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 }
17991 Py_INCREF(Py_None); resultobj = Py_None;
17992 return resultobj;
17993 fail:
17994 return NULL;
17995}
17996
17997
c32bde28 17998static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17999 PyObject *resultobj;
18000 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
18001 bool result;
18002 PyObject * obj0 = 0 ;
18003 char *kwnames[] = {
18004 (char *) "self", NULL
18005 };
18006
18007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
18009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = (bool)((wxShowEvent const *)arg1)->GetShow();
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
4f89f6a3
RD
18017 {
18018 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18019 }
d14a1e28
RD
18020 return resultobj;
18021 fail:
18022 return NULL;
18023}
18024
18025
c32bde28 18026static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18027 PyObject *obj;
18028 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18029 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
18030 Py_INCREF(obj);
18031 return Py_BuildValue((char *)"");
18032}
c32bde28 18033static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18034 PyObject *resultobj;
18035 int arg1 = (int) 0 ;
ae8162c8 18036 bool arg2 = (bool) true ;
d14a1e28 18037 wxIconizeEvent *result;
994141e6 18038 PyObject * obj0 = 0 ;
d14a1e28
RD
18039 PyObject * obj1 = 0 ;
18040 char *kwnames[] = {
18041 (char *) "id",(char *) "iconized", NULL
18042 };
18043
994141e6
RD
18044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
18045 if (obj0) {
c32bde28 18046 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18047 if (PyErr_Occurred()) SWIG_fail;
994141e6 18048 }
d14a1e28 18049 if (obj1) {
c32bde28 18050 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18052 }
18053 {
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
18056
18057 wxPyEndAllowThreads(__tstate);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 }
15afbcd0 18060 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
18061 return resultobj;
18062 fail:
18063 return NULL;
18064}
18065
18066
c32bde28 18067static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18068 PyObject *resultobj;
18069 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
18070 bool result;
18071 PyObject * obj0 = 0 ;
18072 char *kwnames[] = {
18073 (char *) "self", NULL
18074 };
18075
18076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15afbcd0
RD
18077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
18078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18079 {
18080 PyThreadState* __tstate = wxPyBeginAllowThreads();
18081 result = (bool)(arg1)->Iconized();
18082
18083 wxPyEndAllowThreads(__tstate);
18084 if (PyErr_Occurred()) SWIG_fail;
18085 }
4f89f6a3
RD
18086 {
18087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18088 }
d14a1e28
RD
18089 return resultobj;
18090 fail:
18091 return NULL;
18092}
18093
18094
c32bde28 18095static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18096 PyObject *obj;
18097 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18098 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
18099 Py_INCREF(obj);
18100 return Py_BuildValue((char *)"");
18101}
c32bde28 18102static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18103 PyObject *resultobj;
18104 int arg1 = (int) 0 ;
18105 wxMaximizeEvent *result;
994141e6 18106 PyObject * obj0 = 0 ;
d14a1e28
RD
18107 char *kwnames[] = {
18108 (char *) "id", NULL
18109 };
18110
994141e6
RD
18111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
18112 if (obj0) {
c32bde28 18113 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18114 if (PyErr_Occurred()) SWIG_fail;
994141e6 18115 }
d14a1e28
RD
18116 {
18117 PyThreadState* __tstate = wxPyBeginAllowThreads();
18118 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
18119
18120 wxPyEndAllowThreads(__tstate);
18121 if (PyErr_Occurred()) SWIG_fail;
18122 }
15afbcd0 18123 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
18124 return resultobj;
18125 fail:
18126 return NULL;
18127}
18128
18129
c32bde28 18130static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18131 PyObject *obj;
18132 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18133 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
18134 Py_INCREF(obj);
18135 return Py_BuildValue((char *)"");
18136}
c32bde28 18137static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18138 PyObject *resultobj;
18139 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
18140 wxPoint result;
18141 PyObject * obj0 = 0 ;
18142 char *kwnames[] = {
18143 (char *) "self", NULL
18144 };
18145
18146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
18147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
18148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18149 {
18150 PyThreadState* __tstate = wxPyBeginAllowThreads();
18151 result = (arg1)->GetPosition();
18152
18153 wxPyEndAllowThreads(__tstate);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 }
18156 {
18157 wxPoint * resultptr;
18158 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 18159 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
18160 }
18161 return resultobj;
18162 fail:
18163 return NULL;
18164}
18165
18166
c32bde28 18167static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18168 PyObject *resultobj;
18169 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
18170 int result;
18171 PyObject * obj0 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
18177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
18178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18179 {
18180 PyThreadState* __tstate = wxPyBeginAllowThreads();
18181 result = (int)(arg1)->GetNumberOfFiles();
18182
18183 wxPyEndAllowThreads(__tstate);
18184 if (PyErr_Occurred()) SWIG_fail;
18185 }
c32bde28 18186 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18187 return resultobj;
18188 fail:
18189 return NULL;
18190}
18191
18192
c32bde28 18193static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18194 PyObject *resultobj;
18195 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
18196 PyObject *result;
18197 PyObject * obj0 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "self", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
18203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
18204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18205 {
18206 PyThreadState* __tstate = wxPyBeginAllowThreads();
18207 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
18208
18209 wxPyEndAllowThreads(__tstate);
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 resultobj = result;
18213 return resultobj;
18214 fail:
18215 return NULL;
18216}
18217
18218
c32bde28 18219static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18220 PyObject *obj;
18221 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18222 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
18223 Py_INCREF(obj);
18224 return Py_BuildValue((char *)"");
18225}
c32bde28 18226static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18227 PyObject *resultobj;
e811c8ce 18228 int arg1 = (int) 0 ;
d14a1e28 18229 wxUpdateUIEvent *result;
994141e6 18230 PyObject * obj0 = 0 ;
d14a1e28
RD
18231 char *kwnames[] = {
18232 (char *) "commandId", NULL
18233 };
18234
994141e6
RD
18235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
18236 if (obj0) {
c32bde28 18237 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18238 if (PyErr_Occurred()) SWIG_fail;
994141e6 18239 }
d14a1e28
RD
18240 {
18241 PyThreadState* __tstate = wxPyBeginAllowThreads();
18242 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
18243
18244 wxPyEndAllowThreads(__tstate);
18245 if (PyErr_Occurred()) SWIG_fail;
18246 }
15afbcd0 18247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
18248 return resultobj;
18249 fail:
18250 return NULL;
18251}
18252
18253
c32bde28 18254static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18255 PyObject *resultobj;
18256 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18257 bool result;
18258 PyObject * obj0 = 0 ;
18259 char *kwnames[] = {
18260 (char *) "self", NULL
18261 };
18262
18263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
18264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18266 {
18267 PyThreadState* __tstate = wxPyBeginAllowThreads();
18268 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
18269
18270 wxPyEndAllowThreads(__tstate);
18271 if (PyErr_Occurred()) SWIG_fail;
18272 }
4f89f6a3
RD
18273 {
18274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18275 }
d14a1e28
RD
18276 return resultobj;
18277 fail:
18278 return NULL;
18279}
18280
18281
c32bde28 18282static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18283 PyObject *resultobj;
18284 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18285 bool result;
18286 PyObject * obj0 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "self", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
18292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
4f89f6a3
RD
18301 {
18302 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18303 }
d14a1e28
RD
18304 return resultobj;
18305 fail:
18306 return NULL;
18307}
18308
18309
c32bde28 18310static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18311 PyObject *resultobj;
18312 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18313 wxString result;
18314 PyObject * obj0 = 0 ;
18315 char *kwnames[] = {
18316 (char *) "self", NULL
18317 };
18318
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
18320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18322 {
18323 PyThreadState* __tstate = wxPyBeginAllowThreads();
18324 result = ((wxUpdateUIEvent const *)arg1)->GetText();
18325
18326 wxPyEndAllowThreads(__tstate);
18327 if (PyErr_Occurred()) SWIG_fail;
18328 }
18329 {
18330#if wxUSE_UNICODE
18331 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18332#else
18333 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18334#endif
18335 }
18336 return resultobj;
18337 fail:
18338 return NULL;
18339}
18340
18341
c32bde28 18342static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18343 PyObject *resultobj;
18344 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18345 bool result;
18346 PyObject * obj0 = 0 ;
18347 char *kwnames[] = {
18348 (char *) "self", NULL
18349 };
18350
18351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
18352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18354 {
18355 PyThreadState* __tstate = wxPyBeginAllowThreads();
18356 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
18357
18358 wxPyEndAllowThreads(__tstate);
18359 if (PyErr_Occurred()) SWIG_fail;
18360 }
4f89f6a3
RD
18361 {
18362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18363 }
d14a1e28
RD
18364 return resultobj;
18365 fail:
18366 return NULL;
18367}
18368
18369
c32bde28 18370static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18371 PyObject *resultobj;
18372 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18373 bool result;
18374 PyObject * obj0 = 0 ;
18375 char *kwnames[] = {
18376 (char *) "self", NULL
18377 };
18378
18379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
18380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18382 {
18383 PyThreadState* __tstate = wxPyBeginAllowThreads();
18384 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
18385
18386 wxPyEndAllowThreads(__tstate);
18387 if (PyErr_Occurred()) SWIG_fail;
18388 }
4f89f6a3
RD
18389 {
18390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18391 }
d14a1e28
RD
18392 return resultobj;
18393 fail:
18394 return NULL;
18395}
18396
18397
c32bde28 18398static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18399 PyObject *resultobj;
18400 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18401 bool result;
18402 PyObject * obj0 = 0 ;
18403 char *kwnames[] = {
18404 (char *) "self", NULL
18405 };
18406
18407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
18408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18410 {
18411 PyThreadState* __tstate = wxPyBeginAllowThreads();
18412 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
18413
18414 wxPyEndAllowThreads(__tstate);
18415 if (PyErr_Occurred()) SWIG_fail;
18416 }
4f89f6a3
RD
18417 {
18418 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18419 }
d14a1e28
RD
18420 return resultobj;
18421 fail:
18422 return NULL;
18423}
18424
18425
c32bde28 18426static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18427 PyObject *resultobj;
18428 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18429 bool arg2 ;
18430 PyObject * obj0 = 0 ;
18431 PyObject * obj1 = 0 ;
18432 char *kwnames[] = {
18433 (char *) "self",(char *) "check", NULL
18434 };
18435
18436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18439 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18440 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 (arg1)->Check(arg2);
18444
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 Py_INCREF(Py_None); resultobj = Py_None;
18449 return resultobj;
18450 fail:
18451 return NULL;
18452}
18453
18454
c32bde28 18455static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18456 PyObject *resultobj;
18457 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18458 bool arg2 ;
18459 PyObject * obj0 = 0 ;
18460 PyObject * obj1 = 0 ;
18461 char *kwnames[] = {
18462 (char *) "self",(char *) "enable", NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18468 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18469 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18470 {
18471 PyThreadState* __tstate = wxPyBeginAllowThreads();
18472 (arg1)->Enable(arg2);
18473
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 Py_INCREF(Py_None); resultobj = Py_None;
18478 return resultobj;
18479 fail:
18480 return NULL;
18481}
18482
18483
c32bde28 18484static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18485 PyObject *resultobj;
18486 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18487 wxString *arg2 = 0 ;
ae8162c8 18488 bool temp2 = false ;
d14a1e28
RD
18489 PyObject * obj0 = 0 ;
18490 PyObject * obj1 = 0 ;
18491 char *kwnames[] = {
18492 (char *) "self",(char *) "text", NULL
18493 };
18494
18495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18498 {
18499 arg2 = wxString_in_helper(obj1);
18500 if (arg2 == NULL) SWIG_fail;
ae8162c8 18501 temp2 = true;
d14a1e28
RD
18502 }
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 (arg1)->SetText((wxString const &)*arg2);
18506
18507 wxPyEndAllowThreads(__tstate);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
18510 Py_INCREF(Py_None); resultobj = Py_None;
18511 {
18512 if (temp2)
18513 delete arg2;
18514 }
18515 return resultobj;
18516 fail:
18517 {
18518 if (temp2)
18519 delete arg2;
18520 }
18521 return NULL;
18522}
18523
18524
c32bde28 18525static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18526 PyObject *resultobj;
18527 long arg1 ;
994141e6 18528 PyObject * obj0 = 0 ;
d14a1e28
RD
18529 char *kwnames[] = {
18530 (char *) "updateInterval", NULL
18531 };
18532
994141e6 18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
c32bde28 18534 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 18535 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18536 {
18537 PyThreadState* __tstate = wxPyBeginAllowThreads();
18538 wxUpdateUIEvent::SetUpdateInterval(arg1);
18539
18540 wxPyEndAllowThreads(__tstate);
18541 if (PyErr_Occurred()) SWIG_fail;
18542 }
18543 Py_INCREF(Py_None); resultobj = Py_None;
18544 return resultobj;
18545 fail:
18546 return NULL;
18547}
18548
18549
c32bde28 18550static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18551 PyObject *resultobj;
18552 long result;
18553 char *kwnames[] = {
18554 NULL
18555 };
18556
18557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
c32bde28 18565 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
18566 return resultobj;
18567 fail:
18568 return NULL;
18569}
18570
18571
c32bde28 18572static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18573 PyObject *resultobj;
18574 wxWindow *arg1 = (wxWindow *) 0 ;
18575 bool result;
18576 PyObject * obj0 = 0 ;
18577 char *kwnames[] = {
18578 (char *) "win", NULL
18579 };
18580
18581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
15afbcd0
RD
18582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18584 {
18585 PyThreadState* __tstate = wxPyBeginAllowThreads();
18586 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18587
18588 wxPyEndAllowThreads(__tstate);
18589 if (PyErr_Occurred()) SWIG_fail;
18590 }
4f89f6a3
RD
18591 {
18592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18593 }
d14a1e28
RD
18594 return resultobj;
18595 fail:
18596 return NULL;
18597}
18598
18599
c32bde28 18600static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18601 PyObject *resultobj;
18602 char *kwnames[] = {
18603 NULL
18604 };
18605
18606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18607 {
18608 PyThreadState* __tstate = wxPyBeginAllowThreads();
18609 wxUpdateUIEvent::ResetUpdateTime();
18610
18611 wxPyEndAllowThreads(__tstate);
18612 if (PyErr_Occurred()) SWIG_fail;
18613 }
18614 Py_INCREF(Py_None); resultobj = Py_None;
18615 return resultobj;
18616 fail:
18617 return NULL;
18618}
18619
18620
c32bde28 18621static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18622 PyObject *resultobj;
18623 int arg1 ;
994141e6 18624 PyObject * obj0 = 0 ;
d14a1e28
RD
18625 char *kwnames[] = {
18626 (char *) "mode", NULL
18627 };
18628
994141e6 18629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
c32bde28 18630 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18631 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18632 {
18633 PyThreadState* __tstate = wxPyBeginAllowThreads();
18634 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18635
18636 wxPyEndAllowThreads(__tstate);
18637 if (PyErr_Occurred()) SWIG_fail;
18638 }
18639 Py_INCREF(Py_None); resultobj = Py_None;
18640 return resultobj;
18641 fail:
18642 return NULL;
18643}
18644
18645
c32bde28 18646static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18647 PyObject *resultobj;
18648 int result;
18649 char *kwnames[] = {
18650 NULL
18651 };
18652
18653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18654 {
18655 PyThreadState* __tstate = wxPyBeginAllowThreads();
18656 result = (int)wxUpdateUIEvent::GetMode();
18657
18658 wxPyEndAllowThreads(__tstate);
18659 if (PyErr_Occurred()) SWIG_fail;
18660 }
c32bde28 18661 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
18662 return resultobj;
18663 fail:
18664 return NULL;
18665}
18666
18667
c32bde28 18668static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18669 PyObject *obj;
18670 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18671 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18672 Py_INCREF(obj);
18673 return Py_BuildValue((char *)"");
18674}
c32bde28 18675static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18676 PyObject *resultobj;
18677 wxSysColourChangedEvent *result;
18678 char *kwnames[] = {
18679 NULL
18680 };
18681
18682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18683 {
18684 PyThreadState* __tstate = wxPyBeginAllowThreads();
18685 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18686
18687 wxPyEndAllowThreads(__tstate);
18688 if (PyErr_Occurred()) SWIG_fail;
18689 }
15afbcd0 18690 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
18691 return resultobj;
18692 fail:
18693 return NULL;
18694}
18695
18696
c32bde28 18697static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18698 PyObject *obj;
18699 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18700 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18701 Py_INCREF(obj);
18702 return Py_BuildValue((char *)"");
18703}
c32bde28 18704static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18705 PyObject *resultobj;
e811c8ce 18706 int arg1 = (int) 0 ;
d14a1e28
RD
18707 wxWindow *arg2 = (wxWindow *) NULL ;
18708 wxMouseCaptureChangedEvent *result;
994141e6 18709 PyObject * obj0 = 0 ;
d14a1e28
RD
18710 PyObject * obj1 = 0 ;
18711 char *kwnames[] = {
18712 (char *) "winid",(char *) "gainedCapture", NULL
18713 };
18714
994141e6
RD
18715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18716 if (obj0) {
c32bde28 18717 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18718 if (PyErr_Occurred()) SWIG_fail;
994141e6 18719 }
d14a1e28 18720 if (obj1) {
15afbcd0
RD
18721 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18723 }
18724 {
18725 PyThreadState* __tstate = wxPyBeginAllowThreads();
18726 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18727
18728 wxPyEndAllowThreads(__tstate);
18729 if (PyErr_Occurred()) SWIG_fail;
18730 }
15afbcd0 18731 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
18732 return resultobj;
18733 fail:
18734 return NULL;
18735}
18736
18737
c32bde28 18738static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18739 PyObject *resultobj;
18740 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18741 wxWindow *result;
18742 PyObject * obj0 = 0 ;
18743 char *kwnames[] = {
18744 (char *) "self", NULL
18745 };
18746
18747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18753
18754 wxPyEndAllowThreads(__tstate);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
18757 {
412d302d 18758 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18759 }
18760 return resultobj;
18761 fail:
18762 return NULL;
18763}
18764
18765
c32bde28 18766static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18767 PyObject *obj;
18768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18769 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18770 Py_INCREF(obj);
18771 return Py_BuildValue((char *)"");
18772}
c32bde28 18773static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18774 PyObject *resultobj;
18775 wxDisplayChangedEvent *result;
18776 char *kwnames[] = {
18777 NULL
18778 };
18779
18780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18784
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
15afbcd0 18788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
18789 return resultobj;
18790 fail:
18791 return NULL;
18792}
18793
18794
c32bde28 18795static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18796 PyObject *obj;
18797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18798 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18799 Py_INCREF(obj);
18800 return Py_BuildValue((char *)"");
18801}
c32bde28 18802static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18803 PyObject *resultobj;
e811c8ce 18804 int arg1 = (int) 0 ;
d14a1e28 18805 wxPaletteChangedEvent *result;
994141e6 18806 PyObject * obj0 = 0 ;
d14a1e28
RD
18807 char *kwnames[] = {
18808 (char *) "id", NULL
18809 };
18810
994141e6
RD
18811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18812 if (obj0) {
c32bde28 18813 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18814 if (PyErr_Occurred()) SWIG_fail;
994141e6 18815 }
d14a1e28
RD
18816 {
18817 PyThreadState* __tstate = wxPyBeginAllowThreads();
18818 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18819
18820 wxPyEndAllowThreads(__tstate);
18821 if (PyErr_Occurred()) SWIG_fail;
18822 }
15afbcd0 18823 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
18824 return resultobj;
18825 fail:
18826 return NULL;
18827}
18828
18829
c32bde28 18830static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18831 PyObject *resultobj;
18832 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18833 wxWindow *arg2 = (wxWindow *) 0 ;
18834 PyObject * obj0 = 0 ;
18835 PyObject * obj1 = 0 ;
18836 char *kwnames[] = {
18837 (char *) "self",(char *) "win", NULL
18838 };
18839
18840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18845 {
18846 PyThreadState* __tstate = wxPyBeginAllowThreads();
18847 (arg1)->SetChangedWindow(arg2);
18848
18849 wxPyEndAllowThreads(__tstate);
18850 if (PyErr_Occurred()) SWIG_fail;
18851 }
18852 Py_INCREF(Py_None); resultobj = Py_None;
18853 return resultobj;
18854 fail:
18855 return NULL;
18856}
18857
18858
c32bde28 18859static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18860 PyObject *resultobj;
18861 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18862 wxWindow *result;
18863 PyObject * obj0 = 0 ;
18864 char *kwnames[] = {
18865 (char *) "self", NULL
18866 };
18867
18868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18871 {
18872 PyThreadState* __tstate = wxPyBeginAllowThreads();
18873 result = (wxWindow *)(arg1)->GetChangedWindow();
18874
18875 wxPyEndAllowThreads(__tstate);
18876 if (PyErr_Occurred()) SWIG_fail;
18877 }
18878 {
412d302d 18879 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
18880 }
18881 return resultobj;
18882 fail:
18883 return NULL;
18884}
18885
18886
c32bde28 18887static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18888 PyObject *obj;
18889 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18890 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18891 Py_INCREF(obj);
18892 return Py_BuildValue((char *)"");
18893}
c32bde28 18894static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18895 PyObject *resultobj;
e811c8ce 18896 int arg1 = (int) 0 ;
d14a1e28 18897 wxQueryNewPaletteEvent *result;
994141e6 18898 PyObject * obj0 = 0 ;
d14a1e28
RD
18899 char *kwnames[] = {
18900 (char *) "winid", NULL
18901 };
18902
994141e6
RD
18903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18904 if (obj0) {
c32bde28 18905 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 18906 if (PyErr_Occurred()) SWIG_fail;
994141e6 18907 }
d14a1e28
RD
18908 {
18909 PyThreadState* __tstate = wxPyBeginAllowThreads();
18910 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18911
18912 wxPyEndAllowThreads(__tstate);
18913 if (PyErr_Occurred()) SWIG_fail;
18914 }
15afbcd0 18915 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
18916 return resultobj;
18917 fail:
18918 return NULL;
18919}
18920
18921
c32bde28 18922static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18923 PyObject *resultobj;
18924 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18925 bool arg2 ;
18926 PyObject * obj0 = 0 ;
18927 PyObject * obj1 = 0 ;
18928 char *kwnames[] = {
18929 (char *) "self",(char *) "realized", NULL
18930 };
18931
18932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 18935 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 18936 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 (arg1)->SetPaletteRealized(arg2);
18940
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 Py_INCREF(Py_None); resultobj = Py_None;
18945 return resultobj;
18946 fail:
18947 return NULL;
18948}
18949
18950
c32bde28 18951static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18952 PyObject *resultobj;
18953 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18954 bool result;
18955 PyObject * obj0 = 0 ;
18956 char *kwnames[] = {
18957 (char *) "self", NULL
18958 };
18959
18960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
15afbcd0
RD
18961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18963 {
18964 PyThreadState* __tstate = wxPyBeginAllowThreads();
18965 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18966
18967 wxPyEndAllowThreads(__tstate);
18968 if (PyErr_Occurred()) SWIG_fail;
18969 }
4f89f6a3
RD
18970 {
18971 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18972 }
d14a1e28
RD
18973 return resultobj;
18974 fail:
18975 return NULL;
18976}
18977
18978
c32bde28 18979static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18980 PyObject *obj;
18981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18982 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18983 Py_INCREF(obj);
18984 return Py_BuildValue((char *)"");
18985}
c32bde28 18986static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18987 PyObject *resultobj;
18988 wxNavigationKeyEvent *result;
18989 char *kwnames[] = {
18990 NULL
18991 };
18992
18993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18994 {
18995 PyThreadState* __tstate = wxPyBeginAllowThreads();
18996 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18997
18998 wxPyEndAllowThreads(__tstate);
18999 if (PyErr_Occurred()) SWIG_fail;
19000 }
15afbcd0 19001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
19002 return resultobj;
19003 fail:
19004 return NULL;
19005}
19006
19007
c32bde28 19008static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19009 PyObject *resultobj;
19010 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19011 bool result;
19012 PyObject * obj0 = 0 ;
19013 char *kwnames[] = {
19014 (char *) "self", NULL
19015 };
19016
19017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
19018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19020 {
19021 PyThreadState* __tstate = wxPyBeginAllowThreads();
19022 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
19023
19024 wxPyEndAllowThreads(__tstate);
19025 if (PyErr_Occurred()) SWIG_fail;
19026 }
4f89f6a3
RD
19027 {
19028 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19029 }
d14a1e28
RD
19030 return resultobj;
19031 fail:
19032 return NULL;
19033}
19034
19035
c32bde28 19036static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19037 PyObject *resultobj;
19038 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19039 bool arg2 ;
19040 PyObject * obj0 = 0 ;
19041 PyObject * obj1 = 0 ;
19042 char *kwnames[] = {
908b74cd 19043 (char *) "self",(char *) "forward", NULL
d14a1e28
RD
19044 };
19045
19046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19049 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19050 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19051 {
19052 PyThreadState* __tstate = wxPyBeginAllowThreads();
19053 (arg1)->SetDirection(arg2);
19054
19055 wxPyEndAllowThreads(__tstate);
19056 if (PyErr_Occurred()) SWIG_fail;
19057 }
19058 Py_INCREF(Py_None); resultobj = Py_None;
19059 return resultobj;
19060 fail:
19061 return NULL;
19062}
19063
19064
c32bde28 19065static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19066 PyObject *resultobj;
19067 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19068 bool result;
19069 PyObject * obj0 = 0 ;
19070 char *kwnames[] = {
19071 (char *) "self", NULL
19072 };
19073
19074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
15afbcd0
RD
19075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19077 {
19078 PyThreadState* __tstate = wxPyBeginAllowThreads();
19079 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
19080
19081 wxPyEndAllowThreads(__tstate);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 }
4f89f6a3
RD
19084 {
19085 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19086 }
d14a1e28
RD
19087 return resultobj;
19088 fail:
19089 return NULL;
19090}
19091
19092
c32bde28 19093static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19094 PyObject *resultobj;
19095 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19096 bool arg2 ;
19097 PyObject * obj0 = 0 ;
19098 PyObject * obj1 = 0 ;
19099 char *kwnames[] = {
908b74cd 19100 (char *) "self",(char *) "ischange", NULL
d14a1e28
RD
19101 };
19102
19103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19106 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19107 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19108 {
19109 PyThreadState* __tstate = wxPyBeginAllowThreads();
19110 (arg1)->SetWindowChange(arg2);
19111
19112 wxPyEndAllowThreads(__tstate);
19113 if (PyErr_Occurred()) SWIG_fail;
19114 }
19115 Py_INCREF(Py_None); resultobj = Py_None;
19116 return resultobj;
19117 fail:
19118 return NULL;
19119}
19120
19121
c32bde28 19122static PyObject *_wrap_NavigationKeyEvent_SetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
19123 PyObject *resultobj;
19124 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19125 long arg2 ;
19126 PyObject * obj0 = 0 ;
19127 PyObject * obj1 = 0 ;
19128 char *kwnames[] = {
19129 (char *) "self",(char *) "flags", NULL
19130 };
19131
19132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
19133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 19135 arg2 = (long)SWIG_As_long(obj1);
908b74cd
RD
19136 if (PyErr_Occurred()) SWIG_fail;
19137 {
19138 PyThreadState* __tstate = wxPyBeginAllowThreads();
19139 (arg1)->SetFlags(arg2);
19140
19141 wxPyEndAllowThreads(__tstate);
19142 if (PyErr_Occurred()) SWIG_fail;
19143 }
19144 Py_INCREF(Py_None); resultobj = Py_None;
19145 return resultobj;
19146 fail:
19147 return NULL;
19148}
19149
19150
c32bde28 19151static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19152 PyObject *resultobj;
19153 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19154 wxWindow *result;
19155 PyObject * obj0 = 0 ;
19156 char *kwnames[] = {
19157 (char *) "self", NULL
19158 };
19159
19160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
19161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19163 {
19164 PyThreadState* __tstate = wxPyBeginAllowThreads();
19165 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
19166
19167 wxPyEndAllowThreads(__tstate);
19168 if (PyErr_Occurred()) SWIG_fail;
19169 }
19170 {
412d302d 19171 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19172 }
19173 return resultobj;
19174 fail:
19175 return NULL;
19176}
19177
19178
c32bde28 19179static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19180 PyObject *resultobj;
19181 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
19182 wxWindow *arg2 = (wxWindow *) 0 ;
19183 PyObject * obj0 = 0 ;
19184 PyObject * obj1 = 0 ;
19185 char *kwnames[] = {
19186 (char *) "self",(char *) "win", NULL
19187 };
19188
19189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
19191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19192 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 (arg1)->SetCurrentFocus(arg2);
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 Py_INCREF(Py_None); resultobj = Py_None;
19202 return resultobj;
19203 fail:
19204 return NULL;
19205}
19206
19207
c32bde28 19208static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19209 PyObject *obj;
19210 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19211 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
19212 Py_INCREF(obj);
19213 return Py_BuildValue((char *)"");
19214}
c32bde28 19215static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19216 PyObject *resultobj;
19217 wxWindow *arg1 = (wxWindow *) NULL ;
19218 wxWindowCreateEvent *result;
19219 PyObject * obj0 = 0 ;
19220 char *kwnames[] = {
19221 (char *) "win", NULL
19222 };
19223
19224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
19225 if (obj0) {
15afbcd0
RD
19226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19228 }
19229 {
19230 PyThreadState* __tstate = wxPyBeginAllowThreads();
19231 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
19232
19233 wxPyEndAllowThreads(__tstate);
19234 if (PyErr_Occurred()) SWIG_fail;
19235 }
15afbcd0 19236 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
19237 return resultobj;
19238 fail:
19239 return NULL;
19240}
19241
19242
c32bde28 19243static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19244 PyObject *resultobj;
19245 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
19246 wxWindow *result;
19247 PyObject * obj0 = 0 ;
19248 char *kwnames[] = {
19249 (char *) "self", NULL
19250 };
19251
19252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
19253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
19254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19255 {
19256 PyThreadState* __tstate = wxPyBeginAllowThreads();
19257 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
19258
19259 wxPyEndAllowThreads(__tstate);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 }
19262 {
412d302d 19263 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19264 }
19265 return resultobj;
19266 fail:
19267 return NULL;
19268}
19269
19270
c32bde28 19271static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19272 PyObject *obj;
19273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19274 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
19275 Py_INCREF(obj);
19276 return Py_BuildValue((char *)"");
19277}
c32bde28 19278static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19279 PyObject *resultobj;
19280 wxWindow *arg1 = (wxWindow *) NULL ;
19281 wxWindowDestroyEvent *result;
19282 PyObject * obj0 = 0 ;
19283 char *kwnames[] = {
19284 (char *) "win", NULL
19285 };
19286
19287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
19288 if (obj0) {
15afbcd0
RD
19289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19291 }
19292 {
19293 PyThreadState* __tstate = wxPyBeginAllowThreads();
19294 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
19295
19296 wxPyEndAllowThreads(__tstate);
19297 if (PyErr_Occurred()) SWIG_fail;
19298 }
15afbcd0 19299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
19300 return resultobj;
19301 fail:
19302 return NULL;
19303}
19304
19305
c32bde28 19306static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19307 PyObject *resultobj;
19308 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
19309 wxWindow *result;
19310 PyObject * obj0 = 0 ;
19311 char *kwnames[] = {
19312 (char *) "self", NULL
19313 };
19314
19315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
19316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
19317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19318 {
19319 PyThreadState* __tstate = wxPyBeginAllowThreads();
19320 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
19321
19322 wxPyEndAllowThreads(__tstate);
19323 if (PyErr_Occurred()) SWIG_fail;
19324 }
19325 {
412d302d 19326 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
19327 }
19328 return resultobj;
19329 fail:
19330 return NULL;
19331}
19332
19333
c32bde28 19334static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19335 PyObject *obj;
19336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19337 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
19338 Py_INCREF(obj);
19339 return Py_BuildValue((char *)"");
19340}
c32bde28 19341static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19342 PyObject *resultobj;
19343 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 19344 int arg2 = (int) 0 ;
d14a1e28
RD
19345 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19346 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19347 wxContextMenuEvent *result;
19348 wxPoint temp3 ;
994141e6
RD
19349 PyObject * obj0 = 0 ;
19350 PyObject * obj1 = 0 ;
d14a1e28
RD
19351 PyObject * obj2 = 0 ;
19352 char *kwnames[] = {
19353 (char *) "type",(char *) "winid",(char *) "pt", NULL
19354 };
19355
994141e6
RD
19356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
19357 if (obj0) {
c32bde28 19358 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 19359 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19360 }
19361 if (obj1) {
c32bde28 19362 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19363 if (PyErr_Occurred()) SWIG_fail;
994141e6 19364 }
d14a1e28
RD
19365 if (obj2) {
19366 {
19367 arg3 = &temp3;
19368 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19369 }
19370 }
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
19374
19375 wxPyEndAllowThreads(__tstate);
19376 if (PyErr_Occurred()) SWIG_fail;
19377 }
15afbcd0 19378 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
19379 return resultobj;
19380 fail:
19381 return NULL;
19382}
19383
19384
c32bde28 19385static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19386 PyObject *resultobj;
19387 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
19388 wxPoint *result;
19389 PyObject * obj0 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
19395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
19396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 {
19400 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
19401 result = (wxPoint *) &_result_ref;
19402 }
19403
19404 wxPyEndAllowThreads(__tstate);
19405 if (PyErr_Occurred()) SWIG_fail;
19406 }
15afbcd0 19407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
19408 return resultobj;
19409 fail:
19410 return NULL;
19411}
19412
19413
c32bde28 19414static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19415 PyObject *resultobj;
19416 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
19417 wxPoint *arg2 = 0 ;
19418 wxPoint temp2 ;
19419 PyObject * obj0 = 0 ;
19420 PyObject * obj1 = 0 ;
19421 char *kwnames[] = {
19422 (char *) "self",(char *) "pos", NULL
19423 };
19424
19425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
19427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19428 {
19429 arg2 = &temp2;
19430 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
19431 }
19432 {
19433 PyThreadState* __tstate = wxPyBeginAllowThreads();
19434 (arg1)->SetPosition((wxPoint const &)*arg2);
19435
19436 wxPyEndAllowThreads(__tstate);
19437 if (PyErr_Occurred()) SWIG_fail;
19438 }
19439 Py_INCREF(Py_None); resultobj = Py_None;
19440 return resultobj;
19441 fail:
19442 return NULL;
19443}
19444
19445
c32bde28 19446static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19447 PyObject *obj;
19448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19449 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
19450 Py_INCREF(obj);
19451 return Py_BuildValue((char *)"");
19452}
c32bde28 19453static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19454 PyObject *resultobj;
19455 wxIdleEvent *result;
19456 char *kwnames[] = {
19457 NULL
19458 };
19459
19460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
19461 {
19462 PyThreadState* __tstate = wxPyBeginAllowThreads();
19463 result = (wxIdleEvent *)new wxIdleEvent();
19464
19465 wxPyEndAllowThreads(__tstate);
19466 if (PyErr_Occurred()) SWIG_fail;
19467 }
15afbcd0 19468 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
19469 return resultobj;
19470 fail:
19471 return NULL;
19472}
19473
19474
c32bde28 19475static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19476 PyObject *resultobj;
19477 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
ae8162c8 19478 bool arg2 = (bool) true ;
d14a1e28
RD
19479 PyObject * obj0 = 0 ;
19480 PyObject * obj1 = 0 ;
19481 char *kwnames[] = {
19482 (char *) "self",(char *) "needMore", NULL
19483 };
19484
19485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19488 if (obj1) {
c32bde28 19489 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 19490 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19491 }
19492 {
19493 PyThreadState* __tstate = wxPyBeginAllowThreads();
19494 (arg1)->RequestMore(arg2);
19495
19496 wxPyEndAllowThreads(__tstate);
19497 if (PyErr_Occurred()) SWIG_fail;
19498 }
19499 Py_INCREF(Py_None); resultobj = Py_None;
19500 return resultobj;
19501 fail:
19502 return NULL;
19503}
19504
19505
c32bde28 19506static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19507 PyObject *resultobj;
19508 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19509 bool result;
19510 PyObject * obj0 = 0 ;
19511 char *kwnames[] = {
19512 (char *) "self", NULL
19513 };
19514
19515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
15afbcd0
RD
19516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19518 {
19519 PyThreadState* __tstate = wxPyBeginAllowThreads();
19520 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19521
19522 wxPyEndAllowThreads(__tstate);
19523 if (PyErr_Occurred()) SWIG_fail;
19524 }
4f89f6a3
RD
19525 {
19526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19527 }
d14a1e28
RD
19528 return resultobj;
19529 fail:
19530 return NULL;
19531}
19532
19533
c32bde28 19534static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19535 PyObject *resultobj;
19536 int arg1 ;
994141e6 19537 PyObject * obj0 = 0 ;
d14a1e28
RD
19538 char *kwnames[] = {
19539 (char *) "mode", NULL
19540 };
19541
994141e6 19542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
c32bde28 19543 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 19544 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19545 {
19546 PyThreadState* __tstate = wxPyBeginAllowThreads();
19547 wxIdleEvent::SetMode((wxIdleMode )arg1);
19548
19549 wxPyEndAllowThreads(__tstate);
19550 if (PyErr_Occurred()) SWIG_fail;
19551 }
19552 Py_INCREF(Py_None); resultobj = Py_None;
19553 return resultobj;
19554 fail:
19555 return NULL;
19556}
19557
19558
c32bde28 19559static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19560 PyObject *resultobj;
19561 int result;
19562 char *kwnames[] = {
19563 NULL
19564 };
19565
19566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19567 {
19568 PyThreadState* __tstate = wxPyBeginAllowThreads();
19569 result = (int)wxIdleEvent::GetMode();
19570
19571 wxPyEndAllowThreads(__tstate);
19572 if (PyErr_Occurred()) SWIG_fail;
19573 }
c32bde28 19574 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
19575 return resultobj;
19576 fail:
19577 return NULL;
19578}
19579
19580
c32bde28 19581static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19582 PyObject *resultobj;
19583 wxWindow *arg1 = (wxWindow *) 0 ;
19584 bool result;
19585 PyObject * obj0 = 0 ;
19586 char *kwnames[] = {
19587 (char *) "win", NULL
19588 };
19589
19590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
15afbcd0
RD
19591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 result = (bool)wxIdleEvent::CanSend(arg1);
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
4f89f6a3
RD
19600 {
19601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19602 }
d14a1e28
RD
19603 return resultobj;
19604 fail:
19605 return NULL;
19606}
19607
19608
c32bde28 19609static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19610 PyObject *obj;
19611 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19612 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19613 Py_INCREF(obj);
19614 return Py_BuildValue((char *)"");
19615}
c32bde28 19616static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19617 PyObject *resultobj;
19618 int arg1 = (int) 0 ;
19619 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19620 wxPyEvent *result;
994141e6
RD
19621 PyObject * obj0 = 0 ;
19622 PyObject * obj1 = 0 ;
d14a1e28
RD
19623 char *kwnames[] = {
19624 (char *) "winid",(char *) "commandType", NULL
19625 };
19626
994141e6
RD
19627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19628 if (obj0) {
c32bde28 19629 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 19630 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19631 }
19632 if (obj1) {
c32bde28 19633 arg2 = (wxEventType)SWIG_As_int(obj1);
15afbcd0 19634 if (PyErr_Occurred()) SWIG_fail;
994141e6 19635 }
d14a1e28
RD
19636 {
19637 PyThreadState* __tstate = wxPyBeginAllowThreads();
19638 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19639
19640 wxPyEndAllowThreads(__tstate);
19641 if (PyErr_Occurred()) SWIG_fail;
19642 }
15afbcd0 19643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
19644 return resultobj;
19645 fail:
19646 return NULL;
19647}
19648
19649
c32bde28 19650static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19651 PyObject *resultobj;
19652 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19653 PyObject * obj0 = 0 ;
19654 char *kwnames[] = {
19655 (char *) "self", NULL
19656 };
19657
19658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 delete arg1;
19664
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
19668 Py_INCREF(Py_None); resultobj = Py_None;
19669 return resultobj;
19670 fail:
19671 return NULL;
19672}
19673
19674
c32bde28 19675static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19676 PyObject *resultobj;
19677 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19678 PyObject *arg2 = (PyObject *) 0 ;
19679 PyObject * obj0 = 0 ;
19680 PyObject * obj1 = 0 ;
19681 char *kwnames[] = {
19682 (char *) "self",(char *) "self", NULL
19683 };
19684
19685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19688 arg2 = obj1;
19689 {
19690 PyThreadState* __tstate = wxPyBeginAllowThreads();
19691 (arg1)->SetSelf(arg2);
19692
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 Py_INCREF(Py_None); resultobj = Py_None;
19697 return resultobj;
19698 fail:
19699 return NULL;
19700}
19701
19702
c32bde28 19703static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19704 PyObject *resultobj;
19705 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19706 PyObject *result;
19707 PyObject * obj0 = 0 ;
19708 char *kwnames[] = {
19709 (char *) "self", NULL
19710 };
19711
19712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 result = (PyObject *)(arg1)->GetSelf();
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 resultobj = result;
19723 return resultobj;
19724 fail:
19725 return NULL;
19726}
19727
19728
c32bde28 19729static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19730 PyObject *obj;
19731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19732 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19733 Py_INCREF(obj);
19734 return Py_BuildValue((char *)"");
19735}
c32bde28 19736static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19737 PyObject *resultobj;
19738 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19739 int arg2 = (int) 0 ;
19740 wxPyCommandEvent *result;
994141e6
RD
19741 PyObject * obj0 = 0 ;
19742 PyObject * obj1 = 0 ;
d14a1e28
RD
19743 char *kwnames[] = {
19744 (char *) "commandType",(char *) "id", NULL
19745 };
19746
994141e6
RD
19747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19748 if (obj0) {
c32bde28 19749 arg1 = (wxEventType)SWIG_As_int(obj0);
15afbcd0 19750 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19751 }
19752 if (obj1) {
c32bde28 19753 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 19754 if (PyErr_Occurred()) SWIG_fail;
994141e6 19755 }
d14a1e28
RD
19756 {
19757 PyThreadState* __tstate = wxPyBeginAllowThreads();
19758 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19759
19760 wxPyEndAllowThreads(__tstate);
19761 if (PyErr_Occurred()) SWIG_fail;
19762 }
15afbcd0 19763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
19764 return resultobj;
19765 fail:
19766 return NULL;
19767}
19768
19769
c32bde28 19770static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19771 PyObject *resultobj;
19772 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19773 PyObject * obj0 = 0 ;
19774 char *kwnames[] = {
19775 (char *) "self", NULL
19776 };
19777
19778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19781 {
19782 PyThreadState* __tstate = wxPyBeginAllowThreads();
19783 delete arg1;
19784
19785 wxPyEndAllowThreads(__tstate);
19786 if (PyErr_Occurred()) SWIG_fail;
19787 }
19788 Py_INCREF(Py_None); resultobj = Py_None;
19789 return resultobj;
19790 fail:
19791 return NULL;
19792}
19793
19794
c32bde28 19795static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19796 PyObject *resultobj;
19797 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19798 PyObject *arg2 = (PyObject *) 0 ;
19799 PyObject * obj0 = 0 ;
19800 PyObject * obj1 = 0 ;
19801 char *kwnames[] = {
19802 (char *) "self",(char *) "self", NULL
19803 };
19804
19805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19808 arg2 = obj1;
19809 {
19810 PyThreadState* __tstate = wxPyBeginAllowThreads();
19811 (arg1)->SetSelf(arg2);
19812
19813 wxPyEndAllowThreads(__tstate);
19814 if (PyErr_Occurred()) SWIG_fail;
19815 }
19816 Py_INCREF(Py_None); resultobj = Py_None;
19817 return resultobj;
19818 fail:
19819 return NULL;
19820}
19821
19822
c32bde28 19823static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19824 PyObject *resultobj;
19825 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19826 PyObject *result;
19827 PyObject * obj0 = 0 ;
19828 char *kwnames[] = {
19829 (char *) "self", NULL
19830 };
19831
19832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 result = (PyObject *)(arg1)->GetSelf();
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 resultobj = result;
19843 return resultobj;
19844 fail:
19845 return NULL;
19846}
19847
19848
c32bde28 19849static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19850 PyObject *obj;
19851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19852 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19853 Py_INCREF(obj);
19854 return Py_BuildValue((char *)"");
19855}
c32bde28 19856static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19857 PyObject *resultobj;
19858 wxPyApp *result;
19859 char *kwnames[] = {
19860 NULL
19861 };
19862
19863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19864 {
19865 PyThreadState* __tstate = wxPyBeginAllowThreads();
19866 result = (wxPyApp *)new_wxPyApp();
19867
19868 wxPyEndAllowThreads(__tstate);
19869 if (PyErr_Occurred()) SWIG_fail;
19870 }
b0f7404b 19871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyApp, 1);
d14a1e28
RD
19872 return resultobj;
19873 fail:
19874 return NULL;
19875}
19876
19877
c32bde28 19878static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19879 PyObject *resultobj;
19880 wxPyApp *arg1 = (wxPyApp *) 0 ;
19881 PyObject * obj0 = 0 ;
19882 char *kwnames[] = {
19883 (char *) "self", NULL
19884 };
19885
19886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
19887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19889 {
19890 PyThreadState* __tstate = wxPyBeginAllowThreads();
19891 delete arg1;
19892
19893 wxPyEndAllowThreads(__tstate);
19894 if (PyErr_Occurred()) SWIG_fail;
19895 }
19896 Py_INCREF(Py_None); resultobj = Py_None;
19897 return resultobj;
19898 fail:
19899 return NULL;
19900}
19901
19902
c32bde28 19903static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19904 PyObject *resultobj;
19905 wxPyApp *arg1 = (wxPyApp *) 0 ;
19906 PyObject *arg2 = (PyObject *) 0 ;
19907 PyObject *arg3 = (PyObject *) 0 ;
19908 PyObject * obj0 = 0 ;
19909 PyObject * obj1 = 0 ;
19910 PyObject * obj2 = 0 ;
19911 char *kwnames[] = {
19912 (char *) "self",(char *) "self",(char *) "_class", NULL
19913 };
19914
19915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19918 arg2 = obj1;
19919 arg3 = obj2;
19920 {
19921 PyThreadState* __tstate = wxPyBeginAllowThreads();
19922 (arg1)->_setCallbackInfo(arg2,arg3);
19923
19924 wxPyEndAllowThreads(__tstate);
19925 if (PyErr_Occurred()) SWIG_fail;
19926 }
19927 Py_INCREF(Py_None); resultobj = Py_None;
19928 return resultobj;
19929 fail:
19930 return NULL;
19931}
19932
19933
c32bde28 19934static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19935 PyObject *resultobj;
19936 wxPyApp *arg1 = (wxPyApp *) 0 ;
19937 wxString result;
19938 PyObject * obj0 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19946 {
19947 PyThreadState* __tstate = wxPyBeginAllowThreads();
19948 result = ((wxPyApp const *)arg1)->GetAppName();
19949
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 {
19954#if wxUSE_UNICODE
19955 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19956#else
19957 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19958#endif
19959 }
19960 return resultobj;
19961 fail:
19962 return NULL;
19963}
19964
19965
c32bde28 19966static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19967 PyObject *resultobj;
19968 wxPyApp *arg1 = (wxPyApp *) 0 ;
19969 wxString *arg2 = 0 ;
ae8162c8 19970 bool temp2 = false ;
d14a1e28
RD
19971 PyObject * obj0 = 0 ;
19972 PyObject * obj1 = 0 ;
19973 char *kwnames[] = {
19974 (char *) "self",(char *) "name", NULL
19975 };
19976
19977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19980 {
19981 arg2 = wxString_in_helper(obj1);
19982 if (arg2 == NULL) SWIG_fail;
ae8162c8 19983 temp2 = true;
d14a1e28
RD
19984 }
19985 {
19986 PyThreadState* __tstate = wxPyBeginAllowThreads();
19987 (arg1)->SetAppName((wxString const &)*arg2);
19988
19989 wxPyEndAllowThreads(__tstate);
19990 if (PyErr_Occurred()) SWIG_fail;
19991 }
19992 Py_INCREF(Py_None); resultobj = Py_None;
19993 {
19994 if (temp2)
19995 delete arg2;
19996 }
19997 return resultobj;
19998 fail:
19999 {
20000 if (temp2)
20001 delete arg2;
20002 }
20003 return NULL;
20004}
20005
20006
c32bde28 20007static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20008 PyObject *resultobj;
20009 wxPyApp *arg1 = (wxPyApp *) 0 ;
20010 wxString result;
20011 PyObject * obj0 = 0 ;
20012 char *kwnames[] = {
20013 (char *) "self", NULL
20014 };
20015
20016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
20017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 result = ((wxPyApp const *)arg1)->GetClassName();
20022
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 {
20027#if wxUSE_UNICODE
20028 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20029#else
20030 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20031#endif
20032 }
20033 return resultobj;
20034 fail:
20035 return NULL;
20036}
20037
20038
c32bde28 20039static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20040 PyObject *resultobj;
20041 wxPyApp *arg1 = (wxPyApp *) 0 ;
20042 wxString *arg2 = 0 ;
ae8162c8 20043 bool temp2 = false ;
d14a1e28
RD
20044 PyObject * obj0 = 0 ;
20045 PyObject * obj1 = 0 ;
20046 char *kwnames[] = {
20047 (char *) "self",(char *) "name", NULL
20048 };
20049
20050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20053 {
20054 arg2 = wxString_in_helper(obj1);
20055 if (arg2 == NULL) SWIG_fail;
ae8162c8 20056 temp2 = true;
d14a1e28
RD
20057 }
20058 {
20059 PyThreadState* __tstate = wxPyBeginAllowThreads();
20060 (arg1)->SetClassName((wxString const &)*arg2);
20061
20062 wxPyEndAllowThreads(__tstate);
20063 if (PyErr_Occurred()) SWIG_fail;
20064 }
20065 Py_INCREF(Py_None); resultobj = Py_None;
20066 {
20067 if (temp2)
20068 delete arg2;
20069 }
20070 return resultobj;
20071 fail:
20072 {
20073 if (temp2)
20074 delete arg2;
20075 }
20076 return NULL;
20077}
20078
20079
c32bde28 20080static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20081 PyObject *resultobj;
20082 wxPyApp *arg1 = (wxPyApp *) 0 ;
20083 wxString *result;
20084 PyObject * obj0 = 0 ;
20085 char *kwnames[] = {
20086 (char *) "self", NULL
20087 };
20088
20089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
15afbcd0
RD
20090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20092 {
20093 PyThreadState* __tstate = wxPyBeginAllowThreads();
20094 {
20095 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
20096 result = (wxString *) &_result_ref;
20097 }
20098
20099 wxPyEndAllowThreads(__tstate);
20100 if (PyErr_Occurred()) SWIG_fail;
20101 }
cc6dd355
RD
20102 {
20103#if wxUSE_UNICODE
20104 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20105#else
20106 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20107#endif
20108 }
d14a1e28
RD
20109 return resultobj;
20110 fail:
20111 return NULL;
20112}
20113
20114
c32bde28 20115static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20116 PyObject *resultobj;
20117 wxPyApp *arg1 = (wxPyApp *) 0 ;
20118 wxString *arg2 = 0 ;
ae8162c8 20119 bool temp2 = false ;
d14a1e28
RD
20120 PyObject * obj0 = 0 ;
20121 PyObject * obj1 = 0 ;
20122 char *kwnames[] = {
20123 (char *) "self",(char *) "name", NULL
20124 };
20125
20126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20129 {
20130 arg2 = wxString_in_helper(obj1);
20131 if (arg2 == NULL) SWIG_fail;
ae8162c8 20132 temp2 = true;
d14a1e28
RD
20133 }
20134 {
20135 PyThreadState* __tstate = wxPyBeginAllowThreads();
20136 (arg1)->SetVendorName((wxString const &)*arg2);
20137
20138 wxPyEndAllowThreads(__tstate);
20139 if (PyErr_Occurred()) SWIG_fail;
20140 }
20141 Py_INCREF(Py_None); resultobj = Py_None;
20142 {
20143 if (temp2)
20144 delete arg2;
20145 }
20146 return resultobj;
20147 fail:
20148 {
20149 if (temp2)
20150 delete arg2;
20151 }
20152 return NULL;
20153}
20154
20155
c32bde28 20156static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20157 PyObject *resultobj;
20158 wxPyApp *arg1 = (wxPyApp *) 0 ;
20159 wxAppTraits *result;
20160 PyObject * obj0 = 0 ;
20161 char *kwnames[] = {
20162 (char *) "self", NULL
20163 };
20164
20165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
15afbcd0
RD
20166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20168 {
20169 PyThreadState* __tstate = wxPyBeginAllowThreads();
20170 result = (wxAppTraits *)(arg1)->GetTraits();
20171
20172 wxPyEndAllowThreads(__tstate);
20173 if (PyErr_Occurred()) SWIG_fail;
20174 }
15afbcd0 20175 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
20176 return resultobj;
20177 fail:
20178 return NULL;
20179}
20180
20181
c32bde28 20182static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20183 PyObject *resultobj;
20184 wxPyApp *arg1 = (wxPyApp *) 0 ;
20185 PyObject * obj0 = 0 ;
20186 char *kwnames[] = {
20187 (char *) "self", NULL
20188 };
20189
20190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
20191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 (arg1)->ProcessPendingEvents();
20196
20197 wxPyEndAllowThreads(__tstate);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
20200 Py_INCREF(Py_None); resultobj = Py_None;
20201 return resultobj;
20202 fail:
20203 return NULL;
20204}
20205
20206
c32bde28 20207static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20208 PyObject *resultobj;
20209 wxPyApp *arg1 = (wxPyApp *) 0 ;
ae8162c8 20210 bool arg2 = (bool) false ;
d14a1e28
RD
20211 bool result;
20212 PyObject * obj0 = 0 ;
20213 PyObject * obj1 = 0 ;
20214 char *kwnames[] = {
20215 (char *) "self",(char *) "onlyIfNeeded", NULL
20216 };
20217
20218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 20221 if (obj1) {
c32bde28 20222 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 20223 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20224 }
20225 {
20226 PyThreadState* __tstate = wxPyBeginAllowThreads();
20227 result = (bool)(arg1)->Yield(arg2);
20228
20229 wxPyEndAllowThreads(__tstate);
20230 if (PyErr_Occurred()) SWIG_fail;
20231 }
4f89f6a3
RD
20232 {
20233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20234 }
d14a1e28
RD
20235 return resultobj;
20236 fail:
20237 return NULL;
20238}
20239
20240
c32bde28 20241static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20242 PyObject *resultobj;
20243 wxPyApp *arg1 = (wxPyApp *) 0 ;
20244 PyObject * obj0 = 0 ;
20245 char *kwnames[] = {
20246 (char *) "self", NULL
20247 };
20248
20249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
20250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20252 {
20253 PyThreadState* __tstate = wxPyBeginAllowThreads();
20254 (arg1)->WakeUpIdle();
20255
20256 wxPyEndAllowThreads(__tstate);
20257 if (PyErr_Occurred()) SWIG_fail;
20258 }
20259 Py_INCREF(Py_None); resultobj = Py_None;
20260 return resultobj;
20261 fail:
20262 return NULL;
20263}
20264
20265
1fc3b23a
RD
20266static PyObject *_wrap_PyApp_IsMainLoopRunning(PyObject *, PyObject *args, PyObject *kwargs) {
20267 PyObject *resultobj;
20268 bool result;
20269 char *kwnames[] = {
20270 NULL
20271 };
20272
20273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_IsMainLoopRunning",kwnames)) goto fail;
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 result = (bool)wxPyApp::IsMainLoopRunning();
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 {
20282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20283 }
20284 return resultobj;
20285 fail:
20286 return NULL;
20287}
20288
20289
c32bde28 20290static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20291 PyObject *resultobj;
20292 wxPyApp *arg1 = (wxPyApp *) 0 ;
20293 int result;
20294 PyObject * obj0 = 0 ;
20295 char *kwnames[] = {
20296 (char *) "self", NULL
20297 };
20298
20299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
20300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20302 {
20303 PyThreadState* __tstate = wxPyBeginAllowThreads();
20304 result = (int)(arg1)->MainLoop();
20305
20306 wxPyEndAllowThreads(__tstate);
20307 if (PyErr_Occurred()) SWIG_fail;
20308 }
c32bde28 20309 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20310 return resultobj;
20311 fail:
20312 return NULL;
20313}
20314
20315
c32bde28 20316static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20317 PyObject *resultobj;
20318 wxPyApp *arg1 = (wxPyApp *) 0 ;
20319 PyObject * obj0 = 0 ;
20320 char *kwnames[] = {
20321 (char *) "self", NULL
20322 };
20323
20324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
15afbcd0
RD
20325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20327 {
20328 PyThreadState* __tstate = wxPyBeginAllowThreads();
20329 (arg1)->Exit();
20330
20331 wxPyEndAllowThreads(__tstate);
20332 if (PyErr_Occurred()) SWIG_fail;
20333 }
20334 Py_INCREF(Py_None); resultobj = Py_None;
20335 return resultobj;
20336 fail:
20337 return NULL;
20338}
20339
20340
c32bde28 20341static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20342 PyObject *resultobj;
20343 wxPyApp *arg1 = (wxPyApp *) 0 ;
20344 PyObject * obj0 = 0 ;
20345 char *kwnames[] = {
20346 (char *) "self", NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
20350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20352 {
20353 PyThreadState* __tstate = wxPyBeginAllowThreads();
20354 (arg1)->ExitMainLoop();
20355
20356 wxPyEndAllowThreads(__tstate);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 }
20359 Py_INCREF(Py_None); resultobj = Py_None;
20360 return resultobj;
20361 fail:
20362 return NULL;
20363}
20364
20365
c32bde28 20366static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20367 PyObject *resultobj;
20368 wxPyApp *arg1 = (wxPyApp *) 0 ;
20369 bool result;
20370 PyObject * obj0 = 0 ;
20371 char *kwnames[] = {
20372 (char *) "self", NULL
20373 };
20374
20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
15afbcd0
RD
20376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20378 {
20379 PyThreadState* __tstate = wxPyBeginAllowThreads();
20380 result = (bool)(arg1)->Pending();
20381
20382 wxPyEndAllowThreads(__tstate);
20383 if (PyErr_Occurred()) SWIG_fail;
20384 }
4f89f6a3
RD
20385 {
20386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20387 }
d14a1e28
RD
20388 return resultobj;
20389 fail:
20390 return NULL;
20391}
20392
20393
c32bde28 20394static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20395 PyObject *resultobj;
20396 wxPyApp *arg1 = (wxPyApp *) 0 ;
20397 bool result;
20398 PyObject * obj0 = 0 ;
20399 char *kwnames[] = {
20400 (char *) "self", NULL
20401 };
20402
20403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
20404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 result = (bool)(arg1)->Dispatch();
20409
20410 wxPyEndAllowThreads(__tstate);
20411 if (PyErr_Occurred()) SWIG_fail;
20412 }
4f89f6a3
RD
20413 {
20414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20415 }
d14a1e28
RD
20416 return resultobj;
20417 fail:
20418 return NULL;
20419}
20420
20421
c32bde28 20422static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20423 PyObject *resultobj;
20424 wxPyApp *arg1 = (wxPyApp *) 0 ;
20425 bool result;
20426 PyObject * obj0 = 0 ;
20427 char *kwnames[] = {
20428 (char *) "self", NULL
20429 };
20430
20431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
20432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20434 {
20435 PyThreadState* __tstate = wxPyBeginAllowThreads();
20436 result = (bool)(arg1)->ProcessIdle();
20437
20438 wxPyEndAllowThreads(__tstate);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 }
4f89f6a3
RD
20441 {
20442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20443 }
d14a1e28
RD
20444 return resultobj;
20445 fail:
20446 return NULL;
20447}
20448
20449
c32bde28 20450static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20451 PyObject *resultobj;
20452 wxPyApp *arg1 = (wxPyApp *) 0 ;
20453 wxWindow *arg2 = (wxWindow *) 0 ;
20454 wxIdleEvent *arg3 = 0 ;
20455 bool result;
20456 PyObject * obj0 = 0 ;
20457 PyObject * obj1 = 0 ;
20458 PyObject * obj2 = 0 ;
20459 char *kwnames[] = {
20460 (char *) "self",(char *) "win",(char *) "event", NULL
20461 };
20462
20463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
20464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20466 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20468 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
20469 SWIG_POINTER_EXCEPTION | 0)) == -1)
20470 SWIG_fail;
d14a1e28 20471 if (arg3 == NULL) {
15afbcd0
RD
20472 PyErr_SetString(PyExc_TypeError,"null reference");
20473 SWIG_fail;
d14a1e28
RD
20474 }
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
4f89f6a3
RD
20482 {
20483 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20484 }
d14a1e28
RD
20485 return resultobj;
20486 fail:
20487 return NULL;
20488}
20489
20490
c32bde28 20491static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20492 PyObject *resultobj;
20493 wxPyApp *arg1 = (wxPyApp *) 0 ;
20494 bool result;
20495 PyObject * obj0 = 0 ;
20496 char *kwnames[] = {
20497 (char *) "self", NULL
20498 };
20499
20500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
20501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20503 {
20504 PyThreadState* __tstate = wxPyBeginAllowThreads();
20505 result = (bool)((wxPyApp const *)arg1)->IsActive();
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
4f89f6a3
RD
20510 {
20511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20512 }
d14a1e28
RD
20513 return resultobj;
20514 fail:
20515 return NULL;
20516}
20517
20518
c32bde28 20519static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20520 PyObject *resultobj;
20521 wxPyApp *arg1 = (wxPyApp *) 0 ;
20522 wxWindow *arg2 = (wxWindow *) 0 ;
20523 PyObject * obj0 = 0 ;
20524 PyObject * obj1 = 0 ;
20525 char *kwnames[] = {
20526 (char *) "self",(char *) "win", NULL
20527 };
20528
20529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20532 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20534 {
20535 PyThreadState* __tstate = wxPyBeginAllowThreads();
20536 (arg1)->SetTopWindow(arg2);
20537
20538 wxPyEndAllowThreads(__tstate);
20539 if (PyErr_Occurred()) SWIG_fail;
20540 }
20541 Py_INCREF(Py_None); resultobj = Py_None;
20542 return resultobj;
20543 fail:
20544 return NULL;
20545}
20546
20547
c32bde28 20548static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20549 PyObject *resultobj;
20550 wxPyApp *arg1 = (wxPyApp *) 0 ;
20551 wxWindow *result;
20552 PyObject * obj0 = 0 ;
20553 char *kwnames[] = {
20554 (char *) "self", NULL
20555 };
20556
20557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
20558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20560 {
20561 PyThreadState* __tstate = wxPyBeginAllowThreads();
20562 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20563
20564 wxPyEndAllowThreads(__tstate);
20565 if (PyErr_Occurred()) SWIG_fail;
20566 }
20567 {
412d302d 20568 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
20569 }
20570 return resultobj;
20571 fail:
20572 return NULL;
20573}
20574
20575
c32bde28 20576static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20577 PyObject *resultobj;
20578 wxPyApp *arg1 = (wxPyApp *) 0 ;
20579 bool arg2 ;
20580 PyObject * obj0 = 0 ;
20581 PyObject * obj1 = 0 ;
20582 char *kwnames[] = {
20583 (char *) "self",(char *) "flag", NULL
20584 };
20585
20586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20589 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 20590 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20591 {
20592 PyThreadState* __tstate = wxPyBeginAllowThreads();
20593 (arg1)->SetExitOnFrameDelete(arg2);
20594
20595 wxPyEndAllowThreads(__tstate);
20596 if (PyErr_Occurred()) SWIG_fail;
20597 }
20598 Py_INCREF(Py_None); resultobj = Py_None;
20599 return resultobj;
20600 fail:
20601 return NULL;
20602}
20603
20604
c32bde28 20605static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20606 PyObject *resultobj;
20607 wxPyApp *arg1 = (wxPyApp *) 0 ;
20608 bool result;
20609 PyObject * obj0 = 0 ;
20610 char *kwnames[] = {
20611 (char *) "self", NULL
20612 };
20613
20614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
15afbcd0
RD
20615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20620
20621 wxPyEndAllowThreads(__tstate);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 }
4f89f6a3
RD
20624 {
20625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20626 }
d14a1e28
RD
20627 return resultobj;
20628 fail:
20629 return NULL;
20630}
20631
20632
c32bde28 20633static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20634 PyObject *resultobj;
20635 wxPyApp *arg1 = (wxPyApp *) 0 ;
20636 bool arg2 ;
20637 PyObject * obj0 = 0 ;
20638 PyObject * obj1 = 0 ;
20639 char *kwnames[] = {
20640 (char *) "self",(char *) "flag", NULL
20641 };
20642
20643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20646 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 20647 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20648 {
20649 PyThreadState* __tstate = wxPyBeginAllowThreads();
20650 (arg1)->SetUseBestVisual(arg2);
20651
20652 wxPyEndAllowThreads(__tstate);
20653 if (PyErr_Occurred()) SWIG_fail;
20654 }
20655 Py_INCREF(Py_None); resultobj = Py_None;
20656 return resultobj;
20657 fail:
20658 return NULL;
20659}
20660
20661
c32bde28 20662static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20663 PyObject *resultobj;
20664 wxPyApp *arg1 = (wxPyApp *) 0 ;
20665 bool result;
20666 PyObject * obj0 = 0 ;
20667 char *kwnames[] = {
20668 (char *) "self", NULL
20669 };
20670
20671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
15afbcd0
RD
20672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20674 {
20675 PyThreadState* __tstate = wxPyBeginAllowThreads();
20676 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20677
20678 wxPyEndAllowThreads(__tstate);
20679 if (PyErr_Occurred()) SWIG_fail;
20680 }
4f89f6a3
RD
20681 {
20682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20683 }
d14a1e28
RD
20684 return resultobj;
20685 fail:
20686 return NULL;
20687}
20688
20689
c32bde28 20690static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20691 PyObject *resultobj;
20692 wxPyApp *arg1 = (wxPyApp *) 0 ;
20693 int arg2 ;
20694 PyObject * obj0 = 0 ;
994141e6 20695 PyObject * obj1 = 0 ;
d14a1e28
RD
20696 char *kwnames[] = {
20697 (char *) "self",(char *) "mode", NULL
20698 };
20699
994141e6 20700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20703 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20704 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20705 {
20706 PyThreadState* __tstate = wxPyBeginAllowThreads();
20707 (arg1)->SetPrintMode(arg2);
20708
20709 wxPyEndAllowThreads(__tstate);
20710 if (PyErr_Occurred()) SWIG_fail;
20711 }
20712 Py_INCREF(Py_None); resultobj = Py_None;
20713 return resultobj;
20714 fail:
20715 return NULL;
20716}
20717
20718
c32bde28 20719static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20720 PyObject *resultobj;
20721 wxPyApp *arg1 = (wxPyApp *) 0 ;
20722 int result;
20723 PyObject * obj0 = 0 ;
20724 char *kwnames[] = {
20725 (char *) "self", NULL
20726 };
20727
20728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20731 {
20732 PyThreadState* __tstate = wxPyBeginAllowThreads();
20733 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20734
20735 wxPyEndAllowThreads(__tstate);
20736 if (PyErr_Occurred()) SWIG_fail;
20737 }
c32bde28 20738 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20739 return resultobj;
20740 fail:
20741 return NULL;
20742}
20743
20744
c32bde28 20745static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20746 PyObject *resultobj;
20747 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20748 int arg2 ;
d14a1e28 20749 PyObject * obj0 = 0 ;
994141e6 20750 PyObject * obj1 = 0 ;
d14a1e28 20751 char *kwnames[] = {
6c3b4aae 20752 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
20753 };
20754
994141e6 20755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 20758 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 20759 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20760 {
20761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20762 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
20763
20764 wxPyEndAllowThreads(__tstate);
20765 if (PyErr_Occurred()) SWIG_fail;
20766 }
6c3b4aae 20767 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
20768 return resultobj;
20769 fail:
20770 return NULL;
20771}
20772
20773
c32bde28 20774static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20775 PyObject *resultobj;
20776 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20777 int result;
d14a1e28
RD
20778 PyObject * obj0 = 0 ;
20779 char *kwnames[] = {
6c3b4aae 20780 (char *) "self", NULL
d14a1e28
RD
20781 };
20782
6c3b4aae 20783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20786 {
20787 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20788 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
20789
20790 wxPyEndAllowThreads(__tstate);
20791 if (PyErr_Occurred()) SWIG_fail;
20792 }
c32bde28 20793 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
20794 return resultobj;
20795 fail:
20796 return NULL;
20797}
20798
20799
c32bde28 20800static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20801 PyObject *resultobj;
20802 bool result;
20803 char *kwnames[] = {
20804 NULL
20805 };
20806
20807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20808 {
20809 PyThreadState* __tstate = wxPyBeginAllowThreads();
20810 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20811
20812 wxPyEndAllowThreads(__tstate);
20813 if (PyErr_Occurred()) SWIG_fail;
20814 }
4f89f6a3
RD
20815 {
20816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20817 }
d14a1e28
RD
20818 return resultobj;
20819 fail:
20820 return NULL;
20821}
20822
20823
c32bde28 20824static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20825 PyObject *resultobj;
20826 long result;
20827 char *kwnames[] = {
20828 NULL
20829 };
20830
20831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20832 {
20833 PyThreadState* __tstate = wxPyBeginAllowThreads();
20834 result = (long)wxPyApp::GetMacAboutMenuItemId();
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
c32bde28 20839 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20840 return resultobj;
20841 fail:
20842 return NULL;
20843}
20844
20845
c32bde28 20846static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20847 PyObject *resultobj;
20848 long result;
20849 char *kwnames[] = {
20850 NULL
20851 };
20852
20853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20854 {
20855 PyThreadState* __tstate = wxPyBeginAllowThreads();
20856 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20857
20858 wxPyEndAllowThreads(__tstate);
20859 if (PyErr_Occurred()) SWIG_fail;
20860 }
c32bde28 20861 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20862 return resultobj;
20863 fail:
20864 return NULL;
20865}
20866
20867
c32bde28 20868static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20869 PyObject *resultobj;
20870 long result;
20871 char *kwnames[] = {
20872 NULL
20873 };
20874
20875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 result = (long)wxPyApp::GetMacExitMenuItemId();
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
c32bde28 20883 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
20884 return resultobj;
20885 fail:
20886 return NULL;
20887}
20888
20889
c32bde28 20890static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20891 PyObject *resultobj;
20892 wxString result;
20893 char *kwnames[] = {
20894 NULL
20895 };
20896
20897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20898 {
20899 PyThreadState* __tstate = wxPyBeginAllowThreads();
20900 result = wxPyApp::GetMacHelpMenuTitleName();
20901
20902 wxPyEndAllowThreads(__tstate);
20903 if (PyErr_Occurred()) SWIG_fail;
20904 }
20905 {
20906#if wxUSE_UNICODE
20907 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20908#else
20909 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20910#endif
20911 }
20912 return resultobj;
20913 fail:
20914 return NULL;
20915}
20916
20917
c32bde28 20918static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20919 PyObject *resultobj;
20920 bool arg1 ;
20921 PyObject * obj0 = 0 ;
20922 char *kwnames[] = {
20923 (char *) "val", NULL
20924 };
20925
20926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
c32bde28 20927 arg1 = (bool)SWIG_As_bool(obj0);
15afbcd0 20928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20929 {
20930 PyThreadState* __tstate = wxPyBeginAllowThreads();
20931 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20932
20933 wxPyEndAllowThreads(__tstate);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 }
20936 Py_INCREF(Py_None); resultobj = Py_None;
20937 return resultobj;
20938 fail:
20939 return NULL;
20940}
20941
20942
c32bde28 20943static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20944 PyObject *resultobj;
20945 long arg1 ;
994141e6 20946 PyObject * obj0 = 0 ;
d14a1e28
RD
20947 char *kwnames[] = {
20948 (char *) "val", NULL
20949 };
20950
994141e6 20951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
c32bde28 20952 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 20953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20954 {
20955 PyThreadState* __tstate = wxPyBeginAllowThreads();
20956 wxPyApp::SetMacAboutMenuItemId(arg1);
20957
20958 wxPyEndAllowThreads(__tstate);
20959 if (PyErr_Occurred()) SWIG_fail;
20960 }
20961 Py_INCREF(Py_None); resultobj = Py_None;
20962 return resultobj;
20963 fail:
20964 return NULL;
20965}
20966
20967
c32bde28 20968static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20969 PyObject *resultobj;
20970 long arg1 ;
994141e6 20971 PyObject * obj0 = 0 ;
d14a1e28
RD
20972 char *kwnames[] = {
20973 (char *) "val", NULL
20974 };
20975
994141e6 20976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
c32bde28 20977 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 20978 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20979 {
20980 PyThreadState* __tstate = wxPyBeginAllowThreads();
20981 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20982
20983 wxPyEndAllowThreads(__tstate);
20984 if (PyErr_Occurred()) SWIG_fail;
20985 }
20986 Py_INCREF(Py_None); resultobj = Py_None;
20987 return resultobj;
20988 fail:
20989 return NULL;
20990}
20991
20992
c32bde28 20993static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20994 PyObject *resultobj;
20995 long arg1 ;
994141e6 20996 PyObject * obj0 = 0 ;
d14a1e28
RD
20997 char *kwnames[] = {
20998 (char *) "val", NULL
20999 };
21000
994141e6 21001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
c32bde28 21002 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 21003 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21004 {
21005 PyThreadState* __tstate = wxPyBeginAllowThreads();
21006 wxPyApp::SetMacExitMenuItemId(arg1);
21007
21008 wxPyEndAllowThreads(__tstate);
21009 if (PyErr_Occurred()) SWIG_fail;
21010 }
21011 Py_INCREF(Py_None); resultobj = Py_None;
21012 return resultobj;
21013 fail:
21014 return NULL;
21015}
21016
21017
c32bde28 21018static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21019 PyObject *resultobj;
21020 wxString *arg1 = 0 ;
ae8162c8 21021 bool temp1 = false ;
d14a1e28
RD
21022 PyObject * obj0 = 0 ;
21023 char *kwnames[] = {
21024 (char *) "val", NULL
21025 };
21026
21027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
21028 {
21029 arg1 = wxString_in_helper(obj0);
21030 if (arg1 == NULL) SWIG_fail;
ae8162c8 21031 temp1 = true;
d14a1e28
RD
21032 }
21033 {
21034 PyThreadState* __tstate = wxPyBeginAllowThreads();
21035 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
21036
21037 wxPyEndAllowThreads(__tstate);
21038 if (PyErr_Occurred()) SWIG_fail;
21039 }
21040 Py_INCREF(Py_None); resultobj = Py_None;
21041 {
21042 if (temp1)
21043 delete arg1;
21044 }
21045 return resultobj;
21046 fail:
21047 {
21048 if (temp1)
21049 delete arg1;
21050 }
21051 return NULL;
21052}
21053
21054
c32bde28 21055static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21056 PyObject *resultobj;
21057 wxPyApp *arg1 = (wxPyApp *) 0 ;
21058 PyObject * obj0 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
21064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
21065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 (arg1)->_BootstrapApp();
21069
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 Py_INCREF(Py_None); resultobj = Py_None;
21074 return resultobj;
21075 fail:
21076 return NULL;
21077}
21078
21079
c32bde28 21080static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21081 PyObject *resultobj;
21082 int result;
21083 char *kwnames[] = {
21084 NULL
21085 };
21086
21087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
21088 {
21089 PyThreadState* __tstate = wxPyBeginAllowThreads();
21090 result = (int)PyApp_GetComCtl32Version();
21091
21092 wxPyEndAllowThreads(__tstate);
21093 if (PyErr_Occurred()) SWIG_fail;
21094 }
c32bde28 21095 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
21096 return resultobj;
21097 fail:
21098 return NULL;
21099}
21100
21101
c32bde28 21102static PyObject * PyApp_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
21103 PyObject *obj;
21104 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21105 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
21106 Py_INCREF(obj);
21107 return Py_BuildValue((char *)"");
21108}
c32bde28 21109static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21110 PyObject *resultobj;
21111 char *kwnames[] = {
21112 NULL
21113 };
21114
21115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
21116 {
21117 PyThreadState* __tstate = wxPyBeginAllowThreads();
21118 wxExit();
21119
21120 wxPyEndAllowThreads(__tstate);
21121 if (PyErr_Occurred()) SWIG_fail;
21122 }
21123 Py_INCREF(Py_None); resultobj = Py_None;
21124 return resultobj;
21125 fail:
21126 return NULL;
21127}
21128
21129
c32bde28 21130static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21131 PyObject *resultobj;
21132 bool result;
21133 char *kwnames[] = {
21134 NULL
21135 };
21136
21137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
21138 {
21139 PyThreadState* __tstate = wxPyBeginAllowThreads();
21140 result = (bool)wxYield();
21141
21142 wxPyEndAllowThreads(__tstate);
21143 if (PyErr_Occurred()) SWIG_fail;
21144 }
4f89f6a3
RD
21145 {
21146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21147 }
d14a1e28
RD
21148 return resultobj;
21149 fail:
21150 return NULL;
21151}
21152
21153
c32bde28 21154static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21155 PyObject *resultobj;
21156 bool result;
21157 char *kwnames[] = {
21158 NULL
21159 };
21160
21161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
21162 {
21163 PyThreadState* __tstate = wxPyBeginAllowThreads();
21164 result = (bool)wxYieldIfNeeded();
21165
21166 wxPyEndAllowThreads(__tstate);
21167 if (PyErr_Occurred()) SWIG_fail;
21168 }
4f89f6a3
RD
21169 {
21170 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21171 }
d14a1e28
RD
21172 return resultobj;
21173 fail:
21174 return NULL;
21175}
21176
21177
c32bde28 21178static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21179 PyObject *resultobj;
21180 wxWindow *arg1 = (wxWindow *) NULL ;
ae8162c8 21181 bool arg2 = (bool) false ;
d14a1e28
RD
21182 bool result;
21183 PyObject * obj0 = 0 ;
21184 PyObject * obj1 = 0 ;
21185 char *kwnames[] = {
21186 (char *) "win",(char *) "onlyIfNeeded", NULL
21187 };
21188
21189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
21190 if (obj0) {
15afbcd0
RD
21191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21193 }
21194 if (obj1) {
c32bde28 21195 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 21196 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21197 }
21198 {
21199 PyThreadState* __tstate = wxPyBeginAllowThreads();
21200 result = (bool)wxSafeYield(arg1,arg2);
21201
21202 wxPyEndAllowThreads(__tstate);
21203 if (PyErr_Occurred()) SWIG_fail;
21204 }
4f89f6a3
RD
21205 {
21206 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21207 }
d14a1e28
RD
21208 return resultobj;
21209 fail:
21210 return NULL;
21211}
21212
21213
c32bde28 21214static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21215 PyObject *resultobj;
21216 char *kwnames[] = {
21217 NULL
21218 };
21219
21220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 wxWakeUpIdle();
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 Py_INCREF(Py_None); resultobj = Py_None;
21229 return resultobj;
21230 fail:
21231 return NULL;
21232}
21233
21234
c32bde28 21235static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21236 PyObject *resultobj;
21237 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
21238 wxEvent *arg2 = 0 ;
21239 PyObject * obj0 = 0 ;
21240 PyObject * obj1 = 0 ;
21241 char *kwnames[] = {
21242 (char *) "dest",(char *) "event", NULL
21243 };
21244
21245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
21247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
21249 SWIG_POINTER_EXCEPTION | 0)) == -1)
21250 SWIG_fail;
d14a1e28 21251 if (arg2 == NULL) {
15afbcd0
RD
21252 PyErr_SetString(PyExc_TypeError,"null reference");
21253 SWIG_fail;
d14a1e28
RD
21254 }
21255 {
21256 PyThreadState* __tstate = wxPyBeginAllowThreads();
21257 wxPostEvent(arg1,*arg2);
21258
21259 wxPyEndAllowThreads(__tstate);
21260 if (PyErr_Occurred()) SWIG_fail;
21261 }
21262 Py_INCREF(Py_None); resultobj = Py_None;
21263 return resultobj;
21264 fail:
21265 return NULL;
21266}
21267
21268
c32bde28 21269static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21270 PyObject *resultobj;
21271 char *kwnames[] = {
21272 NULL
21273 };
21274
21275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
21276 {
21277 PyThreadState* __tstate = wxPyBeginAllowThreads();
21278 wxApp_CleanUp();
21279
21280 wxPyEndAllowThreads(__tstate);
21281 if (PyErr_Occurred()) SWIG_fail;
21282 }
21283 Py_INCREF(Py_None); resultobj = Py_None;
21284 return resultobj;
21285 fail:
21286 return NULL;
21287}
21288
21289
c32bde28 21290static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21291 PyObject *resultobj;
21292 wxPyApp *result;
21293 char *kwnames[] = {
21294 NULL
21295 };
21296
21297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
db3e571a 21300 result = (wxPyApp *)wxPyGetApp();
d14a1e28
RD
21301
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 {
412d302d 21306 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
21307 }
21308 return resultobj;
21309 fail:
21310 return NULL;
21311}
21312
21313
2ef75293
RD
21314static PyObject *_wrap_new_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
21315 PyObject *resultobj;
21316 wxEventLoop *result;
21317 char *kwnames[] = {
21318 NULL
21319 };
21320
21321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EventLoop",kwnames)) goto fail;
21322 {
21323 PyThreadState* __tstate = wxPyBeginAllowThreads();
21324 result = (wxEventLoop *)new wxEventLoop();
21325
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 1);
21330 return resultobj;
21331 fail:
21332 return NULL;
21333}
21334
21335
21336static PyObject *_wrap_delete_EventLoop(PyObject *, PyObject *args, PyObject *kwargs) {
21337 PyObject *resultobj;
21338 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21339 PyObject * obj0 = 0 ;
21340 char *kwnames[] = {
21341 (char *) "self", NULL
21342 };
21343
21344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_EventLoop",kwnames,&obj0)) goto fail;
21345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21347 {
21348 PyThreadState* __tstate = wxPyBeginAllowThreads();
21349 delete arg1;
21350
21351 wxPyEndAllowThreads(__tstate);
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 Py_INCREF(Py_None); resultobj = Py_None;
21355 return resultobj;
21356 fail:
21357 return NULL;
21358}
21359
21360
21361static PyObject *_wrap_EventLoop_Run(PyObject *, PyObject *args, PyObject *kwargs) {
21362 PyObject *resultobj;
21363 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21364 int result;
21365 PyObject * obj0 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "self", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Run",kwnames,&obj0)) goto fail;
21371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21373 {
21374 PyThreadState* __tstate = wxPyBeginAllowThreads();
21375 result = (int)(arg1)->Run();
21376
21377 wxPyEndAllowThreads(__tstate);
21378 if (PyErr_Occurred()) SWIG_fail;
21379 }
21380 resultobj = SWIG_From_int((int)result);
21381 return resultobj;
21382 fail:
21383 return NULL;
21384}
21385
21386
21387static PyObject *_wrap_EventLoop_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
21388 PyObject *resultobj;
21389 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21390 int arg2 = (int) 0 ;
21391 PyObject * obj0 = 0 ;
21392 PyObject * obj1 = 0 ;
21393 char *kwnames[] = {
21394 (char *) "self",(char *) "rc", NULL
21395 };
21396
21397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:EventLoop_Exit",kwnames,&obj0,&obj1)) goto fail;
21398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21400 if (obj1) {
21401 arg2 = (int)SWIG_As_int(obj1);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 }
21404 {
21405 PyThreadState* __tstate = wxPyBeginAllowThreads();
21406 (arg1)->Exit(arg2);
21407
21408 wxPyEndAllowThreads(__tstate);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 }
21411 Py_INCREF(Py_None); resultobj = Py_None;
21412 return resultobj;
21413 fail:
21414 return NULL;
21415}
21416
21417
21418static PyObject *_wrap_EventLoop_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
21419 PyObject *resultobj;
21420 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21421 bool result;
21422 PyObject * obj0 = 0 ;
21423 char *kwnames[] = {
21424 (char *) "self", NULL
21425 };
21426
21427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Pending",kwnames,&obj0)) goto fail;
21428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21430 {
21431 PyThreadState* __tstate = wxPyBeginAllowThreads();
21432 result = (bool)((wxEventLoop const *)arg1)->Pending();
21433
21434 wxPyEndAllowThreads(__tstate);
21435 if (PyErr_Occurred()) SWIG_fail;
21436 }
21437 {
21438 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21439 }
21440 return resultobj;
21441 fail:
21442 return NULL;
21443}
21444
21445
21446static PyObject *_wrap_EventLoop_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
21447 PyObject *resultobj;
21448 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21449 bool result;
21450 PyObject * obj0 = 0 ;
21451 char *kwnames[] = {
21452 (char *) "self", NULL
21453 };
21454
21455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_Dispatch",kwnames,&obj0)) goto fail;
21456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21458 {
21459 PyThreadState* __tstate = wxPyBeginAllowThreads();
21460 result = (bool)(arg1)->Dispatch();
21461
21462 wxPyEndAllowThreads(__tstate);
21463 if (PyErr_Occurred()) SWIG_fail;
21464 }
21465 {
21466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21467 }
21468 return resultobj;
21469 fail:
21470 return NULL;
21471}
21472
21473
21474static PyObject *_wrap_EventLoop_IsRunning(PyObject *, PyObject *args, PyObject *kwargs) {
21475 PyObject *resultobj;
21476 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21477 bool result;
21478 PyObject * obj0 = 0 ;
21479 char *kwnames[] = {
21480 (char *) "self", NULL
21481 };
21482
21483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_IsRunning",kwnames,&obj0)) goto fail;
21484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21486 {
21487 PyThreadState* __tstate = wxPyBeginAllowThreads();
21488 result = (bool)((wxEventLoop const *)arg1)->IsRunning();
21489
21490 wxPyEndAllowThreads(__tstate);
21491 if (PyErr_Occurred()) SWIG_fail;
21492 }
21493 {
21494 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21495 }
21496 return resultobj;
21497 fail:
21498 return NULL;
21499}
21500
21501
21502static PyObject *_wrap_EventLoop_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
21503 PyObject *resultobj;
21504 wxEventLoop *result;
21505 char *kwnames[] = {
21506 NULL
21507 };
21508
21509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":EventLoop_GetActive",kwnames)) goto fail;
21510 {
21511 PyThreadState* __tstate = wxPyBeginAllowThreads();
21512 result = (wxEventLoop *)wxEventLoop::GetActive();
21513
21514 wxPyEndAllowThreads(__tstate);
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEventLoop, 0);
21518 return resultobj;
21519 fail:
21520 return NULL;
21521}
21522
21523
21524static PyObject *_wrap_EventLoop_SetActive(PyObject *, PyObject *args, PyObject *kwargs) {
21525 PyObject *resultobj;
21526 wxEventLoop *arg1 = (wxEventLoop *) 0 ;
21527 PyObject * obj0 = 0 ;
21528 char *kwnames[] = {
21529 (char *) "loop", NULL
21530 };
21531
21532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EventLoop_SetActive",kwnames,&obj0)) goto fail;
21533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEventLoop,
21534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21535 {
21536 PyThreadState* __tstate = wxPyBeginAllowThreads();
21537 wxEventLoop::SetActive(arg1);
21538
21539 wxPyEndAllowThreads(__tstate);
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 Py_INCREF(Py_None); resultobj = Py_None;
21543 return resultobj;
21544 fail:
21545 return NULL;
21546}
21547
21548
21549static PyObject * EventLoop_swigregister(PyObject *, PyObject *args) {
21550 PyObject *obj;
21551 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21552 SWIG_TypeClientData(SWIGTYPE_p_wxEventLoop, obj);
21553 Py_INCREF(obj);
21554 return Py_BuildValue((char *)"");
21555}
c32bde28 21556static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21557 PyObject *resultobj;
21558 int arg1 = (int) 0 ;
21559 int arg2 = (int) 0 ;
21560 int arg3 = (int) 0 ;
1e0c8722 21561 wxAcceleratorEntry *result;
994141e6
RD
21562 PyObject * obj0 = 0 ;
21563 PyObject * obj1 = 0 ;
21564 PyObject * obj2 = 0 ;
1e0c8722 21565 char *kwnames[] = {
66c033b4 21566 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
1e0c8722
RD
21567 };
21568
66c033b4 21569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2)) goto fail;
994141e6 21570 if (obj0) {
c32bde28 21571 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 21572 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
21573 }
21574 if (obj1) {
c32bde28 21575 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21576 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
21577 }
21578 if (obj2) {
c32bde28 21579 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 21580 if (PyErr_Occurred()) SWIG_fail;
994141e6 21581 }
1e0c8722
RD
21582 {
21583 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 21584 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3);
1e0c8722
RD
21585
21586 wxPyEndAllowThreads(__tstate);
21587 if (PyErr_Occurred()) SWIG_fail;
21588 }
15afbcd0 21589 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
1e0c8722
RD
21590 return resultobj;
21591 fail:
21592 return NULL;
21593}
21594
21595
c32bde28 21596static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21597 PyObject *resultobj;
21598 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21599 PyObject * obj0 = 0 ;
21600 char *kwnames[] = {
21601 (char *) "self", NULL
21602 };
21603
21604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
15afbcd0
RD
21605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21607 {
21608 PyThreadState* __tstate = wxPyBeginAllowThreads();
21609 delete arg1;
21610
21611 wxPyEndAllowThreads(__tstate);
21612 if (PyErr_Occurred()) SWIG_fail;
21613 }
21614 Py_INCREF(Py_None); resultobj = Py_None;
21615 return resultobj;
21616 fail:
21617 return NULL;
21618}
21619
21620
c32bde28 21621static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21622 PyObject *resultobj;
21623 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21624 int arg2 ;
21625 int arg3 ;
21626 int arg4 ;
1e0c8722 21627 PyObject * obj0 = 0 ;
994141e6
RD
21628 PyObject * obj1 = 0 ;
21629 PyObject * obj2 = 0 ;
21630 PyObject * obj3 = 0 ;
1e0c8722 21631 char *kwnames[] = {
66c033b4 21632 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
1e0c8722
RD
21633 };
21634
66c033b4 21635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
21636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 21638 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 21639 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21640 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 21641 if (PyErr_Occurred()) SWIG_fail;
c32bde28 21642 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 21643 if (PyErr_Occurred()) SWIG_fail;
1e0c8722
RD
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
66c033b4 21646 (arg1)->Set(arg2,arg3,arg4);
1e0c8722
RD
21647
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 Py_INCREF(Py_None); resultobj = Py_None;
21652 return resultobj;
21653 fail:
21654 return NULL;
21655}
21656
21657
c32bde28 21658static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21659 PyObject *resultobj;
21660 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21661 int result;
21662 PyObject * obj0 = 0 ;
21663 char *kwnames[] = {
21664 (char *) "self", NULL
21665 };
21666
21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
21668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21670 {
21671 PyThreadState* __tstate = wxPyBeginAllowThreads();
21672 result = (int)(arg1)->GetFlags();
21673
21674 wxPyEndAllowThreads(__tstate);
21675 if (PyErr_Occurred()) SWIG_fail;
21676 }
c32bde28 21677 resultobj = SWIG_From_int((int)result);
1e0c8722
RD
21678 return resultobj;
21679 fail:
21680 return NULL;
21681}
21682
21683
c32bde28 21684static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21685 PyObject *resultobj;
21686 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21687 int result;
21688 PyObject * obj0 = 0 ;
21689 char *kwnames[] = {
21690 (char *) "self", NULL
21691 };
21692
21693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
21694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21696 {
21697 PyThreadState* __tstate = wxPyBeginAllowThreads();
21698 result = (int)(arg1)->GetKeyCode();
21699
21700 wxPyEndAllowThreads(__tstate);
21701 if (PyErr_Occurred()) SWIG_fail;
21702 }
c32bde28 21703 resultobj = SWIG_From_int((int)result);
1e0c8722
RD
21704 return resultobj;
21705 fail:
21706 return NULL;
21707}
21708
21709
c32bde28 21710static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21711 PyObject *resultobj;
21712 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21713 int result;
21714 PyObject * obj0 = 0 ;
21715 char *kwnames[] = {
21716 (char *) "self", NULL
21717 };
21718
21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
21720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21722 {
21723 PyThreadState* __tstate = wxPyBeginAllowThreads();
21724 result = (int)(arg1)->GetCommand();
21725
21726 wxPyEndAllowThreads(__tstate);
21727 if (PyErr_Occurred()) SWIG_fail;
21728 }
c32bde28 21729 resultobj = SWIG_From_int((int)result);
1e0c8722
RD
21730 return resultobj;
21731 fail:
21732 return NULL;
21733}
21734
21735
c32bde28 21736static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) {
1e0c8722
RD
21737 PyObject *obj;
21738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21739 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
21740 Py_INCREF(obj);
21741 return Py_BuildValue((char *)"");
21742}
c32bde28 21743static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21744 PyObject *resultobj;
21745 int arg1 ;
21746 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
21747 wxAcceleratorTable *result;
21748 PyObject * obj0 = 0 ;
21749 char *kwnames[] = {
21750 (char *) "n", NULL
21751 };
21752
21753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
21754 {
21755 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
21756 if (arg2) arg1 = PyList_Size(obj0);
21757 else arg1 = 0;
21758 }
21759 {
21760 PyThreadState* __tstate = wxPyBeginAllowThreads();
21761 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
21762
21763 wxPyEndAllowThreads(__tstate);
21764 if (PyErr_Occurred()) SWIG_fail;
21765 }
15afbcd0 21766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
1e0c8722
RD
21767 {
21768 delete [] arg2;
21769 }
21770 return resultobj;
21771 fail:
21772 {
21773 delete [] arg2;
21774 }
21775 return NULL;
21776}
21777
21778
c32bde28 21779static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21780 PyObject *resultobj;
21781 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21782 PyObject * obj0 = 0 ;
21783 char *kwnames[] = {
21784 (char *) "self", NULL
21785 };
21786
21787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
21788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21790 {
21791 PyThreadState* __tstate = wxPyBeginAllowThreads();
21792 delete arg1;
21793
21794 wxPyEndAllowThreads(__tstate);
21795 if (PyErr_Occurred()) SWIG_fail;
21796 }
21797 Py_INCREF(Py_None); resultobj = Py_None;
21798 return resultobj;
21799 fail:
21800 return NULL;
21801}
21802
21803
c32bde28 21804static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21805 PyObject *resultobj;
21806 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21807 bool result;
21808 PyObject * obj0 = 0 ;
21809 char *kwnames[] = {
21810 (char *) "self", NULL
21811 };
21812
21813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
21814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21816 {
21817 PyThreadState* __tstate = wxPyBeginAllowThreads();
21818 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21819
21820 wxPyEndAllowThreads(__tstate);
21821 if (PyErr_Occurred()) SWIG_fail;
21822 }
4f89f6a3
RD
21823 {
21824 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21825 }
1e0c8722
RD
21826 return resultobj;
21827 fail:
21828 return NULL;
21829}
21830
21831
c32bde28 21832static PyObject * AcceleratorTable_swigregister(PyObject *, PyObject *args) {
1e0c8722
RD
21833 PyObject *obj;
21834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21835 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21836 Py_INCREF(obj);
21837 return Py_BuildValue((char *)"");
21838}
c32bde28 21839static int _wrap_NullAcceleratorTable_set(PyObject *) {
1e0c8722
RD
21840 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21841 return 1;
21842}
21843
21844
21845static PyObject *_wrap_NullAcceleratorTable_get() {
21846 PyObject *pyobj;
21847
15afbcd0 21848 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
1e0c8722
RD
21849 return pyobj;
21850}
21851
21852
c32bde28 21853static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) {
1e0c8722
RD
21854 PyObject *resultobj;
21855 wxString *arg1 = 0 ;
21856 wxAcceleratorEntry *result;
ae8162c8 21857 bool temp1 = false ;
1e0c8722
RD
21858 PyObject * obj0 = 0 ;
21859 char *kwnames[] = {
21860 (char *) "label", NULL
21861 };
21862
21863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21864 {
21865 arg1 = wxString_in_helper(obj0);
21866 if (arg1 == NULL) SWIG_fail;
ae8162c8 21867 temp1 = true;
1e0c8722
RD
21868 }
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
21871 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
15afbcd0 21876 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
1e0c8722
RD
21877 {
21878 if (temp1)
21879 delete arg1;
21880 }
21881 return resultobj;
21882 fail:
21883 {
21884 if (temp1)
21885 delete arg1;
21886 }
21887 return NULL;
21888}
21889
21890
c32bde28 21891static int _wrap_PanelNameStr_set(PyObject *) {
e811c8ce
RD
21892 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21893 return 1;
21894}
21895
21896
21897static PyObject *_wrap_PanelNameStr_get() {
21898 PyObject *pyobj;
21899
21900 {
21901#if wxUSE_UNICODE
21902 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21903#else
21904 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21905#endif
21906 }
21907 return pyobj;
21908}
21909
21910
c32bde28 21911static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
21912 PyObject *resultobj;
21913 wxVisualAttributes *result;
21914 char *kwnames[] = {
21915 NULL
21916 };
21917
21918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21919 {
21920 PyThreadState* __tstate = wxPyBeginAllowThreads();
21921 result = (wxVisualAttributes *)new_wxVisualAttributes();
21922
21923 wxPyEndAllowThreads(__tstate);
21924 if (PyErr_Occurred()) SWIG_fail;
21925 }
21926 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21927 return resultobj;
21928 fail:
21929 return NULL;
21930}
21931
21932
c32bde28 21933static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
21934 PyObject *resultobj;
21935 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21936 PyObject * obj0 = 0 ;
21937 char *kwnames[] = {
21938 (char *) "self", NULL
21939 };
21940
21941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
21942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21944 {
21945 PyThreadState* __tstate = wxPyBeginAllowThreads();
21946 delete_wxVisualAttributes(arg1);
21947
21948 wxPyEndAllowThreads(__tstate);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 }
21951 Py_INCREF(Py_None); resultobj = Py_None;
21952 return resultobj;
21953 fail:
21954 return NULL;
21955}
21956
21957
c32bde28 21958static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
21959 PyObject *resultobj;
21960 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21961 wxFont *arg2 = (wxFont *) 0 ;
21962 PyObject * obj0 = 0 ;
21963 PyObject * obj1 = 0 ;
21964 char *kwnames[] = {
21965 (char *) "self",(char *) "font", NULL
21966 };
21967
21968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
21969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21971 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
21972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21973 if (arg1) (arg1)->font = *arg2;
21974
21975 Py_INCREF(Py_None); resultobj = Py_None;
21976 return resultobj;
21977 fail:
21978 return NULL;
21979}
21980
21981
c32bde28 21982static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
21983 PyObject *resultobj;
21984 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21985 wxFont *result;
21986 PyObject * obj0 = 0 ;
21987 char *kwnames[] = {
21988 (char *) "self", NULL
21989 };
21990
21991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
21992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21994 result = (wxFont *)& ((arg1)->font);
21995
21996 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21997 return resultobj;
21998 fail:
21999 return NULL;
22000}
22001
22002
c32bde28 22003static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
22004 PyObject *resultobj;
22005 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22006 wxColour *arg2 = (wxColour *) 0 ;
22007 PyObject * obj0 = 0 ;
22008 PyObject * obj1 = 0 ;
22009 char *kwnames[] = {
22010 (char *) "self",(char *) "colFg", NULL
22011 };
22012
22013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
22014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22016 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
22017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22018 if (arg1) (arg1)->colFg = *arg2;
22019
22020 Py_INCREF(Py_None); resultobj = Py_None;
22021 return resultobj;
22022 fail:
22023 return NULL;
22024}
22025
22026
c32bde28 22027static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
22028 PyObject *resultobj;
22029 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22030 wxColour *result;
22031 PyObject * obj0 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
22037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22039 result = (wxColour *)& ((arg1)->colFg);
22040
22041 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
22042 return resultobj;
22043 fail:
22044 return NULL;
22045}
22046
22047
c32bde28 22048static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
22049 PyObject *resultobj;
22050 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22051 wxColour *arg2 = (wxColour *) 0 ;
22052 PyObject * obj0 = 0 ;
22053 PyObject * obj1 = 0 ;
22054 char *kwnames[] = {
22055 (char *) "self",(char *) "colBg", NULL
22056 };
22057
22058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
22059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
22062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22063 if (arg1) (arg1)->colBg = *arg2;
22064
22065 Py_INCREF(Py_None); resultobj = Py_None;
22066 return resultobj;
22067 fail:
22068 return NULL;
22069}
22070
22071
c32bde28 22072static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
22073 PyObject *resultobj;
22074 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
22075 wxColour *result;
22076 PyObject * obj0 = 0 ;
22077 char *kwnames[] = {
22078 (char *) "self", NULL
22079 };
22080
22081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
22082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
22083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22084 result = (wxColour *)& ((arg1)->colBg);
22085
22086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
22087 return resultobj;
22088 fail:
22089 return NULL;
22090}
22091
22092
c32bde28 22093static PyObject * VisualAttributes_swigregister(PyObject *, PyObject *args) {
74a57fcd
RD
22094 PyObject *obj;
22095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22096 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
22097 Py_INCREF(obj);
22098 return Py_BuildValue((char *)"");
22099}
c32bde28 22100static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22101 PyObject *resultobj;
22102 wxWindow *arg1 = (wxWindow *) 0 ;
74a57fcd 22103 int arg2 = (int) (int)-1 ;
d14a1e28
RD
22104 wxPoint const &arg3_defvalue = wxDefaultPosition ;
22105 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
22106 wxSize const &arg4_defvalue = wxDefaultSize ;
22107 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
22108 long arg5 = (long) 0 ;
22109 wxString const &arg6_defvalue = wxPyPanelNameStr ;
22110 wxString *arg6 = (wxString *) &arg6_defvalue ;
22111 wxWindow *result;
22112 wxPoint temp3 ;
22113 wxSize temp4 ;
ae8162c8 22114 bool temp6 = false ;
d14a1e28 22115 PyObject * obj0 = 0 ;
994141e6 22116 PyObject * obj1 = 0 ;
d14a1e28
RD
22117 PyObject * obj2 = 0 ;
22118 PyObject * obj3 = 0 ;
994141e6 22119 PyObject * obj4 = 0 ;
d14a1e28
RD
22120 PyObject * obj5 = 0 ;
22121 char *kwnames[] = {
22122 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22123 };
22124
74a57fcd 22125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
22126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd 22128 if (obj1) {
c32bde28 22129 arg2 = (int)SWIG_As_int(obj1);
74a57fcd
RD
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
d14a1e28
RD
22132 if (obj2) {
22133 {
22134 arg3 = &temp3;
22135 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
22136 }
22137 }
22138 if (obj3) {
22139 {
22140 arg4 = &temp4;
22141 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
22142 }
22143 }
994141e6 22144 if (obj4) {
c32bde28 22145 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 22146 if (PyErr_Occurred()) SWIG_fail;
994141e6 22147 }
d14a1e28
RD
22148 if (obj5) {
22149 {
22150 arg6 = wxString_in_helper(obj5);
22151 if (arg6 == NULL) SWIG_fail;
ae8162c8 22152 temp6 = true;
d14a1e28
RD
22153 }
22154 }
22155 {
e3b71cb8 22156 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22157 PyThreadState* __tstate = wxPyBeginAllowThreads();
22158 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
22159
22160 wxPyEndAllowThreads(__tstate);
110da5b0 22161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22162 }
b0f7404b 22163 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d14a1e28
RD
22164 {
22165 if (temp6)
22166 delete arg6;
22167 }
22168 return resultobj;
22169 fail:
22170 {
22171 if (temp6)
22172 delete arg6;
22173 }
22174 return NULL;
22175}
22176
22177
c32bde28 22178static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22179 PyObject *resultobj;
22180 wxWindow *result;
22181 char *kwnames[] = {
22182 NULL
22183 };
22184
22185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
22186 {
e3b71cb8 22187 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
22188 PyThreadState* __tstate = wxPyBeginAllowThreads();
22189 result = (wxWindow *)new wxWindow();
22190
22191 wxPyEndAllowThreads(__tstate);
110da5b0 22192 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 22193 }
b0f7404b 22194 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindow, 1);
d14a1e28
RD
22195 return resultobj;
22196 fail:
22197 return NULL;
22198}
22199
22200
c32bde28 22201static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22202 PyObject *resultobj;
22203 wxWindow *arg1 = (wxWindow *) 0 ;
22204 wxWindow *arg2 = (wxWindow *) 0 ;
74a57fcd 22205 int arg3 = (int) (int)-1 ;
d14a1e28
RD
22206 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22207 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22208 wxSize const &arg5_defvalue = wxDefaultSize ;
22209 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22210 long arg6 = (long) 0 ;
22211 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22212 wxString *arg7 = (wxString *) &arg7_defvalue ;
22213 bool result;
22214 wxPoint temp4 ;
22215 wxSize temp5 ;
ae8162c8 22216 bool temp7 = false ;
d14a1e28
RD
22217 PyObject * obj0 = 0 ;
22218 PyObject * obj1 = 0 ;
994141e6 22219 PyObject * obj2 = 0 ;
d14a1e28
RD
22220 PyObject * obj3 = 0 ;
22221 PyObject * obj4 = 0 ;
994141e6 22222 PyObject * obj5 = 0 ;
d14a1e28
RD
22223 PyObject * obj6 = 0 ;
22224 char *kwnames[] = {
22225 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22226 };
22227
74a57fcd 22228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
22229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22231 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
22232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
74a57fcd 22233 if (obj2) {
c32bde28 22234 arg3 = (int)SWIG_As_int(obj2);
74a57fcd
RD
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
d14a1e28
RD
22237 if (obj3) {
22238 {
22239 arg4 = &temp4;
22240 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22241 }
22242 }
22243 if (obj4) {
22244 {
22245 arg5 = &temp5;
22246 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22247 }
22248 }
994141e6 22249 if (obj5) {
c32bde28 22250 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 22251 if (PyErr_Occurred()) SWIG_fail;
994141e6 22252 }
d14a1e28
RD
22253 if (obj6) {
22254 {
22255 arg7 = wxString_in_helper(obj6);
22256 if (arg7 == NULL) SWIG_fail;
ae8162c8 22257 temp7 = true;
d14a1e28
RD
22258 }
22259 }
22260 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
4f89f6a3
RD
22267 {
22268 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22269 }
d14a1e28
RD
22270 {
22271 if (temp7)
22272 delete arg7;
22273 }
22274 return resultobj;
22275 fail:
22276 {
22277 if (temp7)
22278 delete arg7;
22279 }
22280 return NULL;
22281}
22282
22283
c32bde28 22284static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22285 PyObject *resultobj;
22286 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 22287 bool arg2 = (bool) false ;
d14a1e28
RD
22288 bool result;
22289 PyObject * obj0 = 0 ;
22290 PyObject * obj1 = 0 ;
22291 char *kwnames[] = {
22292 (char *) "self",(char *) "force", NULL
22293 };
22294
22295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 22298 if (obj1) {
c32bde28 22299 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 22300 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22301 }
22302 {
22303 PyThreadState* __tstate = wxPyBeginAllowThreads();
22304 result = (bool)(arg1)->Close(arg2);
22305
22306 wxPyEndAllowThreads(__tstate);
22307 if (PyErr_Occurred()) SWIG_fail;
22308 }
4f89f6a3
RD
22309 {
22310 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22311 }
d14a1e28
RD
22312 return resultobj;
22313 fail:
22314 return NULL;
22315}
22316
22317
c32bde28 22318static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22319 PyObject *resultobj;
22320 wxWindow *arg1 = (wxWindow *) 0 ;
22321 bool result;
22322 PyObject * obj0 = 0 ;
22323 char *kwnames[] = {
22324 (char *) "self", NULL
22325 };
22326
22327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
22328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22330 {
22331 PyThreadState* __tstate = wxPyBeginAllowThreads();
22332 result = (bool)(arg1)->Destroy();
22333
22334 wxPyEndAllowThreads(__tstate);
22335 if (PyErr_Occurred()) SWIG_fail;
22336 }
4f89f6a3
RD
22337 {
22338 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22339 }
d14a1e28
RD
22340 return resultobj;
22341 fail:
22342 return NULL;
22343}
22344
22345
c32bde28 22346static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22347 PyObject *resultobj;
22348 wxWindow *arg1 = (wxWindow *) 0 ;
22349 bool result;
22350 PyObject * obj0 = 0 ;
22351 char *kwnames[] = {
22352 (char *) "self", NULL
22353 };
22354
22355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
22356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22358 {
22359 PyThreadState* __tstate = wxPyBeginAllowThreads();
22360 result = (bool)(arg1)->DestroyChildren();
22361
22362 wxPyEndAllowThreads(__tstate);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 }
4f89f6a3
RD
22365 {
22366 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22367 }
d14a1e28
RD
22368 return resultobj;
22369 fail:
22370 return NULL;
22371}
22372
22373
c32bde28 22374static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22375 PyObject *resultobj;
22376 wxWindow *arg1 = (wxWindow *) 0 ;
22377 bool result;
22378 PyObject * obj0 = 0 ;
22379 char *kwnames[] = {
22380 (char *) "self", NULL
22381 };
22382
22383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
15afbcd0
RD
22384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22386 {
22387 PyThreadState* __tstate = wxPyBeginAllowThreads();
22388 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
22389
22390 wxPyEndAllowThreads(__tstate);
22391 if (PyErr_Occurred()) SWIG_fail;
22392 }
4f89f6a3
RD
22393 {
22394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
22395 }
d14a1e28
RD
22396 return resultobj;
22397 fail:
22398 return NULL;
22399}
22400
22401
c32bde28 22402static PyObject *_wrap_Window_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22403 PyObject *resultobj;
22404 wxWindow *arg1 = (wxWindow *) 0 ;
22405 wxString *arg2 = 0 ;
ae8162c8 22406 bool temp2 = false ;
d14a1e28
RD
22407 PyObject * obj0 = 0 ;
22408 PyObject * obj1 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self",(char *) "title", NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22416 {
22417 arg2 = wxString_in_helper(obj1);
22418 if (arg2 == NULL) SWIG_fail;
ae8162c8 22419 temp2 = true;
d14a1e28
RD
22420 }
22421 {
22422 PyThreadState* __tstate = wxPyBeginAllowThreads();
22423 (arg1)->SetTitle((wxString const &)*arg2);
22424
22425 wxPyEndAllowThreads(__tstate);
22426 if (PyErr_Occurred()) SWIG_fail;
22427 }
22428 Py_INCREF(Py_None); resultobj = Py_None;
22429 {
22430 if (temp2)
22431 delete arg2;
22432 }
22433 return resultobj;
22434 fail:
22435 {
22436 if (temp2)
22437 delete arg2;
22438 }
22439 return NULL;
22440}
22441
22442
c32bde28 22443static PyObject *_wrap_Window_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22444 PyObject *resultobj;
22445 wxWindow *arg1 = (wxWindow *) 0 ;
22446 wxString result;
22447 PyObject * obj0 = 0 ;
22448 char *kwnames[] = {
22449 (char *) "self", NULL
22450 };
22451
22452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
22453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22455 {
22456 PyThreadState* __tstate = wxPyBeginAllowThreads();
22457 result = ((wxWindow const *)arg1)->GetTitle();
22458
22459 wxPyEndAllowThreads(__tstate);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 }
22462 {
22463#if wxUSE_UNICODE
22464 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22465#else
22466 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22467#endif
22468 }
22469 return resultobj;
22470 fail:
22471 return NULL;
22472}
22473
22474
c32bde28 22475static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22476 PyObject *resultobj;
22477 wxWindow *arg1 = (wxWindow *) 0 ;
22478 wxString *arg2 = 0 ;
ae8162c8 22479 bool temp2 = false ;
d14a1e28
RD
22480 PyObject * obj0 = 0 ;
22481 PyObject * obj1 = 0 ;
22482 char *kwnames[] = {
22483 (char *) "self",(char *) "label", NULL
22484 };
22485
22486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22489 {
22490 arg2 = wxString_in_helper(obj1);
22491 if (arg2 == NULL) SWIG_fail;
ae8162c8 22492 temp2 = true;
d14a1e28
RD
22493 }
22494 {
22495 PyThreadState* __tstate = wxPyBeginAllowThreads();
22496 (arg1)->SetLabel((wxString const &)*arg2);
22497
22498 wxPyEndAllowThreads(__tstate);
22499 if (PyErr_Occurred()) SWIG_fail;
22500 }
22501 Py_INCREF(Py_None); resultobj = Py_None;
22502 {
22503 if (temp2)
22504 delete arg2;
22505 }
22506 return resultobj;
22507 fail:
22508 {
22509 if (temp2)
22510 delete arg2;
22511 }
22512 return NULL;
22513}
22514
22515
c32bde28 22516static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22517 PyObject *resultobj;
22518 wxWindow *arg1 = (wxWindow *) 0 ;
22519 wxString result;
22520 PyObject * obj0 = 0 ;
22521 char *kwnames[] = {
22522 (char *) "self", NULL
22523 };
22524
22525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
22526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22528 {
22529 PyThreadState* __tstate = wxPyBeginAllowThreads();
22530 result = ((wxWindow const *)arg1)->GetLabel();
22531
22532 wxPyEndAllowThreads(__tstate);
22533 if (PyErr_Occurred()) SWIG_fail;
22534 }
22535 {
22536#if wxUSE_UNICODE
22537 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22538#else
22539 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22540#endif
22541 }
22542 return resultobj;
22543 fail:
22544 return NULL;
22545}
22546
22547
c32bde28 22548static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22549 PyObject *resultobj;
22550 wxWindow *arg1 = (wxWindow *) 0 ;
22551 wxString *arg2 = 0 ;
ae8162c8 22552 bool temp2 = false ;
d14a1e28
RD
22553 PyObject * obj0 = 0 ;
22554 PyObject * obj1 = 0 ;
22555 char *kwnames[] = {
22556 (char *) "self",(char *) "name", NULL
22557 };
22558
22559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22562 {
22563 arg2 = wxString_in_helper(obj1);
22564 if (arg2 == NULL) SWIG_fail;
ae8162c8 22565 temp2 = true;
d14a1e28
RD
22566 }
22567 {
22568 PyThreadState* __tstate = wxPyBeginAllowThreads();
22569 (arg1)->SetName((wxString const &)*arg2);
22570
22571 wxPyEndAllowThreads(__tstate);
22572 if (PyErr_Occurred()) SWIG_fail;
22573 }
22574 Py_INCREF(Py_None); resultobj = Py_None;
22575 {
22576 if (temp2)
22577 delete arg2;
22578 }
22579 return resultobj;
22580 fail:
22581 {
22582 if (temp2)
22583 delete arg2;
22584 }
22585 return NULL;
22586}
22587
22588
c32bde28 22589static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22590 PyObject *resultobj;
22591 wxWindow *arg1 = (wxWindow *) 0 ;
22592 wxString result;
22593 PyObject * obj0 = 0 ;
22594 char *kwnames[] = {
22595 (char *) "self", NULL
22596 };
22597
22598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
22599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22601 {
22602 PyThreadState* __tstate = wxPyBeginAllowThreads();
22603 result = ((wxWindow const *)arg1)->GetName();
22604
22605 wxPyEndAllowThreads(__tstate);
22606 if (PyErr_Occurred()) SWIG_fail;
22607 }
22608 {
22609#if wxUSE_UNICODE
22610 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
22611#else
22612 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
22613#endif
22614 }
22615 return resultobj;
22616 fail:
22617 return NULL;
22618}
22619
22620
c32bde28 22621static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
22622 PyObject *resultobj;
22623 wxWindow *arg1 = (wxWindow *) 0 ;
22624 int arg2 ;
22625 PyObject * obj0 = 0 ;
22626 PyObject * obj1 = 0 ;
22627 char *kwnames[] = {
22628 (char *) "self",(char *) "variant", NULL
22629 };
22630
22631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
22632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22634 arg2 = (int)SWIG_As_int(obj1);
4276dc52
RD
22635 if (PyErr_Occurred()) SWIG_fail;
22636 {
22637 PyThreadState* __tstate = wxPyBeginAllowThreads();
22638 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
22639
22640 wxPyEndAllowThreads(__tstate);
22641 if (PyErr_Occurred()) SWIG_fail;
22642 }
22643 Py_INCREF(Py_None); resultobj = Py_None;
22644 return resultobj;
22645 fail:
22646 return NULL;
22647}
22648
22649
c32bde28 22650static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
4276dc52
RD
22651 PyObject *resultobj;
22652 wxWindow *arg1 = (wxWindow *) 0 ;
22653 int result;
22654 PyObject * obj0 = 0 ;
22655 char *kwnames[] = {
22656 (char *) "self", NULL
22657 };
22658
22659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
22660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22662 {
22663 PyThreadState* __tstate = wxPyBeginAllowThreads();
22664 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
22665
22666 wxPyEndAllowThreads(__tstate);
22667 if (PyErr_Occurred()) SWIG_fail;
22668 }
c32bde28 22669 resultobj = SWIG_From_int((int)result);
4276dc52
RD
22670 return resultobj;
22671 fail:
22672 return NULL;
22673}
22674
22675
c32bde28 22676static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22677 PyObject *resultobj;
22678 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22679 int arg2 ;
d14a1e28 22680 PyObject * obj0 = 0 ;
994141e6 22681 PyObject * obj1 = 0 ;
d14a1e28
RD
22682 char *kwnames[] = {
22683 (char *) "self",(char *) "winid", NULL
22684 };
22685
994141e6 22686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22689 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22690 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22691 {
22692 PyThreadState* __tstate = wxPyBeginAllowThreads();
22693 (arg1)->SetId(arg2);
22694
22695 wxPyEndAllowThreads(__tstate);
22696 if (PyErr_Occurred()) SWIG_fail;
22697 }
22698 Py_INCREF(Py_None); resultobj = Py_None;
22699 return resultobj;
22700 fail:
22701 return NULL;
22702}
22703
22704
c32bde28 22705static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22706 PyObject *resultobj;
22707 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 22708 int result;
d14a1e28
RD
22709 PyObject * obj0 = 0 ;
22710 char *kwnames[] = {
22711 (char *) "self", NULL
22712 };
22713
22714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
22715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22717 {
22718 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22719 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
22720
22721 wxPyEndAllowThreads(__tstate);
22722 if (PyErr_Occurred()) SWIG_fail;
22723 }
c32bde28 22724 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22725 return resultobj;
22726 fail:
22727 return NULL;
22728}
22729
22730
c32bde28 22731static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22732 PyObject *resultobj;
22733 int result;
22734 char *kwnames[] = {
22735 NULL
22736 };
22737
22738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
22739 {
22740 PyThreadState* __tstate = wxPyBeginAllowThreads();
22741 result = (int)wxWindow::NewControlId();
22742
22743 wxPyEndAllowThreads(__tstate);
22744 if (PyErr_Occurred()) SWIG_fail;
22745 }
c32bde28 22746 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22747 return resultobj;
22748 fail:
22749 return NULL;
22750}
22751
22752
c32bde28 22753static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22754 PyObject *resultobj;
22755 int arg1 ;
22756 int result;
994141e6 22757 PyObject * obj0 = 0 ;
d14a1e28
RD
22758 char *kwnames[] = {
22759 (char *) "winid", NULL
22760 };
22761
994141e6 22762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
c32bde28 22763 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 22764 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22765 {
22766 PyThreadState* __tstate = wxPyBeginAllowThreads();
22767 result = (int)wxWindow::NextControlId(arg1);
22768
22769 wxPyEndAllowThreads(__tstate);
22770 if (PyErr_Occurred()) SWIG_fail;
22771 }
c32bde28 22772 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22773 return resultobj;
22774 fail:
22775 return NULL;
22776}
22777
22778
c32bde28 22779static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22780 PyObject *resultobj;
22781 int arg1 ;
22782 int result;
994141e6 22783 PyObject * obj0 = 0 ;
d14a1e28
RD
22784 char *kwnames[] = {
22785 (char *) "winid", NULL
22786 };
22787
994141e6 22788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
c32bde28 22789 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 22790 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22791 {
22792 PyThreadState* __tstate = wxPyBeginAllowThreads();
22793 result = (int)wxWindow::PrevControlId(arg1);
22794
22795 wxPyEndAllowThreads(__tstate);
22796 if (PyErr_Occurred()) SWIG_fail;
22797 }
c32bde28 22798 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
22799 return resultobj;
22800 fail:
22801 return NULL;
22802}
22803
22804
c32bde28 22805static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22806 PyObject *resultobj;
22807 wxWindow *arg1 = (wxWindow *) 0 ;
22808 wxSize *arg2 = 0 ;
22809 wxSize temp2 ;
22810 PyObject * obj0 = 0 ;
22811 PyObject * obj1 = 0 ;
22812 char *kwnames[] = {
22813 (char *) "self",(char *) "size", NULL
22814 };
22815
22816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22819 {
22820 arg2 = &temp2;
22821 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22822 }
22823 {
22824 PyThreadState* __tstate = wxPyBeginAllowThreads();
22825 (arg1)->SetSize((wxSize const &)*arg2);
22826
22827 wxPyEndAllowThreads(__tstate);
22828 if (PyErr_Occurred()) SWIG_fail;
22829 }
22830 Py_INCREF(Py_None); resultobj = Py_None;
22831 return resultobj;
22832 fail:
22833 return NULL;
22834}
22835
22836
c32bde28 22837static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22838 PyObject *resultobj;
22839 wxWindow *arg1 = (wxWindow *) 0 ;
22840 int arg2 ;
22841 int arg3 ;
22842 int arg4 ;
22843 int arg5 ;
22844 int arg6 = (int) wxSIZE_AUTO ;
22845 PyObject * obj0 = 0 ;
994141e6
RD
22846 PyObject * obj1 = 0 ;
22847 PyObject * obj2 = 0 ;
22848 PyObject * obj3 = 0 ;
22849 PyObject * obj4 = 0 ;
22850 PyObject * obj5 = 0 ;
d14a1e28
RD
22851 char *kwnames[] = {
22852 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22853 };
22854
994141e6 22855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
22856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22858 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22859 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22860 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22861 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22862 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 22863 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22864 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 22865 if (PyErr_Occurred()) SWIG_fail;
994141e6 22866 if (obj5) {
c32bde28 22867 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 22868 if (PyErr_Occurred()) SWIG_fail;
994141e6 22869 }
d14a1e28
RD
22870 {
22871 PyThreadState* __tstate = wxPyBeginAllowThreads();
22872 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22873
22874 wxPyEndAllowThreads(__tstate);
22875 if (PyErr_Occurred()) SWIG_fail;
22876 }
22877 Py_INCREF(Py_None); resultobj = Py_None;
22878 return resultobj;
22879 fail:
22880 return NULL;
22881}
22882
22883
c32bde28 22884static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22885 PyObject *resultobj;
22886 wxWindow *arg1 = (wxWindow *) 0 ;
22887 wxRect *arg2 = 0 ;
22888 int arg3 = (int) wxSIZE_AUTO ;
22889 wxRect temp2 ;
22890 PyObject * obj0 = 0 ;
22891 PyObject * obj1 = 0 ;
994141e6 22892 PyObject * obj2 = 0 ;
d14a1e28
RD
22893 char *kwnames[] = {
22894 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22895 };
22896
994141e6 22897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22900 {
22901 arg2 = &temp2;
22902 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22903 }
994141e6 22904 if (obj2) {
c32bde28 22905 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22906 if (PyErr_Occurred()) SWIG_fail;
994141e6 22907 }
d14a1e28
RD
22908 {
22909 PyThreadState* __tstate = wxPyBeginAllowThreads();
22910 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22911
22912 wxPyEndAllowThreads(__tstate);
22913 if (PyErr_Occurred()) SWIG_fail;
22914 }
22915 Py_INCREF(Py_None); resultobj = Py_None;
22916 return resultobj;
22917 fail:
22918 return NULL;
22919}
22920
22921
c32bde28 22922static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22923 PyObject *resultobj;
22924 wxWindow *arg1 = (wxWindow *) 0 ;
22925 int arg2 ;
22926 int arg3 ;
22927 PyObject * obj0 = 0 ;
994141e6
RD
22928 PyObject * obj1 = 0 ;
22929 PyObject * obj2 = 0 ;
d14a1e28
RD
22930 char *kwnames[] = {
22931 (char *) "self",(char *) "width",(char *) "height", NULL
22932 };
22933
994141e6 22934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 22937 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 22938 if (PyErr_Occurred()) SWIG_fail;
c32bde28 22939 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22940 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22941 {
22942 PyThreadState* __tstate = wxPyBeginAllowThreads();
22943 (arg1)->SetSize(arg2,arg3);
22944
22945 wxPyEndAllowThreads(__tstate);
22946 if (PyErr_Occurred()) SWIG_fail;
22947 }
22948 Py_INCREF(Py_None); resultobj = Py_None;
22949 return resultobj;
22950 fail:
22951 return NULL;
22952}
22953
22954
c32bde28 22955static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22956 PyObject *resultobj;
22957 wxWindow *arg1 = (wxWindow *) 0 ;
22958 wxPoint *arg2 = 0 ;
22959 int arg3 = (int) wxSIZE_USE_EXISTING ;
22960 wxPoint temp2 ;
22961 PyObject * obj0 = 0 ;
22962 PyObject * obj1 = 0 ;
994141e6 22963 PyObject * obj2 = 0 ;
d14a1e28
RD
22964 char *kwnames[] = {
22965 (char *) "self",(char *) "pt",(char *) "flags", NULL
22966 };
22967
994141e6 22968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22971 {
22972 arg2 = &temp2;
22973 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22974 }
994141e6 22975 if (obj2) {
c32bde28 22976 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 22977 if (PyErr_Occurred()) SWIG_fail;
994141e6 22978 }
d14a1e28
RD
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 (arg1)->Move((wxPoint const &)*arg2,arg3);
22982
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
22986 Py_INCREF(Py_None); resultobj = Py_None;
22987 return resultobj;
22988 fail:
22989 return NULL;
22990}
22991
22992
c32bde28 22993static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22994 PyObject *resultobj;
22995 wxWindow *arg1 = (wxWindow *) 0 ;
22996 int arg2 ;
22997 int arg3 ;
22998 int arg4 = (int) wxSIZE_USE_EXISTING ;
22999 PyObject * obj0 = 0 ;
994141e6
RD
23000 PyObject * obj1 = 0 ;
23001 PyObject * obj2 = 0 ;
23002 PyObject * obj3 = 0 ;
d14a1e28
RD
23003 char *kwnames[] = {
23004 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
23005 };
23006
994141e6 23007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
23008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23010 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23011 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23012 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 23013 if (PyErr_Occurred()) SWIG_fail;
994141e6 23014 if (obj3) {
c32bde28 23015 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 23016 if (PyErr_Occurred()) SWIG_fail;
994141e6 23017 }
d14a1e28
RD
23018 {
23019 PyThreadState* __tstate = wxPyBeginAllowThreads();
23020 (arg1)->Move(arg2,arg3,arg4);
23021
23022 wxPyEndAllowThreads(__tstate);
23023 if (PyErr_Occurred()) SWIG_fail;
23024 }
23025 Py_INCREF(Py_None); resultobj = Py_None;
23026 return resultobj;
23027 fail:
23028 return NULL;
23029}
23030
23031
c32bde28 23032static PyObject *_wrap_Window_SetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
f8167d6e
RD
23033 PyObject *resultobj;
23034 wxWindow *arg1 = (wxWindow *) 0 ;
23035 wxSize const &arg2_defvalue = wxDefaultSize ;
23036 wxSize *arg2 = (wxSize *) &arg2_defvalue ;
23037 wxSize temp2 ;
23038 PyObject * obj0 = 0 ;
23039 PyObject * obj1 = 0 ;
23040 char *kwnames[] = {
23041 (char *) "self",(char *) "size", NULL
23042 };
23043
23044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_SetBestFittingSize",kwnames,&obj0,&obj1)) goto fail;
23045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23047 if (obj1) {
23048 {
23049 arg2 = &temp2;
23050 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23051 }
23052 }
23053 {
23054 PyThreadState* __tstate = wxPyBeginAllowThreads();
23055 (arg1)->SetBestFittingSize((wxSize const &)*arg2);
23056
23057 wxPyEndAllowThreads(__tstate);
23058 if (PyErr_Occurred()) SWIG_fail;
23059 }
23060 Py_INCREF(Py_None); resultobj = Py_None;
23061 return resultobj;
23062 fail:
23063 return NULL;
23064}
23065
23066
c32bde28 23067static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23068 PyObject *resultobj;
23069 wxWindow *arg1 = (wxWindow *) 0 ;
23070 PyObject * obj0 = 0 ;
23071 char *kwnames[] = {
23072 (char *) "self", NULL
23073 };
23074
23075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
15afbcd0
RD
23076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23078 {
23079 PyThreadState* __tstate = wxPyBeginAllowThreads();
23080 (arg1)->Raise();
23081
23082 wxPyEndAllowThreads(__tstate);
23083 if (PyErr_Occurred()) SWIG_fail;
23084 }
23085 Py_INCREF(Py_None); resultobj = Py_None;
23086 return resultobj;
23087 fail:
23088 return NULL;
23089}
23090
23091
c32bde28 23092static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23093 PyObject *resultobj;
23094 wxWindow *arg1 = (wxWindow *) 0 ;
23095 PyObject * obj0 = 0 ;
23096 char *kwnames[] = {
23097 (char *) "self", NULL
23098 };
23099
23100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
15afbcd0
RD
23101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23103 {
23104 PyThreadState* __tstate = wxPyBeginAllowThreads();
23105 (arg1)->Lower();
23106
23107 wxPyEndAllowThreads(__tstate);
23108 if (PyErr_Occurred()) SWIG_fail;
23109 }
23110 Py_INCREF(Py_None); resultobj = Py_None;
23111 return resultobj;
23112 fail:
23113 return NULL;
23114}
23115
23116
c32bde28 23117static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23118 PyObject *resultobj;
23119 wxWindow *arg1 = (wxWindow *) 0 ;
23120 wxSize *arg2 = 0 ;
23121 wxSize temp2 ;
23122 PyObject * obj0 = 0 ;
23123 PyObject * obj1 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "self",(char *) "size", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23131 {
23132 arg2 = &temp2;
23133 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23134 }
23135 {
23136 PyThreadState* __tstate = wxPyBeginAllowThreads();
23137 (arg1)->SetClientSize((wxSize const &)*arg2);
23138
23139 wxPyEndAllowThreads(__tstate);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 }
23142 Py_INCREF(Py_None); resultobj = Py_None;
23143 return resultobj;
23144 fail:
23145 return NULL;
23146}
23147
23148
c32bde28 23149static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23150 PyObject *resultobj;
23151 wxWindow *arg1 = (wxWindow *) 0 ;
23152 int arg2 ;
23153 int arg3 ;
23154 PyObject * obj0 = 0 ;
994141e6
RD
23155 PyObject * obj1 = 0 ;
23156 PyObject * obj2 = 0 ;
d14a1e28
RD
23157 char *kwnames[] = {
23158 (char *) "self",(char *) "width",(char *) "height", NULL
23159 };
23160
994141e6 23161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
23162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23164 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23165 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23166 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 23167 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23168 {
23169 PyThreadState* __tstate = wxPyBeginAllowThreads();
23170 (arg1)->SetClientSize(arg2,arg3);
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_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23183 PyObject *resultobj;
23184 wxWindow *arg1 = (wxWindow *) 0 ;
23185 wxRect *arg2 = 0 ;
23186 wxRect temp2 ;
23187 PyObject * obj0 = 0 ;
23188 PyObject * obj1 = 0 ;
23189 char *kwnames[] = {
23190 (char *) "self",(char *) "rect", NULL
23191 };
23192
23193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",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 ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
23199 }
23200 {
23201 PyThreadState* __tstate = wxPyBeginAllowThreads();
23202 (arg1)->SetClientSize((wxRect 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_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23215 PyObject *resultobj;
23216 wxWindow *arg1 = (wxWindow *) 0 ;
23217 wxPoint result;
23218 PyObject * obj0 = 0 ;
23219 char *kwnames[] = {
23220 (char *) "self", NULL
23221 };
23222
23223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
23224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23226 {
23227 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 23228 result = (arg1)->GetPosition();
d14a1e28
RD
23229
23230 wxPyEndAllowThreads(__tstate);
23231 if (PyErr_Occurred()) SWIG_fail;
23232 }
23233 {
23234 wxPoint * resultptr;
23235 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 23236 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
23237 }
23238 return resultobj;
23239 fail:
23240 return NULL;
23241}
23242
23243
c32bde28 23244static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23245 PyObject *resultobj;
23246 wxWindow *arg1 = (wxWindow *) 0 ;
23247 int *arg2 = (int *) 0 ;
23248 int *arg3 = (int *) 0 ;
23249 int temp2 ;
c32bde28 23250 int res2 = 0 ;
d14a1e28 23251 int temp3 ;
c32bde28 23252 int res3 = 0 ;
d14a1e28
RD
23253 PyObject * obj0 = 0 ;
23254 char *kwnames[] = {
23255 (char *) "self", NULL
23256 };
23257
c32bde28
RD
23258 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23259 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 23260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23263 {
23264 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 23265 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
23266
23267 wxPyEndAllowThreads(__tstate);
23268 if (PyErr_Occurred()) SWIG_fail;
23269 }
23270 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23271 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23272 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23273 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23274 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
23275 return resultobj;
23276 fail:
23277 return NULL;
23278}
23279
23280
c32bde28 23281static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23282 PyObject *resultobj;
23283 wxWindow *arg1 = (wxWindow *) 0 ;
23284 wxSize result;
23285 PyObject * obj0 = 0 ;
23286 char *kwnames[] = {
23287 (char *) "self", NULL
23288 };
23289
23290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23293 {
23294 PyThreadState* __tstate = wxPyBeginAllowThreads();
23295 result = ((wxWindow const *)arg1)->GetSize();
23296
23297 wxPyEndAllowThreads(__tstate);
23298 if (PyErr_Occurred()) SWIG_fail;
23299 }
23300 {
23301 wxSize * resultptr;
23302 resultptr = new wxSize((wxSize &) result);
15afbcd0 23303 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23304 }
23305 return resultobj;
23306 fail:
23307 return NULL;
23308}
23309
23310
c32bde28 23311static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23312 PyObject *resultobj;
23313 wxWindow *arg1 = (wxWindow *) 0 ;
23314 int *arg2 = (int *) 0 ;
23315 int *arg3 = (int *) 0 ;
23316 int temp2 ;
c32bde28 23317 int res2 = 0 ;
d14a1e28 23318 int temp3 ;
c32bde28 23319 int res3 = 0 ;
d14a1e28
RD
23320 PyObject * obj0 = 0 ;
23321 char *kwnames[] = {
23322 (char *) "self", NULL
23323 };
23324
c32bde28
RD
23325 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23326 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 23327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23330 {
23331 PyThreadState* __tstate = wxPyBeginAllowThreads();
23332 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
23333
23334 wxPyEndAllowThreads(__tstate);
23335 if (PyErr_Occurred()) SWIG_fail;
23336 }
23337 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23338 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23339 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23340 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23341 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
23342 return resultobj;
23343 fail:
23344 return NULL;
23345}
23346
23347
c32bde28 23348static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23349 PyObject *resultobj;
23350 wxWindow *arg1 = (wxWindow *) 0 ;
23351 wxRect result;
23352 PyObject * obj0 = 0 ;
23353 char *kwnames[] = {
23354 (char *) "self", NULL
23355 };
23356
23357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
23358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23360 {
23361 PyThreadState* __tstate = wxPyBeginAllowThreads();
23362 result = ((wxWindow const *)arg1)->GetRect();
23363
23364 wxPyEndAllowThreads(__tstate);
23365 if (PyErr_Occurred()) SWIG_fail;
23366 }
23367 {
23368 wxRect * resultptr;
23369 resultptr = new wxRect((wxRect &) result);
15afbcd0 23370 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
23371 }
23372 return resultobj;
23373 fail:
23374 return NULL;
23375}
23376
23377
c32bde28 23378static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23379 PyObject *resultobj;
23380 wxWindow *arg1 = (wxWindow *) 0 ;
23381 wxSize result;
23382 PyObject * obj0 = 0 ;
23383 char *kwnames[] = {
23384 (char *) "self", NULL
23385 };
23386
23387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23390 {
23391 PyThreadState* __tstate = wxPyBeginAllowThreads();
23392 result = ((wxWindow const *)arg1)->GetClientSize();
23393
23394 wxPyEndAllowThreads(__tstate);
23395 if (PyErr_Occurred()) SWIG_fail;
23396 }
23397 {
23398 wxSize * resultptr;
23399 resultptr = new wxSize((wxSize &) result);
15afbcd0 23400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23401 }
23402 return resultobj;
23403 fail:
23404 return NULL;
23405}
23406
23407
c32bde28 23408static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23409 PyObject *resultobj;
23410 wxWindow *arg1 = (wxWindow *) 0 ;
23411 int *arg2 = (int *) 0 ;
23412 int *arg3 = (int *) 0 ;
23413 int temp2 ;
c32bde28 23414 int res2 = 0 ;
d14a1e28 23415 int temp3 ;
c32bde28 23416 int res3 = 0 ;
d14a1e28
RD
23417 PyObject * obj0 = 0 ;
23418 char *kwnames[] = {
23419 (char *) "self", NULL
23420 };
23421
c32bde28
RD
23422 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23423 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 23424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23427 {
23428 PyThreadState* __tstate = wxPyBeginAllowThreads();
23429 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
23430
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
23434 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23435 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23436 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23437 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23438 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
23439 return resultobj;
23440 fail:
23441 return NULL;
23442}
23443
23444
c32bde28 23445static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23446 PyObject *resultobj;
23447 wxWindow *arg1 = (wxWindow *) 0 ;
23448 wxPoint result;
23449 PyObject * obj0 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "self", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
23455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
23460
23461 wxPyEndAllowThreads(__tstate);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 }
23464 {
23465 wxPoint * resultptr;
23466 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 23467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
23468 }
23469 return resultobj;
23470 fail:
23471 return NULL;
23472}
23473
23474
c32bde28 23475static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23476 PyObject *resultobj;
23477 wxWindow *arg1 = (wxWindow *) 0 ;
23478 wxRect result;
23479 PyObject * obj0 = 0 ;
23480 char *kwnames[] = {
23481 (char *) "self", NULL
23482 };
23483
23484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
23485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23487 {
23488 PyThreadState* __tstate = wxPyBeginAllowThreads();
23489 result = ((wxWindow const *)arg1)->GetClientRect();
23490
23491 wxPyEndAllowThreads(__tstate);
23492 if (PyErr_Occurred()) SWIG_fail;
23493 }
23494 {
23495 wxRect * resultptr;
23496 resultptr = new wxRect((wxRect &) result);
15afbcd0 23497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
23498 }
23499 return resultobj;
23500 fail:
23501 return NULL;
23502}
23503
23504
c32bde28 23505static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23506 PyObject *resultobj;
23507 wxWindow *arg1 = (wxWindow *) 0 ;
23508 wxSize result;
23509 PyObject * obj0 = 0 ;
23510 char *kwnames[] = {
23511 (char *) "self", NULL
23512 };
23513
23514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23517 {
23518 PyThreadState* __tstate = wxPyBeginAllowThreads();
23519 result = ((wxWindow const *)arg1)->GetBestSize();
23520
23521 wxPyEndAllowThreads(__tstate);
23522 if (PyErr_Occurred()) SWIG_fail;
23523 }
23524 {
23525 wxSize * resultptr;
23526 resultptr = new wxSize((wxSize &) result);
15afbcd0 23527 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23528 }
23529 return resultobj;
23530 fail:
23531 return NULL;
23532}
23533
23534
c32bde28 23535static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23536 PyObject *resultobj;
23537 wxWindow *arg1 = (wxWindow *) 0 ;
23538 int *arg2 = (int *) 0 ;
23539 int *arg3 = (int *) 0 ;
23540 int temp2 ;
c32bde28 23541 int res2 = 0 ;
d14a1e28 23542 int temp3 ;
c32bde28 23543 int res3 = 0 ;
d14a1e28
RD
23544 PyObject * obj0 = 0 ;
23545 char *kwnames[] = {
23546 (char *) "self", NULL
23547 };
23548
c32bde28
RD
23549 arg2 = &temp2; res2 = SWIG_NEWOBJ;
23550 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 23551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23554 {
23555 PyThreadState* __tstate = wxPyBeginAllowThreads();
23556 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
23557
23558 wxPyEndAllowThreads(__tstate);
23559 if (PyErr_Occurred()) SWIG_fail;
23560 }
23561 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
23562 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
23563 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
23564 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
23565 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
23566 return resultobj;
23567 fail:
23568 return NULL;
23569}
23570
23571
c32bde28 23572static PyObject *_wrap_Window_InvalidateBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
dfbb5885
RD
23573 PyObject *resultobj;
23574 wxWindow *arg1 = (wxWindow *) 0 ;
23575 PyObject * obj0 = 0 ;
23576 char *kwnames[] = {
23577 (char *) "self", NULL
23578 };
23579
23580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InvalidateBestSize",kwnames,&obj0)) goto fail;
23581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23583 {
23584 PyThreadState* __tstate = wxPyBeginAllowThreads();
23585 (arg1)->InvalidateBestSize();
23586
23587 wxPyEndAllowThreads(__tstate);
23588 if (PyErr_Occurred()) SWIG_fail;
23589 }
23590 Py_INCREF(Py_None); resultobj = Py_None;
23591 return resultobj;
23592 fail:
23593 return NULL;
23594}
23595
23596
c32bde28 23597static PyObject *_wrap_Window_GetBestFittingSize(PyObject *, PyObject *args, PyObject *kwargs) {
dfbb5885
RD
23598 PyObject *resultobj;
23599 wxWindow *arg1 = (wxWindow *) 0 ;
23600 wxSize result;
23601 PyObject * obj0 = 0 ;
23602 char *kwnames[] = {
23603 (char *) "self", NULL
23604 };
23605
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestFittingSize",kwnames,&obj0)) goto fail;
23607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23609 {
23610 PyThreadState* __tstate = wxPyBeginAllowThreads();
23611 result = ((wxWindow const *)arg1)->GetBestFittingSize();
23612
23613 wxPyEndAllowThreads(__tstate);
23614 if (PyErr_Occurred()) SWIG_fail;
23615 }
23616 {
23617 wxSize * resultptr;
23618 resultptr = new wxSize((wxSize &) result);
23619 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23620 }
23621 return resultobj;
23622 fail:
23623 return NULL;
23624}
23625
23626
c32bde28 23627static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23628 PyObject *resultobj;
23629 wxWindow *arg1 = (wxWindow *) 0 ;
23630 wxSize result;
23631 PyObject * obj0 = 0 ;
23632 char *kwnames[] = {
23633 (char *) "self", NULL
23634 };
23635
23636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 {
23647 wxSize * resultptr;
23648 resultptr = new wxSize((wxSize &) result);
15afbcd0 23649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23650 }
23651 return resultobj;
23652 fail:
23653 return NULL;
23654}
23655
23656
c32bde28 23657static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23658 PyObject *resultobj;
23659 wxWindow *arg1 = (wxWindow *) 0 ;
23660 int arg2 = (int) wxBOTH ;
23661 PyObject * obj0 = 0 ;
994141e6 23662 PyObject * obj1 = 0 ;
d14a1e28
RD
23663 char *kwnames[] = {
23664 (char *) "self",(char *) "direction", NULL
23665 };
23666
994141e6 23667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23670 if (obj1) {
c32bde28 23671 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23672 if (PyErr_Occurred()) SWIG_fail;
994141e6 23673 }
d14a1e28
RD
23674 {
23675 PyThreadState* __tstate = wxPyBeginAllowThreads();
23676 (arg1)->Center(arg2);
23677
23678 wxPyEndAllowThreads(__tstate);
23679 if (PyErr_Occurred()) SWIG_fail;
23680 }
23681 Py_INCREF(Py_None); resultobj = Py_None;
23682 return resultobj;
23683 fail:
23684 return NULL;
23685}
23686
23687
c32bde28 23688static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23689 PyObject *resultobj;
23690 wxWindow *arg1 = (wxWindow *) 0 ;
23691 int arg2 = (int) wxBOTH ;
23692 PyObject * obj0 = 0 ;
994141e6 23693 PyObject * obj1 = 0 ;
d14a1e28
RD
23694 char *kwnames[] = {
23695 (char *) "self",(char *) "dir", NULL
23696 };
23697
994141e6 23698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23701 if (obj1) {
c32bde28 23702 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23703 if (PyErr_Occurred()) SWIG_fail;
994141e6 23704 }
d14a1e28
RD
23705 {
23706 PyThreadState* __tstate = wxPyBeginAllowThreads();
23707 (arg1)->CenterOnScreen(arg2);
23708
23709 wxPyEndAllowThreads(__tstate);
23710 if (PyErr_Occurred()) SWIG_fail;
23711 }
23712 Py_INCREF(Py_None); resultobj = Py_None;
23713 return resultobj;
23714 fail:
23715 return NULL;
23716}
23717
23718
c32bde28 23719static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23720 PyObject *resultobj;
23721 wxWindow *arg1 = (wxWindow *) 0 ;
23722 int arg2 = (int) wxBOTH ;
23723 PyObject * obj0 = 0 ;
994141e6 23724 PyObject * obj1 = 0 ;
d14a1e28
RD
23725 char *kwnames[] = {
23726 (char *) "self",(char *) "dir", NULL
23727 };
23728
994141e6 23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 23732 if (obj1) {
c32bde28 23733 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23734 if (PyErr_Occurred()) SWIG_fail;
994141e6 23735 }
d14a1e28
RD
23736 {
23737 PyThreadState* __tstate = wxPyBeginAllowThreads();
23738 (arg1)->CenterOnParent(arg2);
23739
23740 wxPyEndAllowThreads(__tstate);
23741 if (PyErr_Occurred()) SWIG_fail;
23742 }
23743 Py_INCREF(Py_None); resultobj = Py_None;
23744 return resultobj;
23745 fail:
23746 return NULL;
23747}
23748
23749
c32bde28 23750static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23751 PyObject *resultobj;
23752 wxWindow *arg1 = (wxWindow *) 0 ;
23753 PyObject * obj0 = 0 ;
23754 char *kwnames[] = {
23755 (char *) "self", NULL
23756 };
23757
23758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
15afbcd0
RD
23759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23761 {
23762 PyThreadState* __tstate = wxPyBeginAllowThreads();
23763 (arg1)->Fit();
23764
23765 wxPyEndAllowThreads(__tstate);
23766 if (PyErr_Occurred()) SWIG_fail;
23767 }
23768 Py_INCREF(Py_None); resultobj = Py_None;
23769 return resultobj;
23770 fail:
23771 return NULL;
23772}
23773
23774
c32bde28 23775static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23776 PyObject *resultobj;
23777 wxWindow *arg1 = (wxWindow *) 0 ;
23778 PyObject * obj0 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
15afbcd0
RD
23784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23786 {
23787 PyThreadState* __tstate = wxPyBeginAllowThreads();
23788 (arg1)->FitInside();
23789
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 Py_INCREF(Py_None); resultobj = Py_None;
23794 return resultobj;
23795 fail:
23796 return NULL;
23797}
23798
23799
c32bde28 23800static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23801 PyObject *resultobj;
23802 wxWindow *arg1 = (wxWindow *) 0 ;
23803 int arg2 ;
23804 int arg3 ;
23805 int arg4 = (int) -1 ;
23806 int arg5 = (int) -1 ;
23807 int arg6 = (int) -1 ;
23808 int arg7 = (int) -1 ;
23809 PyObject * obj0 = 0 ;
994141e6
RD
23810 PyObject * obj1 = 0 ;
23811 PyObject * obj2 = 0 ;
23812 PyObject * obj3 = 0 ;
23813 PyObject * obj4 = 0 ;
23814 PyObject * obj5 = 0 ;
23815 PyObject * obj6 = 0 ;
f16ab95d
RD
23816 char *kwnames[] = {
23817 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23818 };
d14a1e28 23819
f16ab95d 23820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
23821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23823 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 23824 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23825 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 23826 if (PyErr_Occurred()) SWIG_fail;
994141e6 23827 if (obj3) {
c32bde28 23828 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 23829 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23830 }
23831 if (obj4) {
c32bde28 23832 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 23833 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23834 }
23835 if (obj5) {
c32bde28 23836 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 23837 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
23838 }
23839 if (obj6) {
c32bde28 23840 arg7 = (int)SWIG_As_int(obj6);
15afbcd0 23841 if (PyErr_Occurred()) SWIG_fail;
994141e6 23842 }
d14a1e28
RD
23843 {
23844 PyThreadState* __tstate = wxPyBeginAllowThreads();
23845 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
23846
23847 wxPyEndAllowThreads(__tstate);
23848 if (PyErr_Occurred()) SWIG_fail;
23849 }
23850 Py_INCREF(Py_None); resultobj = Py_None;
23851 return resultobj;
23852 fail:
23853 return NULL;
23854}
23855
23856
c32bde28 23857static PyObject *_wrap_Window_SetSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23858 PyObject *resultobj;
23859 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
23860 wxSize *arg2 = 0 ;
23861 wxSize const &arg3_defvalue = wxDefaultSize ;
23862 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
f16ab95d
RD
23863 wxSize const &arg4_defvalue = wxDefaultSize ;
23864 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
908b74cd
RD
23865 wxSize temp2 ;
23866 wxSize temp3 ;
f16ab95d 23867 wxSize temp4 ;
d14a1e28 23868 PyObject * obj0 = 0 ;
994141e6
RD
23869 PyObject * obj1 = 0 ;
23870 PyObject * obj2 = 0 ;
f16ab95d
RD
23871 PyObject * obj3 = 0 ;
23872 char *kwnames[] = {
23873 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23874 };
d14a1e28 23875
f16ab95d 23876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
23877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
908b74cd
RD
23879 {
23880 arg2 = &temp2;
23881 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
994141e6 23882 }
908b74cd
RD
23883 if (obj2) {
23884 {
23885 arg3 = &temp3;
23886 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23887 }
994141e6 23888 }
f16ab95d
RD
23889 if (obj3) {
23890 {
23891 arg4 = &temp4;
23892 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23893 }
23894 }
d14a1e28
RD
23895 {
23896 PyThreadState* __tstate = wxPyBeginAllowThreads();
f16ab95d 23897 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
d14a1e28
RD
23898
23899 wxPyEndAllowThreads(__tstate);
23900 if (PyErr_Occurred()) SWIG_fail;
23901 }
23902 Py_INCREF(Py_None); resultobj = Py_None;
23903 return resultobj;
23904 fail:
23905 return NULL;
23906}
23907
23908
c32bde28 23909static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
23910 PyObject *resultobj;
23911 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd
RD
23912 int arg2 ;
23913 int arg3 ;
23914 int arg4 = (int) -1 ;
23915 int arg5 = (int) -1 ;
74a57fcd
RD
23916 PyObject * obj0 = 0 ;
23917 PyObject * obj1 = 0 ;
23918 PyObject * obj2 = 0 ;
908b74cd
RD
23919 PyObject * obj3 = 0 ;
23920 PyObject * obj4 = 0 ;
f16ab95d
RD
23921 char *kwnames[] = {
23922 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23923 };
74a57fcd 23924
f16ab95d 23925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
74a57fcd
RD
23926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 23928 arg2 = (int)SWIG_As_int(obj1);
908b74cd 23929 if (PyErr_Occurred()) SWIG_fail;
c32bde28 23930 arg3 = (int)SWIG_As_int(obj2);
908b74cd
RD
23931 if (PyErr_Occurred()) SWIG_fail;
23932 if (obj3) {
c32bde28 23933 arg4 = (int)SWIG_As_int(obj3);
908b74cd 23934 if (PyErr_Occurred()) SWIG_fail;
74a57fcd 23935 }
908b74cd 23936 if (obj4) {
c32bde28 23937 arg5 = (int)SWIG_As_int(obj4);
908b74cd 23938 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
23939 }
23940 {
23941 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 23942 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
74a57fcd
RD
23943
23944 wxPyEndAllowThreads(__tstate);
23945 if (PyErr_Occurred()) SWIG_fail;
23946 }
23947 Py_INCREF(Py_None); resultobj = Py_None;
23948 return resultobj;
23949 fail:
23950 return NULL;
23951}
23952
23953
c32bde28 23954static PyObject *_wrap_Window_SetVirtualSizeHintsSz(PyObject *, PyObject *args, PyObject *kwargs) {
f16ab95d
RD
23955 PyObject *resultobj;
23956 wxWindow *arg1 = (wxWindow *) 0 ;
23957 wxSize *arg2 = 0 ;
23958 wxSize const &arg3_defvalue = wxDefaultSize ;
23959 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23960 wxSize temp2 ;
23961 wxSize temp3 ;
23962 PyObject * obj0 = 0 ;
23963 PyObject * obj1 = 0 ;
23964 PyObject * obj2 = 0 ;
23965 char *kwnames[] = {
23966 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23967 };
74a57fcd 23968
f16ab95d
RD
23969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames,&obj0,&obj1,&obj2)) goto fail;
23970 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23971 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23972 {
23973 arg2 = &temp2;
23974 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
74a57fcd 23975 }
f16ab95d 23976 if (obj2) {
74a57fcd 23977 {
f16ab95d
RD
23978 arg3 = &temp3;
23979 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
74a57fcd
RD
23980 }
23981 }
f16ab95d
RD
23982 {
23983 PyThreadState* __tstate = wxPyBeginAllowThreads();
23984 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
23985
23986 wxPyEndAllowThreads(__tstate);
23987 if (PyErr_Occurred()) SWIG_fail;
74a57fcd 23988 }
f16ab95d
RD
23989 Py_INCREF(Py_None); resultobj = Py_None;
23990 return resultobj;
23991 fail:
74a57fcd
RD
23992 return NULL;
23993}
23994
23995
c32bde28 23996static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23997 PyObject *resultobj;
23998 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 23999 wxSize result;
d14a1e28
RD
24000 PyObject * obj0 = 0 ;
24001 char *kwnames[] = {
24002 (char *) "self", NULL
24003 };
24004
908b74cd 24005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
24006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24010 result = ((wxWindow const *)arg1)->GetMaxSize();
d14a1e28
RD
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
908b74cd
RD
24015 {
24016 wxSize * resultptr;
24017 resultptr = new wxSize((wxSize &) result);
24018 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24019 }
d14a1e28
RD
24020 return resultobj;
24021 fail:
24022 return NULL;
24023}
24024
24025
c32bde28 24026static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24027 PyObject *resultobj;
24028 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 24029 wxSize result;
d14a1e28
RD
24030 PyObject * obj0 = 0 ;
24031 char *kwnames[] = {
24032 (char *) "self", NULL
24033 };
24034
908b74cd 24035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
24036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24038 {
24039 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24040 result = ((wxWindow const *)arg1)->GetMinSize();
d14a1e28
RD
24041
24042 wxPyEndAllowThreads(__tstate);
24043 if (PyErr_Occurred()) SWIG_fail;
24044 }
908b74cd
RD
24045 {
24046 wxSize * resultptr;
24047 resultptr = new wxSize((wxSize &) result);
24048 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
24049 }
d14a1e28
RD
24050 return resultobj;
24051 fail:
24052 return NULL;
24053}
24054
24055
c32bde28 24056static PyObject *_wrap_Window_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
24057 PyObject *resultobj;
24058 wxWindow *arg1 = (wxWindow *) 0 ;
24059 wxSize *arg2 = 0 ;
24060 wxSize temp2 ;
24061 PyObject * obj0 = 0 ;
24062 PyObject * obj1 = 0 ;
24063 char *kwnames[] = {
24064 (char *) "self",(char *) "minSize", NULL
24065 };
24066
24067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
24068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24070 {
24071 arg2 = &temp2;
24072 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24073 }
24074 {
24075 PyThreadState* __tstate = wxPyBeginAllowThreads();
24076 (arg1)->SetMinSize((wxSize const &)*arg2);
24077
24078 wxPyEndAllowThreads(__tstate);
24079 if (PyErr_Occurred()) SWIG_fail;
24080 }
24081 Py_INCREF(Py_None); resultobj = Py_None;
24082 return resultobj;
24083 fail:
24084 return NULL;
24085}
24086
24087
c32bde28 24088static PyObject *_wrap_Window_SetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
24089 PyObject *resultobj;
24090 wxWindow *arg1 = (wxWindow *) 0 ;
24091 wxSize *arg2 = 0 ;
24092 wxSize temp2 ;
24093 PyObject * obj0 = 0 ;
24094 PyObject * obj1 = 0 ;
24095 char *kwnames[] = {
24096 (char *) "self",(char *) "maxSize", NULL
24097 };
24098
24099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetMaxSize",kwnames,&obj0,&obj1)) goto fail;
24100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24102 {
24103 arg2 = &temp2;
24104 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24105 }
24106 {
24107 PyThreadState* __tstate = wxPyBeginAllowThreads();
24108 (arg1)->SetMaxSize((wxSize const &)*arg2);
24109
24110 wxPyEndAllowThreads(__tstate);
24111 if (PyErr_Occurred()) SWIG_fail;
24112 }
24113 Py_INCREF(Py_None); resultobj = Py_None;
24114 return resultobj;
24115 fail:
24116 return NULL;
24117}
24118
24119
c32bde28 24120static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24121 PyObject *resultobj;
24122 wxWindow *arg1 = (wxWindow *) 0 ;
24123 int result;
24124 PyObject * obj0 = 0 ;
24125 char *kwnames[] = {
24126 (char *) "self", NULL
24127 };
24128
908b74cd 24129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
24130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24132 {
24133 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24134 result = (int)((wxWindow const *)arg1)->GetMinWidth();
d14a1e28
RD
24135
24136 wxPyEndAllowThreads(__tstate);
24137 if (PyErr_Occurred()) SWIG_fail;
24138 }
c32bde28 24139 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24140 return resultobj;
24141 fail:
24142 return NULL;
24143}
24144
24145
c32bde28 24146static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24147 PyObject *resultobj;
24148 wxWindow *arg1 = (wxWindow *) 0 ;
24149 int result;
24150 PyObject * obj0 = 0 ;
24151 char *kwnames[] = {
24152 (char *) "self", NULL
24153 };
24154
908b74cd 24155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
24156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24158 {
24159 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24160 result = (int)((wxWindow const *)arg1)->GetMinHeight();
d14a1e28
RD
24161
24162 wxPyEndAllowThreads(__tstate);
24163 if (PyErr_Occurred()) SWIG_fail;
24164 }
c32bde28 24165 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24166 return resultobj;
24167 fail:
24168 return NULL;
24169}
24170
24171
c32bde28 24172static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24173 PyObject *resultobj;
24174 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 24175 int result;
d14a1e28
RD
24176 PyObject * obj0 = 0 ;
24177 char *kwnames[] = {
24178 (char *) "self", NULL
24179 };
24180
908b74cd 24181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
24182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24184 {
24185 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24186 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
d14a1e28
RD
24187
24188 wxPyEndAllowThreads(__tstate);
24189 if (PyErr_Occurred()) SWIG_fail;
24190 }
c32bde28 24191 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
24192 return resultobj;
24193 fail:
24194 return NULL;
24195}
24196
24197
c32bde28 24198static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
24199 PyObject *resultobj;
24200 wxWindow *arg1 = (wxWindow *) 0 ;
908b74cd 24201 int result;
74a57fcd
RD
24202 PyObject * obj0 = 0 ;
24203 char *kwnames[] = {
24204 (char *) "self", NULL
24205 };
24206
908b74cd 24207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
74a57fcd
RD
24208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24210 {
24211 PyThreadState* __tstate = wxPyBeginAllowThreads();
908b74cd 24212 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
74a57fcd
RD
24213
24214 wxPyEndAllowThreads(__tstate);
24215 if (PyErr_Occurred()) SWIG_fail;
24216 }
c32bde28 24217 resultobj = SWIG_From_int((int)result);
74a57fcd
RD
24218 return resultobj;
24219 fail:
24220 return NULL;
24221}
24222
24223
c32bde28 24224static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24225 PyObject *resultobj;
24226 wxWindow *arg1 = (wxWindow *) 0 ;
24227 wxSize *arg2 = 0 ;
24228 wxSize temp2 ;
24229 PyObject * obj0 = 0 ;
24230 PyObject * obj1 = 0 ;
24231 char *kwnames[] = {
24232 (char *) "self",(char *) "size", NULL
24233 };
24234
24235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24238 {
24239 arg2 = &temp2;
24240 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24241 }
24242 {
24243 PyThreadState* __tstate = wxPyBeginAllowThreads();
24244 (arg1)->SetVirtualSize((wxSize const &)*arg2);
24245
24246 wxPyEndAllowThreads(__tstate);
24247 if (PyErr_Occurred()) SWIG_fail;
24248 }
24249 Py_INCREF(Py_None); resultobj = Py_None;
24250 return resultobj;
24251 fail:
24252 return NULL;
24253}
24254
24255
c32bde28 24256static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24257 PyObject *resultobj;
24258 wxWindow *arg1 = (wxWindow *) 0 ;
24259 int arg2 ;
24260 int arg3 ;
24261 PyObject * obj0 = 0 ;
994141e6
RD
24262 PyObject * obj1 = 0 ;
24263 PyObject * obj2 = 0 ;
d14a1e28
RD
24264 char *kwnames[] = {
24265 (char *) "self",(char *) "w",(char *) "h", NULL
24266 };
24267
994141e6 24268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24271 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24272 if (PyErr_Occurred()) SWIG_fail;
c32bde28 24273 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 24274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24275 {
24276 PyThreadState* __tstate = wxPyBeginAllowThreads();
24277 (arg1)->SetVirtualSize(arg2,arg3);
24278
24279 wxPyEndAllowThreads(__tstate);
24280 if (PyErr_Occurred()) SWIG_fail;
24281 }
24282 Py_INCREF(Py_None); resultobj = Py_None;
24283 return resultobj;
24284 fail:
24285 return NULL;
24286}
24287
24288
c32bde28 24289static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24290 PyObject *resultobj;
24291 wxWindow *arg1 = (wxWindow *) 0 ;
24292 wxSize result;
24293 PyObject * obj0 = 0 ;
24294 char *kwnames[] = {
24295 (char *) "self", NULL
24296 };
24297
24298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
24299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24301 {
24302 PyThreadState* __tstate = wxPyBeginAllowThreads();
24303 result = ((wxWindow const *)arg1)->GetVirtualSize();
24304
24305 wxPyEndAllowThreads(__tstate);
24306 if (PyErr_Occurred()) SWIG_fail;
24307 }
24308 {
24309 wxSize * resultptr;
24310 resultptr = new wxSize((wxSize &) result);
15afbcd0 24311 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24312 }
24313 return resultobj;
24314 fail:
24315 return NULL;
24316}
24317
24318
c32bde28 24319static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24320 PyObject *resultobj;
24321 wxWindow *arg1 = (wxWindow *) 0 ;
24322 int *arg2 = (int *) 0 ;
24323 int *arg3 = (int *) 0 ;
24324 int temp2 ;
c32bde28 24325 int res2 = 0 ;
d14a1e28 24326 int temp3 ;
c32bde28 24327 int res3 = 0 ;
d14a1e28
RD
24328 PyObject * obj0 = 0 ;
24329 char *kwnames[] = {
24330 (char *) "self", NULL
24331 };
24332
c32bde28
RD
24333 arg2 = &temp2; res2 = SWIG_NEWOBJ;
24334 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 24335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
24336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24338 {
24339 PyThreadState* __tstate = wxPyBeginAllowThreads();
24340 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
24341
24342 wxPyEndAllowThreads(__tstate);
24343 if (PyErr_Occurred()) SWIG_fail;
24344 }
24345 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
24346 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
24347 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
24348 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
24349 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
24350 return resultobj;
24351 fail:
24352 return NULL;
24353}
24354
24355
c32bde28 24356static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24357 PyObject *resultobj;
24358 wxWindow *arg1 = (wxWindow *) 0 ;
24359 wxSize result;
24360 PyObject * obj0 = 0 ;
24361 char *kwnames[] = {
24362 (char *) "self", NULL
24363 };
24364
24365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
24366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24368 {
24369 PyThreadState* __tstate = wxPyBeginAllowThreads();
24370 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
24371
24372 wxPyEndAllowThreads(__tstate);
24373 if (PyErr_Occurred()) SWIG_fail;
24374 }
24375 {
24376 wxSize * resultptr;
24377 resultptr = new wxSize((wxSize &) result);
15afbcd0 24378 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24379 }
24380 return resultobj;
24381 fail:
24382 return NULL;
24383}
24384
24385
c32bde28 24386static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24387 PyObject *resultobj;
24388 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 24389 bool arg2 = (bool) true ;
d14a1e28
RD
24390 bool result;
24391 PyObject * obj0 = 0 ;
24392 PyObject * obj1 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "self",(char *) "show", NULL
24395 };
24396
24397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24400 if (obj1) {
c32bde28 24401 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24402 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24403 }
24404 {
24405 PyThreadState* __tstate = wxPyBeginAllowThreads();
24406 result = (bool)(arg1)->Show(arg2);
24407
24408 wxPyEndAllowThreads(__tstate);
24409 if (PyErr_Occurred()) SWIG_fail;
24410 }
4f89f6a3
RD
24411 {
24412 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24413 }
d14a1e28
RD
24414 return resultobj;
24415 fail:
24416 return NULL;
24417}
24418
24419
c32bde28 24420static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24421 PyObject *resultobj;
24422 wxWindow *arg1 = (wxWindow *) 0 ;
24423 bool result;
24424 PyObject * obj0 = 0 ;
24425 char *kwnames[] = {
24426 (char *) "self", NULL
24427 };
24428
24429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
24430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24432 {
24433 PyThreadState* __tstate = wxPyBeginAllowThreads();
24434 result = (bool)(arg1)->Hide();
24435
24436 wxPyEndAllowThreads(__tstate);
24437 if (PyErr_Occurred()) SWIG_fail;
24438 }
4f89f6a3
RD
24439 {
24440 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24441 }
d14a1e28
RD
24442 return resultobj;
24443 fail:
24444 return NULL;
24445}
24446
24447
c32bde28 24448static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24449 PyObject *resultobj;
24450 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 24451 bool arg2 = (bool) true ;
d14a1e28
RD
24452 bool result;
24453 PyObject * obj0 = 0 ;
24454 PyObject * obj1 = 0 ;
24455 char *kwnames[] = {
24456 (char *) "self",(char *) "enable", NULL
24457 };
24458
24459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24462 if (obj1) {
c32bde28 24463 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24464 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24465 }
24466 {
24467 PyThreadState* __tstate = wxPyBeginAllowThreads();
24468 result = (bool)(arg1)->Enable(arg2);
24469
24470 wxPyEndAllowThreads(__tstate);
24471 if (PyErr_Occurred()) SWIG_fail;
24472 }
4f89f6a3
RD
24473 {
24474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24475 }
d14a1e28
RD
24476 return resultobj;
24477 fail:
24478 return NULL;
24479}
24480
24481
c32bde28 24482static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24483 PyObject *resultobj;
24484 wxWindow *arg1 = (wxWindow *) 0 ;
24485 bool result;
24486 PyObject * obj0 = 0 ;
24487 char *kwnames[] = {
24488 (char *) "self", NULL
24489 };
24490
24491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
15afbcd0
RD
24492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24494 {
24495 PyThreadState* __tstate = wxPyBeginAllowThreads();
24496 result = (bool)(arg1)->Disable();
24497
24498 wxPyEndAllowThreads(__tstate);
24499 if (PyErr_Occurred()) SWIG_fail;
24500 }
4f89f6a3
RD
24501 {
24502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24503 }
d14a1e28
RD
24504 return resultobj;
24505 fail:
24506 return NULL;
24507}
24508
24509
c32bde28 24510static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24511 PyObject *resultobj;
24512 wxWindow *arg1 = (wxWindow *) 0 ;
24513 bool result;
24514 PyObject * obj0 = 0 ;
24515 char *kwnames[] = {
24516 (char *) "self", NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
24520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24522 {
24523 PyThreadState* __tstate = wxPyBeginAllowThreads();
24524 result = (bool)((wxWindow const *)arg1)->IsShown();
24525
24526 wxPyEndAllowThreads(__tstate);
24527 if (PyErr_Occurred()) SWIG_fail;
24528 }
4f89f6a3
RD
24529 {
24530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24531 }
d14a1e28
RD
24532 return resultobj;
24533 fail:
24534 return NULL;
24535}
24536
24537
c32bde28 24538static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24539 PyObject *resultobj;
24540 wxWindow *arg1 = (wxWindow *) 0 ;
24541 bool result;
24542 PyObject * obj0 = 0 ;
24543 char *kwnames[] = {
24544 (char *) "self", NULL
24545 };
24546
24547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
24548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24550 {
24551 PyThreadState* __tstate = wxPyBeginAllowThreads();
24552 result = (bool)((wxWindow const *)arg1)->IsEnabled();
24553
24554 wxPyEndAllowThreads(__tstate);
24555 if (PyErr_Occurred()) SWIG_fail;
24556 }
4f89f6a3
RD
24557 {
24558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24559 }
d14a1e28
RD
24560 return resultobj;
24561 fail:
24562 return NULL;
24563}
24564
24565
c32bde28 24566static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24567 PyObject *resultobj;
24568 wxWindow *arg1 = (wxWindow *) 0 ;
24569 long arg2 ;
24570 PyObject * obj0 = 0 ;
994141e6 24571 PyObject * obj1 = 0 ;
d14a1e28
RD
24572 char *kwnames[] = {
24573 (char *) "self",(char *) "style", NULL
24574 };
24575
994141e6 24576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24579 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 24580 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24581 {
24582 PyThreadState* __tstate = wxPyBeginAllowThreads();
24583 (arg1)->SetWindowStyleFlag(arg2);
24584
24585 wxPyEndAllowThreads(__tstate);
24586 if (PyErr_Occurred()) SWIG_fail;
24587 }
24588 Py_INCREF(Py_None); resultobj = Py_None;
24589 return resultobj;
24590 fail:
24591 return NULL;
24592}
24593
24594
c32bde28 24595static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24596 PyObject *resultobj;
24597 wxWindow *arg1 = (wxWindow *) 0 ;
24598 long result;
24599 PyObject * obj0 = 0 ;
24600 char *kwnames[] = {
24601 (char *) "self", NULL
24602 };
24603
24604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
24605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24607 {
24608 PyThreadState* __tstate = wxPyBeginAllowThreads();
24609 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
24610
24611 wxPyEndAllowThreads(__tstate);
24612 if (PyErr_Occurred()) SWIG_fail;
24613 }
c32bde28 24614 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
24615 return resultobj;
24616 fail:
24617 return NULL;
24618}
24619
24620
c32bde28 24621static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24622 PyObject *resultobj;
24623 wxWindow *arg1 = (wxWindow *) 0 ;
24624 int arg2 ;
24625 bool result;
24626 PyObject * obj0 = 0 ;
994141e6 24627 PyObject * obj1 = 0 ;
d14a1e28
RD
24628 char *kwnames[] = {
24629 (char *) "self",(char *) "flag", NULL
24630 };
24631
994141e6 24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24635 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 24636 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24637 {
24638 PyThreadState* __tstate = wxPyBeginAllowThreads();
24639 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
24640
24641 wxPyEndAllowThreads(__tstate);
24642 if (PyErr_Occurred()) SWIG_fail;
24643 }
4f89f6a3
RD
24644 {
24645 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24646 }
d14a1e28
RD
24647 return resultobj;
24648 fail:
24649 return NULL;
24650}
24651
24652
c32bde28 24653static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24654 PyObject *resultobj;
24655 wxWindow *arg1 = (wxWindow *) 0 ;
24656 bool result;
24657 PyObject * obj0 = 0 ;
24658 char *kwnames[] = {
24659 (char *) "self", NULL
24660 };
24661
24662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
15afbcd0
RD
24663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24665 {
24666 PyThreadState* __tstate = wxPyBeginAllowThreads();
24667 result = (bool)((wxWindow const *)arg1)->IsRetained();
24668
24669 wxPyEndAllowThreads(__tstate);
24670 if (PyErr_Occurred()) SWIG_fail;
24671 }
4f89f6a3
RD
24672 {
24673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24674 }
d14a1e28
RD
24675 return resultobj;
24676 fail:
24677 return NULL;
24678}
24679
24680
c32bde28 24681static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24682 PyObject *resultobj;
24683 wxWindow *arg1 = (wxWindow *) 0 ;
24684 long arg2 ;
24685 PyObject * obj0 = 0 ;
994141e6 24686 PyObject * obj1 = 0 ;
d14a1e28
RD
24687 char *kwnames[] = {
24688 (char *) "self",(char *) "exStyle", NULL
24689 };
24690
994141e6 24691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24694 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 24695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24696 {
24697 PyThreadState* __tstate = wxPyBeginAllowThreads();
24698 (arg1)->SetExtraStyle(arg2);
24699
24700 wxPyEndAllowThreads(__tstate);
24701 if (PyErr_Occurred()) SWIG_fail;
24702 }
24703 Py_INCREF(Py_None); resultobj = Py_None;
24704 return resultobj;
24705 fail:
24706 return NULL;
24707}
24708
24709
c32bde28 24710static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24711 PyObject *resultobj;
24712 wxWindow *arg1 = (wxWindow *) 0 ;
24713 long result;
24714 PyObject * obj0 = 0 ;
24715 char *kwnames[] = {
24716 (char *) "self", NULL
24717 };
24718
24719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
24720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24722 {
24723 PyThreadState* __tstate = wxPyBeginAllowThreads();
24724 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
24725
24726 wxPyEndAllowThreads(__tstate);
24727 if (PyErr_Occurred()) SWIG_fail;
24728 }
c32bde28 24729 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
24730 return resultobj;
24731 fail:
24732 return NULL;
24733}
24734
24735
c32bde28 24736static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24737 PyObject *resultobj;
24738 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 24739 bool arg2 = (bool) true ;
d14a1e28
RD
24740 PyObject * obj0 = 0 ;
24741 PyObject * obj1 = 0 ;
24742 char *kwnames[] = {
24743 (char *) "self",(char *) "modal", NULL
24744 };
24745
24746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24749 if (obj1) {
c32bde28 24750 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24751 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24752 }
24753 {
24754 PyThreadState* __tstate = wxPyBeginAllowThreads();
24755 (arg1)->MakeModal(arg2);
24756
24757 wxPyEndAllowThreads(__tstate);
24758 if (PyErr_Occurred()) SWIG_fail;
24759 }
24760 Py_INCREF(Py_None); resultobj = Py_None;
24761 return resultobj;
24762 fail:
24763 return NULL;
24764}
24765
24766
c32bde28 24767static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24768 PyObject *resultobj;
24769 wxWindow *arg1 = (wxWindow *) 0 ;
24770 bool arg2 ;
24771 PyObject * obj0 = 0 ;
24772 PyObject * obj1 = 0 ;
24773 char *kwnames[] = {
24774 (char *) "self",(char *) "enableTheme", NULL
24775 };
24776
24777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 24780 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 24781 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24782 {
24783 PyThreadState* __tstate = wxPyBeginAllowThreads();
24784 (arg1)->SetThemeEnabled(arg2);
24785
24786 wxPyEndAllowThreads(__tstate);
24787 if (PyErr_Occurred()) SWIG_fail;
24788 }
24789 Py_INCREF(Py_None); resultobj = Py_None;
24790 return resultobj;
24791 fail:
24792 return NULL;
24793}
24794
24795
c32bde28 24796static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24797 PyObject *resultobj;
24798 wxWindow *arg1 = (wxWindow *) 0 ;
24799 bool result;
24800 PyObject * obj0 = 0 ;
24801 char *kwnames[] = {
24802 (char *) "self", NULL
24803 };
24804
24805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
24806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
4f89f6a3
RD
24815 {
24816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24817 }
d14a1e28
RD
24818 return resultobj;
24819 fail:
24820 return NULL;
24821}
24822
24823
c32bde28 24824static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24825 PyObject *resultobj;
24826 wxWindow *arg1 = (wxWindow *) 0 ;
24827 PyObject * obj0 = 0 ;
24828 char *kwnames[] = {
24829 (char *) "self", NULL
24830 };
24831
24832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24835 {
24836 PyThreadState* __tstate = wxPyBeginAllowThreads();
24837 (arg1)->SetFocus();
24838
24839 wxPyEndAllowThreads(__tstate);
24840 if (PyErr_Occurred()) SWIG_fail;
24841 }
24842 Py_INCREF(Py_None); resultobj = Py_None;
24843 return resultobj;
24844 fail:
24845 return NULL;
24846}
24847
24848
c32bde28 24849static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24850 PyObject *resultobj;
24851 wxWindow *arg1 = (wxWindow *) 0 ;
24852 PyObject * obj0 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "self", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
15afbcd0
RD
24858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24860 {
24861 PyThreadState* __tstate = wxPyBeginAllowThreads();
24862 (arg1)->SetFocusFromKbd();
24863
24864 wxPyEndAllowThreads(__tstate);
24865 if (PyErr_Occurred()) SWIG_fail;
24866 }
24867 Py_INCREF(Py_None); resultobj = Py_None;
24868 return resultobj;
24869 fail:
24870 return NULL;
24871}
24872
24873
c32bde28 24874static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24875 PyObject *resultobj;
24876 wxWindow *result;
24877 char *kwnames[] = {
24878 NULL
24879 };
24880
24881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24882 {
e3b71cb8 24883 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
24884 PyThreadState* __tstate = wxPyBeginAllowThreads();
24885 result = (wxWindow *)wxWindow::FindFocus();
24886
24887 wxPyEndAllowThreads(__tstate);
110da5b0 24888 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24889 }
24890 {
412d302d 24891 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24892 }
24893 return resultobj;
24894 fail:
24895 return NULL;
24896}
24897
24898
c32bde28 24899static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24900 PyObject *resultobj;
24901 wxWindow *arg1 = (wxWindow *) 0 ;
24902 bool result;
24903 PyObject * obj0 = 0 ;
24904 char *kwnames[] = {
24905 (char *) "self", NULL
24906 };
24907
24908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
24909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24911 {
24912 PyThreadState* __tstate = wxPyBeginAllowThreads();
24913 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24914
24915 wxPyEndAllowThreads(__tstate);
24916 if (PyErr_Occurred()) SWIG_fail;
24917 }
4f89f6a3
RD
24918 {
24919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24920 }
d14a1e28
RD
24921 return resultobj;
24922 fail:
24923 return NULL;
24924}
24925
24926
c32bde28 24927static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24928 PyObject *resultobj;
24929 wxWindow *arg1 = (wxWindow *) 0 ;
24930 bool result;
24931 PyObject * obj0 = 0 ;
24932 char *kwnames[] = {
24933 (char *) "self", NULL
24934 };
24935
24936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
24937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24939 {
24940 PyThreadState* __tstate = wxPyBeginAllowThreads();
24941 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
24942
24943 wxPyEndAllowThreads(__tstate);
24944 if (PyErr_Occurred()) SWIG_fail;
24945 }
4f89f6a3
RD
24946 {
24947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24948 }
d14a1e28
RD
24949 return resultobj;
24950 fail:
24951 return NULL;
24952}
24953
24954
c32bde28 24955static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24956 PyObject *resultobj;
24957 wxWindow *arg1 = (wxWindow *) 0 ;
24958 wxWindow *result;
24959 PyObject * obj0 = 0 ;
24960 char *kwnames[] = {
24961 (char *) "self", NULL
24962 };
24963
24964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
24965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24967 {
24968 PyThreadState* __tstate = wxPyBeginAllowThreads();
24969 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
24970
24971 wxPyEndAllowThreads(__tstate);
24972 if (PyErr_Occurred()) SWIG_fail;
24973 }
24974 {
412d302d 24975 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
24976 }
24977 return resultobj;
24978 fail:
24979 return NULL;
24980}
24981
24982
c32bde28 24983static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24984 PyObject *resultobj;
24985 wxWindow *arg1 = (wxWindow *) 0 ;
24986 wxWindow *arg2 = (wxWindow *) 0 ;
24987 wxWindow *result;
24988 PyObject * obj0 = 0 ;
24989 PyObject * obj1 = 0 ;
24990 char *kwnames[] = {
24991 (char *) "self",(char *) "child", NULL
24992 };
24993
24994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24997 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24999 {
25000 PyThreadState* __tstate = wxPyBeginAllowThreads();
25001 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
25002
25003 wxPyEndAllowThreads(__tstate);
25004 if (PyErr_Occurred()) SWIG_fail;
25005 }
25006 {
412d302d 25007 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25008 }
25009 return resultobj;
25010 fail:
25011 return NULL;
25012}
25013
25014
c32bde28 25015static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25016 PyObject *resultobj;
25017 wxWindow *arg1 = (wxWindow *) 0 ;
25018 wxWindow *arg2 = (wxWindow *) 0 ;
25019 PyObject * obj0 = 0 ;
25020 PyObject * obj1 = 0 ;
25021 char *kwnames[] = {
25022 (char *) "self",(char *) "win", NULL
25023 };
25024
25025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25028 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25030 {
25031 PyThreadState* __tstate = wxPyBeginAllowThreads();
25032 (arg1)->SetTmpDefaultItem(arg2);
25033
25034 wxPyEndAllowThreads(__tstate);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 }
25037 Py_INCREF(Py_None); resultobj = Py_None;
25038 return resultobj;
25039 fail:
25040 return NULL;
25041}
25042
25043
c32bde28 25044static PyObject *_wrap_Window_Navigate(PyObject *, PyObject *args, PyObject *kwargs) {
908b74cd
RD
25045 PyObject *resultobj;
25046 wxWindow *arg1 = (wxWindow *) 0 ;
25047 int arg2 = (int) wxNavigationKeyEvent::IsForward ;
25048 bool result;
25049 PyObject * obj0 = 0 ;
25050 PyObject * obj1 = 0 ;
25051 char *kwnames[] = {
25052 (char *) "self",(char *) "flags", NULL
25053 };
25054
25055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Navigate",kwnames,&obj0,&obj1)) goto fail;
25056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25058 if (obj1) {
c32bde28 25059 arg2 = (int)SWIG_As_int(obj1);
908b74cd
RD
25060 if (PyErr_Occurred()) SWIG_fail;
25061 }
25062 {
25063 PyThreadState* __tstate = wxPyBeginAllowThreads();
25064 result = (bool)(arg1)->Navigate(arg2);
25065
25066 wxPyEndAllowThreads(__tstate);
25067 if (PyErr_Occurred()) SWIG_fail;
25068 }
25069 {
25070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25071 }
25072 return resultobj;
25073 fail:
25074 return NULL;
25075}
25076
25077
c32bde28 25078static PyObject *_wrap_Window_MoveAfterInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
7f98d120
RD
25079 PyObject *resultobj;
25080 wxWindow *arg1 = (wxWindow *) 0 ;
25081 wxWindow *arg2 = (wxWindow *) 0 ;
25082 PyObject * obj0 = 0 ;
25083 PyObject * obj1 = 0 ;
25084 char *kwnames[] = {
25085 (char *) "self",(char *) "win", NULL
25086 };
25087
25088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveAfterInTabOrder",kwnames,&obj0,&obj1)) goto fail;
25089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25093 {
25094 PyThreadState* __tstate = wxPyBeginAllowThreads();
25095 (arg1)->MoveAfterInTabOrder(arg2);
25096
25097 wxPyEndAllowThreads(__tstate);
25098 if (PyErr_Occurred()) SWIG_fail;
25099 }
25100 Py_INCREF(Py_None); resultobj = Py_None;
25101 return resultobj;
25102 fail:
25103 return NULL;
25104}
25105
25106
c32bde28 25107static PyObject *_wrap_Window_MoveBeforeInTabOrder(PyObject *, PyObject *args, PyObject *kwargs) {
7f98d120
RD
25108 PyObject *resultobj;
25109 wxWindow *arg1 = (wxWindow *) 0 ;
25110 wxWindow *arg2 = (wxWindow *) 0 ;
25111 PyObject * obj0 = 0 ;
25112 PyObject * obj1 = 0 ;
25113 char *kwnames[] = {
25114 (char *) "self",(char *) "win", NULL
25115 };
25116
25117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames,&obj0,&obj1)) goto fail;
25118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25122 {
25123 PyThreadState* __tstate = wxPyBeginAllowThreads();
25124 (arg1)->MoveBeforeInTabOrder(arg2);
25125
25126 wxPyEndAllowThreads(__tstate);
25127 if (PyErr_Occurred()) SWIG_fail;
25128 }
25129 Py_INCREF(Py_None); resultobj = Py_None;
25130 return resultobj;
25131 fail:
25132 return NULL;
25133}
25134
25135
c32bde28 25136static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25137 PyObject *resultobj;
25138 wxWindow *arg1 = (wxWindow *) 0 ;
25139 PyObject *result;
25140 PyObject * obj0 = 0 ;
25141 char *kwnames[] = {
25142 (char *) "self", NULL
25143 };
25144
25145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
25146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25148 {
25149 PyThreadState* __tstate = wxPyBeginAllowThreads();
25150 result = (PyObject *)wxWindow_GetChildren(arg1);
25151
25152 wxPyEndAllowThreads(__tstate);
25153 if (PyErr_Occurred()) SWIG_fail;
25154 }
25155 resultobj = result;
25156 return resultobj;
25157 fail:
25158 return NULL;
25159}
25160
25161
c32bde28 25162static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25163 PyObject *resultobj;
25164 wxWindow *arg1 = (wxWindow *) 0 ;
25165 wxWindow *result;
25166 PyObject * obj0 = 0 ;
25167 char *kwnames[] = {
25168 (char *) "self", NULL
25169 };
25170
25171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
25172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25174 {
25175 PyThreadState* __tstate = wxPyBeginAllowThreads();
25176 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
25177
25178 wxPyEndAllowThreads(__tstate);
25179 if (PyErr_Occurred()) SWIG_fail;
25180 }
25181 {
412d302d 25182 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25183 }
25184 return resultobj;
25185 fail:
25186 return NULL;
25187}
25188
25189
c32bde28 25190static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25191 PyObject *resultobj;
25192 wxWindow *arg1 = (wxWindow *) 0 ;
25193 wxWindow *result;
25194 PyObject * obj0 = 0 ;
25195 char *kwnames[] = {
25196 (char *) "self", NULL
25197 };
25198
25199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
25200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25202 {
25203 PyThreadState* __tstate = wxPyBeginAllowThreads();
25204 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
25205
25206 wxPyEndAllowThreads(__tstate);
25207 if (PyErr_Occurred()) SWIG_fail;
25208 }
25209 {
412d302d 25210 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25211 }
25212 return resultobj;
25213 fail:
25214 return NULL;
25215}
25216
25217
c32bde28 25218static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25219 PyObject *resultobj;
25220 wxWindow *arg1 = (wxWindow *) 0 ;
25221 bool result;
25222 PyObject * obj0 = 0 ;
25223 char *kwnames[] = {
25224 (char *) "self", NULL
25225 };
25226
25227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
15afbcd0
RD
25228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25230 {
25231 PyThreadState* __tstate = wxPyBeginAllowThreads();
25232 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
25233
25234 wxPyEndAllowThreads(__tstate);
25235 if (PyErr_Occurred()) SWIG_fail;
25236 }
4f89f6a3
RD
25237 {
25238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25239 }
d14a1e28
RD
25240 return resultobj;
25241 fail:
25242 return NULL;
25243}
25244
25245
c32bde28 25246static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25247 PyObject *resultobj;
25248 wxWindow *arg1 = (wxWindow *) 0 ;
25249 wxWindow *arg2 = (wxWindow *) 0 ;
25250 bool result;
25251 PyObject * obj0 = 0 ;
25252 PyObject * obj1 = 0 ;
25253 char *kwnames[] = {
25254 (char *) "self",(char *) "newParent", NULL
25255 };
25256
25257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25260 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25262 {
25263 PyThreadState* __tstate = wxPyBeginAllowThreads();
25264 result = (bool)(arg1)->Reparent(arg2);
25265
25266 wxPyEndAllowThreads(__tstate);
25267 if (PyErr_Occurred()) SWIG_fail;
25268 }
4f89f6a3
RD
25269 {
25270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25271 }
d14a1e28
RD
25272 return resultobj;
25273 fail:
25274 return NULL;
25275}
25276
25277
c32bde28 25278static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25279 PyObject *resultobj;
25280 wxWindow *arg1 = (wxWindow *) 0 ;
25281 wxWindow *arg2 = (wxWindow *) 0 ;
25282 PyObject * obj0 = 0 ;
25283 PyObject * obj1 = 0 ;
25284 char *kwnames[] = {
25285 (char *) "self",(char *) "child", NULL
25286 };
25287
25288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25293 {
25294 PyThreadState* __tstate = wxPyBeginAllowThreads();
25295 (arg1)->AddChild(arg2);
25296
25297 wxPyEndAllowThreads(__tstate);
25298 if (PyErr_Occurred()) SWIG_fail;
25299 }
25300 Py_INCREF(Py_None); resultobj = Py_None;
25301 return resultobj;
25302 fail:
25303 return NULL;
25304}
25305
25306
c32bde28 25307static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25308 PyObject *resultobj;
25309 wxWindow *arg1 = (wxWindow *) 0 ;
25310 wxWindow *arg2 = (wxWindow *) 0 ;
25311 PyObject * obj0 = 0 ;
25312 PyObject * obj1 = 0 ;
25313 char *kwnames[] = {
25314 (char *) "self",(char *) "child", NULL
25315 };
25316
25317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
25321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25322 {
25323 PyThreadState* __tstate = wxPyBeginAllowThreads();
25324 (arg1)->RemoveChild(arg2);
25325
25326 wxPyEndAllowThreads(__tstate);
25327 if (PyErr_Occurred()) SWIG_fail;
25328 }
25329 Py_INCREF(Py_None); resultobj = Py_None;
25330 return resultobj;
25331 fail:
25332 return NULL;
25333}
25334
25335
c32bde28 25336static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25337 PyObject *resultobj;
25338 wxWindow *arg1 = (wxWindow *) 0 ;
25339 long arg2 ;
25340 wxWindow *result;
25341 PyObject * obj0 = 0 ;
994141e6 25342 PyObject * obj1 = 0 ;
d14a1e28
RD
25343 char *kwnames[] = {
25344 (char *) "self",(char *) "winid", NULL
25345 };
25346
994141e6 25347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25350 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 25351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25352 {
25353 PyThreadState* __tstate = wxPyBeginAllowThreads();
25354 result = (wxWindow *)(arg1)->FindWindow(arg2);
25355
25356 wxPyEndAllowThreads(__tstate);
25357 if (PyErr_Occurred()) SWIG_fail;
25358 }
25359 {
412d302d 25360 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25361 }
25362 return resultobj;
25363 fail:
25364 return NULL;
25365}
25366
25367
c32bde28 25368static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25369 PyObject *resultobj;
25370 wxWindow *arg1 = (wxWindow *) 0 ;
25371 wxString *arg2 = 0 ;
25372 wxWindow *result;
ae8162c8 25373 bool temp2 = false ;
d14a1e28
RD
25374 PyObject * obj0 = 0 ;
25375 PyObject * obj1 = 0 ;
25376 char *kwnames[] = {
25377 (char *) "self",(char *) "name", NULL
25378 };
25379
25380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25383 {
25384 arg2 = wxString_in_helper(obj1);
25385 if (arg2 == NULL) SWIG_fail;
ae8162c8 25386 temp2 = true;
d14a1e28
RD
25387 }
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
25391
25392 wxPyEndAllowThreads(__tstate);
25393 if (PyErr_Occurred()) SWIG_fail;
25394 }
25395 {
412d302d 25396 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25397 }
25398 {
25399 if (temp2)
25400 delete arg2;
25401 }
25402 return resultobj;
25403 fail:
25404 {
25405 if (temp2)
25406 delete arg2;
25407 }
25408 return NULL;
25409}
25410
25411
c32bde28 25412static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25413 PyObject *resultobj;
25414 wxWindow *arg1 = (wxWindow *) 0 ;
25415 wxEvtHandler *result;
25416 PyObject * obj0 = 0 ;
25417 char *kwnames[] = {
25418 (char *) "self", NULL
25419 };
25420
25421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
25422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25424 {
25425 PyThreadState* __tstate = wxPyBeginAllowThreads();
25426 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
25427
25428 wxPyEndAllowThreads(__tstate);
25429 if (PyErr_Occurred()) SWIG_fail;
25430 }
25431 {
412d302d 25432 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25433 }
25434 return resultobj;
25435 fail:
25436 return NULL;
25437}
25438
25439
c32bde28 25440static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25441 PyObject *resultobj;
25442 wxWindow *arg1 = (wxWindow *) 0 ;
25443 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
25444 PyObject * obj0 = 0 ;
25445 PyObject * obj1 = 0 ;
25446 char *kwnames[] = {
25447 (char *) "self",(char *) "handler", NULL
25448 };
25449
25450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
25454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25455 {
25456 PyThreadState* __tstate = wxPyBeginAllowThreads();
25457 (arg1)->SetEventHandler(arg2);
25458
25459 wxPyEndAllowThreads(__tstate);
25460 if (PyErr_Occurred()) SWIG_fail;
25461 }
25462 Py_INCREF(Py_None); resultobj = Py_None;
25463 return resultobj;
25464 fail:
25465 return NULL;
25466}
25467
25468
c32bde28 25469static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25470 PyObject *resultobj;
25471 wxWindow *arg1 = (wxWindow *) 0 ;
25472 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
25473 PyObject * obj0 = 0 ;
25474 PyObject * obj1 = 0 ;
25475 char *kwnames[] = {
25476 (char *) "self",(char *) "handler", NULL
25477 };
25478
25479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
25483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25484 {
25485 PyThreadState* __tstate = wxPyBeginAllowThreads();
25486 (arg1)->PushEventHandler(arg2);
25487
25488 wxPyEndAllowThreads(__tstate);
25489 if (PyErr_Occurred()) SWIG_fail;
25490 }
25491 Py_INCREF(Py_None); resultobj = Py_None;
25492 return resultobj;
25493 fail:
25494 return NULL;
25495}
25496
25497
c32bde28 25498static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25499 PyObject *resultobj;
25500 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 25501 bool arg2 = (bool) false ;
d14a1e28
RD
25502 wxEvtHandler *result;
25503 PyObject * obj0 = 0 ;
25504 PyObject * obj1 = 0 ;
25505 char *kwnames[] = {
25506 (char *) "self",(char *) "deleteHandler", NULL
25507 };
25508
25509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25512 if (obj1) {
c32bde28 25513 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 25514 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25515 }
25516 {
25517 PyThreadState* __tstate = wxPyBeginAllowThreads();
25518 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
25519
25520 wxPyEndAllowThreads(__tstate);
25521 if (PyErr_Occurred()) SWIG_fail;
25522 }
25523 {
412d302d 25524 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25525 }
25526 return resultobj;
25527 fail:
25528 return NULL;
25529}
25530
25531
c32bde28 25532static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25533 PyObject *resultobj;
25534 wxWindow *arg1 = (wxWindow *) 0 ;
25535 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
25536 bool result;
25537 PyObject * obj0 = 0 ;
25538 PyObject * obj1 = 0 ;
25539 char *kwnames[] = {
25540 (char *) "self",(char *) "handler", NULL
25541 };
25542
25543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
25547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25548 {
25549 PyThreadState* __tstate = wxPyBeginAllowThreads();
25550 result = (bool)(arg1)->RemoveEventHandler(arg2);
25551
25552 wxPyEndAllowThreads(__tstate);
25553 if (PyErr_Occurred()) SWIG_fail;
25554 }
4f89f6a3
RD
25555 {
25556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25557 }
d14a1e28
RD
25558 return resultobj;
25559 fail:
25560 return NULL;
25561}
25562
25563
c32bde28 25564static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25565 PyObject *resultobj;
25566 wxWindow *arg1 = (wxWindow *) 0 ;
25567 wxValidator *arg2 = 0 ;
25568 PyObject * obj0 = 0 ;
25569 PyObject * obj1 = 0 ;
25570 char *kwnames[] = {
25571 (char *) "self",(char *) "validator", NULL
25572 };
25573
25574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",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;
25577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
25578 SWIG_POINTER_EXCEPTION | 0)) == -1)
25579 SWIG_fail;
d14a1e28 25580 if (arg2 == NULL) {
15afbcd0
RD
25581 PyErr_SetString(PyExc_TypeError,"null reference");
25582 SWIG_fail;
d14a1e28
RD
25583 }
25584 {
25585 PyThreadState* __tstate = wxPyBeginAllowThreads();
25586 (arg1)->SetValidator((wxValidator const &)*arg2);
25587
25588 wxPyEndAllowThreads(__tstate);
25589 if (PyErr_Occurred()) SWIG_fail;
25590 }
25591 Py_INCREF(Py_None); resultobj = Py_None;
25592 return resultobj;
25593 fail:
25594 return NULL;
25595}
25596
25597
c32bde28 25598static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25599 PyObject *resultobj;
25600 wxWindow *arg1 = (wxWindow *) 0 ;
25601 wxValidator *result;
25602 PyObject * obj0 = 0 ;
25603 char *kwnames[] = {
25604 (char *) "self", NULL
25605 };
25606
25607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
15afbcd0
RD
25608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25610 {
25611 PyThreadState* __tstate = wxPyBeginAllowThreads();
25612 result = (wxValidator *)(arg1)->GetValidator();
25613
25614 wxPyEndAllowThreads(__tstate);
25615 if (PyErr_Occurred()) SWIG_fail;
25616 }
25617 {
412d302d 25618 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
25619 }
25620 return resultobj;
25621 fail:
25622 return NULL;
25623}
25624
25625
c32bde28 25626static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
25627 PyObject *resultobj;
25628 wxWindow *arg1 = (wxWindow *) 0 ;
25629 bool result;
25630 PyObject * obj0 = 0 ;
25631 char *kwnames[] = {
25632 (char *) "self", NULL
25633 };
25634
25635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
25636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25638 {
25639 PyThreadState* __tstate = wxPyBeginAllowThreads();
25640 result = (bool)(arg1)->Validate();
25641
25642 wxPyEndAllowThreads(__tstate);
25643 if (PyErr_Occurred()) SWIG_fail;
25644 }
25645 {
25646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25647 }
25648 return resultobj;
25649 fail:
25650 return NULL;
25651}
25652
25653
c32bde28 25654static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
25655 PyObject *resultobj;
25656 wxWindow *arg1 = (wxWindow *) 0 ;
25657 bool result;
25658 PyObject * obj0 = 0 ;
25659 char *kwnames[] = {
25660 (char *) "self", NULL
25661 };
25662
25663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
25664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25666 {
25667 PyThreadState* __tstate = wxPyBeginAllowThreads();
25668 result = (bool)(arg1)->TransferDataToWindow();
25669
25670 wxPyEndAllowThreads(__tstate);
25671 if (PyErr_Occurred()) SWIG_fail;
25672 }
25673 {
25674 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25675 }
25676 return resultobj;
25677 fail:
25678 return NULL;
25679}
25680
25681
c32bde28 25682static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
25683 PyObject *resultobj;
25684 wxWindow *arg1 = (wxWindow *) 0 ;
25685 bool result;
25686 PyObject * obj0 = 0 ;
25687 char *kwnames[] = {
25688 (char *) "self", NULL
25689 };
25690
25691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
25692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25694 {
25695 PyThreadState* __tstate = wxPyBeginAllowThreads();
25696 result = (bool)(arg1)->TransferDataFromWindow();
25697
25698 wxPyEndAllowThreads(__tstate);
25699 if (PyErr_Occurred()) SWIG_fail;
25700 }
25701 {
25702 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25703 }
25704 return resultobj;
25705 fail:
25706 return NULL;
25707}
25708
25709
c32bde28 25710static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
25711 PyObject *resultobj;
25712 wxWindow *arg1 = (wxWindow *) 0 ;
25713 PyObject * obj0 = 0 ;
25714 char *kwnames[] = {
25715 (char *) "self", NULL
25716 };
25717
25718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
25719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25721 {
25722 PyThreadState* __tstate = wxPyBeginAllowThreads();
25723 (arg1)->InitDialog();
25724
25725 wxPyEndAllowThreads(__tstate);
25726 if (PyErr_Occurred()) SWIG_fail;
25727 }
25728 Py_INCREF(Py_None); resultobj = Py_None;
25729 return resultobj;
25730 fail:
25731 return NULL;
25732}
25733
25734
c32bde28 25735static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25736 PyObject *resultobj;
25737 wxWindow *arg1 = (wxWindow *) 0 ;
25738 wxAcceleratorTable *arg2 = 0 ;
25739 PyObject * obj0 = 0 ;
25740 PyObject * obj1 = 0 ;
25741 char *kwnames[] = {
25742 (char *) "self",(char *) "accel", NULL
25743 };
25744
25745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25748 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
25749 SWIG_POINTER_EXCEPTION | 0)) == -1)
25750 SWIG_fail;
d14a1e28 25751 if (arg2 == NULL) {
15afbcd0
RD
25752 PyErr_SetString(PyExc_TypeError,"null reference");
25753 SWIG_fail;
d14a1e28
RD
25754 }
25755 {
25756 PyThreadState* __tstate = wxPyBeginAllowThreads();
25757 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
25758
25759 wxPyEndAllowThreads(__tstate);
25760 if (PyErr_Occurred()) SWIG_fail;
25761 }
25762 Py_INCREF(Py_None); resultobj = Py_None;
25763 return resultobj;
25764 fail:
25765 return NULL;
25766}
25767
25768
c32bde28 25769static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25770 PyObject *resultobj;
25771 wxWindow *arg1 = (wxWindow *) 0 ;
25772 wxAcceleratorTable *result;
25773 PyObject * obj0 = 0 ;
25774 char *kwnames[] = {
25775 (char *) "self", NULL
25776 };
25777
25778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
25779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25781 {
25782 PyThreadState* __tstate = wxPyBeginAllowThreads();
25783 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
25784
25785 wxPyEndAllowThreads(__tstate);
25786 if (PyErr_Occurred()) SWIG_fail;
25787 }
15afbcd0 25788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
25789 return resultobj;
25790 fail:
25791 return NULL;
25792}
25793
25794
c32bde28 25795static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25796 PyObject *resultobj;
25797 wxWindow *arg1 = (wxWindow *) 0 ;
25798 int arg2 ;
25799 int arg3 ;
25800 int arg4 ;
25801 bool result;
25802 PyObject * obj0 = 0 ;
994141e6
RD
25803 PyObject * obj1 = 0 ;
25804 PyObject * obj2 = 0 ;
25805 PyObject * obj3 = 0 ;
d14a1e28
RD
25806 char *kwnames[] = {
25807 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25808 };
25809
994141e6 25810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
25811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25813 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 25814 if (PyErr_Occurred()) SWIG_fail;
c32bde28 25815 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 25816 if (PyErr_Occurred()) SWIG_fail;
c32bde28 25817 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 25818 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
4f89f6a3
RD
25826 {
25827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25828 }
d14a1e28
RD
25829 return resultobj;
25830 fail:
25831 return NULL;
25832}
25833
25834
c32bde28 25835static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25836 PyObject *resultobj;
25837 wxWindow *arg1 = (wxWindow *) 0 ;
25838 int arg2 ;
25839 bool result;
25840 PyObject * obj0 = 0 ;
994141e6 25841 PyObject * obj1 = 0 ;
d14a1e28
RD
25842 char *kwnames[] = {
25843 (char *) "self",(char *) "hotkeyId", NULL
25844 };
25845
994141e6 25846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 25849 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 25850 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25851 {
25852 PyThreadState* __tstate = wxPyBeginAllowThreads();
25853 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
25854
25855 wxPyEndAllowThreads(__tstate);
25856 if (PyErr_Occurred()) SWIG_fail;
25857 }
4f89f6a3
RD
25858 {
25859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25860 }
d14a1e28
RD
25861 return resultobj;
25862 fail:
25863 return NULL;
25864}
25865
25866
c32bde28 25867static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25868 PyObject *resultobj;
25869 wxWindow *arg1 = (wxWindow *) 0 ;
25870 wxPoint *arg2 = 0 ;
25871 wxPoint result;
25872 wxPoint temp2 ;
25873 PyObject * obj0 = 0 ;
25874 PyObject * obj1 = 0 ;
25875 char *kwnames[] = {
25876 (char *) "self",(char *) "pt", NULL
25877 };
25878
25879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25882 {
25883 arg2 = &temp2;
25884 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25885 }
25886 {
25887 PyThreadState* __tstate = wxPyBeginAllowThreads();
25888 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25889
25890 wxPyEndAllowThreads(__tstate);
25891 if (PyErr_Occurred()) SWIG_fail;
25892 }
25893 {
25894 wxPoint * resultptr;
25895 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25896 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25897 }
25898 return resultobj;
25899 fail:
25900 return NULL;
25901}
25902
25903
c32bde28 25904static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25905 PyObject *resultobj;
25906 wxWindow *arg1 = (wxWindow *) 0 ;
25907 wxSize *arg2 = 0 ;
25908 wxSize result;
25909 wxSize temp2 ;
25910 PyObject * obj0 = 0 ;
25911 PyObject * obj1 = 0 ;
25912 char *kwnames[] = {
25913 (char *) "self",(char *) "sz", NULL
25914 };
25915
25916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25919 {
25920 arg2 = &temp2;
25921 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25922 }
25923 {
25924 PyThreadState* __tstate = wxPyBeginAllowThreads();
25925 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25926
25927 wxPyEndAllowThreads(__tstate);
25928 if (PyErr_Occurred()) SWIG_fail;
25929 }
25930 {
25931 wxSize * resultptr;
25932 resultptr = new wxSize((wxSize &) result);
15afbcd0 25933 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25934 }
25935 return resultobj;
25936 fail:
25937 return NULL;
25938}
25939
25940
c32bde28 25941static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25942 PyObject *resultobj;
25943 wxWindow *arg1 = (wxWindow *) 0 ;
25944 wxPoint *arg2 = 0 ;
25945 wxPoint result;
25946 wxPoint temp2 ;
25947 PyObject * obj0 = 0 ;
25948 PyObject * obj1 = 0 ;
25949 char *kwnames[] = {
25950 (char *) "self",(char *) "pt", NULL
25951 };
25952
25953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25956 {
25957 arg2 = &temp2;
25958 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25959 }
25960 {
25961 PyThreadState* __tstate = wxPyBeginAllowThreads();
25962 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25963
25964 wxPyEndAllowThreads(__tstate);
25965 if (PyErr_Occurred()) SWIG_fail;
25966 }
25967 {
25968 wxPoint * resultptr;
25969 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25970 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25971 }
25972 return resultobj;
25973 fail:
25974 return NULL;
25975}
25976
25977
c32bde28 25978static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25979 PyObject *resultobj;
25980 wxWindow *arg1 = (wxWindow *) 0 ;
25981 wxSize *arg2 = 0 ;
25982 wxSize result;
25983 wxSize temp2 ;
25984 PyObject * obj0 = 0 ;
25985 PyObject * obj1 = 0 ;
25986 char *kwnames[] = {
25987 (char *) "self",(char *) "sz", NULL
25988 };
25989
25990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25993 {
25994 arg2 = &temp2;
25995 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25996 }
25997 {
25998 PyThreadState* __tstate = wxPyBeginAllowThreads();
25999 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
26000
26001 wxPyEndAllowThreads(__tstate);
26002 if (PyErr_Occurred()) SWIG_fail;
26003 }
26004 {
26005 wxSize * resultptr;
26006 resultptr = new wxSize((wxSize &) result);
15afbcd0 26007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
26008 }
26009 return resultobj;
26010 fail:
26011 return NULL;
26012}
26013
26014
c32bde28 26015static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26016 PyObject *resultobj;
26017 wxWindow *arg1 = (wxWindow *) 0 ;
26018 wxPoint *arg2 = 0 ;
26019 wxPoint result;
26020 wxPoint temp2 ;
26021 PyObject * obj0 = 0 ;
26022 PyObject * obj1 = 0 ;
26023 char *kwnames[] = {
26024 (char *) "self",(char *) "pt", NULL
26025 };
26026
26027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26030 {
26031 arg2 = &temp2;
26032 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26033 }
26034 {
26035 PyThreadState* __tstate = wxPyBeginAllowThreads();
26036 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
26037
26038 wxPyEndAllowThreads(__tstate);
26039 if (PyErr_Occurred()) SWIG_fail;
26040 }
26041 {
26042 wxPoint * resultptr;
26043 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 26044 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26045 }
26046 return resultobj;
26047 fail:
26048 return NULL;
26049}
26050
26051
c32bde28 26052static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26053 PyObject *resultobj;
26054 wxWindow *arg1 = (wxWindow *) 0 ;
26055 wxSize *arg2 = 0 ;
26056 wxSize result;
26057 wxSize temp2 ;
26058 PyObject * obj0 = 0 ;
26059 PyObject * obj1 = 0 ;
26060 char *kwnames[] = {
26061 (char *) "self",(char *) "sz", NULL
26062 };
26063
26064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26067 {
26068 arg2 = &temp2;
26069 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
26070 }
26071 {
26072 PyThreadState* __tstate = wxPyBeginAllowThreads();
26073 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
26074
26075 wxPyEndAllowThreads(__tstate);
26076 if (PyErr_Occurred()) SWIG_fail;
26077 }
26078 {
26079 wxSize * resultptr;
26080 resultptr = new wxSize((wxSize &) result);
15afbcd0 26081 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
26082 }
26083 return resultobj;
26084 fail:
26085 return NULL;
26086}
26087
26088
c32bde28 26089static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26090 PyObject *resultobj;
26091 wxWindow *arg1 = (wxWindow *) 0 ;
26092 int arg2 ;
26093 int arg3 ;
26094 PyObject * obj0 = 0 ;
994141e6
RD
26095 PyObject * obj1 = 0 ;
26096 PyObject * obj2 = 0 ;
d14a1e28
RD
26097 char *kwnames[] = {
26098 (char *) "self",(char *) "x",(char *) "y", NULL
26099 };
26100
994141e6 26101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26104 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 26105 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26106 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 26107 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26108 {
26109 PyThreadState* __tstate = wxPyBeginAllowThreads();
26110 (arg1)->WarpPointer(arg2,arg3);
26111
26112 wxPyEndAllowThreads(__tstate);
26113 if (PyErr_Occurred()) SWIG_fail;
26114 }
26115 Py_INCREF(Py_None); resultobj = Py_None;
26116 return resultobj;
26117 fail:
26118 return NULL;
26119}
26120
26121
c32bde28 26122static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26123 PyObject *resultobj;
26124 wxWindow *arg1 = (wxWindow *) 0 ;
26125 PyObject * obj0 = 0 ;
26126 char *kwnames[] = {
26127 (char *) "self", NULL
26128 };
26129
26130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
26131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26133 {
26134 PyThreadState* __tstate = wxPyBeginAllowThreads();
26135 (arg1)->CaptureMouse();
26136
26137 wxPyEndAllowThreads(__tstate);
26138 if (PyErr_Occurred()) SWIG_fail;
26139 }
26140 Py_INCREF(Py_None); resultobj = Py_None;
26141 return resultobj;
26142 fail:
26143 return NULL;
26144}
26145
26146
c32bde28 26147static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26148 PyObject *resultobj;
26149 wxWindow *arg1 = (wxWindow *) 0 ;
26150 PyObject * obj0 = 0 ;
26151 char *kwnames[] = {
26152 (char *) "self", NULL
26153 };
26154
26155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
26156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26158 {
26159 PyThreadState* __tstate = wxPyBeginAllowThreads();
26160 (arg1)->ReleaseMouse();
26161
26162 wxPyEndAllowThreads(__tstate);
26163 if (PyErr_Occurred()) SWIG_fail;
26164 }
26165 Py_INCREF(Py_None); resultobj = Py_None;
26166 return resultobj;
26167 fail:
26168 return NULL;
26169}
26170
26171
c32bde28 26172static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26173 PyObject *resultobj;
26174 wxWindow *result;
26175 char *kwnames[] = {
26176 NULL
26177 };
26178
26179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
26180 {
e3b71cb8 26181 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
26182 PyThreadState* __tstate = wxPyBeginAllowThreads();
26183 result = (wxWindow *)wxWindow::GetCapture();
26184
26185 wxPyEndAllowThreads(__tstate);
110da5b0 26186 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26187 }
26188 {
412d302d 26189 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
26190 }
26191 return resultobj;
26192 fail:
26193 return NULL;
26194}
26195
26196
c32bde28 26197static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26198 PyObject *resultobj;
26199 wxWindow *arg1 = (wxWindow *) 0 ;
26200 bool result;
26201 PyObject * obj0 = 0 ;
26202 char *kwnames[] = {
26203 (char *) "self", NULL
26204 };
26205
26206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
15afbcd0
RD
26207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26209 {
26210 PyThreadState* __tstate = wxPyBeginAllowThreads();
26211 result = (bool)((wxWindow const *)arg1)->HasCapture();
26212
26213 wxPyEndAllowThreads(__tstate);
26214 if (PyErr_Occurred()) SWIG_fail;
26215 }
4f89f6a3
RD
26216 {
26217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26218 }
d14a1e28
RD
26219 return resultobj;
26220 fail:
26221 return NULL;
26222}
26223
26224
c32bde28 26225static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26226 PyObject *resultobj;
26227 wxWindow *arg1 = (wxWindow *) 0 ;
ae8162c8 26228 bool arg2 = (bool) true ;
d14a1e28
RD
26229 wxRect *arg3 = (wxRect *) NULL ;
26230 PyObject * obj0 = 0 ;
26231 PyObject * obj1 = 0 ;
26232 PyObject * obj2 = 0 ;
26233 char *kwnames[] = {
26234 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
26235 };
26236
26237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 26240 if (obj1) {
c32bde28 26241 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 26242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26243 }
26244 if (obj2) {
15afbcd0
RD
26245 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
26246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26247 }
26248 {
26249 PyThreadState* __tstate = wxPyBeginAllowThreads();
26250 (arg1)->Refresh(arg2,(wxRect const *)arg3);
26251
26252 wxPyEndAllowThreads(__tstate);
26253 if (PyErr_Occurred()) SWIG_fail;
26254 }
26255 Py_INCREF(Py_None); resultobj = Py_None;
26256 return resultobj;
26257 fail:
26258 return NULL;
26259}
26260
26261
c32bde28 26262static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26263 PyObject *resultobj;
26264 wxWindow *arg1 = (wxWindow *) 0 ;
26265 wxRect *arg2 = 0 ;
26266 wxRect temp2 ;
26267 PyObject * obj0 = 0 ;
26268 PyObject * obj1 = 0 ;
26269 char *kwnames[] = {
26270 (char *) "self",(char *) "rect", NULL
26271 };
26272
26273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26276 {
26277 arg2 = &temp2;
26278 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
26279 }
26280 {
26281 PyThreadState* __tstate = wxPyBeginAllowThreads();
26282 (arg1)->RefreshRect((wxRect const &)*arg2);
26283
26284 wxPyEndAllowThreads(__tstate);
26285 if (PyErr_Occurred()) SWIG_fail;
26286 }
26287 Py_INCREF(Py_None); resultobj = Py_None;
26288 return resultobj;
26289 fail:
26290 return NULL;
26291}
26292
26293
c32bde28 26294static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26295 PyObject *resultobj;
26296 wxWindow *arg1 = (wxWindow *) 0 ;
26297 PyObject * obj0 = 0 ;
26298 char *kwnames[] = {
26299 (char *) "self", NULL
26300 };
26301
26302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
15afbcd0
RD
26303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26305 {
26306 PyThreadState* __tstate = wxPyBeginAllowThreads();
26307 (arg1)->Update();
26308
26309 wxPyEndAllowThreads(__tstate);
26310 if (PyErr_Occurred()) SWIG_fail;
26311 }
26312 Py_INCREF(Py_None); resultobj = Py_None;
26313 return resultobj;
26314 fail:
26315 return NULL;
26316}
26317
26318
c32bde28 26319static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26320 PyObject *resultobj;
26321 wxWindow *arg1 = (wxWindow *) 0 ;
26322 PyObject * obj0 = 0 ;
26323 char *kwnames[] = {
26324 (char *) "self", NULL
26325 };
26326
26327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
26328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26330 {
26331 PyThreadState* __tstate = wxPyBeginAllowThreads();
26332 (arg1)->ClearBackground();
26333
26334 wxPyEndAllowThreads(__tstate);
26335 if (PyErr_Occurred()) SWIG_fail;
26336 }
26337 Py_INCREF(Py_None); resultobj = Py_None;
26338 return resultobj;
26339 fail:
26340 return NULL;
26341}
26342
26343
c32bde28 26344static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26345 PyObject *resultobj;
26346 wxWindow *arg1 = (wxWindow *) 0 ;
26347 PyObject * obj0 = 0 ;
26348 char *kwnames[] = {
26349 (char *) "self", NULL
26350 };
26351
26352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
15afbcd0
RD
26353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26355 {
26356 PyThreadState* __tstate = wxPyBeginAllowThreads();
26357 (arg1)->Freeze();
26358
26359 wxPyEndAllowThreads(__tstate);
26360 if (PyErr_Occurred()) SWIG_fail;
26361 }
26362 Py_INCREF(Py_None); resultobj = Py_None;
26363 return resultobj;
26364 fail:
26365 return NULL;
26366}
26367
26368
c32bde28 26369static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26370 PyObject *resultobj;
26371 wxWindow *arg1 = (wxWindow *) 0 ;
26372 PyObject * obj0 = 0 ;
26373 char *kwnames[] = {
26374 (char *) "self", NULL
26375 };
26376
26377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
15afbcd0
RD
26378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26380 {
26381 PyThreadState* __tstate = wxPyBeginAllowThreads();
26382 (arg1)->Thaw();
26383
26384 wxPyEndAllowThreads(__tstate);
26385 if (PyErr_Occurred()) SWIG_fail;
26386 }
26387 Py_INCREF(Py_None); resultobj = Py_None;
26388 return resultobj;
26389 fail:
26390 return NULL;
26391}
26392
26393
c32bde28 26394static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26395 PyObject *resultobj;
26396 wxWindow *arg1 = (wxWindow *) 0 ;
26397 wxDC *arg2 = 0 ;
26398 PyObject * obj0 = 0 ;
26399 PyObject * obj1 = 0 ;
26400 char *kwnames[] = {
26401 (char *) "self",(char *) "dc", NULL
26402 };
26403
26404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26407 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
26408 SWIG_POINTER_EXCEPTION | 0)) == -1)
26409 SWIG_fail;
d14a1e28 26410 if (arg2 == NULL) {
15afbcd0
RD
26411 PyErr_SetString(PyExc_TypeError,"null reference");
26412 SWIG_fail;
d14a1e28
RD
26413 }
26414 {
26415 PyThreadState* __tstate = wxPyBeginAllowThreads();
26416 (arg1)->PrepareDC(*arg2);
26417
26418 wxPyEndAllowThreads(__tstate);
26419 if (PyErr_Occurred()) SWIG_fail;
26420 }
26421 Py_INCREF(Py_None); resultobj = Py_None;
26422 return resultobj;
26423 fail:
26424 return NULL;
26425}
26426
26427
c32bde28 26428static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26429 PyObject *resultobj;
26430 wxWindow *arg1 = (wxWindow *) 0 ;
26431 wxRegion *result;
26432 PyObject * obj0 = 0 ;
26433 char *kwnames[] = {
26434 (char *) "self", NULL
26435 };
26436
26437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
15afbcd0
RD
26438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26440 {
26441 PyThreadState* __tstate = wxPyBeginAllowThreads();
26442 {
26443 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
26444 result = (wxRegion *) &_result_ref;
26445 }
26446
26447 wxPyEndAllowThreads(__tstate);
26448 if (PyErr_Occurred()) SWIG_fail;
26449 }
15afbcd0 26450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
26451 return resultobj;
26452 fail:
26453 return NULL;
26454}
26455
26456
c32bde28 26457static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26458 PyObject *resultobj;
26459 wxWindow *arg1 = (wxWindow *) 0 ;
26460 wxRect result;
26461 PyObject * obj0 = 0 ;
26462 char *kwnames[] = {
26463 (char *) "self", NULL
26464 };
26465
26466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
26467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26469 {
26470 PyThreadState* __tstate = wxPyBeginAllowThreads();
26471 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
26472
26473 wxPyEndAllowThreads(__tstate);
26474 if (PyErr_Occurred()) SWIG_fail;
26475 }
26476 {
26477 wxRect * resultptr;
26478 resultptr = new wxRect((wxRect &) result);
15afbcd0 26479 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
26480 }
26481 return resultobj;
26482 fail:
26483 return NULL;
26484}
26485
26486
c32bde28 26487static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26488 PyObject *resultobj;
26489 wxWindow *arg1 = (wxWindow *) 0 ;
26490 int arg2 ;
26491 int arg3 ;
26492 int arg4 = (int) 1 ;
26493 int arg5 = (int) 1 ;
26494 bool result;
26495 PyObject * obj0 = 0 ;
994141e6
RD
26496 PyObject * obj1 = 0 ;
26497 PyObject * obj2 = 0 ;
26498 PyObject * obj3 = 0 ;
26499 PyObject * obj4 = 0 ;
d14a1e28
RD
26500 char *kwnames[] = {
26501 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
26502 };
26503
994141e6 26504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
26505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26507 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 26508 if (PyErr_Occurred()) SWIG_fail;
c32bde28 26509 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 26510 if (PyErr_Occurred()) SWIG_fail;
994141e6 26511 if (obj3) {
c32bde28 26512 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 26513 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
26514 }
26515 if (obj4) {
c32bde28 26516 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 26517 if (PyErr_Occurred()) SWIG_fail;
994141e6 26518 }
d14a1e28
RD
26519 {
26520 PyThreadState* __tstate = wxPyBeginAllowThreads();
26521 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
26522
26523 wxPyEndAllowThreads(__tstate);
26524 if (PyErr_Occurred()) SWIG_fail;
26525 }
4f89f6a3
RD
26526 {
26527 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26528 }
d14a1e28
RD
26529 return resultobj;
26530 fail:
26531 return NULL;
26532}
26533
26534
c32bde28 26535static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26536 PyObject *resultobj;
26537 wxWindow *arg1 = (wxWindow *) 0 ;
26538 wxPoint *arg2 = 0 ;
26539 bool result;
26540 wxPoint temp2 ;
26541 PyObject * obj0 = 0 ;
26542 PyObject * obj1 = 0 ;
26543 char *kwnames[] = {
26544 (char *) "self",(char *) "pt", NULL
26545 };
26546
26547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26550 {
26551 arg2 = &temp2;
26552 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26553 }
26554 {
26555 PyThreadState* __tstate = wxPyBeginAllowThreads();
26556 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
26557
26558 wxPyEndAllowThreads(__tstate);
26559 if (PyErr_Occurred()) SWIG_fail;
26560 }
4f89f6a3
RD
26561 {
26562 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26563 }
d14a1e28
RD
26564 return resultobj;
26565 fail:
26566 return NULL;
26567}
26568
26569
c32bde28 26570static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26571 PyObject *resultobj;
26572 wxWindow *arg1 = (wxWindow *) 0 ;
26573 wxRect *arg2 = 0 ;
26574 bool result;
26575 wxRect temp2 ;
26576 PyObject * obj0 = 0 ;
26577 PyObject * obj1 = 0 ;
26578 char *kwnames[] = {
26579 (char *) "self",(char *) "rect", NULL
26580 };
26581
4276dc52 26582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26585 {
26586 arg2 = &temp2;
26587 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
26588 }
26589 {
26590 PyThreadState* __tstate = wxPyBeginAllowThreads();
26591 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
26592
26593 wxPyEndAllowThreads(__tstate);
26594 if (PyErr_Occurred()) SWIG_fail;
26595 }
4f89f6a3
RD
26596 {
26597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26598 }
d14a1e28
RD
26599 return resultobj;
26600 fail:
26601 return NULL;
26602}
26603
26604
c32bde28 26605static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
26606 PyObject *resultobj;
26607 wxWindow *arg1 = (wxWindow *) 0 ;
26608 wxVisualAttributes result;
26609 PyObject * obj0 = 0 ;
26610 char *kwnames[] = {
26611 (char *) "self", NULL
26612 };
26613
26614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
26615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26617 {
26618 PyThreadState* __tstate = wxPyBeginAllowThreads();
26619 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
26620
26621 wxPyEndAllowThreads(__tstate);
26622 if (PyErr_Occurred()) SWIG_fail;
26623 }
26624 {
26625 wxVisualAttributes * resultptr;
26626 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26627 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26628 }
26629 return resultobj;
26630 fail:
26631 return NULL;
26632}
26633
26634
c32bde28 26635static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
26636 PyObject *resultobj;
26637 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
26638 wxVisualAttributes result;
26639 PyObject * obj0 = 0 ;
26640 char *kwnames[] = {
26641 (char *) "variant", NULL
26642 };
26643
26644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
26645 if (obj0) {
c32bde28 26646 arg1 = (int)SWIG_As_int(obj0);
74a57fcd
RD
26647 if (PyErr_Occurred()) SWIG_fail;
26648 }
26649 {
e3b71cb8 26650 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
26651 PyThreadState* __tstate = wxPyBeginAllowThreads();
26652 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
26653
26654 wxPyEndAllowThreads(__tstate);
110da5b0 26655 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
26656 }
26657 {
26658 wxVisualAttributes * resultptr;
26659 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
26660 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
26661 }
26662 return resultobj;
26663 fail:
26664 return NULL;
26665}
26666
26667
c32bde28 26668static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26669 PyObject *resultobj;
26670 wxWindow *arg1 = (wxWindow *) 0 ;
26671 wxColour *arg2 = 0 ;
26672 bool result;
26673 wxColour temp2 ;
26674 PyObject * obj0 = 0 ;
26675 PyObject * obj1 = 0 ;
26676 char *kwnames[] = {
26677 (char *) "self",(char *) "colour", NULL
26678 };
26679
26680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26683 {
26684 arg2 = &temp2;
26685 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26686 }
26687 {
26688 PyThreadState* __tstate = wxPyBeginAllowThreads();
26689 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
26690
26691 wxPyEndAllowThreads(__tstate);
26692 if (PyErr_Occurred()) SWIG_fail;
26693 }
4f89f6a3
RD
26694 {
26695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26696 }
d14a1e28
RD
26697 return resultobj;
26698 fail:
26699 return NULL;
26700}
26701
26702
c32bde28 26703static PyObject *_wrap_Window_SetOwnBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26704 PyObject *resultobj;
26705 wxWindow *arg1 = (wxWindow *) 0 ;
26706 wxColour *arg2 = 0 ;
26707 wxColour temp2 ;
26708 PyObject * obj0 = 0 ;
26709 PyObject * obj1 = 0 ;
26710 char *kwnames[] = {
26711 (char *) "self",(char *) "colour", NULL
26712 };
26713
412d302d 26714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26717 {
26718 arg2 = &temp2;
26719 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26720 }
26721 {
26722 PyThreadState* __tstate = wxPyBeginAllowThreads();
412d302d 26723 (arg1)->SetOwnBackgroundColour((wxColour const &)*arg2);
b2df227b
RD
26724
26725 wxPyEndAllowThreads(__tstate);
26726 if (PyErr_Occurred()) SWIG_fail;
26727 }
26728 Py_INCREF(Py_None); resultobj = Py_None;
26729 return resultobj;
26730 fail:
26731 return NULL;
26732}
26733
26734
c32bde28 26735static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26736 PyObject *resultobj;
26737 wxWindow *arg1 = (wxWindow *) 0 ;
26738 wxColour *arg2 = 0 ;
26739 bool result;
26740 wxColour temp2 ;
26741 PyObject * obj0 = 0 ;
26742 PyObject * obj1 = 0 ;
26743 char *kwnames[] = {
26744 (char *) "self",(char *) "colour", NULL
26745 };
26746
26747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26750 {
26751 arg2 = &temp2;
26752 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26753 }
26754 {
26755 PyThreadState* __tstate = wxPyBeginAllowThreads();
26756 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
26757
26758 wxPyEndAllowThreads(__tstate);
26759 if (PyErr_Occurred()) SWIG_fail;
26760 }
4f89f6a3
RD
26761 {
26762 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26763 }
d14a1e28
RD
26764 return resultobj;
26765 fail:
26766 return NULL;
26767}
26768
26769
c32bde28 26770static PyObject *_wrap_Window_SetOwnForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
26771 PyObject *resultobj;
26772 wxWindow *arg1 = (wxWindow *) 0 ;
26773 wxColour *arg2 = 0 ;
26774 wxColour temp2 ;
26775 PyObject * obj0 = 0 ;
26776 PyObject * obj1 = 0 ;
26777 char *kwnames[] = {
26778 (char *) "self",(char *) "colour", NULL
26779 };
26780
fa47d7a7 26781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnForegroundColour",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
26782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26784 {
26785 arg2 = &temp2;
26786 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26787 }
26788 {
26789 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 26790 (arg1)->SetOwnForegroundColour((wxColour const &)*arg2);
b2df227b
RD
26791
26792 wxPyEndAllowThreads(__tstate);
26793 if (PyErr_Occurred()) SWIG_fail;
26794 }
26795 Py_INCREF(Py_None); resultobj = Py_None;
26796 return resultobj;
26797 fail:
26798 return NULL;
26799}
26800
26801
c32bde28 26802static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26803 PyObject *resultobj;
26804 wxWindow *arg1 = (wxWindow *) 0 ;
26805 wxColour result;
26806 PyObject * obj0 = 0 ;
26807 char *kwnames[] = {
26808 (char *) "self", NULL
26809 };
26810
26811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
26812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26814 {
26815 PyThreadState* __tstate = wxPyBeginAllowThreads();
26816 result = ((wxWindow const *)arg1)->GetBackgroundColour();
26817
26818 wxPyEndAllowThreads(__tstate);
26819 if (PyErr_Occurred()) SWIG_fail;
26820 }
26821 {
26822 wxColour * resultptr;
26823 resultptr = new wxColour((wxColour &) result);
15afbcd0 26824 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26825 }
26826 return resultobj;
26827 fail:
26828 return NULL;
26829}
26830
26831
c32bde28 26832static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26833 PyObject *resultobj;
26834 wxWindow *arg1 = (wxWindow *) 0 ;
26835 wxColour result;
26836 PyObject * obj0 = 0 ;
26837 char *kwnames[] = {
26838 (char *) "self", NULL
26839 };
26840
26841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
26842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26844 {
26845 PyThreadState* __tstate = wxPyBeginAllowThreads();
26846 result = ((wxWindow const *)arg1)->GetForegroundColour();
26847
26848 wxPyEndAllowThreads(__tstate);
26849 if (PyErr_Occurred()) SWIG_fail;
26850 }
26851 {
26852 wxColour * resultptr;
26853 resultptr = new wxColour((wxColour &) result);
15afbcd0 26854 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26855 }
26856 return resultobj;
26857 fail:
26858 return NULL;
26859}
26860
26861
c32bde28 26862static PyObject *_wrap_Window_SetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7bc1e663
RD
26863 PyObject *resultobj;
26864 wxWindow *arg1 = (wxWindow *) 0 ;
26865 int arg2 ;
26866 bool result;
26867 PyObject * obj0 = 0 ;
26868 PyObject * obj1 = 0 ;
26869 char *kwnames[] = {
26870 (char *) "self",(char *) "style", NULL
26871 };
26872
26873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundStyle",kwnames,&obj0,&obj1)) goto fail;
26874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 26876 arg2 = (int)SWIG_As_int(obj1);
7bc1e663
RD
26877 if (PyErr_Occurred()) SWIG_fail;
26878 {
26879 PyThreadState* __tstate = wxPyBeginAllowThreads();
26880 result = (bool)(arg1)->SetBackgroundStyle((wxBackgroundStyle )arg2);
26881
26882 wxPyEndAllowThreads(__tstate);
26883 if (PyErr_Occurred()) SWIG_fail;
26884 }
26885 {
26886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26887 }
26888 return resultobj;
26889 fail:
26890 return NULL;
26891}
26892
26893
c32bde28 26894static PyObject *_wrap_Window_GetBackgroundStyle(PyObject *, PyObject *args, PyObject *kwargs) {
7bc1e663
RD
26895 PyObject *resultobj;
26896 wxWindow *arg1 = (wxWindow *) 0 ;
26897 int result;
26898 PyObject * obj0 = 0 ;
26899 char *kwnames[] = {
26900 (char *) "self", NULL
26901 };
26902
26903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundStyle",kwnames,&obj0)) goto fail;
26904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26906 {
26907 PyThreadState* __tstate = wxPyBeginAllowThreads();
26908 result = (int)((wxWindow const *)arg1)->GetBackgroundStyle();
26909
26910 wxPyEndAllowThreads(__tstate);
26911 if (PyErr_Occurred()) SWIG_fail;
26912 }
c32bde28 26913 resultobj = SWIG_From_int((int)result);
7bc1e663
RD
26914 return resultobj;
26915 fail:
26916 return NULL;
26917}
26918
26919
c32bde28 26920static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26921 PyObject *resultobj;
26922 wxWindow *arg1 = (wxWindow *) 0 ;
26923 wxCursor *arg2 = 0 ;
26924 bool result;
26925 PyObject * obj0 = 0 ;
26926 PyObject * obj1 = 0 ;
26927 char *kwnames[] = {
26928 (char *) "self",(char *) "cursor", NULL
26929 };
26930
26931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26934 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26935 SWIG_POINTER_EXCEPTION | 0)) == -1)
26936 SWIG_fail;
d14a1e28 26937 if (arg2 == NULL) {
15afbcd0
RD
26938 PyErr_SetString(PyExc_TypeError,"null reference");
26939 SWIG_fail;
d14a1e28
RD
26940 }
26941 {
26942 PyThreadState* __tstate = wxPyBeginAllowThreads();
26943 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
26944
26945 wxPyEndAllowThreads(__tstate);
26946 if (PyErr_Occurred()) SWIG_fail;
26947 }
4f89f6a3
RD
26948 {
26949 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26950 }
d14a1e28
RD
26951 return resultobj;
26952 fail:
26953 return NULL;
26954}
26955
26956
c32bde28 26957static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26958 PyObject *resultobj;
26959 wxWindow *arg1 = (wxWindow *) 0 ;
dfbb5885 26960 wxCursor result;
d14a1e28
RD
26961 PyObject * obj0 = 0 ;
26962 char *kwnames[] = {
26963 (char *) "self", NULL
26964 };
26965
26966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
26967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26969 {
26970 PyThreadState* __tstate = wxPyBeginAllowThreads();
dfbb5885 26971 result = (arg1)->GetCursor();
d14a1e28
RD
26972
26973 wxPyEndAllowThreads(__tstate);
26974 if (PyErr_Occurred()) SWIG_fail;
26975 }
4276dc52 26976 {
dfbb5885
RD
26977 wxCursor * resultptr;
26978 resultptr = new wxCursor((wxCursor &) result);
26979 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxCursor, 1);
4276dc52 26980 }
d14a1e28
RD
26981 return resultobj;
26982 fail:
26983 return NULL;
26984}
26985
26986
c32bde28 26987static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26988 PyObject *resultobj;
26989 wxWindow *arg1 = (wxWindow *) 0 ;
26990 wxFont *arg2 = 0 ;
26991 bool result;
26992 PyObject * obj0 = 0 ;
26993 PyObject * obj1 = 0 ;
26994 char *kwnames[] = {
26995 (char *) "self",(char *) "font", NULL
26996 };
26997
26998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27001 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
27002 SWIG_POINTER_EXCEPTION | 0)) == -1)
27003 SWIG_fail;
d14a1e28 27004 if (arg2 == NULL) {
15afbcd0
RD
27005 PyErr_SetString(PyExc_TypeError,"null reference");
27006 SWIG_fail;
d14a1e28
RD
27007 }
27008 {
27009 PyThreadState* __tstate = wxPyBeginAllowThreads();
27010 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
27011
27012 wxPyEndAllowThreads(__tstate);
27013 if (PyErr_Occurred()) SWIG_fail;
27014 }
4f89f6a3
RD
27015 {
27016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27017 }
d14a1e28
RD
27018 return resultobj;
27019 fail:
27020 return NULL;
27021}
27022
27023
c32bde28 27024static PyObject *_wrap_Window_SetOwnFont(PyObject *, PyObject *args, PyObject *kwargs) {
b2df227b
RD
27025 PyObject *resultobj;
27026 wxWindow *arg1 = (wxWindow *) 0 ;
27027 wxFont *arg2 = 0 ;
27028 PyObject * obj0 = 0 ;
27029 PyObject * obj1 = 0 ;
27030 char *kwnames[] = {
27031 (char *) "self",(char *) "font", NULL
27032 };
27033
fa47d7a7 27034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetOwnFont",kwnames,&obj0,&obj1)) goto fail;
b2df227b
RD
27035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
27038 SWIG_POINTER_EXCEPTION | 0)) == -1)
27039 SWIG_fail;
27040 if (arg2 == NULL) {
27041 PyErr_SetString(PyExc_TypeError,"null reference");
27042 SWIG_fail;
27043 }
27044 {
27045 PyThreadState* __tstate = wxPyBeginAllowThreads();
fa47d7a7 27046 (arg1)->SetOwnFont((wxFont const &)*arg2);
b2df227b
RD
27047
27048 wxPyEndAllowThreads(__tstate);
27049 if (PyErr_Occurred()) SWIG_fail;
27050 }
27051 Py_INCREF(Py_None); resultobj = Py_None;
27052 return resultobj;
27053 fail:
27054 return NULL;
27055}
27056
27057
c32bde28 27058static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27059 PyObject *resultobj;
27060 wxWindow *arg1 = (wxWindow *) 0 ;
dfbb5885 27061 wxFont result;
d14a1e28
RD
27062 PyObject * obj0 = 0 ;
27063 char *kwnames[] = {
27064 (char *) "self", NULL
27065 };
27066
27067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
27068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27070 {
27071 PyThreadState* __tstate = wxPyBeginAllowThreads();
dfbb5885 27072 result = (arg1)->GetFont();
d14a1e28
RD
27073
27074 wxPyEndAllowThreads(__tstate);
27075 if (PyErr_Occurred()) SWIG_fail;
27076 }
4276dc52 27077 {
dfbb5885
RD
27078 wxFont * resultptr;
27079 resultptr = new wxFont((wxFont &) result);
27080 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
4276dc52 27081 }
d14a1e28
RD
27082 return resultobj;
27083 fail:
27084 return NULL;
27085}
27086
27087
c32bde28 27088static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27089 PyObject *resultobj;
27090 wxWindow *arg1 = (wxWindow *) 0 ;
27091 wxCaret *arg2 = (wxCaret *) 0 ;
27092 PyObject * obj0 = 0 ;
27093 PyObject * obj1 = 0 ;
27094 char *kwnames[] = {
27095 (char *) "self",(char *) "caret", NULL
27096 };
27097
27098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
27102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27103 {
27104 PyThreadState* __tstate = wxPyBeginAllowThreads();
27105 (arg1)->SetCaret(arg2);
27106
27107 wxPyEndAllowThreads(__tstate);
27108 if (PyErr_Occurred()) SWIG_fail;
27109 }
27110 Py_INCREF(Py_None); resultobj = Py_None;
27111 return resultobj;
27112 fail:
27113 return NULL;
27114}
27115
27116
c32bde28 27117static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27118 PyObject *resultobj;
27119 wxWindow *arg1 = (wxWindow *) 0 ;
27120 wxCaret *result;
27121 PyObject * obj0 = 0 ;
27122 char *kwnames[] = {
27123 (char *) "self", NULL
27124 };
27125
27126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
15afbcd0
RD
27127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27129 {
27130 PyThreadState* __tstate = wxPyBeginAllowThreads();
27131 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
27132
27133 wxPyEndAllowThreads(__tstate);
27134 if (PyErr_Occurred()) SWIG_fail;
27135 }
15afbcd0 27136 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
27137 return resultobj;
27138 fail:
27139 return NULL;
27140}
27141
27142
c32bde28 27143static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27144 PyObject *resultobj;
27145 wxWindow *arg1 = (wxWindow *) 0 ;
27146 int result;
27147 PyObject * obj0 = 0 ;
27148 char *kwnames[] = {
27149 (char *) "self", NULL
27150 };
27151
27152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
27153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27155 {
27156 PyThreadState* __tstate = wxPyBeginAllowThreads();
27157 result = (int)((wxWindow const *)arg1)->GetCharHeight();
27158
27159 wxPyEndAllowThreads(__tstate);
27160 if (PyErr_Occurred()) SWIG_fail;
27161 }
c32bde28 27162 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27163 return resultobj;
27164 fail:
27165 return NULL;
27166}
27167
27168
c32bde28 27169static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27170 PyObject *resultobj;
27171 wxWindow *arg1 = (wxWindow *) 0 ;
27172 int result;
27173 PyObject * obj0 = 0 ;
27174 char *kwnames[] = {
27175 (char *) "self", NULL
27176 };
27177
27178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
27179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27181 {
27182 PyThreadState* __tstate = wxPyBeginAllowThreads();
27183 result = (int)((wxWindow const *)arg1)->GetCharWidth();
27184
27185 wxPyEndAllowThreads(__tstate);
27186 if (PyErr_Occurred()) SWIG_fail;
27187 }
c32bde28 27188 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27189 return resultobj;
27190 fail:
27191 return NULL;
27192}
27193
27194
c32bde28 27195static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27196 PyObject *resultobj;
27197 wxWindow *arg1 = (wxWindow *) 0 ;
27198 wxString *arg2 = 0 ;
27199 int *arg3 = (int *) 0 ;
27200 int *arg4 = (int *) 0 ;
ae8162c8 27201 bool temp2 = false ;
d14a1e28 27202 int temp3 ;
c32bde28 27203 int res3 = 0 ;
d14a1e28 27204 int temp4 ;
c32bde28 27205 int res4 = 0 ;
d14a1e28
RD
27206 PyObject * obj0 = 0 ;
27207 PyObject * obj1 = 0 ;
27208 char *kwnames[] = {
27209 (char *) "self",(char *) "string", NULL
27210 };
27211
c32bde28
RD
27212 arg3 = &temp3; res3 = SWIG_NEWOBJ;
27213 arg4 = &temp4; res4 = SWIG_NEWOBJ;
d14a1e28 27214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27217 {
27218 arg2 = wxString_in_helper(obj1);
27219 if (arg2 == NULL) SWIG_fail;
ae8162c8 27220 temp2 = true;
d14a1e28
RD
27221 }
27222 {
27223 PyThreadState* __tstate = wxPyBeginAllowThreads();
27224 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
27225
27226 wxPyEndAllowThreads(__tstate);
27227 if (PyErr_Occurred()) SWIG_fail;
27228 }
27229 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27230 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27231 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
27232 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
27233 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27234 {
27235 if (temp2)
27236 delete arg2;
27237 }
27238 return resultobj;
27239 fail:
27240 {
27241 if (temp2)
27242 delete arg2;
27243 }
27244 return NULL;
27245}
27246
27247
c32bde28 27248static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27249 PyObject *resultobj;
27250 wxWindow *arg1 = (wxWindow *) 0 ;
27251 wxString *arg2 = 0 ;
27252 int *arg3 = (int *) 0 ;
27253 int *arg4 = (int *) 0 ;
27254 int *arg5 = (int *) 0 ;
27255 int *arg6 = (int *) 0 ;
27256 wxFont *arg7 = (wxFont *) NULL ;
ae8162c8 27257 bool temp2 = false ;
d14a1e28 27258 int temp3 ;
c32bde28 27259 int res3 = 0 ;
d14a1e28 27260 int temp4 ;
c32bde28 27261 int res4 = 0 ;
d14a1e28 27262 int temp5 ;
c32bde28 27263 int res5 = 0 ;
d14a1e28 27264 int temp6 ;
c32bde28 27265 int res6 = 0 ;
d14a1e28
RD
27266 PyObject * obj0 = 0 ;
27267 PyObject * obj1 = 0 ;
27268 PyObject * obj2 = 0 ;
27269 char *kwnames[] = {
27270 (char *) "self",(char *) "string",(char *) "font", NULL
27271 };
27272
c32bde28
RD
27273 arg3 = &temp3; res3 = SWIG_NEWOBJ;
27274 arg4 = &temp4; res4 = SWIG_NEWOBJ;
27275 arg5 = &temp5; res5 = SWIG_NEWOBJ;
27276 arg6 = &temp6; res6 = SWIG_NEWOBJ;
d14a1e28 27277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27280 {
27281 arg2 = wxString_in_helper(obj1);
27282 if (arg2 == NULL) SWIG_fail;
ae8162c8 27283 temp2 = true;
d14a1e28
RD
27284 }
27285 if (obj2) {
15afbcd0
RD
27286 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
27287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27288 }
27289 {
27290 PyThreadState* __tstate = wxPyBeginAllowThreads();
27291 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
27292
27293 wxPyEndAllowThreads(__tstate);
27294 if (PyErr_Occurred()) SWIG_fail;
27295 }
27296 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27297 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27298 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
27299 resultobj = t_output_helper(resultobj, ((res4 == SWIG_NEWOBJ) ?
27300 SWIG_From_int((*arg4)) : SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_int, 0)));
27301 resultobj = t_output_helper(resultobj, ((res5 == SWIG_NEWOBJ) ?
27302 SWIG_From_int((*arg5)) : SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, 0)));
27303 resultobj = t_output_helper(resultobj, ((res6 == SWIG_NEWOBJ) ?
27304 SWIG_From_int((*arg6)) : SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27305 {
27306 if (temp2)
27307 delete arg2;
27308 }
27309 return resultobj;
27310 fail:
27311 {
27312 if (temp2)
27313 delete arg2;
27314 }
27315 return NULL;
27316}
27317
27318
c32bde28 27319static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27320 PyObject *resultobj;
27321 wxWindow *arg1 = (wxWindow *) 0 ;
27322 int *arg2 = (int *) 0 ;
27323 int *arg3 = (int *) 0 ;
27324 int temp2 ;
c32bde28 27325 int res2 = 0 ;
d14a1e28 27326 int temp3 ;
c32bde28 27327 int res3 = 0 ;
d14a1e28
RD
27328 PyObject * obj0 = 0 ;
27329 PyObject * obj1 = 0 ;
27330 PyObject * obj2 = 0 ;
27331 char *kwnames[] = {
27332 (char *) "self",(char *) "x",(char *) "y", NULL
27333 };
27334
27335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27338 {
c32bde28
RD
27339 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
27340 temp2 = SWIG_As_int(obj1);
27341 if (PyErr_Occurred()) SWIG_fail;
27342 arg2 = &temp2;
27343 res2 = SWIG_NEWOBJ;
27344 }
d14a1e28
RD
27345 }
27346 {
c32bde28
RD
27347 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,0) != -1)) {
27348 temp3 = SWIG_As_int(obj2);
27349 if (PyErr_Occurred()) SWIG_fail;
27350 arg3 = &temp3;
27351 res3 = SWIG_NEWOBJ;
27352 }
d14a1e28
RD
27353 }
27354 {
27355 PyThreadState* __tstate = wxPyBeginAllowThreads();
27356 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
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, ((res2 == SWIG_NEWOBJ) ?
27363 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
27364 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27365 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27366 return resultobj;
27367 fail:
27368 return NULL;
27369}
27370
27371
c32bde28 27372static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27373 PyObject *resultobj;
27374 wxWindow *arg1 = (wxWindow *) 0 ;
27375 int *arg2 = (int *) 0 ;
27376 int *arg3 = (int *) 0 ;
27377 int temp2 ;
c32bde28 27378 int res2 = 0 ;
d14a1e28 27379 int temp3 ;
c32bde28 27380 int res3 = 0 ;
d14a1e28
RD
27381 PyObject * obj0 = 0 ;
27382 PyObject * obj1 = 0 ;
27383 PyObject * obj2 = 0 ;
27384 char *kwnames[] = {
27385 (char *) "self",(char *) "x",(char *) "y", NULL
27386 };
27387
27388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27391 {
c32bde28
RD
27392 if (!(SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,0) != -1)) {
27393 temp2 = SWIG_As_int(obj1);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 arg2 = &temp2;
27396 res2 = SWIG_NEWOBJ;
27397 }
d14a1e28
RD
27398 }
27399 {
c32bde28
RD
27400 if (!(SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,0) != -1)) {
27401 temp3 = SWIG_As_int(obj2);
27402 if (PyErr_Occurred()) SWIG_fail;
27403 arg3 = &temp3;
27404 res3 = SWIG_NEWOBJ;
27405 }
d14a1e28
RD
27406 }
27407 {
27408 PyThreadState* __tstate = wxPyBeginAllowThreads();
27409 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
27410
27411 wxPyEndAllowThreads(__tstate);
27412 if (PyErr_Occurred()) SWIG_fail;
27413 }
27414 Py_INCREF(Py_None); resultobj = Py_None;
c32bde28
RD
27415 resultobj = t_output_helper(resultobj, ((res2 == SWIG_NEWOBJ) ?
27416 SWIG_From_int((*arg2)) : SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_int, 0)));
27417 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
27418 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
27419 return resultobj;
27420 fail:
27421 return NULL;
27422}
27423
27424
c32bde28 27425static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27426 PyObject *resultobj;
27427 wxWindow *arg1 = (wxWindow *) 0 ;
27428 wxPoint *arg2 = 0 ;
27429 wxPoint result;
27430 wxPoint temp2 ;
27431 PyObject * obj0 = 0 ;
27432 PyObject * obj1 = 0 ;
27433 char *kwnames[] = {
27434 (char *) "self",(char *) "pt", NULL
27435 };
27436
27437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27440 {
27441 arg2 = &temp2;
27442 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27443 }
27444 {
27445 PyThreadState* __tstate = wxPyBeginAllowThreads();
27446 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
27447
27448 wxPyEndAllowThreads(__tstate);
27449 if (PyErr_Occurred()) SWIG_fail;
27450 }
27451 {
27452 wxPoint * resultptr;
27453 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 27454 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
27455 }
27456 return resultobj;
27457 fail:
27458 return NULL;
27459}
27460
27461
c32bde28 27462static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27463 PyObject *resultobj;
27464 wxWindow *arg1 = (wxWindow *) 0 ;
27465 wxPoint *arg2 = 0 ;
27466 wxPoint result;
27467 wxPoint temp2 ;
27468 PyObject * obj0 = 0 ;
27469 PyObject * obj1 = 0 ;
27470 char *kwnames[] = {
27471 (char *) "self",(char *) "pt", NULL
27472 };
27473
27474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27477 {
27478 arg2 = &temp2;
27479 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27480 }
27481 {
27482 PyThreadState* __tstate = wxPyBeginAllowThreads();
27483 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
27484
27485 wxPyEndAllowThreads(__tstate);
27486 if (PyErr_Occurred()) SWIG_fail;
27487 }
27488 {
27489 wxPoint * resultptr;
27490 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 27491 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
27492 }
27493 return resultobj;
27494 fail:
27495 return NULL;
27496}
27497
27498
c32bde28 27499static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27500 PyObject *resultobj;
27501 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce
RD
27502 int arg2 ;
27503 int arg3 ;
d14a1e28
RD
27504 int result;
27505 PyObject * obj0 = 0 ;
994141e6
RD
27506 PyObject * obj1 = 0 ;
27507 PyObject * obj2 = 0 ;
d14a1e28
RD
27508 char *kwnames[] = {
27509 (char *) "self",(char *) "x",(char *) "y", NULL
27510 };
27511
994141e6 27512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27515 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27516 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27517 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27518 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27519 {
27520 PyThreadState* __tstate = wxPyBeginAllowThreads();
27521 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
27522
27523 wxPyEndAllowThreads(__tstate);
27524 if (PyErr_Occurred()) SWIG_fail;
27525 }
c32bde28 27526 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27527 return resultobj;
27528 fail:
27529 return NULL;
27530}
27531
27532
c32bde28 27533static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27534 PyObject *resultobj;
27535 wxWindow *arg1 = (wxWindow *) 0 ;
27536 wxPoint *arg2 = 0 ;
27537 int result;
27538 wxPoint temp2 ;
27539 PyObject * obj0 = 0 ;
27540 PyObject * obj1 = 0 ;
27541 char *kwnames[] = {
27542 (char *) "self",(char *) "pt", NULL
27543 };
27544
27545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27548 {
27549 arg2 = &temp2;
27550 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
27551 }
27552 {
27553 PyThreadState* __tstate = wxPyBeginAllowThreads();
27554 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
27555
27556 wxPyEndAllowThreads(__tstate);
27557 if (PyErr_Occurred()) SWIG_fail;
27558 }
c32bde28 27559 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27560 return resultobj;
27561 fail:
27562 return NULL;
27563}
27564
27565
c32bde28 27566static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
27567 PyObject *resultobj;
27568 wxWindow *arg1 = (wxWindow *) 0 ;
27569 long arg2 ;
27570 int result;
27571 PyObject * obj0 = 0 ;
994141e6 27572 PyObject * obj1 = 0 ;
d14a1e28 27573
15afbcd0
RD
27574 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
27575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27577 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 27578 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27579 {
27580 PyThreadState* __tstate = wxPyBeginAllowThreads();
27581 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
27582
27583 wxPyEndAllowThreads(__tstate);
27584 if (PyErr_Occurred()) SWIG_fail;
27585 }
c32bde28 27586 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27587 return resultobj;
27588 fail:
27589 return NULL;
27590}
27591
27592
c32bde28 27593static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
27594 PyObject *resultobj;
27595 wxWindow *arg1 = (wxWindow *) 0 ;
27596 int result;
27597 PyObject * obj0 = 0 ;
d14a1e28 27598
15afbcd0
RD
27599 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
27600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27602 {
27603 PyThreadState* __tstate = wxPyBeginAllowThreads();
27604 result = (int)((wxWindow const *)arg1)->GetBorder();
27605
27606 wxPyEndAllowThreads(__tstate);
27607 if (PyErr_Occurred()) SWIG_fail;
27608 }
c32bde28 27609 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
27610 return resultobj;
27611 fail:
27612 return NULL;
27613}
27614
27615
15afbcd0
RD
27616static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
27617 int argc;
27618 PyObject *argv[3];
27619 int ii;
27620
27621 argc = PyObject_Length(args);
27622 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
27623 argv[ii] = PyTuple_GetItem(args,ii);
27624 }
27625 if (argc == 1) {
27626 int _v;
27627 {
27628 void *ptr;
27629 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
27630 _v = 0;
27631 PyErr_Clear();
27632 } else {
27633 _v = 1;
27634 }
27635 }
27636 if (_v) {
27637 return _wrap_Window_GetBorder__SWIG_1(self,args);
27638 }
27639 }
27640 if (argc == 2) {
27641 int _v;
27642 {
27643 void *ptr;
27644 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
27645 _v = 0;
27646 PyErr_Clear();
27647 } else {
27648 _v = 1;
27649 }
27650 }
27651 if (_v) {
c32bde28 27652 _v = SWIG_Check_long(argv[1]);
15afbcd0
RD
27653 if (_v) {
27654 return _wrap_Window_GetBorder__SWIG_0(self,args);
27655 }
27656 }
27657 }
27658
27659 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
27660 return NULL;
27661}
27662
27663
c32bde28 27664static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27665 PyObject *resultobj;
27666 wxWindow *arg1 = (wxWindow *) 0 ;
27667 long arg2 = (long) wxUPDATE_UI_NONE ;
27668 PyObject * obj0 = 0 ;
994141e6 27669 PyObject * obj1 = 0 ;
d14a1e28
RD
27670 char *kwnames[] = {
27671 (char *) "self",(char *) "flags", NULL
27672 };
27673
994141e6 27674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 27677 if (obj1) {
c32bde28 27678 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 27679 if (PyErr_Occurred()) SWIG_fail;
994141e6 27680 }
d14a1e28
RD
27681 {
27682 PyThreadState* __tstate = wxPyBeginAllowThreads();
27683 (arg1)->UpdateWindowUI(arg2);
27684
27685 wxPyEndAllowThreads(__tstate);
27686 if (PyErr_Occurred()) SWIG_fail;
27687 }
27688 Py_INCREF(Py_None); resultobj = Py_None;
27689 return resultobj;
27690 fail:
27691 return NULL;
27692}
27693
27694
c32bde28 27695static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27696 PyObject *resultobj;
27697 wxWindow *arg1 = (wxWindow *) 0 ;
27698 wxMenu *arg2 = (wxMenu *) 0 ;
b0503257
RD
27699 int arg3 = (int) -1 ;
27700 int arg4 = (int) -1 ;
d14a1e28
RD
27701 bool result;
27702 PyObject * obj0 = 0 ;
27703 PyObject * obj1 = 0 ;
994141e6
RD
27704 PyObject * obj2 = 0 ;
27705 PyObject * obj3 = 0 ;
d14a1e28
RD
27706 char *kwnames[] = {
27707 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27708 };
27709
b0503257 27710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b0503257 27715 if (obj2) {
c32bde28 27716 arg3 = (int)SWIG_As_int(obj2);
b0503257
RD
27717 if (PyErr_Occurred()) SWIG_fail;
27718 }
27719 if (obj3) {
c32bde28 27720 arg4 = (int)SWIG_As_int(obj3);
b0503257
RD
27721 if (PyErr_Occurred()) SWIG_fail;
27722 }
d14a1e28
RD
27723 {
27724 PyThreadState* __tstate = wxPyBeginAllowThreads();
27725 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
27726
27727 wxPyEndAllowThreads(__tstate);
27728 if (PyErr_Occurred()) SWIG_fail;
27729 }
4f89f6a3
RD
27730 {
27731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27732 }
d14a1e28
RD
27733 return resultobj;
27734 fail:
27735 return NULL;
27736}
27737
27738
c32bde28 27739static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27740 PyObject *resultobj;
27741 wxWindow *arg1 = (wxWindow *) 0 ;
27742 wxMenu *arg2 = (wxMenu *) 0 ;
b0503257
RD
27743 wxPoint const &arg3_defvalue = wxDefaultPosition ;
27744 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
d14a1e28
RD
27745 bool result;
27746 wxPoint temp3 ;
27747 PyObject * obj0 = 0 ;
27748 PyObject * obj1 = 0 ;
27749 PyObject * obj2 = 0 ;
27750 char *kwnames[] = {
27751 (char *) "self",(char *) "menu",(char *) "pos", NULL
27752 };
27753
b0503257 27754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
27755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27757 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
27758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
b0503257
RD
27759 if (obj2) {
27760 {
27761 arg3 = &temp3;
27762 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
27763 }
d14a1e28
RD
27764 }
27765 {
27766 PyThreadState* __tstate = wxPyBeginAllowThreads();
27767 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
27768
27769 wxPyEndAllowThreads(__tstate);
27770 if (PyErr_Occurred()) SWIG_fail;
27771 }
4f89f6a3
RD
27772 {
27773 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27774 }
d14a1e28
RD
27775 return resultobj;
27776 fail:
27777 return NULL;
27778}
27779
27780
c32bde28 27781static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27782 PyObject *resultobj;
27783 wxWindow *arg1 = (wxWindow *) 0 ;
27784 long result;
27785 PyObject * obj0 = 0 ;
27786 char *kwnames[] = {
27787 (char *) "self", NULL
27788 };
27789
27790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
15afbcd0
RD
27791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27793 {
27794 PyThreadState* __tstate = wxPyBeginAllowThreads();
27795 result = (long)wxWindow_GetHandle(arg1);
27796
27797 wxPyEndAllowThreads(__tstate);
27798 if (PyErr_Occurred()) SWIG_fail;
27799 }
c32bde28 27800 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
27801 return resultobj;
27802 fail:
27803 return NULL;
27804}
27805
27806
7e63a440
RD
27807static PyObject *_wrap_Window_AssociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
27808 PyObject *resultobj;
27809 wxWindow *arg1 = (wxWindow *) 0 ;
27810 long arg2 ;
27811 PyObject * obj0 = 0 ;
27812 PyObject * obj1 = 0 ;
27813 char *kwnames[] = {
27814 (char *) "self",(char *) "handle", NULL
27815 };
27816
27817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AssociateHandle",kwnames,&obj0,&obj1)) goto fail;
27818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27820 arg2 = (long)SWIG_As_long(obj1);
27821 if (PyErr_Occurred()) SWIG_fail;
27822 {
27823 PyThreadState* __tstate = wxPyBeginAllowThreads();
27824 wxWindow_AssociateHandle(arg1,arg2);
27825
27826 wxPyEndAllowThreads(__tstate);
27827 if (PyErr_Occurred()) SWIG_fail;
27828 }
27829 Py_INCREF(Py_None); resultobj = Py_None;
27830 return resultobj;
27831 fail:
27832 return NULL;
27833}
27834
27835
27836static PyObject *_wrap_Window_DissociateHandle(PyObject *, PyObject *args, PyObject *kwargs) {
27837 PyObject *resultobj;
27838 wxWindow *arg1 = (wxWindow *) 0 ;
27839 PyObject * obj0 = 0 ;
27840 char *kwnames[] = {
27841 (char *) "self", NULL
27842 };
27843
27844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DissociateHandle",kwnames,&obj0)) goto fail;
27845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27847 {
27848 PyThreadState* __tstate = wxPyBeginAllowThreads();
27849 (arg1)->DissociateHandle();
27850
27851 wxPyEndAllowThreads(__tstate);
27852 if (PyErr_Occurred()) SWIG_fail;
27853 }
27854 Py_INCREF(Py_None); resultobj = Py_None;
27855 return resultobj;
27856 fail:
27857 return NULL;
27858}
27859
27860
c32bde28 27861static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27862 PyObject *resultobj;
27863 wxWindow *arg1 = (wxWindow *) 0 ;
27864 int arg2 ;
27865 bool result;
27866 PyObject * obj0 = 0 ;
994141e6 27867 PyObject * obj1 = 0 ;
d14a1e28
RD
27868 char *kwnames[] = {
27869 (char *) "self",(char *) "orient", NULL
27870 };
27871
994141e6 27872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27875 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27876 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27877 {
27878 PyThreadState* __tstate = wxPyBeginAllowThreads();
27879 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
27880
27881 wxPyEndAllowThreads(__tstate);
27882 if (PyErr_Occurred()) SWIG_fail;
27883 }
4f89f6a3
RD
27884 {
27885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27886 }
d14a1e28
RD
27887 return resultobj;
27888 fail:
27889 return NULL;
27890}
27891
27892
c32bde28 27893static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27894 PyObject *resultobj;
27895 wxWindow *arg1 = (wxWindow *) 0 ;
27896 int arg2 ;
27897 int arg3 ;
27898 int arg4 ;
27899 int arg5 ;
ae8162c8 27900 bool arg6 = (bool) true ;
d14a1e28 27901 PyObject * obj0 = 0 ;
994141e6
RD
27902 PyObject * obj1 = 0 ;
27903 PyObject * obj2 = 0 ;
27904 PyObject * obj3 = 0 ;
27905 PyObject * obj4 = 0 ;
d14a1e28
RD
27906 PyObject * obj5 = 0 ;
27907 char *kwnames[] = {
41e2b43e 27908 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
27909 };
27910
994141e6 27911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
27912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27914 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27915 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27916 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27917 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27918 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 27919 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27920 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 27921 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27922 if (obj5) {
c32bde28 27923 arg6 = (bool)SWIG_As_bool(obj5);
15afbcd0 27924 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27925 }
27926 {
27927 PyThreadState* __tstate = wxPyBeginAllowThreads();
27928 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
27929
27930 wxPyEndAllowThreads(__tstate);
27931 if (PyErr_Occurred()) SWIG_fail;
27932 }
27933 Py_INCREF(Py_None); resultobj = Py_None;
27934 return resultobj;
27935 fail:
27936 return NULL;
27937}
27938
27939
c32bde28 27940static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27941 PyObject *resultobj;
27942 wxWindow *arg1 = (wxWindow *) 0 ;
27943 int arg2 ;
27944 int arg3 ;
ae8162c8 27945 bool arg4 = (bool) true ;
d14a1e28 27946 PyObject * obj0 = 0 ;
994141e6
RD
27947 PyObject * obj1 = 0 ;
27948 PyObject * obj2 = 0 ;
d14a1e28
RD
27949 PyObject * obj3 = 0 ;
27950 char *kwnames[] = {
15afbcd0 27951 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
27952 };
27953
994141e6 27954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27957 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27958 if (PyErr_Occurred()) SWIG_fail;
c32bde28 27959 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 27960 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27961 if (obj3) {
c32bde28 27962 arg4 = (bool)SWIG_As_bool(obj3);
15afbcd0 27963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27964 }
27965 {
27966 PyThreadState* __tstate = wxPyBeginAllowThreads();
27967 (arg1)->SetScrollPos(arg2,arg3,arg4);
27968
27969 wxPyEndAllowThreads(__tstate);
27970 if (PyErr_Occurred()) SWIG_fail;
27971 }
27972 Py_INCREF(Py_None); resultobj = Py_None;
27973 return resultobj;
27974 fail:
27975 return NULL;
27976}
27977
27978
c32bde28 27979static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27980 PyObject *resultobj;
27981 wxWindow *arg1 = (wxWindow *) 0 ;
27982 int arg2 ;
27983 int result;
27984 PyObject * obj0 = 0 ;
994141e6 27985 PyObject * obj1 = 0 ;
d14a1e28 27986 char *kwnames[] = {
15afbcd0 27987 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27988 };
27989
994141e6 27990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 27993 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 27994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27995 {
27996 PyThreadState* __tstate = wxPyBeginAllowThreads();
27997 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
27998
27999 wxPyEndAllowThreads(__tstate);
28000 if (PyErr_Occurred()) SWIG_fail;
28001 }
c32bde28 28002 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
28003 return resultobj;
28004 fail:
28005 return NULL;
28006}
28007
28008
c32bde28 28009static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28010 PyObject *resultobj;
28011 wxWindow *arg1 = (wxWindow *) 0 ;
28012 int arg2 ;
28013 int result;
28014 PyObject * obj0 = 0 ;
994141e6 28015 PyObject * obj1 = 0 ;
d14a1e28 28016 char *kwnames[] = {
15afbcd0 28017 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
28018 };
28019
994141e6 28020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28023 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28024 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28025 {
28026 PyThreadState* __tstate = wxPyBeginAllowThreads();
28027 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
28028
28029 wxPyEndAllowThreads(__tstate);
28030 if (PyErr_Occurred()) SWIG_fail;
28031 }
c32bde28 28032 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
28033 return resultobj;
28034 fail:
28035 return NULL;
28036}
28037
28038
c32bde28 28039static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28040 PyObject *resultobj;
28041 wxWindow *arg1 = (wxWindow *) 0 ;
28042 int arg2 ;
28043 int result;
28044 PyObject * obj0 = 0 ;
994141e6 28045 PyObject * obj1 = 0 ;
d14a1e28 28046 char *kwnames[] = {
15afbcd0 28047 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
28048 };
28049
994141e6 28050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28053 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28054 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28055 {
28056 PyThreadState* __tstate = wxPyBeginAllowThreads();
28057 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
28058
28059 wxPyEndAllowThreads(__tstate);
28060 if (PyErr_Occurred()) SWIG_fail;
28061 }
c32bde28 28062 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
28063 return resultobj;
28064 fail:
28065 return NULL;
28066}
28067
28068
c32bde28 28069static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28070 PyObject *resultobj;
28071 wxWindow *arg1 = (wxWindow *) 0 ;
28072 int arg2 ;
28073 int arg3 ;
28074 wxRect *arg4 = (wxRect *) NULL ;
28075 PyObject * obj0 = 0 ;
994141e6
RD
28076 PyObject * obj1 = 0 ;
28077 PyObject * obj2 = 0 ;
d14a1e28
RD
28078 PyObject * obj3 = 0 ;
28079 char *kwnames[] = {
28080 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
28081 };
28082
994141e6 28083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28086 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28087 if (PyErr_Occurred()) SWIG_fail;
c32bde28 28088 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 28089 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28090 if (obj3) {
15afbcd0
RD
28091 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
28092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28093 }
28094 {
28095 PyThreadState* __tstate = wxPyBeginAllowThreads();
28096 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
28097
28098 wxPyEndAllowThreads(__tstate);
28099 if (PyErr_Occurred()) SWIG_fail;
28100 }
28101 Py_INCREF(Py_None); resultobj = Py_None;
28102 return resultobj;
28103 fail:
28104 return NULL;
28105}
28106
28107
c32bde28 28108static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28109 PyObject *resultobj;
28110 wxWindow *arg1 = (wxWindow *) 0 ;
28111 int arg2 ;
28112 bool result;
28113 PyObject * obj0 = 0 ;
994141e6 28114 PyObject * obj1 = 0 ;
d14a1e28
RD
28115 char *kwnames[] = {
28116 (char *) "self",(char *) "lines", NULL
28117 };
28118
994141e6 28119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28122 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28123 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28124 {
28125 PyThreadState* __tstate = wxPyBeginAllowThreads();
28126 result = (bool)(arg1)->ScrollLines(arg2);
28127
28128 wxPyEndAllowThreads(__tstate);
28129 if (PyErr_Occurred()) SWIG_fail;
28130 }
4f89f6a3
RD
28131 {
28132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28133 }
d14a1e28
RD
28134 return resultobj;
28135 fail:
28136 return NULL;
28137}
28138
28139
c32bde28 28140static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28141 PyObject *resultobj;
28142 wxWindow *arg1 = (wxWindow *) 0 ;
28143 int arg2 ;
28144 bool result;
28145 PyObject * obj0 = 0 ;
994141e6 28146 PyObject * obj1 = 0 ;
d14a1e28
RD
28147 char *kwnames[] = {
28148 (char *) "self",(char *) "pages", NULL
28149 };
28150
994141e6 28151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28154 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 28155 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28156 {
28157 PyThreadState* __tstate = wxPyBeginAllowThreads();
28158 result = (bool)(arg1)->ScrollPages(arg2);
28159
28160 wxPyEndAllowThreads(__tstate);
28161 if (PyErr_Occurred()) SWIG_fail;
28162 }
4f89f6a3
RD
28163 {
28164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28165 }
d14a1e28
RD
28166 return resultobj;
28167 fail:
28168 return NULL;
28169}
28170
28171
c32bde28 28172static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28173 PyObject *resultobj;
28174 wxWindow *arg1 = (wxWindow *) 0 ;
28175 bool result;
28176 PyObject * obj0 = 0 ;
28177 char *kwnames[] = {
28178 (char *) "self", NULL
28179 };
28180
28181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
28182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28184 {
28185 PyThreadState* __tstate = wxPyBeginAllowThreads();
28186 result = (bool)(arg1)->LineUp();
28187
28188 wxPyEndAllowThreads(__tstate);
28189 if (PyErr_Occurred()) SWIG_fail;
28190 }
4f89f6a3
RD
28191 {
28192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28193 }
d14a1e28
RD
28194 return resultobj;
28195 fail:
28196 return NULL;
28197}
28198
28199
c32bde28 28200static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28201 PyObject *resultobj;
28202 wxWindow *arg1 = (wxWindow *) 0 ;
28203 bool result;
28204 PyObject * obj0 = 0 ;
28205 char *kwnames[] = {
28206 (char *) "self", NULL
28207 };
28208
28209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
28210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28212 {
28213 PyThreadState* __tstate = wxPyBeginAllowThreads();
28214 result = (bool)(arg1)->LineDown();
28215
28216 wxPyEndAllowThreads(__tstate);
28217 if (PyErr_Occurred()) SWIG_fail;
28218 }
4f89f6a3
RD
28219 {
28220 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28221 }
d14a1e28
RD
28222 return resultobj;
28223 fail:
28224 return NULL;
28225}
28226
28227
c32bde28 28228static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28229 PyObject *resultobj;
28230 wxWindow *arg1 = (wxWindow *) 0 ;
28231 bool result;
28232 PyObject * obj0 = 0 ;
28233 char *kwnames[] = {
28234 (char *) "self", NULL
28235 };
28236
28237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
28238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28240 {
28241 PyThreadState* __tstate = wxPyBeginAllowThreads();
28242 result = (bool)(arg1)->PageUp();
28243
28244 wxPyEndAllowThreads(__tstate);
28245 if (PyErr_Occurred()) SWIG_fail;
28246 }
4f89f6a3
RD
28247 {
28248 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28249 }
d14a1e28
RD
28250 return resultobj;
28251 fail:
28252 return NULL;
28253}
28254
28255
c32bde28 28256static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28257 PyObject *resultobj;
28258 wxWindow *arg1 = (wxWindow *) 0 ;
28259 bool result;
28260 PyObject * obj0 = 0 ;
28261 char *kwnames[] = {
28262 (char *) "self", NULL
28263 };
28264
28265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
28266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28268 {
28269 PyThreadState* __tstate = wxPyBeginAllowThreads();
28270 result = (bool)(arg1)->PageDown();
28271
28272 wxPyEndAllowThreads(__tstate);
28273 if (PyErr_Occurred()) SWIG_fail;
28274 }
4f89f6a3
RD
28275 {
28276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28277 }
d14a1e28
RD
28278 return resultobj;
28279 fail:
28280 return NULL;
28281}
28282
28283
c32bde28 28284static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28285 PyObject *resultobj;
28286 wxWindow *arg1 = (wxWindow *) 0 ;
28287 wxString *arg2 = 0 ;
ae8162c8 28288 bool temp2 = false ;
d14a1e28
RD
28289 PyObject * obj0 = 0 ;
28290 PyObject * obj1 = 0 ;
28291 char *kwnames[] = {
28292 (char *) "self",(char *) "text", NULL
28293 };
28294
28295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28298 {
28299 arg2 = wxString_in_helper(obj1);
28300 if (arg2 == NULL) SWIG_fail;
ae8162c8 28301 temp2 = true;
d14a1e28
RD
28302 }
28303 {
28304 PyThreadState* __tstate = wxPyBeginAllowThreads();
28305 (arg1)->SetHelpText((wxString const &)*arg2);
28306
28307 wxPyEndAllowThreads(__tstate);
28308 if (PyErr_Occurred()) SWIG_fail;
28309 }
28310 Py_INCREF(Py_None); resultobj = Py_None;
28311 {
28312 if (temp2)
28313 delete arg2;
28314 }
28315 return resultobj;
28316 fail:
28317 {
28318 if (temp2)
28319 delete arg2;
28320 }
28321 return NULL;
28322}
28323
28324
c32bde28 28325static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28326 PyObject *resultobj;
28327 wxWindow *arg1 = (wxWindow *) 0 ;
28328 wxString *arg2 = 0 ;
ae8162c8 28329 bool temp2 = false ;
d14a1e28
RD
28330 PyObject * obj0 = 0 ;
28331 PyObject * obj1 = 0 ;
28332 char *kwnames[] = {
28333 (char *) "self",(char *) "text", NULL
28334 };
28335
28336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28339 {
28340 arg2 = wxString_in_helper(obj1);
28341 if (arg2 == NULL) SWIG_fail;
ae8162c8 28342 temp2 = true;
d14a1e28
RD
28343 }
28344 {
28345 PyThreadState* __tstate = wxPyBeginAllowThreads();
28346 (arg1)->SetHelpTextForId((wxString const &)*arg2);
28347
28348 wxPyEndAllowThreads(__tstate);
28349 if (PyErr_Occurred()) SWIG_fail;
28350 }
28351 Py_INCREF(Py_None); resultobj = Py_None;
28352 {
28353 if (temp2)
28354 delete arg2;
28355 }
28356 return resultobj;
28357 fail:
28358 {
28359 if (temp2)
28360 delete arg2;
28361 }
28362 return NULL;
28363}
28364
28365
c32bde28 28366static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28367 PyObject *resultobj;
28368 wxWindow *arg1 = (wxWindow *) 0 ;
28369 wxString result;
28370 PyObject * obj0 = 0 ;
28371 char *kwnames[] = {
28372 (char *) "self", NULL
28373 };
28374
28375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
15afbcd0
RD
28376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28378 {
28379 PyThreadState* __tstate = wxPyBeginAllowThreads();
28380 result = ((wxWindow const *)arg1)->GetHelpText();
28381
28382 wxPyEndAllowThreads(__tstate);
28383 if (PyErr_Occurred()) SWIG_fail;
28384 }
28385 {
28386#if wxUSE_UNICODE
28387 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28388#else
28389 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28390#endif
28391 }
28392 return resultobj;
28393 fail:
28394 return NULL;
28395}
28396
28397
c32bde28 28398static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28399 PyObject *resultobj;
28400 wxWindow *arg1 = (wxWindow *) 0 ;
28401 wxString *arg2 = 0 ;
ae8162c8 28402 bool temp2 = false ;
d14a1e28
RD
28403 PyObject * obj0 = 0 ;
28404 PyObject * obj1 = 0 ;
28405 char *kwnames[] = {
28406 (char *) "self",(char *) "tip", NULL
28407 };
28408
28409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28412 {
28413 arg2 = wxString_in_helper(obj1);
28414 if (arg2 == NULL) SWIG_fail;
ae8162c8 28415 temp2 = true;
d14a1e28
RD
28416 }
28417 {
28418 PyThreadState* __tstate = wxPyBeginAllowThreads();
28419 (arg1)->SetToolTip((wxString const &)*arg2);
28420
28421 wxPyEndAllowThreads(__tstate);
28422 if (PyErr_Occurred()) SWIG_fail;
28423 }
28424 Py_INCREF(Py_None); resultobj = Py_None;
28425 {
28426 if (temp2)
28427 delete arg2;
28428 }
28429 return resultobj;
28430 fail:
28431 {
28432 if (temp2)
28433 delete arg2;
28434 }
28435 return NULL;
28436}
28437
28438
c32bde28 28439static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28440 PyObject *resultobj;
28441 wxWindow *arg1 = (wxWindow *) 0 ;
28442 wxToolTip *arg2 = (wxToolTip *) 0 ;
28443 PyObject * obj0 = 0 ;
28444 PyObject * obj1 = 0 ;
28445 char *kwnames[] = {
28446 (char *) "self",(char *) "tip", NULL
28447 };
28448
28449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28452 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
28453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28454 {
28455 PyThreadState* __tstate = wxPyBeginAllowThreads();
28456 (arg1)->SetToolTip(arg2);
28457
28458 wxPyEndAllowThreads(__tstate);
28459 if (PyErr_Occurred()) SWIG_fail;
28460 }
28461 Py_INCREF(Py_None); resultobj = Py_None;
28462 return resultobj;
28463 fail:
28464 return NULL;
28465}
28466
28467
c32bde28 28468static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28469 PyObject *resultobj;
28470 wxWindow *arg1 = (wxWindow *) 0 ;
28471 wxToolTip *result;
28472 PyObject * obj0 = 0 ;
28473 char *kwnames[] = {
28474 (char *) "self", NULL
28475 };
28476
28477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
28478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28480 {
28481 PyThreadState* __tstate = wxPyBeginAllowThreads();
28482 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
28483
28484 wxPyEndAllowThreads(__tstate);
28485 if (PyErr_Occurred()) SWIG_fail;
28486 }
28487 {
412d302d 28488 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28489 }
28490 return resultobj;
28491 fail:
28492 return NULL;
28493}
28494
28495
c32bde28 28496static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28497 PyObject *resultobj;
28498 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 28499 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
28500 PyObject * obj0 = 0 ;
28501 PyObject * obj1 = 0 ;
28502 char *kwnames[] = {
28503 (char *) "self",(char *) "dropTarget", NULL
28504 };
28505
28506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
28510 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
28511 {
28512 PyThreadState* __tstate = wxPyBeginAllowThreads();
28513 (arg1)->SetDropTarget(arg2);
28514
28515 wxPyEndAllowThreads(__tstate);
28516 if (PyErr_Occurred()) SWIG_fail;
28517 }
28518 Py_INCREF(Py_None); resultobj = Py_None;
28519 return resultobj;
28520 fail:
28521 return NULL;
28522}
28523
28524
c32bde28 28525static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28526 PyObject *resultobj;
28527 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 28528 wxPyDropTarget *result;
d14a1e28
RD
28529 PyObject * obj0 = 0 ;
28530 char *kwnames[] = {
28531 (char *) "self", NULL
28532 };
28533
28534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
28535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28537 {
28538 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 28539 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
28540
28541 wxPyEndAllowThreads(__tstate);
28542 if (PyErr_Occurred()) SWIG_fail;
28543 }
15afbcd0 28544 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
28545 return resultobj;
28546 fail:
28547 return NULL;
28548}
28549
28550
c32bde28 28551static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28552 PyObject *resultobj;
28553 wxWindow *arg1 = (wxWindow *) 0 ;
28554 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
28555 PyObject * obj0 = 0 ;
28556 PyObject * obj1 = 0 ;
28557 char *kwnames[] = {
28558 (char *) "self",(char *) "constraints", NULL
28559 };
28560
28561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28564 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
28565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28566 {
28567 PyThreadState* __tstate = wxPyBeginAllowThreads();
28568 (arg1)->SetConstraints(arg2);
28569
28570 wxPyEndAllowThreads(__tstate);
28571 if (PyErr_Occurred()) SWIG_fail;
28572 }
28573 Py_INCREF(Py_None); resultobj = Py_None;
28574 return resultobj;
28575 fail:
28576 return NULL;
28577}
28578
28579
c32bde28 28580static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28581 PyObject *resultobj;
28582 wxWindow *arg1 = (wxWindow *) 0 ;
28583 wxLayoutConstraints *result;
28584 PyObject * obj0 = 0 ;
28585 char *kwnames[] = {
28586 (char *) "self", NULL
28587 };
28588
28589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
15afbcd0
RD
28590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28592 {
28593 PyThreadState* __tstate = wxPyBeginAllowThreads();
28594 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
28595
28596 wxPyEndAllowThreads(__tstate);
28597 if (PyErr_Occurred()) SWIG_fail;
28598 }
15afbcd0 28599 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
28600 return resultobj;
28601 fail:
28602 return NULL;
28603}
28604
28605
c32bde28 28606static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28607 PyObject *resultobj;
28608 wxWindow *arg1 = (wxWindow *) 0 ;
28609 bool arg2 ;
28610 PyObject * obj0 = 0 ;
28611 PyObject * obj1 = 0 ;
28612 char *kwnames[] = {
28613 (char *) "self",(char *) "autoLayout", NULL
28614 };
28615
28616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 28619 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 28620 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28621 {
28622 PyThreadState* __tstate = wxPyBeginAllowThreads();
28623 (arg1)->SetAutoLayout(arg2);
28624
28625 wxPyEndAllowThreads(__tstate);
28626 if (PyErr_Occurred()) SWIG_fail;
28627 }
28628 Py_INCREF(Py_None); resultobj = Py_None;
28629 return resultobj;
28630 fail:
28631 return NULL;
28632}
28633
28634
c32bde28 28635static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28636 PyObject *resultobj;
28637 wxWindow *arg1 = (wxWindow *) 0 ;
28638 bool result;
28639 PyObject * obj0 = 0 ;
28640 char *kwnames[] = {
28641 (char *) "self", NULL
28642 };
28643
28644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
15afbcd0
RD
28645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28647 {
28648 PyThreadState* __tstate = wxPyBeginAllowThreads();
28649 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
28650
28651 wxPyEndAllowThreads(__tstate);
28652 if (PyErr_Occurred()) SWIG_fail;
28653 }
4f89f6a3
RD
28654 {
28655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28656 }
d14a1e28
RD
28657 return resultobj;
28658 fail:
28659 return NULL;
28660}
28661
28662
c32bde28 28663static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28664 PyObject *resultobj;
28665 wxWindow *arg1 = (wxWindow *) 0 ;
28666 bool result;
28667 PyObject * obj0 = 0 ;
28668 char *kwnames[] = {
28669 (char *) "self", NULL
28670 };
28671
28672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
28673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28675 {
28676 PyThreadState* __tstate = wxPyBeginAllowThreads();
28677 result = (bool)(arg1)->Layout();
28678
28679 wxPyEndAllowThreads(__tstate);
28680 if (PyErr_Occurred()) SWIG_fail;
28681 }
4f89f6a3
RD
28682 {
28683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28684 }
d14a1e28
RD
28685 return resultobj;
28686 fail:
28687 return NULL;
28688}
28689
28690
c32bde28 28691static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28692 PyObject *resultobj;
28693 wxWindow *arg1 = (wxWindow *) 0 ;
28694 wxSizer *arg2 = (wxSizer *) 0 ;
ae8162c8 28695 bool arg3 = (bool) true ;
d14a1e28
RD
28696 PyObject * obj0 = 0 ;
28697 PyObject * obj1 = 0 ;
28698 PyObject * obj2 = 0 ;
28699 char *kwnames[] = {
28700 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28701 };
28702
28703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28706 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 28708 if (obj2) {
c32bde28 28709 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 28710 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28711 }
28712 {
28713 PyThreadState* __tstate = wxPyBeginAllowThreads();
28714 (arg1)->SetSizer(arg2,arg3);
28715
28716 wxPyEndAllowThreads(__tstate);
28717 if (PyErr_Occurred()) SWIG_fail;
28718 }
28719 Py_INCREF(Py_None); resultobj = Py_None;
28720 return resultobj;
28721 fail:
28722 return NULL;
28723}
28724
28725
c32bde28 28726static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28727 PyObject *resultobj;
28728 wxWindow *arg1 = (wxWindow *) 0 ;
28729 wxSizer *arg2 = (wxSizer *) 0 ;
ae8162c8 28730 bool arg3 = (bool) true ;
d14a1e28
RD
28731 PyObject * obj0 = 0 ;
28732 PyObject * obj1 = 0 ;
28733 PyObject * obj2 = 0 ;
28734 char *kwnames[] = {
28735 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28736 };
28737
28738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 28743 if (obj2) {
c32bde28 28744 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 28745 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28746 }
28747 {
28748 PyThreadState* __tstate = wxPyBeginAllowThreads();
28749 (arg1)->SetSizerAndFit(arg2,arg3);
28750
28751 wxPyEndAllowThreads(__tstate);
28752 if (PyErr_Occurred()) SWIG_fail;
28753 }
28754 Py_INCREF(Py_None); resultobj = Py_None;
28755 return resultobj;
28756 fail:
28757 return NULL;
28758}
28759
28760
c32bde28 28761static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28762 PyObject *resultobj;
28763 wxWindow *arg1 = (wxWindow *) 0 ;
28764 wxSizer *result;
28765 PyObject * obj0 = 0 ;
28766 char *kwnames[] = {
28767 (char *) "self", NULL
28768 };
28769
28770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
28771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28773 {
28774 PyThreadState* __tstate = wxPyBeginAllowThreads();
28775 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
28776
28777 wxPyEndAllowThreads(__tstate);
28778 if (PyErr_Occurred()) SWIG_fail;
28779 }
28780 {
412d302d 28781 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
28782 }
28783 return resultobj;
28784 fail:
28785 return NULL;
28786}
28787
28788
c32bde28 28789static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28790 PyObject *resultobj;
28791 wxWindow *arg1 = (wxWindow *) 0 ;
28792 wxSizer *arg2 = (wxSizer *) 0 ;
28793 PyObject * obj0 = 0 ;
28794 PyObject * obj1 = 0 ;
28795 char *kwnames[] = {
28796 (char *) "self",(char *) "sizer", NULL
28797 };
28798
28799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28802 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
28803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28804 {
28805 PyThreadState* __tstate = wxPyBeginAllowThreads();
28806 (arg1)->SetContainingSizer(arg2);
28807
28808 wxPyEndAllowThreads(__tstate);
28809 if (PyErr_Occurred()) SWIG_fail;
28810 }
28811 Py_INCREF(Py_None); resultobj = Py_None;
28812 return resultobj;
28813 fail:
28814 return NULL;
28815}
28816
28817
c32bde28 28818static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28819 PyObject *resultobj;
28820 wxWindow *arg1 = (wxWindow *) 0 ;
28821 wxSizer *result;
28822 PyObject * obj0 = 0 ;
28823 char *kwnames[] = {
28824 (char *) "self", NULL
28825 };
28826
28827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
28828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28830 {
28831 PyThreadState* __tstate = wxPyBeginAllowThreads();
28832 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
28833
28834 wxPyEndAllowThreads(__tstate);
28835 if (PyErr_Occurred()) SWIG_fail;
28836 }
28837 {
412d302d 28838 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
28839 }
28840 return resultobj;
28841 fail:
28842 return NULL;
28843}
28844
28845
c32bde28 28846static PyObject *_wrap_Window_InheritAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
a95a7133
RD
28847 PyObject *resultobj;
28848 wxWindow *arg1 = (wxWindow *) 0 ;
28849 PyObject * obj0 = 0 ;
28850 char *kwnames[] = {
28851 (char *) "self", NULL
28852 };
28853
28854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InheritAttributes",kwnames,&obj0)) goto fail;
28855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28857 {
28858 PyThreadState* __tstate = wxPyBeginAllowThreads();
28859 (arg1)->InheritAttributes();
28860
28861 wxPyEndAllowThreads(__tstate);
28862 if (PyErr_Occurred()) SWIG_fail;
28863 }
28864 Py_INCREF(Py_None); resultobj = Py_None;
28865 return resultobj;
28866 fail:
28867 return NULL;
28868}
28869
28870
c32bde28 28871static PyObject *_wrap_Window_ShouldInheritColours(PyObject *, PyObject *args, PyObject *kwargs) {
a95a7133
RD
28872 PyObject *resultobj;
28873 wxWindow *arg1 = (wxWindow *) 0 ;
28874 bool result;
28875 PyObject * obj0 = 0 ;
28876 char *kwnames[] = {
28877 (char *) "self", NULL
28878 };
28879
28880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ShouldInheritColours",kwnames,&obj0)) goto fail;
28881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28883 {
28884 PyThreadState* __tstate = wxPyBeginAllowThreads();
28885 result = (bool)((wxWindow const *)arg1)->ShouldInheritColours();
28886
28887 wxPyEndAllowThreads(__tstate);
28888 if (PyErr_Occurred()) SWIG_fail;
28889 }
28890 {
28891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28892 }
28893 return resultobj;
28894 fail:
28895 return NULL;
28896}
28897
28898
c32bde28 28899static PyObject * Window_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28900 PyObject *obj;
28901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28902 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
28903 Py_INCREF(obj);
28904 return Py_BuildValue((char *)"");
28905}
c32bde28 28906static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28907 PyObject *resultobj;
28908 long arg1 ;
28909 wxWindow *arg2 = (wxWindow *) NULL ;
28910 wxWindow *result;
994141e6 28911 PyObject * obj0 = 0 ;
d14a1e28
RD
28912 PyObject * obj1 = 0 ;
28913 char *kwnames[] = {
28914 (char *) "id",(char *) "parent", NULL
28915 };
28916
994141e6 28917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
c32bde28 28918 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 28919 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28920 if (obj1) {
15afbcd0
RD
28921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28923 }
28924 {
e3b71cb8 28925 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28926 PyThreadState* __tstate = wxPyBeginAllowThreads();
28927 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
28928
28929 wxPyEndAllowThreads(__tstate);
110da5b0 28930 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28931 }
28932 {
412d302d 28933 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28934 }
28935 return resultobj;
28936 fail:
28937 return NULL;
28938}
28939
28940
c32bde28 28941static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28942 PyObject *resultobj;
28943 wxString *arg1 = 0 ;
28944 wxWindow *arg2 = (wxWindow *) NULL ;
28945 wxWindow *result;
ae8162c8 28946 bool temp1 = false ;
d14a1e28
RD
28947 PyObject * obj0 = 0 ;
28948 PyObject * obj1 = 0 ;
28949 char *kwnames[] = {
28950 (char *) "name",(char *) "parent", NULL
28951 };
28952
28953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
28954 {
28955 arg1 = wxString_in_helper(obj0);
28956 if (arg1 == NULL) SWIG_fail;
ae8162c8 28957 temp1 = true;
d14a1e28
RD
28958 }
28959 if (obj1) {
15afbcd0
RD
28960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28962 }
28963 {
e3b71cb8 28964 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
28965 PyThreadState* __tstate = wxPyBeginAllowThreads();
28966 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
28967
28968 wxPyEndAllowThreads(__tstate);
110da5b0 28969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28970 }
28971 {
412d302d 28972 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
28973 }
28974 {
28975 if (temp1)
28976 delete arg1;
28977 }
28978 return resultobj;
28979 fail:
28980 {
28981 if (temp1)
28982 delete arg1;
28983 }
28984 return NULL;
28985}
28986
28987
c32bde28 28988static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28989 PyObject *resultobj;
28990 wxString *arg1 = 0 ;
28991 wxWindow *arg2 = (wxWindow *) NULL ;
28992 wxWindow *result;
ae8162c8 28993 bool temp1 = false ;
d14a1e28
RD
28994 PyObject * obj0 = 0 ;
28995 PyObject * obj1 = 0 ;
28996 char *kwnames[] = {
28997 (char *) "label",(char *) "parent", NULL
28998 };
28999
29000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
29001 {
29002 arg1 = wxString_in_helper(obj0);
29003 if (arg1 == NULL) SWIG_fail;
ae8162c8 29004 temp1 = true;
d14a1e28
RD
29005 }
29006 if (obj1) {
15afbcd0
RD
29007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29009 }
29010 {
e3b71cb8 29011 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
29012 PyThreadState* __tstate = wxPyBeginAllowThreads();
29013 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
29014
29015 wxPyEndAllowThreads(__tstate);
110da5b0 29016 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29017 }
29018 {
412d302d 29019 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29020 }
29021 {
29022 if (temp1)
29023 delete arg1;
29024 }
29025 return resultobj;
29026 fail:
29027 {
29028 if (temp1)
29029 delete arg1;
29030 }
29031 return NULL;
29032}
29033
29034
c32bde28 29035static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 29036 PyObject *resultobj;
4276dc52
RD
29037 wxWindow *arg1 = (wxWindow *) 0 ;
29038 unsigned long arg2 ;
d14a1e28
RD
29039 wxWindow *result;
29040 PyObject * obj0 = 0 ;
4276dc52 29041 PyObject * obj1 = 0 ;
d14a1e28 29042 char *kwnames[] = {
4276dc52 29043 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
29044 };
29045
4276dc52
RD
29046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
29047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
29048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29049 arg2 = (unsigned long)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 29050 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29051 {
29052 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 29053 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
29054
29055 wxPyEndAllowThreads(__tstate);
29056 if (PyErr_Occurred()) SWIG_fail;
29057 }
29058 {
412d302d 29059 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29060 }
29061 return resultobj;
29062 fail:
29063 return NULL;
29064}
29065
29066
c32bde28 29067static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29068 PyObject *resultobj;
29069 wxValidator *result;
29070 char *kwnames[] = {
29071 NULL
29072 };
29073
29074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
29075 {
29076 PyThreadState* __tstate = wxPyBeginAllowThreads();
29077 result = (wxValidator *)new wxValidator();
29078
29079 wxPyEndAllowThreads(__tstate);
29080 if (PyErr_Occurred()) SWIG_fail;
29081 }
b0f7404b 29082 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxValidator, 1);
d14a1e28
RD
29083 return resultobj;
29084 fail:
29085 return NULL;
29086}
29087
29088
c32bde28 29089static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29090 PyObject *resultobj;
29091 wxValidator *arg1 = (wxValidator *) 0 ;
29092 wxValidator *result;
29093 PyObject * obj0 = 0 ;
29094 char *kwnames[] = {
29095 (char *) "self", NULL
29096 };
29097
29098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
29099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29101 {
29102 PyThreadState* __tstate = wxPyBeginAllowThreads();
29103 result = (wxValidator *)(arg1)->Clone();
29104
29105 wxPyEndAllowThreads(__tstate);
29106 if (PyErr_Occurred()) SWIG_fail;
29107 }
29108 {
412d302d 29109 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29110 }
29111 return resultobj;
29112 fail:
29113 return NULL;
29114}
29115
29116
c32bde28 29117static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29118 PyObject *resultobj;
29119 wxValidator *arg1 = (wxValidator *) 0 ;
29120 wxWindow *arg2 = (wxWindow *) 0 ;
29121 bool result;
29122 PyObject * obj0 = 0 ;
29123 PyObject * obj1 = 0 ;
29124 char *kwnames[] = {
29125 (char *) "self",(char *) "parent", NULL
29126 };
29127
29128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29131 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29133 {
29134 PyThreadState* __tstate = wxPyBeginAllowThreads();
29135 result = (bool)(arg1)->Validate(arg2);
29136
29137 wxPyEndAllowThreads(__tstate);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
4f89f6a3
RD
29140 {
29141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29142 }
d14a1e28
RD
29143 return resultobj;
29144 fail:
29145 return NULL;
29146}
29147
29148
c32bde28 29149static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29150 PyObject *resultobj;
29151 wxValidator *arg1 = (wxValidator *) 0 ;
29152 bool result;
29153 PyObject * obj0 = 0 ;
29154 char *kwnames[] = {
29155 (char *) "self", NULL
29156 };
29157
29158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29161 {
29162 PyThreadState* __tstate = wxPyBeginAllowThreads();
29163 result = (bool)(arg1)->TransferToWindow();
29164
29165 wxPyEndAllowThreads(__tstate);
29166 if (PyErr_Occurred()) SWIG_fail;
29167 }
4f89f6a3
RD
29168 {
29169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29170 }
d14a1e28
RD
29171 return resultobj;
29172 fail:
29173 return NULL;
29174}
29175
29176
c32bde28 29177static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29178 PyObject *resultobj;
29179 wxValidator *arg1 = (wxValidator *) 0 ;
29180 bool result;
29181 PyObject * obj0 = 0 ;
29182 char *kwnames[] = {
29183 (char *) "self", NULL
29184 };
29185
29186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29189 {
29190 PyThreadState* __tstate = wxPyBeginAllowThreads();
29191 result = (bool)(arg1)->TransferFromWindow();
29192
29193 wxPyEndAllowThreads(__tstate);
29194 if (PyErr_Occurred()) SWIG_fail;
29195 }
4f89f6a3
RD
29196 {
29197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29198 }
d14a1e28
RD
29199 return resultobj;
29200 fail:
29201 return NULL;
29202}
29203
29204
c32bde28 29205static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29206 PyObject *resultobj;
29207 wxValidator *arg1 = (wxValidator *) 0 ;
29208 wxWindow *result;
29209 PyObject * obj0 = 0 ;
29210 char *kwnames[] = {
29211 (char *) "self", NULL
29212 };
29213
29214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29217 {
29218 PyThreadState* __tstate = wxPyBeginAllowThreads();
29219 result = (wxWindow *)(arg1)->GetWindow();
29220
29221 wxPyEndAllowThreads(__tstate);
29222 if (PyErr_Occurred()) SWIG_fail;
29223 }
29224 {
412d302d 29225 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
29226 }
29227 return resultobj;
29228 fail:
29229 return NULL;
29230}
29231
29232
c32bde28 29233static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29234 PyObject *resultobj;
29235 wxValidator *arg1 = (wxValidator *) 0 ;
29236 wxWindow *arg2 = (wxWindow *) 0 ;
29237 PyObject * obj0 = 0 ;
29238 PyObject * obj1 = 0 ;
29239 char *kwnames[] = {
29240 (char *) "self",(char *) "window", NULL
29241 };
29242
29243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
29245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29248 {
29249 PyThreadState* __tstate = wxPyBeginAllowThreads();
29250 (arg1)->SetWindow(arg2);
29251
29252 wxPyEndAllowThreads(__tstate);
29253 if (PyErr_Occurred()) SWIG_fail;
29254 }
29255 Py_INCREF(Py_None); resultobj = Py_None;
29256 return resultobj;
29257 fail:
29258 return NULL;
29259}
29260
29261
c32bde28 29262static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29263 PyObject *resultobj;
29264 bool result;
29265 char *kwnames[] = {
29266 NULL
29267 };
29268
29269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
29270 {
29271 PyThreadState* __tstate = wxPyBeginAllowThreads();
29272 result = (bool)wxValidator::IsSilent();
29273
29274 wxPyEndAllowThreads(__tstate);
29275 if (PyErr_Occurred()) SWIG_fail;
29276 }
4f89f6a3
RD
29277 {
29278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29279 }
d14a1e28
RD
29280 return resultobj;
29281 fail:
29282 return NULL;
29283}
29284
29285
c32bde28 29286static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 29287 PyObject *resultobj;
ae8162c8 29288 int arg1 = (int) true ;
994141e6 29289 PyObject * obj0 = 0 ;
d14a1e28
RD
29290 char *kwnames[] = {
29291 (char *) "doIt", NULL
29292 };
29293
994141e6
RD
29294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
29295 if (obj0) {
c32bde28 29296 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 29297 if (PyErr_Occurred()) SWIG_fail;
994141e6 29298 }
d14a1e28
RD
29299 {
29300 PyThreadState* __tstate = wxPyBeginAllowThreads();
29301 wxValidator::SetBellOnError(arg1);
29302
29303 wxPyEndAllowThreads(__tstate);
29304 if (PyErr_Occurred()) SWIG_fail;
29305 }
29306 Py_INCREF(Py_None); resultobj = Py_None;
29307 return resultobj;
29308 fail:
29309 return NULL;
29310}
29311
29312
c32bde28 29313static PyObject * Validator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
29314 PyObject *obj;
29315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29316 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
29317 Py_INCREF(obj);
29318 return Py_BuildValue((char *)"");
29319}
c32bde28 29320static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29321 PyObject *resultobj;
29322 wxPyValidator *result;
29323 char *kwnames[] = {
29324 NULL
29325 };
29326
29327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
29328 {
29329 PyThreadState* __tstate = wxPyBeginAllowThreads();
29330 result = (wxPyValidator *)new wxPyValidator();
29331
29332 wxPyEndAllowThreads(__tstate);
29333 if (PyErr_Occurred()) SWIG_fail;
29334 }
15afbcd0 29335 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
29336 return resultobj;
29337 fail:
29338 return NULL;
29339}
29340
29341
c32bde28 29342static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29343 PyObject *resultobj;
29344 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
29345 PyObject *arg2 = (PyObject *) 0 ;
29346 PyObject *arg3 = (PyObject *) 0 ;
ae8162c8 29347 int arg4 = (int) true ;
d14a1e28
RD
29348 PyObject * obj0 = 0 ;
29349 PyObject * obj1 = 0 ;
29350 PyObject * obj2 = 0 ;
994141e6 29351 PyObject * obj3 = 0 ;
d14a1e28
RD
29352 char *kwnames[] = {
29353 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
29354 };
29355
994141e6 29356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
29358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29359 arg2 = obj1;
29360 arg3 = obj2;
994141e6 29361 if (obj3) {
c32bde28 29362 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 29363 if (PyErr_Occurred()) SWIG_fail;
994141e6 29364 }
d14a1e28
RD
29365 {
29366 PyThreadState* __tstate = wxPyBeginAllowThreads();
29367 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
29368
29369 wxPyEndAllowThreads(__tstate);
29370 if (PyErr_Occurred()) SWIG_fail;
29371 }
29372 Py_INCREF(Py_None); resultobj = Py_None;
29373 return resultobj;
29374 fail:
29375 return NULL;
29376}
29377
29378
c32bde28 29379static PyObject * PyValidator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
29380 PyObject *obj;
29381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29382 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
29383 Py_INCREF(obj);
29384 return Py_BuildValue((char *)"");
29385}
c32bde28 29386static int _wrap_DefaultValidator_set(PyObject *) {
d14a1e28
RD
29387 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
29388 return 1;
29389}
29390
29391
29392static PyObject *_wrap_DefaultValidator_get() {
29393 PyObject *pyobj;
29394
15afbcd0 29395 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
29396 return pyobj;
29397}
29398
29399
c32bde28 29400static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29401 PyObject *resultobj;
29402 wxString const &arg1_defvalue = wxPyEmptyString ;
29403 wxString *arg1 = (wxString *) &arg1_defvalue ;
29404 long arg2 = (long) 0 ;
29405 wxMenu *result;
ae8162c8 29406 bool temp1 = false ;
d14a1e28 29407 PyObject * obj0 = 0 ;
994141e6 29408 PyObject * obj1 = 0 ;
d14a1e28
RD
29409 char *kwnames[] = {
29410 (char *) "title",(char *) "style", NULL
29411 };
29412
994141e6 29413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
29414 if (obj0) {
29415 {
29416 arg1 = wxString_in_helper(obj0);
29417 if (arg1 == NULL) SWIG_fail;
ae8162c8 29418 temp1 = true;
d14a1e28
RD
29419 }
29420 }
994141e6 29421 if (obj1) {
c32bde28 29422 arg2 = (long)SWIG_As_long(obj1);
15afbcd0 29423 if (PyErr_Occurred()) SWIG_fail;
994141e6 29424 }
d14a1e28 29425 {
e3b71cb8 29426 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
29427 PyThreadState* __tstate = wxPyBeginAllowThreads();
29428 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
29429
29430 wxPyEndAllowThreads(__tstate);
110da5b0 29431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 29432 }
b0f7404b 29433 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenu, 1);
d14a1e28
RD
29434 {
29435 if (temp1)
29436 delete arg1;
29437 }
29438 return resultobj;
29439 fail:
29440 {
29441 if (temp1)
29442 delete arg1;
29443 }
29444 return NULL;
29445}
29446
29447
c32bde28 29448static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29449 PyObject *resultobj;
29450 wxMenu *arg1 = (wxMenu *) 0 ;
29451 int arg2 ;
29452 wxString *arg3 = 0 ;
29453 wxString const &arg4_defvalue = wxPyEmptyString ;
29454 wxString *arg4 = (wxString *) &arg4_defvalue ;
29455 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 29456 wxMenuItem *result;
ae8162c8
RD
29457 bool temp3 = false ;
29458 bool temp4 = false ;
d14a1e28 29459 PyObject * obj0 = 0 ;
994141e6 29460 PyObject * obj1 = 0 ;
d14a1e28
RD
29461 PyObject * obj2 = 0 ;
29462 PyObject * obj3 = 0 ;
994141e6 29463 PyObject * obj4 = 0 ;
d14a1e28 29464 char *kwnames[] = {
242b7b46 29465 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29466 };
29467
994141e6 29468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29471 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29472 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29473 {
29474 arg3 = wxString_in_helper(obj2);
29475 if (arg3 == NULL) SWIG_fail;
ae8162c8 29476 temp3 = true;
d14a1e28
RD
29477 }
29478 if (obj3) {
29479 {
29480 arg4 = wxString_in_helper(obj3);
29481 if (arg4 == NULL) SWIG_fail;
ae8162c8 29482 temp4 = true;
d14a1e28
RD
29483 }
29484 }
994141e6 29485 if (obj4) {
c32bde28 29486 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 29487 if (PyErr_Occurred()) SWIG_fail;
994141e6 29488 }
d14a1e28
RD
29489 {
29490 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29491 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
29492
29493 wxPyEndAllowThreads(__tstate);
29494 if (PyErr_Occurred()) SWIG_fail;
29495 }
a41e16b6 29496 {
412d302d 29497 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29498 }
d14a1e28
RD
29499 {
29500 if (temp3)
29501 delete arg3;
29502 }
29503 {
29504 if (temp4)
29505 delete arg4;
29506 }
29507 return resultobj;
29508 fail:
29509 {
29510 if (temp3)
29511 delete arg3;
29512 }
29513 {
29514 if (temp4)
29515 delete arg4;
29516 }
29517 return NULL;
29518}
29519
29520
c32bde28 29521static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29522 PyObject *resultobj;
29523 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 29524 wxMenuItem *result;
d14a1e28
RD
29525 PyObject * obj0 = 0 ;
29526 char *kwnames[] = {
29527 (char *) "self", NULL
29528 };
29529
29530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
29531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29533 {
29534 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29535 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
29536
29537 wxPyEndAllowThreads(__tstate);
29538 if (PyErr_Occurred()) SWIG_fail;
29539 }
a41e16b6 29540 {
412d302d 29541 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29542 }
d14a1e28
RD
29543 return resultobj;
29544 fail:
29545 return NULL;
29546}
29547
29548
c32bde28 29549static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29550 PyObject *resultobj;
29551 wxMenu *arg1 = (wxMenu *) 0 ;
29552 int arg2 ;
29553 wxString *arg3 = 0 ;
29554 wxString const &arg4_defvalue = wxPyEmptyString ;
29555 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29556 wxMenuItem *result;
ae8162c8
RD
29557 bool temp3 = false ;
29558 bool temp4 = false ;
d14a1e28 29559 PyObject * obj0 = 0 ;
994141e6 29560 PyObject * obj1 = 0 ;
d14a1e28
RD
29561 PyObject * obj2 = 0 ;
29562 PyObject * obj3 = 0 ;
29563 char *kwnames[] = {
242b7b46 29564 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29565 };
29566
994141e6 29567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29570 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29571 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29572 {
29573 arg3 = wxString_in_helper(obj2);
29574 if (arg3 == NULL) SWIG_fail;
ae8162c8 29575 temp3 = true;
d14a1e28
RD
29576 }
29577 if (obj3) {
29578 {
29579 arg4 = wxString_in_helper(obj3);
29580 if (arg4 == NULL) SWIG_fail;
ae8162c8 29581 temp4 = true;
d14a1e28
RD
29582 }
29583 }
29584 {
29585 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29586 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29587
29588 wxPyEndAllowThreads(__tstate);
29589 if (PyErr_Occurred()) SWIG_fail;
29590 }
a41e16b6 29591 {
412d302d 29592 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29593 }
d14a1e28
RD
29594 {
29595 if (temp3)
29596 delete arg3;
29597 }
29598 {
29599 if (temp4)
29600 delete arg4;
29601 }
29602 return resultobj;
29603 fail:
29604 {
29605 if (temp3)
29606 delete arg3;
29607 }
29608 {
29609 if (temp4)
29610 delete arg4;
29611 }
29612 return NULL;
29613}
29614
29615
c32bde28 29616static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29617 PyObject *resultobj;
29618 wxMenu *arg1 = (wxMenu *) 0 ;
29619 int arg2 ;
29620 wxString *arg3 = 0 ;
29621 wxString const &arg4_defvalue = wxPyEmptyString ;
29622 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 29623 wxMenuItem *result;
ae8162c8
RD
29624 bool temp3 = false ;
29625 bool temp4 = false ;
d14a1e28 29626 PyObject * obj0 = 0 ;
994141e6 29627 PyObject * obj1 = 0 ;
d14a1e28
RD
29628 PyObject * obj2 = 0 ;
29629 PyObject * obj3 = 0 ;
29630 char *kwnames[] = {
242b7b46 29631 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29632 };
29633
994141e6 29634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29637 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29638 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29639 {
29640 arg3 = wxString_in_helper(obj2);
29641 if (arg3 == NULL) SWIG_fail;
ae8162c8 29642 temp3 = true;
d14a1e28
RD
29643 }
29644 if (obj3) {
29645 {
29646 arg4 = wxString_in_helper(obj3);
29647 if (arg4 == NULL) SWIG_fail;
ae8162c8 29648 temp4 = true;
d14a1e28
RD
29649 }
29650 }
29651 {
29652 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29653 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29654
29655 wxPyEndAllowThreads(__tstate);
29656 if (PyErr_Occurred()) SWIG_fail;
29657 }
a41e16b6 29658 {
412d302d 29659 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29660 }
d14a1e28
RD
29661 {
29662 if (temp3)
29663 delete arg3;
29664 }
29665 {
29666 if (temp4)
29667 delete arg4;
29668 }
29669 return resultobj;
29670 fail:
29671 {
29672 if (temp3)
29673 delete arg3;
29674 }
29675 {
29676 if (temp4)
29677 delete arg4;
29678 }
29679 return NULL;
29680}
29681
29682
c32bde28 29683static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29684 PyObject *resultobj;
29685 wxMenu *arg1 = (wxMenu *) 0 ;
29686 int arg2 ;
29687 wxString *arg3 = 0 ;
29688 wxMenu *arg4 = (wxMenu *) 0 ;
29689 wxString const &arg5_defvalue = wxPyEmptyString ;
29690 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29691 wxMenuItem *result;
ae8162c8
RD
29692 bool temp3 = false ;
29693 bool temp5 = false ;
d14a1e28 29694 PyObject * obj0 = 0 ;
994141e6 29695 PyObject * obj1 = 0 ;
d14a1e28
RD
29696 PyObject * obj2 = 0 ;
29697 PyObject * obj3 = 0 ;
29698 PyObject * obj4 = 0 ;
29699 char *kwnames[] = {
242b7b46 29700 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29701 };
29702
994141e6 29703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29706 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 29707 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29708 {
29709 arg3 = wxString_in_helper(obj2);
29710 if (arg3 == NULL) SWIG_fail;
ae8162c8 29711 temp3 = true;
d14a1e28 29712 }
15afbcd0
RD
29713 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29715 if (obj4) {
29716 {
29717 arg5 = wxString_in_helper(obj4);
29718 if (arg5 == NULL) SWIG_fail;
ae8162c8 29719 temp5 = true;
d14a1e28
RD
29720 }
29721 }
29722 {
29723 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29724 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
29725
29726 wxPyEndAllowThreads(__tstate);
29727 if (PyErr_Occurred()) SWIG_fail;
29728 }
a41e16b6 29729 {
412d302d 29730 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29731 }
d14a1e28
RD
29732 {
29733 if (temp3)
29734 delete arg3;
29735 }
29736 {
29737 if (temp5)
29738 delete arg5;
29739 }
29740 return resultobj;
29741 fail:
29742 {
29743 if (temp3)
29744 delete arg3;
29745 }
29746 {
29747 if (temp5)
29748 delete arg5;
29749 }
29750 return NULL;
29751}
29752
29753
c32bde28 29754static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29755 PyObject *resultobj;
29756 wxMenu *arg1 = (wxMenu *) 0 ;
29757 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 29758 wxMenuItem *result;
d14a1e28
RD
29759 PyObject * obj0 = 0 ;
29760 PyObject * obj1 = 0 ;
29761 char *kwnames[] = {
29762 (char *) "self",(char *) "item", NULL
29763 };
29764
29765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29768 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29770 {
29771 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29772 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
29773
29774 wxPyEndAllowThreads(__tstate);
29775 if (PyErr_Occurred()) SWIG_fail;
29776 }
a41e16b6 29777 {
412d302d 29778 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29779 }
d14a1e28
RD
29780 return resultobj;
29781 fail:
29782 return NULL;
29783}
29784
29785
c32bde28 29786static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29787 PyObject *resultobj;
29788 wxMenu *arg1 = (wxMenu *) 0 ;
29789 PyObject * obj0 = 0 ;
29790 char *kwnames[] = {
29791 (char *) "self", NULL
29792 };
29793
29794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
15afbcd0
RD
29795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29797 {
29798 PyThreadState* __tstate = wxPyBeginAllowThreads();
29799 (arg1)->Break();
29800
29801 wxPyEndAllowThreads(__tstate);
29802 if (PyErr_Occurred()) SWIG_fail;
29803 }
29804 Py_INCREF(Py_None); resultobj = Py_None;
29805 return resultobj;
29806 fail:
29807 return NULL;
29808}
29809
29810
c32bde28 29811static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29812 PyObject *resultobj;
29813 wxMenu *arg1 = (wxMenu *) 0 ;
29814 size_t arg2 ;
29815 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
a41e16b6 29816 wxMenuItem *result;
d14a1e28
RD
29817 PyObject * obj0 = 0 ;
29818 PyObject * obj1 = 0 ;
29819 PyObject * obj2 = 0 ;
29820 char *kwnames[] = {
29821 (char *) "self",(char *) "pos",(char *) "item", NULL
29822 };
29823
29824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29827 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0
RD
29828 if (PyErr_Occurred()) SWIG_fail;
29829 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
29830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29831 {
29832 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29833 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
29834
29835 wxPyEndAllowThreads(__tstate);
29836 if (PyErr_Occurred()) SWIG_fail;
29837 }
a41e16b6 29838 {
412d302d 29839 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29840 }
d14a1e28
RD
29841 return resultobj;
29842 fail:
29843 return NULL;
29844}
29845
29846
c32bde28 29847static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29848 PyObject *resultobj;
29849 wxMenu *arg1 = (wxMenu *) 0 ;
29850 size_t arg2 ;
29851 int arg3 ;
29852 wxString *arg4 = 0 ;
29853 wxString const &arg5_defvalue = wxPyEmptyString ;
29854 wxString *arg5 = (wxString *) &arg5_defvalue ;
29855 int arg6 = (int) wxITEM_NORMAL ;
a41e16b6 29856 wxMenuItem *result;
ae8162c8
RD
29857 bool temp4 = false ;
29858 bool temp5 = false ;
d14a1e28
RD
29859 PyObject * obj0 = 0 ;
29860 PyObject * obj1 = 0 ;
994141e6 29861 PyObject * obj2 = 0 ;
d14a1e28
RD
29862 PyObject * obj3 = 0 ;
29863 PyObject * obj4 = 0 ;
994141e6 29864 PyObject * obj5 = 0 ;
d14a1e28 29865 char *kwnames[] = {
242b7b46 29866 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29867 };
29868
994141e6 29869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
29870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29872 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 29873 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29874 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 29875 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29876 {
29877 arg4 = wxString_in_helper(obj3);
29878 if (arg4 == NULL) SWIG_fail;
ae8162c8 29879 temp4 = true;
d14a1e28
RD
29880 }
29881 if (obj4) {
29882 {
29883 arg5 = wxString_in_helper(obj4);
29884 if (arg5 == NULL) SWIG_fail;
ae8162c8 29885 temp5 = true;
d14a1e28
RD
29886 }
29887 }
994141e6 29888 if (obj5) {
c32bde28 29889 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 29890 if (PyErr_Occurred()) SWIG_fail;
994141e6 29891 }
d14a1e28
RD
29892 {
29893 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29894 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
29895
29896 wxPyEndAllowThreads(__tstate);
29897 if (PyErr_Occurred()) SWIG_fail;
29898 }
a41e16b6 29899 {
412d302d 29900 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29901 }
d14a1e28
RD
29902 {
29903 if (temp4)
29904 delete arg4;
29905 }
29906 {
29907 if (temp5)
29908 delete arg5;
29909 }
29910 return resultobj;
29911 fail:
29912 {
29913 if (temp4)
29914 delete arg4;
29915 }
29916 {
29917 if (temp5)
29918 delete arg5;
29919 }
29920 return NULL;
29921}
29922
29923
c32bde28 29924static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29925 PyObject *resultobj;
29926 wxMenu *arg1 = (wxMenu *) 0 ;
29927 size_t arg2 ;
a41e16b6 29928 wxMenuItem *result;
d14a1e28
RD
29929 PyObject * obj0 = 0 ;
29930 PyObject * obj1 = 0 ;
29931 char *kwnames[] = {
29932 (char *) "self",(char *) "pos", NULL
29933 };
29934
29935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29938 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 29939 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29940 {
29941 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29942 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
29943
29944 wxPyEndAllowThreads(__tstate);
29945 if (PyErr_Occurred()) SWIG_fail;
29946 }
a41e16b6 29947 {
412d302d 29948 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 29949 }
d14a1e28
RD
29950 return resultobj;
29951 fail:
29952 return NULL;
29953}
29954
29955
c32bde28 29956static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29957 PyObject *resultobj;
29958 wxMenu *arg1 = (wxMenu *) 0 ;
29959 size_t arg2 ;
29960 int arg3 ;
29961 wxString *arg4 = 0 ;
29962 wxString const &arg5_defvalue = wxPyEmptyString ;
29963 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 29964 wxMenuItem *result;
ae8162c8
RD
29965 bool temp4 = false ;
29966 bool temp5 = false ;
d14a1e28
RD
29967 PyObject * obj0 = 0 ;
29968 PyObject * obj1 = 0 ;
994141e6 29969 PyObject * obj2 = 0 ;
d14a1e28
RD
29970 PyObject * obj3 = 0 ;
29971 PyObject * obj4 = 0 ;
29972 char *kwnames[] = {
242b7b46 29973 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29974 };
29975
994141e6 29976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
29977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 29979 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 29980 if (PyErr_Occurred()) SWIG_fail;
c32bde28 29981 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 29982 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29983 {
29984 arg4 = wxString_in_helper(obj3);
29985 if (arg4 == NULL) SWIG_fail;
ae8162c8 29986 temp4 = true;
d14a1e28
RD
29987 }
29988 if (obj4) {
29989 {
29990 arg5 = wxString_in_helper(obj4);
29991 if (arg5 == NULL) SWIG_fail;
ae8162c8 29992 temp5 = true;
d14a1e28
RD
29993 }
29994 }
29995 {
29996 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 29997 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29998
29999 wxPyEndAllowThreads(__tstate);
30000 if (PyErr_Occurred()) SWIG_fail;
30001 }
a41e16b6 30002 {
412d302d 30003 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30004 }
d14a1e28
RD
30005 {
30006 if (temp4)
30007 delete arg4;
30008 }
30009 {
30010 if (temp5)
30011 delete arg5;
30012 }
30013 return resultobj;
30014 fail:
30015 {
30016 if (temp4)
30017 delete arg4;
30018 }
30019 {
30020 if (temp5)
30021 delete arg5;
30022 }
30023 return NULL;
30024}
30025
30026
c32bde28 30027static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30028 PyObject *resultobj;
30029 wxMenu *arg1 = (wxMenu *) 0 ;
30030 size_t arg2 ;
30031 int arg3 ;
30032 wxString *arg4 = 0 ;
30033 wxString const &arg5_defvalue = wxPyEmptyString ;
30034 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 30035 wxMenuItem *result;
ae8162c8
RD
30036 bool temp4 = false ;
30037 bool temp5 = false ;
d14a1e28
RD
30038 PyObject * obj0 = 0 ;
30039 PyObject * obj1 = 0 ;
994141e6 30040 PyObject * obj2 = 0 ;
d14a1e28
RD
30041 PyObject * obj3 = 0 ;
30042 PyObject * obj4 = 0 ;
30043 char *kwnames[] = {
242b7b46 30044 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
30045 };
30046
994141e6 30047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30048 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30049 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30050 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 30051 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30052 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 30053 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30054 {
30055 arg4 = wxString_in_helper(obj3);
30056 if (arg4 == NULL) SWIG_fail;
ae8162c8 30057 temp4 = true;
d14a1e28
RD
30058 }
30059 if (obj4) {
30060 {
30061 arg5 = wxString_in_helper(obj4);
30062 if (arg5 == NULL) SWIG_fail;
ae8162c8 30063 temp5 = true;
d14a1e28
RD
30064 }
30065 }
30066 {
30067 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30068 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
30069
30070 wxPyEndAllowThreads(__tstate);
30071 if (PyErr_Occurred()) SWIG_fail;
30072 }
a41e16b6 30073 {
412d302d 30074 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30075 }
d14a1e28
RD
30076 {
30077 if (temp4)
30078 delete arg4;
30079 }
30080 {
30081 if (temp5)
30082 delete arg5;
30083 }
30084 return resultobj;
30085 fail:
30086 {
30087 if (temp4)
30088 delete arg4;
30089 }
30090 {
30091 if (temp5)
30092 delete arg5;
30093 }
30094 return NULL;
30095}
30096
30097
c32bde28 30098static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30099 PyObject *resultobj;
30100 wxMenu *arg1 = (wxMenu *) 0 ;
30101 size_t arg2 ;
30102 int arg3 ;
30103 wxString *arg4 = 0 ;
30104 wxMenu *arg5 = (wxMenu *) 0 ;
30105 wxString const &arg6_defvalue = wxPyEmptyString ;
30106 wxString *arg6 = (wxString *) &arg6_defvalue ;
a41e16b6 30107 wxMenuItem *result;
ae8162c8
RD
30108 bool temp4 = false ;
30109 bool temp6 = false ;
d14a1e28
RD
30110 PyObject * obj0 = 0 ;
30111 PyObject * obj1 = 0 ;
994141e6 30112 PyObject * obj2 = 0 ;
d14a1e28
RD
30113 PyObject * obj3 = 0 ;
30114 PyObject * obj4 = 0 ;
30115 PyObject * obj5 = 0 ;
30116 char *kwnames[] = {
242b7b46 30117 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
30118 };
30119
994141e6 30120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
30121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30123 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 30124 if (PyErr_Occurred()) SWIG_fail;
c32bde28 30125 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 30126 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30127 {
30128 arg4 = wxString_in_helper(obj3);
30129 if (arg4 == NULL) SWIG_fail;
ae8162c8 30130 temp4 = true;
d14a1e28 30131 }
15afbcd0
RD
30132 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
30133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30134 if (obj5) {
30135 {
30136 arg6 = wxString_in_helper(obj5);
30137 if (arg6 == NULL) SWIG_fail;
ae8162c8 30138 temp6 = true;
d14a1e28
RD
30139 }
30140 }
30141 {
30142 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30143 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
30144
30145 wxPyEndAllowThreads(__tstate);
30146 if (PyErr_Occurred()) SWIG_fail;
30147 }
a41e16b6 30148 {
412d302d 30149 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30150 }
d14a1e28
RD
30151 {
30152 if (temp4)
30153 delete arg4;
30154 }
30155 {
30156 if (temp6)
30157 delete arg6;
30158 }
30159 return resultobj;
30160 fail:
30161 {
30162 if (temp4)
30163 delete arg4;
30164 }
30165 {
30166 if (temp6)
30167 delete arg6;
30168 }
30169 return NULL;
30170}
30171
30172
c32bde28 30173static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30174 PyObject *resultobj;
30175 wxMenu *arg1 = (wxMenu *) 0 ;
30176 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 30177 wxMenuItem *result;
d14a1e28
RD
30178 PyObject * obj0 = 0 ;
30179 PyObject * obj1 = 0 ;
30180 char *kwnames[] = {
30181 (char *) "self",(char *) "item", NULL
30182 };
30183
30184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30187 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30189 {
30190 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30191 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
30192
30193 wxPyEndAllowThreads(__tstate);
30194 if (PyErr_Occurred()) SWIG_fail;
30195 }
a41e16b6 30196 {
412d302d 30197 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30198 }
d14a1e28
RD
30199 return resultobj;
30200 fail:
30201 return NULL;
30202}
30203
30204
c32bde28 30205static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30206 PyObject *resultobj;
30207 wxMenu *arg1 = (wxMenu *) 0 ;
30208 int arg2 ;
30209 wxString *arg3 = 0 ;
30210 wxString const &arg4_defvalue = wxPyEmptyString ;
30211 wxString *arg4 = (wxString *) &arg4_defvalue ;
30212 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 30213 wxMenuItem *result;
ae8162c8
RD
30214 bool temp3 = false ;
30215 bool temp4 = false ;
d14a1e28 30216 PyObject * obj0 = 0 ;
994141e6 30217 PyObject * obj1 = 0 ;
d14a1e28
RD
30218 PyObject * obj2 = 0 ;
30219 PyObject * obj3 = 0 ;
994141e6 30220 PyObject * obj4 = 0 ;
d14a1e28 30221 char *kwnames[] = {
242b7b46 30222 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
30223 };
30224
994141e6 30225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30228 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30229 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30230 {
30231 arg3 = wxString_in_helper(obj2);
30232 if (arg3 == NULL) SWIG_fail;
ae8162c8 30233 temp3 = true;
d14a1e28
RD
30234 }
30235 if (obj3) {
30236 {
30237 arg4 = wxString_in_helper(obj3);
30238 if (arg4 == NULL) SWIG_fail;
ae8162c8 30239 temp4 = true;
d14a1e28
RD
30240 }
30241 }
994141e6 30242 if (obj4) {
c32bde28 30243 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 30244 if (PyErr_Occurred()) SWIG_fail;
994141e6 30245 }
d14a1e28
RD
30246 {
30247 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30248 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
30249
30250 wxPyEndAllowThreads(__tstate);
30251 if (PyErr_Occurred()) SWIG_fail;
30252 }
a41e16b6 30253 {
412d302d 30254 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30255 }
d14a1e28
RD
30256 {
30257 if (temp3)
30258 delete arg3;
30259 }
30260 {
30261 if (temp4)
30262 delete arg4;
30263 }
30264 return resultobj;
30265 fail:
30266 {
30267 if (temp3)
30268 delete arg3;
30269 }
30270 {
30271 if (temp4)
30272 delete arg4;
30273 }
30274 return NULL;
30275}
30276
30277
c32bde28 30278static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30279 PyObject *resultobj;
30280 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 30281 wxMenuItem *result;
d14a1e28
RD
30282 PyObject * obj0 = 0 ;
30283 char *kwnames[] = {
30284 (char *) "self", NULL
30285 };
30286
30287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
30288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30290 {
30291 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30292 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
30293
30294 wxPyEndAllowThreads(__tstate);
30295 if (PyErr_Occurred()) SWIG_fail;
30296 }
a41e16b6 30297 {
412d302d 30298 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30299 }
d14a1e28
RD
30300 return resultobj;
30301 fail:
30302 return NULL;
30303}
30304
30305
c32bde28 30306static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30307 PyObject *resultobj;
30308 wxMenu *arg1 = (wxMenu *) 0 ;
30309 int arg2 ;
30310 wxString *arg3 = 0 ;
30311 wxString const &arg4_defvalue = wxPyEmptyString ;
30312 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 30313 wxMenuItem *result;
ae8162c8
RD
30314 bool temp3 = false ;
30315 bool temp4 = false ;
d14a1e28 30316 PyObject * obj0 = 0 ;
994141e6 30317 PyObject * obj1 = 0 ;
d14a1e28
RD
30318 PyObject * obj2 = 0 ;
30319 PyObject * obj3 = 0 ;
30320 char *kwnames[] = {
242b7b46 30321 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
30322 };
30323
994141e6 30324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
30325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30327 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30328 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30329 {
30330 arg3 = wxString_in_helper(obj2);
30331 if (arg3 == NULL) SWIG_fail;
ae8162c8 30332 temp3 = true;
d14a1e28
RD
30333 }
30334 if (obj3) {
30335 {
30336 arg4 = wxString_in_helper(obj3);
30337 if (arg4 == NULL) SWIG_fail;
ae8162c8 30338 temp4 = true;
d14a1e28
RD
30339 }
30340 }
30341 {
30342 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30343 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
30344
30345 wxPyEndAllowThreads(__tstate);
30346 if (PyErr_Occurred()) SWIG_fail;
30347 }
a41e16b6 30348 {
412d302d 30349 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30350 }
d14a1e28
RD
30351 {
30352 if (temp3)
30353 delete arg3;
30354 }
30355 {
30356 if (temp4)
30357 delete arg4;
30358 }
30359 return resultobj;
30360 fail:
30361 {
30362 if (temp3)
30363 delete arg3;
30364 }
30365 {
30366 if (temp4)
30367 delete arg4;
30368 }
30369 return NULL;
30370}
30371
30372
c32bde28 30373static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30374 PyObject *resultobj;
30375 wxMenu *arg1 = (wxMenu *) 0 ;
30376 int arg2 ;
30377 wxString *arg3 = 0 ;
30378 wxString const &arg4_defvalue = wxPyEmptyString ;
30379 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 30380 wxMenuItem *result;
ae8162c8
RD
30381 bool temp3 = false ;
30382 bool temp4 = false ;
d14a1e28 30383 PyObject * obj0 = 0 ;
994141e6 30384 PyObject * obj1 = 0 ;
d14a1e28
RD
30385 PyObject * obj2 = 0 ;
30386 PyObject * obj3 = 0 ;
30387 char *kwnames[] = {
242b7b46 30388 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
30389 };
30390
994141e6 30391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
30392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30394 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30395 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30396 {
30397 arg3 = wxString_in_helper(obj2);
30398 if (arg3 == NULL) SWIG_fail;
ae8162c8 30399 temp3 = true;
d14a1e28
RD
30400 }
30401 if (obj3) {
30402 {
30403 arg4 = wxString_in_helper(obj3);
30404 if (arg4 == NULL) SWIG_fail;
ae8162c8 30405 temp4 = true;
d14a1e28
RD
30406 }
30407 }
30408 {
30409 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30410 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
30411
30412 wxPyEndAllowThreads(__tstate);
30413 if (PyErr_Occurred()) SWIG_fail;
30414 }
a41e16b6 30415 {
412d302d 30416 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30417 }
d14a1e28
RD
30418 {
30419 if (temp3)
30420 delete arg3;
30421 }
30422 {
30423 if (temp4)
30424 delete arg4;
30425 }
30426 return resultobj;
30427 fail:
30428 {
30429 if (temp3)
30430 delete arg3;
30431 }
30432 {
30433 if (temp4)
30434 delete arg4;
30435 }
30436 return NULL;
30437}
30438
30439
c32bde28 30440static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30441 PyObject *resultobj;
30442 wxMenu *arg1 = (wxMenu *) 0 ;
30443 int arg2 ;
30444 wxString *arg3 = 0 ;
30445 wxMenu *arg4 = (wxMenu *) 0 ;
30446 wxString const &arg5_defvalue = wxPyEmptyString ;
30447 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 30448 wxMenuItem *result;
ae8162c8
RD
30449 bool temp3 = false ;
30450 bool temp5 = false ;
d14a1e28 30451 PyObject * obj0 = 0 ;
994141e6 30452 PyObject * obj1 = 0 ;
d14a1e28
RD
30453 PyObject * obj2 = 0 ;
30454 PyObject * obj3 = 0 ;
30455 PyObject * obj4 = 0 ;
30456 char *kwnames[] = {
242b7b46 30457 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
30458 };
30459
994141e6 30460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
30461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30463 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30464 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30465 {
30466 arg3 = wxString_in_helper(obj2);
30467 if (arg3 == NULL) SWIG_fail;
ae8162c8 30468 temp3 = true;
d14a1e28 30469 }
15afbcd0
RD
30470 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
30471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30472 if (obj4) {
30473 {
30474 arg5 = wxString_in_helper(obj4);
30475 if (arg5 == NULL) SWIG_fail;
ae8162c8 30476 temp5 = true;
d14a1e28
RD
30477 }
30478 }
30479 {
30480 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 30481 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
30482
30483 wxPyEndAllowThreads(__tstate);
30484 if (PyErr_Occurred()) SWIG_fail;
30485 }
a41e16b6 30486 {
412d302d 30487 resultobj = wxPyMake_wxObject(result, 0);
a41e16b6 30488 }
d14a1e28
RD
30489 {
30490 if (temp3)
30491 delete arg3;
30492 }
30493 {
30494 if (temp5)
30495 delete arg5;
30496 }
30497 return resultobj;
30498 fail:
30499 {
30500 if (temp3)
30501 delete arg3;
30502 }
30503 {
30504 if (temp5)
30505 delete arg5;
30506 }
30507 return NULL;
30508}
30509
30510
c32bde28 30511static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30512 PyObject *resultobj;
30513 wxMenu *arg1 = (wxMenu *) 0 ;
30514 int arg2 ;
30515 wxMenuItem *result;
30516 PyObject * obj0 = 0 ;
994141e6 30517 PyObject * obj1 = 0 ;
d14a1e28 30518 char *kwnames[] = {
242b7b46 30519 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30520 };
30521
994141e6 30522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30525 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30527 {
30528 PyThreadState* __tstate = wxPyBeginAllowThreads();
30529 result = (wxMenuItem *)(arg1)->Remove(arg2);
30530
30531 wxPyEndAllowThreads(__tstate);
30532 if (PyErr_Occurred()) SWIG_fail;
30533 }
30534 {
412d302d 30535 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30536 }
30537 return resultobj;
30538 fail:
30539 return NULL;
30540}
30541
30542
c32bde28 30543static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30544 PyObject *resultobj;
30545 wxMenu *arg1 = (wxMenu *) 0 ;
30546 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
30547 wxMenuItem *result;
30548 PyObject * obj0 = 0 ;
30549 PyObject * obj1 = 0 ;
30550 char *kwnames[] = {
30551 (char *) "self",(char *) "item", NULL
30552 };
30553
30554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30557 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30559 {
30560 PyThreadState* __tstate = wxPyBeginAllowThreads();
30561 result = (wxMenuItem *)(arg1)->Remove(arg2);
30562
30563 wxPyEndAllowThreads(__tstate);
30564 if (PyErr_Occurred()) SWIG_fail;
30565 }
30566 {
412d302d 30567 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30568 }
30569 return resultobj;
30570 fail:
30571 return NULL;
30572}
30573
30574
c32bde28 30575static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30576 PyObject *resultobj;
30577 wxMenu *arg1 = (wxMenu *) 0 ;
30578 int arg2 ;
30579 bool result;
30580 PyObject * obj0 = 0 ;
994141e6 30581 PyObject * obj1 = 0 ;
d14a1e28 30582 char *kwnames[] = {
242b7b46 30583 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30584 };
30585
994141e6 30586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30589 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30590 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30591 {
30592 PyThreadState* __tstate = wxPyBeginAllowThreads();
30593 result = (bool)(arg1)->Delete(arg2);
30594
30595 wxPyEndAllowThreads(__tstate);
30596 if (PyErr_Occurred()) SWIG_fail;
30597 }
4f89f6a3
RD
30598 {
30599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30600 }
d14a1e28
RD
30601 return resultobj;
30602 fail:
30603 return NULL;
30604}
30605
30606
c32bde28 30607static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30608 PyObject *resultobj;
30609 wxMenu *arg1 = (wxMenu *) 0 ;
30610 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
30611 bool result;
30612 PyObject * obj0 = 0 ;
30613 PyObject * obj1 = 0 ;
30614 char *kwnames[] = {
30615 (char *) "self",(char *) "item", NULL
30616 };
30617
30618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30623 {
30624 PyThreadState* __tstate = wxPyBeginAllowThreads();
30625 result = (bool)(arg1)->Delete(arg2);
30626
30627 wxPyEndAllowThreads(__tstate);
30628 if (PyErr_Occurred()) SWIG_fail;
30629 }
4f89f6a3
RD
30630 {
30631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30632 }
d14a1e28
RD
30633 return resultobj;
30634 fail:
30635 return NULL;
30636}
30637
30638
c32bde28 30639static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30640 PyObject *resultobj;
30641 wxMenu *arg1 = (wxMenu *) 0 ;
30642 PyObject * obj0 = 0 ;
30643 char *kwnames[] = {
30644 (char *) "self", NULL
30645 };
30646
30647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
30648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30650 {
30651 PyThreadState* __tstate = wxPyBeginAllowThreads();
30652 wxMenu_Destroy(arg1);
30653
30654 wxPyEndAllowThreads(__tstate);
30655 if (PyErr_Occurred()) SWIG_fail;
30656 }
30657 Py_INCREF(Py_None); resultobj = Py_None;
30658 return resultobj;
30659 fail:
30660 return NULL;
30661}
30662
30663
c32bde28 30664static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30665 PyObject *resultobj;
30666 wxMenu *arg1 = (wxMenu *) 0 ;
30667 int arg2 ;
30668 bool result;
30669 PyObject * obj0 = 0 ;
994141e6 30670 PyObject * obj1 = 0 ;
d14a1e28 30671 char *kwnames[] = {
242b7b46 30672 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30673 };
30674
994141e6 30675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30678 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30679 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30680 {
30681 PyThreadState* __tstate = wxPyBeginAllowThreads();
30682 result = (bool)(arg1)->Destroy(arg2);
30683
30684 wxPyEndAllowThreads(__tstate);
30685 if (PyErr_Occurred()) SWIG_fail;
30686 }
4f89f6a3
RD
30687 {
30688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30689 }
d14a1e28
RD
30690 return resultobj;
30691 fail:
30692 return NULL;
30693}
30694
30695
c32bde28 30696static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30697 PyObject *resultobj;
30698 wxMenu *arg1 = (wxMenu *) 0 ;
30699 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
30700 bool result;
30701 PyObject * obj0 = 0 ;
30702 PyObject * obj1 = 0 ;
30703 char *kwnames[] = {
30704 (char *) "self",(char *) "item", NULL
30705 };
30706
30707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
30711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30712 {
30713 PyThreadState* __tstate = wxPyBeginAllowThreads();
30714 result = (bool)(arg1)->Destroy(arg2);
30715
30716 wxPyEndAllowThreads(__tstate);
30717 if (PyErr_Occurred()) SWIG_fail;
30718 }
4f89f6a3
RD
30719 {
30720 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30721 }
d14a1e28
RD
30722 return resultobj;
30723 fail:
30724 return NULL;
30725}
30726
30727
c32bde28 30728static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30729 PyObject *resultobj;
30730 wxMenu *arg1 = (wxMenu *) 0 ;
30731 size_t result;
30732 PyObject * obj0 = 0 ;
30733 char *kwnames[] = {
30734 (char *) "self", NULL
30735 };
30736
30737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
30738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30740 {
30741 PyThreadState* __tstate = wxPyBeginAllowThreads();
30742 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
30743
30744 wxPyEndAllowThreads(__tstate);
30745 if (PyErr_Occurred()) SWIG_fail;
30746 }
c32bde28 30747 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
30748 return resultobj;
30749 fail:
30750 return NULL;
30751}
30752
30753
c32bde28 30754static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30755 PyObject *resultobj;
30756 wxMenu *arg1 = (wxMenu *) 0 ;
30757 PyObject *result;
30758 PyObject * obj0 = 0 ;
30759 char *kwnames[] = {
30760 (char *) "self", NULL
30761 };
30762
30763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
30764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30766 {
30767 PyThreadState* __tstate = wxPyBeginAllowThreads();
30768 result = (PyObject *)wxMenu_GetMenuItems(arg1);
30769
30770 wxPyEndAllowThreads(__tstate);
30771 if (PyErr_Occurred()) SWIG_fail;
30772 }
30773 resultobj = result;
30774 return resultobj;
30775 fail:
30776 return NULL;
30777}
30778
30779
c32bde28 30780static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30781 PyObject *resultobj;
30782 wxMenu *arg1 = (wxMenu *) 0 ;
30783 wxString *arg2 = 0 ;
30784 int result;
ae8162c8 30785 bool temp2 = false ;
d14a1e28
RD
30786 PyObject * obj0 = 0 ;
30787 PyObject * obj1 = 0 ;
30788 char *kwnames[] = {
30789 (char *) "self",(char *) "item", NULL
30790 };
30791
30792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30795 {
30796 arg2 = wxString_in_helper(obj1);
30797 if (arg2 == NULL) SWIG_fail;
ae8162c8 30798 temp2 = true;
d14a1e28
RD
30799 }
30800 {
30801 PyThreadState* __tstate = wxPyBeginAllowThreads();
30802 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
30803
30804 wxPyEndAllowThreads(__tstate);
30805 if (PyErr_Occurred()) SWIG_fail;
30806 }
c32bde28 30807 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
30808 {
30809 if (temp2)
30810 delete arg2;
30811 }
30812 return resultobj;
30813 fail:
30814 {
30815 if (temp2)
30816 delete arg2;
30817 }
30818 return NULL;
30819}
30820
30821
c32bde28 30822static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30823 PyObject *resultobj;
30824 wxMenu *arg1 = (wxMenu *) 0 ;
30825 int arg2 ;
30826 wxMenuItem *result;
30827 PyObject * obj0 = 0 ;
994141e6 30828 PyObject * obj1 = 0 ;
d14a1e28 30829 char *kwnames[] = {
242b7b46 30830 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30831 };
30832
994141e6 30833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30836 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 30837 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30838 {
30839 PyThreadState* __tstate = wxPyBeginAllowThreads();
30840 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
30841
30842 wxPyEndAllowThreads(__tstate);
30843 if (PyErr_Occurred()) SWIG_fail;
30844 }
30845 {
412d302d 30846 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30847 }
30848 return resultobj;
30849 fail:
30850 return NULL;
30851}
30852
30853
c32bde28 30854static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30855 PyObject *resultobj;
30856 wxMenu *arg1 = (wxMenu *) 0 ;
30857 size_t arg2 ;
30858 wxMenuItem *result;
30859 PyObject * obj0 = 0 ;
30860 PyObject * obj1 = 0 ;
30861 char *kwnames[] = {
30862 (char *) "self",(char *) "position", NULL
30863 };
30864
30865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 30868 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 30869 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30870 {
30871 PyThreadState* __tstate = wxPyBeginAllowThreads();
30872 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
30873
30874 wxPyEndAllowThreads(__tstate);
30875 if (PyErr_Occurred()) SWIG_fail;
30876 }
30877 {
412d302d 30878 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
30879 }
30880 return resultobj;
30881 fail:
30882 return NULL;
30883}
30884
30885
c32bde28 30886static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30887 PyObject *resultobj;
30888 wxMenu *arg1 = (wxMenu *) 0 ;
30889 int arg2 ;
30890 bool arg3 ;
30891 PyObject * obj0 = 0 ;
994141e6 30892 PyObject * obj1 = 0 ;
d14a1e28
RD
30893 PyObject * obj2 = 0 ;
30894 char *kwnames[] = {
242b7b46 30895 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
30896 };
30897
994141e6 30898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) 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;
c32bde28 30903 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 30904 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30905 {
30906 PyThreadState* __tstate = wxPyBeginAllowThreads();
30907 (arg1)->Enable(arg2,arg3);
30908
30909 wxPyEndAllowThreads(__tstate);
30910 if (PyErr_Occurred()) SWIG_fail;
30911 }
30912 Py_INCREF(Py_None); resultobj = Py_None;
30913 return resultobj;
30914 fail:
30915 return NULL;
30916}
30917
30918
c32bde28 30919static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30920 PyObject *resultobj;
30921 wxMenu *arg1 = (wxMenu *) 0 ;
30922 int arg2 ;
30923 bool result;
30924 PyObject * obj0 = 0 ;
994141e6 30925 PyObject * obj1 = 0 ;
d14a1e28 30926 char *kwnames[] = {
242b7b46 30927 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30928 };
30929
994141e6 30930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",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 = (int)SWIG_As_int(obj1);
15afbcd0 30934 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30935 {
30936 PyThreadState* __tstate = wxPyBeginAllowThreads();
30937 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
30938
30939 wxPyEndAllowThreads(__tstate);
30940 if (PyErr_Occurred()) SWIG_fail;
30941 }
4f89f6a3
RD
30942 {
30943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30944 }
d14a1e28
RD
30945 return resultobj;
30946 fail:
30947 return NULL;
30948}
30949
30950
c32bde28 30951static PyObject *_wrap_Menu_Check(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 *) "check", NULL
d14a1e28
RD
30961 };
30962
994141e6 30963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",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)->Check(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_IsChecked(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_IsChecked",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)->IsChecked(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_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31017 PyObject *resultobj;
31018 wxMenu *arg1 = (wxMenu *) 0 ;
31019 int arg2 ;
31020 wxString *arg3 = 0 ;
ae8162c8 31021 bool temp3 = false ;
d14a1e28 31022 PyObject * obj0 = 0 ;
994141e6 31023 PyObject * obj1 = 0 ;
d14a1e28
RD
31024 PyObject * obj2 = 0 ;
31025 char *kwnames[] = {
242b7b46 31026 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
31027 };
31028
994141e6 31029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31032 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 31033 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31034 {
31035 arg3 = wxString_in_helper(obj2);
31036 if (arg3 == NULL) SWIG_fail;
ae8162c8 31037 temp3 = true;
d14a1e28
RD
31038 }
31039 {
31040 PyThreadState* __tstate = wxPyBeginAllowThreads();
31041 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31042
31043 wxPyEndAllowThreads(__tstate);
31044 if (PyErr_Occurred()) SWIG_fail;
31045 }
31046 Py_INCREF(Py_None); resultobj = Py_None;
31047 {
31048 if (temp3)
31049 delete arg3;
31050 }
31051 return resultobj;
31052 fail:
31053 {
31054 if (temp3)
31055 delete arg3;
31056 }
31057 return NULL;
31058}
31059
31060
c32bde28 31061static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31062 PyObject *resultobj;
31063 wxMenu *arg1 = (wxMenu *) 0 ;
31064 int arg2 ;
31065 wxString result;
31066 PyObject * obj0 = 0 ;
994141e6 31067 PyObject * obj1 = 0 ;
d14a1e28 31068 char *kwnames[] = {
242b7b46 31069 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31070 };
31071
994141e6 31072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31075 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 31076 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31077 {
31078 PyThreadState* __tstate = wxPyBeginAllowThreads();
31079 result = ((wxMenu const *)arg1)->GetLabel(arg2);
31080
31081 wxPyEndAllowThreads(__tstate);
31082 if (PyErr_Occurred()) SWIG_fail;
31083 }
31084 {
31085#if wxUSE_UNICODE
31086 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31087#else
31088 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31089#endif
31090 }
31091 return resultobj;
31092 fail:
31093 return NULL;
31094}
31095
31096
c32bde28 31097static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31098 PyObject *resultobj;
31099 wxMenu *arg1 = (wxMenu *) 0 ;
31100 int arg2 ;
31101 wxString *arg3 = 0 ;
ae8162c8 31102 bool temp3 = false ;
d14a1e28 31103 PyObject * obj0 = 0 ;
994141e6 31104 PyObject * obj1 = 0 ;
d14a1e28
RD
31105 PyObject * obj2 = 0 ;
31106 char *kwnames[] = {
242b7b46 31107 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
31108 };
31109
994141e6 31110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31113 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 31114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31115 {
31116 arg3 = wxString_in_helper(obj2);
31117 if (arg3 == NULL) SWIG_fail;
ae8162c8 31118 temp3 = true;
d14a1e28
RD
31119 }
31120 {
31121 PyThreadState* __tstate = wxPyBeginAllowThreads();
31122 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31123
31124 wxPyEndAllowThreads(__tstate);
31125 if (PyErr_Occurred()) SWIG_fail;
31126 }
31127 Py_INCREF(Py_None); resultobj = Py_None;
31128 {
31129 if (temp3)
31130 delete arg3;
31131 }
31132 return resultobj;
31133 fail:
31134 {
31135 if (temp3)
31136 delete arg3;
31137 }
31138 return NULL;
31139}
31140
31141
c32bde28 31142static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31143 PyObject *resultobj;
31144 wxMenu *arg1 = (wxMenu *) 0 ;
31145 int arg2 ;
31146 wxString result;
31147 PyObject * obj0 = 0 ;
994141e6 31148 PyObject * obj1 = 0 ;
d14a1e28 31149 char *kwnames[] = {
242b7b46 31150 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31151 };
31152
994141e6 31153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31156 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 31157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31158 {
31159 PyThreadState* __tstate = wxPyBeginAllowThreads();
31160 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
31161
31162 wxPyEndAllowThreads(__tstate);
31163 if (PyErr_Occurred()) SWIG_fail;
31164 }
31165 {
31166#if wxUSE_UNICODE
31167 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31168#else
31169 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31170#endif
31171 }
31172 return resultobj;
31173 fail:
31174 return NULL;
31175}
31176
31177
c32bde28 31178static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31179 PyObject *resultobj;
31180 wxMenu *arg1 = (wxMenu *) 0 ;
31181 wxString *arg2 = 0 ;
ae8162c8 31182 bool temp2 = false ;
d14a1e28
RD
31183 PyObject * obj0 = 0 ;
31184 PyObject * obj1 = 0 ;
31185 char *kwnames[] = {
31186 (char *) "self",(char *) "title", NULL
31187 };
31188
31189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31192 {
31193 arg2 = wxString_in_helper(obj1);
31194 if (arg2 == NULL) SWIG_fail;
ae8162c8 31195 temp2 = true;
d14a1e28
RD
31196 }
31197 {
31198 PyThreadState* __tstate = wxPyBeginAllowThreads();
31199 (arg1)->SetTitle((wxString const &)*arg2);
31200
31201 wxPyEndAllowThreads(__tstate);
31202 if (PyErr_Occurred()) SWIG_fail;
31203 }
31204 Py_INCREF(Py_None); resultobj = Py_None;
31205 {
31206 if (temp2)
31207 delete arg2;
31208 }
31209 return resultobj;
31210 fail:
31211 {
31212 if (temp2)
31213 delete arg2;
31214 }
31215 return NULL;
31216}
31217
31218
c32bde28 31219static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31220 PyObject *resultobj;
31221 wxMenu *arg1 = (wxMenu *) 0 ;
31222 wxString result;
31223 PyObject * obj0 = 0 ;
31224 char *kwnames[] = {
31225 (char *) "self", NULL
31226 };
31227
31228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
31229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31231 {
31232 PyThreadState* __tstate = wxPyBeginAllowThreads();
31233 result = ((wxMenu const *)arg1)->GetTitle();
31234
31235 wxPyEndAllowThreads(__tstate);
31236 if (PyErr_Occurred()) SWIG_fail;
31237 }
31238 {
31239#if wxUSE_UNICODE
31240 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31241#else
31242 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31243#endif
31244 }
31245 return resultobj;
31246 fail:
31247 return NULL;
31248}
31249
31250
c32bde28 31251static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31252 PyObject *resultobj;
31253 wxMenu *arg1 = (wxMenu *) 0 ;
31254 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
31255 PyObject * obj0 = 0 ;
31256 PyObject * obj1 = 0 ;
31257 char *kwnames[] = {
31258 (char *) "self",(char *) "handler", NULL
31259 };
31260
31261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
31265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31266 {
31267 PyThreadState* __tstate = wxPyBeginAllowThreads();
31268 (arg1)->SetEventHandler(arg2);
31269
31270 wxPyEndAllowThreads(__tstate);
31271 if (PyErr_Occurred()) SWIG_fail;
31272 }
31273 Py_INCREF(Py_None); resultobj = Py_None;
31274 return resultobj;
31275 fail:
31276 return NULL;
31277}
31278
31279
c32bde28 31280static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31281 PyObject *resultobj;
31282 wxMenu *arg1 = (wxMenu *) 0 ;
31283 wxEvtHandler *result;
31284 PyObject * obj0 = 0 ;
31285 char *kwnames[] = {
31286 (char *) "self", NULL
31287 };
31288
31289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
31290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31292 {
31293 PyThreadState* __tstate = wxPyBeginAllowThreads();
31294 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
31295
31296 wxPyEndAllowThreads(__tstate);
31297 if (PyErr_Occurred()) SWIG_fail;
31298 }
31299 {
412d302d 31300 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31301 }
31302 return resultobj;
31303 fail:
31304 return NULL;
31305}
31306
31307
c32bde28 31308static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31309 PyObject *resultobj;
31310 wxMenu *arg1 = (wxMenu *) 0 ;
31311 wxWindow *arg2 = (wxWindow *) 0 ;
31312 PyObject * obj0 = 0 ;
31313 PyObject * obj1 = 0 ;
31314 char *kwnames[] = {
31315 (char *) "self",(char *) "win", NULL
31316 };
31317
31318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31321 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31323 {
31324 PyThreadState* __tstate = wxPyBeginAllowThreads();
31325 (arg1)->SetInvokingWindow(arg2);
31326
31327 wxPyEndAllowThreads(__tstate);
31328 if (PyErr_Occurred()) SWIG_fail;
31329 }
31330 Py_INCREF(Py_None); resultobj = Py_None;
31331 return resultobj;
31332 fail:
31333 return NULL;
31334}
31335
31336
c32bde28 31337static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31338 PyObject *resultobj;
31339 wxMenu *arg1 = (wxMenu *) 0 ;
31340 wxWindow *result;
31341 PyObject * obj0 = 0 ;
31342 char *kwnames[] = {
31343 (char *) "self", NULL
31344 };
31345
31346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
31347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31349 {
31350 PyThreadState* __tstate = wxPyBeginAllowThreads();
31351 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
31352
31353 wxPyEndAllowThreads(__tstate);
31354 if (PyErr_Occurred()) SWIG_fail;
31355 }
31356 {
412d302d 31357 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31358 }
31359 return resultobj;
31360 fail:
31361 return NULL;
31362}
31363
31364
c32bde28 31365static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31366 PyObject *resultobj;
31367 wxMenu *arg1 = (wxMenu *) 0 ;
31368 long result;
31369 PyObject * obj0 = 0 ;
31370 char *kwnames[] = {
31371 (char *) "self", NULL
31372 };
31373
31374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
31375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31377 {
31378 PyThreadState* __tstate = wxPyBeginAllowThreads();
31379 result = (long)((wxMenu const *)arg1)->GetStyle();
31380
31381 wxPyEndAllowThreads(__tstate);
31382 if (PyErr_Occurred()) SWIG_fail;
31383 }
c32bde28 31384 resultobj = SWIG_From_long((long)result);
d14a1e28
RD
31385 return resultobj;
31386 fail:
31387 return NULL;
31388}
31389
31390
c32bde28 31391static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31392 PyObject *resultobj;
31393 wxMenu *arg1 = (wxMenu *) 0 ;
31394 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
31395 PyObject * obj0 = 0 ;
31396 PyObject * obj1 = 0 ;
31397 char *kwnames[] = {
31398 (char *) "self",(char *) "source", NULL
31399 };
31400
31401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31404 if (obj1) {
15afbcd0
RD
31405 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
31406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31407 }
31408 {
31409 PyThreadState* __tstate = wxPyBeginAllowThreads();
31410 (arg1)->UpdateUI(arg2);
31411
31412 wxPyEndAllowThreads(__tstate);
31413 if (PyErr_Occurred()) SWIG_fail;
31414 }
31415 Py_INCREF(Py_None); resultobj = Py_None;
31416 return resultobj;
31417 fail:
31418 return NULL;
31419}
31420
31421
c32bde28 31422static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31423 PyObject *resultobj;
31424 wxMenu *arg1 = (wxMenu *) 0 ;
31425 wxMenuBar *result;
31426 PyObject * obj0 = 0 ;
31427 char *kwnames[] = {
31428 (char *) "self", NULL
31429 };
31430
31431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
31432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31434 {
31435 PyThreadState* __tstate = wxPyBeginAllowThreads();
31436 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
31437
31438 wxPyEndAllowThreads(__tstate);
31439 if (PyErr_Occurred()) SWIG_fail;
31440 }
31441 {
412d302d 31442 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31443 }
31444 return resultobj;
31445 fail:
31446 return NULL;
31447}
31448
31449
c32bde28 31450static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31451 PyObject *resultobj;
31452 wxMenu *arg1 = (wxMenu *) 0 ;
31453 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
31454 PyObject * obj0 = 0 ;
31455 PyObject * obj1 = 0 ;
31456 char *kwnames[] = {
31457 (char *) "self",(char *) "menubar", NULL
31458 };
31459
31460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
31464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31465 {
31466 PyThreadState* __tstate = wxPyBeginAllowThreads();
31467 (arg1)->Attach(arg2);
31468
31469 wxPyEndAllowThreads(__tstate);
31470 if (PyErr_Occurred()) SWIG_fail;
31471 }
31472 Py_INCREF(Py_None); resultobj = Py_None;
31473 return resultobj;
31474 fail:
31475 return NULL;
31476}
31477
31478
c32bde28 31479static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31480 PyObject *resultobj;
31481 wxMenu *arg1 = (wxMenu *) 0 ;
31482 PyObject * obj0 = 0 ;
31483 char *kwnames[] = {
31484 (char *) "self", NULL
31485 };
31486
31487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
31488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31490 {
31491 PyThreadState* __tstate = wxPyBeginAllowThreads();
31492 (arg1)->Detach();
31493
31494 wxPyEndAllowThreads(__tstate);
31495 if (PyErr_Occurred()) SWIG_fail;
31496 }
31497 Py_INCREF(Py_None); resultobj = Py_None;
31498 return resultobj;
31499 fail:
31500 return NULL;
31501}
31502
31503
c32bde28 31504static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31505 PyObject *resultobj;
31506 wxMenu *arg1 = (wxMenu *) 0 ;
31507 bool result;
31508 PyObject * obj0 = 0 ;
31509 char *kwnames[] = {
31510 (char *) "self", NULL
31511 };
31512
31513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
31514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31516 {
31517 PyThreadState* __tstate = wxPyBeginAllowThreads();
31518 result = (bool)((wxMenu const *)arg1)->IsAttached();
31519
31520 wxPyEndAllowThreads(__tstate);
31521 if (PyErr_Occurred()) SWIG_fail;
31522 }
4f89f6a3
RD
31523 {
31524 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31525 }
d14a1e28
RD
31526 return resultobj;
31527 fail:
31528 return NULL;
31529}
31530
31531
c32bde28 31532static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31533 PyObject *resultobj;
31534 wxMenu *arg1 = (wxMenu *) 0 ;
31535 wxMenu *arg2 = (wxMenu *) 0 ;
31536 PyObject * obj0 = 0 ;
31537 PyObject * obj1 = 0 ;
31538 char *kwnames[] = {
31539 (char *) "self",(char *) "parent", NULL
31540 };
31541
31542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31545 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31546 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31547 {
31548 PyThreadState* __tstate = wxPyBeginAllowThreads();
31549 (arg1)->SetParent(arg2);
31550
31551 wxPyEndAllowThreads(__tstate);
31552 if (PyErr_Occurred()) SWIG_fail;
31553 }
31554 Py_INCREF(Py_None); resultobj = Py_None;
31555 return resultobj;
31556 fail:
31557 return NULL;
31558}
31559
31560
c32bde28 31561static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31562 PyObject *resultobj;
31563 wxMenu *arg1 = (wxMenu *) 0 ;
31564 wxMenu *result;
31565 PyObject * obj0 = 0 ;
31566 char *kwnames[] = {
31567 (char *) "self", NULL
31568 };
31569
31570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
31571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31573 {
31574 PyThreadState* __tstate = wxPyBeginAllowThreads();
31575 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
31576
31577 wxPyEndAllowThreads(__tstate);
31578 if (PyErr_Occurred()) SWIG_fail;
31579 }
31580 {
412d302d 31581 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31582 }
31583 return resultobj;
31584 fail:
31585 return NULL;
31586}
31587
31588
c32bde28 31589static PyObject * Menu_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
31590 PyObject *obj;
31591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31592 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
31593 Py_INCREF(obj);
31594 return Py_BuildValue((char *)"");
31595}
c32bde28 31596static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31597 PyObject *resultobj;
31598 long arg1 = (long) 0 ;
31599 wxMenuBar *result;
994141e6 31600 PyObject * obj0 = 0 ;
d14a1e28
RD
31601 char *kwnames[] = {
31602 (char *) "style", NULL
31603 };
31604
994141e6
RD
31605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
31606 if (obj0) {
c32bde28 31607 arg1 = (long)SWIG_As_long(obj0);
15afbcd0 31608 if (PyErr_Occurred()) SWIG_fail;
994141e6 31609 }
d14a1e28 31610 {
e3b71cb8 31611 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
31612 PyThreadState* __tstate = wxPyBeginAllowThreads();
31613 result = (wxMenuBar *)new wxMenuBar(arg1);
31614
31615 wxPyEndAllowThreads(__tstate);
110da5b0 31616 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 31617 }
b0f7404b 31618 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuBar, 1);
d14a1e28
RD
31619 return resultobj;
31620 fail:
31621 return NULL;
31622}
31623
31624
c32bde28 31625static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31626 PyObject *resultobj;
31627 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31628 wxMenu *arg2 = (wxMenu *) 0 ;
31629 wxString *arg3 = 0 ;
31630 bool result;
ae8162c8 31631 bool temp3 = false ;
d14a1e28
RD
31632 PyObject * obj0 = 0 ;
31633 PyObject * obj1 = 0 ;
31634 PyObject * obj2 = 0 ;
31635 char *kwnames[] = {
31636 (char *) "self",(char *) "menu",(char *) "title", NULL
31637 };
31638
31639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31642 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31644 {
31645 arg3 = wxString_in_helper(obj2);
31646 if (arg3 == NULL) SWIG_fail;
ae8162c8 31647 temp3 = true;
d14a1e28
RD
31648 }
31649 {
31650 PyThreadState* __tstate = wxPyBeginAllowThreads();
31651 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
31652
31653 wxPyEndAllowThreads(__tstate);
31654 if (PyErr_Occurred()) SWIG_fail;
31655 }
4f89f6a3
RD
31656 {
31657 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31658 }
d14a1e28
RD
31659 {
31660 if (temp3)
31661 delete arg3;
31662 }
31663 return resultobj;
31664 fail:
31665 {
31666 if (temp3)
31667 delete arg3;
31668 }
31669 return NULL;
31670}
31671
31672
c32bde28 31673static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31674 PyObject *resultobj;
31675 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31676 size_t arg2 ;
31677 wxMenu *arg3 = (wxMenu *) 0 ;
31678 wxString *arg4 = 0 ;
31679 bool result;
ae8162c8 31680 bool temp4 = false ;
d14a1e28
RD
31681 PyObject * obj0 = 0 ;
31682 PyObject * obj1 = 0 ;
31683 PyObject * obj2 = 0 ;
31684 PyObject * obj3 = 0 ;
31685 char *kwnames[] = {
31686 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31687 };
31688
31689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
31690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31692 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0
RD
31693 if (PyErr_Occurred()) SWIG_fail;
31694 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31696 {
31697 arg4 = wxString_in_helper(obj3);
31698 if (arg4 == NULL) SWIG_fail;
ae8162c8 31699 temp4 = true;
d14a1e28
RD
31700 }
31701 {
31702 PyThreadState* __tstate = wxPyBeginAllowThreads();
31703 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
31704
31705 wxPyEndAllowThreads(__tstate);
31706 if (PyErr_Occurred()) SWIG_fail;
31707 }
4f89f6a3
RD
31708 {
31709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31710 }
d14a1e28
RD
31711 {
31712 if (temp4)
31713 delete arg4;
31714 }
31715 return resultobj;
31716 fail:
31717 {
31718 if (temp4)
31719 delete arg4;
31720 }
31721 return NULL;
31722}
31723
31724
c32bde28 31725static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31726 PyObject *resultobj;
31727 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31728 size_t result;
31729 PyObject * obj0 = 0 ;
31730 char *kwnames[] = {
31731 (char *) "self", NULL
31732 };
31733
31734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
31735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31737 {
31738 PyThreadState* __tstate = wxPyBeginAllowThreads();
31739 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
31740
31741 wxPyEndAllowThreads(__tstate);
31742 if (PyErr_Occurred()) SWIG_fail;
31743 }
c32bde28 31744 resultobj = SWIG_From_unsigned_SS_long((unsigned long)result);
d14a1e28
RD
31745 return resultobj;
31746 fail:
31747 return NULL;
31748}
31749
31750
c32bde28 31751static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31752 PyObject *resultobj;
31753 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31754 size_t arg2 ;
31755 wxMenu *result;
31756 PyObject * obj0 = 0 ;
31757 PyObject * obj1 = 0 ;
31758 char *kwnames[] = {
31759 (char *) "self",(char *) "pos", NULL
31760 };
31761
31762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31765 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 31766 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31767 {
31768 PyThreadState* __tstate = wxPyBeginAllowThreads();
31769 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
31770
31771 wxPyEndAllowThreads(__tstate);
31772 if (PyErr_Occurred()) SWIG_fail;
31773 }
31774 {
412d302d 31775 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31776 }
31777 return resultobj;
31778 fail:
31779 return NULL;
31780}
31781
31782
c32bde28 31783static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31784 PyObject *resultobj;
31785 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31786 size_t arg2 ;
31787 wxMenu *arg3 = (wxMenu *) 0 ;
31788 wxString *arg4 = 0 ;
31789 wxMenu *result;
ae8162c8 31790 bool temp4 = false ;
d14a1e28
RD
31791 PyObject * obj0 = 0 ;
31792 PyObject * obj1 = 0 ;
31793 PyObject * obj2 = 0 ;
31794 PyObject * obj3 = 0 ;
31795 char *kwnames[] = {
31796 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31797 };
31798
31799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
31800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31802 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0
RD
31803 if (PyErr_Occurred()) SWIG_fail;
31804 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
31805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31806 {
31807 arg4 = wxString_in_helper(obj3);
31808 if (arg4 == NULL) SWIG_fail;
ae8162c8 31809 temp4 = true;
d14a1e28
RD
31810 }
31811 {
31812 PyThreadState* __tstate = wxPyBeginAllowThreads();
31813 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
31814
31815 wxPyEndAllowThreads(__tstate);
31816 if (PyErr_Occurred()) SWIG_fail;
31817 }
31818 {
412d302d 31819 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31820 }
31821 {
31822 if (temp4)
31823 delete arg4;
31824 }
31825 return resultobj;
31826 fail:
31827 {
31828 if (temp4)
31829 delete arg4;
31830 }
31831 return NULL;
31832}
31833
31834
c32bde28 31835static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31836 PyObject *resultobj;
31837 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31838 size_t arg2 ;
31839 wxMenu *result;
31840 PyObject * obj0 = 0 ;
31841 PyObject * obj1 = 0 ;
31842 char *kwnames[] = {
31843 (char *) "self",(char *) "pos", NULL
31844 };
31845
31846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31849 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 31850 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31851 {
31852 PyThreadState* __tstate = wxPyBeginAllowThreads();
31853 result = (wxMenu *)(arg1)->Remove(arg2);
31854
31855 wxPyEndAllowThreads(__tstate);
31856 if (PyErr_Occurred()) SWIG_fail;
31857 }
31858 {
412d302d 31859 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
31860 }
31861 return resultobj;
31862 fail:
31863 return NULL;
31864}
31865
31866
c32bde28 31867static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31868 PyObject *resultobj;
31869 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31870 size_t arg2 ;
31871 bool arg3 ;
31872 PyObject * obj0 = 0 ;
31873 PyObject * obj1 = 0 ;
31874 PyObject * obj2 = 0 ;
31875 char *kwnames[] = {
31876 (char *) "self",(char *) "pos",(char *) "enable", NULL
31877 };
31878
31879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31882 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 31883 if (PyErr_Occurred()) SWIG_fail;
c32bde28 31884 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 31885 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31886 {
31887 PyThreadState* __tstate = wxPyBeginAllowThreads();
31888 (arg1)->EnableTop(arg2,arg3);
31889
31890 wxPyEndAllowThreads(__tstate);
31891 if (PyErr_Occurred()) SWIG_fail;
31892 }
31893 Py_INCREF(Py_None); resultobj = Py_None;
31894 return resultobj;
31895 fail:
31896 return NULL;
31897}
31898
31899
c32bde28 31900static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31901 PyObject *resultobj;
31902 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31903 size_t arg2 ;
31904 bool 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_IsEnabledTop",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 = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
31919
31920 wxPyEndAllowThreads(__tstate);
31921 if (PyErr_Occurred()) SWIG_fail;
31922 }
4f89f6a3
RD
31923 {
31924 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31925 }
d14a1e28
RD
31926 return resultobj;
31927 fail:
31928 return NULL;
31929}
31930
31931
c32bde28 31932static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31933 PyObject *resultobj;
31934 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31935 size_t arg2 ;
31936 wxString *arg3 = 0 ;
ae8162c8 31937 bool temp3 = false ;
d14a1e28
RD
31938 PyObject * obj0 = 0 ;
31939 PyObject * obj1 = 0 ;
31940 PyObject * obj2 = 0 ;
31941 char *kwnames[] = {
31942 (char *) "self",(char *) "pos",(char *) "label", NULL
31943 };
31944
31945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
31946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31948 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 31949 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31950 {
31951 arg3 = wxString_in_helper(obj2);
31952 if (arg3 == NULL) SWIG_fail;
ae8162c8 31953 temp3 = true;
d14a1e28
RD
31954 }
31955 {
31956 PyThreadState* __tstate = wxPyBeginAllowThreads();
31957 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
31958
31959 wxPyEndAllowThreads(__tstate);
31960 if (PyErr_Occurred()) SWIG_fail;
31961 }
31962 Py_INCREF(Py_None); resultobj = Py_None;
31963 {
31964 if (temp3)
31965 delete arg3;
31966 }
31967 return resultobj;
31968 fail:
31969 {
31970 if (temp3)
31971 delete arg3;
31972 }
31973 return NULL;
31974}
31975
31976
c32bde28 31977static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31978 PyObject *resultobj;
31979 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31980 size_t arg2 ;
31981 wxString result;
31982 PyObject * obj0 = 0 ;
31983 PyObject * obj1 = 0 ;
31984 char *kwnames[] = {
31985 (char *) "self",(char *) "pos", NULL
31986 };
31987
31988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 31991 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 31992 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31993 {
31994 PyThreadState* __tstate = wxPyBeginAllowThreads();
31995 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
31996
31997 wxPyEndAllowThreads(__tstate);
31998 if (PyErr_Occurred()) SWIG_fail;
31999 }
32000 {
32001#if wxUSE_UNICODE
32002 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32003#else
32004 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32005#endif
32006 }
32007 return resultobj;
32008 fail:
32009 return NULL;
32010}
32011
32012
c32bde28 32013static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32014 PyObject *resultobj;
32015 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32016 wxString *arg2 = 0 ;
32017 wxString *arg3 = 0 ;
32018 int result;
ae8162c8
RD
32019 bool temp2 = false ;
32020 bool temp3 = false ;
d14a1e28
RD
32021 PyObject * obj0 = 0 ;
32022 PyObject * obj1 = 0 ;
32023 PyObject * obj2 = 0 ;
32024 char *kwnames[] = {
32025 (char *) "self",(char *) "menu",(char *) "item", NULL
32026 };
32027
32028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32031 {
32032 arg2 = wxString_in_helper(obj1);
32033 if (arg2 == NULL) SWIG_fail;
ae8162c8 32034 temp2 = true;
d14a1e28
RD
32035 }
32036 {
32037 arg3 = wxString_in_helper(obj2);
32038 if (arg3 == NULL) SWIG_fail;
ae8162c8 32039 temp3 = true;
d14a1e28
RD
32040 }
32041 {
32042 PyThreadState* __tstate = wxPyBeginAllowThreads();
32043 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
32044
32045 wxPyEndAllowThreads(__tstate);
32046 if (PyErr_Occurred()) SWIG_fail;
32047 }
c32bde28 32048 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
32049 {
32050 if (temp2)
32051 delete arg2;
32052 }
32053 {
32054 if (temp3)
32055 delete arg3;
32056 }
32057 return resultobj;
32058 fail:
32059 {
32060 if (temp2)
32061 delete arg2;
32062 }
32063 {
32064 if (temp3)
32065 delete arg3;
32066 }
32067 return NULL;
32068}
32069
32070
c32bde28 32071static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32072 PyObject *resultobj;
32073 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32074 int arg2 ;
32075 wxMenuItem *result;
32076 PyObject * obj0 = 0 ;
994141e6 32077 PyObject * obj1 = 0 ;
d14a1e28 32078 char *kwnames[] = {
242b7b46 32079 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32080 };
32081
994141e6 32082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32085 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32087 {
32088 PyThreadState* __tstate = wxPyBeginAllowThreads();
32089 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
32090
32091 wxPyEndAllowThreads(__tstate);
32092 if (PyErr_Occurred()) SWIG_fail;
32093 }
32094 {
412d302d 32095 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
32096 }
32097 return resultobj;
32098 fail:
32099 return NULL;
32100}
32101
32102
c32bde28 32103static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32104 PyObject *resultobj;
32105 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32106 wxString *arg2 = 0 ;
32107 int result;
ae8162c8 32108 bool temp2 = false ;
d14a1e28
RD
32109 PyObject * obj0 = 0 ;
32110 PyObject * obj1 = 0 ;
32111 char *kwnames[] = {
32112 (char *) "self",(char *) "title", NULL
32113 };
32114
32115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32118 {
32119 arg2 = wxString_in_helper(obj1);
32120 if (arg2 == NULL) SWIG_fail;
ae8162c8 32121 temp2 = true;
d14a1e28
RD
32122 }
32123 {
32124 PyThreadState* __tstate = wxPyBeginAllowThreads();
32125 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
32126
32127 wxPyEndAllowThreads(__tstate);
32128 if (PyErr_Occurred()) SWIG_fail;
32129 }
c32bde28 32130 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
32131 {
32132 if (temp2)
32133 delete arg2;
32134 }
32135 return resultobj;
32136 fail:
32137 {
32138 if (temp2)
32139 delete arg2;
32140 }
32141 return NULL;
32142}
32143
32144
c32bde28 32145static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32146 PyObject *resultobj;
32147 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32148 int arg2 ;
32149 bool arg3 ;
32150 PyObject * obj0 = 0 ;
994141e6 32151 PyObject * obj1 = 0 ;
d14a1e28
RD
32152 PyObject * obj2 = 0 ;
32153 char *kwnames[] = {
242b7b46 32154 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
32155 };
32156
994141e6 32157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32160 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32161 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32162 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 32163 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32164 {
32165 PyThreadState* __tstate = wxPyBeginAllowThreads();
32166 (arg1)->Enable(arg2,arg3);
32167
32168 wxPyEndAllowThreads(__tstate);
32169 if (PyErr_Occurred()) SWIG_fail;
32170 }
32171 Py_INCREF(Py_None); resultobj = Py_None;
32172 return resultobj;
32173 fail:
32174 return NULL;
32175}
32176
32177
c32bde28 32178static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32179 PyObject *resultobj;
32180 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32181 int arg2 ;
32182 bool arg3 ;
32183 PyObject * obj0 = 0 ;
994141e6 32184 PyObject * obj1 = 0 ;
d14a1e28
RD
32185 PyObject * obj2 = 0 ;
32186 char *kwnames[] = {
242b7b46 32187 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
32188 };
32189
994141e6 32190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32193 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32194 if (PyErr_Occurred()) SWIG_fail;
c32bde28 32195 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 32196 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32197 {
32198 PyThreadState* __tstate = wxPyBeginAllowThreads();
32199 (arg1)->Check(arg2,arg3);
32200
32201 wxPyEndAllowThreads(__tstate);
32202 if (PyErr_Occurred()) SWIG_fail;
32203 }
32204 Py_INCREF(Py_None); resultobj = Py_None;
32205 return resultobj;
32206 fail:
32207 return NULL;
32208}
32209
32210
c32bde28 32211static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32212 PyObject *resultobj;
32213 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32214 int arg2 ;
32215 bool result;
32216 PyObject * obj0 = 0 ;
994141e6 32217 PyObject * obj1 = 0 ;
d14a1e28 32218 char *kwnames[] = {
242b7b46 32219 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32220 };
32221
994141e6 32222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) 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;
d14a1e28
RD
32227 {
32228 PyThreadState* __tstate = wxPyBeginAllowThreads();
32229 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
32230
32231 wxPyEndAllowThreads(__tstate);
32232 if (PyErr_Occurred()) SWIG_fail;
32233 }
4f89f6a3
RD
32234 {
32235 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32236 }
d14a1e28
RD
32237 return resultobj;
32238 fail:
32239 return NULL;
32240}
32241
32242
c32bde28 32243static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32244 PyObject *resultobj;
32245 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32246 int arg2 ;
32247 bool result;
32248 PyObject * obj0 = 0 ;
994141e6 32249 PyObject * obj1 = 0 ;
d14a1e28 32250 char *kwnames[] = {
242b7b46 32251 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32252 };
32253
994141e6 32254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32257 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32258 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32259 {
32260 PyThreadState* __tstate = wxPyBeginAllowThreads();
32261 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
32262
32263 wxPyEndAllowThreads(__tstate);
32264 if (PyErr_Occurred()) SWIG_fail;
32265 }
4f89f6a3
RD
32266 {
32267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32268 }
d14a1e28
RD
32269 return resultobj;
32270 fail:
32271 return NULL;
32272}
32273
32274
c32bde28 32275static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32276 PyObject *resultobj;
32277 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32278 int arg2 ;
32279 wxString *arg3 = 0 ;
ae8162c8 32280 bool temp3 = false ;
d14a1e28 32281 PyObject * obj0 = 0 ;
994141e6 32282 PyObject * obj1 = 0 ;
d14a1e28
RD
32283 PyObject * obj2 = 0 ;
32284 char *kwnames[] = {
242b7b46 32285 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
32286 };
32287
994141e6 32288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32291 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32292 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32293 {
32294 arg3 = wxString_in_helper(obj2);
32295 if (arg3 == NULL) SWIG_fail;
ae8162c8 32296 temp3 = true;
d14a1e28
RD
32297 }
32298 {
32299 PyThreadState* __tstate = wxPyBeginAllowThreads();
32300 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
32301
32302 wxPyEndAllowThreads(__tstate);
32303 if (PyErr_Occurred()) SWIG_fail;
32304 }
32305 Py_INCREF(Py_None); resultobj = Py_None;
32306 {
32307 if (temp3)
32308 delete arg3;
32309 }
32310 return resultobj;
32311 fail:
32312 {
32313 if (temp3)
32314 delete arg3;
32315 }
32316 return NULL;
32317}
32318
32319
c32bde28 32320static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32321 PyObject *resultobj;
32322 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32323 int arg2 ;
32324 wxString result;
32325 PyObject * obj0 = 0 ;
994141e6 32326 PyObject * obj1 = 0 ;
d14a1e28 32327 char *kwnames[] = {
242b7b46 32328 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32329 };
32330
994141e6 32331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32334 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32335 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32336 {
32337 PyThreadState* __tstate = wxPyBeginAllowThreads();
32338 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
32339
32340 wxPyEndAllowThreads(__tstate);
32341 if (PyErr_Occurred()) SWIG_fail;
32342 }
32343 {
32344#if wxUSE_UNICODE
32345 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32346#else
32347 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32348#endif
32349 }
32350 return resultobj;
32351 fail:
32352 return NULL;
32353}
32354
32355
c32bde28 32356static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32357 PyObject *resultobj;
32358 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32359 int arg2 ;
32360 wxString *arg3 = 0 ;
ae8162c8 32361 bool temp3 = false ;
d14a1e28 32362 PyObject * obj0 = 0 ;
994141e6 32363 PyObject * obj1 = 0 ;
d14a1e28
RD
32364 PyObject * obj2 = 0 ;
32365 char *kwnames[] = {
242b7b46 32366 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
32367 };
32368
994141e6 32369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32372 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32373 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32374 {
32375 arg3 = wxString_in_helper(obj2);
32376 if (arg3 == NULL) SWIG_fail;
ae8162c8 32377 temp3 = true;
d14a1e28
RD
32378 }
32379 {
32380 PyThreadState* __tstate = wxPyBeginAllowThreads();
32381 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
32382
32383 wxPyEndAllowThreads(__tstate);
32384 if (PyErr_Occurred()) SWIG_fail;
32385 }
32386 Py_INCREF(Py_None); resultobj = Py_None;
32387 {
32388 if (temp3)
32389 delete arg3;
32390 }
32391 return resultobj;
32392 fail:
32393 {
32394 if (temp3)
32395 delete arg3;
32396 }
32397 return NULL;
32398}
32399
32400
c32bde28 32401static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32402 PyObject *resultobj;
32403 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32404 int arg2 ;
32405 wxString result;
32406 PyObject * obj0 = 0 ;
994141e6 32407 PyObject * obj1 = 0 ;
d14a1e28 32408 char *kwnames[] = {
242b7b46 32409 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32410 };
32411
994141e6 32412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32415 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32417 {
32418 PyThreadState* __tstate = wxPyBeginAllowThreads();
32419 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
32420
32421 wxPyEndAllowThreads(__tstate);
32422 if (PyErr_Occurred()) SWIG_fail;
32423 }
32424 {
32425#if wxUSE_UNICODE
32426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32427#else
32428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32429#endif
32430 }
32431 return resultobj;
32432 fail:
32433 return NULL;
32434}
32435
32436
c32bde28 32437static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32438 PyObject *resultobj;
32439 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32440 wxFrame *result;
32441 PyObject * obj0 = 0 ;
32442 char *kwnames[] = {
32443 (char *) "self", NULL
32444 };
32445
32446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
32447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32449 {
32450 PyThreadState* __tstate = wxPyBeginAllowThreads();
32451 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
32452
32453 wxPyEndAllowThreads(__tstate);
32454 if (PyErr_Occurred()) SWIG_fail;
32455 }
32456 {
412d302d 32457 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
32458 }
32459 return resultobj;
32460 fail:
32461 return NULL;
32462}
32463
32464
c32bde28 32465static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32466 PyObject *resultobj;
32467 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32468 bool result;
32469 PyObject * obj0 = 0 ;
32470 char *kwnames[] = {
32471 (char *) "self", NULL
32472 };
32473
32474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
32475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32477 {
32478 PyThreadState* __tstate = wxPyBeginAllowThreads();
32479 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
32480
32481 wxPyEndAllowThreads(__tstate);
32482 if (PyErr_Occurred()) SWIG_fail;
32483 }
4f89f6a3
RD
32484 {
32485 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32486 }
d14a1e28
RD
32487 return resultobj;
32488 fail:
32489 return NULL;
32490}
32491
32492
c32bde28 32493static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32494 PyObject *resultobj;
32495 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32496 wxFrame *arg2 = (wxFrame *) 0 ;
32497 PyObject * obj0 = 0 ;
32498 PyObject * obj1 = 0 ;
32499 char *kwnames[] = {
32500 (char *) "self",(char *) "frame", NULL
32501 };
32502
32503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32506 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
32507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32508 {
32509 PyThreadState* __tstate = wxPyBeginAllowThreads();
32510 (arg1)->Attach(arg2);
32511
32512 wxPyEndAllowThreads(__tstate);
32513 if (PyErr_Occurred()) SWIG_fail;
32514 }
32515 Py_INCREF(Py_None); resultobj = Py_None;
32516 return resultobj;
32517 fail:
32518 return NULL;
32519}
32520
32521
c32bde28 32522static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32523 PyObject *resultobj;
32524 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
32525 PyObject * obj0 = 0 ;
32526 char *kwnames[] = {
32527 (char *) "self", NULL
32528 };
32529
32530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
32531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
32532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32533 {
32534 PyThreadState* __tstate = wxPyBeginAllowThreads();
32535 (arg1)->Detach();
32536
32537 wxPyEndAllowThreads(__tstate);
32538 if (PyErr_Occurred()) SWIG_fail;
32539 }
32540 Py_INCREF(Py_None); resultobj = Py_None;
32541 return resultobj;
32542 fail:
32543 return NULL;
32544}
32545
32546
c32bde28 32547static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32548 PyObject *obj;
32549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32550 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
32551 Py_INCREF(obj);
32552 return Py_BuildValue((char *)"");
32553}
c32bde28 32554static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32555 PyObject *resultobj;
32556 wxMenu *arg1 = (wxMenu *) NULL ;
a95a7133 32557 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
32558 wxString const &arg3_defvalue = wxPyEmptyString ;
32559 wxString *arg3 = (wxString *) &arg3_defvalue ;
32560 wxString const &arg4_defvalue = wxPyEmptyString ;
32561 wxString *arg4 = (wxString *) &arg4_defvalue ;
32562 int arg5 = (int) wxITEM_NORMAL ;
32563 wxMenu *arg6 = (wxMenu *) NULL ;
32564 wxMenuItem *result;
ae8162c8
RD
32565 bool temp3 = false ;
32566 bool temp4 = false ;
d14a1e28 32567 PyObject * obj0 = 0 ;
994141e6 32568 PyObject * obj1 = 0 ;
d14a1e28
RD
32569 PyObject * obj2 = 0 ;
32570 PyObject * obj3 = 0 ;
994141e6 32571 PyObject * obj4 = 0 ;
d14a1e28
RD
32572 PyObject * obj5 = 0 ;
32573 char *kwnames[] = {
32574 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
32575 };
32576
994141e6 32577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 32578 if (obj0) {
15afbcd0
RD
32579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
32580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32581 }
994141e6 32582 if (obj1) {
c32bde28 32583 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32584 if (PyErr_Occurred()) SWIG_fail;
994141e6 32585 }
d14a1e28
RD
32586 if (obj2) {
32587 {
32588 arg3 = wxString_in_helper(obj2);
32589 if (arg3 == NULL) SWIG_fail;
ae8162c8 32590 temp3 = true;
d14a1e28
RD
32591 }
32592 }
32593 if (obj3) {
32594 {
32595 arg4 = wxString_in_helper(obj3);
32596 if (arg4 == NULL) SWIG_fail;
ae8162c8 32597 temp4 = true;
d14a1e28
RD
32598 }
32599 }
994141e6 32600 if (obj4) {
c32bde28 32601 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 32602 if (PyErr_Occurred()) SWIG_fail;
994141e6 32603 }
d14a1e28 32604 if (obj5) {
15afbcd0
RD
32605 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
32606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32607 }
32608 {
32609 PyThreadState* __tstate = wxPyBeginAllowThreads();
32610 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
32611
32612 wxPyEndAllowThreads(__tstate);
32613 if (PyErr_Occurred()) SWIG_fail;
32614 }
32615 {
412d302d 32616 resultobj = wxPyMake_wxObject(result, 1);
d14a1e28
RD
32617 }
32618 {
32619 if (temp3)
32620 delete arg3;
32621 }
32622 {
32623 if (temp4)
32624 delete arg4;
32625 }
32626 return resultobj;
32627 fail:
32628 {
32629 if (temp3)
32630 delete arg3;
32631 }
32632 {
32633 if (temp4)
32634 delete arg4;
32635 }
32636 return NULL;
32637}
32638
32639
c32bde28 32640static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32641 PyObject *resultobj;
32642 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32643 wxMenu *result;
32644 PyObject * obj0 = 0 ;
32645 char *kwnames[] = {
32646 (char *) "self", NULL
32647 };
32648
32649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
32650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32652 {
32653 PyThreadState* __tstate = wxPyBeginAllowThreads();
32654 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
32655
32656 wxPyEndAllowThreads(__tstate);
32657 if (PyErr_Occurred()) SWIG_fail;
32658 }
32659 {
412d302d 32660 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
32661 }
32662 return resultobj;
32663 fail:
32664 return NULL;
32665}
32666
32667
c32bde28 32668static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32669 PyObject *resultobj;
32670 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32671 wxMenu *arg2 = (wxMenu *) 0 ;
32672 PyObject * obj0 = 0 ;
32673 PyObject * obj1 = 0 ;
32674 char *kwnames[] = {
32675 (char *) "self",(char *) "menu", NULL
32676 };
32677
32678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32683 {
32684 PyThreadState* __tstate = wxPyBeginAllowThreads();
32685 (arg1)->SetMenu(arg2);
32686
32687 wxPyEndAllowThreads(__tstate);
32688 if (PyErr_Occurred()) SWIG_fail;
32689 }
32690 Py_INCREF(Py_None); resultobj = Py_None;
32691 return resultobj;
32692 fail:
32693 return NULL;
32694}
32695
32696
c32bde28 32697static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32698 PyObject *resultobj;
32699 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32700 int arg2 ;
32701 PyObject * obj0 = 0 ;
994141e6 32702 PyObject * obj1 = 0 ;
d14a1e28 32703 char *kwnames[] = {
242b7b46 32704 (char *) "self",(char *) "id", NULL
d14a1e28
RD
32705 };
32706
994141e6 32707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32710 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 32711 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32712 {
32713 PyThreadState* __tstate = wxPyBeginAllowThreads();
32714 (arg1)->SetId(arg2);
32715
32716 wxPyEndAllowThreads(__tstate);
32717 if (PyErr_Occurred()) SWIG_fail;
32718 }
32719 Py_INCREF(Py_None); resultobj = Py_None;
32720 return resultobj;
32721 fail:
32722 return NULL;
32723}
32724
32725
c32bde28 32726static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32727 PyObject *resultobj;
32728 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32729 int result;
32730 PyObject * obj0 = 0 ;
32731 char *kwnames[] = {
32732 (char *) "self", NULL
32733 };
32734
32735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
32736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32738 {
32739 PyThreadState* __tstate = wxPyBeginAllowThreads();
32740 result = (int)((wxMenuItem const *)arg1)->GetId();
32741
32742 wxPyEndAllowThreads(__tstate);
32743 if (PyErr_Occurred()) SWIG_fail;
32744 }
c32bde28 32745 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
32746 return resultobj;
32747 fail:
32748 return NULL;
32749}
32750
32751
c32bde28 32752static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32753 PyObject *resultobj;
32754 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32755 bool result;
32756 PyObject * obj0 = 0 ;
32757 char *kwnames[] = {
32758 (char *) "self", NULL
32759 };
32760
32761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
32762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32764 {
32765 PyThreadState* __tstate = wxPyBeginAllowThreads();
32766 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
32767
32768 wxPyEndAllowThreads(__tstate);
32769 if (PyErr_Occurred()) SWIG_fail;
32770 }
4f89f6a3
RD
32771 {
32772 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32773 }
d14a1e28
RD
32774 return resultobj;
32775 fail:
32776 return NULL;
32777}
32778
32779
c32bde28 32780static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32781 PyObject *resultobj;
32782 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32783 wxString *arg2 = 0 ;
ae8162c8 32784 bool temp2 = false ;
d14a1e28
RD
32785 PyObject * obj0 = 0 ;
32786 PyObject * obj1 = 0 ;
32787 char *kwnames[] = {
32788 (char *) "self",(char *) "str", NULL
32789 };
32790
32791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32794 {
32795 arg2 = wxString_in_helper(obj1);
32796 if (arg2 == NULL) SWIG_fail;
ae8162c8 32797 temp2 = true;
d14a1e28
RD
32798 }
32799 {
32800 PyThreadState* __tstate = wxPyBeginAllowThreads();
32801 (arg1)->SetText((wxString const &)*arg2);
32802
32803 wxPyEndAllowThreads(__tstate);
32804 if (PyErr_Occurred()) SWIG_fail;
32805 }
32806 Py_INCREF(Py_None); resultobj = Py_None;
32807 {
32808 if (temp2)
32809 delete arg2;
32810 }
32811 return resultobj;
32812 fail:
32813 {
32814 if (temp2)
32815 delete arg2;
32816 }
32817 return NULL;
32818}
32819
32820
c32bde28 32821static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32822 PyObject *resultobj;
32823 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32824 wxString result;
32825 PyObject * obj0 = 0 ;
32826 char *kwnames[] = {
32827 (char *) "self", NULL
32828 };
32829
32830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
32831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32833 {
32834 PyThreadState* __tstate = wxPyBeginAllowThreads();
32835 result = ((wxMenuItem const *)arg1)->GetLabel();
32836
32837 wxPyEndAllowThreads(__tstate);
32838 if (PyErr_Occurred()) SWIG_fail;
32839 }
32840 {
32841#if wxUSE_UNICODE
32842 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32843#else
32844 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32845#endif
32846 }
32847 return resultobj;
32848 fail:
32849 return NULL;
32850}
32851
32852
c32bde28 32853static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32854 PyObject *resultobj;
32855 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32856 wxString *result;
32857 PyObject * obj0 = 0 ;
32858 char *kwnames[] = {
32859 (char *) "self", NULL
32860 };
32861
32862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
32863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32865 {
32866 PyThreadState* __tstate = wxPyBeginAllowThreads();
32867 {
32868 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
32869 result = (wxString *) &_result_ref;
32870 }
32871
32872 wxPyEndAllowThreads(__tstate);
32873 if (PyErr_Occurred()) SWIG_fail;
32874 }
cc6dd355
RD
32875 {
32876#if wxUSE_UNICODE
32877 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32878#else
32879 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32880#endif
32881 }
d14a1e28
RD
32882 return resultobj;
32883 fail:
32884 return NULL;
32885}
32886
32887
c32bde28 32888static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32889 PyObject *resultobj;
32890 wxString *arg1 = 0 ;
32891 wxString result;
ae8162c8 32892 bool temp1 = false ;
d14a1e28
RD
32893 PyObject * obj0 = 0 ;
32894 char *kwnames[] = {
32895 (char *) "text", NULL
32896 };
32897
32898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
32899 {
32900 arg1 = wxString_in_helper(obj0);
32901 if (arg1 == NULL) SWIG_fail;
ae8162c8 32902 temp1 = true;
d14a1e28
RD
32903 }
32904 {
32905 PyThreadState* __tstate = wxPyBeginAllowThreads();
32906 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
32907
32908 wxPyEndAllowThreads(__tstate);
32909 if (PyErr_Occurred()) SWIG_fail;
32910 }
32911 {
32912#if wxUSE_UNICODE
32913 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32914#else
32915 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32916#endif
32917 }
32918 {
32919 if (temp1)
32920 delete arg1;
32921 }
32922 return resultobj;
32923 fail:
32924 {
32925 if (temp1)
32926 delete arg1;
32927 }
32928 return NULL;
32929}
32930
32931
c32bde28 32932static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32933 PyObject *resultobj;
32934 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32935 int result;
32936 PyObject * obj0 = 0 ;
32937 char *kwnames[] = {
32938 (char *) "self", NULL
32939 };
32940
32941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
32942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32944 {
32945 PyThreadState* __tstate = wxPyBeginAllowThreads();
32946 result = (int)((wxMenuItem const *)arg1)->GetKind();
32947
32948 wxPyEndAllowThreads(__tstate);
32949 if (PyErr_Occurred()) SWIG_fail;
32950 }
c32bde28 32951 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
32952 return resultobj;
32953 fail:
32954 return NULL;
32955}
32956
32957
c32bde28 32958static PyObject *_wrap_MenuItem_SetKind(PyObject *, PyObject *args, PyObject *kwargs) {
a95a7133
RD
32959 PyObject *resultobj;
32960 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32961 int arg2 ;
32962 PyObject * obj0 = 0 ;
32963 PyObject * obj1 = 0 ;
32964 char *kwnames[] = {
32965 (char *) "self",(char *) "kind", NULL
32966 };
32967
32968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetKind",kwnames,&obj0,&obj1)) goto fail;
32969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 32971 arg2 = (int)SWIG_As_int(obj1);
a95a7133
RD
32972 if (PyErr_Occurred()) SWIG_fail;
32973 {
32974 PyThreadState* __tstate = wxPyBeginAllowThreads();
32975 (arg1)->SetKind((wxItemKind )arg2);
32976
32977 wxPyEndAllowThreads(__tstate);
32978 if (PyErr_Occurred()) SWIG_fail;
32979 }
32980 Py_INCREF(Py_None); resultobj = Py_None;
32981 return resultobj;
32982 fail:
32983 return NULL;
32984}
32985
32986
c32bde28 32987static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32988 PyObject *resultobj;
32989 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32990 bool arg2 ;
32991 PyObject * obj0 = 0 ;
32992 PyObject * obj1 = 0 ;
32993 char *kwnames[] = {
32994 (char *) "self",(char *) "checkable", NULL
32995 };
32996
32997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 33000 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 33001 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33002 {
33003 PyThreadState* __tstate = wxPyBeginAllowThreads();
33004 (arg1)->SetCheckable(arg2);
33005
33006 wxPyEndAllowThreads(__tstate);
33007 if (PyErr_Occurred()) SWIG_fail;
33008 }
33009 Py_INCREF(Py_None); resultobj = Py_None;
33010 return resultobj;
33011 fail:
33012 return NULL;
33013}
33014
33015
c32bde28 33016static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33017 PyObject *resultobj;
33018 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33019 bool result;
33020 PyObject * obj0 = 0 ;
33021 char *kwnames[] = {
33022 (char *) "self", NULL
33023 };
33024
33025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
15afbcd0
RD
33026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33028 {
33029 PyThreadState* __tstate = wxPyBeginAllowThreads();
33030 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
33031
33032 wxPyEndAllowThreads(__tstate);
33033 if (PyErr_Occurred()) SWIG_fail;
33034 }
4f89f6a3
RD
33035 {
33036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33037 }
d14a1e28
RD
33038 return resultobj;
33039 fail:
33040 return NULL;
33041}
33042
33043
c32bde28 33044static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33045 PyObject *resultobj;
33046 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33047 bool result;
33048 PyObject * obj0 = 0 ;
33049 char *kwnames[] = {
33050 (char *) "self", NULL
33051 };
33052
33053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
33054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33056 {
33057 PyThreadState* __tstate = wxPyBeginAllowThreads();
33058 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
33059
33060 wxPyEndAllowThreads(__tstate);
33061 if (PyErr_Occurred()) SWIG_fail;
33062 }
4f89f6a3
RD
33063 {
33064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33065 }
d14a1e28
RD
33066 return resultobj;
33067 fail:
33068 return NULL;
33069}
33070
33071
c32bde28 33072static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33073 PyObject *resultobj;
33074 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33075 wxMenu *arg2 = (wxMenu *) 0 ;
33076 PyObject * obj0 = 0 ;
33077 PyObject * obj1 = 0 ;
33078 char *kwnames[] = {
33079 (char *) "self",(char *) "menu", NULL
33080 };
33081
33082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33085 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
33086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33087 {
33088 PyThreadState* __tstate = wxPyBeginAllowThreads();
33089 (arg1)->SetSubMenu(arg2);
33090
33091 wxPyEndAllowThreads(__tstate);
33092 if (PyErr_Occurred()) SWIG_fail;
33093 }
33094 Py_INCREF(Py_None); resultobj = Py_None;
33095 return resultobj;
33096 fail:
33097 return NULL;
33098}
33099
33100
c32bde28 33101static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33102 PyObject *resultobj;
33103 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33104 wxMenu *result;
33105 PyObject * obj0 = 0 ;
33106 char *kwnames[] = {
33107 (char *) "self", NULL
33108 };
33109
33110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
33111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33113 {
33114 PyThreadState* __tstate = wxPyBeginAllowThreads();
33115 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
33116
33117 wxPyEndAllowThreads(__tstate);
33118 if (PyErr_Occurred()) SWIG_fail;
33119 }
33120 {
412d302d 33121 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
33122 }
33123 return resultobj;
33124 fail:
33125 return NULL;
33126}
33127
33128
c32bde28 33129static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33130 PyObject *resultobj;
33131 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
ae8162c8 33132 bool arg2 = (bool) true ;
d14a1e28
RD
33133 PyObject * obj0 = 0 ;
33134 PyObject * obj1 = 0 ;
33135 char *kwnames[] = {
33136 (char *) "self",(char *) "enable", NULL
33137 };
33138
33139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33142 if (obj1) {
c32bde28 33143 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 33144 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33145 }
33146 {
33147 PyThreadState* __tstate = wxPyBeginAllowThreads();
33148 (arg1)->Enable(arg2);
33149
33150 wxPyEndAllowThreads(__tstate);
33151 if (PyErr_Occurred()) SWIG_fail;
33152 }
33153 Py_INCREF(Py_None); resultobj = Py_None;
33154 return resultobj;
33155 fail:
33156 return NULL;
33157}
33158
33159
c32bde28 33160static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33161 PyObject *resultobj;
33162 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33163 bool result;
33164 PyObject * obj0 = 0 ;
33165 char *kwnames[] = {
33166 (char *) "self", NULL
33167 };
33168
33169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
33170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33172 {
33173 PyThreadState* __tstate = wxPyBeginAllowThreads();
33174 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
33175
33176 wxPyEndAllowThreads(__tstate);
33177 if (PyErr_Occurred()) SWIG_fail;
33178 }
4f89f6a3
RD
33179 {
33180 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33181 }
d14a1e28
RD
33182 return resultobj;
33183 fail:
33184 return NULL;
33185}
33186
33187
c32bde28 33188static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33189 PyObject *resultobj;
33190 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
ae8162c8 33191 bool arg2 = (bool) true ;
d14a1e28
RD
33192 PyObject * obj0 = 0 ;
33193 PyObject * obj1 = 0 ;
33194 char *kwnames[] = {
33195 (char *) "self",(char *) "check", NULL
33196 };
33197
33198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33201 if (obj1) {
c32bde28 33202 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 33203 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33204 }
33205 {
33206 PyThreadState* __tstate = wxPyBeginAllowThreads();
33207 (arg1)->Check(arg2);
33208
33209 wxPyEndAllowThreads(__tstate);
33210 if (PyErr_Occurred()) SWIG_fail;
33211 }
33212 Py_INCREF(Py_None); resultobj = Py_None;
33213 return resultobj;
33214 fail:
33215 return NULL;
33216}
33217
33218
c32bde28 33219static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33220 PyObject *resultobj;
33221 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33222 bool result;
33223 PyObject * obj0 = 0 ;
33224 char *kwnames[] = {
33225 (char *) "self", NULL
33226 };
33227
33228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
33229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33231 {
33232 PyThreadState* __tstate = wxPyBeginAllowThreads();
33233 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
33234
33235 wxPyEndAllowThreads(__tstate);
33236 if (PyErr_Occurred()) SWIG_fail;
33237 }
4f89f6a3
RD
33238 {
33239 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33240 }
d14a1e28
RD
33241 return resultobj;
33242 fail:
33243 return NULL;
33244}
33245
33246
c32bde28 33247static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33248 PyObject *resultobj;
33249 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33250 PyObject * obj0 = 0 ;
33251 char *kwnames[] = {
33252 (char *) "self", NULL
33253 };
33254
33255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
33256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33258 {
33259 PyThreadState* __tstate = wxPyBeginAllowThreads();
33260 (arg1)->Toggle();
33261
33262 wxPyEndAllowThreads(__tstate);
33263 if (PyErr_Occurred()) SWIG_fail;
33264 }
33265 Py_INCREF(Py_None); resultobj = Py_None;
33266 return resultobj;
33267 fail:
33268 return NULL;
33269}
33270
33271
c32bde28 33272static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33273 PyObject *resultobj;
33274 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33275 wxString *arg2 = 0 ;
ae8162c8 33276 bool temp2 = false ;
d14a1e28
RD
33277 PyObject * obj0 = 0 ;
33278 PyObject * obj1 = 0 ;
33279 char *kwnames[] = {
33280 (char *) "self",(char *) "str", NULL
33281 };
33282
33283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33286 {
33287 arg2 = wxString_in_helper(obj1);
33288 if (arg2 == NULL) SWIG_fail;
ae8162c8 33289 temp2 = true;
d14a1e28
RD
33290 }
33291 {
33292 PyThreadState* __tstate = wxPyBeginAllowThreads();
33293 (arg1)->SetHelp((wxString const &)*arg2);
33294
33295 wxPyEndAllowThreads(__tstate);
33296 if (PyErr_Occurred()) SWIG_fail;
33297 }
33298 Py_INCREF(Py_None); resultobj = Py_None;
33299 {
33300 if (temp2)
33301 delete arg2;
33302 }
33303 return resultobj;
33304 fail:
33305 {
33306 if (temp2)
33307 delete arg2;
33308 }
33309 return NULL;
33310}
33311
33312
c32bde28 33313static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33314 PyObject *resultobj;
33315 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33316 wxString *result;
33317 PyObject * obj0 = 0 ;
33318 char *kwnames[] = {
33319 (char *) "self", NULL
33320 };
33321
33322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
33323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33325 {
33326 PyThreadState* __tstate = wxPyBeginAllowThreads();
33327 {
33328 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
33329 result = (wxString *) &_result_ref;
33330 }
33331
33332 wxPyEndAllowThreads(__tstate);
33333 if (PyErr_Occurred()) SWIG_fail;
33334 }
cc6dd355
RD
33335 {
33336#if wxUSE_UNICODE
33337 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
33338#else
33339 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
33340#endif
33341 }
d14a1e28
RD
33342 return resultobj;
33343 fail:
33344 return NULL;
33345}
33346
33347
c32bde28 33348static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33349 PyObject *resultobj;
33350 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33351 wxAcceleratorEntry *result;
33352 PyObject * obj0 = 0 ;
33353 char *kwnames[] = {
33354 (char *) "self", NULL
33355 };
33356
33357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
15afbcd0
RD
33358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33360 {
33361 PyThreadState* __tstate = wxPyBeginAllowThreads();
33362 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
33363
33364 wxPyEndAllowThreads(__tstate);
33365 if (PyErr_Occurred()) SWIG_fail;
33366 }
15afbcd0 33367 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
33368 return resultobj;
33369 fail:
33370 return NULL;
33371}
33372
33373
c32bde28 33374static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33375 PyObject *resultobj;
33376 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33377 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
33378 PyObject * obj0 = 0 ;
33379 PyObject * obj1 = 0 ;
33380 char *kwnames[] = {
33381 (char *) "self",(char *) "accel", NULL
33382 };
33383
33384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
33388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33389 {
33390 PyThreadState* __tstate = wxPyBeginAllowThreads();
33391 (arg1)->SetAccel(arg2);
33392
33393 wxPyEndAllowThreads(__tstate);
33394 if (PyErr_Occurred()) SWIG_fail;
33395 }
33396 Py_INCREF(Py_None); resultobj = Py_None;
33397 return resultobj;
33398 fail:
33399 return NULL;
33400}
33401
33402
c32bde28 33403static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33404 PyObject *resultobj;
33405 int result;
33406 char *kwnames[] = {
33407 NULL
33408 };
33409
33410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
33411 {
33412 PyThreadState* __tstate = wxPyBeginAllowThreads();
33413 result = (int)MenuItem_GetDefaultMarginWidth();
33414
33415 wxPyEndAllowThreads(__tstate);
33416 if (PyErr_Occurred()) SWIG_fail;
33417 }
c32bde28 33418 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
33419 return resultobj;
33420 fail:
33421 return NULL;
33422}
33423
33424
c32bde28 33425static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33426 PyObject *resultobj;
33427 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33428 wxBitmap *arg2 = 0 ;
33429 PyObject * obj0 = 0 ;
33430 PyObject * obj1 = 0 ;
33431 char *kwnames[] = {
33432 (char *) "self",(char *) "bitmap", NULL
33433 };
33434
33435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
33439 SWIG_POINTER_EXCEPTION | 0)) == -1)
33440 SWIG_fail;
d14a1e28 33441 if (arg2 == NULL) {
15afbcd0
RD
33442 PyErr_SetString(PyExc_TypeError,"null reference");
33443 SWIG_fail;
d14a1e28
RD
33444 }
33445 {
33446 PyThreadState* __tstate = wxPyBeginAllowThreads();
33447 (arg1)->SetBitmap((wxBitmap const &)*arg2);
33448
33449 wxPyEndAllowThreads(__tstate);
33450 if (PyErr_Occurred()) SWIG_fail;
33451 }
33452 Py_INCREF(Py_None); resultobj = Py_None;
33453 return resultobj;
33454 fail:
33455 return NULL;
33456}
33457
33458
c32bde28 33459static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33460 PyObject *resultobj;
33461 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
33462 wxBitmap *result;
33463 PyObject * obj0 = 0 ;
33464 char *kwnames[] = {
33465 (char *) "self", NULL
33466 };
33467
33468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
33469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
33470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33471 {
33472 PyThreadState* __tstate = wxPyBeginAllowThreads();
33473 {
33474 wxBitmap const &_result_ref = (arg1)->GetBitmap();
33475 result = (wxBitmap *) &_result_ref;
33476 }
33477
33478 wxPyEndAllowThreads(__tstate);
33479 if (PyErr_Occurred()) SWIG_fail;
33480 }
4276dc52
RD
33481 {
33482 wxBitmap* resultptr = new wxBitmap(*result);
33483 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
33484 }
d14a1e28
RD
33485 return resultobj;
33486 fail:
33487 return NULL;
33488}
33489
33490
c32bde28 33491static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33492 PyObject *obj;
33493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33494 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
33495 Py_INCREF(obj);
33496 return Py_BuildValue((char *)"");
33497}
c32bde28 33498static int _wrap_ControlNameStr_set(PyObject *) {
b2dc1044
RD
33499 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
33500 return 1;
33501}
33502
33503
33504static PyObject *_wrap_ControlNameStr_get() {
33505 PyObject *pyobj;
33506
33507 {
33508#if wxUSE_UNICODE
33509 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
33510#else
33511 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
33512#endif
33513 }
33514 return pyobj;
33515}
33516
33517
c32bde28 33518static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33519 PyObject *resultobj;
33520 wxWindow *arg1 = (wxWindow *) 0 ;
248ed943 33521 int arg2 = (int) -1 ;
d14a1e28
RD
33522 wxPoint const &arg3_defvalue = wxDefaultPosition ;
33523 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
33524 wxSize const &arg4_defvalue = wxDefaultSize ;
33525 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
33526 long arg5 = (long) 0 ;
33527 wxValidator const &arg6_defvalue = wxDefaultValidator ;
33528 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
33529 wxString const &arg7_defvalue = wxPyControlNameStr ;
33530 wxString *arg7 = (wxString *) &arg7_defvalue ;
33531 wxControl *result;
33532 wxPoint temp3 ;
33533 wxSize temp4 ;
ae8162c8 33534 bool temp7 = false ;
d14a1e28 33535 PyObject * obj0 = 0 ;
994141e6 33536 PyObject * obj1 = 0 ;
d14a1e28
RD
33537 PyObject * obj2 = 0 ;
33538 PyObject * obj3 = 0 ;
994141e6 33539 PyObject * obj4 = 0 ;
d14a1e28
RD
33540 PyObject * obj5 = 0 ;
33541 PyObject * obj6 = 0 ;
33542 char *kwnames[] = {
33543 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33544 };
33545
248ed943 33546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
33547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
33548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 33549 if (obj1) {
c32bde28 33550 arg2 = (int)SWIG_As_int(obj1);
248ed943
RD
33551 if (PyErr_Occurred()) SWIG_fail;
33552 }
d14a1e28
RD
33553 if (obj2) {
33554 {
33555 arg3 = &temp3;
33556 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
33557 }
33558 }
33559 if (obj3) {
33560 {
33561 arg4 = &temp4;
33562 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
33563 }
33564 }
994141e6 33565 if (obj4) {
c32bde28 33566 arg5 = (long)SWIG_As_long(obj4);
15afbcd0 33567 if (PyErr_Occurred()) SWIG_fail;
994141e6 33568 }
d14a1e28 33569 if (obj5) {
15afbcd0
RD
33570 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
33571 SWIG_POINTER_EXCEPTION | 0)) == -1)
33572 SWIG_fail;
d14a1e28 33573 if (arg6 == NULL) {
15afbcd0
RD
33574 PyErr_SetString(PyExc_TypeError,"null reference");
33575 SWIG_fail;
d14a1e28
RD
33576 }
33577 }
33578 if (obj6) {
33579 {
33580 arg7 = wxString_in_helper(obj6);
33581 if (arg7 == NULL) SWIG_fail;
ae8162c8 33582 temp7 = true;
d14a1e28
RD
33583 }
33584 }
33585 {
e3b71cb8 33586 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33587 PyThreadState* __tstate = wxPyBeginAllowThreads();
33588 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
33589
33590 wxPyEndAllowThreads(__tstate);
110da5b0 33591 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33592 }
b0f7404b 33593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d14a1e28
RD
33594 {
33595 if (temp7)
33596 delete arg7;
33597 }
33598 return resultobj;
33599 fail:
33600 {
33601 if (temp7)
33602 delete arg7;
33603 }
33604 return NULL;
33605}
33606
33607
c32bde28 33608static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33609 PyObject *resultobj;
33610 wxControl *result;
33611 char *kwnames[] = {
33612 NULL
33613 };
33614
33615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
33616 {
e3b71cb8 33617 if (!wxPyCheckForApp()) SWIG_fail;
d14a1e28
RD
33618 PyThreadState* __tstate = wxPyBeginAllowThreads();
33619 result = (wxControl *)new wxControl();
33620
33621 wxPyEndAllowThreads(__tstate);
110da5b0 33622 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33623 }
b0f7404b 33624 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxControl, 1);
d14a1e28
RD
33625 return resultobj;
33626 fail:
33627 return NULL;
33628}
33629
33630
c32bde28 33631static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33632 PyObject *resultobj;
33633 wxControl *arg1 = (wxControl *) 0 ;
33634 wxWindow *arg2 = (wxWindow *) 0 ;
248ed943 33635 int arg3 = (int) -1 ;
d14a1e28
RD
33636 wxPoint const &arg4_defvalue = wxDefaultPosition ;
33637 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
33638 wxSize const &arg5_defvalue = wxDefaultSize ;
33639 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
33640 long arg6 = (long) 0 ;
33641 wxValidator const &arg7_defvalue = wxDefaultValidator ;
33642 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
33643 wxString const &arg8_defvalue = wxPyControlNameStr ;
33644 wxString *arg8 = (wxString *) &arg8_defvalue ;
33645 bool result;
33646 wxPoint temp4 ;
33647 wxSize temp5 ;
ae8162c8 33648 bool temp8 = false ;
d14a1e28
RD
33649 PyObject * obj0 = 0 ;
33650 PyObject * obj1 = 0 ;
994141e6 33651 PyObject * obj2 = 0 ;
d14a1e28
RD
33652 PyObject * obj3 = 0 ;
33653 PyObject * obj4 = 0 ;
994141e6 33654 PyObject * obj5 = 0 ;
d14a1e28
RD
33655 PyObject * obj6 = 0 ;
33656 PyObject * obj7 = 0 ;
33657 char *kwnames[] = {
33658 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33659 };
33660
248ed943 33661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
33662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
33665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
248ed943 33666 if (obj2) {
c32bde28 33667 arg3 = (int)SWIG_As_int(obj2);
248ed943
RD
33668 if (PyErr_Occurred()) SWIG_fail;
33669 }
d14a1e28
RD
33670 if (obj3) {
33671 {
33672 arg4 = &temp4;
33673 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
33674 }
33675 }
33676 if (obj4) {
33677 {
33678 arg5 = &temp5;
33679 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
33680 }
33681 }
994141e6 33682 if (obj5) {
c32bde28 33683 arg6 = (long)SWIG_As_long(obj5);
15afbcd0 33684 if (PyErr_Occurred()) SWIG_fail;
994141e6 33685 }
d14a1e28 33686 if (obj6) {
15afbcd0
RD
33687 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
33688 SWIG_POINTER_EXCEPTION | 0)) == -1)
33689 SWIG_fail;
d14a1e28 33690 if (arg7 == NULL) {
15afbcd0
RD
33691 PyErr_SetString(PyExc_TypeError,"null reference");
33692 SWIG_fail;
d14a1e28
RD
33693 }
33694 }
33695 if (obj7) {
33696 {
33697 arg8 = wxString_in_helper(obj7);
33698 if (arg8 == NULL) SWIG_fail;
ae8162c8 33699 temp8 = true;
d14a1e28
RD
33700 }
33701 }
33702 {
33703 PyThreadState* __tstate = wxPyBeginAllowThreads();
33704 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
33705
33706 wxPyEndAllowThreads(__tstate);
33707 if (PyErr_Occurred()) SWIG_fail;
33708 }
4f89f6a3
RD
33709 {
33710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33711 }
d14a1e28
RD
33712 {
33713 if (temp8)
33714 delete arg8;
33715 }
33716 return resultobj;
33717 fail:
33718 {
33719 if (temp8)
33720 delete arg8;
33721 }
33722 return NULL;
33723}
33724
33725
c32bde28 33726static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33727 PyObject *resultobj;
33728 wxControl *arg1 = (wxControl *) 0 ;
33729 wxCommandEvent *arg2 = 0 ;
33730 PyObject * obj0 = 0 ;
33731 PyObject * obj1 = 0 ;
33732 char *kwnames[] = {
33733 (char *) "self",(char *) "event", NULL
33734 };
33735
33736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
33740 SWIG_POINTER_EXCEPTION | 0)) == -1)
33741 SWIG_fail;
d14a1e28 33742 if (arg2 == NULL) {
15afbcd0
RD
33743 PyErr_SetString(PyExc_TypeError,"null reference");
33744 SWIG_fail;
d14a1e28
RD
33745 }
33746 {
33747 PyThreadState* __tstate = wxPyBeginAllowThreads();
33748 (arg1)->Command(*arg2);
33749
33750 wxPyEndAllowThreads(__tstate);
33751 if (PyErr_Occurred()) SWIG_fail;
33752 }
33753 Py_INCREF(Py_None); resultobj = Py_None;
33754 return resultobj;
33755 fail:
33756 return NULL;
33757}
33758
33759
c32bde28 33760static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33761 PyObject *resultobj;
33762 wxControl *arg1 = (wxControl *) 0 ;
33763 wxString result;
33764 PyObject * obj0 = 0 ;
33765 char *kwnames[] = {
33766 (char *) "self", NULL
33767 };
33768
33769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
33770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33772 {
33773 PyThreadState* __tstate = wxPyBeginAllowThreads();
33774 result = (arg1)->GetLabel();
33775
33776 wxPyEndAllowThreads(__tstate);
33777 if (PyErr_Occurred()) SWIG_fail;
33778 }
33779 {
33780#if wxUSE_UNICODE
33781 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33782#else
33783 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33784#endif
33785 }
33786 return resultobj;
33787 fail:
33788 return NULL;
33789}
33790
33791
c32bde28 33792static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33793 PyObject *resultobj;
33794 wxControl *arg1 = (wxControl *) 0 ;
33795 wxString *arg2 = 0 ;
ae8162c8 33796 bool temp2 = false ;
d14a1e28
RD
33797 PyObject * obj0 = 0 ;
33798 PyObject * obj1 = 0 ;
33799 char *kwnames[] = {
33800 (char *) "self",(char *) "label", NULL
33801 };
33802
33803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
33805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33806 {
33807 arg2 = wxString_in_helper(obj1);
33808 if (arg2 == NULL) SWIG_fail;
ae8162c8 33809 temp2 = true;
d14a1e28
RD
33810 }
33811 {
33812 PyThreadState* __tstate = wxPyBeginAllowThreads();
33813 (arg1)->SetLabel((wxString const &)*arg2);
33814
33815 wxPyEndAllowThreads(__tstate);
33816 if (PyErr_Occurred()) SWIG_fail;
33817 }
33818 Py_INCREF(Py_None); resultobj = Py_None;
33819 {
33820 if (temp2)
33821 delete arg2;
33822 }
33823 return resultobj;
33824 fail:
33825 {
33826 if (temp2)
33827 delete arg2;
33828 }
33829 return NULL;
33830}
33831
33832
c32bde28 33833static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
74a57fcd
RD
33834 PyObject *resultobj;
33835 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
33836 wxVisualAttributes result;
33837 PyObject * obj0 = 0 ;
33838 char *kwnames[] = {
33839 (char *) "variant", NULL
33840 };
33841
33842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
33843 if (obj0) {
c32bde28 33844 arg1 = (int)SWIG_As_int(obj0);
74a57fcd
RD
33845 if (PyErr_Occurred()) SWIG_fail;
33846 }
33847 {
110da5b0 33848 if (!wxPyCheckForApp()) SWIG_fail;
74a57fcd
RD
33849 PyThreadState* __tstate = wxPyBeginAllowThreads();
33850 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
33851
33852 wxPyEndAllowThreads(__tstate);
dfbb5885 33853 if (PyErr_Occurred()) SWIG_fail;
74a57fcd
RD
33854 }
33855 {
33856 wxVisualAttributes * resultptr;
33857 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
33858 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
33859 }
33860 return resultobj;
33861 fail:
33862 return NULL;
33863}
33864
33865
c32bde28 33866static PyObject * Control_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33867 PyObject *obj;
33868 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33869 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
33870 Py_INCREF(obj);
33871 return Py_BuildValue((char *)"");
33872}
c32bde28 33873static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33874 PyObject *resultobj;
33875 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33876 wxString *arg2 = 0 ;
33877 PyObject *arg3 = (PyObject *) NULL ;
33878 int result;
ae8162c8 33879 bool temp2 = false ;
d14a1e28
RD
33880 PyObject * obj0 = 0 ;
33881 PyObject * obj1 = 0 ;
33882 PyObject * obj2 = 0 ;
33883 char *kwnames[] = {
33884 (char *) "self",(char *) "item",(char *) "clientData", NULL
33885 };
33886
33887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33890 {
33891 arg2 = wxString_in_helper(obj1);
33892 if (arg2 == NULL) SWIG_fail;
ae8162c8 33893 temp2 = true;
d14a1e28
RD
33894 }
33895 if (obj2) {
33896 arg3 = obj2;
33897 }
33898 {
33899 PyThreadState* __tstate = wxPyBeginAllowThreads();
33900 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
33901
33902 wxPyEndAllowThreads(__tstate);
33903 if (PyErr_Occurred()) SWIG_fail;
33904 }
c32bde28 33905 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
33906 {
33907 if (temp2)
33908 delete arg2;
33909 }
33910 return resultobj;
33911 fail:
33912 {
33913 if (temp2)
33914 delete arg2;
33915 }
33916 return NULL;
33917}
33918
33919
c32bde28 33920static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33921 PyObject *resultobj;
33922 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33923 wxArrayString *arg2 = 0 ;
ae8162c8 33924 bool temp2 = false ;
d14a1e28
RD
33925 PyObject * obj0 = 0 ;
33926 PyObject * obj1 = 0 ;
33927 char *kwnames[] = {
33928 (char *) "self",(char *) "strings", NULL
33929 };
33930
33931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33934 {
33935 if (! PySequence_Check(obj1)) {
33936 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
33937 SWIG_fail;
33938 }
33939 arg2 = new wxArrayString;
ae8162c8 33940 temp2 = true;
d14a1e28
RD
33941 int i, len=PySequence_Length(obj1);
33942 for (i=0; i<len; i++) {
33943 PyObject* item = PySequence_GetItem(obj1, i);
33944#if wxUSE_UNICODE
33945 PyObject* str = PyObject_Unicode(item);
33946#else
33947 PyObject* str = PyObject_Str(item);
33948#endif
74a57fcd 33949 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33950 arg2->Add(Py2wxString(str));
33951 Py_DECREF(item);
33952 Py_DECREF(str);
33953 }
33954 }
33955 {
33956 PyThreadState* __tstate = wxPyBeginAllowThreads();
33957 (arg1)->Append((wxArrayString const &)*arg2);
33958
33959 wxPyEndAllowThreads(__tstate);
33960 if (PyErr_Occurred()) SWIG_fail;
33961 }
33962 Py_INCREF(Py_None); resultobj = Py_None;
33963 {
3adfb63b 33964 if (temp2) delete arg2;
d14a1e28
RD
33965 }
33966 return resultobj;
33967 fail:
33968 {
3adfb63b 33969 if (temp2) delete arg2;
d14a1e28
RD
33970 }
33971 return NULL;
33972}
33973
33974
c32bde28 33975static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33976 PyObject *resultobj;
33977 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33978 wxString *arg2 = 0 ;
33979 int arg3 ;
33980 PyObject *arg4 = (PyObject *) NULL ;
33981 int result;
ae8162c8 33982 bool temp2 = false ;
d14a1e28
RD
33983 PyObject * obj0 = 0 ;
33984 PyObject * obj1 = 0 ;
994141e6 33985 PyObject * obj2 = 0 ;
d14a1e28
RD
33986 PyObject * obj3 = 0 ;
33987 char *kwnames[] = {
33988 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33989 };
33990
994141e6 33991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
33992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33994 {
33995 arg2 = wxString_in_helper(obj1);
33996 if (arg2 == NULL) SWIG_fail;
ae8162c8 33997 temp2 = true;
d14a1e28 33998 }
c32bde28 33999 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 34000 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34001 if (obj3) {
34002 arg4 = obj3;
34003 }
34004 {
34005 PyThreadState* __tstate = wxPyBeginAllowThreads();
34006 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
34007
34008 wxPyEndAllowThreads(__tstate);
34009 if (PyErr_Occurred()) SWIG_fail;
34010 }
c32bde28 34011 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
34012 {
34013 if (temp2)
34014 delete arg2;
34015 }
34016 return resultobj;
34017 fail:
34018 {
34019 if (temp2)
34020 delete arg2;
34021 }
34022 return NULL;
34023}
34024
34025
c32bde28 34026static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34027 PyObject *resultobj;
34028 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34029 PyObject * obj0 = 0 ;
34030 char *kwnames[] = {
34031 (char *) "self", NULL
34032 };
34033
34034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
34035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34037 {
34038 PyThreadState* __tstate = wxPyBeginAllowThreads();
34039 (arg1)->Clear();
34040
34041 wxPyEndAllowThreads(__tstate);
34042 if (PyErr_Occurred()) SWIG_fail;
34043 }
34044 Py_INCREF(Py_None); resultobj = Py_None;
34045 return resultobj;
34046 fail:
34047 return NULL;
34048}
34049
34050
c32bde28 34051static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34052 PyObject *resultobj;
34053 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34054 int arg2 ;
34055 PyObject * obj0 = 0 ;
994141e6 34056 PyObject * obj1 = 0 ;
d14a1e28
RD
34057 char *kwnames[] = {
34058 (char *) "self",(char *) "n", NULL
34059 };
34060
994141e6 34061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34064 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34065 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34066 {
34067 PyThreadState* __tstate = wxPyBeginAllowThreads();
34068 (arg1)->Delete(arg2);
34069
34070 wxPyEndAllowThreads(__tstate);
34071 if (PyErr_Occurred()) SWIG_fail;
34072 }
34073 Py_INCREF(Py_None); resultobj = Py_None;
34074 return resultobj;
34075 fail:
34076 return NULL;
34077}
34078
34079
c32bde28 34080static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34081 PyObject *resultobj;
34082 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34083 int result;
34084 PyObject * obj0 = 0 ;
34085 char *kwnames[] = {
34086 (char *) "self", NULL
34087 };
34088
34089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
34090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34092 {
34093 PyThreadState* __tstate = wxPyBeginAllowThreads();
34094 result = (int)((wxItemContainer const *)arg1)->GetCount();
34095
34096 wxPyEndAllowThreads(__tstate);
34097 if (PyErr_Occurred()) SWIG_fail;
34098 }
c32bde28 34099 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
34100 return resultobj;
34101 fail:
34102 return NULL;
34103}
34104
34105
c32bde28 34106static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34107 PyObject *resultobj;
34108 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34109 bool result;
34110 PyObject * obj0 = 0 ;
34111 char *kwnames[] = {
34112 (char *) "self", NULL
34113 };
34114
34115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
15afbcd0
RD
34116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34118 {
34119 PyThreadState* __tstate = wxPyBeginAllowThreads();
34120 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
34121
34122 wxPyEndAllowThreads(__tstate);
34123 if (PyErr_Occurred()) SWIG_fail;
34124 }
4f89f6a3
RD
34125 {
34126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34127 }
d14a1e28
RD
34128 return resultobj;
34129 fail:
34130 return NULL;
34131}
34132
34133
c32bde28 34134static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34135 PyObject *resultobj;
34136 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34137 int arg2 ;
34138 wxString result;
34139 PyObject * obj0 = 0 ;
994141e6 34140 PyObject * obj1 = 0 ;
d14a1e28
RD
34141 char *kwnames[] = {
34142 (char *) "self",(char *) "n", NULL
34143 };
34144
994141e6 34145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34148 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34149 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34150 {
34151 PyThreadState* __tstate = wxPyBeginAllowThreads();
34152 result = ((wxItemContainer const *)arg1)->GetString(arg2);
34153
34154 wxPyEndAllowThreads(__tstate);
34155 if (PyErr_Occurred()) SWIG_fail;
34156 }
34157 {
34158#if wxUSE_UNICODE
34159 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34160#else
34161 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34162#endif
34163 }
34164 return resultobj;
34165 fail:
34166 return NULL;
34167}
34168
34169
c32bde28 34170static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34171 PyObject *resultobj;
34172 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34173 wxArrayString result;
34174 PyObject * obj0 = 0 ;
34175 char *kwnames[] = {
34176 (char *) "self", NULL
34177 };
34178
34179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
15afbcd0
RD
34180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34182 {
34183 PyThreadState* __tstate = wxPyBeginAllowThreads();
34184 result = ((wxItemContainer const *)arg1)->GetStrings();
34185
34186 wxPyEndAllowThreads(__tstate);
34187 if (PyErr_Occurred()) SWIG_fail;
34188 }
34189 {
34190 resultobj = wxArrayString2PyList_helper(result);
34191 }
34192 return resultobj;
34193 fail:
34194 return NULL;
34195}
34196
34197
c32bde28 34198static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34199 PyObject *resultobj;
34200 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34201 int arg2 ;
34202 wxString *arg3 = 0 ;
ae8162c8 34203 bool temp3 = false ;
d14a1e28 34204 PyObject * obj0 = 0 ;
994141e6 34205 PyObject * obj1 = 0 ;
d14a1e28
RD
34206 PyObject * obj2 = 0 ;
34207 char *kwnames[] = {
34208 (char *) "self",(char *) "n",(char *) "s", NULL
34209 };
34210
994141e6 34211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34214 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34216 {
34217 arg3 = wxString_in_helper(obj2);
34218 if (arg3 == NULL) SWIG_fail;
ae8162c8 34219 temp3 = true;
d14a1e28
RD
34220 }
34221 {
34222 PyThreadState* __tstate = wxPyBeginAllowThreads();
34223 (arg1)->SetString(arg2,(wxString const &)*arg3);
34224
34225 wxPyEndAllowThreads(__tstate);
34226 if (PyErr_Occurred()) SWIG_fail;
34227 }
34228 Py_INCREF(Py_None); resultobj = Py_None;
34229 {
34230 if (temp3)
34231 delete arg3;
34232 }
34233 return resultobj;
34234 fail:
34235 {
34236 if (temp3)
34237 delete arg3;
34238 }
34239 return NULL;
34240}
34241
34242
c32bde28 34243static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34244 PyObject *resultobj;
34245 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34246 wxString *arg2 = 0 ;
34247 int result;
ae8162c8 34248 bool temp2 = false ;
d14a1e28
RD
34249 PyObject * obj0 = 0 ;
34250 PyObject * obj1 = 0 ;
34251 char *kwnames[] = {
34252 (char *) "self",(char *) "s", NULL
34253 };
34254
34255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34258 {
34259 arg2 = wxString_in_helper(obj1);
34260 if (arg2 == NULL) SWIG_fail;
ae8162c8 34261 temp2 = true;
d14a1e28
RD
34262 }
34263 {
34264 PyThreadState* __tstate = wxPyBeginAllowThreads();
34265 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
34266
34267 wxPyEndAllowThreads(__tstate);
34268 if (PyErr_Occurred()) SWIG_fail;
34269 }
c32bde28 34270 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
34271 {
34272 if (temp2)
34273 delete arg2;
34274 }
34275 return resultobj;
34276 fail:
34277 {
34278 if (temp2)
34279 delete arg2;
34280 }
34281 return NULL;
34282}
34283
34284
c32bde28 34285static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34286 PyObject *resultobj;
34287 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34288 int arg2 ;
34289 PyObject * obj0 = 0 ;
994141e6 34290 PyObject * obj1 = 0 ;
d14a1e28
RD
34291 char *kwnames[] = {
34292 (char *) "self",(char *) "n", NULL
34293 };
34294
994141e6 34295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34298 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34299 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34300 {
34301 PyThreadState* __tstate = wxPyBeginAllowThreads();
34302 (arg1)->Select(arg2);
34303
34304 wxPyEndAllowThreads(__tstate);
34305 if (PyErr_Occurred()) SWIG_fail;
34306 }
34307 Py_INCREF(Py_None); resultobj = Py_None;
34308 return resultobj;
34309 fail:
34310 return NULL;
34311}
34312
34313
c32bde28 34314static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34315 PyObject *resultobj;
34316 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34317 int result;
34318 PyObject * obj0 = 0 ;
34319 char *kwnames[] = {
34320 (char *) "self", NULL
34321 };
34322
34323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
34324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34326 {
34327 PyThreadState* __tstate = wxPyBeginAllowThreads();
34328 result = (int)((wxItemContainer const *)arg1)->GetSelection();
34329
34330 wxPyEndAllowThreads(__tstate);
34331 if (PyErr_Occurred()) SWIG_fail;
34332 }
c32bde28 34333 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
34334 return resultobj;
34335 fail:
34336 return NULL;
34337}
34338
34339
c32bde28 34340static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34341 PyObject *resultobj;
34342 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34343 wxString result;
34344 PyObject * obj0 = 0 ;
34345 char *kwnames[] = {
34346 (char *) "self", NULL
34347 };
34348
34349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
34350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34352 {
34353 PyThreadState* __tstate = wxPyBeginAllowThreads();
34354 result = ((wxItemContainer const *)arg1)->GetStringSelection();
34355
34356 wxPyEndAllowThreads(__tstate);
34357 if (PyErr_Occurred()) SWIG_fail;
34358 }
34359 {
34360#if wxUSE_UNICODE
34361 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
34362#else
34363 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
34364#endif
34365 }
34366 return resultobj;
34367 fail:
34368 return NULL;
34369}
34370
34371
c32bde28 34372static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34373 PyObject *resultobj;
34374 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34375 int arg2 ;
34376 PyObject *result;
34377 PyObject * obj0 = 0 ;
994141e6 34378 PyObject * obj1 = 0 ;
d14a1e28
RD
34379 char *kwnames[] = {
34380 (char *) "self",(char *) "n", NULL
34381 };
34382
994141e6 34383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34386 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34387 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34388 {
34389 PyThreadState* __tstate = wxPyBeginAllowThreads();
34390 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
34391
34392 wxPyEndAllowThreads(__tstate);
34393 if (PyErr_Occurred()) SWIG_fail;
34394 }
34395 resultobj = result;
34396 return resultobj;
34397 fail:
34398 return NULL;
34399}
34400
34401
c32bde28 34402static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34403 PyObject *resultobj;
34404 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
34405 int arg2 ;
34406 PyObject *arg3 = (PyObject *) 0 ;
34407 PyObject * obj0 = 0 ;
994141e6 34408 PyObject * obj1 = 0 ;
d14a1e28
RD
34409 PyObject * obj2 = 0 ;
34410 char *kwnames[] = {
34411 (char *) "self",(char *) "n",(char *) "clientData", NULL
34412 };
34413
994141e6 34414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
34416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34417 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34419 arg3 = obj2;
34420 {
34421 PyThreadState* __tstate = wxPyBeginAllowThreads();
34422 wxItemContainer_SetClientData(arg1,arg2,arg3);
34423
34424 wxPyEndAllowThreads(__tstate);
34425 if (PyErr_Occurred()) SWIG_fail;
34426 }
34427 Py_INCREF(Py_None); resultobj = Py_None;
34428 return resultobj;
34429 fail:
34430 return NULL;
34431}
34432
34433
c32bde28 34434static PyObject * ItemContainer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34435 PyObject *obj;
34436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34437 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
34438 Py_INCREF(obj);
34439 return Py_BuildValue((char *)"");
34440}
c32bde28 34441static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34442 PyObject *obj;
34443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34444 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
34445 Py_INCREF(obj);
34446 return Py_BuildValue((char *)"");
34447}
c32bde28 34448static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34449 PyObject *resultobj;
34450 wxSizerItem *result;
34451 char *kwnames[] = {
34452 NULL
34453 };
34454
34455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
34456 {
34457 PyThreadState* __tstate = wxPyBeginAllowThreads();
34458 result = (wxSizerItem *)new wxSizerItem();
34459
34460 wxPyEndAllowThreads(__tstate);
34461 if (PyErr_Occurred()) SWIG_fail;
34462 }
15afbcd0 34463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
34464 return resultobj;
34465 fail:
34466 return NULL;
34467}
34468
34469
c32bde28 34470static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 34471 PyObject *resultobj;
248ed943 34472 wxWindow *arg1 = (wxWindow *) 0 ;
d14a1e28
RD
34473 int arg2 ;
34474 int arg3 ;
34475 int arg4 ;
248ed943 34476 PyObject *arg5 = (PyObject *) NULL ;
d14a1e28 34477 wxSizerItem *result;
994141e6
RD
34478 PyObject * obj0 = 0 ;
34479 PyObject * obj1 = 0 ;
34480 PyObject * obj2 = 0 ;
34481 PyObject * obj3 = 0 ;
34482 PyObject * obj4 = 0 ;
d14a1e28 34483 char *kwnames[] = {
248ed943 34484 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d14a1e28
RD
34485 };
34486
248ed943
RD
34487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
34488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
34489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34490 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34491 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34492 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 34493 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34494 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 34495 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
34496 if (obj4) {
34497 arg5 = obj4;
34498 }
d14a1e28
RD
34499 {
34500 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 34501 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
34502
34503 wxPyEndAllowThreads(__tstate);
34504 if (PyErr_Occurred()) SWIG_fail;
34505 }
15afbcd0 34506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
34507 return resultobj;
34508 fail:
34509 return NULL;
34510}
34511
34512
c32bde28 34513static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 34514 PyObject *resultobj;
248ed943 34515 int arg1 ;
d14a1e28
RD
34516 int arg2 ;
34517 int arg3 ;
34518 int arg4 ;
248ed943
RD
34519 int arg5 ;
34520 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
34521 wxSizerItem *result;
34522 PyObject * obj0 = 0 ;
994141e6
RD
34523 PyObject * obj1 = 0 ;
34524 PyObject * obj2 = 0 ;
34525 PyObject * obj3 = 0 ;
d14a1e28 34526 PyObject * obj4 = 0 ;
248ed943 34527 PyObject * obj5 = 0 ;
d14a1e28 34528 char *kwnames[] = {
248ed943 34529 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
d14a1e28
RD
34530 };
34531
248ed943 34532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
c32bde28 34533 arg1 = (int)SWIG_As_int(obj0);
248ed943 34534 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34535 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34536 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34537 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 34538 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34539 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 34540 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34541 arg5 = (int)SWIG_As_int(obj4);
248ed943
RD
34542 if (PyErr_Occurred()) SWIG_fail;
34543 if (obj5) {
34544 arg6 = obj5;
34545 }
d14a1e28
RD
34546 {
34547 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 34548 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
34549
34550 wxPyEndAllowThreads(__tstate);
34551 if (PyErr_Occurred()) SWIG_fail;
34552 }
15afbcd0 34553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
34554 return resultobj;
34555 fail:
34556 return NULL;
34557}
34558
34559
c32bde28 34560static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34561 PyObject *resultobj;
34562 wxSizer *arg1 = (wxSizer *) 0 ;
34563 int arg2 ;
34564 int arg3 ;
34565 int arg4 ;
248ed943 34566 PyObject *arg5 = (PyObject *) NULL ;
d14a1e28
RD
34567 wxSizerItem *result;
34568 PyObject * obj0 = 0 ;
994141e6
RD
34569 PyObject * obj1 = 0 ;
34570 PyObject * obj2 = 0 ;
34571 PyObject * obj3 = 0 ;
d14a1e28
RD
34572 PyObject * obj4 = 0 ;
34573 char *kwnames[] = {
34574 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34575 };
34576
248ed943 34577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
34578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34580 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34581 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34582 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 34583 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34584 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 34585 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
34586 if (obj4) {
34587 arg5 = obj4;
34588 }
d14a1e28
RD
34589 {
34590 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 34591 result = (wxSizerItem *)new_wxSizerItem(arg1,arg2,arg3,arg4,arg5);
d14a1e28
RD
34592
34593 wxPyEndAllowThreads(__tstate);
34594 if (PyErr_Occurred()) SWIG_fail;
34595 }
15afbcd0 34596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
34597 return resultobj;
34598 fail:
34599 return NULL;
34600}
34601
34602
c32bde28 34603static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34604 PyObject *resultobj;
34605 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34606 PyObject * obj0 = 0 ;
34607 char *kwnames[] = {
34608 (char *) "self", NULL
34609 };
34610
34611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
34612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34614 {
34615 PyThreadState* __tstate = wxPyBeginAllowThreads();
34616 (arg1)->DeleteWindows();
34617
34618 wxPyEndAllowThreads(__tstate);
34619 if (PyErr_Occurred()) SWIG_fail;
34620 }
34621 Py_INCREF(Py_None); resultobj = Py_None;
34622 return resultobj;
34623 fail:
34624 return NULL;
34625}
34626
34627
c32bde28 34628static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34629 PyObject *resultobj;
34630 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34631 PyObject * obj0 = 0 ;
34632 char *kwnames[] = {
34633 (char *) "self", NULL
34634 };
34635
34636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
34637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34639 {
34640 PyThreadState* __tstate = wxPyBeginAllowThreads();
34641 (arg1)->DetachSizer();
34642
34643 wxPyEndAllowThreads(__tstate);
34644 if (PyErr_Occurred()) SWIG_fail;
34645 }
34646 Py_INCREF(Py_None); resultobj = Py_None;
34647 return resultobj;
34648 fail:
34649 return NULL;
34650}
34651
34652
c32bde28 34653static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34654 PyObject *resultobj;
34655 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34656 wxSize result;
34657 PyObject * obj0 = 0 ;
34658 char *kwnames[] = {
34659 (char *) "self", NULL
34660 };
34661
34662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34665 {
34666 PyThreadState* __tstate = wxPyBeginAllowThreads();
34667 result = (arg1)->GetSize();
34668
34669 wxPyEndAllowThreads(__tstate);
34670 if (PyErr_Occurred()) SWIG_fail;
34671 }
34672 {
34673 wxSize * resultptr;
34674 resultptr = new wxSize((wxSize &) result);
15afbcd0 34675 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34676 }
34677 return resultobj;
34678 fail:
34679 return NULL;
34680}
34681
34682
c32bde28 34683static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34684 PyObject *resultobj;
34685 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34686 wxSize result;
34687 PyObject * obj0 = 0 ;
34688 char *kwnames[] = {
34689 (char *) "self", NULL
34690 };
34691
34692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
34693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34695 {
34696 PyThreadState* __tstate = wxPyBeginAllowThreads();
34697 result = (arg1)->CalcMin();
34698
34699 wxPyEndAllowThreads(__tstate);
34700 if (PyErr_Occurred()) SWIG_fail;
34701 }
34702 {
34703 wxSize * resultptr;
34704 resultptr = new wxSize((wxSize &) result);
15afbcd0 34705 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34706 }
34707 return resultobj;
34708 fail:
34709 return NULL;
34710}
34711
34712
c32bde28 34713static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34714 PyObject *resultobj;
34715 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34716 wxPoint arg2 ;
34717 wxSize arg3 ;
34718 wxPoint *argp2 ;
34719 wxSize *argp3 ;
34720 PyObject * obj0 = 0 ;
34721 PyObject * obj1 = 0 ;
34722 PyObject * obj2 = 0 ;
34723 char *kwnames[] = {
34724 (char *) "self",(char *) "pos",(char *) "size", NULL
34725 };
34726
34727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34730 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
34731 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34732 arg2 = *argp2;
34733 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
34734 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34735 arg3 = *argp3;
d14a1e28
RD
34736 {
34737 PyThreadState* __tstate = wxPyBeginAllowThreads();
34738 (arg1)->SetDimension(arg2,arg3);
34739
34740 wxPyEndAllowThreads(__tstate);
34741 if (PyErr_Occurred()) SWIG_fail;
34742 }
34743 Py_INCREF(Py_None); resultobj = Py_None;
34744 return resultobj;
34745 fail:
34746 return NULL;
34747}
34748
34749
c32bde28 34750static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34751 PyObject *resultobj;
34752 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34753 wxSize result;
34754 PyObject * obj0 = 0 ;
34755 char *kwnames[] = {
34756 (char *) "self", NULL
34757 };
34758
34759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34762 {
34763 PyThreadState* __tstate = wxPyBeginAllowThreads();
34764 result = (arg1)->GetMinSize();
34765
34766 wxPyEndAllowThreads(__tstate);
34767 if (PyErr_Occurred()) SWIG_fail;
34768 }
34769 {
34770 wxSize * resultptr;
34771 resultptr = new wxSize((wxSize &) result);
15afbcd0 34772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34773 }
34774 return resultobj;
34775 fail:
34776 return NULL;
34777}
34778
34779
c32bde28 34780static PyObject *_wrap_SizerItem_GetMinSizeWithBorder(PyObject *, PyObject *args, PyObject *kwargs) {
dfbb5885
RD
34781 PyObject *resultobj;
34782 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34783 wxSize result;
34784 PyObject * obj0 = 0 ;
34785 char *kwnames[] = {
34786 (char *) "self", NULL
34787 };
34788
34789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames,&obj0)) goto fail;
34790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34792 {
34793 PyThreadState* __tstate = wxPyBeginAllowThreads();
34794 result = ((wxSizerItem const *)arg1)->GetMinSizeWithBorder();
34795
34796 wxPyEndAllowThreads(__tstate);
34797 if (PyErr_Occurred()) SWIG_fail;
34798 }
34799 {
34800 wxSize * resultptr;
34801 resultptr = new wxSize((wxSize &) result);
34802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
34803 }
34804 return resultobj;
34805 fail:
34806 return NULL;
34807}
34808
34809
c32bde28 34810static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34811 PyObject *resultobj;
34812 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34813 int arg2 ;
34814 int arg3 ;
34815 PyObject * obj0 = 0 ;
994141e6
RD
34816 PyObject * obj1 = 0 ;
34817 PyObject * obj2 = 0 ;
d14a1e28
RD
34818 char *kwnames[] = {
34819 (char *) "self",(char *) "x",(char *) "y", NULL
34820 };
34821
994141e6 34822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34825 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34826 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34827 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 34828 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34829 {
34830 PyThreadState* __tstate = wxPyBeginAllowThreads();
34831 (arg1)->SetInitSize(arg2,arg3);
34832
34833 wxPyEndAllowThreads(__tstate);
34834 if (PyErr_Occurred()) SWIG_fail;
34835 }
34836 Py_INCREF(Py_None); resultobj = Py_None;
34837 return resultobj;
34838 fail:
34839 return NULL;
34840}
34841
34842
c32bde28 34843static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34844 PyObject *resultobj;
34845 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34846 int arg2 ;
34847 int arg3 ;
34848 PyObject * obj0 = 0 ;
994141e6
RD
34849 PyObject * obj1 = 0 ;
34850 PyObject * obj2 = 0 ;
d14a1e28
RD
34851 char *kwnames[] = {
34852 (char *) "self",(char *) "width",(char *) "height", NULL
34853 };
34854
994141e6 34855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34858 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 34859 if (PyErr_Occurred()) SWIG_fail;
c32bde28 34860 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 34861 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34862 {
34863 PyThreadState* __tstate = wxPyBeginAllowThreads();
34864 (arg1)->SetRatio(arg2,arg3);
34865
34866 wxPyEndAllowThreads(__tstate);
34867 if (PyErr_Occurred()) SWIG_fail;
34868 }
34869 Py_INCREF(Py_None); resultobj = Py_None;
34870 return resultobj;
34871 fail:
34872 return NULL;
34873}
34874
34875
c32bde28 34876static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34877 PyObject *resultobj;
34878 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34879 wxSize arg2 ;
34880 wxSize *argp2 ;
34881 PyObject * obj0 = 0 ;
34882 PyObject * obj1 = 0 ;
34883 char *kwnames[] = {
34884 (char *) "self",(char *) "size", NULL
34885 };
34886
34887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34890 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
34891 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
34892 arg2 = *argp2;
d14a1e28
RD
34893 {
34894 PyThreadState* __tstate = wxPyBeginAllowThreads();
34895 (arg1)->SetRatio(arg2);
34896
34897 wxPyEndAllowThreads(__tstate);
34898 if (PyErr_Occurred()) SWIG_fail;
34899 }
34900 Py_INCREF(Py_None); resultobj = Py_None;
34901 return resultobj;
34902 fail:
34903 return NULL;
34904}
34905
34906
c32bde28 34907static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34908 PyObject *resultobj;
34909 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34910 float arg2 ;
34911 PyObject * obj0 = 0 ;
994141e6 34912 PyObject * obj1 = 0 ;
d14a1e28
RD
34913 char *kwnames[] = {
34914 (char *) "self",(char *) "ratio", NULL
34915 };
34916
994141e6 34917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 34920 arg2 = (float)SWIG_As_float(obj1);
15afbcd0 34921 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34922 {
34923 PyThreadState* __tstate = wxPyBeginAllowThreads();
34924 (arg1)->SetRatio(arg2);
34925
34926 wxPyEndAllowThreads(__tstate);
34927 if (PyErr_Occurred()) SWIG_fail;
34928 }
34929 Py_INCREF(Py_None); resultobj = Py_None;
34930 return resultobj;
34931 fail:
34932 return NULL;
34933}
34934
34935
c32bde28 34936static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34937 PyObject *resultobj;
34938 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34939 float result;
34940 PyObject * obj0 = 0 ;
34941 char *kwnames[] = {
34942 (char *) "self", NULL
34943 };
34944
34945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
15afbcd0
RD
34946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34948 {
34949 PyThreadState* __tstate = wxPyBeginAllowThreads();
34950 result = (float)(arg1)->GetRatio();
34951
34952 wxPyEndAllowThreads(__tstate);
34953 if (PyErr_Occurred()) SWIG_fail;
34954 }
c32bde28 34955 resultobj = SWIG_From_float((float)result);
d14a1e28
RD
34956 return resultobj;
34957 fail:
34958 return NULL;
34959}
34960
34961
d3b6e4ff
RD
34962static PyObject *_wrap_SizerItem_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
34963 PyObject *resultobj;
34964 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34965 wxRect result;
34966 PyObject * obj0 = 0 ;
34967 char *kwnames[] = {
34968 (char *) "self", NULL
34969 };
34970
34971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRect",kwnames,&obj0)) goto fail;
34972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34974 {
34975 PyThreadState* __tstate = wxPyBeginAllowThreads();
34976 result = (arg1)->GetRect();
34977
34978 wxPyEndAllowThreads(__tstate);
34979 if (PyErr_Occurred()) SWIG_fail;
34980 }
34981 {
34982 wxRect * resultptr;
34983 resultptr = new wxRect((wxRect &) result);
34984 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
34985 }
34986 return resultobj;
34987 fail:
34988 return NULL;
34989}
34990
34991
c32bde28 34992static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34993 PyObject *resultobj;
34994 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34995 bool result;
34996 PyObject * obj0 = 0 ;
34997 char *kwnames[] = {
34998 (char *) "self", NULL
34999 };
35000
35001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
35002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35004 {
35005 PyThreadState* __tstate = wxPyBeginAllowThreads();
35006 result = (bool)(arg1)->IsWindow();
35007
35008 wxPyEndAllowThreads(__tstate);
35009 if (PyErr_Occurred()) SWIG_fail;
35010 }
4f89f6a3
RD
35011 {
35012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35013 }
d14a1e28
RD
35014 return resultobj;
35015 fail:
35016 return NULL;
35017}
35018
35019
c32bde28 35020static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35021 PyObject *resultobj;
35022 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35023 bool result;
35024 PyObject * obj0 = 0 ;
35025 char *kwnames[] = {
35026 (char *) "self", NULL
35027 };
35028
35029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
35030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35032 {
35033 PyThreadState* __tstate = wxPyBeginAllowThreads();
35034 result = (bool)(arg1)->IsSizer();
35035
35036 wxPyEndAllowThreads(__tstate);
35037 if (PyErr_Occurred()) SWIG_fail;
35038 }
4f89f6a3
RD
35039 {
35040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35041 }
d14a1e28
RD
35042 return resultobj;
35043 fail:
35044 return NULL;
35045}
35046
35047
c32bde28 35048static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35049 PyObject *resultobj;
35050 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35051 bool result;
35052 PyObject * obj0 = 0 ;
35053 char *kwnames[] = {
35054 (char *) "self", NULL
35055 };
35056
35057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
35058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35060 {
35061 PyThreadState* __tstate = wxPyBeginAllowThreads();
35062 result = (bool)(arg1)->IsSpacer();
35063
35064 wxPyEndAllowThreads(__tstate);
35065 if (PyErr_Occurred()) SWIG_fail;
35066 }
4f89f6a3
RD
35067 {
35068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35069 }
d14a1e28
RD
35070 return resultobj;
35071 fail:
35072 return NULL;
35073}
35074
35075
c32bde28 35076static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35077 PyObject *resultobj;
35078 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35079 int arg2 ;
35080 PyObject * obj0 = 0 ;
994141e6 35081 PyObject * obj1 = 0 ;
d14a1e28
RD
35082 char *kwnames[] = {
35083 (char *) "self",(char *) "proportion", NULL
35084 };
35085
994141e6 35086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35089 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 35090 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35091 {
35092 PyThreadState* __tstate = wxPyBeginAllowThreads();
35093 (arg1)->SetProportion(arg2);
35094
35095 wxPyEndAllowThreads(__tstate);
35096 if (PyErr_Occurred()) SWIG_fail;
35097 }
35098 Py_INCREF(Py_None); resultobj = Py_None;
35099 return resultobj;
35100 fail:
35101 return NULL;
35102}
35103
35104
c32bde28 35105static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35106 PyObject *resultobj;
35107 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35108 int result;
35109 PyObject * obj0 = 0 ;
35110 char *kwnames[] = {
35111 (char *) "self", NULL
35112 };
35113
35114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
15afbcd0
RD
35115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35117 {
35118 PyThreadState* __tstate = wxPyBeginAllowThreads();
35119 result = (int)(arg1)->GetProportion();
35120
35121 wxPyEndAllowThreads(__tstate);
35122 if (PyErr_Occurred()) SWIG_fail;
35123 }
c32bde28 35124 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
35125 return resultobj;
35126 fail:
35127 return NULL;
35128}
35129
35130
c32bde28 35131static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35132 PyObject *resultobj;
35133 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35134 int arg2 ;
35135 PyObject * obj0 = 0 ;
994141e6 35136 PyObject * obj1 = 0 ;
d14a1e28
RD
35137 char *kwnames[] = {
35138 (char *) "self",(char *) "flag", NULL
35139 };
35140
994141e6 35141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35144 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 35145 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35146 {
35147 PyThreadState* __tstate = wxPyBeginAllowThreads();
35148 (arg1)->SetFlag(arg2);
35149
35150 wxPyEndAllowThreads(__tstate);
35151 if (PyErr_Occurred()) SWIG_fail;
35152 }
35153 Py_INCREF(Py_None); resultobj = Py_None;
35154 return resultobj;
35155 fail:
35156 return NULL;
35157}
35158
35159
c32bde28 35160static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35161 PyObject *resultobj;
35162 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35163 int result;
35164 PyObject * obj0 = 0 ;
35165 char *kwnames[] = {
35166 (char *) "self", NULL
35167 };
35168
35169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
35170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35172 {
35173 PyThreadState* __tstate = wxPyBeginAllowThreads();
35174 result = (int)(arg1)->GetFlag();
35175
35176 wxPyEndAllowThreads(__tstate);
35177 if (PyErr_Occurred()) SWIG_fail;
35178 }
c32bde28 35179 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
35180 return resultobj;
35181 fail:
35182 return NULL;
35183}
35184
35185
c32bde28 35186static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35187 PyObject *resultobj;
35188 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35189 int arg2 ;
35190 PyObject * obj0 = 0 ;
994141e6 35191 PyObject * obj1 = 0 ;
d14a1e28
RD
35192 char *kwnames[] = {
35193 (char *) "self",(char *) "border", NULL
35194 };
35195
994141e6 35196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35199 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 35200 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35201 {
35202 PyThreadState* __tstate = wxPyBeginAllowThreads();
35203 (arg1)->SetBorder(arg2);
35204
35205 wxPyEndAllowThreads(__tstate);
35206 if (PyErr_Occurred()) SWIG_fail;
35207 }
35208 Py_INCREF(Py_None); resultobj = Py_None;
35209 return resultobj;
35210 fail:
35211 return NULL;
35212}
35213
35214
c32bde28 35215static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35216 PyObject *resultobj;
35217 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35218 int result;
35219 PyObject * obj0 = 0 ;
35220 char *kwnames[] = {
35221 (char *) "self", NULL
35222 };
35223
35224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
15afbcd0
RD
35225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35227 {
35228 PyThreadState* __tstate = wxPyBeginAllowThreads();
35229 result = (int)(arg1)->GetBorder();
35230
35231 wxPyEndAllowThreads(__tstate);
35232 if (PyErr_Occurred()) SWIG_fail;
35233 }
c32bde28 35234 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
35235 return resultobj;
35236 fail:
35237 return NULL;
35238}
35239
35240
c32bde28 35241static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35242 PyObject *resultobj;
35243 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35244 wxWindow *result;
35245 PyObject * obj0 = 0 ;
35246 char *kwnames[] = {
35247 (char *) "self", NULL
35248 };
35249
35250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
35251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35253 {
35254 PyThreadState* __tstate = wxPyBeginAllowThreads();
35255 result = (wxWindow *)(arg1)->GetWindow();
35256
35257 wxPyEndAllowThreads(__tstate);
35258 if (PyErr_Occurred()) SWIG_fail;
35259 }
35260 {
412d302d 35261 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
35262 }
35263 return resultobj;
35264 fail:
35265 return NULL;
35266}
35267
35268
c32bde28 35269static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35270 PyObject *resultobj;
35271 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35272 wxWindow *arg2 = (wxWindow *) 0 ;
35273 PyObject * obj0 = 0 ;
35274 PyObject * obj1 = 0 ;
35275 char *kwnames[] = {
35276 (char *) "self",(char *) "window", NULL
35277 };
35278
35279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35282 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35284 {
35285 PyThreadState* __tstate = wxPyBeginAllowThreads();
35286 (arg1)->SetWindow(arg2);
35287
35288 wxPyEndAllowThreads(__tstate);
35289 if (PyErr_Occurred()) SWIG_fail;
35290 }
35291 Py_INCREF(Py_None); resultobj = Py_None;
35292 return resultobj;
35293 fail:
35294 return NULL;
35295}
35296
35297
c32bde28 35298static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35299 PyObject *resultobj;
35300 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35301 wxSizer *result;
35302 PyObject * obj0 = 0 ;
35303 char *kwnames[] = {
35304 (char *) "self", NULL
35305 };
35306
35307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
35308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35310 {
35311 PyThreadState* __tstate = wxPyBeginAllowThreads();
35312 result = (wxSizer *)(arg1)->GetSizer();
35313
35314 wxPyEndAllowThreads(__tstate);
35315 if (PyErr_Occurred()) SWIG_fail;
35316 }
35317 {
412d302d 35318 resultobj = wxPyMake_wxSizer(result, 0);
d14a1e28
RD
35319 }
35320 return resultobj;
35321 fail:
35322 return NULL;
35323}
35324
35325
c32bde28 35326static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35327 PyObject *resultobj;
35328 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35329 wxSizer *arg2 = (wxSizer *) 0 ;
35330 PyObject * obj0 = 0 ;
35331 PyObject * obj1 = 0 ;
35332 char *kwnames[] = {
35333 (char *) "self",(char *) "sizer", NULL
35334 };
35335
35336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35339 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
35340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35341 {
35342 PyThreadState* __tstate = wxPyBeginAllowThreads();
35343 (arg1)->SetSizer(arg2);
35344
35345 wxPyEndAllowThreads(__tstate);
35346 if (PyErr_Occurred()) SWIG_fail;
35347 }
35348 Py_INCREF(Py_None); resultobj = Py_None;
35349 return resultobj;
35350 fail:
35351 return NULL;
35352}
35353
35354
c32bde28 35355static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35356 PyObject *resultobj;
35357 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35358 wxSize *result;
35359 PyObject * obj0 = 0 ;
35360 char *kwnames[] = {
35361 (char *) "self", NULL
35362 };
35363
35364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
35365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35367 {
35368 PyThreadState* __tstate = wxPyBeginAllowThreads();
35369 {
35370 wxSize const &_result_ref = (arg1)->GetSpacer();
35371 result = (wxSize *) &_result_ref;
35372 }
35373
35374 wxPyEndAllowThreads(__tstate);
35375 if (PyErr_Occurred()) SWIG_fail;
35376 }
15afbcd0 35377 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
35378 return resultobj;
35379 fail:
35380 return NULL;
35381}
35382
35383
c32bde28 35384static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35385 PyObject *resultobj;
35386 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35387 wxSize *arg2 = 0 ;
35388 wxSize temp2 ;
35389 PyObject * obj0 = 0 ;
35390 PyObject * obj1 = 0 ;
35391 char *kwnames[] = {
35392 (char *) "self",(char *) "size", NULL
35393 };
35394
35395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35398 {
35399 arg2 = &temp2;
35400 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
35401 }
35402 {
35403 PyThreadState* __tstate = wxPyBeginAllowThreads();
35404 (arg1)->SetSpacer((wxSize const &)*arg2);
35405
35406 wxPyEndAllowThreads(__tstate);
35407 if (PyErr_Occurred()) SWIG_fail;
35408 }
35409 Py_INCREF(Py_None); resultobj = Py_None;
35410 return resultobj;
35411 fail:
35412 return NULL;
35413}
35414
35415
c32bde28 35416static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35417 PyObject *resultobj;
35418 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35419 bool arg2 ;
35420 PyObject * obj0 = 0 ;
35421 PyObject * obj1 = 0 ;
35422 char *kwnames[] = {
35423 (char *) "self",(char *) "show", NULL
35424 };
35425
35426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35429 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 35430 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35431 {
35432 PyThreadState* __tstate = wxPyBeginAllowThreads();
35433 (arg1)->Show(arg2);
35434
35435 wxPyEndAllowThreads(__tstate);
35436 if (PyErr_Occurred()) SWIG_fail;
35437 }
35438 Py_INCREF(Py_None); resultobj = Py_None;
35439 return resultobj;
35440 fail:
35441 return NULL;
35442}
35443
35444
c32bde28 35445static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35446 PyObject *resultobj;
35447 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35448 bool result;
35449 PyObject * obj0 = 0 ;
35450 char *kwnames[] = {
35451 (char *) "self", NULL
35452 };
35453
35454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
35455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35457 {
35458 PyThreadState* __tstate = wxPyBeginAllowThreads();
35459 result = (bool)(arg1)->IsShown();
35460
35461 wxPyEndAllowThreads(__tstate);
35462 if (PyErr_Occurred()) SWIG_fail;
35463 }
4f89f6a3
RD
35464 {
35465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35466 }
d14a1e28
RD
35467 return resultobj;
35468 fail:
35469 return NULL;
35470}
35471
35472
c32bde28 35473static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35474 PyObject *resultobj;
35475 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35476 wxPoint result;
35477 PyObject * obj0 = 0 ;
35478 char *kwnames[] = {
35479 (char *) "self", NULL
35480 };
35481
35482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
35483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35485 {
35486 PyThreadState* __tstate = wxPyBeginAllowThreads();
35487 result = (arg1)->GetPosition();
35488
35489 wxPyEndAllowThreads(__tstate);
35490 if (PyErr_Occurred()) SWIG_fail;
35491 }
35492 {
35493 wxPoint * resultptr;
35494 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 35495 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
35496 }
35497 return resultobj;
35498 fail:
35499 return NULL;
35500}
35501
35502
c32bde28 35503static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35504 PyObject *resultobj;
35505 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
35506 PyObject *result;
35507 PyObject * obj0 = 0 ;
35508 char *kwnames[] = {
35509 (char *) "self", NULL
35510 };
35511
35512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
15afbcd0
RD
35513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
35514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35515 {
35516 PyThreadState* __tstate = wxPyBeginAllowThreads();
35517 result = (PyObject *)wxSizerItem_GetUserData(arg1);
35518
35519 wxPyEndAllowThreads(__tstate);
35520 if (PyErr_Occurred()) SWIG_fail;
35521 }
35522 resultobj = result;
35523 return resultobj;
35524 fail:
35525 return NULL;
35526}
35527
35528
c32bde28 35529static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
35530 PyObject *obj;
35531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35532 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
35533 Py_INCREF(obj);
35534 return Py_BuildValue((char *)"");
35535}
c32bde28 35536static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35537 PyObject *resultobj;
35538 wxSizer *arg1 = (wxSizer *) 0 ;
35539 PyObject *arg2 = (PyObject *) 0 ;
35540 PyObject * obj0 = 0 ;
35541 PyObject * obj1 = 0 ;
35542 char *kwnames[] = {
35543 (char *) "self",(char *) "_self", NULL
35544 };
35545
35546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35549 arg2 = obj1;
35550 {
35551 PyThreadState* __tstate = wxPyBeginAllowThreads();
35552 wxSizer__setOORInfo(arg1,arg2);
35553
35554 wxPyEndAllowThreads(__tstate);
35555 if (PyErr_Occurred()) SWIG_fail;
35556 }
35557 Py_INCREF(Py_None); resultobj = Py_None;
35558 return resultobj;
35559 fail:
35560 return NULL;
35561}
35562
35563
c32bde28 35564static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35565 PyObject *resultobj;
35566 wxSizer *arg1 = (wxSizer *) 0 ;
35567 PyObject *arg2 = (PyObject *) 0 ;
35568 int arg3 = (int) 0 ;
35569 int arg4 = (int) 0 ;
35570 int arg5 = (int) 0 ;
35571 PyObject *arg6 = (PyObject *) NULL ;
d3b6e4ff 35572 wxSizerItem *result;
d14a1e28
RD
35573 PyObject * obj0 = 0 ;
35574 PyObject * obj1 = 0 ;
994141e6
RD
35575 PyObject * obj2 = 0 ;
35576 PyObject * obj3 = 0 ;
35577 PyObject * obj4 = 0 ;
d14a1e28
RD
35578 PyObject * obj5 = 0 ;
35579 char *kwnames[] = {
35580 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35581 };
35582
994141e6 35583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
35584 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35585 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35586 arg2 = obj1;
994141e6 35587 if (obj2) {
c32bde28 35588 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 35589 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35590 }
35591 if (obj3) {
c32bde28 35592 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 35593 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35594 }
35595 if (obj4) {
c32bde28 35596 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 35597 if (PyErr_Occurred()) SWIG_fail;
994141e6 35598 }
d14a1e28
RD
35599 if (obj5) {
35600 arg6 = obj5;
35601 }
35602 {
35603 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 35604 result = (wxSizerItem *)wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
35605
35606 wxPyEndAllowThreads(__tstate);
35607 if (PyErr_Occurred()) SWIG_fail;
35608 }
d3b6e4ff 35609 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
35610 return resultobj;
35611 fail:
35612 return NULL;
35613}
35614
35615
c32bde28 35616static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35617 PyObject *resultobj;
35618 wxSizer *arg1 = (wxSizer *) 0 ;
35619 int arg2 ;
35620 PyObject *arg3 = (PyObject *) 0 ;
35621 int arg4 = (int) 0 ;
35622 int arg5 = (int) 0 ;
35623 int arg6 = (int) 0 ;
35624 PyObject *arg7 = (PyObject *) NULL ;
d3b6e4ff 35625 wxSizerItem *result;
d14a1e28 35626 PyObject * obj0 = 0 ;
994141e6 35627 PyObject * obj1 = 0 ;
d14a1e28 35628 PyObject * obj2 = 0 ;
994141e6
RD
35629 PyObject * obj3 = 0 ;
35630 PyObject * obj4 = 0 ;
35631 PyObject * obj5 = 0 ;
d14a1e28
RD
35632 PyObject * obj6 = 0 ;
35633 char *kwnames[] = {
35634 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35635 };
35636
994141e6 35637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
35638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35640 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 35641 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 35642 arg3 = obj2;
994141e6 35643 if (obj3) {
c32bde28 35644 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 35645 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35646 }
35647 if (obj4) {
c32bde28 35648 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 35649 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35650 }
35651 if (obj5) {
c32bde28 35652 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 35653 if (PyErr_Occurred()) SWIG_fail;
994141e6 35654 }
d14a1e28
RD
35655 if (obj6) {
35656 arg7 = obj6;
35657 }
35658 {
35659 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 35660 result = (wxSizerItem *)wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
d14a1e28
RD
35661
35662 wxPyEndAllowThreads(__tstate);
35663 if (PyErr_Occurred()) SWIG_fail;
35664 }
d3b6e4ff 35665 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
35666 return resultobj;
35667 fail:
35668 return NULL;
35669}
35670
35671
c32bde28 35672static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35673 PyObject *resultobj;
35674 wxSizer *arg1 = (wxSizer *) 0 ;
35675 PyObject *arg2 = (PyObject *) 0 ;
35676 int arg3 = (int) 0 ;
35677 int arg4 = (int) 0 ;
35678 int arg5 = (int) 0 ;
35679 PyObject *arg6 = (PyObject *) NULL ;
d3b6e4ff 35680 wxSizerItem *result;
d14a1e28
RD
35681 PyObject * obj0 = 0 ;
35682 PyObject * obj1 = 0 ;
994141e6
RD
35683 PyObject * obj2 = 0 ;
35684 PyObject * obj3 = 0 ;
35685 PyObject * obj4 = 0 ;
d14a1e28
RD
35686 PyObject * obj5 = 0 ;
35687 char *kwnames[] = {
35688 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35689 };
35690
994141e6 35691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
35692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35694 arg2 = obj1;
994141e6 35695 if (obj2) {
c32bde28 35696 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 35697 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35698 }
35699 if (obj3) {
c32bde28 35700 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 35701 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35702 }
35703 if (obj4) {
c32bde28 35704 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 35705 if (PyErr_Occurred()) SWIG_fail;
994141e6 35706 }
d14a1e28
RD
35707 if (obj5) {
35708 arg6 = obj5;
35709 }
35710 {
35711 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 35712 result = (wxSizerItem *)wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
d14a1e28
RD
35713
35714 wxPyEndAllowThreads(__tstate);
35715 if (PyErr_Occurred()) SWIG_fail;
35716 }
d3b6e4ff 35717 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
35718 return resultobj;
35719 fail:
35720 return NULL;
35721}
35722
35723
c32bde28 35724static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35725 PyObject *resultobj;
35726 wxSizer *arg1 = (wxSizer *) 0 ;
35727 PyObject *arg2 = (PyObject *) 0 ;
35728 bool result;
35729 PyObject * obj0 = 0 ;
35730 PyObject * obj1 = 0 ;
35731 char *kwnames[] = {
35732 (char *) "self",(char *) "item", NULL
35733 };
35734
35735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35738 arg2 = obj1;
35739 {
35740 PyThreadState* __tstate = wxPyBeginAllowThreads();
35741 result = (bool)wxSizer_Remove(arg1,arg2);
35742
35743 wxPyEndAllowThreads(__tstate);
35744 if (PyErr_Occurred()) SWIG_fail;
35745 }
4f89f6a3
RD
35746 {
35747 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35748 }
d14a1e28
RD
35749 return resultobj;
35750 fail:
35751 return NULL;
35752}
35753
35754
c32bde28 35755static PyObject *_wrap_Sizer_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
1c0f361b
RD
35756 PyObject *resultobj;
35757 wxSizer *arg1 = (wxSizer *) 0 ;
35758 PyObject *arg2 = (PyObject *) 0 ;
35759 bool result;
35760 PyObject * obj0 = 0 ;
35761 PyObject * obj1 = 0 ;
35762 char *kwnames[] = {
35763 (char *) "self",(char *) "item", NULL
35764 };
35765
35766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Detach",kwnames,&obj0,&obj1)) goto fail;
35767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35769 arg2 = obj1;
35770 {
35771 PyThreadState* __tstate = wxPyBeginAllowThreads();
35772 result = (bool)wxSizer_Detach(arg1,arg2);
35773
35774 wxPyEndAllowThreads(__tstate);
35775 if (PyErr_Occurred()) SWIG_fail;
35776 }
35777 {
35778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35779 }
35780 return resultobj;
35781 fail:
35782 return NULL;
35783}
35784
35785
d3b6e4ff
RD
35786static PyObject *_wrap_Sizer_GetItem(PyObject *, PyObject *args, PyObject *kwargs) {
35787 PyObject *resultobj;
35788 wxSizer *arg1 = (wxSizer *) 0 ;
35789 PyObject *arg2 = (PyObject *) 0 ;
35790 wxSizerItem *result;
35791 PyObject * obj0 = 0 ;
35792 PyObject * obj1 = 0 ;
35793 char *kwnames[] = {
35794 (char *) "self",(char *) "item", NULL
35795 };
35796
35797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_GetItem",kwnames,&obj0,&obj1)) goto fail;
35798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35800 arg2 = obj1;
35801 {
35802 PyThreadState* __tstate = wxPyBeginAllowThreads();
35803 result = (wxSizerItem *)wxSizer_GetItem(arg1,arg2);
35804
35805 wxPyEndAllowThreads(__tstate);
35806 if (PyErr_Occurred()) SWIG_fail;
35807 }
35808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
35809 return resultobj;
35810 fail:
35811 return NULL;
35812}
35813
35814
c32bde28 35815static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35816 PyObject *resultobj;
35817 wxSizer *arg1 = (wxSizer *) 0 ;
35818 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce
RD
35819 wxSize *arg3 = 0 ;
35820 wxSize temp3 ;
d14a1e28
RD
35821 PyObject * obj0 = 0 ;
35822 PyObject * obj1 = 0 ;
35823 PyObject * obj2 = 0 ;
35824 char *kwnames[] = {
35825 (char *) "self",(char *) "item",(char *) "size", NULL
35826 };
35827
35828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35831 arg2 = obj1;
e811c8ce
RD
35832 {
35833 arg3 = &temp3;
35834 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
35835 }
d14a1e28
RD
35836 {
35837 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 35838 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
35839
35840 wxPyEndAllowThreads(__tstate);
35841 if (PyErr_Occurred()) SWIG_fail;
35842 }
35843 Py_INCREF(Py_None); resultobj = Py_None;
35844 return resultobj;
35845 fail:
35846 return NULL;
35847}
35848
35849
c32bde28 35850static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35851 PyObject *resultobj;
35852 wxSizer *arg1 = (wxSizer *) 0 ;
35853 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
d3b6e4ff 35854 wxSizerItem *result;
d14a1e28
RD
35855 PyObject * obj0 = 0 ;
35856 PyObject * obj1 = 0 ;
35857 char *kwnames[] = {
35858 (char *) "self",(char *) "item", NULL
35859 };
35860
35861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35866 {
35867 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 35868 result = (wxSizerItem *)(arg1)->Add(arg2);
d14a1e28
RD
35869
35870 wxPyEndAllowThreads(__tstate);
35871 if (PyErr_Occurred()) SWIG_fail;
35872 }
d3b6e4ff 35873 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
35874 return resultobj;
35875 fail:
35876 return NULL;
35877}
35878
35879
c32bde28 35880static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35881 PyObject *resultobj;
35882 wxSizer *arg1 = (wxSizer *) 0 ;
35883 size_t arg2 ;
35884 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
d3b6e4ff 35885 wxSizerItem *result;
d14a1e28
RD
35886 PyObject * obj0 = 0 ;
35887 PyObject * obj1 = 0 ;
35888 PyObject * obj2 = 0 ;
35889 char *kwnames[] = {
35890 (char *) "self",(char *) "index",(char *) "item", NULL
35891 };
35892
35893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",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;
c32bde28 35896 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0
RD
35897 if (PyErr_Occurred()) SWIG_fail;
35898 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
35899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35900 {
35901 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 35902 result = (wxSizerItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
35903
35904 wxPyEndAllowThreads(__tstate);
35905 if (PyErr_Occurred()) SWIG_fail;
35906 }
d3b6e4ff 35907 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
35908 return resultobj;
35909 fail:
35910 return NULL;
35911}
35912
35913
c32bde28 35914static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35915 PyObject *resultobj;
35916 wxSizer *arg1 = (wxSizer *) 0 ;
35917 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
d3b6e4ff 35918 wxSizerItem *result;
d14a1e28
RD
35919 PyObject * obj0 = 0 ;
35920 PyObject * obj1 = 0 ;
35921 char *kwnames[] = {
35922 (char *) "self",(char *) "item", NULL
35923 };
35924
35925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35928 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
35929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35930 {
35931 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 35932 result = (wxSizerItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
35933
35934 wxPyEndAllowThreads(__tstate);
35935 if (PyErr_Occurred()) SWIG_fail;
35936 }
d3b6e4ff 35937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 0);
d14a1e28
RD
35938 return resultobj;
35939 fail:
35940 return NULL;
35941}
35942
35943
c32bde28 35944static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35945 PyObject *resultobj;
35946 wxSizer *arg1 = (wxSizer *) 0 ;
35947 int arg2 ;
35948 int arg3 ;
35949 int arg4 ;
35950 int arg5 ;
35951 PyObject * obj0 = 0 ;
994141e6
RD
35952 PyObject * obj1 = 0 ;
35953 PyObject * obj2 = 0 ;
35954 PyObject * obj3 = 0 ;
35955 PyObject * obj4 = 0 ;
d14a1e28
RD
35956 char *kwnames[] = {
35957 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35958 };
35959
994141e6 35960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
35961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 35963 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 35964 if (PyErr_Occurred()) SWIG_fail;
c32bde28 35965 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 35966 if (PyErr_Occurred()) SWIG_fail;
c32bde28 35967 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 35968 if (PyErr_Occurred()) SWIG_fail;
c32bde28 35969 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 35970 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35971 {
35972 PyThreadState* __tstate = wxPyBeginAllowThreads();
35973 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
35974
35975 wxPyEndAllowThreads(__tstate);
35976 if (PyErr_Occurred()) SWIG_fail;
35977 }
35978 Py_INCREF(Py_None); resultobj = Py_None;
35979 return resultobj;
35980 fail:
35981 return NULL;
35982}
35983
35984
c32bde28 35985static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35986 PyObject *resultobj;
35987 wxSizer *arg1 = (wxSizer *) 0 ;
1fc9204a
RD
35988 wxSize *arg2 = 0 ;
35989 wxSize temp2 ;
d14a1e28
RD
35990 PyObject * obj0 = 0 ;
35991 PyObject * obj1 = 0 ;
35992 char *kwnames[] = {
35993 (char *) "self",(char *) "size", NULL
35994 };
35995
35996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35997 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35998 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1fc9204a
RD
35999 {
36000 arg2 = &temp2;
36001 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
36002 }
d14a1e28
RD
36003 {
36004 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fc9204a 36005 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
36006
36007 wxPyEndAllowThreads(__tstate);
36008 if (PyErr_Occurred()) SWIG_fail;
36009 }
36010 Py_INCREF(Py_None); resultobj = Py_None;
36011 return resultobj;
36012 fail:
36013 return NULL;
36014}
36015
36016
c32bde28 36017static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36018 PyObject *resultobj;
36019 wxSizer *arg1 = (wxSizer *) 0 ;
36020 wxSize result;
36021 PyObject * obj0 = 0 ;
36022 char *kwnames[] = {
36023 (char *) "self", NULL
36024 };
36025
36026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
36027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36029 {
36030 PyThreadState* __tstate = wxPyBeginAllowThreads();
36031 result = (arg1)->GetSize();
36032
36033 wxPyEndAllowThreads(__tstate);
36034 if (PyErr_Occurred()) SWIG_fail;
36035 }
36036 {
36037 wxSize * resultptr;
36038 resultptr = new wxSize((wxSize &) result);
15afbcd0 36039 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36040 }
36041 return resultobj;
36042 fail:
36043 return NULL;
36044}
36045
36046
c32bde28 36047static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36048 PyObject *resultobj;
36049 wxSizer *arg1 = (wxSizer *) 0 ;
36050 wxPoint result;
36051 PyObject * obj0 = 0 ;
36052 char *kwnames[] = {
36053 (char *) "self", NULL
36054 };
36055
36056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
36057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36059 {
36060 PyThreadState* __tstate = wxPyBeginAllowThreads();
36061 result = (arg1)->GetPosition();
36062
36063 wxPyEndAllowThreads(__tstate);
36064 if (PyErr_Occurred()) SWIG_fail;
36065 }
36066 {
36067 wxPoint * resultptr;
36068 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 36069 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
36070 }
36071 return resultobj;
36072 fail:
36073 return NULL;
36074}
36075
36076
c32bde28 36077static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36078 PyObject *resultobj;
36079 wxSizer *arg1 = (wxSizer *) 0 ;
36080 wxSize result;
36081 PyObject * obj0 = 0 ;
36082 char *kwnames[] = {
36083 (char *) "self", NULL
36084 };
36085
36086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
36087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36089 {
36090 PyThreadState* __tstate = wxPyBeginAllowThreads();
36091 result = (arg1)->GetMinSize();
36092
36093 wxPyEndAllowThreads(__tstate);
36094 if (PyErr_Occurred()) SWIG_fail;
36095 }
36096 {
36097 wxSize * resultptr;
36098 resultptr = new wxSize((wxSize &) result);
15afbcd0 36099 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36100 }
36101 return resultobj;
36102 fail:
36103 return NULL;
36104}
36105
36106
c32bde28 36107static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36108 PyObject *resultobj;
36109 wxSizer *arg1 = (wxSizer *) 0 ;
36110 PyObject * obj0 = 0 ;
36111 char *kwnames[] = {
36112 (char *) "self", NULL
36113 };
36114
36115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
36116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36118 {
36119 PyThreadState* __tstate = wxPyBeginAllowThreads();
36120 (arg1)->RecalcSizes();
36121
36122 wxPyEndAllowThreads(__tstate);
36123 if (PyErr_Occurred()) SWIG_fail;
36124 }
36125 Py_INCREF(Py_None); resultobj = Py_None;
36126 return resultobj;
36127 fail:
36128 return NULL;
36129}
36130
36131
c32bde28 36132static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36133 PyObject *resultobj;
36134 wxSizer *arg1 = (wxSizer *) 0 ;
36135 wxSize result;
36136 PyObject * obj0 = 0 ;
36137 char *kwnames[] = {
36138 (char *) "self", NULL
36139 };
36140
36141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
36142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36144 {
36145 PyThreadState* __tstate = wxPyBeginAllowThreads();
36146 result = (arg1)->CalcMin();
36147
36148 wxPyEndAllowThreads(__tstate);
36149 if (PyErr_Occurred()) SWIG_fail;
36150 }
36151 {
36152 wxSize * resultptr;
36153 resultptr = new wxSize((wxSize &) result);
15afbcd0 36154 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36155 }
36156 return resultobj;
36157 fail:
36158 return NULL;
36159}
36160
36161
c32bde28 36162static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36163 PyObject *resultobj;
36164 wxSizer *arg1 = (wxSizer *) 0 ;
36165 PyObject * obj0 = 0 ;
36166 char *kwnames[] = {
36167 (char *) "self", NULL
36168 };
36169
36170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
36171 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36172 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36173 {
36174 PyThreadState* __tstate = wxPyBeginAllowThreads();
36175 (arg1)->Layout();
36176
36177 wxPyEndAllowThreads(__tstate);
36178 if (PyErr_Occurred()) SWIG_fail;
36179 }
36180 Py_INCREF(Py_None); resultobj = Py_None;
36181 return resultobj;
36182 fail:
36183 return NULL;
36184}
36185
36186
c32bde28 36187static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36188 PyObject *resultobj;
36189 wxSizer *arg1 = (wxSizer *) 0 ;
36190 wxWindow *arg2 = (wxWindow *) 0 ;
36191 wxSize result;
36192 PyObject * obj0 = 0 ;
36193 PyObject * obj1 = 0 ;
36194 char *kwnames[] = {
36195 (char *) "self",(char *) "window", NULL
36196 };
36197
36198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36199 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36200 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36201 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36203 {
36204 PyThreadState* __tstate = wxPyBeginAllowThreads();
36205 result = (arg1)->Fit(arg2);
36206
36207 wxPyEndAllowThreads(__tstate);
36208 if (PyErr_Occurred()) SWIG_fail;
36209 }
36210 {
36211 wxSize * resultptr;
36212 resultptr = new wxSize((wxSize &) result);
15afbcd0 36213 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36214 }
36215 return resultobj;
36216 fail:
36217 return NULL;
36218}
36219
36220
c32bde28 36221static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36222 PyObject *resultobj;
36223 wxSizer *arg1 = (wxSizer *) 0 ;
36224 wxWindow *arg2 = (wxWindow *) 0 ;
36225 PyObject * obj0 = 0 ;
36226 PyObject * obj1 = 0 ;
36227 char *kwnames[] = {
36228 (char *) "self",(char *) "window", NULL
36229 };
36230
36231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36232 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36234 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36236 {
36237 PyThreadState* __tstate = wxPyBeginAllowThreads();
36238 (arg1)->FitInside(arg2);
36239
36240 wxPyEndAllowThreads(__tstate);
36241 if (PyErr_Occurred()) SWIG_fail;
36242 }
36243 Py_INCREF(Py_None); resultobj = Py_None;
36244 return resultobj;
36245 fail:
36246 return NULL;
36247}
36248
36249
c32bde28 36250static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36251 PyObject *resultobj;
36252 wxSizer *arg1 = (wxSizer *) 0 ;
36253 wxWindow *arg2 = (wxWindow *) 0 ;
36254 PyObject * obj0 = 0 ;
36255 PyObject * obj1 = 0 ;
36256 char *kwnames[] = {
36257 (char *) "self",(char *) "window", NULL
36258 };
36259
36260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36263 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36265 {
36266 PyThreadState* __tstate = wxPyBeginAllowThreads();
36267 (arg1)->SetSizeHints(arg2);
36268
36269 wxPyEndAllowThreads(__tstate);
36270 if (PyErr_Occurred()) SWIG_fail;
36271 }
36272 Py_INCREF(Py_None); resultobj = Py_None;
36273 return resultobj;
36274 fail:
36275 return NULL;
36276}
36277
36278
c32bde28 36279static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36280 PyObject *resultobj;
36281 wxSizer *arg1 = (wxSizer *) 0 ;
36282 wxWindow *arg2 = (wxWindow *) 0 ;
36283 PyObject * obj0 = 0 ;
36284 PyObject * obj1 = 0 ;
36285 char *kwnames[] = {
36286 (char *) "self",(char *) "window", NULL
36287 };
36288
36289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36292 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36294 {
36295 PyThreadState* __tstate = wxPyBeginAllowThreads();
36296 (arg1)->SetVirtualSizeHints(arg2);
36297
36298 wxPyEndAllowThreads(__tstate);
36299 if (PyErr_Occurred()) SWIG_fail;
36300 }
36301 Py_INCREF(Py_None); resultobj = Py_None;
36302 return resultobj;
36303 fail:
36304 return NULL;
36305}
36306
36307
c32bde28 36308static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36309 PyObject *resultobj;
36310 wxSizer *arg1 = (wxSizer *) 0 ;
ae8162c8 36311 bool arg2 = (bool) false ;
d14a1e28
RD
36312 PyObject * obj0 = 0 ;
36313 PyObject * obj1 = 0 ;
36314 char *kwnames[] = {
248ed943 36315 (char *) "self",(char *) "deleteWindows", NULL
d14a1e28
RD
36316 };
36317
36318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 36321 if (obj1) {
c32bde28 36322 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 36323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36324 }
36325 {
36326 PyThreadState* __tstate = wxPyBeginAllowThreads();
36327 (arg1)->Clear(arg2);
36328
36329 wxPyEndAllowThreads(__tstate);
36330 if (PyErr_Occurred()) SWIG_fail;
36331 }
36332 Py_INCREF(Py_None); resultobj = Py_None;
36333 return resultobj;
36334 fail:
36335 return NULL;
36336}
36337
36338
c32bde28 36339static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36340 PyObject *resultobj;
36341 wxSizer *arg1 = (wxSizer *) 0 ;
36342 PyObject * obj0 = 0 ;
36343 char *kwnames[] = {
36344 (char *) "self", NULL
36345 };
36346
36347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
36348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36350 {
36351 PyThreadState* __tstate = wxPyBeginAllowThreads();
36352 (arg1)->DeleteWindows();
36353
36354 wxPyEndAllowThreads(__tstate);
36355 if (PyErr_Occurred()) SWIG_fail;
36356 }
36357 Py_INCREF(Py_None); resultobj = Py_None;
36358 return resultobj;
36359 fail:
36360 return NULL;
36361}
36362
36363
c32bde28 36364static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36365 PyObject *resultobj;
36366 wxSizer *arg1 = (wxSizer *) 0 ;
36367 PyObject *result;
36368 PyObject * obj0 = 0 ;
36369 char *kwnames[] = {
36370 (char *) "self", NULL
36371 };
36372
36373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
36374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36376 {
36377 PyThreadState* __tstate = wxPyBeginAllowThreads();
36378 result = (PyObject *)wxSizer_GetChildren(arg1);
36379
36380 wxPyEndAllowThreads(__tstate);
36381 if (PyErr_Occurred()) SWIG_fail;
36382 }
36383 resultobj = result;
36384 return resultobj;
36385 fail:
36386 return NULL;
36387}
36388
36389
c32bde28 36390static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36391 PyObject *resultobj;
36392 wxSizer *arg1 = (wxSizer *) 0 ;
36393 PyObject *arg2 = (PyObject *) 0 ;
ae8162c8
RD
36394 bool arg3 = (bool) true ;
36395 bool arg4 = (bool) false ;
7e63a440 36396 bool result;
d14a1e28
RD
36397 PyObject * obj0 = 0 ;
36398 PyObject * obj1 = 0 ;
36399 PyObject * obj2 = 0 ;
7e63a440 36400 PyObject * obj3 = 0 ;
d14a1e28 36401 char *kwnames[] = {
7e63a440 36402 (char *) "self",(char *) "item",(char *) "show",(char *) "recursive", NULL
d14a1e28
RD
36403 };
36404
7e63a440 36405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Sizer_Show",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
36406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36408 arg2 = obj1;
36409 if (obj2) {
c32bde28 36410 arg3 = (bool)SWIG_As_bool(obj2);
15afbcd0 36411 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 36412 }
7e63a440
RD
36413 if (obj3) {
36414 arg4 = (bool)SWIG_As_bool(obj3);
36415 if (PyErr_Occurred()) SWIG_fail;
36416 }
d14a1e28
RD
36417 {
36418 PyThreadState* __tstate = wxPyBeginAllowThreads();
7e63a440 36419 result = (bool)wxSizer_Show(arg1,arg2,arg3,arg4);
d14a1e28
RD
36420
36421 wxPyEndAllowThreads(__tstate);
36422 if (PyErr_Occurred()) SWIG_fail;
36423 }
7e63a440
RD
36424 {
36425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36426 }
d14a1e28
RD
36427 return resultobj;
36428 fail:
36429 return NULL;
36430}
36431
36432
c32bde28 36433static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36434 PyObject *resultobj;
36435 wxSizer *arg1 = (wxSizer *) 0 ;
36436 PyObject *arg2 = (PyObject *) 0 ;
36437 bool result;
36438 PyObject * obj0 = 0 ;
36439 PyObject * obj1 = 0 ;
36440 char *kwnames[] = {
36441 (char *) "self",(char *) "item", NULL
36442 };
36443
36444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36447 arg2 = obj1;
36448 {
36449 PyThreadState* __tstate = wxPyBeginAllowThreads();
36450 result = (bool)wxSizer_IsShown(arg1,arg2);
36451
36452 wxPyEndAllowThreads(__tstate);
36453 if (PyErr_Occurred()) SWIG_fail;
36454 }
4f89f6a3
RD
36455 {
36456 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36457 }
d14a1e28
RD
36458 return resultobj;
36459 fail:
36460 return NULL;
36461}
36462
36463
c32bde28 36464static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36465 PyObject *resultobj;
36466 wxSizer *arg1 = (wxSizer *) 0 ;
36467 bool arg2 ;
36468 PyObject * obj0 = 0 ;
36469 PyObject * obj1 = 0 ;
36470 char *kwnames[] = {
36471 (char *) "self",(char *) "show", NULL
36472 };
36473
36474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36477 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 36478 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36479 {
36480 PyThreadState* __tstate = wxPyBeginAllowThreads();
36481 (arg1)->ShowItems(arg2);
36482
36483 wxPyEndAllowThreads(__tstate);
36484 if (PyErr_Occurred()) SWIG_fail;
36485 }
36486 Py_INCREF(Py_None); resultobj = Py_None;
36487 return resultobj;
36488 fail:
36489 return NULL;
36490}
36491
36492
c32bde28 36493static PyObject * Sizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36494 PyObject *obj;
36495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36496 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
36497 Py_INCREF(obj);
36498 return Py_BuildValue((char *)"");
36499}
c32bde28 36500static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36501 PyObject *resultobj;
36502 wxPySizer *result;
36503 char *kwnames[] = {
36504 NULL
36505 };
36506
36507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
36508 {
36509 PyThreadState* __tstate = wxPyBeginAllowThreads();
36510 result = (wxPySizer *)new wxPySizer();
36511
36512 wxPyEndAllowThreads(__tstate);
36513 if (PyErr_Occurred()) SWIG_fail;
36514 }
15afbcd0 36515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
36516 return resultobj;
36517 fail:
36518 return NULL;
36519}
36520
36521
c32bde28 36522static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36523 PyObject *resultobj;
36524 wxPySizer *arg1 = (wxPySizer *) 0 ;
36525 PyObject *arg2 = (PyObject *) 0 ;
36526 PyObject *arg3 = (PyObject *) 0 ;
36527 PyObject * obj0 = 0 ;
36528 PyObject * obj1 = 0 ;
36529 PyObject * obj2 = 0 ;
36530 char *kwnames[] = {
36531 (char *) "self",(char *) "self",(char *) "_class", NULL
36532 };
36533
36534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
36536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36537 arg2 = obj1;
36538 arg3 = obj2;
36539 {
36540 PyThreadState* __tstate = wxPyBeginAllowThreads();
36541 (arg1)->_setCallbackInfo(arg2,arg3);
36542
36543 wxPyEndAllowThreads(__tstate);
36544 if (PyErr_Occurred()) SWIG_fail;
36545 }
36546 Py_INCREF(Py_None); resultobj = Py_None;
36547 return resultobj;
36548 fail:
36549 return NULL;
36550}
36551
36552
c32bde28 36553static PyObject * PySizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36554 PyObject *obj;
36555 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36556 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
36557 Py_INCREF(obj);
36558 return Py_BuildValue((char *)"");
36559}
c32bde28 36560static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36561 PyObject *resultobj;
36562 int arg1 = (int) wxHORIZONTAL ;
36563 wxBoxSizer *result;
994141e6 36564 PyObject * obj0 = 0 ;
d14a1e28
RD
36565 char *kwnames[] = {
36566 (char *) "orient", NULL
36567 };
36568
994141e6
RD
36569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
36570 if (obj0) {
c32bde28 36571 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 36572 if (PyErr_Occurred()) SWIG_fail;
994141e6 36573 }
d14a1e28
RD
36574 {
36575 PyThreadState* __tstate = wxPyBeginAllowThreads();
36576 result = (wxBoxSizer *)new wxBoxSizer(arg1);
36577
36578 wxPyEndAllowThreads(__tstate);
36579 if (PyErr_Occurred()) SWIG_fail;
36580 }
15afbcd0 36581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
36582 return resultobj;
36583 fail:
36584 return NULL;
36585}
36586
36587
c32bde28 36588static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36589 PyObject *resultobj;
36590 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36591 int result;
36592 PyObject * obj0 = 0 ;
36593 char *kwnames[] = {
36594 (char *) "self", NULL
36595 };
36596
36597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
36598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36600 {
36601 PyThreadState* __tstate = wxPyBeginAllowThreads();
36602 result = (int)(arg1)->GetOrientation();
36603
36604 wxPyEndAllowThreads(__tstate);
36605 if (PyErr_Occurred()) SWIG_fail;
36606 }
c32bde28 36607 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
36608 return resultobj;
36609 fail:
36610 return NULL;
36611}
36612
36613
c32bde28 36614static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36615 PyObject *resultobj;
36616 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
36617 int arg2 ;
36618 PyObject * obj0 = 0 ;
994141e6 36619 PyObject * obj1 = 0 ;
d14a1e28
RD
36620 char *kwnames[] = {
36621 (char *) "self",(char *) "orient", NULL
36622 };
36623
994141e6 36624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
36626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36627 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36628 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36629 {
36630 PyThreadState* __tstate = wxPyBeginAllowThreads();
36631 (arg1)->SetOrientation(arg2);
36632
36633 wxPyEndAllowThreads(__tstate);
36634 if (PyErr_Occurred()) SWIG_fail;
36635 }
36636 Py_INCREF(Py_None); resultobj = Py_None;
36637 return resultobj;
36638 fail:
36639 return NULL;
36640}
36641
36642
c32bde28 36643static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36644 PyObject *obj;
36645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36646 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
36647 Py_INCREF(obj);
36648 return Py_BuildValue((char *)"");
36649}
c32bde28 36650static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36651 PyObject *resultobj;
36652 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
36653 int arg2 = (int) wxHORIZONTAL ;
36654 wxStaticBoxSizer *result;
36655 PyObject * obj0 = 0 ;
994141e6 36656 PyObject * obj1 = 0 ;
d14a1e28
RD
36657 char *kwnames[] = {
36658 (char *) "box",(char *) "orient", NULL
36659 };
36660
994141e6 36661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
36663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 36664 if (obj1) {
c32bde28 36665 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36666 if (PyErr_Occurred()) SWIG_fail;
994141e6 36667 }
d14a1e28
RD
36668 {
36669 PyThreadState* __tstate = wxPyBeginAllowThreads();
36670 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
36671
36672 wxPyEndAllowThreads(__tstate);
36673 if (PyErr_Occurred()) SWIG_fail;
36674 }
15afbcd0 36675 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
36676 return resultobj;
36677 fail:
36678 return NULL;
36679}
36680
36681
c32bde28 36682static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36683 PyObject *resultobj;
36684 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
36685 wxStaticBox *result;
36686 PyObject * obj0 = 0 ;
36687 char *kwnames[] = {
36688 (char *) "self", NULL
36689 };
36690
36691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
36692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
36693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36694 {
36695 PyThreadState* __tstate = wxPyBeginAllowThreads();
36696 result = (wxStaticBox *)(arg1)->GetStaticBox();
36697
36698 wxPyEndAllowThreads(__tstate);
36699 if (PyErr_Occurred()) SWIG_fail;
36700 }
36701 {
412d302d 36702 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
36703 }
36704 return resultobj;
36705 fail:
36706 return NULL;
36707}
36708
36709
c32bde28 36710static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36711 PyObject *obj;
36712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36713 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
36714 Py_INCREF(obj);
36715 return Py_BuildValue((char *)"");
36716}
c32bde28 36717static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36718 PyObject *resultobj;
36719 int arg1 = (int) 1 ;
36720 int arg2 = (int) 0 ;
36721 int arg3 = (int) 0 ;
36722 int arg4 = (int) 0 ;
36723 wxGridSizer *result;
994141e6
RD
36724 PyObject * obj0 = 0 ;
36725 PyObject * obj1 = 0 ;
36726 PyObject * obj2 = 0 ;
36727 PyObject * obj3 = 0 ;
d14a1e28
RD
36728 char *kwnames[] = {
36729 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36730 };
36731
994141e6
RD
36732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36733 if (obj0) {
c32bde28 36734 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 36735 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36736 }
36737 if (obj1) {
c32bde28 36738 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36739 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36740 }
36741 if (obj2) {
c32bde28 36742 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 36743 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36744 }
36745 if (obj3) {
c32bde28 36746 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 36747 if (PyErr_Occurred()) SWIG_fail;
994141e6 36748 }
d14a1e28
RD
36749 {
36750 PyThreadState* __tstate = wxPyBeginAllowThreads();
36751 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
36752
36753 wxPyEndAllowThreads(__tstate);
36754 if (PyErr_Occurred()) SWIG_fail;
36755 }
15afbcd0 36756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
36757 return resultobj;
36758 fail:
36759 return NULL;
36760}
36761
36762
c32bde28 36763static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36764 PyObject *resultobj;
36765 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36766 int arg2 ;
36767 PyObject * obj0 = 0 ;
994141e6 36768 PyObject * obj1 = 0 ;
d14a1e28
RD
36769 char *kwnames[] = {
36770 (char *) "self",(char *) "cols", NULL
36771 };
36772
994141e6 36773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36776 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36777 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36778 {
36779 PyThreadState* __tstate = wxPyBeginAllowThreads();
36780 (arg1)->SetCols(arg2);
36781
36782 wxPyEndAllowThreads(__tstate);
36783 if (PyErr_Occurred()) SWIG_fail;
36784 }
36785 Py_INCREF(Py_None); resultobj = Py_None;
36786 return resultobj;
36787 fail:
36788 return NULL;
36789}
36790
36791
c32bde28 36792static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36793 PyObject *resultobj;
36794 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36795 int arg2 ;
36796 PyObject * obj0 = 0 ;
994141e6 36797 PyObject * obj1 = 0 ;
d14a1e28
RD
36798 char *kwnames[] = {
36799 (char *) "self",(char *) "rows", NULL
36800 };
36801
994141e6 36802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36805 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36806 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36807 {
36808 PyThreadState* __tstate = wxPyBeginAllowThreads();
36809 (arg1)->SetRows(arg2);
36810
36811 wxPyEndAllowThreads(__tstate);
36812 if (PyErr_Occurred()) SWIG_fail;
36813 }
36814 Py_INCREF(Py_None); resultobj = Py_None;
36815 return resultobj;
36816 fail:
36817 return NULL;
36818}
36819
36820
c32bde28 36821static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36822 PyObject *resultobj;
36823 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36824 int arg2 ;
36825 PyObject * obj0 = 0 ;
994141e6 36826 PyObject * obj1 = 0 ;
d14a1e28
RD
36827 char *kwnames[] = {
36828 (char *) "self",(char *) "gap", NULL
36829 };
36830
994141e6 36831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36834 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36835 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36836 {
36837 PyThreadState* __tstate = wxPyBeginAllowThreads();
36838 (arg1)->SetVGap(arg2);
36839
36840 wxPyEndAllowThreads(__tstate);
36841 if (PyErr_Occurred()) SWIG_fail;
36842 }
36843 Py_INCREF(Py_None); resultobj = Py_None;
36844 return resultobj;
36845 fail:
36846 return NULL;
36847}
36848
36849
c32bde28 36850static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36851 PyObject *resultobj;
36852 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36853 int arg2 ;
36854 PyObject * obj0 = 0 ;
994141e6 36855 PyObject * obj1 = 0 ;
d14a1e28
RD
36856 char *kwnames[] = {
36857 (char *) "self",(char *) "gap", NULL
36858 };
36859
994141e6 36860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 36863 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 36864 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36865 {
36866 PyThreadState* __tstate = wxPyBeginAllowThreads();
36867 (arg1)->SetHGap(arg2);
36868
36869 wxPyEndAllowThreads(__tstate);
36870 if (PyErr_Occurred()) SWIG_fail;
36871 }
36872 Py_INCREF(Py_None); resultobj = Py_None;
36873 return resultobj;
36874 fail:
36875 return NULL;
36876}
36877
36878
c32bde28 36879static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36880 PyObject *resultobj;
36881 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36882 int result;
36883 PyObject * obj0 = 0 ;
36884 char *kwnames[] = {
36885 (char *) "self", NULL
36886 };
36887
36888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
36889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36891 {
36892 PyThreadState* __tstate = wxPyBeginAllowThreads();
36893 result = (int)(arg1)->GetCols();
36894
36895 wxPyEndAllowThreads(__tstate);
36896 if (PyErr_Occurred()) SWIG_fail;
36897 }
c32bde28 36898 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
36899 return resultobj;
36900 fail:
36901 return NULL;
36902}
36903
36904
c32bde28 36905static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36906 PyObject *resultobj;
36907 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36908 int result;
36909 PyObject * obj0 = 0 ;
36910 char *kwnames[] = {
36911 (char *) "self", NULL
36912 };
36913
36914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
36915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36917 {
36918 PyThreadState* __tstate = wxPyBeginAllowThreads();
36919 result = (int)(arg1)->GetRows();
36920
36921 wxPyEndAllowThreads(__tstate);
36922 if (PyErr_Occurred()) SWIG_fail;
36923 }
c32bde28 36924 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
36925 return resultobj;
36926 fail:
36927 return NULL;
36928}
36929
36930
c32bde28 36931static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36932 PyObject *resultobj;
36933 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36934 int result;
36935 PyObject * obj0 = 0 ;
36936 char *kwnames[] = {
36937 (char *) "self", NULL
36938 };
36939
36940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
36941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36943 {
36944 PyThreadState* __tstate = wxPyBeginAllowThreads();
36945 result = (int)(arg1)->GetVGap();
36946
36947 wxPyEndAllowThreads(__tstate);
36948 if (PyErr_Occurred()) SWIG_fail;
36949 }
c32bde28 36950 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
36951 return resultobj;
36952 fail:
36953 return NULL;
36954}
36955
36956
c32bde28 36957static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36958 PyObject *resultobj;
36959 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36960 int result;
36961 PyObject * obj0 = 0 ;
36962 char *kwnames[] = {
36963 (char *) "self", NULL
36964 };
36965
36966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
36967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36969 {
36970 PyThreadState* __tstate = wxPyBeginAllowThreads();
36971 result = (int)(arg1)->GetHGap();
36972
36973 wxPyEndAllowThreads(__tstate);
36974 if (PyErr_Occurred()) SWIG_fail;
36975 }
c32bde28 36976 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
36977 return resultobj;
36978 fail:
36979 return NULL;
36980}
36981
36982
c32bde28 36983static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36984 PyObject *obj;
36985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36986 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
36987 Py_INCREF(obj);
36988 return Py_BuildValue((char *)"");
36989}
c32bde28 36990static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36991 PyObject *resultobj;
36992 int arg1 = (int) 1 ;
36993 int arg2 = (int) 0 ;
36994 int arg3 = (int) 0 ;
36995 int arg4 = (int) 0 ;
36996 wxFlexGridSizer *result;
994141e6
RD
36997 PyObject * obj0 = 0 ;
36998 PyObject * obj1 = 0 ;
36999 PyObject * obj2 = 0 ;
37000 PyObject * obj3 = 0 ;
d14a1e28
RD
37001 char *kwnames[] = {
37002 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
37003 };
37004
994141e6
RD
37005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
37006 if (obj0) {
c32bde28 37007 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 37008 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37009 }
37010 if (obj1) {
c32bde28 37011 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37012 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37013 }
37014 if (obj2) {
c32bde28 37015 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 37016 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37017 }
37018 if (obj3) {
c32bde28 37019 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 37020 if (PyErr_Occurred()) SWIG_fail;
994141e6 37021 }
d14a1e28
RD
37022 {
37023 PyThreadState* __tstate = wxPyBeginAllowThreads();
37024 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
37025
37026 wxPyEndAllowThreads(__tstate);
37027 if (PyErr_Occurred()) SWIG_fail;
37028 }
15afbcd0 37029 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
37030 return resultobj;
37031 fail:
37032 return NULL;
37033}
37034
37035
c32bde28 37036static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37037 PyObject *resultobj;
37038 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37039 size_t arg2 ;
37040 int arg3 = (int) 0 ;
37041 PyObject * obj0 = 0 ;
37042 PyObject * obj1 = 0 ;
994141e6 37043 PyObject * obj2 = 0 ;
d14a1e28
RD
37044 char *kwnames[] = {
37045 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37046 };
37047
994141e6 37048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37051 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 37052 if (PyErr_Occurred()) SWIG_fail;
994141e6 37053 if (obj2) {
c32bde28 37054 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 37055 if (PyErr_Occurred()) SWIG_fail;
994141e6 37056 }
d14a1e28
RD
37057 {
37058 PyThreadState* __tstate = wxPyBeginAllowThreads();
37059 (arg1)->AddGrowableRow(arg2,arg3);
37060
37061 wxPyEndAllowThreads(__tstate);
37062 if (PyErr_Occurred()) SWIG_fail;
37063 }
37064 Py_INCREF(Py_None); resultobj = Py_None;
37065 return resultobj;
37066 fail:
37067 return NULL;
37068}
37069
37070
c32bde28 37071static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37072 PyObject *resultobj;
37073 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37074 size_t arg2 ;
37075 PyObject * obj0 = 0 ;
37076 PyObject * obj1 = 0 ;
37077 char *kwnames[] = {
37078 (char *) "self",(char *) "idx", NULL
37079 };
37080
37081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37084 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 37085 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37086 {
37087 PyThreadState* __tstate = wxPyBeginAllowThreads();
37088 (arg1)->RemoveGrowableRow(arg2);
37089
37090 wxPyEndAllowThreads(__tstate);
37091 if (PyErr_Occurred()) SWIG_fail;
37092 }
37093 Py_INCREF(Py_None); resultobj = Py_None;
37094 return resultobj;
37095 fail:
37096 return NULL;
37097}
37098
37099
c32bde28 37100static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37101 PyObject *resultobj;
37102 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37103 size_t arg2 ;
37104 int arg3 = (int) 0 ;
37105 PyObject * obj0 = 0 ;
37106 PyObject * obj1 = 0 ;
994141e6 37107 PyObject * obj2 = 0 ;
d14a1e28
RD
37108 char *kwnames[] = {
37109 (char *) "self",(char *) "idx",(char *) "proportion", NULL
37110 };
37111
994141e6 37112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37115 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 37116 if (PyErr_Occurred()) SWIG_fail;
994141e6 37117 if (obj2) {
c32bde28 37118 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 37119 if (PyErr_Occurred()) SWIG_fail;
994141e6 37120 }
d14a1e28
RD
37121 {
37122 PyThreadState* __tstate = wxPyBeginAllowThreads();
37123 (arg1)->AddGrowableCol(arg2,arg3);
37124
37125 wxPyEndAllowThreads(__tstate);
37126 if (PyErr_Occurred()) SWIG_fail;
37127 }
37128 Py_INCREF(Py_None); resultobj = Py_None;
37129 return resultobj;
37130 fail:
37131 return NULL;
37132}
37133
37134
c32bde28 37135static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37136 PyObject *resultobj;
37137 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37138 size_t arg2 ;
37139 PyObject * obj0 = 0 ;
37140 PyObject * obj1 = 0 ;
37141 char *kwnames[] = {
37142 (char *) "self",(char *) "idx", NULL
37143 };
37144
37145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37148 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 37149 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37150 {
37151 PyThreadState* __tstate = wxPyBeginAllowThreads();
37152 (arg1)->RemoveGrowableCol(arg2);
37153
37154 wxPyEndAllowThreads(__tstate);
37155 if (PyErr_Occurred()) SWIG_fail;
37156 }
37157 Py_INCREF(Py_None); resultobj = Py_None;
37158 return resultobj;
37159 fail:
37160 return NULL;
37161}
37162
37163
c32bde28 37164static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37165 PyObject *resultobj;
37166 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37167 int arg2 ;
37168 PyObject * obj0 = 0 ;
994141e6 37169 PyObject * obj1 = 0 ;
d14a1e28
RD
37170 char *kwnames[] = {
37171 (char *) "self",(char *) "direction", NULL
37172 };
37173
994141e6 37174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37177 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37178 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37179 {
37180 PyThreadState* __tstate = wxPyBeginAllowThreads();
37181 (arg1)->SetFlexibleDirection(arg2);
37182
37183 wxPyEndAllowThreads(__tstate);
37184 if (PyErr_Occurred()) SWIG_fail;
37185 }
37186 Py_INCREF(Py_None); resultobj = Py_None;
37187 return resultobj;
37188 fail:
37189 return NULL;
37190}
37191
37192
c32bde28 37193static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37194 PyObject *resultobj;
37195 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37196 int result;
37197 PyObject * obj0 = 0 ;
37198 char *kwnames[] = {
37199 (char *) "self", NULL
37200 };
37201
37202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
37203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37205 {
37206 PyThreadState* __tstate = wxPyBeginAllowThreads();
37207 result = (int)(arg1)->GetFlexibleDirection();
37208
37209 wxPyEndAllowThreads(__tstate);
37210 if (PyErr_Occurred()) SWIG_fail;
37211 }
c32bde28 37212 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37213 return resultobj;
37214 fail:
37215 return NULL;
37216}
37217
37218
c32bde28 37219static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37220 PyObject *resultobj;
37221 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37222 int arg2 ;
37223 PyObject * obj0 = 0 ;
994141e6 37224 PyObject * obj1 = 0 ;
d14a1e28
RD
37225 char *kwnames[] = {
37226 (char *) "self",(char *) "mode", NULL
37227 };
37228
994141e6 37229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37232 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37233 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37234 {
37235 PyThreadState* __tstate = wxPyBeginAllowThreads();
37236 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
37237
37238 wxPyEndAllowThreads(__tstate);
37239 if (PyErr_Occurred()) SWIG_fail;
37240 }
37241 Py_INCREF(Py_None); resultobj = Py_None;
37242 return resultobj;
37243 fail:
37244 return NULL;
37245}
37246
37247
c32bde28 37248static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37249 PyObject *resultobj;
37250 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37251 int result;
37252 PyObject * obj0 = 0 ;
37253 char *kwnames[] = {
37254 (char *) "self", NULL
37255 };
37256
37257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
37258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37260 {
37261 PyThreadState* __tstate = wxPyBeginAllowThreads();
37262 result = (int)(arg1)->GetNonFlexibleGrowMode();
37263
37264 wxPyEndAllowThreads(__tstate);
37265 if (PyErr_Occurred()) SWIG_fail;
37266 }
c32bde28 37267 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37268 return resultobj;
37269 fail:
37270 return NULL;
37271}
37272
37273
c32bde28 37274static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
37275 PyObject *resultobj;
37276 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37277 wxArrayInt *result;
37278 PyObject * obj0 = 0 ;
37279 char *kwnames[] = {
37280 (char *) "self", NULL
37281 };
37282
37283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
15afbcd0
RD
37284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
37286 {
37287 PyThreadState* __tstate = wxPyBeginAllowThreads();
37288 {
37289 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
37290 result = (wxArrayInt *) &_result_ref;
37291 }
37292
37293 wxPyEndAllowThreads(__tstate);
37294 if (PyErr_Occurred()) SWIG_fail;
37295 }
37296 {
37297 resultobj = PyList_New(0);
37298 size_t idx;
37299 for (idx = 0; idx < result->GetCount(); idx += 1) {
37300 PyObject* val = PyInt_FromLong( result->Item(idx) );
37301 PyList_Append(resultobj, val);
37302 Py_DECREF(val);
37303 }
37304 }
37305 return resultobj;
37306 fail:
37307 return NULL;
37308}
37309
37310
c32bde28 37311static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
37312 PyObject *resultobj;
37313 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
37314 wxArrayInt *result;
37315 PyObject * obj0 = 0 ;
37316 char *kwnames[] = {
37317 (char *) "self", NULL
37318 };
37319
37320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
15afbcd0
RD
37321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
37322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
37323 {
37324 PyThreadState* __tstate = wxPyBeginAllowThreads();
37325 {
37326 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
37327 result = (wxArrayInt *) &_result_ref;
37328 }
37329
37330 wxPyEndAllowThreads(__tstate);
37331 if (PyErr_Occurred()) SWIG_fail;
37332 }
37333 {
37334 resultobj = PyList_New(0);
37335 size_t idx;
37336 for (idx = 0; idx < result->GetCount(); idx += 1) {
37337 PyObject* val = PyInt_FromLong( result->Item(idx) );
37338 PyList_Append(resultobj, val);
37339 Py_DECREF(val);
37340 }
37341 }
37342 return resultobj;
37343 fail:
37344 return NULL;
37345}
37346
37347
c32bde28 37348static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
37349 PyObject *obj;
37350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37351 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
37352 Py_INCREF(obj);
37353 return Py_BuildValue((char *)"");
37354}
c32bde28 37355static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37356 PyObject *resultobj;
37357 int arg1 = (int) 0 ;
37358 int arg2 = (int) 0 ;
37359 wxGBPosition *result;
994141e6
RD
37360 PyObject * obj0 = 0 ;
37361 PyObject * obj1 = 0 ;
d14a1e28
RD
37362 char *kwnames[] = {
37363 (char *) "row",(char *) "col", NULL
37364 };
37365
994141e6
RD
37366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
37367 if (obj0) {
c32bde28 37368 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 37369 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37370 }
37371 if (obj1) {
c32bde28 37372 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37373 if (PyErr_Occurred()) SWIG_fail;
994141e6 37374 }
d14a1e28
RD
37375 {
37376 PyThreadState* __tstate = wxPyBeginAllowThreads();
37377 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
37378
37379 wxPyEndAllowThreads(__tstate);
37380 if (PyErr_Occurred()) SWIG_fail;
37381 }
15afbcd0 37382 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37383 return resultobj;
37384 fail:
37385 return NULL;
37386}
37387
37388
c32bde28 37389static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37390 PyObject *resultobj;
37391 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37392 int result;
37393 PyObject * obj0 = 0 ;
37394 char *kwnames[] = {
37395 (char *) "self", NULL
37396 };
37397
37398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
37399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37401 {
37402 PyThreadState* __tstate = wxPyBeginAllowThreads();
37403 result = (int)((wxGBPosition const *)arg1)->GetRow();
37404
37405 wxPyEndAllowThreads(__tstate);
37406 if (PyErr_Occurred()) SWIG_fail;
37407 }
c32bde28 37408 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37409 return resultobj;
37410 fail:
37411 return NULL;
37412}
37413
37414
c32bde28 37415static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37416 PyObject *resultobj;
37417 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37418 int result;
37419 PyObject * obj0 = 0 ;
37420 char *kwnames[] = {
37421 (char *) "self", NULL
37422 };
37423
37424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
37425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37427 {
37428 PyThreadState* __tstate = wxPyBeginAllowThreads();
37429 result = (int)((wxGBPosition const *)arg1)->GetCol();
37430
37431 wxPyEndAllowThreads(__tstate);
37432 if (PyErr_Occurred()) SWIG_fail;
37433 }
c32bde28 37434 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37435 return resultobj;
37436 fail:
37437 return NULL;
37438}
37439
37440
c32bde28 37441static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37442 PyObject *resultobj;
37443 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37444 int arg2 ;
37445 PyObject * obj0 = 0 ;
994141e6 37446 PyObject * obj1 = 0 ;
d14a1e28
RD
37447 char *kwnames[] = {
37448 (char *) "self",(char *) "row", NULL
37449 };
37450
994141e6 37451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37454 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37455 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37456 {
37457 PyThreadState* __tstate = wxPyBeginAllowThreads();
37458 (arg1)->SetRow(arg2);
37459
37460 wxPyEndAllowThreads(__tstate);
37461 if (PyErr_Occurred()) SWIG_fail;
37462 }
37463 Py_INCREF(Py_None); resultobj = Py_None;
37464 return resultobj;
37465 fail:
37466 return NULL;
37467}
37468
37469
c32bde28 37470static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37471 PyObject *resultobj;
37472 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37473 int arg2 ;
37474 PyObject * obj0 = 0 ;
994141e6 37475 PyObject * obj1 = 0 ;
d14a1e28
RD
37476 char *kwnames[] = {
37477 (char *) "self",(char *) "col", NULL
37478 };
37479
994141e6 37480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37483 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37484 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37485 {
37486 PyThreadState* __tstate = wxPyBeginAllowThreads();
37487 (arg1)->SetCol(arg2);
37488
37489 wxPyEndAllowThreads(__tstate);
37490 if (PyErr_Occurred()) SWIG_fail;
37491 }
37492 Py_INCREF(Py_None); resultobj = Py_None;
37493 return resultobj;
37494 fail:
37495 return NULL;
37496}
37497
37498
c32bde28 37499static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37500 PyObject *resultobj;
37501 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 37502 wxGBPosition *arg2 = 0 ;
d14a1e28 37503 bool result;
4f89f6a3 37504 wxGBPosition temp2 ;
d14a1e28
RD
37505 PyObject * obj0 = 0 ;
37506 PyObject * obj1 = 0 ;
37507 char *kwnames[] = {
22faec7d 37508 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37509 };
37510
37511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37514 {
37515 arg2 = &temp2;
37516 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37517 }
d14a1e28
RD
37518 {
37519 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37520 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
d14a1e28
RD
37521
37522 wxPyEndAllowThreads(__tstate);
37523 if (PyErr_Occurred()) SWIG_fail;
37524 }
4f89f6a3
RD
37525 {
37526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37527 }
d14a1e28
RD
37528 return resultobj;
37529 fail:
37530 return NULL;
37531}
37532
37533
c32bde28 37534static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37535 PyObject *resultobj;
37536 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 37537 wxGBPosition *arg2 = 0 ;
d14a1e28 37538 bool result;
4f89f6a3 37539 wxGBPosition temp2 ;
d14a1e28
RD
37540 PyObject * obj0 = 0 ;
37541 PyObject * obj1 = 0 ;
37542 char *kwnames[] = {
22faec7d 37543 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37544 };
37545
37546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37549 {
37550 arg2 = &temp2;
37551 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37552 }
d14a1e28
RD
37553 {
37554 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37555 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
d14a1e28
RD
37556
37557 wxPyEndAllowThreads(__tstate);
37558 if (PyErr_Occurred()) SWIG_fail;
37559 }
4f89f6a3
RD
37560 {
37561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37562 }
d14a1e28
RD
37563 return resultobj;
37564 fail:
37565 return NULL;
37566}
37567
37568
c32bde28 37569static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
37570 PyObject *resultobj;
37571 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37572 int arg2 = (int) 0 ;
37573 int arg3 = (int) 0 ;
37574 PyObject * obj0 = 0 ;
994141e6
RD
37575 PyObject * obj1 = 0 ;
37576 PyObject * obj2 = 0 ;
e811c8ce
RD
37577 char *kwnames[] = {
37578 (char *) "self",(char *) "row",(char *) "col", NULL
37579 };
37580
994141e6 37581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37582 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37583 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 37584 if (obj1) {
c32bde28 37585 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37586 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37587 }
37588 if (obj2) {
c32bde28 37589 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 37590 if (PyErr_Occurred()) SWIG_fail;
994141e6 37591 }
e811c8ce
RD
37592 {
37593 PyThreadState* __tstate = wxPyBeginAllowThreads();
37594 wxGBPosition_Set(arg1,arg2,arg3);
37595
37596 wxPyEndAllowThreads(__tstate);
37597 if (PyErr_Occurred()) SWIG_fail;
37598 }
37599 Py_INCREF(Py_None); resultobj = Py_None;
37600 return resultobj;
37601 fail:
37602 return NULL;
37603}
37604
37605
c32bde28 37606static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37607 PyObject *resultobj;
37608 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
37609 PyObject *result;
37610 PyObject * obj0 = 0 ;
37611 char *kwnames[] = {
37612 (char *) "self", NULL
37613 };
37614
e811c8ce 37615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
37616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
37617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37618 {
37619 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 37620 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
37621
37622 wxPyEndAllowThreads(__tstate);
37623 if (PyErr_Occurred()) SWIG_fail;
37624 }
37625 resultobj = result;
37626 return resultobj;
37627 fail:
37628 return NULL;
37629}
37630
37631
c32bde28 37632static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
37633 PyObject *obj;
37634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37635 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
37636 Py_INCREF(obj);
37637 return Py_BuildValue((char *)"");
37638}
c32bde28 37639static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37640 PyObject *resultobj;
37641 int arg1 = (int) 1 ;
37642 int arg2 = (int) 1 ;
37643 wxGBSpan *result;
994141e6
RD
37644 PyObject * obj0 = 0 ;
37645 PyObject * obj1 = 0 ;
d14a1e28
RD
37646 char *kwnames[] = {
37647 (char *) "rowspan",(char *) "colspan", NULL
37648 };
37649
994141e6
RD
37650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
37651 if (obj0) {
c32bde28 37652 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 37653 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37654 }
37655 if (obj1) {
c32bde28 37656 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37657 if (PyErr_Occurred()) SWIG_fail;
994141e6 37658 }
d14a1e28
RD
37659 {
37660 PyThreadState* __tstate = wxPyBeginAllowThreads();
37661 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
37662
37663 wxPyEndAllowThreads(__tstate);
37664 if (PyErr_Occurred()) SWIG_fail;
37665 }
15afbcd0 37666 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37667 return resultobj;
37668 fail:
37669 return NULL;
37670}
37671
37672
c32bde28 37673static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37674 PyObject *resultobj;
37675 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37676 int result;
37677 PyObject * obj0 = 0 ;
37678 char *kwnames[] = {
37679 (char *) "self", NULL
37680 };
37681
37682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
37683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37685 {
37686 PyThreadState* __tstate = wxPyBeginAllowThreads();
37687 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
37688
37689 wxPyEndAllowThreads(__tstate);
37690 if (PyErr_Occurred()) SWIG_fail;
37691 }
c32bde28 37692 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37693 return resultobj;
37694 fail:
37695 return NULL;
37696}
37697
37698
c32bde28 37699static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37700 PyObject *resultobj;
37701 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37702 int result;
37703 PyObject * obj0 = 0 ;
37704 char *kwnames[] = {
37705 (char *) "self", NULL
37706 };
37707
37708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
37709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37711 {
37712 PyThreadState* __tstate = wxPyBeginAllowThreads();
37713 result = (int)((wxGBSpan const *)arg1)->GetColspan();
37714
37715 wxPyEndAllowThreads(__tstate);
37716 if (PyErr_Occurred()) SWIG_fail;
37717 }
c32bde28 37718 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
37719 return resultobj;
37720 fail:
37721 return NULL;
37722}
37723
37724
c32bde28 37725static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37726 PyObject *resultobj;
37727 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37728 int arg2 ;
37729 PyObject * obj0 = 0 ;
994141e6 37730 PyObject * obj1 = 0 ;
d14a1e28
RD
37731 char *kwnames[] = {
37732 (char *) "self",(char *) "rowspan", NULL
37733 };
37734
994141e6 37735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37738 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37739 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37740 {
37741 PyThreadState* __tstate = wxPyBeginAllowThreads();
37742 (arg1)->SetRowspan(arg2);
37743
37744 wxPyEndAllowThreads(__tstate);
37745 if (PyErr_Occurred()) SWIG_fail;
37746 }
37747 Py_INCREF(Py_None); resultobj = Py_None;
37748 return resultobj;
37749 fail:
37750 return NULL;
37751}
37752
37753
c32bde28 37754static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37755 PyObject *resultobj;
37756 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37757 int arg2 ;
37758 PyObject * obj0 = 0 ;
994141e6 37759 PyObject * obj1 = 0 ;
d14a1e28
RD
37760 char *kwnames[] = {
37761 (char *) "self",(char *) "colspan", NULL
37762 };
37763
994141e6 37764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 37767 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37768 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37769 {
37770 PyThreadState* __tstate = wxPyBeginAllowThreads();
37771 (arg1)->SetColspan(arg2);
37772
37773 wxPyEndAllowThreads(__tstate);
37774 if (PyErr_Occurred()) SWIG_fail;
37775 }
37776 Py_INCREF(Py_None); resultobj = Py_None;
37777 return resultobj;
37778 fail:
37779 return NULL;
37780}
37781
37782
c32bde28 37783static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37784 PyObject *resultobj;
37785 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 37786 wxGBSpan *arg2 = 0 ;
d14a1e28 37787 bool result;
4f89f6a3 37788 wxGBSpan temp2 ;
d14a1e28
RD
37789 PyObject * obj0 = 0 ;
37790 PyObject * obj1 = 0 ;
37791 char *kwnames[] = {
22faec7d 37792 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37793 };
37794
37795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37798 {
37799 arg2 = &temp2;
37800 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37801 }
d14a1e28
RD
37802 {
37803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37804 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
d14a1e28
RD
37805
37806 wxPyEndAllowThreads(__tstate);
37807 if (PyErr_Occurred()) SWIG_fail;
37808 }
4f89f6a3
RD
37809 {
37810 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37811 }
d14a1e28
RD
37812 return resultobj;
37813 fail:
37814 return NULL;
37815}
37816
37817
c32bde28 37818static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37819 PyObject *resultobj;
37820 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 37821 wxGBSpan *arg2 = 0 ;
d14a1e28 37822 bool result;
4f89f6a3 37823 wxGBSpan temp2 ;
d14a1e28
RD
37824 PyObject * obj0 = 0 ;
37825 PyObject * obj1 = 0 ;
37826 char *kwnames[] = {
22faec7d 37827 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37828 };
37829
37830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
37833 {
37834 arg2 = &temp2;
37835 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37836 }
d14a1e28
RD
37837 {
37838 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 37839 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
d14a1e28
RD
37840
37841 wxPyEndAllowThreads(__tstate);
37842 if (PyErr_Occurred()) SWIG_fail;
37843 }
4f89f6a3
RD
37844 {
37845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37846 }
d14a1e28
RD
37847 return resultobj;
37848 fail:
37849 return NULL;
37850}
37851
37852
c32bde28 37853static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
37854 PyObject *resultobj;
37855 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37856 int arg2 = (int) 1 ;
37857 int arg3 = (int) 1 ;
37858 PyObject * obj0 = 0 ;
994141e6
RD
37859 PyObject * obj1 = 0 ;
37860 PyObject * obj2 = 0 ;
e811c8ce
RD
37861 char *kwnames[] = {
37862 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37863 };
37864
994141e6 37865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 37868 if (obj1) {
c32bde28 37869 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 37870 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
37871 }
37872 if (obj2) {
c32bde28 37873 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 37874 if (PyErr_Occurred()) SWIG_fail;
994141e6 37875 }
e811c8ce
RD
37876 {
37877 PyThreadState* __tstate = wxPyBeginAllowThreads();
37878 wxGBSpan_Set(arg1,arg2,arg3);
37879
37880 wxPyEndAllowThreads(__tstate);
37881 if (PyErr_Occurred()) SWIG_fail;
37882 }
37883 Py_INCREF(Py_None); resultobj = Py_None;
37884 return resultobj;
37885 fail:
37886 return NULL;
37887}
37888
37889
c32bde28 37890static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37891 PyObject *resultobj;
37892 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37893 PyObject *result;
37894 PyObject * obj0 = 0 ;
37895 char *kwnames[] = {
37896 (char *) "self", NULL
37897 };
37898
e811c8ce 37899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
37900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37902 {
37903 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 37904 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
37905
37906 wxPyEndAllowThreads(__tstate);
37907 if (PyErr_Occurred()) SWIG_fail;
37908 }
37909 resultobj = result;
37910 return resultobj;
37911 fail:
37912 return NULL;
37913}
37914
37915
c32bde28 37916static PyObject * GBSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
37917 PyObject *obj;
37918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37919 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
37920 Py_INCREF(obj);
37921 return Py_BuildValue((char *)"");
37922}
c32bde28 37923static int _wrap_DefaultSpan_set(PyObject *) {
d14a1e28
RD
37924 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
37925 return 1;
37926}
37927
37928
37929static PyObject *_wrap_DefaultSpan_get() {
37930 PyObject *pyobj;
37931
15afbcd0 37932 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
37933 return pyobj;
37934}
37935
37936
c32bde28 37937static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37938 PyObject *resultobj;
37939 wxGBSizerItem *result;
37940 char *kwnames[] = {
37941 NULL
37942 };
37943
37944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
37945 {
37946 PyThreadState* __tstate = wxPyBeginAllowThreads();
37947 result = (wxGBSizerItem *)new wxGBSizerItem();
37948
37949 wxPyEndAllowThreads(__tstate);
37950 if (PyErr_Occurred()) SWIG_fail;
37951 }
15afbcd0 37952 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37953 return resultobj;
37954 fail:
37955 return NULL;
37956}
37957
37958
c32bde28 37959static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37960 PyObject *resultobj;
37961 wxWindow *arg1 = (wxWindow *) 0 ;
37962 wxGBPosition *arg2 = 0 ;
37963 wxGBSpan *arg3 = 0 ;
37964 int arg4 ;
37965 int arg5 ;
248ed943 37966 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
37967 wxGBSizerItem *result;
37968 wxGBPosition temp2 ;
37969 wxGBSpan temp3 ;
37970 PyObject * obj0 = 0 ;
37971 PyObject * obj1 = 0 ;
37972 PyObject * obj2 = 0 ;
994141e6
RD
37973 PyObject * obj3 = 0 ;
37974 PyObject * obj4 = 0 ;
d14a1e28
RD
37975 PyObject * obj5 = 0 ;
37976 char *kwnames[] = {
37977 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37978 };
37979
248ed943 37980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
37981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
37982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37983 {
37984 arg2 = &temp2;
37985 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37986 }
37987 {
37988 arg3 = &temp3;
37989 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37990 }
c32bde28 37991 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 37992 if (PyErr_Occurred()) SWIG_fail;
c32bde28 37993 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 37994 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
37995 if (obj5) {
37996 arg6 = obj5;
37997 }
d14a1e28
RD
37998 {
37999 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38000 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d14a1e28
RD
38001
38002 wxPyEndAllowThreads(__tstate);
38003 if (PyErr_Occurred()) SWIG_fail;
38004 }
15afbcd0 38005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
38006 return resultobj;
38007 fail:
38008 return NULL;
38009}
38010
38011
c32bde28 38012static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38013 PyObject *resultobj;
38014 wxSizer *arg1 = (wxSizer *) 0 ;
38015 wxGBPosition *arg2 = 0 ;
38016 wxGBSpan *arg3 = 0 ;
38017 int arg4 ;
38018 int arg5 ;
248ed943 38019 PyObject *arg6 = (PyObject *) NULL ;
d14a1e28
RD
38020 wxGBSizerItem *result;
38021 wxGBPosition temp2 ;
38022 wxGBSpan temp3 ;
38023 PyObject * obj0 = 0 ;
38024 PyObject * obj1 = 0 ;
38025 PyObject * obj2 = 0 ;
994141e6
RD
38026 PyObject * obj3 = 0 ;
38027 PyObject * obj4 = 0 ;
d14a1e28
RD
38028 PyObject * obj5 = 0 ;
38029 char *kwnames[] = {
38030 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38031 };
38032
248ed943 38033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
38034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
38035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38036 {
38037 arg2 = &temp2;
38038 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38039 }
38040 {
38041 arg3 = &temp3;
38042 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38043 }
c32bde28 38044 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 38045 if (PyErr_Occurred()) SWIG_fail;
c32bde28 38046 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 38047 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
38048 if (obj5) {
38049 arg6 = obj5;
38050 }
d14a1e28
RD
38051 {
38052 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38053 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
d14a1e28
RD
38054
38055 wxPyEndAllowThreads(__tstate);
38056 if (PyErr_Occurred()) SWIG_fail;
38057 }
15afbcd0 38058 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
38059 return resultobj;
38060 fail:
38061 return NULL;
38062}
38063
38064
c32bde28 38065static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38066 PyObject *resultobj;
38067 int arg1 ;
38068 int arg2 ;
38069 wxGBPosition *arg3 = 0 ;
38070 wxGBSpan *arg4 = 0 ;
38071 int arg5 ;
38072 int arg6 ;
248ed943 38073 PyObject *arg7 = (PyObject *) NULL ;
d14a1e28
RD
38074 wxGBSizerItem *result;
38075 wxGBPosition temp3 ;
38076 wxGBSpan temp4 ;
994141e6
RD
38077 PyObject * obj0 = 0 ;
38078 PyObject * obj1 = 0 ;
d14a1e28
RD
38079 PyObject * obj2 = 0 ;
38080 PyObject * obj3 = 0 ;
994141e6
RD
38081 PyObject * obj4 = 0 ;
38082 PyObject * obj5 = 0 ;
d14a1e28
RD
38083 PyObject * obj6 = 0 ;
38084 char *kwnames[] = {
38085 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38086 };
38087
248ed943 38088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
c32bde28 38089 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 38090 if (PyErr_Occurred()) SWIG_fail;
c32bde28 38091 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 38092 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38093 {
38094 arg3 = &temp3;
38095 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38096 }
38097 {
38098 arg4 = &temp4;
38099 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
38100 }
c32bde28 38101 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 38102 if (PyErr_Occurred()) SWIG_fail;
c32bde28 38103 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 38104 if (PyErr_Occurred()) SWIG_fail;
248ed943
RD
38105 if (obj6) {
38106 arg7 = obj6;
38107 }
d14a1e28
RD
38108 {
38109 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38110 result = (wxGBSizerItem *)new_wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
d14a1e28
RD
38111
38112 wxPyEndAllowThreads(__tstate);
38113 if (PyErr_Occurred()) SWIG_fail;
38114 }
15afbcd0 38115 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
38116 return resultobj;
38117 fail:
38118 return NULL;
38119}
38120
38121
c32bde28 38122static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38123 PyObject *resultobj;
38124 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38125 wxGBPosition result;
38126 PyObject * obj0 = 0 ;
38127 char *kwnames[] = {
38128 (char *) "self", NULL
38129 };
38130
38131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
38132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38134 {
38135 PyThreadState* __tstate = wxPyBeginAllowThreads();
38136 result = ((wxGBSizerItem const *)arg1)->GetPos();
38137
38138 wxPyEndAllowThreads(__tstate);
38139 if (PyErr_Occurred()) SWIG_fail;
38140 }
38141 {
38142 wxGBPosition * resultptr;
38143 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 38144 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
38145 }
38146 return resultobj;
38147 fail:
38148 return NULL;
38149}
38150
38151
c32bde28 38152static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38153 PyObject *resultobj;
38154 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38155 wxGBSpan result;
38156 PyObject * obj0 = 0 ;
38157 char *kwnames[] = {
38158 (char *) "self", NULL
38159 };
38160
38161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
15afbcd0
RD
38162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38164 {
38165 PyThreadState* __tstate = wxPyBeginAllowThreads();
38166 result = ((wxGBSizerItem const *)arg1)->GetSpan();
38167
38168 wxPyEndAllowThreads(__tstate);
38169 if (PyErr_Occurred()) SWIG_fail;
38170 }
38171 {
38172 wxGBSpan * resultptr;
38173 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 38174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38175 }
38176 return resultobj;
38177 fail:
38178 return NULL;
38179}
38180
38181
c32bde28 38182static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38183 PyObject *resultobj;
38184 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38185 wxGBPosition *arg2 = 0 ;
38186 bool result;
38187 wxGBPosition temp2 ;
38188 PyObject * obj0 = 0 ;
38189 PyObject * obj1 = 0 ;
38190 char *kwnames[] = {
38191 (char *) "self",(char *) "pos", NULL
38192 };
38193
38194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38197 {
38198 arg2 = &temp2;
38199 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38200 }
38201 {
38202 PyThreadState* __tstate = wxPyBeginAllowThreads();
38203 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
38204
38205 wxPyEndAllowThreads(__tstate);
38206 if (PyErr_Occurred()) SWIG_fail;
38207 }
4f89f6a3
RD
38208 {
38209 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38210 }
d14a1e28
RD
38211 return resultobj;
38212 fail:
38213 return NULL;
38214}
38215
38216
c32bde28 38217static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38218 PyObject *resultobj;
38219 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38220 wxGBSpan *arg2 = 0 ;
38221 bool result;
38222 wxGBSpan temp2 ;
38223 PyObject * obj0 = 0 ;
38224 PyObject * obj1 = 0 ;
38225 char *kwnames[] = {
38226 (char *) "self",(char *) "span", NULL
38227 };
38228
38229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38232 {
38233 arg2 = &temp2;
38234 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
38235 }
38236 {
38237 PyThreadState* __tstate = wxPyBeginAllowThreads();
38238 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
38239
38240 wxPyEndAllowThreads(__tstate);
38241 if (PyErr_Occurred()) SWIG_fail;
38242 }
4f89f6a3
RD
38243 {
38244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38245 }
d14a1e28
RD
38246 return resultobj;
38247 fail:
38248 return NULL;
38249}
38250
38251
c32bde28 38252static PyObject *_wrap_GBSizerItem_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38253 PyObject *resultobj;
38254 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38255 wxGBSizerItem *arg2 = 0 ;
38256 bool result;
38257 PyObject * obj0 = 0 ;
38258 PyObject * obj1 = 0 ;
248ed943
RD
38259 char *kwnames[] = {
38260 (char *) "self",(char *) "other", NULL
38261 };
d14a1e28 38262
248ed943 38263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_Intersects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38267 SWIG_POINTER_EXCEPTION | 0)) == -1)
38268 SWIG_fail;
d14a1e28 38269 if (arg2 == NULL) {
15afbcd0
RD
38270 PyErr_SetString(PyExc_TypeError,"null reference");
38271 SWIG_fail;
d14a1e28
RD
38272 }
38273 {
38274 PyThreadState* __tstate = wxPyBeginAllowThreads();
38275 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
38276
38277 wxPyEndAllowThreads(__tstate);
38278 if (PyErr_Occurred()) SWIG_fail;
38279 }
4f89f6a3
RD
38280 {
38281 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38282 }
d14a1e28
RD
38283 return resultobj;
38284 fail:
38285 return NULL;
38286}
38287
38288
c32bde28 38289static PyObject *_wrap_GBSizerItem_IntersectsPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38290 PyObject *resultobj;
38291 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38292 wxGBPosition *arg2 = 0 ;
38293 wxGBSpan *arg3 = 0 ;
38294 bool result;
38295 wxGBPosition temp2 ;
38296 wxGBSpan temp3 ;
38297 PyObject * obj0 = 0 ;
38298 PyObject * obj1 = 0 ;
38299 PyObject * obj2 = 0 ;
248ed943
RD
38300 char *kwnames[] = {
38301 (char *) "self",(char *) "pos",(char *) "span", NULL
38302 };
d14a1e28 38303
248ed943 38304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38307 {
38308 arg2 = &temp2;
38309 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38310 }
38311 {
38312 arg3 = &temp3;
38313 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38314 }
38315 {
38316 PyThreadState* __tstate = wxPyBeginAllowThreads();
38317 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
38318
38319 wxPyEndAllowThreads(__tstate);
38320 if (PyErr_Occurred()) SWIG_fail;
38321 }
4f89f6a3
RD
38322 {
38323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38324 }
d14a1e28
RD
38325 return resultobj;
38326 fail:
38327 return NULL;
38328}
38329
38330
c32bde28 38331static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38332 PyObject *resultobj;
38333 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
248ed943 38334 wxGBPosition result;
d14a1e28 38335 PyObject * obj0 = 0 ;
d14a1e28 38336 char *kwnames[] = {
248ed943 38337 (char *) "self", NULL
d14a1e28
RD
38338 };
38339
248ed943 38340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetEndPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
38341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38343 {
38344 PyThreadState* __tstate = wxPyBeginAllowThreads();
248ed943 38345 result = wxGBSizerItem_GetEndPos(arg1);
d14a1e28
RD
38346
38347 wxPyEndAllowThreads(__tstate);
38348 if (PyErr_Occurred()) SWIG_fail;
38349 }
248ed943
RD
38350 {
38351 wxGBPosition * resultptr;
38352 resultptr = new wxGBPosition((wxGBPosition &) result);
38353 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
38354 }
d14a1e28
RD
38355 return resultobj;
38356 fail:
38357 return NULL;
38358}
38359
38360
c32bde28 38361static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38362 PyObject *resultobj;
38363 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38364 wxGridBagSizer *result;
38365 PyObject * obj0 = 0 ;
38366 char *kwnames[] = {
38367 (char *) "self", NULL
38368 };
38369
38370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
38371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38373 {
38374 PyThreadState* __tstate = wxPyBeginAllowThreads();
38375 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
38376
38377 wxPyEndAllowThreads(__tstate);
38378 if (PyErr_Occurred()) SWIG_fail;
38379 }
15afbcd0 38380 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
38381 return resultobj;
38382 fail:
38383 return NULL;
38384}
38385
38386
c32bde28 38387static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38388 PyObject *resultobj;
38389 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
38390 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
38391 PyObject * obj0 = 0 ;
38392 PyObject * obj1 = 0 ;
38393 char *kwnames[] = {
38394 (char *) "self",(char *) "sizer", NULL
38395 };
38396
38397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
38399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
38401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38402 {
38403 PyThreadState* __tstate = wxPyBeginAllowThreads();
38404 (arg1)->SetGBSizer(arg2);
38405
38406 wxPyEndAllowThreads(__tstate);
38407 if (PyErr_Occurred()) SWIG_fail;
38408 }
38409 Py_INCREF(Py_None); resultobj = Py_None;
38410 return resultobj;
38411 fail:
38412 return NULL;
38413}
38414
38415
c32bde28 38416static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
38417 PyObject *obj;
38418 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38419 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
38420 Py_INCREF(obj);
38421 return Py_BuildValue((char *)"");
38422}
c32bde28 38423static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38424 PyObject *resultobj;
38425 int arg1 = (int) 0 ;
38426 int arg2 = (int) 0 ;
38427 wxGridBagSizer *result;
994141e6
RD
38428 PyObject * obj0 = 0 ;
38429 PyObject * obj1 = 0 ;
d14a1e28
RD
38430 char *kwnames[] = {
38431 (char *) "vgap",(char *) "hgap", NULL
38432 };
38433
994141e6
RD
38434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
38435 if (obj0) {
c32bde28 38436 arg1 = (int)SWIG_As_int(obj0);
15afbcd0 38437 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
38438 }
38439 if (obj1) {
c32bde28 38440 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 38441 if (PyErr_Occurred()) SWIG_fail;
994141e6 38442 }
d14a1e28
RD
38443 {
38444 PyThreadState* __tstate = wxPyBeginAllowThreads();
38445 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
38446
38447 wxPyEndAllowThreads(__tstate);
38448 if (PyErr_Occurred()) SWIG_fail;
38449 }
15afbcd0 38450 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
38451 return resultobj;
38452 fail:
38453 return NULL;
38454}
38455
38456
c32bde28 38457static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38458 PyObject *resultobj;
38459 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38460 PyObject *arg2 = (PyObject *) 0 ;
38461 wxGBPosition *arg3 = 0 ;
38462 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
38463 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
38464 int arg5 = (int) 0 ;
38465 int arg6 = (int) 0 ;
38466 PyObject *arg7 = (PyObject *) NULL ;
d3b6e4ff 38467 wxGBSizerItem *result;
d14a1e28
RD
38468 wxGBPosition temp3 ;
38469 wxGBSpan temp4 ;
38470 PyObject * obj0 = 0 ;
38471 PyObject * obj1 = 0 ;
38472 PyObject * obj2 = 0 ;
38473 PyObject * obj3 = 0 ;
994141e6
RD
38474 PyObject * obj4 = 0 ;
38475 PyObject * obj5 = 0 ;
d14a1e28
RD
38476 PyObject * obj6 = 0 ;
38477 char *kwnames[] = {
38478 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38479 };
38480
994141e6 38481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
38482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38484 arg2 = obj1;
38485 {
38486 arg3 = &temp3;
38487 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38488 }
38489 if (obj3) {
38490 {
38491 arg4 = &temp4;
38492 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
38493 }
38494 }
994141e6 38495 if (obj4) {
c32bde28 38496 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 38497 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
38498 }
38499 if (obj5) {
c32bde28 38500 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 38501 if (PyErr_Occurred()) SWIG_fail;
994141e6 38502 }
d14a1e28
RD
38503 if (obj6) {
38504 arg7 = obj6;
38505 }
38506 {
38507 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 38508 result = (wxGBSizerItem *)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
d14a1e28
RD
38509
38510 wxPyEndAllowThreads(__tstate);
38511 if (PyErr_Occurred()) SWIG_fail;
38512 }
d3b6e4ff 38513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38514 return resultobj;
38515 fail:
38516 return NULL;
38517}
38518
38519
c32bde28 38520static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38521 PyObject *resultobj;
38522 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38523 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
d3b6e4ff 38524 wxGBSizerItem *result;
d14a1e28
RD
38525 PyObject * obj0 = 0 ;
38526 PyObject * obj1 = 0 ;
38527 char *kwnames[] = {
38528 (char *) "self",(char *) "item", NULL
38529 };
38530
38531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38536 {
38537 PyThreadState* __tstate = wxPyBeginAllowThreads();
d3b6e4ff 38538 result = (wxGBSizerItem *)(arg1)->Add(arg2);
d14a1e28
RD
38539
38540 wxPyEndAllowThreads(__tstate);
38541 if (PyErr_Occurred()) SWIG_fail;
38542 }
d3b6e4ff 38543 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38544 return resultobj;
38545 fail:
38546 return NULL;
38547}
38548
38549
84f85550
RD
38550static PyObject *_wrap_GridBagSizer_GetCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
38551 PyObject *resultobj;
38552 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38553 int arg2 ;
38554 int arg3 ;
38555 wxSize result;
38556 PyObject * obj0 = 0 ;
38557 PyObject * obj1 = 0 ;
38558 PyObject * obj2 = 0 ;
38559 char *kwnames[] = {
38560 (char *) "self",(char *) "row",(char *) "col", NULL
38561 };
38562
38563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GridBagSizer_GetCellSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
38564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38566 arg2 = (int)SWIG_As_int(obj1);
38567 if (PyErr_Occurred()) SWIG_fail;
38568 arg3 = (int)SWIG_As_int(obj2);
38569 if (PyErr_Occurred()) SWIG_fail;
38570 {
38571 PyThreadState* __tstate = wxPyBeginAllowThreads();
38572 result = ((wxGridBagSizer const *)arg1)->GetCellSize(arg2,arg3);
38573
38574 wxPyEndAllowThreads(__tstate);
38575 if (PyErr_Occurred()) SWIG_fail;
38576 }
38577 {
38578 wxSize * resultptr;
38579 resultptr = new wxSize((wxSize &) result);
38580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
38581 }
38582 return resultobj;
38583 fail:
38584 return NULL;
38585}
38586
38587
c32bde28 38588static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38589 PyObject *resultobj;
38590 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38591 wxSize result;
38592 PyObject * obj0 = 0 ;
38593 char *kwnames[] = {
38594 (char *) "self", NULL
38595 };
38596
38597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
38598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38600 {
38601 PyThreadState* __tstate = wxPyBeginAllowThreads();
38602 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
38603
38604 wxPyEndAllowThreads(__tstate);
38605 if (PyErr_Occurred()) SWIG_fail;
38606 }
38607 {
38608 wxSize * resultptr;
38609 resultptr = new wxSize((wxSize &) result);
15afbcd0 38610 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
38611 }
38612 return resultobj;
38613 fail:
38614 return NULL;
38615}
38616
38617
c32bde28 38618static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38619 PyObject *resultobj;
38620 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38621 wxSize *arg2 = 0 ;
38622 wxSize temp2 ;
38623 PyObject * obj0 = 0 ;
38624 PyObject * obj1 = 0 ;
38625 char *kwnames[] = {
38626 (char *) "self",(char *) "sz", NULL
38627 };
38628
38629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38632 {
38633 arg2 = &temp2;
38634 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
38635 }
38636 {
38637 PyThreadState* __tstate = wxPyBeginAllowThreads();
38638 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
38639
38640 wxPyEndAllowThreads(__tstate);
38641 if (PyErr_Occurred()) SWIG_fail;
38642 }
38643 Py_INCREF(Py_None); resultobj = Py_None;
38644 return resultobj;
38645 fail:
38646 return NULL;
38647}
38648
38649
c32bde28 38650static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
38651 PyObject *resultobj;
38652 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38653 wxWindow *arg2 = (wxWindow *) 0 ;
38654 wxGBPosition result;
38655 PyObject * obj0 = 0 ;
38656 PyObject * obj1 = 0 ;
38657
38658 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
38659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38661 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38663 {
38664 PyThreadState* __tstate = wxPyBeginAllowThreads();
38665 result = (arg1)->GetItemPosition(arg2);
38666
38667 wxPyEndAllowThreads(__tstate);
38668 if (PyErr_Occurred()) SWIG_fail;
38669 }
38670 {
38671 wxGBPosition * resultptr;
38672 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 38673 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
38674 }
38675 return resultobj;
38676 fail:
38677 return NULL;
38678}
38679
38680
c32bde28 38681static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
38682 PyObject *resultobj;
38683 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38684 wxSizer *arg2 = (wxSizer *) 0 ;
38685 wxGBPosition result;
38686 PyObject * obj0 = 0 ;
38687 PyObject * obj1 = 0 ;
38688
38689 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
38690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38692 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38694 {
38695 PyThreadState* __tstate = wxPyBeginAllowThreads();
38696 result = (arg1)->GetItemPosition(arg2);
38697
38698 wxPyEndAllowThreads(__tstate);
38699 if (PyErr_Occurred()) SWIG_fail;
38700 }
38701 {
38702 wxGBPosition * resultptr;
38703 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 38704 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
38705 }
38706 return resultobj;
38707 fail:
38708 return NULL;
38709}
38710
38711
c32bde28 38712static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
38713 PyObject *resultobj;
38714 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38715 size_t arg2 ;
38716 wxGBPosition result;
38717 PyObject * obj0 = 0 ;
38718 PyObject * obj1 = 0 ;
38719
38720 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
38721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 38723 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 38724 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38725 {
38726 PyThreadState* __tstate = wxPyBeginAllowThreads();
38727 result = (arg1)->GetItemPosition(arg2);
38728
38729 wxPyEndAllowThreads(__tstate);
38730 if (PyErr_Occurred()) SWIG_fail;
38731 }
38732 {
38733 wxGBPosition * resultptr;
38734 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 38735 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
38736 }
38737 return resultobj;
38738 fail:
38739 return NULL;
38740}
38741
38742
38743static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
38744 int argc;
38745 PyObject *argv[3];
38746 int ii;
38747
38748 argc = PyObject_Length(args);
38749 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38750 argv[ii] = PyTuple_GetItem(args,ii);
38751 }
38752 if (argc == 2) {
38753 int _v;
38754 {
38755 void *ptr;
15afbcd0 38756 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38757 _v = 0;
38758 PyErr_Clear();
38759 } else {
38760 _v = 1;
38761 }
38762 }
38763 if (_v) {
38764 {
38765 void *ptr;
15afbcd0 38766 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38767 _v = 0;
38768 PyErr_Clear();
38769 } else {
38770 _v = 1;
38771 }
38772 }
38773 if (_v) {
38774 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
38775 }
38776 }
38777 }
38778 if (argc == 2) {
38779 int _v;
38780 {
38781 void *ptr;
15afbcd0 38782 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38783 _v = 0;
38784 PyErr_Clear();
38785 } else {
38786 _v = 1;
38787 }
38788 }
38789 if (_v) {
38790 {
38791 void *ptr;
15afbcd0 38792 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38793 _v = 0;
38794 PyErr_Clear();
38795 } else {
38796 _v = 1;
38797 }
38798 }
38799 if (_v) {
38800 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
38801 }
38802 }
38803 }
38804 if (argc == 2) {
38805 int _v;
38806 {
38807 void *ptr;
15afbcd0 38808 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38809 _v = 0;
38810 PyErr_Clear();
38811 } else {
38812 _v = 1;
38813 }
38814 }
38815 if (_v) {
c32bde28 38816 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d14a1e28
RD
38817 if (_v) {
38818 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
38819 }
38820 }
38821 }
38822
38823 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38824 return NULL;
38825}
38826
38827
c32bde28 38828static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
38829 PyObject *resultobj;
38830 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38831 wxWindow *arg2 = (wxWindow *) 0 ;
38832 wxGBPosition *arg3 = 0 ;
38833 bool result;
38834 wxGBPosition temp3 ;
38835 PyObject * obj0 = 0 ;
38836 PyObject * obj1 = 0 ;
38837 PyObject * obj2 = 0 ;
38838
38839 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38844 {
38845 arg3 = &temp3;
38846 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38847 }
38848 {
38849 PyThreadState* __tstate = wxPyBeginAllowThreads();
38850 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38851
38852 wxPyEndAllowThreads(__tstate);
38853 if (PyErr_Occurred()) SWIG_fail;
38854 }
4f89f6a3
RD
38855 {
38856 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38857 }
d14a1e28
RD
38858 return resultobj;
38859 fail:
38860 return NULL;
38861}
38862
38863
c32bde28 38864static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
38865 PyObject *resultobj;
38866 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38867 wxSizer *arg2 = (wxSizer *) 0 ;
38868 wxGBPosition *arg3 = 0 ;
38869 bool result;
38870 wxGBPosition temp3 ;
38871 PyObject * obj0 = 0 ;
38872 PyObject * obj1 = 0 ;
38873 PyObject * obj2 = 0 ;
38874
38875 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38880 {
38881 arg3 = &temp3;
38882 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38883 }
38884 {
38885 PyThreadState* __tstate = wxPyBeginAllowThreads();
38886 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38887
38888 wxPyEndAllowThreads(__tstate);
38889 if (PyErr_Occurred()) SWIG_fail;
38890 }
4f89f6a3
RD
38891 {
38892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38893 }
d14a1e28
RD
38894 return resultobj;
38895 fail:
38896 return NULL;
38897}
38898
38899
c32bde28 38900static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
38901 PyObject *resultobj;
38902 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38903 size_t arg2 ;
38904 wxGBPosition *arg3 = 0 ;
38905 bool result;
38906 wxGBPosition temp3 ;
38907 PyObject * obj0 = 0 ;
38908 PyObject * obj1 = 0 ;
38909 PyObject * obj2 = 0 ;
38910
38911 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 38914 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 38915 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38916 {
38917 arg3 = &temp3;
38918 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38919 }
38920 {
38921 PyThreadState* __tstate = wxPyBeginAllowThreads();
38922 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38923
38924 wxPyEndAllowThreads(__tstate);
38925 if (PyErr_Occurred()) SWIG_fail;
38926 }
4f89f6a3
RD
38927 {
38928 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38929 }
d14a1e28
RD
38930 return resultobj;
38931 fail:
38932 return NULL;
38933}
38934
38935
38936static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
38937 int argc;
38938 PyObject *argv[4];
38939 int ii;
38940
38941 argc = PyObject_Length(args);
38942 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38943 argv[ii] = PyTuple_GetItem(args,ii);
38944 }
38945 if (argc == 3) {
38946 int _v;
38947 {
38948 void *ptr;
15afbcd0 38949 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38950 _v = 0;
38951 PyErr_Clear();
38952 } else {
38953 _v = 1;
38954 }
38955 }
38956 if (_v) {
38957 {
38958 void *ptr;
15afbcd0 38959 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38960 _v = 0;
38961 PyErr_Clear();
38962 } else {
38963 _v = 1;
38964 }
38965 }
38966 if (_v) {
38967 {
38968 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38969 }
38970 if (_v) {
38971 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
38972 }
38973 }
38974 }
38975 }
38976 if (argc == 3) {
38977 int _v;
38978 {
38979 void *ptr;
15afbcd0 38980 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38981 _v = 0;
38982 PyErr_Clear();
38983 } else {
38984 _v = 1;
38985 }
38986 }
38987 if (_v) {
38988 {
38989 void *ptr;
15afbcd0 38990 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38991 _v = 0;
38992 PyErr_Clear();
38993 } else {
38994 _v = 1;
38995 }
38996 }
38997 if (_v) {
38998 {
38999 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
39000 }
39001 if (_v) {
39002 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
39003 }
39004 }
39005 }
39006 }
39007 if (argc == 3) {
39008 int _v;
39009 {
39010 void *ptr;
15afbcd0 39011 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39012 _v = 0;
39013 PyErr_Clear();
39014 } else {
39015 _v = 1;
39016 }
39017 }
39018 if (_v) {
c32bde28 39019 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d14a1e28
RD
39020 if (_v) {
39021 {
39022 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
39023 }
39024 if (_v) {
39025 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
39026 }
39027 }
39028 }
39029 }
39030
39031 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
39032 return NULL;
39033}
39034
39035
c32bde28 39036static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
39037 PyObject *resultobj;
39038 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39039 wxWindow *arg2 = (wxWindow *) 0 ;
39040 wxGBSpan result;
39041 PyObject * obj0 = 0 ;
39042 PyObject * obj1 = 0 ;
39043
39044 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
39045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39047 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39049 {
39050 PyThreadState* __tstate = wxPyBeginAllowThreads();
39051 result = (arg1)->GetItemSpan(arg2);
39052
39053 wxPyEndAllowThreads(__tstate);
39054 if (PyErr_Occurred()) SWIG_fail;
39055 }
39056 {
39057 wxGBSpan * resultptr;
39058 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 39059 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
39060 }
39061 return resultobj;
39062 fail:
39063 return NULL;
39064}
39065
39066
c32bde28 39067static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
39068 PyObject *resultobj;
39069 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39070 wxSizer *arg2 = (wxSizer *) 0 ;
39071 wxGBSpan result;
39072 PyObject * obj0 = 0 ;
39073 PyObject * obj1 = 0 ;
39074
39075 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
39076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39080 {
39081 PyThreadState* __tstate = wxPyBeginAllowThreads();
39082 result = (arg1)->GetItemSpan(arg2);
39083
39084 wxPyEndAllowThreads(__tstate);
39085 if (PyErr_Occurred()) SWIG_fail;
39086 }
39087 {
39088 wxGBSpan * resultptr;
39089 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 39090 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
39091 }
39092 return resultobj;
39093 fail:
39094 return NULL;
39095}
39096
39097
c32bde28 39098static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
39099 PyObject *resultobj;
39100 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39101 size_t arg2 ;
39102 wxGBSpan result;
39103 PyObject * obj0 = 0 ;
39104 PyObject * obj1 = 0 ;
39105
39106 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
39107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39109 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 39110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39111 {
39112 PyThreadState* __tstate = wxPyBeginAllowThreads();
39113 result = (arg1)->GetItemSpan(arg2);
39114
39115 wxPyEndAllowThreads(__tstate);
39116 if (PyErr_Occurred()) SWIG_fail;
39117 }
39118 {
39119 wxGBSpan * resultptr;
39120 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 39121 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
39122 }
39123 return resultobj;
39124 fail:
39125 return NULL;
39126}
39127
39128
39129static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
39130 int argc;
39131 PyObject *argv[3];
39132 int ii;
39133
39134 argc = PyObject_Length(args);
39135 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
39136 argv[ii] = PyTuple_GetItem(args,ii);
39137 }
39138 if (argc == 2) {
39139 int _v;
39140 {
39141 void *ptr;
15afbcd0 39142 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39143 _v = 0;
39144 PyErr_Clear();
39145 } else {
39146 _v = 1;
39147 }
39148 }
39149 if (_v) {
39150 {
39151 void *ptr;
15afbcd0 39152 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
39153 _v = 0;
39154 PyErr_Clear();
39155 } else {
39156 _v = 1;
39157 }
39158 }
39159 if (_v) {
39160 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
39161 }
39162 }
39163 }
39164 if (argc == 2) {
39165 int _v;
39166 {
39167 void *ptr;
15afbcd0 39168 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39169 _v = 0;
39170 PyErr_Clear();
39171 } else {
39172 _v = 1;
39173 }
39174 }
39175 if (_v) {
39176 {
39177 void *ptr;
15afbcd0 39178 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
39179 _v = 0;
39180 PyErr_Clear();
39181 } else {
39182 _v = 1;
39183 }
39184 }
39185 if (_v) {
39186 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
39187 }
39188 }
39189 }
39190 if (argc == 2) {
39191 int _v;
39192 {
39193 void *ptr;
15afbcd0 39194 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39195 _v = 0;
39196 PyErr_Clear();
39197 } else {
39198 _v = 1;
39199 }
39200 }
39201 if (_v) {
c32bde28 39202 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d14a1e28
RD
39203 if (_v) {
39204 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
39205 }
39206 }
39207 }
39208
39209 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
39210 return NULL;
39211}
39212
39213
c32bde28 39214static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
39215 PyObject *resultobj;
39216 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39217 wxWindow *arg2 = (wxWindow *) 0 ;
39218 wxGBSpan *arg3 = 0 ;
39219 bool result;
39220 wxGBSpan temp3 ;
39221 PyObject * obj0 = 0 ;
39222 PyObject * obj1 = 0 ;
39223 PyObject * obj2 = 0 ;
39224
39225 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39226 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39227 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39228 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39230 {
39231 arg3 = &temp3;
39232 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39233 }
39234 {
39235 PyThreadState* __tstate = wxPyBeginAllowThreads();
39236 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39237
39238 wxPyEndAllowThreads(__tstate);
39239 if (PyErr_Occurred()) SWIG_fail;
39240 }
4f89f6a3
RD
39241 {
39242 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39243 }
d14a1e28
RD
39244 return resultobj;
39245 fail:
39246 return NULL;
39247}
39248
39249
c32bde28 39250static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
39251 PyObject *resultobj;
39252 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39253 wxSizer *arg2 = (wxSizer *) 0 ;
39254 wxGBSpan *arg3 = 0 ;
39255 bool result;
39256 wxGBSpan temp3 ;
39257 PyObject * obj0 = 0 ;
39258 PyObject * obj1 = 0 ;
39259 PyObject * obj2 = 0 ;
39260
39261 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39262 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39263 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39264 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39266 {
39267 arg3 = &temp3;
39268 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39269 }
39270 {
39271 PyThreadState* __tstate = wxPyBeginAllowThreads();
39272 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39273
39274 wxPyEndAllowThreads(__tstate);
39275 if (PyErr_Occurred()) SWIG_fail;
39276 }
4f89f6a3
RD
39277 {
39278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39279 }
d14a1e28
RD
39280 return resultobj;
39281 fail:
39282 return NULL;
39283}
39284
39285
c32bde28 39286static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
39287 PyObject *resultobj;
39288 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39289 size_t arg2 ;
39290 wxGBSpan *arg3 = 0 ;
39291 bool result;
39292 wxGBSpan temp3 ;
39293 PyObject * obj0 = 0 ;
39294 PyObject * obj1 = 0 ;
39295 PyObject * obj2 = 0 ;
39296
39297 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39300 arg2 = (size_t)SWIG_As_unsigned_SS_long(obj1);
15afbcd0 39301 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39302 {
39303 arg3 = &temp3;
39304 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39305 }
39306 {
39307 PyThreadState* __tstate = wxPyBeginAllowThreads();
39308 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
39309
39310 wxPyEndAllowThreads(__tstate);
39311 if (PyErr_Occurred()) SWIG_fail;
39312 }
4f89f6a3
RD
39313 {
39314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39315 }
d14a1e28
RD
39316 return resultobj;
39317 fail:
39318 return NULL;
39319}
39320
39321
39322static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
39323 int argc;
39324 PyObject *argv[4];
39325 int ii;
39326
39327 argc = PyObject_Length(args);
39328 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
39329 argv[ii] = PyTuple_GetItem(args,ii);
39330 }
39331 if (argc == 3) {
39332 int _v;
39333 {
39334 void *ptr;
15afbcd0 39335 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39336 _v = 0;
39337 PyErr_Clear();
39338 } else {
39339 _v = 1;
39340 }
39341 }
39342 if (_v) {
39343 {
39344 void *ptr;
15afbcd0 39345 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
39346 _v = 0;
39347 PyErr_Clear();
39348 } else {
39349 _v = 1;
39350 }
39351 }
39352 if (_v) {
39353 {
39354 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39355 }
39356 if (_v) {
39357 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
39358 }
39359 }
39360 }
39361 }
39362 if (argc == 3) {
39363 int _v;
39364 {
39365 void *ptr;
15afbcd0 39366 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39367 _v = 0;
39368 PyErr_Clear();
39369 } else {
39370 _v = 1;
39371 }
39372 }
39373 if (_v) {
39374 {
39375 void *ptr;
15afbcd0 39376 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
39377 _v = 0;
39378 PyErr_Clear();
39379 } else {
39380 _v = 1;
39381 }
39382 }
39383 if (_v) {
39384 {
39385 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39386 }
39387 if (_v) {
39388 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
39389 }
39390 }
39391 }
39392 }
39393 if (argc == 3) {
39394 int _v;
39395 {
39396 void *ptr;
15afbcd0 39397 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39398 _v = 0;
39399 PyErr_Clear();
39400 } else {
39401 _v = 1;
39402 }
39403 }
39404 if (_v) {
c32bde28 39405 _v = SWIG_Check_unsigned_SS_long(argv[1]);
d14a1e28
RD
39406 if (_v) {
39407 {
39408 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39409 }
39410 if (_v) {
39411 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
39412 }
39413 }
39414 }
39415 }
39416
39417 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39418 return NULL;
39419}
39420
39421
c32bde28 39422static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
39423 PyObject *resultobj;
39424 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39425 wxWindow *arg2 = (wxWindow *) 0 ;
39426 wxGBSizerItem *result;
39427 PyObject * obj0 = 0 ;
39428 PyObject * obj1 = 0 ;
39429
39430 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
39431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39433 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39435 {
39436 PyThreadState* __tstate = wxPyBeginAllowThreads();
39437 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
39438
39439 wxPyEndAllowThreads(__tstate);
39440 if (PyErr_Occurred()) SWIG_fail;
39441 }
15afbcd0 39442 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
39443 return resultobj;
39444 fail:
39445 return NULL;
39446}
39447
39448
c32bde28 39449static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
39450 PyObject *resultobj;
39451 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39452 wxSizer *arg2 = (wxSizer *) 0 ;
39453 wxGBSizerItem *result;
39454 PyObject * obj0 = 0 ;
39455 PyObject * obj1 = 0 ;
39456
39457 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
39458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
39461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39462 {
39463 PyThreadState* __tstate = wxPyBeginAllowThreads();
39464 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
39465
39466 wxPyEndAllowThreads(__tstate);
39467 if (PyErr_Occurred()) SWIG_fail;
39468 }
15afbcd0 39469 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
39470 return resultobj;
39471 fail:
39472 return NULL;
39473}
39474
39475
39476static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
39477 int argc;
39478 PyObject *argv[3];
39479 int ii;
39480
39481 argc = PyObject_Length(args);
39482 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
39483 argv[ii] = PyTuple_GetItem(args,ii);
39484 }
39485 if (argc == 2) {
39486 int _v;
39487 {
39488 void *ptr;
15afbcd0 39489 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39490 _v = 0;
39491 PyErr_Clear();
39492 } else {
39493 _v = 1;
39494 }
39495 }
39496 if (_v) {
39497 {
39498 void *ptr;
15afbcd0 39499 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
39500 _v = 0;
39501 PyErr_Clear();
39502 } else {
39503 _v = 1;
39504 }
39505 }
39506 if (_v) {
39507 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
39508 }
39509 }
39510 }
39511 if (argc == 2) {
39512 int _v;
39513 {
39514 void *ptr;
15afbcd0 39515 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39516 _v = 0;
39517 PyErr_Clear();
39518 } else {
39519 _v = 1;
39520 }
39521 }
39522 if (_v) {
39523 {
39524 void *ptr;
15afbcd0 39525 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
39526 _v = 0;
39527 PyErr_Clear();
39528 } else {
39529 _v = 1;
39530 }
39531 }
39532 if (_v) {
39533 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
39534 }
39535 }
39536 }
39537
39538 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
39539 return NULL;
39540}
39541
39542
c32bde28 39543static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39544 PyObject *resultobj;
39545 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39546 wxGBPosition *arg2 = 0 ;
39547 wxGBSizerItem *result;
39548 wxGBPosition temp2 ;
39549 PyObject * obj0 = 0 ;
39550 PyObject * obj1 = 0 ;
39551 char *kwnames[] = {
39552 (char *) "self",(char *) "pos", NULL
39553 };
39554
39555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39558 {
39559 arg2 = &temp2;
39560 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
39561 }
39562 {
39563 PyThreadState* __tstate = wxPyBeginAllowThreads();
39564 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
39565
39566 wxPyEndAllowThreads(__tstate);
39567 if (PyErr_Occurred()) SWIG_fail;
39568 }
15afbcd0 39569 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
39570 return resultobj;
39571 fail:
39572 return NULL;
39573}
39574
39575
c32bde28 39576static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
e811c8ce
RD
39577 PyObject *resultobj;
39578 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39579 wxPoint *arg2 = 0 ;
39580 wxGBSizerItem *result;
39581 wxPoint temp2 ;
39582 PyObject * obj0 = 0 ;
39583 PyObject * obj1 = 0 ;
39584 char *kwnames[] = {
39585 (char *) "self",(char *) "pt", NULL
39586 };
39587
39588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
39591 {
39592 arg2 = &temp2;
39593 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
39594 }
39595 {
39596 PyThreadState* __tstate = wxPyBeginAllowThreads();
39597 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
39598
39599 wxPyEndAllowThreads(__tstate);
39600 if (PyErr_Occurred()) SWIG_fail;
39601 }
15afbcd0 39602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
e811c8ce
RD
39603 return resultobj;
39604 fail:
39605 return NULL;
39606}
39607
39608
c32bde28 39609static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39610 PyObject *resultobj;
39611 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39612 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
39613 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
39614 bool result;
39615 PyObject * obj0 = 0 ;
39616 PyObject * obj1 = 0 ;
39617 PyObject * obj2 = 0 ;
248ed943
RD
39618 char *kwnames[] = {
39619 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39620 };
d14a1e28 39621
248ed943 39622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39625 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
39626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 39627 if (obj2) {
15afbcd0
RD
39628 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
39629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39630 }
39631 {
39632 PyThreadState* __tstate = wxPyBeginAllowThreads();
39633 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
39634
39635 wxPyEndAllowThreads(__tstate);
39636 if (PyErr_Occurred()) SWIG_fail;
39637 }
4f89f6a3
RD
39638 {
39639 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39640 }
d14a1e28
RD
39641 return resultobj;
39642 fail:
39643 return NULL;
39644}
39645
39646
c32bde28 39647static PyObject *_wrap_GridBagSizer_CheckForIntersectionPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39648 PyObject *resultobj;
39649 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
39650 wxGBPosition *arg2 = 0 ;
39651 wxGBSpan *arg3 = 0 ;
39652 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
39653 bool result;
39654 wxGBPosition temp2 ;
39655 wxGBSpan temp3 ;
39656 PyObject * obj0 = 0 ;
39657 PyObject * obj1 = 0 ;
39658 PyObject * obj2 = 0 ;
39659 PyObject * obj3 = 0 ;
248ed943
RD
39660 char *kwnames[] = {
39661 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39662 };
d14a1e28 39663
248ed943 39664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
39666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39667 {
39668 arg2 = &temp2;
39669 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
39670 }
39671 {
39672 arg3 = &temp3;
39673 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
39674 }
39675 if (obj3) {
15afbcd0
RD
39676 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
39677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39678 }
39679 {
39680 PyThreadState* __tstate = wxPyBeginAllowThreads();
39681 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
39682
39683 wxPyEndAllowThreads(__tstate);
39684 if (PyErr_Occurred()) SWIG_fail;
39685 }
4f89f6a3
RD
39686 {
39687 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39688 }
d14a1e28
RD
39689 return resultobj;
39690 fail:
39691 return NULL;
39692}
39693
39694
c32bde28 39695static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
39696 PyObject *obj;
39697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39698 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
39699 Py_INCREF(obj);
39700 return Py_BuildValue((char *)"");
39701}
c32bde28 39702static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39703 PyObject *resultobj;
39704 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39705 int arg2 ;
39706 wxWindow *arg3 = (wxWindow *) 0 ;
39707 int arg4 ;
39708 int arg5 = (int) 0 ;
39709 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
39710 PyObject * obj0 = 0 ;
994141e6 39711 PyObject * obj1 = 0 ;
d14a1e28 39712 PyObject * obj2 = 0 ;
994141e6
RD
39713 PyObject * obj3 = 0 ;
39714 PyObject * obj4 = 0 ;
39715 PyObject * obj5 = 0 ;
d14a1e28
RD
39716 char *kwnames[] = {
39717 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39718 };
39719
994141e6 39720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
39721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39723 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
39724 if (PyErr_Occurred()) SWIG_fail;
39725 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39727 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 39728 if (PyErr_Occurred()) SWIG_fail;
994141e6 39729 if (obj4) {
c32bde28 39730 arg5 = (int)SWIG_As_int(obj4);
15afbcd0 39731 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
39732 }
39733 if (obj5) {
c32bde28 39734 arg6 = (int)SWIG_As_int(obj5);
15afbcd0 39735 if (PyErr_Occurred()) SWIG_fail;
994141e6 39736 }
d14a1e28
RD
39737 {
39738 PyThreadState* __tstate = wxPyBeginAllowThreads();
39739 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
39740
39741 wxPyEndAllowThreads(__tstate);
39742 if (PyErr_Occurred()) SWIG_fail;
39743 }
39744 Py_INCREF(Py_None); resultobj = Py_None;
39745 return resultobj;
39746 fail:
39747 return NULL;
39748}
39749
39750
c32bde28 39751static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39752 PyObject *resultobj;
39753 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39754 wxWindow *arg2 = (wxWindow *) 0 ;
39755 int arg3 = (int) 0 ;
39756 PyObject * obj0 = 0 ;
39757 PyObject * obj1 = 0 ;
994141e6 39758 PyObject * obj2 = 0 ;
d14a1e28
RD
39759 char *kwnames[] = {
39760 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39761 };
39762
994141e6 39763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39764 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39766 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39768 if (obj2) {
c32bde28 39769 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 39770 if (PyErr_Occurred()) SWIG_fail;
994141e6 39771 }
d14a1e28
RD
39772 {
39773 PyThreadState* __tstate = wxPyBeginAllowThreads();
39774 (arg1)->LeftOf(arg2,arg3);
39775
39776 wxPyEndAllowThreads(__tstate);
39777 if (PyErr_Occurred()) SWIG_fail;
39778 }
39779 Py_INCREF(Py_None); resultobj = Py_None;
39780 return resultobj;
39781 fail:
39782 return NULL;
39783}
39784
39785
c32bde28 39786static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39787 PyObject *resultobj;
39788 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39789 wxWindow *arg2 = (wxWindow *) 0 ;
39790 int arg3 = (int) 0 ;
39791 PyObject * obj0 = 0 ;
39792 PyObject * obj1 = 0 ;
994141e6 39793 PyObject * obj2 = 0 ;
d14a1e28
RD
39794 char *kwnames[] = {
39795 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39796 };
39797
994141e6 39798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39801 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39802 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39803 if (obj2) {
c32bde28 39804 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 39805 if (PyErr_Occurred()) SWIG_fail;
994141e6 39806 }
d14a1e28
RD
39807 {
39808 PyThreadState* __tstate = wxPyBeginAllowThreads();
39809 (arg1)->RightOf(arg2,arg3);
39810
39811 wxPyEndAllowThreads(__tstate);
39812 if (PyErr_Occurred()) SWIG_fail;
39813 }
39814 Py_INCREF(Py_None); resultobj = Py_None;
39815 return resultobj;
39816 fail:
39817 return NULL;
39818}
39819
39820
c32bde28 39821static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39822 PyObject *resultobj;
39823 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39824 wxWindow *arg2 = (wxWindow *) 0 ;
39825 int arg3 = (int) 0 ;
39826 PyObject * obj0 = 0 ;
39827 PyObject * obj1 = 0 ;
994141e6 39828 PyObject * obj2 = 0 ;
d14a1e28
RD
39829 char *kwnames[] = {
39830 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39831 };
39832
994141e6 39833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39836 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39838 if (obj2) {
c32bde28 39839 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 39840 if (PyErr_Occurred()) SWIG_fail;
994141e6 39841 }
d14a1e28
RD
39842 {
39843 PyThreadState* __tstate = wxPyBeginAllowThreads();
39844 (arg1)->Above(arg2,arg3);
39845
39846 wxPyEndAllowThreads(__tstate);
39847 if (PyErr_Occurred()) SWIG_fail;
39848 }
39849 Py_INCREF(Py_None); resultobj = Py_None;
39850 return resultobj;
39851 fail:
39852 return NULL;
39853}
39854
39855
c32bde28 39856static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39857 PyObject *resultobj;
39858 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39859 wxWindow *arg2 = (wxWindow *) 0 ;
39860 int arg3 = (int) 0 ;
39861 PyObject * obj0 = 0 ;
39862 PyObject * obj1 = 0 ;
994141e6 39863 PyObject * obj2 = 0 ;
d14a1e28
RD
39864 char *kwnames[] = {
39865 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39866 };
39867
994141e6 39868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
39869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39871 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 39873 if (obj2) {
c32bde28 39874 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 39875 if (PyErr_Occurred()) SWIG_fail;
994141e6 39876 }
d14a1e28
RD
39877 {
39878 PyThreadState* __tstate = wxPyBeginAllowThreads();
39879 (arg1)->Below(arg2,arg3);
39880
39881 wxPyEndAllowThreads(__tstate);
39882 if (PyErr_Occurred()) SWIG_fail;
39883 }
39884 Py_INCREF(Py_None); resultobj = Py_None;
39885 return resultobj;
39886 fail:
39887 return NULL;
39888}
39889
39890
c32bde28 39891static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39892 PyObject *resultobj;
39893 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39894 wxWindow *arg2 = (wxWindow *) 0 ;
39895 int arg3 ;
39896 int arg4 = (int) 0 ;
39897 PyObject * obj0 = 0 ;
39898 PyObject * obj1 = 0 ;
994141e6
RD
39899 PyObject * obj2 = 0 ;
39900 PyObject * obj3 = 0 ;
d14a1e28
RD
39901 char *kwnames[] = {
39902 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39903 };
39904
994141e6 39905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39908 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39909 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39910 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 39911 if (PyErr_Occurred()) SWIG_fail;
994141e6 39912 if (obj3) {
c32bde28 39913 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 39914 if (PyErr_Occurred()) SWIG_fail;
994141e6 39915 }
d14a1e28
RD
39916 {
39917 PyThreadState* __tstate = wxPyBeginAllowThreads();
39918 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
39919
39920 wxPyEndAllowThreads(__tstate);
39921 if (PyErr_Occurred()) SWIG_fail;
39922 }
39923 Py_INCREF(Py_None); resultobj = Py_None;
39924 return resultobj;
39925 fail:
39926 return NULL;
39927}
39928
39929
c32bde28 39930static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39931 PyObject *resultobj;
39932 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39933 wxWindow *arg2 = (wxWindow *) 0 ;
39934 int arg3 ;
39935 int arg4 ;
39936 PyObject * obj0 = 0 ;
39937 PyObject * obj1 = 0 ;
994141e6
RD
39938 PyObject * obj2 = 0 ;
39939 PyObject * obj3 = 0 ;
d14a1e28
RD
39940 char *kwnames[] = {
39941 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39942 };
39943
994141e6 39944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
39945 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39947 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39949 arg3 = (int)SWIG_As_int(obj2);
15afbcd0 39950 if (PyErr_Occurred()) SWIG_fail;
c32bde28 39951 arg4 = (int)SWIG_As_int(obj3);
15afbcd0 39952 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39953 {
39954 PyThreadState* __tstate = wxPyBeginAllowThreads();
39955 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
39956
39957 wxPyEndAllowThreads(__tstate);
39958 if (PyErr_Occurred()) SWIG_fail;
39959 }
39960 Py_INCREF(Py_None); resultobj = Py_None;
39961 return resultobj;
39962 fail:
39963 return NULL;
39964}
39965
39966
c32bde28 39967static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39968 PyObject *resultobj;
39969 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39970 int arg2 ;
39971 PyObject * obj0 = 0 ;
994141e6 39972 PyObject * obj1 = 0 ;
d14a1e28
RD
39973 char *kwnames[] = {
39974 (char *) "self",(char *) "val", NULL
39975 };
39976
994141e6 39977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 39980 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 39981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39982 {
39983 PyThreadState* __tstate = wxPyBeginAllowThreads();
39984 (arg1)->Absolute(arg2);
39985
39986 wxPyEndAllowThreads(__tstate);
39987 if (PyErr_Occurred()) SWIG_fail;
39988 }
39989 Py_INCREF(Py_None); resultobj = Py_None;
39990 return resultobj;
39991 fail:
39992 return NULL;
39993}
39994
39995
c32bde28 39996static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39997 PyObject *resultobj;
39998 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39999 PyObject * obj0 = 0 ;
40000 char *kwnames[] = {
40001 (char *) "self", NULL
40002 };
40003
40004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
15afbcd0
RD
40005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40007 {
40008 PyThreadState* __tstate = wxPyBeginAllowThreads();
40009 (arg1)->Unconstrained();
40010
40011 wxPyEndAllowThreads(__tstate);
40012 if (PyErr_Occurred()) SWIG_fail;
40013 }
40014 Py_INCREF(Py_None); resultobj = Py_None;
40015 return resultobj;
40016 fail:
40017 return NULL;
40018}
40019
40020
c32bde28 40021static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40022 PyObject *resultobj;
40023 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40024 PyObject * obj0 = 0 ;
40025 char *kwnames[] = {
40026 (char *) "self", NULL
40027 };
40028
40029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
15afbcd0
RD
40030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40032 {
40033 PyThreadState* __tstate = wxPyBeginAllowThreads();
40034 (arg1)->AsIs();
40035
40036 wxPyEndAllowThreads(__tstate);
40037 if (PyErr_Occurred()) SWIG_fail;
40038 }
40039 Py_INCREF(Py_None); resultobj = Py_None;
40040 return resultobj;
40041 fail:
40042 return NULL;
40043}
40044
40045
c32bde28 40046static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40047 PyObject *resultobj;
40048 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40049 wxWindow *result;
40050 PyObject * obj0 = 0 ;
40051 char *kwnames[] = {
40052 (char *) "self", NULL
40053 };
40054
40055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
40056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40058 {
40059 PyThreadState* __tstate = wxPyBeginAllowThreads();
40060 result = (wxWindow *)(arg1)->GetOtherWindow();
40061
40062 wxPyEndAllowThreads(__tstate);
40063 if (PyErr_Occurred()) SWIG_fail;
40064 }
40065 {
412d302d 40066 resultobj = wxPyMake_wxObject(result, 0);
d14a1e28
RD
40067 }
40068 return resultobj;
40069 fail:
40070 return NULL;
40071}
40072
40073
c32bde28 40074static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40075 PyObject *resultobj;
40076 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40077 int result;
40078 PyObject * obj0 = 0 ;
40079 char *kwnames[] = {
40080 (char *) "self", NULL
40081 };
40082
40083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
40084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40086 {
40087 PyThreadState* __tstate = wxPyBeginAllowThreads();
40088 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
40089
40090 wxPyEndAllowThreads(__tstate);
40091 if (PyErr_Occurred()) SWIG_fail;
40092 }
c32bde28 40093 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40094 return resultobj;
40095 fail:
40096 return NULL;
40097}
40098
40099
c32bde28 40100static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40101 PyObject *resultobj;
40102 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40103 int arg2 ;
40104 PyObject * obj0 = 0 ;
994141e6 40105 PyObject * obj1 = 0 ;
d14a1e28
RD
40106 char *kwnames[] = {
40107 (char *) "self",(char *) "which", NULL
40108 };
40109
994141e6 40110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40113 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 40114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40115 {
40116 PyThreadState* __tstate = wxPyBeginAllowThreads();
40117 (arg1)->SetEdge((wxEdge )arg2);
40118
40119 wxPyEndAllowThreads(__tstate);
40120 if (PyErr_Occurred()) SWIG_fail;
40121 }
40122 Py_INCREF(Py_None); resultobj = Py_None;
40123 return resultobj;
40124 fail:
40125 return NULL;
40126}
40127
40128
c32bde28 40129static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40130 PyObject *resultobj;
40131 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40132 int arg2 ;
40133 PyObject * obj0 = 0 ;
994141e6 40134 PyObject * obj1 = 0 ;
d14a1e28
RD
40135 char *kwnames[] = {
40136 (char *) "self",(char *) "v", NULL
40137 };
40138
994141e6 40139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40142 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 40143 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40144 {
40145 PyThreadState* __tstate = wxPyBeginAllowThreads();
40146 (arg1)->SetValue(arg2);
40147
40148 wxPyEndAllowThreads(__tstate);
40149 if (PyErr_Occurred()) SWIG_fail;
40150 }
40151 Py_INCREF(Py_None); resultobj = Py_None;
40152 return resultobj;
40153 fail:
40154 return NULL;
40155}
40156
40157
c32bde28 40158static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40159 PyObject *resultobj;
40160 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40161 int result;
40162 PyObject * obj0 = 0 ;
40163 char *kwnames[] = {
40164 (char *) "self", NULL
40165 };
40166
40167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
15afbcd0
RD
40168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40170 {
40171 PyThreadState* __tstate = wxPyBeginAllowThreads();
40172 result = (int)(arg1)->GetMargin();
40173
40174 wxPyEndAllowThreads(__tstate);
40175 if (PyErr_Occurred()) SWIG_fail;
40176 }
c32bde28 40177 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40178 return resultobj;
40179 fail:
40180 return NULL;
40181}
40182
40183
c32bde28 40184static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40185 PyObject *resultobj;
40186 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40187 int arg2 ;
40188 PyObject * obj0 = 0 ;
994141e6 40189 PyObject * obj1 = 0 ;
d14a1e28
RD
40190 char *kwnames[] = {
40191 (char *) "self",(char *) "m", NULL
40192 };
40193
994141e6 40194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40197 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 40198 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40199 {
40200 PyThreadState* __tstate = wxPyBeginAllowThreads();
40201 (arg1)->SetMargin(arg2);
40202
40203 wxPyEndAllowThreads(__tstate);
40204 if (PyErr_Occurred()) SWIG_fail;
40205 }
40206 Py_INCREF(Py_None); resultobj = Py_None;
40207 return resultobj;
40208 fail:
40209 return NULL;
40210}
40211
40212
c32bde28 40213static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40214 PyObject *resultobj;
40215 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40216 int result;
40217 PyObject * obj0 = 0 ;
40218 char *kwnames[] = {
40219 (char *) "self", NULL
40220 };
40221
40222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
40223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40225 {
40226 PyThreadState* __tstate = wxPyBeginAllowThreads();
40227 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
40228
40229 wxPyEndAllowThreads(__tstate);
40230 if (PyErr_Occurred()) SWIG_fail;
40231 }
c32bde28 40232 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40233 return resultobj;
40234 fail:
40235 return NULL;
40236}
40237
40238
c32bde28 40239static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40240 PyObject *resultobj;
40241 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40242 int result;
40243 PyObject * obj0 = 0 ;
40244 char *kwnames[] = {
40245 (char *) "self", NULL
40246 };
40247
40248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
15afbcd0
RD
40249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40251 {
40252 PyThreadState* __tstate = wxPyBeginAllowThreads();
40253 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
40254
40255 wxPyEndAllowThreads(__tstate);
40256 if (PyErr_Occurred()) SWIG_fail;
40257 }
c32bde28 40258 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40259 return resultobj;
40260 fail:
40261 return NULL;
40262}
40263
40264
c32bde28 40265static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40266 PyObject *resultobj;
40267 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40268 int result;
40269 PyObject * obj0 = 0 ;
40270 char *kwnames[] = {
40271 (char *) "self", NULL
40272 };
40273
40274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
40275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40277 {
40278 PyThreadState* __tstate = wxPyBeginAllowThreads();
40279 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
40280
40281 wxPyEndAllowThreads(__tstate);
40282 if (PyErr_Occurred()) SWIG_fail;
40283 }
c32bde28 40284 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40285 return resultobj;
40286 fail:
40287 return NULL;
40288}
40289
40290
c32bde28 40291static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40292 PyObject *resultobj;
40293 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40294 bool result;
40295 PyObject * obj0 = 0 ;
40296 char *kwnames[] = {
40297 (char *) "self", NULL
40298 };
40299
40300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
15afbcd0
RD
40301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40303 {
40304 PyThreadState* __tstate = wxPyBeginAllowThreads();
40305 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
40306
40307 wxPyEndAllowThreads(__tstate);
40308 if (PyErr_Occurred()) SWIG_fail;
40309 }
4f89f6a3
RD
40310 {
40311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40312 }
d14a1e28
RD
40313 return resultobj;
40314 fail:
40315 return NULL;
40316}
40317
40318
c32bde28 40319static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40320 PyObject *resultobj;
40321 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40322 bool arg2 ;
40323 PyObject * obj0 = 0 ;
40324 PyObject * obj1 = 0 ;
40325 char *kwnames[] = {
40326 (char *) "self",(char *) "d", NULL
40327 };
40328
40329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40332 arg2 = (bool)SWIG_As_bool(obj1);
15afbcd0 40333 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40334 {
40335 PyThreadState* __tstate = wxPyBeginAllowThreads();
40336 (arg1)->SetDone(arg2);
40337
40338 wxPyEndAllowThreads(__tstate);
40339 if (PyErr_Occurred()) SWIG_fail;
40340 }
40341 Py_INCREF(Py_None); resultobj = Py_None;
40342 return resultobj;
40343 fail:
40344 return NULL;
40345}
40346
40347
c32bde28 40348static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40349 PyObject *resultobj;
40350 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40351 int result;
40352 PyObject * obj0 = 0 ;
40353 char *kwnames[] = {
40354 (char *) "self", NULL
40355 };
40356
40357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
15afbcd0
RD
40358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40360 {
40361 PyThreadState* __tstate = wxPyBeginAllowThreads();
40362 result = (int)(arg1)->GetRelationship();
40363
40364 wxPyEndAllowThreads(__tstate);
40365 if (PyErr_Occurred()) SWIG_fail;
40366 }
c32bde28 40367 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40368 return resultobj;
40369 fail:
40370 return NULL;
40371}
40372
40373
c32bde28 40374static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40375 PyObject *resultobj;
40376 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40377 int arg2 ;
40378 PyObject * obj0 = 0 ;
994141e6 40379 PyObject * obj1 = 0 ;
d14a1e28
RD
40380 char *kwnames[] = {
40381 (char *) "self",(char *) "r", NULL
40382 };
40383
994141e6 40384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40387 arg2 = (int)SWIG_As_int(obj1);
15afbcd0 40388 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
40389 {
40390 PyThreadState* __tstate = wxPyBeginAllowThreads();
40391 (arg1)->SetRelationship((wxRelationship )arg2);
40392
40393 wxPyEndAllowThreads(__tstate);
40394 if (PyErr_Occurred()) SWIG_fail;
40395 }
40396 Py_INCREF(Py_None); resultobj = Py_None;
40397 return resultobj;
40398 fail:
40399 return NULL;
40400}
40401
40402
c32bde28 40403static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40404 PyObject *resultobj;
40405 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40406 wxWindow *arg2 = (wxWindow *) 0 ;
40407 bool result;
40408 PyObject * obj0 = 0 ;
40409 PyObject * obj1 = 0 ;
40410 char *kwnames[] = {
40411 (char *) "self",(char *) "otherW", NULL
40412 };
40413
40414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40417 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40419 {
40420 PyThreadState* __tstate = wxPyBeginAllowThreads();
40421 result = (bool)(arg1)->ResetIfWin(arg2);
40422
40423 wxPyEndAllowThreads(__tstate);
40424 if (PyErr_Occurred()) SWIG_fail;
40425 }
4f89f6a3
RD
40426 {
40427 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40428 }
d14a1e28
RD
40429 return resultobj;
40430 fail:
40431 return NULL;
40432}
40433
40434
c32bde28 40435static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40436 PyObject *resultobj;
40437 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40438 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
40439 wxWindow *arg3 = (wxWindow *) 0 ;
40440 bool result;
40441 PyObject * obj0 = 0 ;
40442 PyObject * obj1 = 0 ;
40443 PyObject * obj2 = 0 ;
40444 char *kwnames[] = {
40445 (char *) "self",(char *) "constraints",(char *) "win", NULL
40446 };
40447
40448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
40449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40451 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
40452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40453 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
40454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40455 {
40456 PyThreadState* __tstate = wxPyBeginAllowThreads();
40457 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
40458
40459 wxPyEndAllowThreads(__tstate);
40460 if (PyErr_Occurred()) SWIG_fail;
40461 }
4f89f6a3
RD
40462 {
40463 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40464 }
d14a1e28
RD
40465 return resultobj;
40466 fail:
40467 return NULL;
40468}
40469
40470
c32bde28 40471static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40472 PyObject *resultobj;
40473 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
40474 int arg2 ;
40475 wxWindow *arg3 = (wxWindow *) 0 ;
40476 wxWindow *arg4 = (wxWindow *) 0 ;
40477 int result;
40478 PyObject * obj0 = 0 ;
994141e6 40479 PyObject * obj1 = 0 ;
d14a1e28
RD
40480 PyObject * obj2 = 0 ;
40481 PyObject * obj3 = 0 ;
40482 char *kwnames[] = {
40483 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40484 };
40485
994141e6 40486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
40487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
40488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c32bde28 40489 arg2 = (int)SWIG_As_int(obj1);
15afbcd0
RD
40490 if (PyErr_Occurred()) SWIG_fail;
40491 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
40492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40493 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
40494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40495 {
40496 PyThreadState* __tstate = wxPyBeginAllowThreads();
40497 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
40498
40499 wxPyEndAllowThreads(__tstate);
40500 if (PyErr_Occurred()) SWIG_fail;
40501 }
c32bde28 40502 resultobj = SWIG_From_int((int)result);
d14a1e28
RD
40503 return resultobj;
40504 fail:
40505 return NULL;
40506}
40507
40508
c32bde28 40509static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
40510 PyObject *obj;
40511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40512 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
40513 Py_INCREF(obj);
40514 return Py_BuildValue((char *)"");
40515}
c32bde28 40516static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40517 PyObject *resultobj;
40518 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40519 wxIndividualLayoutConstraint *result;
40520 PyObject * obj0 = 0 ;
40521 char *kwnames[] = {
40522 (char *) "self", NULL
40523 };
40524
40525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40528 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
40529
15afbcd0 40530 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40531 return resultobj;
40532 fail:
40533 return NULL;
40534}
40535
40536
c32bde28 40537static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40538 PyObject *resultobj;
40539 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40540 wxIndividualLayoutConstraint *result;
40541 PyObject * obj0 = 0 ;
40542 char *kwnames[] = {
40543 (char *) "self", NULL
40544 };
40545
40546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40547 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40548 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40549 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
40550
15afbcd0 40551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40552 return resultobj;
40553 fail:
40554 return NULL;
40555}
40556
40557
c32bde28 40558static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40559 PyObject *resultobj;
40560 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40561 wxIndividualLayoutConstraint *result;
40562 PyObject * obj0 = 0 ;
40563 char *kwnames[] = {
40564 (char *) "self", NULL
40565 };
40566
40567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40570 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
40571
15afbcd0 40572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40573 return resultobj;
40574 fail:
40575 return NULL;
40576}
40577
40578
c32bde28 40579static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40580 PyObject *resultobj;
40581 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40582 wxIndividualLayoutConstraint *result;
40583 PyObject * obj0 = 0 ;
40584 char *kwnames[] = {
40585 (char *) "self", NULL
40586 };
40587
40588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40591 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
40592
15afbcd0 40593 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40594 return resultobj;
40595 fail:
40596 return NULL;
40597}
40598
40599
c32bde28 40600static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40601 PyObject *resultobj;
40602 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40603 wxIndividualLayoutConstraint *result;
40604 PyObject * obj0 = 0 ;
40605 char *kwnames[] = {
40606 (char *) "self", NULL
40607 };
40608
40609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40612 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
40613
15afbcd0 40614 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40615 return resultobj;
40616 fail:
40617 return NULL;
40618}
40619
40620
c32bde28 40621static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40622 PyObject *resultobj;
40623 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40624 wxIndividualLayoutConstraint *result;
40625 PyObject * obj0 = 0 ;
40626 char *kwnames[] = {
40627 (char *) "self", NULL
40628 };
40629
40630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40633 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
40634
15afbcd0 40635 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40636 return resultobj;
40637 fail:
40638 return NULL;
40639}
40640
40641
c32bde28 40642static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40643 PyObject *resultobj;
40644 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40645 wxIndividualLayoutConstraint *result;
40646 PyObject * obj0 = 0 ;
40647 char *kwnames[] = {
40648 (char *) "self", NULL
40649 };
40650
40651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40654 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
40655
15afbcd0 40656 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40657 return resultobj;
40658 fail:
40659 return NULL;
40660}
40661
40662
c32bde28 40663static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40664 PyObject *resultobj;
40665 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40666 wxIndividualLayoutConstraint *result;
40667 PyObject * obj0 = 0 ;
40668 char *kwnames[] = {
40669 (char *) "self", NULL
40670 };
40671
40672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
40673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40675 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
40676
15afbcd0 40677 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40678 return resultobj;
40679 fail:
40680 return NULL;
40681}
40682
40683
c32bde28 40684static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40685 PyObject *resultobj;
40686 wxLayoutConstraints *result;
40687 char *kwnames[] = {
40688 NULL
40689 };
40690
40691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
40692 {
40693 PyThreadState* __tstate = wxPyBeginAllowThreads();
40694 result = (wxLayoutConstraints *)new wxLayoutConstraints();
40695
40696 wxPyEndAllowThreads(__tstate);
40697 if (PyErr_Occurred()) SWIG_fail;
40698 }
15afbcd0 40699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
40700 return resultobj;
40701 fail:
40702 return NULL;
40703}
40704
40705
c32bde28 40706static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40707 PyObject *resultobj;
40708 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40709 wxWindow *arg2 = (wxWindow *) 0 ;
40710 int *arg3 = (int *) 0 ;
40711 bool result;
40712 int temp3 ;
c32bde28 40713 int res3 = 0 ;
d14a1e28
RD
40714 PyObject * obj0 = 0 ;
40715 PyObject * obj1 = 0 ;
40716 char *kwnames[] = {
40717 (char *) "self",(char *) "win", NULL
40718 };
40719
c32bde28 40720 arg3 = &temp3; res3 = SWIG_NEWOBJ;
d14a1e28 40721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
40722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40724 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40726 {
40727 PyThreadState* __tstate = wxPyBeginAllowThreads();
40728 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
40729
40730 wxPyEndAllowThreads(__tstate);
40731 if (PyErr_Occurred()) SWIG_fail;
40732 }
4f89f6a3
RD
40733 {
40734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40735 }
c32bde28
RD
40736 resultobj = t_output_helper(resultobj, ((res3 == SWIG_NEWOBJ) ?
40737 SWIG_From_int((*arg3)) : SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_int, 0)));
d14a1e28
RD
40738 return resultobj;
40739 fail:
40740 return NULL;
40741}
40742
40743
c32bde28 40744static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40745 PyObject *resultobj;
40746 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40747 bool result;
40748 PyObject * obj0 = 0 ;
40749 char *kwnames[] = {
40750 (char *) "self", NULL
40751 };
40752
40753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
15afbcd0
RD
40754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40756 {
40757 PyThreadState* __tstate = wxPyBeginAllowThreads();
40758 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
40759
40760 wxPyEndAllowThreads(__tstate);
40761 if (PyErr_Occurred()) SWIG_fail;
40762 }
4f89f6a3
RD
40763 {
40764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40765 }
d14a1e28
RD
40766 return resultobj;
40767 fail:
40768 return NULL;
40769}
40770
40771
c32bde28 40772static PyObject * LayoutConstraints_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
40773 PyObject *obj;
40774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40775 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
40776 Py_INCREF(obj);
40777 return Py_BuildValue((char *)"");
40778}
40779static PyMethodDef SwigMethods[] = {
c32bde28
RD
40780 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS, NULL },
40781 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS, NULL },
40782 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
40783 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
40784 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS, NULL },
40785 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
40786 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
40787 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS, NULL },
40788 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
40789 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS, NULL },
40790 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS, NULL },
40791 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40792 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40793 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS, NULL },
40794 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
40795 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS, NULL },
40796 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS, NULL },
40797 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40798 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40799 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40800 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40801 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40802 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS, NULL },
40803 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
40804 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40805 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS, NULL },
40806 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40807 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40808 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40809 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40810 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL },
40811 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL },
40812 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40813 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40814 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS, NULL },
40815 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
40816 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40817 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40818 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS, NULL },
40819 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40820 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40821 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40822 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40823 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS, NULL },
40824 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS, NULL },
40825 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40826 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40827 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS, NULL },
40828 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
40829 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
40830 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
40831 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40832 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40833 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS, NULL },
40834 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
40835 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS, NULL },
40836 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS, NULL },
d3b6e4ff 40837 { (char *)"new_RectS", (PyCFunction) _wrap_new_RectS, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
40838 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
40839 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
40840 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS, NULL },
40841 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
40842 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS, NULL },
40843 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40844 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40845 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40846 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40847 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40848 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40849 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
40850 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
40851 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
40852 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
40853 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
40854 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
40855 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS, NULL },
40856 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS, NULL },
40857 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS, NULL },
40858 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS, NULL },
40859 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS, NULL },
40860 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS, NULL },
40861 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS, NULL },
40862 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS, NULL },
40863 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS, NULL },
40864 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS, NULL },
40865 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS, NULL },
40866 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS, NULL },
40867 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS, NULL },
40868 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS, NULL },
40869 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
40870 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40871 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40872 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL },
40873 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS, NULL },
40874 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL },
40875 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40876 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40877 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40878 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40879 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
40880 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
40881 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS, NULL },
40882 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
40883 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40884 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40885 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS, NULL },
40886 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL },
40887 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS, NULL },
40888 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS, NULL },
40889 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
40890 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS, NULL },
40891 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS, NULL },
40892 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL },
40893 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL },
40894 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL },
40895 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL },
40896 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS, NULL },
40897 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS, NULL },
40898 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS, NULL },
40899 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS, NULL },
40900 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
40901 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
40902 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
40903 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
40904 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS, NULL },
40905 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40906 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40907 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40908 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40909 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40910 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40911 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40912 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40913 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS, NULL },
40914 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL },
40915 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS, NULL },
40916 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS, NULL },
40917 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS, NULL },
40918 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS, NULL },
40919 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS, NULL },
40920 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS, NULL },
40921 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS, NULL },
40922 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS, NULL },
40923 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS, NULL },
40924 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS, NULL },
40925 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS, NULL },
40926 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
40927 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS, NULL },
40928 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS, NULL },
40929 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS, NULL },
40930 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS, NULL },
40931 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS, NULL },
40932 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS, NULL },
40933 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS, NULL },
40934 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS, NULL },
40935 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS, NULL },
40936 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS, NULL },
40937 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
40938 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS, NULL },
40939 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
40940 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS, NULL },
40941 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS, NULL },
40942 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS, NULL },
40943 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40944 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
40945 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
40946 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
40947 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
40948 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
40949 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS, NULL },
40950 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS, NULL },
40951 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
40952 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS, NULL },
40953 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS, NULL },
40954 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS, NULL },
40955 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
40956 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
40957 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS, NULL },
40958 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
40959 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
40960 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
40961 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
40962 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40963 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS, NULL },
40964 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28 40965 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS, NULL },
2ef75293 40966 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS, NULL },
c32bde28
RD
40967 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40968 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
40969 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
40970 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS, NULL },
40971 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40972 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
40973 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
40974 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
40975 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
40976 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS, NULL },
40977 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS, NULL },
40978 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
40979 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS, NULL },
40980 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40981 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS, NULL },
40982 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
40983 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
40984 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
40985 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
40986 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS, NULL },
40987 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
40988 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS, NULL },
40989 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
40990 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
40991 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
40992 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
40993 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL },
40994 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
40995 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
40996 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS, NULL },
40997 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS, NULL },
40998 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS, NULL },
40999 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL },
41000 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS, NULL },
41001 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS, NULL },
41002 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS, NULL },
41003 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS, NULL },
41004 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS, NULL },
41005 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS, NULL },
41006 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS, NULL },
41007 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41008 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS, NULL },
41009 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS, NULL },
41010 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
41011 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS, NULL },
41012 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS, NULL },
41013 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS, NULL },
41014 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
41015 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS, NULL },
41016 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS, NULL },
41017 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS, NULL },
41018 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
41019 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
41020 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
41021 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL },
41022 { (char *)"Image_ConvertAlphaToMask", (PyCFunction) _wrap_Image_ConvertAlphaToMask, METH_VARARGS | METH_KEYWORDS, NULL },
41023 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS, NULL },
41024 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
41025 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL },
41026 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
41027 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS, NULL },
41028 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
41029 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS, NULL },
41030 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS, NULL },
41031 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL },
41032 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS, NULL },
41033 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
41034 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41035 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41036 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41037 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS, NULL },
41038 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
41039 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
41040 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
41041 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
41042 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
41043 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
41044 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL },
41045 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL },
41046 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
41047 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
41048 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL },
41049 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS, NULL },
41050 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS, NULL },
41051 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS, NULL },
41052 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
41053 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS, NULL },
41054 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS, NULL },
41055 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL },
41056 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL },
41057 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
41058 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL },
41059 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
41060 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
41061 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
41062 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
41063 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
41064 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS, NULL },
41065 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS, NULL },
41066 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41067 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41068 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41069 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
41070 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41071 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41072 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS, NULL },
41073 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41074 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS, NULL },
41075 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41076 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS, NULL },
41077 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41078 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS, NULL },
41079 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41080 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS, NULL },
41081 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41082 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS, NULL },
41083 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41084 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS, NULL },
41085 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41086 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS, NULL },
41087 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41088 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS, NULL },
41089 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41090 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS, NULL },
41091 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41092 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS, NULL },
41093 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41094 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS, NULL },
41095 { (char *)"Quantize_Quantize", (PyCFunction) _wrap_Quantize_Quantize, METH_VARARGS | METH_KEYWORDS, NULL },
41096 { (char *)"Quantize_swigregister", Quantize_swigregister, METH_VARARGS, NULL },
41097 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41098 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41099 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41100 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41101 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41102 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41103 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41104 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41105 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41106 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL },
41107 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS, NULL },
41108 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS, NULL },
41109 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41110 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS, NULL },
41111 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS, NULL },
41112 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS, NULL },
41113 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS, NULL },
41114 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS, NULL },
41115 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS, NULL },
41116 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS, NULL },
41117 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
41118 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
41119 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
41120 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
41121 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41122 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS, NULL },
41123 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS, NULL },
41124 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS, NULL },
41125 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS, NULL },
41126 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS, NULL },
41127 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
41128 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS, NULL },
41129 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
41130 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
41131 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS, NULL },
41132 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL },
41133 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL },
41134 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS, NULL },
41135 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41136 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
41137 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
41138 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
41139 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41140 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL },
41141 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL },
41142 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL },
41143 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS, NULL },
41144 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS, NULL },
41145 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
41146 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS, NULL },
41147 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41148 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL },
41149 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS, NULL },
41150 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS, NULL },
41151 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS, NULL },
41152 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41153 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41154 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41155 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41156 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41157 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS, NULL },
41158 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41159 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41160 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41161 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41162 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41163 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS, NULL },
41164 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41165 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
41166 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
41167 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS, NULL },
41168 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
41169 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS, NULL },
41170 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
41171 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS, NULL },
41172 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
41173 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
41174 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
41175 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
41176 { (char *)"MouseEvent_CmdDown", (PyCFunction) _wrap_MouseEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL },
41177 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL },
41178 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL },
41179 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS, NULL },
41180 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS, NULL },
41181 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS, NULL },
41182 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS, NULL },
41183 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS, NULL },
41184 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS, NULL },
41185 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS, NULL },
41186 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
41187 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
41188 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
41189 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS, NULL },
41190 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS, NULL },
41191 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS, NULL },
41192 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS, NULL },
41193 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41194 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41195 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41196 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
41197 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
41198 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS, NULL },
41199 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS, NULL },
41200 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS, NULL },
41201 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS, NULL },
41202 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
41203 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
41204 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
41205 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
41206 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41207 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41208 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41209 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41210 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41211 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41212 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41213 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41214 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41215 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41216 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41217 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41218 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41219 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41220 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS, NULL },
41221 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS, NULL },
41222 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS, NULL },
41223 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS, NULL },
41224 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS, NULL },
41225 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS, NULL },
41226 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS, NULL },
41227 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41228 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
41229 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
41230 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41231 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41232 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41233 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS, NULL },
41234 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41235 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
41236 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
41237 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
41238 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
41239 { (char *)"KeyEvent_CmdDown", (PyCFunction) _wrap_KeyEvent_CmdDown, METH_VARARGS | METH_KEYWORDS, NULL },
41240 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS, NULL },
41241 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
41242 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction) _wrap_KeyEvent_GetUnicodeKey, METH_VARARGS | METH_KEYWORDS, NULL },
41243 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
41244 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS, NULL },
41245 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41246 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41247 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
41248 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
41249 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
41250 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
41251 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
41252 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
41253 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
41254 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
41255 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41256 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41257 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41258 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41259 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41260 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41261 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
41262 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
41263 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
41264 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
41265 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
41266 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
41267 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS, NULL },
41268 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS, NULL },
41269 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS, NULL },
41270 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41271 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41272 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41273 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41274 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41275 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS, NULL },
41276 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS, NULL },
41277 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL },
41278 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL },
41279 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS, NULL },
41280 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41281 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41282 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41283 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41284 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41285 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
41286 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
41287 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL },
41288 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL },
41289 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS, NULL },
41290 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41291 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS, NULL },
41292 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41293 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS, NULL },
41294 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41295 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
41296 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS, NULL },
41297 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41298 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41299 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41300 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS, NULL },
41301 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41302 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41303 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS, NULL },
41304 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41305 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS, NULL },
41306 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS, NULL },
41307 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41308 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS, NULL },
41309 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41310 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS, NULL },
41311 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS, NULL },
41312 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41313 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS, NULL },
41314 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41315 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL },
41316 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL },
41317 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL },
41318 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL },
41319 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL },
41320 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL },
41321 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL },
41322 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41323 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL },
41324 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS, NULL },
41325 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS, NULL },
41326 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41327 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS, NULL },
41328 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS, NULL },
41329 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41330 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS, NULL },
41331 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41332 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS, NULL },
41333 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS, NULL },
41334 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS, NULL },
41335 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41336 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41337 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41338 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
41339 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS, NULL },
41340 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41341 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41342 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS, NULL },
41343 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41344 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
41345 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL },
41346 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL },
41347 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS, NULL },
41348 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS, NULL },
41349 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL },
41350 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL },
41351 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS, NULL },
41352 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41353 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS, NULL },
41354 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41355 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41356 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS, NULL },
41357 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41358 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS, NULL },
41359 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41360 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41361 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41362 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS, NULL },
41363 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41364 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL },
41365 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL },
41366 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS, NULL },
41367 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41368 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL },
41369 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS, NULL },
41370 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS, NULL },
41371 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS, NULL },
41372 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction) _wrap_NavigationKeyEvent_SetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
41373 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41374 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41375 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS, NULL },
41376 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41377 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41378 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS, NULL },
41379 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41380 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41381 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS, NULL },
41382 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41383 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41384 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41385 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS, NULL },
41386 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41387 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS, NULL },
41388 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS, NULL },
41389 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL },
41390 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL },
41391 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS, NULL },
41392 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL },
41393 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41394 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41395 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
41396 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
41397 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL },
41398 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41399 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41400 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
41401 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
41402 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL },
41403 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS, NULL },
41404 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS, NULL },
41405 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41406 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
41407 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
41408 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
41409 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
41410 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
41411 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
41412 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS, NULL },
41413 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL },
41414 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS, NULL },
41415 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL },
1fc3b23a 41416 { (char *)"PyApp_IsMainLoopRunning", (PyCFunction) _wrap_PyApp_IsMainLoopRunning, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
41417 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS, NULL },
41418 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
41419 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS, NULL },
41420 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS, NULL },
41421 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL },
41422 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS, NULL },
41423 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS, NULL },
41424 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
41425 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41426 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41427 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL },
41428 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL },
41429 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL },
41430 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL },
41431 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
41432 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
41433 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL },
41434 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL },
41435 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL },
41436 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41437 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41438 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41439 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL },
41440 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL },
41441 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41442 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41443 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
41444 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL },
41445 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS, NULL },
41446 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS, NULL },
41447 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS, NULL },
41448 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
41449 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS, NULL },
41450 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL },
41451 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS, NULL },
41452 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL },
41453 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS, NULL },
41454 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS, NULL },
41455 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS, NULL },
2ef75293
RD
41456 { (char *)"new_EventLoop", (PyCFunction) _wrap_new_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL },
41457 { (char *)"delete_EventLoop", (PyCFunction) _wrap_delete_EventLoop, METH_VARARGS | METH_KEYWORDS, NULL },
41458 { (char *)"EventLoop_Run", (PyCFunction) _wrap_EventLoop_Run, METH_VARARGS | METH_KEYWORDS, NULL },
41459 { (char *)"EventLoop_Exit", (PyCFunction) _wrap_EventLoop_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
41460 { (char *)"EventLoop_Pending", (PyCFunction) _wrap_EventLoop_Pending, METH_VARARGS | METH_KEYWORDS, NULL },
41461 { (char *)"EventLoop_Dispatch", (PyCFunction) _wrap_EventLoop_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL },
41462 { (char *)"EventLoop_IsRunning", (PyCFunction) _wrap_EventLoop_IsRunning, METH_VARARGS | METH_KEYWORDS, NULL },
41463 { (char *)"EventLoop_GetActive", (PyCFunction) _wrap_EventLoop_GetActive, METH_VARARGS | METH_KEYWORDS, NULL },
41464 { (char *)"EventLoop_SetActive", (PyCFunction) _wrap_EventLoop_SetActive, METH_VARARGS | METH_KEYWORDS, NULL },
41465 { (char *)"EventLoop_swigregister", EventLoop_swigregister, METH_VARARGS, NULL },
c32bde28
RD
41466 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
41467 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
41468 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41469 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
41470 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
41471 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
41472 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS, NULL },
41473 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
41474 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
41475 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
41476 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS, NULL },
41477 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS, NULL },
41478 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41479 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41480 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS, NULL },
41481 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS, NULL },
41482 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS, NULL },
41483 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS, NULL },
41484 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS, NULL },
41485 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS, NULL },
41486 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS, NULL },
41487 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL },
41488 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41489 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS, NULL },
41490 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS, NULL },
41491 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
41492 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS, NULL },
41493 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS, NULL },
41494 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
41495 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
41496 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41497 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41498 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
41499 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
41500 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL },
41501 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL },
41502 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
41503 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
41504 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS, NULL },
41505 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS, NULL },
41506 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS, NULL },
41507 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41508 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS, NULL },
41509 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41510 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
41511 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS, NULL },
41512 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
41513 { (char *)"Window_SetBestFittingSize", (PyCFunction) _wrap_Window_SetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL },
41514 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS, NULL },
41515 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS, NULL },
41516 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
41517 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
41518 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
41519 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41520 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41521 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41522 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41523 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
41524 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
41525 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41526 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
41527 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
41528 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
41529 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41530 { (char *)"Window_InvalidateBestSize", (PyCFunction) _wrap_Window_InvalidateBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
41531 { (char *)"Window_GetBestFittingSize", (PyCFunction) _wrap_Window_GetBestFittingSize, METH_VARARGS | METH_KEYWORDS, NULL },
41532 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
41533 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS, NULL },
41534 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL },
41535 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS, NULL },
41536 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS, NULL },
41537 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS, NULL },
41538 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
41539 { (char *)"Window_SetSizeHintsSz", (PyCFunction) _wrap_Window_SetSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL },
41540 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
41541 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction) _wrap_Window_SetVirtualSizeHintsSz, METH_VARARGS | METH_KEYWORDS, NULL },
41542 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
41543 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41544 { (char *)"Window_SetMinSize", (PyCFunction) _wrap_Window_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41545 { (char *)"Window_SetMaxSize", (PyCFunction) _wrap_Window_SetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
41546 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41547 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41548 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41549 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41550 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
41551 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
41552 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
41553 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
41554 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
41555 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS, NULL },
41556 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
41557 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41558 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS, NULL },
41559 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
41560 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41561 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41562 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41563 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41564 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS, NULL },
41565 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41566 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41567 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL },
41568 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41569 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41570 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41571 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS, NULL },
41572 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41573 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
41574 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
41575 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
41576 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
41577 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
41578 { (char *)"Window_Navigate", (PyCFunction) _wrap_Window_Navigate, METH_VARARGS | METH_KEYWORDS, NULL },
41579 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction) _wrap_Window_MoveAfterInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL },
41580 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction) _wrap_Window_MoveBeforeInTabOrder, METH_VARARGS | METH_KEYWORDS, NULL },
41581 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
41582 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
41583 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS, NULL },
41584 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS, NULL },
41585 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS, NULL },
41586 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
41587 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
41588 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL },
41589 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL },
41590 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41591 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41592 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41593 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41594 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41595 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS, NULL },
41596 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS, NULL },
41597 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
41598 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41599 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41600 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
41601 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
41602 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
41603 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL },
41604 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL },
41605 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS, NULL },
41606 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS, NULL },
41607 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS, NULL },
41608 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS, NULL },
41609 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS, NULL },
41610 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS, NULL },
41611 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS, NULL },
41612 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS, NULL },
41613 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS, NULL },
41614 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
41615 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS, NULL },
41616 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS, NULL },
41617 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS, NULL },
41618 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS, NULL },
41619 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS, NULL },
41620 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS, NULL },
41621 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS, NULL },
41622 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
41623 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS, NULL },
41624 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
41625 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS, NULL },
41626 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS, NULL },
41627 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS, NULL },
41628 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41629 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41630 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41631 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction) _wrap_Window_SetOwnBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41632 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41633 { (char *)"Window_SetOwnForegroundColour", (PyCFunction) _wrap_Window_SetOwnForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41634 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41635 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41636 { (char *)"Window_SetBackgroundStyle", (PyCFunction) _wrap_Window_SetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41637 { (char *)"Window_GetBackgroundStyle", (PyCFunction) _wrap_Window_GetBackgroundStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41638 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41639 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41640 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
41641 { (char *)"Window_SetOwnFont", (PyCFunction) _wrap_Window_SetOwnFont, METH_VARARGS | METH_KEYWORDS, NULL },
41642 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
41643 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS, NULL },
41644 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS, NULL },
41645 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41646 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41647 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
41648 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
41649 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS, NULL },
41650 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS, NULL },
41651 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS, NULL },
41652 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS, NULL },
41653 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
41654 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
41655 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS, NULL },
41656 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS, NULL },
41657 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS, NULL },
41658 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41659 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL },
7e63a440
RD
41660 { (char *)"Window_AssociateHandle", (PyCFunction) _wrap_Window_AssociateHandle, METH_VARARGS | METH_KEYWORDS, NULL },
41661 { (char *)"Window_DissociateHandle", (PyCFunction) _wrap_Window_DissociateHandle, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
41662 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
41663 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
41664 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL },
41665 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL },
41666 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS, NULL },
41667 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS, NULL },
41668 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41669 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
41670 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
41671 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS, NULL },
41672 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS, NULL },
41673 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS, NULL },
41674 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS, NULL },
41675 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS, NULL },
41676 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS, NULL },
41677 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS, NULL },
41678 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS, NULL },
41679 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
41680 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
41681 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
41682 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
41683 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
41684 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
41685 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL },
41686 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL },
41687 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
41688 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41689 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS, NULL },
41690 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41691 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41692 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41693 { (char *)"Window_InheritAttributes", (PyCFunction) _wrap_Window_InheritAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41694 { (char *)"Window_ShouldInheritColours", (PyCFunction) _wrap_Window_ShouldInheritColours, METH_VARARGS | METH_KEYWORDS, NULL },
41695 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS, NULL },
41696 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL },
41697 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL },
41698 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41699 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS, NULL },
41700 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS, NULL },
41701 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
41702 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
41703 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41704 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41705 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41706 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41707 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS, NULL },
41708 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS, NULL },
41709 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS, NULL },
41710 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS, NULL },
41711 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41712 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS, NULL },
41713 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS, NULL },
41714 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS, NULL },
41715 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
41716 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
41717 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
41718 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41719 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
41720 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS, NULL },
41721 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
41722 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
41723 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
41724 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
41725 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
41726 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41727 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
41728 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
41729 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
41730 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
41731 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
41732 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41733 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
41734 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS, NULL },
41735 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
41736 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
41737 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
41738 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS, NULL },
41739 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS, NULL },
41740 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
41741 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS, NULL },
41742 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
41743 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL },
41744 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41745 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41746 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41747 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS, NULL },
41748 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41749 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41750 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41751 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
41752 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
41753 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
41754 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
41755 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41756 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41757 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41758 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41759 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41760 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS, NULL },
41761 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
41762 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
41763 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
41764 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL },
41765 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS, NULL },
41766 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
41767 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS, NULL },
41768 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
41769 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS, NULL },
41770 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
41771 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS, NULL },
41772 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41773 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
41774 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
41775 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS, NULL },
41776 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS, NULL },
41777 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL },
41778 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL },
41779 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
41780 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL },
41781 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41782 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41783 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS, NULL },
41784 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41785 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41786 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41787 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41788 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
41789 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
41790 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
41791 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL },
41792 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
41793 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
41794 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS, NULL },
41795 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
41796 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41797 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41798 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
41799 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
41800 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
41801 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
41802 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41803 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
41804 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS, NULL },
41805 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
41806 { (char *)"MenuItem_SetKind", (PyCFunction) _wrap_MenuItem_SetKind, METH_VARARGS | METH_KEYWORDS, NULL },
41807 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS, NULL },
41808 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS, NULL },
41809 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41810 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41811 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41812 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41813 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41814 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS, NULL },
41815 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41816 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
41817 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
41818 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
41819 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL },
41820 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL },
41821 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41822 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41823 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41824 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL },
41825 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL },
41826 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL },
41827 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS, NULL },
41828 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS, NULL },
41829 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41830 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41831 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41832 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS, NULL },
41833 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS, NULL },
41834 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS, NULL },
41835 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
41836 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
41837 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
41838 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
41839 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
41840 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
41841 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL },
41842 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
41843 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
41844 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS, NULL },
41845 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
41846 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
41847 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
41848 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
41849 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS, NULL },
41850 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS, NULL },
41851 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS, NULL },
41852 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41853 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41854 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41855 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL },
41856 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41857 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41858 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
41859 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
41860 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41861 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction) _wrap_SizerItem_GetMinSizeWithBorder, METH_VARARGS | METH_KEYWORDS, NULL },
41862 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS, NULL },
41863 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS, NULL },
41864 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS, NULL },
41865 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
41866 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
d3b6e4ff 41867 { (char *)"SizerItem_GetRect", (PyCFunction) _wrap_SizerItem_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
41868 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41869 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41870 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41871 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
41872 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
41873 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41874 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41875 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
41876 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
41877 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41878 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41879 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41880 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41881 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41882 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41883 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS, NULL },
41884 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
41885 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41886 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL },
41887 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL },
41888 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41889 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL },
41890 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
41891 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
41892 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
41893 { (char *)"Sizer_Detach", (PyCFunction) _wrap_Sizer_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
d3b6e4ff 41894 { (char *)"Sizer_GetItem", (PyCFunction) _wrap_Sizer_GetItem, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
41895 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41896 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
41897 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
41898 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
41899 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
41900 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41901 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41902 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41903 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41904 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
41905 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
41906 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
41907 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS, NULL },
41908 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS, NULL },
41909 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
41910 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
41911 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
41912 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL },
41913 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
41914 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS, NULL },
41915 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
41916 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS, NULL },
41917 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS, NULL },
41918 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS, NULL },
41919 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41920 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS, NULL },
41921 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41922 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41923 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41924 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL },
41925 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41926 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
41927 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS, NULL },
41928 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41929 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS, NULL },
41930 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
41931 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS, NULL },
41932 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS, NULL },
41933 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS, NULL },
41934 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS, NULL },
41935 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS, NULL },
41936 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS, NULL },
41937 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS, NULL },
41938 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41939 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL },
41940 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL },
41941 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL },
41942 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL },
41943 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL },
41944 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL },
41945 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL },
41946 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL },
41947 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS, NULL },
41948 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS, NULL },
41949 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS, NULL },
41950 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41951 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS, NULL },
41952 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS, NULL },
41953 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS, NULL },
41954 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS, NULL },
41955 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
41956 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
41957 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41958 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS, NULL },
41959 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS, NULL },
41960 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS, NULL },
41961 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS, NULL },
41962 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS, NULL },
41963 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS, NULL },
41964 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS, NULL },
41965 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
41966 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
41967 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41968 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS, NULL },
41969 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS, NULL },
41970 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL },
41971 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41972 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41973 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41974 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS, NULL },
41975 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS, NULL },
41976 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS, NULL },
41977 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS, NULL },
41978 { (char *)"GBSizerItem_Intersects", (PyCFunction) _wrap_GBSizerItem_Intersects, METH_VARARGS | METH_KEYWORDS, NULL },
41979 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction) _wrap_GBSizerItem_IntersectsPos, METH_VARARGS | METH_KEYWORDS, NULL },
41980 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS, NULL },
41981 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41982 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41983 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS, NULL },
41984 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41985 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS, NULL },
41986 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
84f85550 41987 { (char *)"GridBagSizer_GetCellSize", (PyCFunction) _wrap_GridBagSizer_GetCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
c32bde28
RD
41988 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
41989 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
41990 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS, NULL },
41991 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS, NULL },
41992 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS, NULL },
41993 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS, NULL },
41994 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS, NULL },
41995 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41996 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
41997 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction) _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS | METH_KEYWORDS, NULL },
41998 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction) _wrap_GridBagSizer_CheckForIntersectionPos, METH_VARARGS | METH_KEYWORDS, NULL },
41999 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS, NULL },
42000 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS, NULL },
42001 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS, NULL },
42002 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS, NULL },
42003 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS, NULL },
42004 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS, NULL },
42005 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS, NULL },
42006 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS, NULL },
42007 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS, NULL },
42008 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS, NULL },
42009 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS, NULL },
42010 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS, NULL },
42011 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS, NULL },
42012 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
42013 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
42014 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
42015 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
42016 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
42017 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS, NULL },
42018 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS, NULL },
42019 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS, NULL },
42020 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS, NULL },
42021 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS, NULL },
42022 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS, NULL },
42023 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS, NULL },
42024 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS, NULL },
42025 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
42026 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS, NULL },
42027 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS, NULL },
42028 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS, NULL },
42029 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS, NULL },
42030 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS, NULL },
42031 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
42032 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
42033 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS, NULL },
42034 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS, NULL },
42035 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
42036 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
42037 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS, NULL },
42038 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS, NULL },
42039 { NULL, NULL, 0, NULL }
d14a1e28
RD
42040};
42041
42042
42043/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
42044
42045static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
42046 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
42047}
42048static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
42049 return (void *)((wxSizer *) ((wxBoxSizer *) x));
42050}
42051static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
42052 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
42053}
42054static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
42055 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
42056}
42057static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
42058 return (void *)((wxSizer *) ((wxGridSizer *) x));
42059}
42060static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
42061 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
42062}
42063static void *_p_wxPySizerTo_p_wxSizer(void *x) {
42064 return (void *)((wxSizer *) ((wxPySizer *) x));
42065}
42066static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
42067 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
42068}
42069static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
42070 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
42071}
42072static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
42073 return (void *)((wxEvent *) ((wxMenuEvent *) x));
42074}
42075static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
42076 return (void *)((wxEvent *) ((wxCloseEvent *) x));
42077}
42078static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
42079 return (void *)((wxEvent *) ((wxMouseEvent *) x));
42080}
42081static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
42082 return (void *)((wxEvent *) ((wxEraseEvent *) x));
42083}
42084static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
42085 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
42086}
42087static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
42088 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
42089}
42090static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
42091 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
42092}
42093static void *_p_wxPyEventTo_p_wxEvent(void *x) {
42094 return (void *)((wxEvent *) ((wxPyEvent *) x));
42095}
42096static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
42097 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
42098}
42099static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
42100 return (void *)((wxEvent *) ((wxIdleEvent *) x));
42101}
42102static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
42103 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
42104}
42105static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
42106 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
42107}
42108static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
42109 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
42110}
42111static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
42112 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
42113}
42114static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
42115 return (void *)((wxEvent *) ((wxActivateEvent *) x));
42116}
42117static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
42118 return (void *)((wxEvent *) ((wxSizeEvent *) x));
42119}
42120static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
42121 return (void *)((wxEvent *) ((wxMoveEvent *) x));
42122}
42123static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
42124 return (void *)((wxEvent *) ((wxPaintEvent *) x));
42125}
42126static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
42127 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
42128}
42129static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
42130 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
42131}
42132static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
42133 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
42134}
42135static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
42136 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
42137}
42138static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
42139 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
42140}
42141static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
42142 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
42143}
42144static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
42145 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
42146}
42147static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
42148 return (void *)((wxEvent *) ((wxFocusEvent *) x));
42149}
42150static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
42151 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
42152}
42153static void *_p_wxShowEventTo_p_wxEvent(void *x) {
42154 return (void *)((wxEvent *) ((wxShowEvent *) x));
42155}
42156static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
42157 return (void *)((wxEvent *) ((wxCommandEvent *) x));
42158}
42159static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
42160 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
42161}
42162static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
42163 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42164}
42165static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
42166 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
42167}
42168static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
42169 return (void *)((wxEvent *) ((wxKeyEvent *) x));
42170}
42171static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
42172 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
42173}
42174static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
42175 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
42176}
42177static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
42178 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
42179}
42180static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
42181 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
42182}
42183static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
42184 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
42185}
42186static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
42187 return (void *)((wxControl *) ((wxControlWithItems *) x));
42188}
42189static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
42190 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
42191}
42192static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
42193 return (void *)((wxEvtHandler *) ((wxWindow *) x));
42194}
42195static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
42196 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
42197}
42198static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
42199 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
42200}
42201static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
42202 return (void *)((wxEvtHandler *) ((wxValidator *) x));
42203}
42204static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
42205 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
42206}
42207static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
42208 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
42209}
42210static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
42211 return (void *)((wxEvtHandler *) ((wxMenu *) x));
42212}
42213static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
42214 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
42215}
42216static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
42217 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
42218}
42219static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
42220 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
42221}
42222static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
42223 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
42224}
42225static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
42226 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
42227}
42228static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
42229 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42230}
42231static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
42232 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
42233}
42234static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
42235 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
42236}
42237static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
42238 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
42239}
42240static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
42241 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42242}
42243static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
42244 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
42245}
42246static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
42247 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
42248}
42249static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
42250 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
42251}
42252static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
42253 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
42254}
42255static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
42256 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
42257}
42258static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
42259 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
42260}
42261static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
42262 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
42263}
42264static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
42265 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
42266}
42267static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
42268 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
42269}
42270static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
42271 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
42272}
42273static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
42274 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
42275}
42276static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
42277 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
42278}
42279static void *_p_wxMenuEventTo_p_wxObject(void *x) {
42280 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
42281}
42282static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
42283 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
42284}
42285static void *_p_wxEraseEventTo_p_wxObject(void *x) {
42286 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
42287}
42288static void *_p_wxMouseEventTo_p_wxObject(void *x) {
42289 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
42290}
42291static void *_p_wxCloseEventTo_p_wxObject(void *x) {
42292 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
42293}
42294static void *_p_wxValidatorTo_p_wxObject(void *x) {
42295 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
42296}
42297static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
42298 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
42299}
42300static void *_p_wxMenuBarTo_p_wxObject(void *x) {
42301 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
42302}
42303static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
42304 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
42305}
42306static void *_p_wxSizerTo_p_wxObject(void *x) {
42307 return (void *)((wxObject *) ((wxSizer *) x));
42308}
42309static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
42310 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
42311}
42312static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
42313 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
42314}
42315static void *_p_wxMenuTo_p_wxObject(void *x) {
42316 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
42317}
42318static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
42319 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
42320}
42321static void *_p_wxImageTo_p_wxObject(void *x) {
42322 return (void *)((wxObject *) ((wxImage *) x));
42323}
42324static void *_p_wxScrollEventTo_p_wxObject(void *x) {
42325 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
42326}
42327static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
42328 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
42329}
42330static void *_p_wxPyEventTo_p_wxObject(void *x) {
42331 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
42332}
42333static void *_p_wxWindowTo_p_wxObject(void *x) {
42334 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
42335}
42336static void *_p_wxControlTo_p_wxObject(void *x) {
42337 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
42338}
1e0c8722
RD
42339static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
42340 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
42341}
d14a1e28
RD
42342static void *_p_wxGridSizerTo_p_wxObject(void *x) {
42343 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
42344}
42345static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
42346 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
42347}
42348static void *_p_wxPyAppTo_p_wxObject(void *x) {
42349 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
42350}
42351static void *_p_wxEventTo_p_wxObject(void *x) {
42352 return (void *)((wxObject *) ((wxEvent *) x));
42353}
42354static void *_p_wxActivateEventTo_p_wxObject(void *x) {
42355 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
42356}
42357static void *_p_wxMoveEventTo_p_wxObject(void *x) {
42358 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
42359}
42360static void *_p_wxSizeEventTo_p_wxObject(void *x) {
42361 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
42362}
42363static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
42364 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
42365}
42366static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
42367 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
42368}
42369static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
42370 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
42371}
42372static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
42373 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
42374}
42375static void *_p_wxIdleEventTo_p_wxObject(void *x) {
42376 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
42377}
42378static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
42379 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
42380}
42381static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
42382 return (void *)((wxObject *) ((wxEvtHandler *) x));
42383}
42384static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
42385 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
42386}
42387static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
42388 return (void *)((wxObject *) ((wxImageHandler *) x));
42389}
42390static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
42391 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
42392}
42393static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
42394 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
42395}
42396static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
42397 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
42398}
42399static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
42400 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
42401}
42402static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
42403 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
42404}
42405static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
42406 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
42407}
42408static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
42409 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
42410}
42411static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
42412 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
42413}
42414static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
42415 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
42416}
42417static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
42418 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
42419}
42420static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
42421 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
42422}
42423static void *_p_wxPaintEventTo_p_wxObject(void *x) {
42424 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
42425}
42426static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
42427 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
42428}
42429static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
42430 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
42431}
42432static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
42433 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
42434}
42435static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
42436 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
42437}
42438static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
42439 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
42440}
42441static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
42442 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
42443}
42444static void *_p_wxFileSystemTo_p_wxObject(void *x) {
42445 return (void *)((wxObject *) ((wxFileSystem *) x));
42446}
42447static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
42448 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
42449}
42450static void *_p_wxFocusEventTo_p_wxObject(void *x) {
42451 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
42452}
42453static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
42454 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
42455}
42456static void *_p_wxSizerItemTo_p_wxObject(void *x) {
42457 return (void *)((wxObject *) ((wxSizerItem *) x));
42458}
42459static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
42460 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
42461}
42462static void *_p_wxShowEventTo_p_wxObject(void *x) {
42463 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
42464}
42465static void *_p_wxFSFileTo_p_wxObject(void *x) {
42466 return (void *)((wxObject *) ((wxFSFile *) x));
42467}
42468static void *_p_wxCommandEventTo_p_wxObject(void *x) {
42469 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
42470}
42471static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
42472 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
42473}
42474static void *_p_wxKeyEventTo_p_wxObject(void *x) {
42475 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
42476}
42477static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
42478 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
42479}
42480static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
42481 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42482}
42483static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
42484 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
42485}
42486static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
42487 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
42488}
42489static void *_p_wxMenuItemTo_p_wxObject(void *x) {
42490 return (void *)((wxObject *) ((wxMenuItem *) x));
42491}
42492static void *_p_wxPySizerTo_p_wxObject(void *x) {
42493 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
42494}
42495static void *_p_wxControlTo_p_wxWindow(void *x) {
42496 return (void *)((wxWindow *) ((wxControl *) x));
42497}
42498static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
42499 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
42500}
42501static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
42502 return (void *)((wxWindow *) ((wxMenuBar *) x));
42503}
42504static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
42505 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
42506}
42507static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
42508 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
42509}
42510static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
42511 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
42512}
42513static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
42514 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
42515}
42516static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
42517 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
42518}
42519static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
42520 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
42521}
42522static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
42523 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
42524}
42525static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
42526 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
42527}
42528static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
42529 return (void *)((wxValidator *) ((wxPyValidator *) x));
42530}
15afbcd0
RD
42531static 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}};
42532static 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}};
42533static 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}};
42534static 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}};
42535static 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 42536static 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
42537static 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}};
42538static 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}};
42539static 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}};
42540static 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}};
42541static 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}};
42542static 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}};
42543static 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}};
42544static 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}};
42545static 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}};
42546static 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}};
42547static 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}};
42548static 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}};
42549static 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}};
42550static 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}};
42551static 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}};
42552static 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}};
42553static 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}};
42554static 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}};
42555static 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}};
42556static 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}};
42557static 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}};
42558static 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}};
42559static 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}};
42560static 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}};
42561static 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}};
42562static 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}};
42563static 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}};
42564static 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}};
42565static 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}};
42566static 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}};
42567static 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 42568static 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
42569static 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}};
42570static 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}};
42571static 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}};
42572static 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}};
42573static 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}};
42574static 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}};
42575static 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
42576static 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}};
42577static 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}};
42578static 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}};
42579static 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 42580static 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
42581static 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}};
42582static 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}};
42583static 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}};
42584static 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}};
42585static 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}};
42586static 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}};
42587static 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}};
42588static 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}};
42589static 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}};
42590static 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}};
42591static 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}};
42592static 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}};
42593static 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}};
42594static 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}};
42595static 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}};
42596static 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}};
42597static 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}};
42598static 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}};
42599static 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}};
42600static 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}};
42601static 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}};
42602static 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}};
42603static 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}};
42604static 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}};
42605static 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}};
42606static 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}};
42607static 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}};
42608static 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}};
42609static 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}};
42610static 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}};
42611static 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}};
42612static 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}};
42613static 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}};
42614static 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}};
42615static 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}};
42616static 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}};
42617static 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}};
42618static 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}};
42619static 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}};
42620static 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}};
42621static 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}};
42622static 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}};
42623static 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}};
42624static 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}};
42625static 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}};
42626static 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}};
42627static 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}};
42628static 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}};
42629static 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}};
42630static 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}};
42631static 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}};
42632static 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}};
42633static 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}};
42634static 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}};
42635static 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}};
42636static 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}};
42637static 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}};
42638static 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}};
42639static 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 42640static 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
42641static 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}};
42642static 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}};
42643static 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}};
42644static 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}};
42645static 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}};
42646static 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}};
42647static 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
42648
42649static swig_type_info *swig_types_initial[] = {
42650_swigt__p_wxLayoutConstraints,
42651_swigt__p_wxRealPoint,
42652_swigt__p_wxSizerItem,
42653_swigt__p_wxGBSizerItem,
42654_swigt__p_wxScrollEvent,
2ef75293 42655_swigt__p_wxEventLoop,
d14a1e28
RD
42656_swigt__p_wxIndividualLayoutConstraint,
42657_swigt__p_wxSizer,
42658_swigt__p_wxBoxSizer,
42659_swigt__p_wxStaticBoxSizer,
42660_swigt__p_wxGridBagSizer,
42661_swigt__p_wxAcceleratorEntry,
42662_swigt__p_wxUpdateUIEvent,
42663_swigt__p_wxMenu,
42664_swigt__p_wxEvent,
42665_swigt__p_wxGridSizer,
42666_swigt__p_wxFlexGridSizer,
42667_swigt__p_wxInitDialogEvent,
42668_swigt__p_wxItemContainer,
42669_swigt__p_wxNcPaintEvent,
42670_swigt__p_wxPaintEvent,
42671_swigt__p_wxSysColourChangedEvent,
42672_swigt__p_wxMouseCaptureChangedEvent,
42673_swigt__p_wxDisplayChangedEvent,
42674_swigt__p_wxPaletteChangedEvent,
42675_swigt__p_wxControl,
42676_swigt__p_wxFont,
42677_swigt__p_wxMenuBarBase,
42678_swigt__p_wxSetCursorEvent,
42679_swigt__p_wxFSFile,
42680_swigt__p_wxCaret,
42681_swigt__p_wxRegion,
42682_swigt__p_wxPoint2D,
42683_swigt__p_int,
42684_swigt__p_wxSize,
42685_swigt__p_wxDC,
42686_swigt__p_wxPySizer,
74a57fcd 42687_swigt__p_wxVisualAttributes,
d14a1e28
RD
42688_swigt__p_wxNotifyEvent,
42689_swigt__p_wxPyEvent,
42690_swigt__p_wxPropagationDisabler,
42691_swigt__p_wxAppTraits,
42692_swigt__p_wxArrayString,
42693_swigt__p_wxShowEvent,
42694_swigt__p_wxToolTip,
d14a1e28
RD
42695_swigt__p_wxIconizeEvent,
42696_swigt__p_wxActivateEvent,
42697_swigt__p_wxMoveEvent,
42698_swigt__p_wxSizeEvent,
c0de73ae 42699_swigt__p_wxMaximizeEvent,
d14a1e28
RD
42700_swigt__p_wxQueryNewPaletteEvent,
42701_swigt__p_wxWindowCreateEvent,
42702_swigt__p_wxIdleEvent,
42703_swigt__p_wxMenuItem,
42704_swigt__p_wxStaticBox,
42705_swigt__p_long,
42706_swigt__p_wxTIFFHandler,
42707_swigt__p_wxXPMHandler,
42708_swigt__p_wxPNMHandler,
42709_swigt__p_wxJPEGHandler,
42710_swigt__p_wxPCXHandler,
42711_swigt__p_wxGIFHandler,
42712_swigt__p_wxPNGHandler,
42713_swigt__p_wxANIHandler,
42714_swigt__p_wxMemoryFSHandler,
42715_swigt__p_wxEvtHandler,
42716_swigt__p_wxCURHandler,
42717_swigt__p_wxICOHandler,
42718_swigt__p_wxBMPHandler,
42719_swigt__p_wxImageHandler,
42720_swigt__p_wxFileSystemHandler,
42721_swigt__p_wxPyFileSystemHandler,
42722_swigt__p_wxInternetFSHandler,
4d5c3d91 42723_swigt__p_wxZipFSHandler,
d14a1e28
RD
42724_swigt__p_wxRect,
42725_swigt__p_wxGBSpan,
42726_swigt__p_wxPropagateOnce,
42727_swigt__p_wxAcceleratorTable,
994141e6 42728_swigt__p_char,
d14a1e28
RD
42729_swigt__p_wxGBPosition,
42730_swigt__p_wxImage,
42731_swigt__p_wxFrame,
42732_swigt__p_wxScrollWinEvent,
42733_swigt__p_wxImageHistogram,
42734_swigt__p_byte,
42735_swigt__p_wxPoint,
42736_swigt__p_wxCursor,
42737_swigt__p_wxObject,
42738_swigt__p_wxPyInputStream,
42739_swigt__p_wxOutputStream,
42740_swigt__p_wxInputStream,
42741_swigt__p_wxDateTime,
42742_swigt__p_wxKeyEvent,
42743_swigt__p_wxNavigationKeyEvent,
42744_swigt__p_wxWindowDestroyEvent,
42745_swigt__p_wxWindow,
42746_swigt__p_wxMenuBar,
d14a1e28
RD
42747_swigt__p_wxFileSystem,
42748_swigt__p_wxBitmap,
42749_swigt__p_wxMenuEvent,
42750_swigt__p_wxContextMenuEvent,
42751_swigt__p_unsigned_char,
42752_swigt__p_wxCloseEvent,
42753_swigt__p_wxEraseEvent,
42754_swigt__p_wxMouseEvent,
42755_swigt__p_wxPyApp,
42756_swigt__p_wxCommandEvent,
42757_swigt__p_wxPyCommandEvent,
7722248d 42758_swigt__p_wxPyDropTarget,
c0de73ae 42759_swigt__p_wxQuantize,
d14a1e28
RD
42760_swigt__p_wxChildFocusEvent,
42761_swigt__p_wxFocusEvent,
42762_swigt__p_wxDropFilesEvent,
42763_swigt__p_wxControlWithItems,
42764_swigt__p_wxColour,
42765_swigt__p_wxValidator,
42766_swigt__p_wxPyValidator,
427670
42768};
42769
42770
42771/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42772
42773static swig_const_info swig_const_table[] = {
c32bde28 42774{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
42775
42776#ifdef __cplusplus
42777}
42778#endif
42779
42780#ifdef __cplusplus
42781extern "C"
42782#endif
42783SWIGEXPORT(void) SWIG_init(void) {
42784 static PyObject *SWIG_globals = 0;
42785 static int typeinit = 0;
42786 PyObject *m, *d;
42787 int i;
42788 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
42789 m = Py_InitModule((char *) SWIG_name, SwigMethods);
42790 d = PyModule_GetDict(m);
42791
42792 if (!typeinit) {
42793 for (i = 0; swig_types_initial[i]; i++) {
42794 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
42795 }
42796 typeinit = 1;
42797 }
42798 SWIG_InstallConstants(d,swig_const_table);
42799
42800
42801#ifndef wxPyUSE_EXPORT
42802 // Make our API structure a CObject so other modules can import it
42803 // from this module.
42804 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
42805 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
42806 Py_XDECREF(cobj);
42807#endif
42808
c32bde28
RD
42809 PyDict_SetItemString(d,"NOT_FOUND", SWIG_From_int((int)wxNOT_FOUND));
42810 PyDict_SetItemString(d,"VSCROLL", SWIG_From_int((int)wxVSCROLL));
42811 PyDict_SetItemString(d,"HSCROLL", SWIG_From_int((int)wxHSCROLL));
42812 PyDict_SetItemString(d,"CAPTION", SWIG_From_int((int)wxCAPTION));
42813 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_From_int((int)wxDOUBLE_BORDER));
42814 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_From_int((int)wxSUNKEN_BORDER));
42815 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_From_int((int)wxRAISED_BORDER));
42816 PyDict_SetItemString(d,"BORDER", SWIG_From_int((int)wxBORDER));
42817 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_From_int((int)wxSIMPLE_BORDER));
42818 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_From_int((int)wxSTATIC_BORDER));
42819 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_From_int((int)wxTRANSPARENT_WINDOW));
42820 PyDict_SetItemString(d,"NO_BORDER", SWIG_From_int((int)wxNO_BORDER));
42821 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_From_int((int)wxTAB_TRAVERSAL));
42822 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_From_int((int)wxWANTS_CHARS));
42823 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_From_int((int)wxPOPUP_WINDOW));
42824 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_From_int((int)wxCENTER_FRAME));
42825 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_From_int((int)wxCENTRE_ON_SCREEN));
42826 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_From_int((int)wxCENTER_ON_SCREEN));
42827 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_From_int((int)wxED_CLIENT_MARGIN));
42828 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_From_int((int)wxED_BUTTONS_BOTTOM));
42829 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_From_int((int)wxED_BUTTONS_RIGHT));
42830 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_From_int((int)wxED_STATIC_LINE));
42831 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_From_int((int)wxEXT_DIALOG_STYLE));
42832 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_From_int((int)wxCLIP_CHILDREN));
42833 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_From_int((int)wxCLIP_SIBLINGS));
42834 PyDict_SetItemString(d,"ALWAYS_SHOW_SB", SWIG_From_int((int)wxALWAYS_SHOW_SB));
42835 PyDict_SetItemString(d,"RETAINED", SWIG_From_int((int)wxRETAINED));
42836 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_From_int((int)wxBACKINGSTORE));
42837 PyDict_SetItemString(d,"COLOURED", SWIG_From_int((int)wxCOLOURED));
42838 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_From_int((int)wxFIXED_LENGTH));
42839 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_From_int((int)wxLB_NEEDED_SB));
42840 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_From_int((int)wxLB_ALWAYS_SB));
42841 PyDict_SetItemString(d,"LB_SORT", SWIG_From_int((int)wxLB_SORT));
42842 PyDict_SetItemString(d,"LB_SINGLE", SWIG_From_int((int)wxLB_SINGLE));
42843 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_From_int((int)wxLB_MULTIPLE));
42844 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_From_int((int)wxLB_EXTENDED));
42845 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_From_int((int)wxLB_OWNERDRAW));
42846 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_From_int((int)wxLB_HSCROLL));
42847 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_From_int((int)wxPROCESS_ENTER));
42848 PyDict_SetItemString(d,"PASSWORD", SWIG_From_int((int)wxPASSWORD));
42849 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_From_int((int)wxCB_SIMPLE));
42850 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_From_int((int)wxCB_DROPDOWN));
42851 PyDict_SetItemString(d,"CB_SORT", SWIG_From_int((int)wxCB_SORT));
42852 PyDict_SetItemString(d,"CB_READONLY", SWIG_From_int((int)wxCB_READONLY));
42853 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_From_int((int)wxRA_HORIZONTAL));
42854 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_From_int((int)wxRA_VERTICAL));
42855 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_From_int((int)wxRA_SPECIFY_ROWS));
42856 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_From_int((int)wxRA_SPECIFY_COLS));
42857 PyDict_SetItemString(d,"RB_GROUP", SWIG_From_int((int)wxRB_GROUP));
42858 PyDict_SetItemString(d,"RB_SINGLE", SWIG_From_int((int)wxRB_SINGLE));
42859 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_From_int((int)wxSL_HORIZONTAL));
42860 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_From_int((int)wxSL_VERTICAL));
42861 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_From_int((int)wxSL_AUTOTICKS));
42862 PyDict_SetItemString(d,"SL_LABELS", SWIG_From_int((int)wxSL_LABELS));
42863 PyDict_SetItemString(d,"SL_LEFT", SWIG_From_int((int)wxSL_LEFT));
42864 PyDict_SetItemString(d,"SL_TOP", SWIG_From_int((int)wxSL_TOP));
42865 PyDict_SetItemString(d,"SL_RIGHT", SWIG_From_int((int)wxSL_RIGHT));
42866 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_From_int((int)wxSL_BOTTOM));
42867 PyDict_SetItemString(d,"SL_BOTH", SWIG_From_int((int)wxSL_BOTH));
42868 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_From_int((int)wxSL_SELRANGE));
42869 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_From_int((int)wxSB_HORIZONTAL));
42870 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_From_int((int)wxSB_VERTICAL));
42871 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_From_int((int)wxST_SIZEGRIP));
42872 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_From_int((int)wxST_NO_AUTORESIZE));
42873 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_From_int((int)wxFLOOD_SURFACE));
42874 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_From_int((int)wxFLOOD_BORDER));
42875 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_From_int((int)wxODDEVEN_RULE));
42876 PyDict_SetItemString(d,"WINDING_RULE", SWIG_From_int((int)wxWINDING_RULE));
42877 PyDict_SetItemString(d,"TOOL_TOP", SWIG_From_int((int)wxTOOL_TOP));
42878 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_From_int((int)wxTOOL_BOTTOM));
42879 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_From_int((int)wxTOOL_LEFT));
42880 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_From_int((int)wxTOOL_RIGHT));
42881 PyDict_SetItemString(d,"OK", SWIG_From_int((int)wxOK));
42882 PyDict_SetItemString(d,"YES_NO", SWIG_From_int((int)wxYES_NO));
42883 PyDict_SetItemString(d,"CANCEL", SWIG_From_int((int)wxCANCEL));
42884 PyDict_SetItemString(d,"YES", SWIG_From_int((int)wxYES));
42885 PyDict_SetItemString(d,"NO", SWIG_From_int((int)wxNO));
42886 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_From_int((int)wxNO_DEFAULT));
42887 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_From_int((int)wxYES_DEFAULT));
42888 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_From_int((int)wxICON_EXCLAMATION));
42889 PyDict_SetItemString(d,"ICON_HAND", SWIG_From_int((int)wxICON_HAND));
42890 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_From_int((int)wxICON_QUESTION));
42891 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_From_int((int)wxICON_INFORMATION));
42892 PyDict_SetItemString(d,"ICON_STOP", SWIG_From_int((int)wxICON_STOP));
42893 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_From_int((int)wxICON_ASTERISK));
42894 PyDict_SetItemString(d,"ICON_MASK", SWIG_From_int((int)wxICON_MASK));
42895 PyDict_SetItemString(d,"ICON_WARNING", SWIG_From_int((int)wxICON_WARNING));
42896 PyDict_SetItemString(d,"ICON_ERROR", SWIG_From_int((int)wxICON_ERROR));
42897 PyDict_SetItemString(d,"FORWARD", SWIG_From_int((int)wxFORWARD));
42898 PyDict_SetItemString(d,"BACKWARD", SWIG_From_int((int)wxBACKWARD));
42899 PyDict_SetItemString(d,"RESET", SWIG_From_int((int)wxRESET));
42900 PyDict_SetItemString(d,"HELP", SWIG_From_int((int)wxHELP));
42901 PyDict_SetItemString(d,"MORE", SWIG_From_int((int)wxMORE));
42902 PyDict_SetItemString(d,"SETUP", SWIG_From_int((int)wxSETUP));
42903 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_From_int((int)wxSIZE_AUTO_WIDTH));
42904 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_From_int((int)wxSIZE_AUTO_HEIGHT));
42905 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_From_int((int)wxSIZE_AUTO));
42906 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_From_int((int)wxSIZE_USE_EXISTING));
42907 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_From_int((int)wxSIZE_ALLOW_MINUS_ONE));
42908 PyDict_SetItemString(d,"PORTRAIT", SWIG_From_int((int)wxPORTRAIT));
42909 PyDict_SetItemString(d,"LANDSCAPE", SWIG_From_int((int)wxLANDSCAPE));
42910 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_From_int((int)wxPRINT_QUALITY_HIGH));
42911 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_From_int((int)wxPRINT_QUALITY_MEDIUM));
42912 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_From_int((int)wxPRINT_QUALITY_LOW));
42913 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_From_int((int)wxPRINT_QUALITY_DRAFT));
42914 PyDict_SetItemString(d,"ID_ANY", SWIG_From_int((int)wxID_ANY));
42915 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_From_int((int)wxID_SEPARATOR));
42916 PyDict_SetItemString(d,"ID_LOWEST", SWIG_From_int((int)wxID_LOWEST));
42917 PyDict_SetItemString(d,"ID_OPEN", SWIG_From_int((int)wxID_OPEN));
42918 PyDict_SetItemString(d,"ID_CLOSE", SWIG_From_int((int)wxID_CLOSE));
42919 PyDict_SetItemString(d,"ID_NEW", SWIG_From_int((int)wxID_NEW));
42920 PyDict_SetItemString(d,"ID_SAVE", SWIG_From_int((int)wxID_SAVE));
42921 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_From_int((int)wxID_SAVEAS));
42922 PyDict_SetItemString(d,"ID_REVERT", SWIG_From_int((int)wxID_REVERT));
42923 PyDict_SetItemString(d,"ID_EXIT", SWIG_From_int((int)wxID_EXIT));
42924 PyDict_SetItemString(d,"ID_UNDO", SWIG_From_int((int)wxID_UNDO));
42925 PyDict_SetItemString(d,"ID_REDO", SWIG_From_int((int)wxID_REDO));
42926 PyDict_SetItemString(d,"ID_HELP", SWIG_From_int((int)wxID_HELP));
42927 PyDict_SetItemString(d,"ID_PRINT", SWIG_From_int((int)wxID_PRINT));
42928 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_From_int((int)wxID_PRINT_SETUP));
42929 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_From_int((int)wxID_PREVIEW));
42930 PyDict_SetItemString(d,"ID_ABOUT", SWIG_From_int((int)wxID_ABOUT));
42931 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_From_int((int)wxID_HELP_CONTENTS));
42932 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_From_int((int)wxID_HELP_COMMANDS));
42933 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_From_int((int)wxID_HELP_PROCEDURES));
42934 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_From_int((int)wxID_HELP_CONTEXT));
42935 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_From_int((int)wxID_CLOSE_ALL));
42936 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_From_int((int)wxID_PREFERENCES));
42937 PyDict_SetItemString(d,"ID_CUT", SWIG_From_int((int)wxID_CUT));
42938 PyDict_SetItemString(d,"ID_COPY", SWIG_From_int((int)wxID_COPY));
42939 PyDict_SetItemString(d,"ID_PASTE", SWIG_From_int((int)wxID_PASTE));
42940 PyDict_SetItemString(d,"ID_CLEAR", SWIG_From_int((int)wxID_CLEAR));
42941 PyDict_SetItemString(d,"ID_FIND", SWIG_From_int((int)wxID_FIND));
42942 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_From_int((int)wxID_DUPLICATE));
42943 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_From_int((int)wxID_SELECTALL));
42944 PyDict_SetItemString(d,"ID_DELETE", SWIG_From_int((int)wxID_DELETE));
42945 PyDict_SetItemString(d,"ID_REPLACE", SWIG_From_int((int)wxID_REPLACE));
42946 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_From_int((int)wxID_REPLACE_ALL));
42947 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_From_int((int)wxID_PROPERTIES));
42948 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_From_int((int)wxID_VIEW_DETAILS));
42949 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_From_int((int)wxID_VIEW_LARGEICONS));
42950 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_From_int((int)wxID_VIEW_SMALLICONS));
42951 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_From_int((int)wxID_VIEW_LIST));
42952 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_From_int((int)wxID_VIEW_SORTDATE));
42953 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_From_int((int)wxID_VIEW_SORTNAME));
42954 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_From_int((int)wxID_VIEW_SORTSIZE));
42955 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_From_int((int)wxID_VIEW_SORTTYPE));
42956 PyDict_SetItemString(d,"ID_FILE1", SWIG_From_int((int)wxID_FILE1));
42957 PyDict_SetItemString(d,"ID_FILE2", SWIG_From_int((int)wxID_FILE2));
42958 PyDict_SetItemString(d,"ID_FILE3", SWIG_From_int((int)wxID_FILE3));
42959 PyDict_SetItemString(d,"ID_FILE4", SWIG_From_int((int)wxID_FILE4));
42960 PyDict_SetItemString(d,"ID_FILE5", SWIG_From_int((int)wxID_FILE5));
42961 PyDict_SetItemString(d,"ID_FILE6", SWIG_From_int((int)wxID_FILE6));
42962 PyDict_SetItemString(d,"ID_FILE7", SWIG_From_int((int)wxID_FILE7));
42963 PyDict_SetItemString(d,"ID_FILE8", SWIG_From_int((int)wxID_FILE8));
42964 PyDict_SetItemString(d,"ID_FILE9", SWIG_From_int((int)wxID_FILE9));
42965 PyDict_SetItemString(d,"ID_OK", SWIG_From_int((int)wxID_OK));
42966 PyDict_SetItemString(d,"ID_CANCEL", SWIG_From_int((int)wxID_CANCEL));
42967 PyDict_SetItemString(d,"ID_APPLY", SWIG_From_int((int)wxID_APPLY));
42968 PyDict_SetItemString(d,"ID_YES", SWIG_From_int((int)wxID_YES));
42969 PyDict_SetItemString(d,"ID_NO", SWIG_From_int((int)wxID_NO));
42970 PyDict_SetItemString(d,"ID_STATIC", SWIG_From_int((int)wxID_STATIC));
42971 PyDict_SetItemString(d,"ID_FORWARD", SWIG_From_int((int)wxID_FORWARD));
42972 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_From_int((int)wxID_BACKWARD));
42973 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_From_int((int)wxID_DEFAULT));
42974 PyDict_SetItemString(d,"ID_MORE", SWIG_From_int((int)wxID_MORE));
42975 PyDict_SetItemString(d,"ID_SETUP", SWIG_From_int((int)wxID_SETUP));
42976 PyDict_SetItemString(d,"ID_RESET", SWIG_From_int((int)wxID_RESET));
42977 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_From_int((int)wxID_CONTEXT_HELP));
42978 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_From_int((int)wxID_YESTOALL));
42979 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_From_int((int)wxID_NOTOALL));
42980 PyDict_SetItemString(d,"ID_ABORT", SWIG_From_int((int)wxID_ABORT));
42981 PyDict_SetItemString(d,"ID_RETRY", SWIG_From_int((int)wxID_RETRY));
42982 PyDict_SetItemString(d,"ID_IGNORE", SWIG_From_int((int)wxID_IGNORE));
42983 PyDict_SetItemString(d,"ID_ADD", SWIG_From_int((int)wxID_ADD));
42984 PyDict_SetItemString(d,"ID_REMOVE", SWIG_From_int((int)wxID_REMOVE));
42985 PyDict_SetItemString(d,"ID_UP", SWIG_From_int((int)wxID_UP));
42986 PyDict_SetItemString(d,"ID_DOWN", SWIG_From_int((int)wxID_DOWN));
42987 PyDict_SetItemString(d,"ID_HOME", SWIG_From_int((int)wxID_HOME));
42988 PyDict_SetItemString(d,"ID_REFRESH", SWIG_From_int((int)wxID_REFRESH));
42989 PyDict_SetItemString(d,"ID_STOP", SWIG_From_int((int)wxID_STOP));
42990 PyDict_SetItemString(d,"ID_INDEX", SWIG_From_int((int)wxID_INDEX));
42991 PyDict_SetItemString(d,"ID_BOLD", SWIG_From_int((int)wxID_BOLD));
42992 PyDict_SetItemString(d,"ID_ITALIC", SWIG_From_int((int)wxID_ITALIC));
42993 PyDict_SetItemString(d,"ID_JUSTIFY_CENTER", SWIG_From_int((int)wxID_JUSTIFY_CENTER));
42994 PyDict_SetItemString(d,"ID_JUSTIFY_FILL", SWIG_From_int((int)wxID_JUSTIFY_FILL));
42995 PyDict_SetItemString(d,"ID_JUSTIFY_RIGHT", SWIG_From_int((int)wxID_JUSTIFY_RIGHT));
42996 PyDict_SetItemString(d,"ID_JUSTIFY_LEFT", SWIG_From_int((int)wxID_JUSTIFY_LEFT));
42997 PyDict_SetItemString(d,"ID_UNDERLINE", SWIG_From_int((int)wxID_UNDERLINE));
42998 PyDict_SetItemString(d,"ID_INDENT", SWIG_From_int((int)wxID_INDENT));
42999 PyDict_SetItemString(d,"ID_UNINDENT", SWIG_From_int((int)wxID_UNINDENT));
43000 PyDict_SetItemString(d,"ID_ZOOM_100", SWIG_From_int((int)wxID_ZOOM_100));
43001 PyDict_SetItemString(d,"ID_ZOOM_FIT", SWIG_From_int((int)wxID_ZOOM_FIT));
43002 PyDict_SetItemString(d,"ID_ZOOM_IN", SWIG_From_int((int)wxID_ZOOM_IN));
43003 PyDict_SetItemString(d,"ID_ZOOM_OUT", SWIG_From_int((int)wxID_ZOOM_OUT));
43004 PyDict_SetItemString(d,"ID_UNDELETE", SWIG_From_int((int)wxID_UNDELETE));
43005 PyDict_SetItemString(d,"ID_REVERT_TO_SAVED", SWIG_From_int((int)wxID_REVERT_TO_SAVED));
43006 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_From_int((int)wxID_HIGHEST));
43007 PyDict_SetItemString(d,"OPEN", SWIG_From_int((int)wxOPEN));
43008 PyDict_SetItemString(d,"SAVE", SWIG_From_int((int)wxSAVE));
43009 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_From_int((int)wxHIDE_READONLY));
43010 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_From_int((int)wxOVERWRITE_PROMPT));
43011 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_From_int((int)wxFILE_MUST_EXIST));
43012 PyDict_SetItemString(d,"MULTIPLE", SWIG_From_int((int)wxMULTIPLE));
43013 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_From_int((int)wxCHANGE_DIR));
43014 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_From_int((int)wxACCEL_ALT));
43015 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_From_int((int)wxACCEL_CTRL));
43016 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_From_int((int)wxACCEL_SHIFT));
43017 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_From_int((int)wxACCEL_NORMAL));
43018 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_From_int((int)wxPD_AUTO_HIDE));
43019 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_From_int((int)wxPD_APP_MODAL));
43020 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_From_int((int)wxPD_CAN_ABORT));
43021 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_From_int((int)wxPD_ELAPSED_TIME));
43022 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_From_int((int)wxPD_ESTIMATED_TIME));
43023 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_From_int((int)wxPD_REMAINING_TIME));
43024 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_From_int((int)wxDD_NEW_DIR_BUTTON));
43025 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_From_int((int)wxDD_DEFAULT_STYLE));
43026 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_From_int((int)wxMENU_TEAROFF));
43027 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_From_int((int)wxMB_DOCKABLE));
43028 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxNO_FULL_REPAINT_ON_RESIZE));
43029 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_From_int((int)wxFULL_REPAINT_ON_RESIZE));
43030 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_From_int((int)wxLI_HORIZONTAL));
43031 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_From_int((int)wxLI_VERTICAL));
43032 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_From_int((int)wxWS_EX_VALIDATE_RECURSIVELY));
43033 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_From_int((int)wxWS_EX_BLOCK_EVENTS));
43034 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_From_int((int)wxWS_EX_TRANSIENT));
43035 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_From_int((int)wxWS_EX_THEMED_BACKGROUND));
43036 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_From_int((int)wxWS_EX_PROCESS_IDLE));
43037 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_From_int((int)wxWS_EX_PROCESS_UI_UPDATES));
43038 PyDict_SetItemString(d,"MM_TEXT", SWIG_From_int((int)wxMM_TEXT));
43039 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_From_int((int)wxMM_LOMETRIC));
43040 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_From_int((int)wxMM_HIMETRIC));
43041 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_From_int((int)wxMM_LOENGLISH));
43042 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_From_int((int)wxMM_HIENGLISH));
43043 PyDict_SetItemString(d,"MM_TWIPS", SWIG_From_int((int)wxMM_TWIPS));
43044 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_From_int((int)wxMM_ISOTROPIC));
43045 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_From_int((int)wxMM_ANISOTROPIC));
43046 PyDict_SetItemString(d,"MM_POINTS", SWIG_From_int((int)wxMM_POINTS));
43047 PyDict_SetItemString(d,"MM_METRIC", SWIG_From_int((int)wxMM_METRIC));
43048 PyDict_SetItemString(d,"CENTRE", SWIG_From_int((int)wxCENTRE));
43049 PyDict_SetItemString(d,"CENTER", SWIG_From_int((int)wxCENTER));
43050 PyDict_SetItemString(d,"HORIZONTAL", SWIG_From_int((int)wxHORIZONTAL));
43051 PyDict_SetItemString(d,"VERTICAL", SWIG_From_int((int)wxVERTICAL));
43052 PyDict_SetItemString(d,"BOTH", SWIG_From_int((int)wxBOTH));
43053 PyDict_SetItemString(d,"LEFT", SWIG_From_int((int)wxLEFT));
43054 PyDict_SetItemString(d,"RIGHT", SWIG_From_int((int)wxRIGHT));
43055 PyDict_SetItemString(d,"UP", SWIG_From_int((int)wxUP));
43056 PyDict_SetItemString(d,"DOWN", SWIG_From_int((int)wxDOWN));
43057 PyDict_SetItemString(d,"TOP", SWIG_From_int((int)wxTOP));
43058 PyDict_SetItemString(d,"BOTTOM", SWIG_From_int((int)wxBOTTOM));
43059 PyDict_SetItemString(d,"NORTH", SWIG_From_int((int)wxNORTH));
43060 PyDict_SetItemString(d,"SOUTH", SWIG_From_int((int)wxSOUTH));
43061 PyDict_SetItemString(d,"WEST", SWIG_From_int((int)wxWEST));
43062 PyDict_SetItemString(d,"EAST", SWIG_From_int((int)wxEAST));
43063 PyDict_SetItemString(d,"ALL", SWIG_From_int((int)wxALL));
43064 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_From_int((int)wxALIGN_NOT));
43065 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTER_HORIZONTAL));
43066 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_From_int((int)wxALIGN_CENTRE_HORIZONTAL));
43067 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_From_int((int)wxALIGN_LEFT));
43068 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_From_int((int)wxALIGN_TOP));
43069 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_From_int((int)wxALIGN_RIGHT));
43070 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_From_int((int)wxALIGN_BOTTOM));
43071 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_From_int((int)wxALIGN_CENTER_VERTICAL));
43072 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_From_int((int)wxALIGN_CENTRE_VERTICAL));
43073 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_From_int((int)wxALIGN_CENTER));
43074 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_From_int((int)wxALIGN_CENTRE));
43075 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_From_int((int)wxALIGN_MASK));
43076 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_From_int((int)wxSTRETCH_NOT));
43077 PyDict_SetItemString(d,"SHRINK", SWIG_From_int((int)wxSHRINK));
43078 PyDict_SetItemString(d,"GROW", SWIG_From_int((int)wxGROW));
43079 PyDict_SetItemString(d,"EXPAND", SWIG_From_int((int)wxEXPAND));
43080 PyDict_SetItemString(d,"SHAPED", SWIG_From_int((int)wxSHAPED));
43081 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_From_int((int)wxFIXED_MINSIZE));
43082 PyDict_SetItemString(d,"TILE", SWIG_From_int((int)wxTILE));
43083 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_From_int((int)wxADJUST_MINSIZE));
43084 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_From_int((int)wxBORDER_DEFAULT));
43085 PyDict_SetItemString(d,"BORDER_NONE", SWIG_From_int((int)wxBORDER_NONE));
43086 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_From_int((int)wxBORDER_STATIC));
43087 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_From_int((int)wxBORDER_SIMPLE));
43088 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_From_int((int)wxBORDER_RAISED));
43089 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_From_int((int)wxBORDER_SUNKEN));
43090 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_From_int((int)wxBORDER_DOUBLE));
43091 PyDict_SetItemString(d,"BORDER_MASK", SWIG_From_int((int)wxBORDER_MASK));
43092 PyDict_SetItemString(d,"BG_STYLE_SYSTEM", SWIG_From_int((int)wxBG_STYLE_SYSTEM));
43093 PyDict_SetItemString(d,"BG_STYLE_COLOUR", SWIG_From_int((int)wxBG_STYLE_COLOUR));
43094 PyDict_SetItemString(d,"BG_STYLE_CUSTOM", SWIG_From_int((int)wxBG_STYLE_CUSTOM));
43095 PyDict_SetItemString(d,"DEFAULT", SWIG_From_int((int)wxDEFAULT));
43096 PyDict_SetItemString(d,"DECORATIVE", SWIG_From_int((int)wxDECORATIVE));
43097 PyDict_SetItemString(d,"ROMAN", SWIG_From_int((int)wxROMAN));
43098 PyDict_SetItemString(d,"SCRIPT", SWIG_From_int((int)wxSCRIPT));
43099 PyDict_SetItemString(d,"SWISS", SWIG_From_int((int)wxSWISS));
43100 PyDict_SetItemString(d,"MODERN", SWIG_From_int((int)wxMODERN));
43101 PyDict_SetItemString(d,"TELETYPE", SWIG_From_int((int)wxTELETYPE));
43102 PyDict_SetItemString(d,"VARIABLE", SWIG_From_int((int)wxVARIABLE));
43103 PyDict_SetItemString(d,"FIXED", SWIG_From_int((int)wxFIXED));
43104 PyDict_SetItemString(d,"NORMAL", SWIG_From_int((int)wxNORMAL));
43105 PyDict_SetItemString(d,"LIGHT", SWIG_From_int((int)wxLIGHT));
43106 PyDict_SetItemString(d,"BOLD", SWIG_From_int((int)wxBOLD));
43107 PyDict_SetItemString(d,"ITALIC", SWIG_From_int((int)wxITALIC));
43108 PyDict_SetItemString(d,"SLANT", SWIG_From_int((int)wxSLANT));
43109 PyDict_SetItemString(d,"SOLID", SWIG_From_int((int)wxSOLID));
43110 PyDict_SetItemString(d,"DOT", SWIG_From_int((int)wxDOT));
43111 PyDict_SetItemString(d,"LONG_DASH", SWIG_From_int((int)wxLONG_DASH));
43112 PyDict_SetItemString(d,"SHORT_DASH", SWIG_From_int((int)wxSHORT_DASH));
43113 PyDict_SetItemString(d,"DOT_DASH", SWIG_From_int((int)wxDOT_DASH));
43114 PyDict_SetItemString(d,"USER_DASH", SWIG_From_int((int)wxUSER_DASH));
43115 PyDict_SetItemString(d,"TRANSPARENT", SWIG_From_int((int)wxTRANSPARENT));
43116 PyDict_SetItemString(d,"STIPPLE", SWIG_From_int((int)wxSTIPPLE));
43117 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_From_int((int)wxBDIAGONAL_HATCH));
43118 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_From_int((int)wxCROSSDIAG_HATCH));
43119 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_From_int((int)wxFDIAGONAL_HATCH));
43120 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_From_int((int)wxCROSS_HATCH));
43121 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_From_int((int)wxHORIZONTAL_HATCH));
43122 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_From_int((int)wxVERTICAL_HATCH));
43123 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_From_int((int)wxJOIN_BEVEL));
43124 PyDict_SetItemString(d,"JOIN_MITER", SWIG_From_int((int)wxJOIN_MITER));
43125 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_From_int((int)wxJOIN_ROUND));
43126 PyDict_SetItemString(d,"CAP_ROUND", SWIG_From_int((int)wxCAP_ROUND));
43127 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_From_int((int)wxCAP_PROJECTING));
43128 PyDict_SetItemString(d,"CAP_BUTT", SWIG_From_int((int)wxCAP_BUTT));
43129 PyDict_SetItemString(d,"CLEAR", SWIG_From_int((int)wxCLEAR));
43130 PyDict_SetItemString(d,"XOR", SWIG_From_int((int)wxXOR));
43131 PyDict_SetItemString(d,"INVERT", SWIG_From_int((int)wxINVERT));
43132 PyDict_SetItemString(d,"OR_REVERSE", SWIG_From_int((int)wxOR_REVERSE));
43133 PyDict_SetItemString(d,"AND_REVERSE", SWIG_From_int((int)wxAND_REVERSE));
43134 PyDict_SetItemString(d,"COPY", SWIG_From_int((int)wxCOPY));
43135 PyDict_SetItemString(d,"AND", SWIG_From_int((int)wxAND));
43136 PyDict_SetItemString(d,"AND_INVERT", SWIG_From_int((int)wxAND_INVERT));
43137 PyDict_SetItemString(d,"NO_OP", SWIG_From_int((int)wxNO_OP));
43138 PyDict_SetItemString(d,"NOR", SWIG_From_int((int)wxNOR));
43139 PyDict_SetItemString(d,"EQUIV", SWIG_From_int((int)wxEQUIV));
43140 PyDict_SetItemString(d,"SRC_INVERT", SWIG_From_int((int)wxSRC_INVERT));
43141 PyDict_SetItemString(d,"OR_INVERT", SWIG_From_int((int)wxOR_INVERT));
43142 PyDict_SetItemString(d,"NAND", SWIG_From_int((int)wxNAND));
43143 PyDict_SetItemString(d,"OR", SWIG_From_int((int)wxOR));
43144 PyDict_SetItemString(d,"SET", SWIG_From_int((int)wxSET));
43145 PyDict_SetItemString(d,"WXK_BACK", SWIG_From_int((int)WXK_BACK));
43146 PyDict_SetItemString(d,"WXK_TAB", SWIG_From_int((int)WXK_TAB));
43147 PyDict_SetItemString(d,"WXK_RETURN", SWIG_From_int((int)WXK_RETURN));
43148 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_From_int((int)WXK_ESCAPE));
43149 PyDict_SetItemString(d,"WXK_SPACE", SWIG_From_int((int)WXK_SPACE));
43150 PyDict_SetItemString(d,"WXK_DELETE", SWIG_From_int((int)WXK_DELETE));
43151 PyDict_SetItemString(d,"WXK_START", SWIG_From_int((int)WXK_START));
43152 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_From_int((int)WXK_LBUTTON));
43153 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_From_int((int)WXK_RBUTTON));
43154 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_From_int((int)WXK_CANCEL));
43155 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_From_int((int)WXK_MBUTTON));
43156 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_From_int((int)WXK_CLEAR));
43157 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_From_int((int)WXK_SHIFT));
43158 PyDict_SetItemString(d,"WXK_ALT", SWIG_From_int((int)WXK_ALT));
43159 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_From_int((int)WXK_CONTROL));
43160 PyDict_SetItemString(d,"WXK_MENU", SWIG_From_int((int)WXK_MENU));
43161 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_From_int((int)WXK_PAUSE));
43162 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_From_int((int)WXK_CAPITAL));
43163 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_From_int((int)WXK_PRIOR));
43164 PyDict_SetItemString(d,"WXK_NEXT", SWIG_From_int((int)WXK_NEXT));
43165 PyDict_SetItemString(d,"WXK_END", SWIG_From_int((int)WXK_END));
43166 PyDict_SetItemString(d,"WXK_HOME", SWIG_From_int((int)WXK_HOME));
43167 PyDict_SetItemString(d,"WXK_LEFT", SWIG_From_int((int)WXK_LEFT));
43168 PyDict_SetItemString(d,"WXK_UP", SWIG_From_int((int)WXK_UP));
43169 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_From_int((int)WXK_RIGHT));
43170 PyDict_SetItemString(d,"WXK_DOWN", SWIG_From_int((int)WXK_DOWN));
43171 PyDict_SetItemString(d,"WXK_SELECT", SWIG_From_int((int)WXK_SELECT));
43172 PyDict_SetItemString(d,"WXK_PRINT", SWIG_From_int((int)WXK_PRINT));
43173 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_From_int((int)WXK_EXECUTE));
43174 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_From_int((int)WXK_SNAPSHOT));
43175 PyDict_SetItemString(d,"WXK_INSERT", SWIG_From_int((int)WXK_INSERT));
43176 PyDict_SetItemString(d,"WXK_HELP", SWIG_From_int((int)WXK_HELP));
43177 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_From_int((int)WXK_NUMPAD0));
43178 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_From_int((int)WXK_NUMPAD1));
43179 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_From_int((int)WXK_NUMPAD2));
43180 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_From_int((int)WXK_NUMPAD3));
43181 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_From_int((int)WXK_NUMPAD4));
43182 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_From_int((int)WXK_NUMPAD5));
43183 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_From_int((int)WXK_NUMPAD6));
43184 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_From_int((int)WXK_NUMPAD7));
43185 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_From_int((int)WXK_NUMPAD8));
43186 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_From_int((int)WXK_NUMPAD9));
43187 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_From_int((int)WXK_MULTIPLY));
43188 PyDict_SetItemString(d,"WXK_ADD", SWIG_From_int((int)WXK_ADD));
43189 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_From_int((int)WXK_SEPARATOR));
43190 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_From_int((int)WXK_SUBTRACT));
43191 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_From_int((int)WXK_DECIMAL));
43192 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_From_int((int)WXK_DIVIDE));
43193 PyDict_SetItemString(d,"WXK_F1", SWIG_From_int((int)WXK_F1));
43194 PyDict_SetItemString(d,"WXK_F2", SWIG_From_int((int)WXK_F2));
43195 PyDict_SetItemString(d,"WXK_F3", SWIG_From_int((int)WXK_F3));
43196 PyDict_SetItemString(d,"WXK_F4", SWIG_From_int((int)WXK_F4));
43197 PyDict_SetItemString(d,"WXK_F5", SWIG_From_int((int)WXK_F5));
43198 PyDict_SetItemString(d,"WXK_F6", SWIG_From_int((int)WXK_F6));
43199 PyDict_SetItemString(d,"WXK_F7", SWIG_From_int((int)WXK_F7));
43200 PyDict_SetItemString(d,"WXK_F8", SWIG_From_int((int)WXK_F8));
43201 PyDict_SetItemString(d,"WXK_F9", SWIG_From_int((int)WXK_F9));
43202 PyDict_SetItemString(d,"WXK_F10", SWIG_From_int((int)WXK_F10));
43203 PyDict_SetItemString(d,"WXK_F11", SWIG_From_int((int)WXK_F11));
43204 PyDict_SetItemString(d,"WXK_F12", SWIG_From_int((int)WXK_F12));
43205 PyDict_SetItemString(d,"WXK_F13", SWIG_From_int((int)WXK_F13));
43206 PyDict_SetItemString(d,"WXK_F14", SWIG_From_int((int)WXK_F14));
43207 PyDict_SetItemString(d,"WXK_F15", SWIG_From_int((int)WXK_F15));
43208 PyDict_SetItemString(d,"WXK_F16", SWIG_From_int((int)WXK_F16));
43209 PyDict_SetItemString(d,"WXK_F17", SWIG_From_int((int)WXK_F17));
43210 PyDict_SetItemString(d,"WXK_F18", SWIG_From_int((int)WXK_F18));
43211 PyDict_SetItemString(d,"WXK_F19", SWIG_From_int((int)WXK_F19));
43212 PyDict_SetItemString(d,"WXK_F20", SWIG_From_int((int)WXK_F20));
43213 PyDict_SetItemString(d,"WXK_F21", SWIG_From_int((int)WXK_F21));
43214 PyDict_SetItemString(d,"WXK_F22", SWIG_From_int((int)WXK_F22));
43215 PyDict_SetItemString(d,"WXK_F23", SWIG_From_int((int)WXK_F23));
43216 PyDict_SetItemString(d,"WXK_F24", SWIG_From_int((int)WXK_F24));
43217 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_From_int((int)WXK_NUMLOCK));
43218 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_From_int((int)WXK_SCROLL));
43219 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_From_int((int)WXK_PAGEUP));
43220 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_From_int((int)WXK_PAGEDOWN));
43221 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_From_int((int)WXK_NUMPAD_SPACE));
43222 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_From_int((int)WXK_NUMPAD_TAB));
43223 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_From_int((int)WXK_NUMPAD_ENTER));
43224 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_From_int((int)WXK_NUMPAD_F1));
43225 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_From_int((int)WXK_NUMPAD_F2));
43226 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_From_int((int)WXK_NUMPAD_F3));
43227 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_From_int((int)WXK_NUMPAD_F4));
43228 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_From_int((int)WXK_NUMPAD_HOME));
43229 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_From_int((int)WXK_NUMPAD_LEFT));
43230 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_From_int((int)WXK_NUMPAD_UP));
43231 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_From_int((int)WXK_NUMPAD_RIGHT));
43232 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_From_int((int)WXK_NUMPAD_DOWN));
43233 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_From_int((int)WXK_NUMPAD_PRIOR));
43234 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_From_int((int)WXK_NUMPAD_PAGEUP));
43235 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_From_int((int)WXK_NUMPAD_NEXT));
43236 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_From_int((int)WXK_NUMPAD_PAGEDOWN));
43237 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_From_int((int)WXK_NUMPAD_END));
43238 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_From_int((int)WXK_NUMPAD_BEGIN));
43239 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_From_int((int)WXK_NUMPAD_INSERT));
43240 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_From_int((int)WXK_NUMPAD_DELETE));
43241 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_From_int((int)WXK_NUMPAD_EQUAL));
43242 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_From_int((int)WXK_NUMPAD_MULTIPLY));
43243 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_From_int((int)WXK_NUMPAD_ADD));
43244 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_From_int((int)WXK_NUMPAD_SEPARATOR));
43245 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_From_int((int)WXK_NUMPAD_SUBTRACT));
43246 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_From_int((int)WXK_NUMPAD_DECIMAL));
43247 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_From_int((int)WXK_NUMPAD_DIVIDE));
43248 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_From_int((int)WXK_WINDOWS_LEFT));
43249 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_From_int((int)WXK_WINDOWS_RIGHT));
43250 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_From_int((int)WXK_WINDOWS_MENU));
43251 PyDict_SetItemString(d,"PAPER_NONE", SWIG_From_int((int)wxPAPER_NONE));
43252 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_From_int((int)wxPAPER_LETTER));
43253 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_From_int((int)wxPAPER_LEGAL));
43254 PyDict_SetItemString(d,"PAPER_A4", SWIG_From_int((int)wxPAPER_A4));
43255 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_From_int((int)wxPAPER_CSHEET));
43256 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_From_int((int)wxPAPER_DSHEET));
43257 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_From_int((int)wxPAPER_ESHEET));
43258 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_From_int((int)wxPAPER_LETTERSMALL));
43259 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_From_int((int)wxPAPER_TABLOID));
43260 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_From_int((int)wxPAPER_LEDGER));
43261 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_From_int((int)wxPAPER_STATEMENT));
43262 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_From_int((int)wxPAPER_EXECUTIVE));
43263 PyDict_SetItemString(d,"PAPER_A3", SWIG_From_int((int)wxPAPER_A3));
43264 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_From_int((int)wxPAPER_A4SMALL));
43265 PyDict_SetItemString(d,"PAPER_A5", SWIG_From_int((int)wxPAPER_A5));
43266 PyDict_SetItemString(d,"PAPER_B4", SWIG_From_int((int)wxPAPER_B4));
43267 PyDict_SetItemString(d,"PAPER_B5", SWIG_From_int((int)wxPAPER_B5));
43268 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_From_int((int)wxPAPER_FOLIO));
43269 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_From_int((int)wxPAPER_QUARTO));
43270 PyDict_SetItemString(d,"PAPER_10X14", SWIG_From_int((int)wxPAPER_10X14));
43271 PyDict_SetItemString(d,"PAPER_11X17", SWIG_From_int((int)wxPAPER_11X17));
43272 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_From_int((int)wxPAPER_NOTE));
43273 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_From_int((int)wxPAPER_ENV_9));
43274 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_From_int((int)wxPAPER_ENV_10));
43275 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_From_int((int)wxPAPER_ENV_11));
43276 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_From_int((int)wxPAPER_ENV_12));
43277 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_From_int((int)wxPAPER_ENV_14));
43278 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_From_int((int)wxPAPER_ENV_DL));
43279 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_From_int((int)wxPAPER_ENV_C5));
43280 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_From_int((int)wxPAPER_ENV_C3));
43281 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_From_int((int)wxPAPER_ENV_C4));
43282 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_From_int((int)wxPAPER_ENV_C6));
43283 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_From_int((int)wxPAPER_ENV_C65));
43284 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_From_int((int)wxPAPER_ENV_B4));
43285 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_From_int((int)wxPAPER_ENV_B5));
43286 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_From_int((int)wxPAPER_ENV_B6));
43287 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_From_int((int)wxPAPER_ENV_ITALY));
43288 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_From_int((int)wxPAPER_ENV_MONARCH));
43289 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_From_int((int)wxPAPER_ENV_PERSONAL));
43290 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_From_int((int)wxPAPER_FANFOLD_US));
43291 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_STD_GERMAN));
43292 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_From_int((int)wxPAPER_FANFOLD_LGL_GERMAN));
43293 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_From_int((int)wxPAPER_ISO_B4));
43294 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_From_int((int)wxPAPER_JAPANESE_POSTCARD));
43295 PyDict_SetItemString(d,"PAPER_9X11", SWIG_From_int((int)wxPAPER_9X11));
43296 PyDict_SetItemString(d,"PAPER_10X11", SWIG_From_int((int)wxPAPER_10X11));
43297 PyDict_SetItemString(d,"PAPER_15X11", SWIG_From_int((int)wxPAPER_15X11));
43298 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_From_int((int)wxPAPER_ENV_INVITE));
43299 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_From_int((int)wxPAPER_LETTER_EXTRA));
43300 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_From_int((int)wxPAPER_LEGAL_EXTRA));
43301 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_From_int((int)wxPAPER_TABLOID_EXTRA));
43302 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_From_int((int)wxPAPER_A4_EXTRA));
43303 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_TRANSVERSE));
43304 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_From_int((int)wxPAPER_A4_TRANSVERSE));
43305 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
43306 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_From_int((int)wxPAPER_A_PLUS));
43307 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_From_int((int)wxPAPER_B_PLUS));
43308 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_From_int((int)wxPAPER_LETTER_PLUS));
43309 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_From_int((int)wxPAPER_A4_PLUS));
43310 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_From_int((int)wxPAPER_A5_TRANSVERSE));
43311 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_From_int((int)wxPAPER_B5_TRANSVERSE));
43312 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_From_int((int)wxPAPER_A3_EXTRA));
43313 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_From_int((int)wxPAPER_A5_EXTRA));
43314 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_From_int((int)wxPAPER_B5_EXTRA));
43315 PyDict_SetItemString(d,"PAPER_A2", SWIG_From_int((int)wxPAPER_A2));
43316 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_TRANSVERSE));
43317 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_From_int((int)wxPAPER_A3_EXTRA_TRANSVERSE));
43318 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_From_int((int)wxDUPLEX_SIMPLEX));
43319 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_From_int((int)wxDUPLEX_HORIZONTAL));
43320 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_From_int((int)wxDUPLEX_VERTICAL));
43321 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_From_int((int)wxITEM_SEPARATOR));
43322 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_From_int((int)wxITEM_NORMAL));
43323 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_From_int((int)wxITEM_CHECK));
43324 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_From_int((int)wxITEM_RADIO));
43325 PyDict_SetItemString(d,"ITEM_MAX", SWIG_From_int((int)wxITEM_MAX));
43326 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_From_int((int)wxHT_NOWHERE));
43327 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_From_int((int)wxHT_SCROLLBAR_FIRST));
43328 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_1));
43329 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_LINE_2));
43330 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
43331 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_From_int((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
43332 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_From_int((int)wxHT_SCROLLBAR_THUMB));
43333 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_1));
43334 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_From_int((int)wxHT_SCROLLBAR_BAR_2));
43335 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_From_int((int)wxHT_SCROLLBAR_LAST));
43336 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_From_int((int)wxHT_WINDOW_OUTSIDE));
43337 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_From_int((int)wxHT_WINDOW_INSIDE));
43338 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_VERT_SCROLLBAR));
43339 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_From_int((int)wxHT_WINDOW_HORZ_SCROLLBAR));
43340 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_From_int((int)wxHT_WINDOW_CORNER));
43341 PyDict_SetItemString(d,"HT_MAX", SWIG_From_int((int)wxHT_MAX));
43342 PyDict_SetItemString(d,"MOD_NONE", SWIG_From_int((int)wxMOD_NONE));
43343 PyDict_SetItemString(d,"MOD_ALT", SWIG_From_int((int)wxMOD_ALT));
43344 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_From_int((int)wxMOD_CONTROL));
43345 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_From_int((int)wxMOD_SHIFT));
43346 PyDict_SetItemString(d,"MOD_WIN", SWIG_From_int((int)wxMOD_WIN));
43347 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_From_int((int)wxUPDATE_UI_NONE));
43348 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_From_int((int)wxUPDATE_UI_RECURSE));
43349 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_From_int((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 43350 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
196addbf 43351 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
c32bde28
RD
43352 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_From_int((int)wxBITMAP_TYPE_INVALID));
43353 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_From_int((int)wxBITMAP_TYPE_BMP));
43354 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_From_int((int)wxBITMAP_TYPE_ICO));
43355 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_From_int((int)wxBITMAP_TYPE_CUR));
43356 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_From_int((int)wxBITMAP_TYPE_XBM));
43357 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XBM_DATA));
43358 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_From_int((int)wxBITMAP_TYPE_XPM));
43359 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_From_int((int)wxBITMAP_TYPE_XPM_DATA));
43360 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_From_int((int)wxBITMAP_TYPE_TIF));
43361 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_From_int((int)wxBITMAP_TYPE_GIF));
43362 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_From_int((int)wxBITMAP_TYPE_PNG));
43363 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_From_int((int)wxBITMAP_TYPE_JPEG));
43364 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_From_int((int)wxBITMAP_TYPE_PNM));
43365 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_From_int((int)wxBITMAP_TYPE_PCX));
43366 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_From_int((int)wxBITMAP_TYPE_PICT));
43367 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_From_int((int)wxBITMAP_TYPE_ICON));
43368 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_From_int((int)wxBITMAP_TYPE_ANI));
43369 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_From_int((int)wxBITMAP_TYPE_IFF));
43370 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_From_int((int)wxBITMAP_TYPE_MACCURSOR));
43371 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_From_int((int)wxBITMAP_TYPE_ANY));
43372 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_From_int((int)wxCURSOR_NONE));
43373 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_From_int((int)wxCURSOR_ARROW));
43374 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_From_int((int)wxCURSOR_RIGHT_ARROW));
43375 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_From_int((int)wxCURSOR_BULLSEYE));
43376 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_From_int((int)wxCURSOR_CHAR));
43377 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_From_int((int)wxCURSOR_CROSS));
43378 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_From_int((int)wxCURSOR_HAND));
43379 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_From_int((int)wxCURSOR_IBEAM));
43380 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_From_int((int)wxCURSOR_LEFT_BUTTON));
43381 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_From_int((int)wxCURSOR_MAGNIFIER));
43382 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_From_int((int)wxCURSOR_MIDDLE_BUTTON));
43383 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_From_int((int)wxCURSOR_NO_ENTRY));
43384 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_From_int((int)wxCURSOR_PAINT_BRUSH));
43385 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_From_int((int)wxCURSOR_PENCIL));
43386 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_From_int((int)wxCURSOR_POINT_LEFT));
43387 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_From_int((int)wxCURSOR_POINT_RIGHT));
43388 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_From_int((int)wxCURSOR_QUESTION_ARROW));
43389 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_From_int((int)wxCURSOR_RIGHT_BUTTON));
43390 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_From_int((int)wxCURSOR_SIZENESW));
43391 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_From_int((int)wxCURSOR_SIZENS));
43392 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_From_int((int)wxCURSOR_SIZENWSE));
43393 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_From_int((int)wxCURSOR_SIZEWE));
43394 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_From_int((int)wxCURSOR_SIZING));
43395 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_From_int((int)wxCURSOR_SPRAYCAN));
43396 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_From_int((int)wxCURSOR_WAIT));
43397 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_From_int((int)wxCURSOR_WATCH));
43398 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_From_int((int)wxCURSOR_BLANK));
43399 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_From_int((int)wxCURSOR_DEFAULT));
43400 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_From_int((int)wxCURSOR_COPY_ARROW));
43401 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_From_int((int)wxCURSOR_ARROWWAIT));
43402 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_From_int((int)wxCURSOR_MAX));
d14a1e28
RD
43403 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
43404 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
c32bde28
RD
43405 PyDict_SetItemString(d,"FromStart", SWIG_From_int((int)wxFromStart));
43406 PyDict_SetItemString(d,"FromCurrent", SWIG_From_int((int)wxFromCurrent));
43407 PyDict_SetItemString(d,"FromEnd", SWIG_From_int((int)wxFromEnd));
d14a1e28
RD
43408
43409 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43410
43411
43412 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43413
43414 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
43415 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
43416 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
43417 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
43418 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
43419 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
c32bde28
RD
43420 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_From_int((int)wxIMAGE_RESOLUTION_INCHES));
43421 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_From_int((int)wxIMAGE_RESOLUTION_CM));
43422 PyDict_SetItemString(d,"BMP_24BPP", SWIG_From_int((int)wxBMP_24BPP));
43423 PyDict_SetItemString(d,"BMP_8BPP", SWIG_From_int((int)wxBMP_8BPP));
43424 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_From_int((int)wxBMP_8BPP_GREY));
43425 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_From_int((int)wxBMP_8BPP_GRAY));
43426 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_From_int((int)wxBMP_8BPP_RED));
43427 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_From_int((int)wxBMP_8BPP_PALETTE));
43428 PyDict_SetItemString(d,"BMP_4BPP", SWIG_From_int((int)wxBMP_4BPP));
43429 PyDict_SetItemString(d,"BMP_1BPP", SWIG_From_int((int)wxBMP_1BPP));
43430 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_From_int((int)wxBMP_1BPP_BW));
43431 PyDict_SetItemString(d,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_From_int((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS));
43432 PyDict_SetItemString(d,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_From_int((int)wxQUANTIZE_FILL_DESTINATION_IMAGE));
43433 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_From_int((int)wxEVENT_PROPAGATE_NONE));
43434 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_From_int((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
43435 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
43436 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
43437 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
43438 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
43439 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
43440 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
43441 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
43442 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
43443 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
43444 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
43445 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
43446 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
43447 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
43448 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
43449 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
43450 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
43451 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
43452 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
43453 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
43454 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
43455 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
43456 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
43457 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
43458 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
43459 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
43460 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
43461 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
43462 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
43463 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
43464 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
43465 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
43466 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
43467 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
43468 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
43469 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
43470 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
43471 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
43472 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
43473 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
43474 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
43475 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
43476 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
43477 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
43478 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
43479 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
43480 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
43481 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
43482 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
43483 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
43484 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
43485 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
43486 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
43487 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
43488 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
43489 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
43490 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
43491 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
43492 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
43493 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
43494 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
43495 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
43496 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
43497 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
43498 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
43499 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
43500 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
43501 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
43502 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
43503 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
43504 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
43505 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
43506 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
43507 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
43508 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
43509 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
43510 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
43511 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
43512 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
43513 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
43514 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
43515 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
43516 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
43517 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
43518 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
43519 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
43520 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
43521 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
43522 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
43523 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
43524 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
43525 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
43526 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
43527 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
43528 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
43529 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
43530 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
43531 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
43532 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
43533 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
43534 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
43535 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
43536 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
43537 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
43538 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
43539 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
43540 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
43541 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
43542 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
43543 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
43544 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
43545 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
43546 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
43547 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
43548 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
c32bde28
RD
43549 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_From_int((int)wxMOUSE_BTN_ANY));
43550 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_From_int((int)wxMOUSE_BTN_NONE));
43551 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_From_int((int)wxMOUSE_BTN_LEFT));
43552 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_From_int((int)wxMOUSE_BTN_MIDDLE));
43553 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_From_int((int)wxMOUSE_BTN_RIGHT));
43554 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_From_int((int)wxUPDATE_UI_PROCESS_ALL));
43555 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_From_int((int)wxUPDATE_UI_PROCESS_SPECIFIED));
43556 PyDict_SetItemString(d,"NavigationKeyEvent_IsBackward", SWIG_From_int((int)wxNavigationKeyEvent::IsBackward));
43557 PyDict_SetItemString(d,"NavigationKeyEvent_IsForward", SWIG_From_int((int)wxNavigationKeyEvent::IsForward));
43558 PyDict_SetItemString(d,"NavigationKeyEvent_WinChange", SWIG_From_int((int)wxNavigationKeyEvent::WinChange));
43559 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_From_int((int)wxIDLE_PROCESS_ALL));
43560 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_From_int((int)wxIDLE_PROCESS_SPECIFIED));
43561 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_From_int((int)wxPYAPP_ASSERT_SUPPRESS));
43562 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_From_int((int)wxPYAPP_ASSERT_EXCEPTION));
43563 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_From_int((int)wxPYAPP_ASSERT_DIALOG));
43564 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_From_int((int)wxPYAPP_ASSERT_LOG));
43565 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_From_int((int)wxPRINT_WINDOWS));
43566 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_From_int((int)wxPRINT_POSTSCRIPT));
1e0c8722 43567 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
e811c8ce 43568 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
c32bde28
RD
43569 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_From_int((int)wxWINDOW_VARIANT_NORMAL));
43570 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_From_int((int)wxWINDOW_VARIANT_SMALL));
43571 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_From_int((int)wxWINDOW_VARIANT_MINI));
43572 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_From_int((int)wxWINDOW_VARIANT_LARGE));
43573 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_From_int((int)wxWINDOW_VARIANT_MAX));
d14a1e28 43574 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
b2dc1044 43575 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
c32bde28
RD
43576 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_From_int((int)wxFLEX_GROWMODE_NONE));
43577 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_From_int((int)wxFLEX_GROWMODE_SPECIFIED));
43578 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_From_int((int)wxFLEX_GROWMODE_ALL));
d14a1e28 43579 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
c32bde28
RD
43580 PyDict_SetItemString(d,"Left", SWIG_From_int((int)wxLeft));
43581 PyDict_SetItemString(d,"Top", SWIG_From_int((int)wxTop));
43582 PyDict_SetItemString(d,"Right", SWIG_From_int((int)wxRight));
43583 PyDict_SetItemString(d,"Bottom", SWIG_From_int((int)wxBottom));
43584 PyDict_SetItemString(d,"Width", SWIG_From_int((int)wxWidth));
43585 PyDict_SetItemString(d,"Height", SWIG_From_int((int)wxHeight));
43586 PyDict_SetItemString(d,"Centre", SWIG_From_int((int)wxCentre));
43587 PyDict_SetItemString(d,"Center", SWIG_From_int((int)wxCenter));
43588 PyDict_SetItemString(d,"CentreX", SWIG_From_int((int)wxCentreX));
43589 PyDict_SetItemString(d,"CentreY", SWIG_From_int((int)wxCentreY));
43590 PyDict_SetItemString(d,"Unconstrained", SWIG_From_int((int)wxUnconstrained));
43591 PyDict_SetItemString(d,"AsIs", SWIG_From_int((int)wxAsIs));
43592 PyDict_SetItemString(d,"PercentOf", SWIG_From_int((int)wxPercentOf));
43593 PyDict_SetItemString(d,"Above", SWIG_From_int((int)wxAbove));
43594 PyDict_SetItemString(d,"Below", SWIG_From_int((int)wxBelow));
43595 PyDict_SetItemString(d,"LeftOf", SWIG_From_int((int)wxLeftOf));
43596 PyDict_SetItemString(d,"RightOf", SWIG_From_int((int)wxRightOf));
43597 PyDict_SetItemString(d,"SameAs", SWIG_From_int((int)wxSameAs));
43598 PyDict_SetItemString(d,"Absolute", SWIG_From_int((int)wxAbsolute));
d14a1e28
RD
43599
43600 // Initialize threading, some globals and such
43601 __wxPyPreStart(d);
43602
43603
43604 // Although these are defined in __version__ they need to be here too so
43605 // that an assert can be done to ensure that the wxPython and the wxWindows
43606 // versions match.
43607 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
43608 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
43609 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
43610
43611}
43612