]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/core_wrap.cpp
Fixed multiline static texts
[wxWidgets.git] / wxPython / src / mac / core_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
2dbef272 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
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
0f774bef
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
0f774bef
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
0f774bef 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
0f774bef 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
0f774bef 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
0f774bef 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
0f774bef
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
d14a1e28
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
d14a1e28
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 173
d14a1e28
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
8edf1c75 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
0f774bef
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
423f194a 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210#define SWIGTYPE_p_wxRealPoint swig_types[1]
211#define SWIGTYPE_p_wxSizerItem swig_types[2]
212#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213#define SWIGTYPE_p_wxScrollEvent swig_types[4]
214#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215#define SWIGTYPE_p_wxSizer swig_types[6]
216#define SWIGTYPE_p_wxBoxSizer swig_types[7]
217#define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218#define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219#define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220#define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221#define SWIGTYPE_p_wxMenu swig_types[12]
222#define SWIGTYPE_p_wxEvent swig_types[13]
223#define SWIGTYPE_p_wxGridSizer swig_types[14]
224#define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225#define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226#define SWIGTYPE_p_wxItemContainer swig_types[17]
227#define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228#define SWIGTYPE_p_wxPaintEvent swig_types[19]
229#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233#define SWIGTYPE_p_wxControl swig_types[24]
234#define SWIGTYPE_p_wxFont swig_types[25]
235#define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236#define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237#define SWIGTYPE_p_wxFSFile swig_types[28]
238#define SWIGTYPE_p_wxCaret swig_types[29]
239#define SWIGTYPE_p_wxRegion swig_types[30]
240#define SWIGTYPE_p_wxPoint2D swig_types[31]
241#define SWIGTYPE_p_int swig_types[32]
242#define SWIGTYPE_p_wxSize swig_types[33]
243#define SWIGTYPE_p_wxDC swig_types[34]
244#define SWIGTYPE_p_wxPySizer swig_types[35]
245#define SWIGTYPE_p_wxNotifyEvent swig_types[36]
246#define SWIGTYPE_p_wxPyEvent swig_types[37]
247#define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
248#define SWIGTYPE_p_wxAppTraits swig_types[39]
249#define SWIGTYPE_p_wxArrayString swig_types[40]
250#define SWIGTYPE_p_wxShowEvent swig_types[41]
251#define SWIGTYPE_p_wxToolTip swig_types[42]
02a34c4c
RD
252#define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
253#define SWIGTYPE_p_wxIconizeEvent swig_types[44]
254#define SWIGTYPE_p_wxActivateEvent swig_types[45]
255#define SWIGTYPE_p_wxMoveEvent swig_types[46]
256#define SWIGTYPE_p_wxSizeEvent swig_types[47]
d14a1e28
RD
257#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
258#define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
259#define SWIGTYPE_p_wxIdleEvent swig_types[50]
260#define SWIGTYPE_p_wxMenuItem swig_types[51]
261#define SWIGTYPE_p_wxStaticBox swig_types[52]
262#define SWIGTYPE_p_long swig_types[53]
263#define SWIGTYPE_p_wxTIFFHandler swig_types[54]
264#define SWIGTYPE_p_wxXPMHandler swig_types[55]
265#define SWIGTYPE_p_wxPNMHandler swig_types[56]
266#define SWIGTYPE_p_wxJPEGHandler swig_types[57]
267#define SWIGTYPE_p_wxPCXHandler swig_types[58]
268#define SWIGTYPE_p_wxGIFHandler swig_types[59]
269#define SWIGTYPE_p_wxPNGHandler swig_types[60]
270#define SWIGTYPE_p_wxANIHandler swig_types[61]
271#define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
02a34c4c
RD
272#define SWIGTYPE_p_wxEvtHandler swig_types[63]
273#define SWIGTYPE_p_wxCURHandler swig_types[64]
274#define SWIGTYPE_p_wxICOHandler swig_types[65]
275#define SWIGTYPE_p_wxBMPHandler swig_types[66]
276#define SWIGTYPE_p_wxImageHandler swig_types[67]
277#define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
278#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
279#define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
280#define SWIGTYPE_p_wxZipFSHandler swig_types[71]
d14a1e28
RD
281#define SWIGTYPE_p_wxRect swig_types[72]
282#define SWIGTYPE_p_wxGBSpan swig_types[73]
283#define SWIGTYPE_p_wxPropagateOnce swig_types[74]
284#define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
8edf1c75
RD
285#define SWIGTYPE_p_char swig_types[76]
286#define SWIGTYPE_p_wxGBPosition swig_types[77]
287#define SWIGTYPE_p_wxImage swig_types[78]
288#define SWIGTYPE_p_wxFrame swig_types[79]
289#define SWIGTYPE_p_wxScrollWinEvent swig_types[80]
290#define SWIGTYPE_p_wxImageHistogram swig_types[81]
291#define SWIGTYPE_p_byte swig_types[82]
292#define SWIGTYPE_p_wxPoint swig_types[83]
293#define SWIGTYPE_p_wxCursor swig_types[84]
294#define SWIGTYPE_p_wxObject swig_types[85]
295#define SWIGTYPE_p_wxPyInputStream swig_types[86]
296#define SWIGTYPE_p_wxOutputStream swig_types[87]
297#define SWIGTYPE_p_wxInputStream swig_types[88]
298#define SWIGTYPE_p_wxDateTime swig_types[89]
299#define SWIGTYPE_p_wxKeyEvent swig_types[90]
300#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
301#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[92]
302#define SWIGTYPE_p_wxWindow swig_types[93]
303#define SWIGTYPE_p_wxMenuBar swig_types[94]
02a34c4c
RD
304#define SWIGTYPE_p_wxFileSystem swig_types[95]
305#define SWIGTYPE_p_wxBitmap swig_types[96]
306#define SWIGTYPE_p_wxMenuEvent swig_types[97]
307#define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
308#define SWIGTYPE_p_unsigned_char swig_types[99]
309#define SWIGTYPE_p_wxCloseEvent swig_types[100]
310#define SWIGTYPE_p_wxEraseEvent swig_types[101]
311#define SWIGTYPE_p_wxMouseEvent swig_types[102]
312#define SWIGTYPE_p_wxPyApp swig_types[103]
313#define SWIGTYPE_p_wxCommandEvent swig_types[104]
314#define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
315#define SWIGTYPE_p_wxPyDropTarget swig_types[106]
316#define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
317#define SWIGTYPE_p_wxFocusEvent swig_types[108]
318#define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
319#define SWIGTYPE_p_wxControlWithItems swig_types[110]
320#define SWIGTYPE_p_wxColour swig_types[111]
321#define SWIGTYPE_p_wxValidator swig_types[112]
322#define SWIGTYPE_p_wxPyValidator swig_types[113]
323static swig_type_info *swig_types[115];
d14a1e28
RD
324
325/* -------- TYPES TABLE (END) -------- */
326
327
328/*-----------------------------------------------
329 @(target):= _core.so
330 ------------------------------------------------*/
331#define SWIG_init init_core
332
333#define SWIG_name "_core"
334
2f4c0a16 335/* Auxiliar swig macros */
8edf1c75 336
8edf1c75 337#ifdef __cplusplus
2f4c0a16 338#define SWIGSTATICINLINE(a) static inline a
8edf1c75 339#define SWIGSTATIC(a) static a
2f4c0a16
RD
340#define swig_new_array(type, size) (new type[(size)])
341#define swig_delete_array(cptr) delete[] cptr
342#define swig_const_cast(type,a) const_cast<type>(a)
343#define swig_static_cast(type,a) static_cast<type>(a)
344#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
8edf1c75 345
8edf1c75 346#ifdef HAVE_NUMERIC_CAST
2f4c0a16 347#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 348#else
2f4c0a16 349#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
350#endif
351
2f4c0a16
RD
352#else /* C case */
353
354#define SWIGSTATICINLINE(a) static a
355#define SWIGSTATIC(a) static a
356#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
357#define swig_delete_array(cptr) free((char*)cptr)
358#define swig_const_cast(type,a) (type)(a)
359#define swig_static_cast(type,a) (type)(a)
360#define swig_reinterpret_cast(type,a) (type)(a)
361#define swig_numeric_cast(type,a) (type)(a)
362
363#endif /* __cplusplus */
8edf1c75
RD
364
365
2f4c0a16
RD
366#define SWIG_FromSignedChar PyInt_FromLong
367#define SWIG_FromUnsignedChar PyInt_FromLong
368#define SWIG_FromShort PyInt_FromLong
369#define SWIG_FromUnsignedShort PyInt_FromLong
370#define SWIG_FromInt PyInt_FromLong
371#define SWIG_FromLong PyInt_FromLong
372#define SWIG_FromFloat PyFloat_FromDouble
373#define SWIG_FromDouble PyFloat_FromDouble
374#define SWIG_FromFloat PyFloat_FromDouble
375#define SWIG_FromDouble PyFloat_FromDouble
8edf1c75
RD
376
377
d14a1e28
RD
378#include "wx/wxPython/wxPython_int.h"
379#include "wx/wxPython/pyclasses.h"
380
381
382#ifndef wxPyUSE_EXPORT
383// Helper functions for dealing with SWIG objects and such. These are
384// located here so they know about the SWIG types and functions declared
385// in the wrapper code.
386
387#include <wx/hashmap.h>
388WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
389
390
391// Maintains a hashmap of className to swig_type_info pointers. Given the
392// name of a class either looks up the type info in the cache, or scans the
393// SWIG tables for it.
394extern PyObject* wxPyPtrTypeMap;
395static
396swig_type_info* wxPyFindSwigType(const wxChar* className) {
397
398 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
399
400 if (typeInfoCache == NULL)
401 typeInfoCache = new wxPyTypeInfoHashMap;
402
403 wxString name(className);
404 swig_type_info* swigType = (*typeInfoCache)[name];
405
406 if (! swigType) {
407 // it wasn't in the cache, so look it up from SWIG
408 name.Append(wxT(" *"));
409 swigType = SWIG_Python_TypeQuery(name.mb_str());
410
411 // if it still wasn't found, try looking for a mapped name
412 if (!swigType) {
413 PyObject* item;
414 name = className;
415
416 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
417 (char*)(const char*)name.mbc_str())) != NULL) {
418 name = wxString(PyString_AsString(item), *wxConvCurrent);
419 name.Append(wxT(" *"));
420 swigType = SWIG_Python_TypeQuery(name.mb_str());
421 }
422 }
423 if (swigType) {
424 // and add it to the map if found
425 (*typeInfoCache)[className] = swigType;
426 }
427 }
428 return swigType;
429}
430
431
432// Check if a class name is a type known to SWIG
433bool wxPyCheckSwigType(const wxChar* className) {
434
435 swig_type_info* swigType = wxPyFindSwigType(className);
436 return swigType != NULL;
437}
438
439
440// Given a pointer to a C++ object and a class name, construct a Python proxy
441// object for it.
442PyObject* wxPyConstructObject(void* ptr,
443 const wxChar* className,
444 int setThisOwn) {
445
446 swig_type_info* swigType = wxPyFindSwigType(className);
447 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
448
449 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
450}
451
452
453// Extract a pointer to the wrapped C++ object from a Python proxy object.
454// Ensures that the proxy object is of the specified (or derived) type. If
455// not able to perform the conversion then a Python exception is set and the
423f194a 456// error should be handled properly in the caller. Returns True on success.
d14a1e28
RD
457bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
458 const wxChar* className) {
459
460 swig_type_info* swigType = wxPyFindSwigType(className);
423f194a 461 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
d14a1e28
RD
462
463 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
464}
465
466
467// Make a SWIGified pointer object suitable for a .this attribute
468PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
469
470 PyObject* robj = NULL;
471
472 swig_type_info* swigType = wxPyFindSwigType(className);
473 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
474
475#ifdef SWIG_COBJECT_TYPES
476 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
477#else
478 {
479 char result[1024];
480 char *r = result;
481 *(r++) = '_';
482 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
483 strcpy(r, swigType->name);
484 robj = PyString_FromString(result);
485 }
486#endif
487
488 return robj;
489}
490
491
492
493
494// Export a C API in a struct. Other modules will be able to load this from
495// the wx.core module and will then have safe access to these functions, even if
496// they are located in another shared library.
497static wxPyCoreAPI API = {
498
499 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
500 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
501 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
502 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
503 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
504 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
505 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
506 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
507 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
508 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
509 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
510 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
511 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
512 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
513 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
514 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
515 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
516
517 wxPyCheckSwigType,
518 wxPyConstructObject,
519 wxPyConvertSwigPtr,
520 wxPyMakeSwigPtr,
521
522 wxPyBeginAllowThreads,
523 wxPyEndAllowThreads,
524 wxPyBeginBlockThreads,
525 wxPyEndBlockThreads,
526
527 wxPy_ConvertList,
528
529 wxString_in_helper,
530 Py2wxString,
531 wx2PyString,
532
533 byte_LIST_helper,
534 int_LIST_helper,
535 long_LIST_helper,
536 string_LIST_helper,
537 wxPoint_LIST_helper,
538 wxBitmap_LIST_helper,
539 wxString_LIST_helper,
540 wxAcceleratorEntry_LIST_helper,
541
542 wxSize_helper,
543 wxPoint_helper,
544 wxRealPoint_helper,
545 wxRect_helper,
546 wxColour_helper,
547 wxPoint2D_helper,
548
549 wxPySimple_typecheck,
550 wxColour_typecheck,
551
552 wxPyCBH_setCallbackInfo,
553 wxPyCBH_findCallback,
554 wxPyCBH_callCallback,
555 wxPyCBH_callCallbackObj,
556 wxPyCBH_delete,
557
558 wxPyMake_wxObject,
559 wxPyMake_wxSizer,
560 wxPyPtrTypeMap_Add,
561 wxPy2int_seq_helper,
562 wxPy4int_seq_helper,
563 wxArrayString2PyList_helper,
564 wxArrayInt2PyList_helper,
565
566 wxPyClientData_dtor,
567 wxPyUserData_dtor,
568 wxPyOORClientData_dtor,
569
570 wxPyCBInputStream_create,
571
572 wxPyInstance_Check,
573 wxPySwigInstance_Check
574
575};
576
577#endif
578
579
d14a1e28
RD
580#if ! wxUSE_HOTKEY
581enum wxHotkeyModifier
582{
583 wxMOD_NONE = 0,
584 wxMOD_ALT = 1,
585 wxMOD_CONTROL = 2,
586 wxMOD_SHIFT = 4,
587 wxMOD_WIN = 8
588};
589#define wxEVT_HOTKEY 9999
590#endif
591
cbd72d4f 592 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
593wxString wxObject_GetClassName(wxObject *self){
594 return self->GetClassInfo()->GetClassName();
595 }
596void wxObject_Destroy(wxObject *self){
597 delete self;
598 }
599
600#ifndef __WXMAC__
601#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
602#endif
603
8edf1c75 604
2f4c0a16
RD
605#include <limits.h>
606
607
608SWIGSTATICINLINE(long)
609SWIG_CheckLongInRange(long value, const char* type,
610 long min_value, long max_value)
611{
612 if (!PyErr_Occurred()) {
613 if (value < min_value) {
614 PyObject *err =
615 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
616 value, type, min_value);
617
618 PyErr_SetObject(PyExc_OverflowError, err);
619 Py_DECREF(err);
620 } else if (value > max_value) {
621 PyObject *err =
622 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
623 value, type, max_value);
624 PyErr_SetObject(PyExc_OverflowError, err);
625 Py_DECREF(err);
626 }
627 }
628 return value;
629}
630
631
632SWIGSTATICINLINE(long)
633SWIG_AsLong(PyObject * obj)
634{
635 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
636}
637
638
639#if INT_MAX != LONG_MAX
640SWIGSTATICINLINE(int)
641SWIG_AsInt(PyObject *obj)
8edf1c75 642{
2f4c0a16
RD
643 return swig_numeric_cast(int,
644 SWIG_CheckLongInRange(SWIG_AsLong(obj),
645 "int", INT_MIN, INT_MAX));
646}
647#else
648#define SWIG_AsInt SWIG_AsLong
649#endif
650
651
652SWIGSTATICINLINE(int)
653SWIG_CheckInt(PyObject* obj)
654{
655 SWIG_AsInt(obj);
656 if (PyErr_Occurred()) {
657 PyErr_Clear();
658 return 0;
659 } else {
660 return 1;
661 }
8edf1c75
RD
662}
663
423f194a 664PyObject *wxSize_Get(wxSize *self){
d14a1e28
RD
665 wxPyBeginBlockThreads();
666 PyObject* tup = PyTuple_New(2);
667 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
668 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
669 wxPyEndBlockThreads();
670 return tup;
671 }
8edf1c75 672
2f4c0a16
RD
673SWIGSTATICINLINE(double)
674SWIG_AsDouble(PyObject *obj)
8edf1c75 675{
2f4c0a16 676 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
8edf1c75 677#if HAVE_LONG_LONG
2f4c0a16 678 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
8edf1c75 679#else
2f4c0a16 680 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
8edf1c75
RD
681#endif
682 if (PyErr_Occurred()) {
683 PyErr_Clear();
684 PyErr_SetString(PyExc_TypeError, "a double is expected");
685 }
2f4c0a16
RD
686 return val;
687}
688
689
690SWIGSTATICINLINE(int)
691SWIG_CheckDouble(PyObject* obj)
692{
693 SWIG_AsDouble(obj);
694 if (PyErr_Occurred()) {
695 PyErr_Clear();
696 return 0;
697 } else {
698 return 1;
699 }
8edf1c75
RD
700}
701
d14a1e28
RD
702void wxRealPoint_Set(wxRealPoint *self,double x,double y){
703 self->x = x;
704 self->y = y;
705 }
423f194a 706PyObject *wxRealPoint_Get(wxRealPoint *self){
d14a1e28
RD
707 wxPyBeginBlockThreads();
708 PyObject* tup = PyTuple_New(2);
709 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
710 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
711 wxPyEndBlockThreads();
712 return tup;
713 }
8edf1c75 714
2f4c0a16
RD
715SWIGSTATICINLINE(int)
716SWIG_CheckLong(PyObject* obj)
8edf1c75 717{
2f4c0a16
RD
718 SWIG_AsLong(obj);
719 if (PyErr_Occurred()) {
720 PyErr_Clear();
721 return 0;
722 } else {
723 return 1;
724 }
8edf1c75
RD
725}
726
d14a1e28
RD
727void wxPoint_Set(wxPoint *self,long x,long y){
728 self->x = x;
729 self->y = y;
730 }
423f194a 731PyObject *wxPoint_Get(wxPoint *self){
d14a1e28
RD
732 wxPyBeginBlockThreads();
733 PyObject* tup = PyTuple_New(2);
734 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
735 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
736 wxPyEndBlockThreads();
737 return tup;
738 }
739void wxRect_Set(wxRect *self,int x,int y,int width,int height){
740 self->x = x;
741 self->y = y;
742 self->width = width;
743 self->height = height;
744 }
423f194a 745PyObject *wxRect_Get(wxRect *self){
d14a1e28
RD
746 wxPyBeginBlockThreads();
747 PyObject* tup = PyTuple_New(4);
748 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
749 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
750 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
751 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
752 wxPyEndBlockThreads();
753 return tup;
754 }
755
756 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
757 wxRegion reg1(*r1);
758 wxRegion reg2(*r2);
759 wxRect dest(0,0,0,0);
760 PyObject* obj;
761
762 reg1.Intersect(reg2);
763 dest = reg1.GetBox();
764
765 if (dest != wxRect(0,0,0,0)) {
766 wxPyBeginBlockThreads();
767 wxRect* newRect = new wxRect(dest);
423f194a 768 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
d14a1e28
RD
769 wxPyEndBlockThreads();
770 return obj;
771 }
772 Py_INCREF(Py_None);
773 return Py_None;
774 }
775
776
777static PyObject* t_output_helper(PyObject* target, PyObject* o) {
778 PyObject* o2;
779 PyObject* o3;
780
781 if (!target) {
782 target = o;
783 } else if (target == Py_None) {
784 Py_DECREF(Py_None);
785 target = o;
786 } else {
787 if (!PyTuple_Check(target)) {
788 o2 = target;
789 target = PyTuple_New(1);
790 PyTuple_SetItem(target, 0, o2);
791 }
792 o3 = PyTuple_New(1);
793 PyTuple_SetItem(o3, 0, o);
794
795 o2 = target;
796 target = PySequence_Concat(o2, o3);
797 Py_DECREF(o2);
798 Py_DECREF(o3);
799 }
800 return target;
801}
802
803void wxPoint2D_Set(wxPoint2D *self,double x,double y){
804 self->m_x = x;
805 self->m_y = y;
806 }
423f194a 807PyObject *wxPoint2D_Get(wxPoint2D *self){
d14a1e28
RD
808 wxPyBeginBlockThreads();
809 PyObject* tup = PyTuple_New(2);
810 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
811 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
812 wxPyEndBlockThreads();
813 return tup;
814 }
815
816#include "wx/wxPython/pyistream.h"
817
818wxPyInputStream *new_wxPyInputStream(PyObject *p){
819 wxInputStream* wxis = wxPyCBInputStream::create(p);
820 if (wxis)
821 return new wxPyInputStream(wxis);
822 else
823 return NULL;
824 }
8edf1c75 825
2f4c0a16
RD
826SWIGSTATICINLINE(PyObject*)
827SWIG_FromChar(char c)
8edf1c75
RD
828{
829 return PyString_FromStringAndSize(&c,1);
830}
831
832
2f4c0a16
RD
833SWIGSTATICINLINE(PyObject* )
834SWIG_FromUnsignedLong(unsigned long value)
835{
836 return (value > LONG_MAX) ?
837 PyLong_FromUnsignedLong(value)
838 : PyInt_FromLong(swig_numeric_cast(long,value));
839}
840
841
842/* returns '1' if the input is a raw char*, '0' if is a PyString */
843SWIGSTATIC(int)
844SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
8edf1c75 845{
2f4c0a16
RD
846 static swig_type_info* pchar_info = 0;
847 int psize = 0;
848 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
849
850 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
851 PyErr_Clear();
852 PyString_AsStringAndSize(obj, cptr, &psize);
853 if (PyErr_Occurred()) {
854 PyErr_Clear();
855 PyErr_SetString(PyExc_TypeError,"a string is expected");
856 }
857 if (size) *size = psize;
858 return 0;
859 } else {
860 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
861 return 1;
862 }
8edf1c75
RD
863}
864
865
2f4c0a16
RD
866SWIGSTATIC(void)
867SWIG_AsCharArray(PyObject *obj, char* carray, size_t size)
868{
869 char* cptr; size_t csize;
870 SWIG_AsCharPtrAndSize(obj, &cptr, &csize);
871 if (PyErr_Occurred()) {
872 PyErr_Clear();
873 PyObject *err =
874 PyString_FromFormat("a char array of size %d is expected", size);
875 PyErr_SetObject(PyExc_TypeError, err);
876 Py_DECREF(err);
877 } else {
878 /* in C (but not in C++) you can do:
879
880 char x[5] = "hello";
881
882 ie, assing the array using an extra '0' char.
883 */
884#ifndef __cplusplus
885 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
886#endif
887 if (csize > size) {
888 PyObject *err =
889 PyString_FromFormat("a char array of maximum size %d is expected",
890 size);
891 PyErr_SetObject(PyExc_TypeError, err);
892 Py_DECREF(err);
893 } else {
894 if (csize) memcpy(carray, cptr, csize);
895 if (csize < size) memset(carray + csize, 0, size - csize);
896 }
897 }
898}
899
900
901SWIGSTATICINLINE(char)
902SWIG_AsChar(PyObject *obj)
8edf1c75
RD
903{
904 char c = 0;
905 if (PyInt_Check(obj) || PyLong_Check(obj)) {
2f4c0a16
RD
906 c = swig_numeric_cast(char,
907 SWIG_CheckLongInRange(SWIG_AsLong(obj),
908 "char", CHAR_MIN, CHAR_MAX));
8edf1c75 909 } else {
2f4c0a16
RD
910 SWIG_AsCharArray(obj, &c, 1);
911 if (PyErr_Occurred()) {
912 PyErr_Clear();
8edf1c75
RD
913 PyErr_SetString(PyExc_TypeError, "a char is expected");
914 }
915 }
916 return c;
917}
918
2f4c0a16
RD
919
920SWIGSTATICINLINE(int)
921SWIG_CheckChar(PyObject* obj)
922{
923 SWIG_AsChar(obj);
924 if (PyErr_Occurred()) {
925 PyErr_Clear();
926 return 0;
927 } else {
928 return 1;
929 }
930}
931
d14a1e28
RD
932void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
933 // We use only strings for the streams, not unicode
934 PyObject* str = PyObject_Str(obj);
935 if (! str) {
936 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
937 return;
938 }
939 self->Write(PyString_AS_STRING(str),
940 PyString_GET_SIZE(str));
941 Py_DECREF(str);
942 }
943
944#include "wx/wxPython/pyistream.h"
945
946
947class wxPyFileSystemHandler : public wxFileSystemHandler
948{
949public:
950 wxPyFileSystemHandler() : wxFileSystemHandler() {}
951
952 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
953 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
954 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
955 DEC_PYCALLBACK_STRING__pure(FindNext);
956
957 wxString GetProtocol(const wxString& location) {
958 return wxFileSystemHandler::GetProtocol(location);
959 }
960
961 wxString GetLeftLocation(const wxString& location) {
962 return wxFileSystemHandler::GetLeftLocation(location);
963 }
964
965 wxString GetAnchor(const wxString& location) {
966 return wxFileSystemHandler::GetAnchor(location);
967 }
968
969 wxString GetRightLocation(const wxString& location) {
970 return wxFileSystemHandler::GetRightLocation(location);
971 }
972
973 wxString GetMimeTypeFromExt(const wxString& location) {
974 return wxFileSystemHandler::GetMimeTypeFromExt(location);
975 }
976
977 PYPRIVATE;
978};
979
980
981IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
982IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
983IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
984IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
985
986
2f4c0a16
RD
987SWIGSTATICINLINE(bool)
988SWIG_AsBool(PyObject *obj)
8edf1c75
RD
989{
990 return PyObject_IsTrue(obj) ? true : false;
991}
992
993
2f4c0a16
RD
994SWIGSTATICINLINE(int)
995SWIG_CheckBool(PyObject* obj)
996{
997 SWIG_AsBool(obj);
998 if (PyErr_Occurred()) {
999 PyErr_Clear();
1000 return 0;
1001 } else {
1002 return 1;
1003 }
1004}
1005
1006
d14a1e28
RD
1007 wxString wxFileSystem_URLToFileName(const wxString& url) {
1008 wxFileName fname = wxFileSystem::URLToFileName(url);
1009 return fname.GetFullPath();
1010 }
1011
1012
1013 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1014 wxImage& image,
1015 long type) {
1016 wxMemoryFSHandler::AddFile(filename, image, type);
1017 }
1018
1019 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1020 const wxBitmap& bitmap,
1021 long type) {
1022 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1023 }
1024
1025 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1026 PyObject* data) {
1027 wxMemoryFSHandler::AddFile(filename,
1028 // TODO: Verify data type
1029 (void*)PyString_AsString(data),
1030 (size_t)PyString_Size(data));
1031 }
1032
1033
1034#include "wx/wxPython/pyistream.h"
1035
8edf1c75 1036
2f4c0a16
RD
1037SWIGSTATICINLINE(unsigned long)
1038SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
1039 unsigned long max_value)
1040{
1041 if (!PyErr_Occurred()) {
1042 if (value > max_value) {
1043 PyObject *err =
1044 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1045 value, type, max_value);
1046 PyErr_SetObject(PyExc_OverflowError, err);
1047 Py_DECREF(err);
1048 }
1049 }
1050 return value;
1051}
1052
1053
1054SWIGSTATICINLINE(unsigned long)
1055SWIG_AsUnsignedLong(PyObject * obj)
1056{
1057 if (PyLong_Check(obj)) {
1058 return PyLong_AsUnsignedLong(obj);
1059 } else {
1060 long i = PyInt_AsLong(obj);
1061 if ( !PyErr_Occurred() && (i < 0)) {
1062 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
1063 }
1064 return i;
1065 }
1066}
1067
1068
1069SWIGSTATICINLINE(unsigned char)
1070SWIG_AsUnsignedChar(PyObject *obj)
8edf1c75 1071{
2f4c0a16
RD
1072 return swig_numeric_cast(unsigned char,
1073 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1074 "unsigned char", UCHAR_MAX));
1075}
1076
1077
1078SWIGSTATICINLINE(int)
1079SWIG_CheckUnsignedChar(PyObject* obj)
1080{
1081 SWIG_AsUnsignedChar(obj);
1082 if (PyErr_Occurred()) {
1083 PyErr_Clear();
1084 return 0;
1085 } else {
1086 return 1;
1087 }
8edf1c75
RD
1088}
1089
d14a1e28
RD
1090wxImage *new_wxImage(int width,int height,bool clear){
1091 if (width > 0 && height > 0)
1092 return new wxImage(width, height, clear);
1093 else
1094 return new wxImage;
1095 }
1096wxImage *new_wxImage(wxBitmap const &bitmap){
1097 return new wxImage(bitmap.ConvertToImage());
1098 }
1099wxImage *new_wxImage(int width,int height,unsigned char *data){
1100 // Copy the source data so the wxImage can clean it up later
1101 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1102 if (copy == NULL) {
1103 PyErr_NoMemory();
1104 return NULL;
1105 }
1106 memcpy(copy, data, width*height*3);
423f194a 1107 return new wxImage(width, height, copy, False);
d14a1e28
RD
1108 }
1109PyObject *wxImage_GetData(wxImage *self){
1110 unsigned char* data = self->GetData();
1111 int len = self->GetWidth() * self->GetHeight() * 3;
1112 PyObject* rv;
1113 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1114 return rv;
1115 }
1116void wxImage_SetData(wxImage *self,PyObject *data){
1117 unsigned char* dataPtr;
1118
1119 if (! PyString_Check(data)) {
1120 PyErr_SetString(PyExc_TypeError, "Expected string object");
1121 return /* NULL */ ;
1122 }
1123
1124 size_t len = self->GetWidth() * self->GetHeight() * 3;
1125 dataPtr = (unsigned char*) malloc(len);
1126 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1127 self->SetData(dataPtr);
1128 // wxImage takes ownership of dataPtr...
1129 }
1130PyObject *wxImage_GetDataBuffer(wxImage *self){
1131 unsigned char* data = self->GetData();
1132 int len = self->GetWidth() * self->GetHeight() * 3;
1133 PyObject* rv;
1134 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1135 return rv;
1136 }
1137void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1138 unsigned char* buffer;
1139 int size;
1140
1141 wxPyBeginBlockThreads();
1142 if (!PyArg_Parse(data, "t#", &buffer, &size))
1143 goto done;
1144
1145 if (size != self->GetWidth() * self->GetHeight() * 3) {
1146 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1147 goto done;
1148 }
1149 self->SetData(buffer);
1150 done:
1151 wxPyEndBlockThreads();
1152 }
1153PyObject *wxImage_GetAlphaData(wxImage *self){
1154 unsigned char* data = self->GetAlpha();
1155 if (! data) {
1156 RETURN_NONE();
1157 } else {
1158 int len = self->GetWidth() * self->GetHeight();
1159 PyObject* rv;
1160 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1161 return rv;
1162 }
1163 }
1164void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1165 unsigned char* dataPtr;
1166
1167 if (! PyString_Check(data)) {
1168 PyErr_SetString(PyExc_TypeError, "Expected string object");
1169 return /* NULL */ ;
1170 }
1171
1172 size_t len = self->GetWidth() * self->GetHeight();
1173 dataPtr = (unsigned char*) malloc(len);
1174 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1175 self->SetAlpha(dataPtr);
1176 // wxImage takes ownership of dataPtr...
1177 }
1178PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1179 unsigned char* data = self->GetAlpha();
1180 int len = self->GetWidth() * self->GetHeight();
1181 PyObject* rv;
1182 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1183 return rv;
1184 }
1185void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1186 unsigned char* buffer;
1187 int size;
1188
1189 wxPyBeginBlockThreads();
1190 if (!PyArg_Parse(data, "t#", &buffer, &size))
1191 goto done;
1192
1193 if (size != self->GetWidth() * self->GetHeight()) {
1194 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1195 goto done;
1196 }
1197 self->SetAlpha(buffer);
1198 done:
1199 wxPyEndBlockThreads();
1200 }
2f4c0a16
RD
1201
1202SWIGSTATICINLINE(int)
1203SWIG_CheckUnsignedLong(PyObject* obj)
1204{
1205 SWIG_AsUnsignedLong(obj);
1206 if (PyErr_Occurred()) {
1207 PyErr_Clear();
1208 return 0;
1209 } else {
1210 return 1;
1211 }
1212}
1213
d14a1e28
RD
1214wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1215 wxBitmap bitmap(*self);
1216 return bitmap;
1217 }
1218wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1219 wxImage mono = self->ConvertToMono( red, green, blue );
1220 wxBitmap bitmap( mono, 1 );
1221 return bitmap;
1222 }
1223 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1224 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1225 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1226 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1227 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1228void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1229 if (PyCallable_Check(func)) {
1230 self->Connect(id, lastId, eventType,
1231 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1232 new wxPyCallback(func));
1233 }
1234 else if (func == Py_None) {
1235 self->Disconnect(id, lastId, eventType,
1236 (wxObjectEventFunction)
1237 &wxPyCallback::EventThunker);
1238 }
1239 else {
1240 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
1241 }
1242 }
1243bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1244 return self->Disconnect(id, lastId, eventType,
1245 (wxObjectEventFunction)
1246 &wxPyCallback::EventThunker);
1247 }
1248void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1249 if (_self && _self != Py_None) {
1250 self->SetClientObject(new wxPyOORClientData(_self));
1251 }
1252 else {
1253 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1254 if (data) {
1255 self->SetClientObject(NULL); // This will delete it too
1256 }
1257 }
1258 }
1259int wxKeyEvent_GetUniChar(wxKeyEvent *self){
41f1cec7
RD
1260 #if wxUSE_UNICODE
1261 return self->m_uniChar;
1262 #else
d14a1e28 1263 return 0;
41f1cec7 1264 #endif
d14a1e28 1265 }
8edf1c75 1266
2f4c0a16
RD
1267#if UINT_MAX < LONG_MAX
1268#define SWIG_FromUnsignedInt SWIG_FromLong
1269#else
1270#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1271#endif
8edf1c75
RD
1272
1273
2f4c0a16
RD
1274#if UINT_MAX != ULONG_MAX
1275SWIGSTATICINLINE(unsigned int)
1276SWIG_AsUnsignedInt(PyObject *obj)
8edf1c75 1277{
2f4c0a16
RD
1278 return swig_numeric_cast(unsigned int,
1279 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1280 "unsigned int", UINT_MAX));
1281}
1282#else
1283#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1284#endif
1285
1286
1287SWIGSTATICINLINE(int)
1288SWIG_CheckUnsignedInt(PyObject* obj)
1289{
1290 SWIG_AsUnsignedInt(obj);
1291 if (PyErr_Occurred()) {
1292 PyErr_Clear();
1293 return 0;
1294 } else {
1295 return 1;
1296 }
8edf1c75
RD
1297}
1298
d14a1e28
RD
1299void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1300 self->m_size = size;
1301 }
1302void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1303 self->m_pos = pos;
1304 }
1305PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1306 int count = self->GetNumberOfFiles();
1307 wxString* files = self->GetFiles();
1308 PyObject* list = PyList_New(count);
1309
1310 if (!list) {
1311 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1312 return NULL;
1313 }
1314
1315 for (int i=0; i<count; i++) {
41f1cec7 1316 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28
RD
1317 }
1318 return list;
1319 }
1320
1321
1322wxPyApp *new_wxPyApp(){
1323 wxPythonApp = new wxPyApp();
1324 return wxPythonApp;
1325 }
cbd72d4f 1326int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
d14a1e28
RD
1327
1328 void wxApp_CleanUp() {
1329 __wxPyCleanup();
1330 }
1331
1332
1333 wxPyApp* wxGetApp() {
1334 return (wxPyApp*)wxTheApp;
1335 }
1336
1337
1338
423f194a 1339 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
1340PyObject *wxWindow_GetChildren(wxWindow *self){
1341 wxWindowList& list = self->GetChildren();
1342 return wxPy_ConvertList(&list);
1343 }
1344bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
1345
1346
1347
423f194a 1348 return False;
d14a1e28
RD
1349
1350 }
1351bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1352
1353
1354
423f194a 1355 return False;
d14a1e28
RD
1356
1357 }
1358long wxWindow_GetHandle(wxWindow *self){
1359 return wxPyGetWinHandle(self);
1360 }
1361
1362wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1363 return wxWindow::FindWindowById(id, parent);
1364}
1365
1366wxWindow* wxFindWindowByName( const wxString& name,
1367 const wxWindow *parent = NULL ) {
1368 return wxWindow::FindWindowByName(name, parent);
1369}
1370
1371wxWindow* wxFindWindowByLabel( const wxString& label,
1372 const wxWindow *parent = NULL ) {
1373 return wxWindow::FindWindowByLabel(label, parent);
1374}
1375
1376
d14a1e28 1377#ifdef __WXMSW__
ce7284bd
RD
1378#include <wx/msw/private.h> // to get wxGetWindowId
1379#endif
1380
1381
1382 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1383#ifdef __WXMSW__
1384 WXHWND hWnd = (WXHWND)_hWnd;
1385 long id = wxGetWindowId(hWnd);
d14a1e28 1386 wxWindow* win = new wxWindow;
ce7284bd
RD
1387 parent->AddChild(win);
1388 win->SetEventHandler(win);
1389 win->SetHWND(hWnd);
1390 win->SetId(id);
1391 win->SubclassWin(hWnd);
1392 win->AdoptAttributesFromHWND();
1393 win->SetupColours();
d14a1e28
RD
1394 return win;
1395#else
cbd72d4f 1396 wxPyRaiseNotImplemented();
d14a1e28
RD
1397 return NULL;
1398#endif
1399 }
1400
1401
1402IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1403IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1404IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1405
1406IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1407
1408void wxMenu_Destroy(wxMenu *self){ delete self; }
1409PyObject *wxMenu_GetMenuItems(wxMenu *self){
1410 wxMenuItemList& list = self->GetMenuItems();
1411 return wxPy_ConvertList(&list);
1412 }
1413int MenuItem_GetDefaultMarginWidth(){ return 0; }
cbd72d4f 1414 static const wxString wxPyControlNameStr(wxControlNameStr);
d14a1e28
RD
1415int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1416 if (clientData) {
1417 wxPyClientData* data = new wxPyClientData(clientData);
1418 return self->Append(item, data);
1419 } else
1420 return self->Append(item);
1421 }
1422int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1423 if (clientData) {
1424 wxPyClientData* data = new wxPyClientData(clientData);
1425 return self->Insert(item, pos, data);
1426 } else
1427 return self->Insert(item, pos);
1428 }
1429PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1430 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1431 if (data) {
1432 Py_INCREF(data->m_obj);
1433 return data->m_obj;
1434 } else {
1435 Py_INCREF(Py_None);
1436 return Py_None;
1437 }
1438 }
1439void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1440 wxPyClientData* data = new wxPyClientData(clientData);
1441 self->SetClientObject(n, data);
1442 }
1443
1444
8edf1c75 1445
2f4c0a16
RD
1446#include <float.h>
1447
8edf1c75 1448SWIGSTATIC(float)
2f4c0a16
RD
1449SWIG_FloatCast(double value)
1450{
1451 float f = 0;
1452 if (!PyErr_Occurred()) {
1453 if (value < FLT_MIN) {
1454 PyObject *err =
1455 PyString_FromFormat("value %g is less than float minimum %g",
1456 value, FLT_MIN);
1457 PyErr_SetObject(PyExc_OverflowError, err);
1458 Py_DECREF(err);
1459 } else if (value > FLT_MAX) {
1460 PyObject *err =
1461 PyString_FromFormat("value %g is greater than float maximum %g",
1462 value, FLT_MAX);
1463 PyErr_SetObject(PyExc_OverflowError, err);
1464 Py_DECREF(err);
1465 } else {
1466 f = swig_numeric_cast(float, value);
1467 }
1468 }
1469 return f;
1470}
1471
1472
1473SWIGSTATICINLINE(float)
1474SWIG_AsFloat(PyObject *obj)
8edf1c75 1475{
2f4c0a16
RD
1476 return SWIG_FloatCast(SWIG_AsDouble(obj));
1477}
1478
1479
1480SWIGSTATICINLINE(int)
1481SWIG_CheckFloat(PyObject* obj)
1482{
1483 SWIG_AsFloat(obj);
1484 if (PyErr_Occurred()) {
1485 PyErr_Clear();
1486 return 0;
1487 } else {
1488 return 1;
1489 }
8edf1c75
RD
1490}
1491
d14a1e28
RD
1492PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1493 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1494 if (data) {
1495 Py_INCREF(data->m_obj);
1496 return data->m_obj;
1497 } else {
1498 Py_INCREF(Py_None);
1499 return Py_None;
1500 }
1501 }
1502
1503// Figure out the type of the sizer item
1504
1505struct wxPySizerItemInfo {
1506 wxPySizerItemInfo()
423f194a
RD
1507 : window(NULL), sizer(NULL), gotSize(False),
1508 size(wxDefaultSize), gotPos(False), pos(-1)
d14a1e28
RD
1509 {}
1510
1511 wxWindow* window;
1512 wxSizer* sizer;
1513 bool gotSize;
1514 wxSize size;
1515 bool gotPos;
1516 int pos;
1517};
1518
1519static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1520
1521 wxPySizerItemInfo info;
1522 wxSize size;
1523 wxSize* sizePtr = &size;
1524
1525 // Find out what the type of the item is
1526 // try wxWindow
1527 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1528 PyErr_Clear();
1529 info.window = NULL;
1530
1531 // try wxSizer
1532 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1533 PyErr_Clear();
1534 info.sizer = NULL;
1535
1536 // try wxSize or (w,h)
1537 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1538 info.size = *sizePtr;
423f194a 1539 info.gotSize = True;
d14a1e28
RD
1540 }
1541
1542 // or a single int
1543 if (checkIdx && PyInt_Check(item)) {
1544 info.pos = PyInt_AsLong(item);
423f194a 1545 info.gotPos = True;
d14a1e28
RD
1546 }
1547 }
1548 }
1549
1550 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1551 // no expected type, figure out what kind of error message to generate
1552 if ( !checkSize && !checkIdx )
1553 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1554 else if ( checkSize && !checkIdx )
1555 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1556 else if ( !checkSize && checkIdx)
1557 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1558 else
1559 // can this one happen?
1560 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1561 }
1562
1563 return info;
1564}
1565
1566void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1567 self->SetClientObject(new wxPyOORClientData(_self));
1568 }
1569void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1570
1571 wxPyUserData* data = NULL;
1572 wxPyBeginBlockThreads();
423f194a 1573 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1574 if ( userData && (info.window || info.sizer || info.gotSize) )
1575 data = new wxPyUserData(userData);
1576 wxPyEndBlockThreads();
1577
1578 // Now call the real Add method if a valid item type was found
1579 if ( info.window )
1580 self->Add(info.window, proportion, flag, border, data);
1581 else if ( info.sizer )
1582 self->Add(info.sizer, proportion, flag, border, data);
1583 else if (info.gotSize)
1584 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1585 proportion, flag, border, data);
1586 }
1587void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1588
1589 wxPyUserData* data = NULL;
1590 wxPyBeginBlockThreads();
423f194a 1591 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1592 if ( userData && (info.window || info.sizer || info.gotSize) )
1593 data = new wxPyUserData(userData);
1594 wxPyEndBlockThreads();
1595
1596 // Now call the real Insert method if a valid item type was found
1597 if ( info.window )
1598 self->Insert(before, info.window, proportion, flag, border, data);
1599 else if ( info.sizer )
1600 self->Insert(before, info.sizer, proportion, flag, border, data);
1601 else if (info.gotSize)
1602 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1603 proportion, flag, border, data);
1604 }
1605void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1606
1607 wxPyUserData* data = NULL;
1608 wxPyBeginBlockThreads();
423f194a 1609 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1610 if ( userData && (info.window || info.sizer || info.gotSize) )
1611 data = new wxPyUserData(userData);
1612 wxPyEndBlockThreads();
1613
1614 // Now call the real Prepend method if a valid item type was found
1615 if ( info.window )
1616 self->Prepend(info.window, proportion, flag, border, data);
1617 else if ( info.sizer )
1618 self->Prepend(info.sizer, proportion, flag, border, data);
1619 else if (info.gotSize)
1620 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1621 proportion, flag, border, data);
1622 }
1623bool wxSizer_Remove(wxSizer *self,PyObject *item){
1624 wxPyBeginBlockThreads();
423f194a 1625 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
d14a1e28
RD
1626 wxPyEndBlockThreads();
1627 if ( info.window )
1628 return self->Remove(info.window);
1629 else if ( info.sizer )
1630 return self->Remove(info.sizer);
1631 else if ( info.gotPos )
1632 return self->Remove(info.pos);
1633 else
423f194a 1634 return False;
d14a1e28 1635 }
423f194a 1636void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
d14a1e28 1637 wxPyBeginBlockThreads();
423f194a 1638 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
d14a1e28
RD
1639 wxPyEndBlockThreads();
1640 if ( info.window )
1641 self->SetItemMinSize(info.window, size);
1642 else if ( info.sizer )
1643 self->SetItemMinSize(info.sizer, size);
1644 else if ( info.gotPos )
1645 self->SetItemMinSize(info.pos, size);
1646 }
1647PyObject *wxSizer_GetChildren(wxSizer *self){
1648 wxSizerItemList& list = self->GetChildren();
1649 return wxPy_ConvertList(&list);
1650 }
1651void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
423f194a 1652 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1653 if ( info.window )
1654 self->Show(info.window, show);
1655 else if ( info.sizer )
1656 self->Show(info.sizer, show);
1657 }
1658void wxSizer_Hide(wxSizer *self,PyObject *item){
423f194a 1659 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1660 if ( info.window )
1661 self->Hide(info.window);
1662 else if ( info.sizer )
1663 self->Hide(info.sizer);
1664 }
1665bool wxSizer_IsShown(wxSizer *self,PyObject *item){
423f194a 1666 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1667 if ( info.window )
1668 return self->IsShown(info.window);
1669 else if ( info.sizer )
1670 return self->IsShown(info.sizer);
1671 else
423f194a 1672 return False;
d14a1e28
RD
1673 }
1674
1675// See pyclasses.h
1676IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1677IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1678IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1679
1680
1681
1682
1683bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1684{
1685 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1686}
1687
1688bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1689{
1690 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1691}
1692
1693
38f59159
RD
1694bool wxGBPosition___eq__(wxGBPosition *self,wxGBPosition const *other){ return other ? (*self == *other) : False; }
1695bool wxGBPosition___ne__(wxGBPosition *self,wxGBPosition const *other){ return other ? (*self != *other) : True; }
423f194a
RD
1696void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1697 self->SetRow(row);
1698 self->SetCol(col);
1699 }
1700PyObject *wxGBPosition_Get(wxGBPosition *self){
d14a1e28
RD
1701 wxPyBeginBlockThreads();
1702 PyObject* tup = PyTuple_New(2);
1703 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1704 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1705 wxPyEndBlockThreads();
1706 return tup;
1707 }
38f59159
RD
1708bool wxGBSpan___eq__(wxGBSpan *self,wxGBSpan const *other){ return other ? (*self == *other) : False; }
1709bool wxGBSpan___ne__(wxGBSpan *self,wxGBSpan const *other){ return other ? (*self != *other) : True; }
423f194a
RD
1710void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1711 self->SetRowspan(rowspan);
1712 self->SetColspan(colspan);
1713 }
1714PyObject *wxGBSpan_Get(wxGBSpan *self){
d14a1e28
RD
1715 wxPyBeginBlockThreads();
1716 PyObject* tup = PyTuple_New(2);
1717 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1718 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1719 wxPyEndBlockThreads();
1720 return tup;
1721 }
1722bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1723
1724 wxPyUserData* data = NULL;
1725 wxPyBeginBlockThreads();
423f194a 1726 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1727 if ( userData && (info.window || info.sizer || info.gotSize) )
1728 data = new wxPyUserData(userData);
1729 wxPyEndBlockThreads();
1730
1731 // Now call the real Add method if a valid item type was found
1732 if ( info.window )
1733 return self->Add(info.window, pos, span, flag, border, data);
1734 else if ( info.sizer )
1735 return self->Add(info.sizer, pos, span, flag, border, data);
1736 else if (info.gotSize)
1737 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1738 pos, span, flag, border, data);
423f194a 1739 return False;
d14a1e28
RD
1740 }
1741
1742
1743#ifdef __cplusplus
1744extern "C" {
1745#endif
8edf1c75 1746static int _wrap_EmptyString_set(PyObject *) {
cbd72d4f
RD
1747 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1748 return 1;
1749}
1750
1751
1752static PyObject *_wrap_EmptyString_get() {
1753 PyObject *pyobj;
1754
1755 {
1756#if wxUSE_UNICODE
1757 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1758#else
1759 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1760#endif
1761 }
1762 return pyobj;
1763}
1764
1765
2f4c0a16 1766static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1767 PyObject *resultobj;
1768 wxObject *arg1 = (wxObject *) 0 ;
1769 wxString result;
1770 PyObject * obj0 = 0 ;
1771 char *kwnames[] = {
1772 (char *) "self", NULL
1773 };
1774
1775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1778 {
1779 PyThreadState* __tstate = wxPyBeginAllowThreads();
1780 result = wxObject_GetClassName(arg1);
1781
1782 wxPyEndAllowThreads(__tstate);
1783 if (PyErr_Occurred()) SWIG_fail;
1784 }
1785 {
1786#if wxUSE_UNICODE
1787 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1788#else
1789 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1790#endif
1791 }
1792 return resultobj;
1793 fail:
1794 return NULL;
1795}
1796
1797
2f4c0a16 1798static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1799 PyObject *resultobj;
1800 wxObject *arg1 = (wxObject *) 0 ;
1801 PyObject * obj0 = 0 ;
1802 char *kwnames[] = {
1803 (char *) "self", NULL
1804 };
1805
1806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1809 {
1810 PyThreadState* __tstate = wxPyBeginAllowThreads();
1811 wxObject_Destroy(arg1);
1812
1813 wxPyEndAllowThreads(__tstate);
1814 if (PyErr_Occurred()) SWIG_fail;
1815 }
1816 Py_INCREF(Py_None); resultobj = Py_None;
1817 return resultobj;
1818 fail:
1819 return NULL;
1820}
1821
1822
2f4c0a16 1823static PyObject * Object_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1824 PyObject *obj;
1825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1826 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1827 Py_INCREF(obj);
1828 return Py_BuildValue((char *)"");
1829}
2f4c0a16 1830static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1831 PyObject *resultobj;
1832 wxSize *arg1 = (wxSize *) 0 ;
1833 int arg2 ;
1834 PyObject * obj0 = 0 ;
8edf1c75 1835 PyObject * obj1 = 0 ;
d14a1e28
RD
1836 char *kwnames[] = {
1837 (char *) "self",(char *) "x", NULL
1838 };
1839
8edf1c75 1840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1843 arg2 = (int) SWIG_AsInt(obj1);
1844 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1845 if (arg1) (arg1)->x = arg2;
1846
1847 Py_INCREF(Py_None); resultobj = Py_None;
1848 return resultobj;
1849 fail:
1850 return NULL;
1851}
1852
1853
2f4c0a16 1854static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1855 PyObject *resultobj;
1856 wxSize *arg1 = (wxSize *) 0 ;
1857 int result;
1858 PyObject * obj0 = 0 ;
1859 char *kwnames[] = {
1860 (char *) "self", NULL
1861 };
1862
1863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1866 result = (int) ((arg1)->x);
1867
2f4c0a16 1868 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1869 return resultobj;
1870 fail:
1871 return NULL;
1872}
1873
1874
2f4c0a16 1875static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1876 PyObject *resultobj;
1877 wxSize *arg1 = (wxSize *) 0 ;
1878 int arg2 ;
1879 PyObject * obj0 = 0 ;
8edf1c75 1880 PyObject * obj1 = 0 ;
d14a1e28
RD
1881 char *kwnames[] = {
1882 (char *) "self",(char *) "y", NULL
1883 };
1884
8edf1c75 1885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1888 arg2 = (int) SWIG_AsInt(obj1);
1889 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1890 if (arg1) (arg1)->y = arg2;
1891
1892 Py_INCREF(Py_None); resultobj = Py_None;
1893 return resultobj;
1894 fail:
1895 return NULL;
1896}
1897
1898
2f4c0a16 1899static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1900 PyObject *resultobj;
1901 wxSize *arg1 = (wxSize *) 0 ;
1902 int result;
1903 PyObject * obj0 = 0 ;
1904 char *kwnames[] = {
1905 (char *) "self", NULL
1906 };
1907
1908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1911 result = (int) ((arg1)->y);
1912
2f4c0a16 1913 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1914 return resultobj;
1915 fail:
1916 return NULL;
1917}
1918
1919
2f4c0a16 1920static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1921 PyObject *resultobj;
1922 int arg1 = (int) 0 ;
1923 int arg2 = (int) 0 ;
1924 wxSize *result;
8edf1c75
RD
1925 PyObject * obj0 = 0 ;
1926 PyObject * obj1 = 0 ;
d14a1e28
RD
1927 char *kwnames[] = {
1928 (char *) "w",(char *) "h", NULL
1929 };
1930
8edf1c75
RD
1931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
1932 if (obj0) {
2f4c0a16
RD
1933 arg1 = (int) SWIG_AsInt(obj0);
1934 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
1935 }
1936 if (obj1) {
2f4c0a16
RD
1937 arg2 = (int) SWIG_AsInt(obj1);
1938 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1939 }
d14a1e28
RD
1940 {
1941 PyThreadState* __tstate = wxPyBeginAllowThreads();
1942 result = (wxSize *)new wxSize(arg1,arg2);
1943
1944 wxPyEndAllowThreads(__tstate);
1945 if (PyErr_Occurred()) SWIG_fail;
1946 }
2f4c0a16 1947 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1948 return resultobj;
1949 fail:
1950 return NULL;
1951}
1952
1953
2f4c0a16 1954static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1955 PyObject *resultobj;
1956 wxSize *arg1 = (wxSize *) 0 ;
1957 PyObject * obj0 = 0 ;
1958 char *kwnames[] = {
1959 (char *) "self", NULL
1960 };
1961
1962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1965 {
1966 PyThreadState* __tstate = wxPyBeginAllowThreads();
1967 delete arg1;
1968
1969 wxPyEndAllowThreads(__tstate);
1970 if (PyErr_Occurred()) SWIG_fail;
1971 }
1972 Py_INCREF(Py_None); resultobj = Py_None;
1973 return resultobj;
1974 fail:
1975 return NULL;
1976}
1977
1978
2f4c0a16 1979static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1980 PyObject *resultobj;
1981 wxSize *arg1 = (wxSize *) 0 ;
1982 wxSize *arg2 = 0 ;
1983 bool result;
1984 wxSize temp2 ;
1985 PyObject * obj0 = 0 ;
1986 PyObject * obj1 = 0 ;
1987 char *kwnames[] = {
1988 (char *) "self",(char *) "sz", NULL
1989 };
1990
1991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1994 {
1995 arg2 = &temp2;
1996 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1997 }
1998 {
1999 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2000 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
2001
2002 wxPyEndAllowThreads(__tstate);
2003 if (PyErr_Occurred()) SWIG_fail;
2004 }
02a34c4c 2005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2006 return resultobj;
2007 fail:
2008 return NULL;
2009}
2010
2011
2f4c0a16 2012static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2013 PyObject *resultobj;
2014 wxSize *arg1 = (wxSize *) 0 ;
2015 wxSize *arg2 = 0 ;
2016 bool result;
2017 wxSize temp2 ;
2018 PyObject * obj0 = 0 ;
2019 PyObject * obj1 = 0 ;
2020 char *kwnames[] = {
2021 (char *) "self",(char *) "sz", NULL
2022 };
2023
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2027 {
2028 arg2 = &temp2;
2029 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2030 }
2031 {
2032 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2033 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
2034
2035 wxPyEndAllowThreads(__tstate);
2036 if (PyErr_Occurred()) SWIG_fail;
2037 }
02a34c4c 2038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2039 return resultobj;
2040 fail:
2041 return NULL;
2042}
2043
2044
2f4c0a16 2045static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2046 PyObject *resultobj;
2047 wxSize *arg1 = (wxSize *) 0 ;
2048 wxSize *arg2 = 0 ;
2049 wxSize result;
2050 wxSize temp2 ;
2051 PyObject * obj0 = 0 ;
2052 PyObject * obj1 = 0 ;
2053 char *kwnames[] = {
2054 (char *) "self",(char *) "sz", NULL
2055 };
2056
2057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2060 {
2061 arg2 = &temp2;
2062 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2063 }
2064 {
2065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2066 result = (arg1)->operator +((wxSize const &)*arg2);
2067
2068 wxPyEndAllowThreads(__tstate);
2069 if (PyErr_Occurred()) SWIG_fail;
2070 }
2071 {
2072 wxSize * resultptr;
2073 resultptr = new wxSize((wxSize &) result);
2f4c0a16 2074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2075 }
2076 return resultobj;
2077 fail:
2078 return NULL;
2079}
2080
2081
2f4c0a16 2082static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2083 PyObject *resultobj;
2084 wxSize *arg1 = (wxSize *) 0 ;
2085 wxSize *arg2 = 0 ;
2086 wxSize result;
2087 wxSize temp2 ;
2088 PyObject * obj0 = 0 ;
2089 PyObject * obj1 = 0 ;
2090 char *kwnames[] = {
2091 (char *) "self",(char *) "sz", NULL
2092 };
2093
2094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2097 {
2098 arg2 = &temp2;
2099 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2100 }
2101 {
2102 PyThreadState* __tstate = wxPyBeginAllowThreads();
2103 result = (arg1)->operator -((wxSize const &)*arg2);
2104
2105 wxPyEndAllowThreads(__tstate);
2106 if (PyErr_Occurred()) SWIG_fail;
2107 }
2108 {
2109 wxSize * resultptr;
2110 resultptr = new wxSize((wxSize &) result);
2f4c0a16 2111 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2112 }
2113 return resultobj;
2114 fail:
2115 return NULL;
2116}
2117
2118
2f4c0a16 2119static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2120 PyObject *resultobj;
2121 wxSize *arg1 = (wxSize *) 0 ;
2122 wxSize *arg2 = 0 ;
2123 wxSize temp2 ;
2124 PyObject * obj0 = 0 ;
2125 PyObject * obj1 = 0 ;
2126 char *kwnames[] = {
2127 (char *) "self",(char *) "sz", NULL
2128 };
2129
2130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2133 {
2134 arg2 = &temp2;
2135 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2136 }
2137 {
2138 PyThreadState* __tstate = wxPyBeginAllowThreads();
2139 (arg1)->IncTo((wxSize const &)*arg2);
2140
2141 wxPyEndAllowThreads(__tstate);
2142 if (PyErr_Occurred()) SWIG_fail;
2143 }
2144 Py_INCREF(Py_None); resultobj = Py_None;
2145 return resultobj;
2146 fail:
2147 return NULL;
2148}
2149
2150
2f4c0a16 2151static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2152 PyObject *resultobj;
2153 wxSize *arg1 = (wxSize *) 0 ;
2154 wxSize *arg2 = 0 ;
2155 wxSize temp2 ;
2156 PyObject * obj0 = 0 ;
2157 PyObject * obj1 = 0 ;
2158 char *kwnames[] = {
2159 (char *) "self",(char *) "sz", NULL
2160 };
2161
2162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2165 {
2166 arg2 = &temp2;
2167 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2168 }
2169 {
2170 PyThreadState* __tstate = wxPyBeginAllowThreads();
2171 (arg1)->DecTo((wxSize const &)*arg2);
2172
2173 wxPyEndAllowThreads(__tstate);
2174 if (PyErr_Occurred()) SWIG_fail;
2175 }
2176 Py_INCREF(Py_None); resultobj = Py_None;
2177 return resultobj;
2178 fail:
2179 return NULL;
2180}
2181
2182
2f4c0a16 2183static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2184 PyObject *resultobj;
2185 wxSize *arg1 = (wxSize *) 0 ;
2186 int arg2 ;
2187 int arg3 ;
2188 PyObject * obj0 = 0 ;
8edf1c75
RD
2189 PyObject * obj1 = 0 ;
2190 PyObject * obj2 = 0 ;
d14a1e28 2191 char *kwnames[] = {
423f194a 2192 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
2193 };
2194
8edf1c75 2195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2198 arg2 = (int) SWIG_AsInt(obj1);
2199 if (PyErr_Occurred()) SWIG_fail;
2200 arg3 = (int) SWIG_AsInt(obj2);
2201 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2202 {
2203 PyThreadState* __tstate = wxPyBeginAllowThreads();
2204 (arg1)->Set(arg2,arg3);
2205
2206 wxPyEndAllowThreads(__tstate);
2207 if (PyErr_Occurred()) SWIG_fail;
2208 }
2209 Py_INCREF(Py_None); resultobj = Py_None;
2210 return resultobj;
2211 fail:
2212 return NULL;
2213}
2214
2215
2f4c0a16 2216static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2217 PyObject *resultobj;
2218 wxSize *arg1 = (wxSize *) 0 ;
2219 int arg2 ;
2220 PyObject * obj0 = 0 ;
8edf1c75 2221 PyObject * obj1 = 0 ;
d14a1e28
RD
2222 char *kwnames[] = {
2223 (char *) "self",(char *) "w", NULL
2224 };
2225
8edf1c75 2226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2229 arg2 = (int) SWIG_AsInt(obj1);
2230 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2231 {
2232 PyThreadState* __tstate = wxPyBeginAllowThreads();
2233 (arg1)->SetWidth(arg2);
2234
2235 wxPyEndAllowThreads(__tstate);
2236 if (PyErr_Occurred()) SWIG_fail;
2237 }
2238 Py_INCREF(Py_None); resultobj = Py_None;
2239 return resultobj;
2240 fail:
2241 return NULL;
2242}
2243
2244
2f4c0a16 2245static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2246 PyObject *resultobj;
2247 wxSize *arg1 = (wxSize *) 0 ;
2248 int arg2 ;
2249 PyObject * obj0 = 0 ;
8edf1c75 2250 PyObject * obj1 = 0 ;
d14a1e28
RD
2251 char *kwnames[] = {
2252 (char *) "self",(char *) "h", NULL
2253 };
2254
8edf1c75 2255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2258 arg2 = (int) SWIG_AsInt(obj1);
2259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2260 {
2261 PyThreadState* __tstate = wxPyBeginAllowThreads();
2262 (arg1)->SetHeight(arg2);
2263
2264 wxPyEndAllowThreads(__tstate);
2265 if (PyErr_Occurred()) SWIG_fail;
2266 }
2267 Py_INCREF(Py_None); resultobj = Py_None;
2268 return resultobj;
2269 fail:
2270 return NULL;
2271}
2272
2273
2f4c0a16 2274static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2275 PyObject *resultobj;
2276 wxSize *arg1 = (wxSize *) 0 ;
2277 int result;
2278 PyObject * obj0 = 0 ;
2279 char *kwnames[] = {
2280 (char *) "self", NULL
2281 };
2282
2283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2286 {
2287 PyThreadState* __tstate = wxPyBeginAllowThreads();
2288 result = (int)((wxSize const *)arg1)->GetWidth();
2289
2290 wxPyEndAllowThreads(__tstate);
2291 if (PyErr_Occurred()) SWIG_fail;
2292 }
2f4c0a16 2293 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2294 return resultobj;
2295 fail:
2296 return NULL;
2297}
2298
2299
2f4c0a16 2300static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2301 PyObject *resultobj;
2302 wxSize *arg1 = (wxSize *) 0 ;
2303 int result;
2304 PyObject * obj0 = 0 ;
2305 char *kwnames[] = {
2306 (char *) "self", NULL
2307 };
2308
2309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2312 {
2313 PyThreadState* __tstate = wxPyBeginAllowThreads();
2314 result = (int)((wxSize const *)arg1)->GetHeight();
2315
2316 wxPyEndAllowThreads(__tstate);
2317 if (PyErr_Occurred()) SWIG_fail;
2318 }
2f4c0a16 2319 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2320 return resultobj;
2321 fail:
2322 return NULL;
2323}
2324
2325
2f4c0a16 2326static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2327 PyObject *resultobj;
2328 wxSize *arg1 = (wxSize *) 0 ;
2329 PyObject *result;
2330 PyObject * obj0 = 0 ;
2331 char *kwnames[] = {
2332 (char *) "self", NULL
2333 };
2334
423f194a 2335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2338 {
2339 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2340 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
2341
2342 wxPyEndAllowThreads(__tstate);
2343 if (PyErr_Occurred()) SWIG_fail;
2344 }
2345 resultobj = result;
2346 return resultobj;
2347 fail:
2348 return NULL;
2349}
2350
2351
2f4c0a16 2352static PyObject * Size_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2353 PyObject *obj;
2354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2355 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2356 Py_INCREF(obj);
2357 return Py_BuildValue((char *)"");
2358}
2f4c0a16 2359static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2360 PyObject *resultobj;
2361 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2362 double arg2 ;
2363 PyObject * obj0 = 0 ;
8edf1c75 2364 PyObject * obj1 = 0 ;
d14a1e28
RD
2365 char *kwnames[] = {
2366 (char *) "self",(char *) "x", NULL
2367 };
2368
8edf1c75 2369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2372 arg2 = (double) SWIG_AsDouble(obj1);
2373 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2374 if (arg1) (arg1)->x = arg2;
2375
2376 Py_INCREF(Py_None); resultobj = Py_None;
2377 return resultobj;
2378 fail:
2379 return NULL;
2380}
2381
2382
2f4c0a16 2383static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2384 PyObject *resultobj;
2385 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2386 double result;
2387 PyObject * obj0 = 0 ;
2388 char *kwnames[] = {
2389 (char *) "self", NULL
2390 };
2391
2392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2395 result = (double) ((arg1)->x);
2396
2f4c0a16 2397 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2398 return resultobj;
2399 fail:
2400 return NULL;
2401}
2402
2403
2f4c0a16 2404static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2405 PyObject *resultobj;
2406 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2407 double arg2 ;
2408 PyObject * obj0 = 0 ;
8edf1c75 2409 PyObject * obj1 = 0 ;
d14a1e28
RD
2410 char *kwnames[] = {
2411 (char *) "self",(char *) "y", NULL
2412 };
2413
8edf1c75 2414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2417 arg2 = (double) SWIG_AsDouble(obj1);
2418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2419 if (arg1) (arg1)->y = arg2;
2420
2421 Py_INCREF(Py_None); resultobj = Py_None;
2422 return resultobj;
2423 fail:
2424 return NULL;
2425}
2426
2427
2f4c0a16 2428static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2429 PyObject *resultobj;
2430 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2431 double result;
2432 PyObject * obj0 = 0 ;
2433 char *kwnames[] = {
2434 (char *) "self", NULL
2435 };
2436
2437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2440 result = (double) ((arg1)->y);
2441
2f4c0a16 2442 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2443 return resultobj;
2444 fail:
2445 return NULL;
2446}
2447
2448
2f4c0a16 2449static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2450 PyObject *resultobj;
2451 double arg1 = (double) 0.0 ;
2452 double arg2 = (double) 0.0 ;
2453 wxRealPoint *result;
8edf1c75
RD
2454 PyObject * obj0 = 0 ;
2455 PyObject * obj1 = 0 ;
d14a1e28
RD
2456 char *kwnames[] = {
2457 (char *) "x",(char *) "y", NULL
2458 };
2459
8edf1c75
RD
2460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2461 if (obj0) {
2f4c0a16
RD
2462 arg1 = (double) SWIG_AsDouble(obj0);
2463 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2464 }
2465 if (obj1) {
2f4c0a16
RD
2466 arg2 = (double) SWIG_AsDouble(obj1);
2467 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2468 }
d14a1e28
RD
2469 {
2470 PyThreadState* __tstate = wxPyBeginAllowThreads();
2471 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2472
2473 wxPyEndAllowThreads(__tstate);
2474 if (PyErr_Occurred()) SWIG_fail;
2475 }
2f4c0a16 2476 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
d14a1e28
RD
2477 return resultobj;
2478 fail:
2479 return NULL;
2480}
2481
2482
2f4c0a16 2483static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2484 PyObject *resultobj;
2485 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2486 PyObject * obj0 = 0 ;
2487 char *kwnames[] = {
2488 (char *) "self", NULL
2489 };
2490
2491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2494 {
2495 PyThreadState* __tstate = wxPyBeginAllowThreads();
2496 delete arg1;
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
2f4c0a16 2508static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2509 PyObject *resultobj;
2510 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2511 wxRealPoint *arg2 = 0 ;
423f194a 2512 bool result;
d14a1e28
RD
2513 wxRealPoint temp2 ;
2514 PyObject * obj0 = 0 ;
2515 PyObject * obj1 = 0 ;
2516 char *kwnames[] = {
2517 (char *) "self",(char *) "pt", NULL
2518 };
2519
423f194a 2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2521 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2522 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2523 {
2524 arg2 = &temp2;
2525 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2526 }
2527 {
2528 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2529 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2530
2531 wxPyEndAllowThreads(__tstate);
2532 if (PyErr_Occurred()) SWIG_fail;
2533 }
02a34c4c 2534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2535 return resultobj;
2536 fail:
2537 return NULL;
2538}
2539
2540
2f4c0a16 2541static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2542 PyObject *resultobj;
2543 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2544 wxRealPoint *arg2 = 0 ;
423f194a 2545 bool result;
d14a1e28
RD
2546 wxRealPoint temp2 ;
2547 PyObject * obj0 = 0 ;
2548 PyObject * obj1 = 0 ;
2549 char *kwnames[] = {
2550 (char *) "self",(char *) "pt", NULL
2551 };
2552
423f194a 2553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2556 {
2557 arg2 = &temp2;
2558 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2559 }
2560 {
2561 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2562 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2563
2564 wxPyEndAllowThreads(__tstate);
2565 if (PyErr_Occurred()) SWIG_fail;
2566 }
02a34c4c 2567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2568 return resultobj;
2569 fail:
2570 return NULL;
2571}
2572
2573
2f4c0a16 2574static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2575 PyObject *resultobj;
2576 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2577 wxRealPoint *arg2 = 0 ;
423f194a 2578 wxRealPoint result;
d14a1e28
RD
2579 wxRealPoint temp2 ;
2580 PyObject * obj0 = 0 ;
2581 PyObject * obj1 = 0 ;
2582 char *kwnames[] = {
2583 (char *) "self",(char *) "pt", NULL
2584 };
2585
423f194a 2586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2589 {
2590 arg2 = &temp2;
2591 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2592 }
2593 {
2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2595 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2596
2597 wxPyEndAllowThreads(__tstate);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
423f194a
RD
2600 {
2601 wxRealPoint * resultptr;
2602 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 2603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
423f194a 2604 }
d14a1e28
RD
2605 return resultobj;
2606 fail:
2607 return NULL;
2608}
2609
2610
2f4c0a16 2611static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2612 PyObject *resultobj;
2613 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2614 wxRealPoint *arg2 = 0 ;
423f194a 2615 wxRealPoint result;
d14a1e28
RD
2616 wxRealPoint temp2 ;
2617 PyObject * obj0 = 0 ;
2618 PyObject * obj1 = 0 ;
2619 char *kwnames[] = {
2620 (char *) "self",(char *) "pt", NULL
2621 };
2622
423f194a 2623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2626 {
2627 arg2 = &temp2;
2628 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2629 }
2630 {
2631 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2632 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2633
2634 wxPyEndAllowThreads(__tstate);
2635 if (PyErr_Occurred()) SWIG_fail;
2636 }
423f194a
RD
2637 {
2638 wxRealPoint * resultptr;
2639 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 2640 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
423f194a 2641 }
d14a1e28
RD
2642 return resultobj;
2643 fail:
2644 return NULL;
2645}
2646
2647
2f4c0a16 2648static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2649 PyObject *resultobj;
2650 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2651 double arg2 ;
2652 double arg3 ;
2653 PyObject * obj0 = 0 ;
8edf1c75
RD
2654 PyObject * obj1 = 0 ;
2655 PyObject * obj2 = 0 ;
d14a1e28
RD
2656 char *kwnames[] = {
2657 (char *) "self",(char *) "x",(char *) "y", NULL
2658 };
2659
8edf1c75 2660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2663 arg2 = (double) SWIG_AsDouble(obj1);
2664 if (PyErr_Occurred()) SWIG_fail;
2665 arg3 = (double) SWIG_AsDouble(obj2);
2666 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2667 {
2668 PyThreadState* __tstate = wxPyBeginAllowThreads();
2669 wxRealPoint_Set(arg1,arg2,arg3);
2670
2671 wxPyEndAllowThreads(__tstate);
2672 if (PyErr_Occurred()) SWIG_fail;
2673 }
2674 Py_INCREF(Py_None); resultobj = Py_None;
2675 return resultobj;
2676 fail:
2677 return NULL;
2678}
2679
2680
2f4c0a16 2681static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2682 PyObject *resultobj;
2683 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2684 PyObject *result;
2685 PyObject * obj0 = 0 ;
2686 char *kwnames[] = {
2687 (char *) "self", NULL
2688 };
2689
423f194a 2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2693 {
2694 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2695 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2696
2697 wxPyEndAllowThreads(__tstate);
2698 if (PyErr_Occurred()) SWIG_fail;
2699 }
2700 resultobj = result;
2701 return resultobj;
2702 fail:
2703 return NULL;
2704}
2705
2706
2f4c0a16 2707static PyObject * RealPoint_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2708 PyObject *obj;
2709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2710 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2711 Py_INCREF(obj);
2712 return Py_BuildValue((char *)"");
2713}
2f4c0a16 2714static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2715 PyObject *resultobj;
2716 wxPoint *arg1 = (wxPoint *) 0 ;
2717 int arg2 ;
2718 PyObject * obj0 = 0 ;
8edf1c75 2719 PyObject * obj1 = 0 ;
d14a1e28
RD
2720 char *kwnames[] = {
2721 (char *) "self",(char *) "x", NULL
2722 };
2723
8edf1c75 2724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2727 arg2 = (int) SWIG_AsInt(obj1);
2728 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2729 if (arg1) (arg1)->x = arg2;
2730
2731 Py_INCREF(Py_None); resultobj = Py_None;
2732 return resultobj;
2733 fail:
2734 return NULL;
2735}
2736
2737
2f4c0a16 2738static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2739 PyObject *resultobj;
2740 wxPoint *arg1 = (wxPoint *) 0 ;
2741 int result;
2742 PyObject * obj0 = 0 ;
2743 char *kwnames[] = {
2744 (char *) "self", NULL
2745 };
2746
2747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2750 result = (int) ((arg1)->x);
2751
2f4c0a16 2752 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2753 return resultobj;
2754 fail:
2755 return NULL;
2756}
2757
2758
2f4c0a16 2759static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2760 PyObject *resultobj;
2761 wxPoint *arg1 = (wxPoint *) 0 ;
2762 int arg2 ;
2763 PyObject * obj0 = 0 ;
8edf1c75 2764 PyObject * obj1 = 0 ;
d14a1e28
RD
2765 char *kwnames[] = {
2766 (char *) "self",(char *) "y", NULL
2767 };
2768
8edf1c75 2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2772 arg2 = (int) SWIG_AsInt(obj1);
2773 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2774 if (arg1) (arg1)->y = arg2;
2775
2776 Py_INCREF(Py_None); resultobj = Py_None;
2777 return resultobj;
2778 fail:
2779 return NULL;
2780}
2781
2782
2f4c0a16 2783static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2784 PyObject *resultobj;
2785 wxPoint *arg1 = (wxPoint *) 0 ;
2786 int result;
2787 PyObject * obj0 = 0 ;
2788 char *kwnames[] = {
2789 (char *) "self", NULL
2790 };
2791
2792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2795 result = (int) ((arg1)->y);
2796
2f4c0a16 2797 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2798 return resultobj;
2799 fail:
2800 return NULL;
2801}
2802
2803
2f4c0a16 2804static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2805 PyObject *resultobj;
2806 int arg1 = (int) 0 ;
2807 int arg2 = (int) 0 ;
2808 wxPoint *result;
8edf1c75
RD
2809 PyObject * obj0 = 0 ;
2810 PyObject * obj1 = 0 ;
d14a1e28
RD
2811 char *kwnames[] = {
2812 (char *) "x",(char *) "y", NULL
2813 };
2814
8edf1c75
RD
2815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2816 if (obj0) {
2f4c0a16
RD
2817 arg1 = (int) SWIG_AsInt(obj0);
2818 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2819 }
2820 if (obj1) {
2f4c0a16
RD
2821 arg2 = (int) SWIG_AsInt(obj1);
2822 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2823 }
d14a1e28
RD
2824 {
2825 PyThreadState* __tstate = wxPyBeginAllowThreads();
2826 result = (wxPoint *)new wxPoint(arg1,arg2);
2827
2828 wxPyEndAllowThreads(__tstate);
2829 if (PyErr_Occurred()) SWIG_fail;
2830 }
2f4c0a16 2831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2832 return resultobj;
2833 fail:
2834 return NULL;
2835}
2836
2837
2f4c0a16 2838static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2839 PyObject *resultobj;
2840 wxPoint *arg1 = (wxPoint *) 0 ;
2841 PyObject * obj0 = 0 ;
2842 char *kwnames[] = {
2843 (char *) "self", NULL
2844 };
2845
2846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2849 {
2850 PyThreadState* __tstate = wxPyBeginAllowThreads();
2851 delete arg1;
2852
2853 wxPyEndAllowThreads(__tstate);
2854 if (PyErr_Occurred()) SWIG_fail;
2855 }
2856 Py_INCREF(Py_None); resultobj = Py_None;
2857 return resultobj;
2858 fail:
2859 return NULL;
2860}
2861
2862
2f4c0a16 2863static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2864 PyObject *resultobj;
2865 wxPoint *arg1 = (wxPoint *) 0 ;
2866 wxPoint *arg2 = 0 ;
2867 bool result;
2868 wxPoint temp2 ;
2869 PyObject * obj0 = 0 ;
2870 PyObject * obj1 = 0 ;
2871 char *kwnames[] = {
423f194a 2872 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2873 };
2874
2875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2878 {
2879 arg2 = &temp2;
2880 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2881 }
2882 {
2883 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2884 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
2885
2886 wxPyEndAllowThreads(__tstate);
2887 if (PyErr_Occurred()) SWIG_fail;
2888 }
02a34c4c 2889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2890 return resultobj;
2891 fail:
2892 return NULL;
2893}
2894
2895
2f4c0a16 2896static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2897 PyObject *resultobj;
2898 wxPoint *arg1 = (wxPoint *) 0 ;
2899 wxPoint *arg2 = 0 ;
2900 bool result;
2901 wxPoint temp2 ;
2902 PyObject * obj0 = 0 ;
2903 PyObject * obj1 = 0 ;
2904 char *kwnames[] = {
423f194a 2905 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2906 };
2907
2908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2911 {
2912 arg2 = &temp2;
2913 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2914 }
2915 {
2916 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2917 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
2918
2919 wxPyEndAllowThreads(__tstate);
2920 if (PyErr_Occurred()) SWIG_fail;
2921 }
02a34c4c 2922 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2923 return resultobj;
2924 fail:
2925 return NULL;
2926}
2927
2928
2f4c0a16 2929static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2930 PyObject *resultobj;
2931 wxPoint *arg1 = (wxPoint *) 0 ;
2932 wxPoint *arg2 = 0 ;
2933 wxPoint result;
2934 wxPoint temp2 ;
2935 PyObject * obj0 = 0 ;
2936 PyObject * obj1 = 0 ;
2937 char *kwnames[] = {
423f194a 2938 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2939 };
2940
2941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2944 {
2945 arg2 = &temp2;
2946 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2947 }
2948 {
2949 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2950 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
2951
2952 wxPyEndAllowThreads(__tstate);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 {
2956 wxPoint * resultptr;
2957 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 2958 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2959 }
2960 return resultobj;
2961 fail:
2962 return NULL;
2963}
2964
2965
2f4c0a16 2966static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2967 PyObject *resultobj;
2968 wxPoint *arg1 = (wxPoint *) 0 ;
2969 wxPoint *arg2 = 0 ;
2970 wxPoint result;
2971 wxPoint temp2 ;
2972 PyObject * obj0 = 0 ;
2973 PyObject * obj1 = 0 ;
2974 char *kwnames[] = {
423f194a 2975 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2976 };
2977
2978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2981 {
2982 arg2 = &temp2;
2983 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2984 }
2985 {
2986 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2987 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
2988
2989 wxPyEndAllowThreads(__tstate);
2990 if (PyErr_Occurred()) SWIG_fail;
2991 }
2992 {
2993 wxPoint * resultptr;
2994 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 2995 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2996 }
2997 return resultobj;
2998 fail:
2999 return NULL;
3000}
3001
3002
2f4c0a16 3003static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3004 PyObject *resultobj;
3005 wxPoint *arg1 = (wxPoint *) 0 ;
3006 wxPoint *arg2 = 0 ;
3007 wxPoint *result;
3008 wxPoint temp2 ;
3009 PyObject * obj0 = 0 ;
3010 PyObject * obj1 = 0 ;
3011 char *kwnames[] = {
423f194a 3012 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3018 {
3019 arg2 = &temp2;
3020 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3021 }
3022 {
3023 PyThreadState* __tstate = wxPyBeginAllowThreads();
3024 {
3025 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3026 result = (wxPoint *) &_result_ref;
3027 }
3028
3029 wxPyEndAllowThreads(__tstate);
3030 if (PyErr_Occurred()) SWIG_fail;
3031 }
2f4c0a16 3032 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3033 return resultobj;
3034 fail:
3035 return NULL;
3036}
3037
3038
2f4c0a16 3039static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3040 PyObject *resultobj;
3041 wxPoint *arg1 = (wxPoint *) 0 ;
3042 wxPoint *arg2 = 0 ;
3043 wxPoint *result;
3044 wxPoint temp2 ;
3045 PyObject * obj0 = 0 ;
3046 PyObject * obj1 = 0 ;
3047 char *kwnames[] = {
423f194a 3048 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3049 };
3050
3051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3054 {
3055 arg2 = &temp2;
3056 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3057 }
3058 {
3059 PyThreadState* __tstate = wxPyBeginAllowThreads();
3060 {
3061 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3062 result = (wxPoint *) &_result_ref;
3063 }
3064
3065 wxPyEndAllowThreads(__tstate);
3066 if (PyErr_Occurred()) SWIG_fail;
3067 }
2f4c0a16 3068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3069 return resultobj;
3070 fail:
3071 return NULL;
3072}
3073
3074
2f4c0a16 3075static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3076 PyObject *resultobj;
3077 wxPoint *arg1 = (wxPoint *) 0 ;
3078 long arg2 ;
3079 long arg3 ;
3080 PyObject * obj0 = 0 ;
8edf1c75
RD
3081 PyObject * obj1 = 0 ;
3082 PyObject * obj2 = 0 ;
d14a1e28
RD
3083 char *kwnames[] = {
3084 (char *) "self",(char *) "x",(char *) "y", NULL
3085 };
3086
8edf1c75 3087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3090 arg2 = (long) SWIG_AsLong(obj1);
3091 if (PyErr_Occurred()) SWIG_fail;
3092 arg3 = (long) SWIG_AsLong(obj2);
3093 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3094 {
3095 PyThreadState* __tstate = wxPyBeginAllowThreads();
3096 wxPoint_Set(arg1,arg2,arg3);
3097
3098 wxPyEndAllowThreads(__tstate);
3099 if (PyErr_Occurred()) SWIG_fail;
3100 }
3101 Py_INCREF(Py_None); resultobj = Py_None;
3102 return resultobj;
3103 fail:
3104 return NULL;
3105}
3106
3107
2f4c0a16 3108static PyObject *_wrap_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3109 PyObject *resultobj;
3110 wxPoint *arg1 = (wxPoint *) 0 ;
3111 PyObject *result;
3112 PyObject * obj0 = 0 ;
3113 char *kwnames[] = {
3114 (char *) "self", NULL
3115 };
3116
423f194a 3117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3120 {
3121 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 3122 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
3123
3124 wxPyEndAllowThreads(__tstate);
3125 if (PyErr_Occurred()) SWIG_fail;
3126 }
3127 resultobj = result;
3128 return resultobj;
3129 fail:
3130 return NULL;
3131}
3132
3133
2f4c0a16 3134static PyObject * Point_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3135 PyObject *obj;
3136 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3137 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3138 Py_INCREF(obj);
3139 return Py_BuildValue((char *)"");
3140}
2f4c0a16 3141static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3142 PyObject *resultobj;
3143 int arg1 = (int) 0 ;
3144 int arg2 = (int) 0 ;
3145 int arg3 = (int) 0 ;
3146 int arg4 = (int) 0 ;
3147 wxRect *result;
8edf1c75
RD
3148 PyObject * obj0 = 0 ;
3149 PyObject * obj1 = 0 ;
3150 PyObject * obj2 = 0 ;
3151 PyObject * obj3 = 0 ;
d14a1e28
RD
3152 char *kwnames[] = {
3153 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3154 };
3155
8edf1c75
RD
3156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3157 if (obj0) {
2f4c0a16
RD
3158 arg1 = (int) SWIG_AsInt(obj0);
3159 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3160 }
3161 if (obj1) {
2f4c0a16
RD
3162 arg2 = (int) SWIG_AsInt(obj1);
3163 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3164 }
3165 if (obj2) {
2f4c0a16
RD
3166 arg3 = (int) SWIG_AsInt(obj2);
3167 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3168 }
3169 if (obj3) {
2f4c0a16
RD
3170 arg4 = (int) SWIG_AsInt(obj3);
3171 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3172 }
d14a1e28
RD
3173 {
3174 PyThreadState* __tstate = wxPyBeginAllowThreads();
3175 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3176
3177 wxPyEndAllowThreads(__tstate);
3178 if (PyErr_Occurred()) SWIG_fail;
3179 }
2f4c0a16 3180 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3181 return resultobj;
3182 fail:
3183 return NULL;
3184}
3185
3186
2f4c0a16 3187static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3188 PyObject *resultobj;
3189 wxPoint *arg1 = 0 ;
3190 wxPoint *arg2 = 0 ;
3191 wxRect *result;
3192 wxPoint temp1 ;
3193 wxPoint temp2 ;
3194 PyObject * obj0 = 0 ;
3195 PyObject * obj1 = 0 ;
3196 char *kwnames[] = {
3197 (char *) "topLeft",(char *) "bottomRight", NULL
3198 };
3199
3200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3201 {
3202 arg1 = &temp1;
3203 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3204 }
3205 {
3206 arg2 = &temp2;
3207 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3208 }
3209 {
3210 PyThreadState* __tstate = wxPyBeginAllowThreads();
3211 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3212
3213 wxPyEndAllowThreads(__tstate);
3214 if (PyErr_Occurred()) SWIG_fail;
3215 }
2f4c0a16 3216 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3217 return resultobj;
3218 fail:
3219 return NULL;
3220}
3221
3222
2f4c0a16 3223static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3224 PyObject *resultobj;
3225 wxPoint *arg1 = 0 ;
3226 wxSize *arg2 = 0 ;
3227 wxRect *result;
3228 wxPoint temp1 ;
3229 wxSize temp2 ;
3230 PyObject * obj0 = 0 ;
3231 PyObject * obj1 = 0 ;
3232 char *kwnames[] = {
3233 (char *) "pos",(char *) "size", NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3237 {
3238 arg1 = &temp1;
3239 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3240 }
3241 {
3242 arg2 = &temp2;
3243 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3244 }
3245 {
3246 PyThreadState* __tstate = wxPyBeginAllowThreads();
3247 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3248
3249 wxPyEndAllowThreads(__tstate);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
2f4c0a16 3252 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3253 return resultobj;
3254 fail:
3255 return NULL;
3256}
3257
3258
2f4c0a16 3259static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3260 PyObject *resultobj;
3261 wxRect *arg1 = (wxRect *) 0 ;
3262 PyObject * obj0 = 0 ;
3263 char *kwnames[] = {
3264 (char *) "self", NULL
3265 };
3266
3267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
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
2f4c0a16 3284static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3285 PyObject *resultobj;
3286 wxRect *arg1 = (wxRect *) 0 ;
3287 int result;
3288 PyObject * obj0 = 0 ;
3289 char *kwnames[] = {
3290 (char *) "self", NULL
3291 };
3292
3293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3296 {
3297 PyThreadState* __tstate = wxPyBeginAllowThreads();
3298 result = (int)((wxRect const *)arg1)->GetX();
3299
3300 wxPyEndAllowThreads(__tstate);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
2f4c0a16 3303 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3304 return resultobj;
3305 fail:
3306 return NULL;
3307}
3308
3309
2f4c0a16 3310static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3311 PyObject *resultobj;
3312 wxRect *arg1 = (wxRect *) 0 ;
3313 int arg2 ;
3314 PyObject * obj0 = 0 ;
8edf1c75 3315 PyObject * obj1 = 0 ;
d14a1e28
RD
3316 char *kwnames[] = {
3317 (char *) "self",(char *) "x", NULL
3318 };
3319
8edf1c75 3320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3323 arg2 = (int) SWIG_AsInt(obj1);
3324 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 (arg1)->SetX(arg2);
3328
3329 wxPyEndAllowThreads(__tstate);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 Py_INCREF(Py_None); resultobj = Py_None;
3333 return resultobj;
3334 fail:
3335 return NULL;
3336}
3337
3338
2f4c0a16 3339static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3340 PyObject *resultobj;
3341 wxRect *arg1 = (wxRect *) 0 ;
3342 int result;
3343 PyObject * obj0 = 0 ;
3344 char *kwnames[] = {
3345 (char *) "self", NULL
3346 };
3347
3348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 result = (int)(arg1)->GetY();
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
2f4c0a16 3358 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3359 return resultobj;
3360 fail:
3361 return NULL;
3362}
3363
3364
2f4c0a16 3365static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3366 PyObject *resultobj;
3367 wxRect *arg1 = (wxRect *) 0 ;
3368 int arg2 ;
3369 PyObject * obj0 = 0 ;
8edf1c75 3370 PyObject * obj1 = 0 ;
d14a1e28
RD
3371 char *kwnames[] = {
3372 (char *) "self",(char *) "y", NULL
3373 };
3374
8edf1c75 3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3378 arg2 = (int) SWIG_AsInt(obj1);
3379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3380 {
3381 PyThreadState* __tstate = wxPyBeginAllowThreads();
3382 (arg1)->SetY(arg2);
3383
3384 wxPyEndAllowThreads(__tstate);
3385 if (PyErr_Occurred()) SWIG_fail;
3386 }
3387 Py_INCREF(Py_None); resultobj = Py_None;
3388 return resultobj;
3389 fail:
3390 return NULL;
3391}
3392
3393
2f4c0a16 3394static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3395 PyObject *resultobj;
3396 wxRect *arg1 = (wxRect *) 0 ;
3397 int result;
3398 PyObject * obj0 = 0 ;
3399 char *kwnames[] = {
3400 (char *) "self", NULL
3401 };
3402
3403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3406 {
3407 PyThreadState* __tstate = wxPyBeginAllowThreads();
3408 result = (int)((wxRect const *)arg1)->GetWidth();
3409
3410 wxPyEndAllowThreads(__tstate);
3411 if (PyErr_Occurred()) SWIG_fail;
3412 }
2f4c0a16 3413 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3414 return resultobj;
3415 fail:
3416 return NULL;
3417}
3418
3419
2f4c0a16 3420static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3421 PyObject *resultobj;
3422 wxRect *arg1 = (wxRect *) 0 ;
3423 int arg2 ;
3424 PyObject * obj0 = 0 ;
8edf1c75 3425 PyObject * obj1 = 0 ;
d14a1e28
RD
3426 char *kwnames[] = {
3427 (char *) "self",(char *) "w", NULL
3428 };
3429
8edf1c75 3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3433 arg2 = (int) SWIG_AsInt(obj1);
3434 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 (arg1)->SetWidth(arg2);
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 Py_INCREF(Py_None); resultobj = Py_None;
3443 return resultobj;
3444 fail:
3445 return NULL;
3446}
3447
3448
2f4c0a16 3449static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3450 PyObject *resultobj;
3451 wxRect *arg1 = (wxRect *) 0 ;
3452 int result;
3453 PyObject * obj0 = 0 ;
3454 char *kwnames[] = {
3455 (char *) "self", NULL
3456 };
3457
3458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3461 {
3462 PyThreadState* __tstate = wxPyBeginAllowThreads();
3463 result = (int)((wxRect const *)arg1)->GetHeight();
3464
3465 wxPyEndAllowThreads(__tstate);
3466 if (PyErr_Occurred()) SWIG_fail;
3467 }
2f4c0a16 3468 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3469 return resultobj;
3470 fail:
3471 return NULL;
3472}
3473
3474
2f4c0a16 3475static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3476 PyObject *resultobj;
3477 wxRect *arg1 = (wxRect *) 0 ;
3478 int arg2 ;
3479 PyObject * obj0 = 0 ;
8edf1c75 3480 PyObject * obj1 = 0 ;
d14a1e28
RD
3481 char *kwnames[] = {
3482 (char *) "self",(char *) "h", NULL
3483 };
3484
8edf1c75 3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3488 arg2 = (int) SWIG_AsInt(obj1);
3489 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3490 {
3491 PyThreadState* __tstate = wxPyBeginAllowThreads();
3492 (arg1)->SetHeight(arg2);
3493
3494 wxPyEndAllowThreads(__tstate);
3495 if (PyErr_Occurred()) SWIG_fail;
3496 }
3497 Py_INCREF(Py_None); resultobj = Py_None;
3498 return resultobj;
3499 fail:
3500 return NULL;
3501}
3502
3503
2f4c0a16 3504static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3505 PyObject *resultobj;
3506 wxRect *arg1 = (wxRect *) 0 ;
3507 wxPoint result;
3508 PyObject * obj0 = 0 ;
3509 char *kwnames[] = {
3510 (char *) "self", NULL
3511 };
3512
3513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3516 {
3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3518 result = ((wxRect const *)arg1)->GetPosition();
3519
3520 wxPyEndAllowThreads(__tstate);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 }
3523 {
3524 wxPoint * resultptr;
3525 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 3526 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3527 }
3528 return resultobj;
3529 fail:
3530 return NULL;
3531}
3532
3533
2f4c0a16 3534static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3535 PyObject *resultobj;
3536 wxRect *arg1 = (wxRect *) 0 ;
3537 wxPoint *arg2 = 0 ;
3538 wxPoint temp2 ;
3539 PyObject * obj0 = 0 ;
3540 PyObject * obj1 = 0 ;
3541 char *kwnames[] = {
3542 (char *) "self",(char *) "p", NULL
3543 };
3544
3545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3548 {
3549 arg2 = &temp2;
3550 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3551 }
3552 {
3553 PyThreadState* __tstate = wxPyBeginAllowThreads();
3554 (arg1)->SetPosition((wxPoint const &)*arg2);
3555
3556 wxPyEndAllowThreads(__tstate);
3557 if (PyErr_Occurred()) SWIG_fail;
3558 }
3559 Py_INCREF(Py_None); resultobj = Py_None;
3560 return resultobj;
3561 fail:
3562 return NULL;
3563}
3564
3565
2f4c0a16 3566static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3567 PyObject *resultobj;
3568 wxRect *arg1 = (wxRect *) 0 ;
3569 wxSize result;
3570 PyObject * obj0 = 0 ;
3571 char *kwnames[] = {
3572 (char *) "self", NULL
3573 };
3574
3575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 result = ((wxRect const *)arg1)->GetSize();
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 {
3586 wxSize * resultptr;
3587 resultptr = new wxSize((wxSize &) result);
2f4c0a16 3588 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3589 }
3590 return resultobj;
3591 fail:
3592 return NULL;
3593}
3594
3595
2f4c0a16 3596static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3597 PyObject *resultobj;
3598 wxRect *arg1 = (wxRect *) 0 ;
3599 wxSize *arg2 = 0 ;
3600 wxSize temp2 ;
3601 PyObject * obj0 = 0 ;
3602 PyObject * obj1 = 0 ;
3603 char *kwnames[] = {
3604 (char *) "self",(char *) "s", NULL
3605 };
3606
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3610 {
3611 arg2 = &temp2;
3612 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3613 }
3614 {
3615 PyThreadState* __tstate = wxPyBeginAllowThreads();
3616 (arg1)->SetSize((wxSize const &)*arg2);
3617
3618 wxPyEndAllowThreads(__tstate);
3619 if (PyErr_Occurred()) SWIG_fail;
3620 }
3621 Py_INCREF(Py_None); resultobj = Py_None;
3622 return resultobj;
3623 fail:
3624 return NULL;
3625}
3626
3627
2f4c0a16 3628static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
9fd4be55
RD
3629 PyObject *resultobj;
3630 wxRect *arg1 = (wxRect *) 0 ;
3631 wxPoint result;
3632 PyObject * obj0 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 result = ((wxRect const *)arg1)->GetTopLeft();
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 {
3648 wxPoint * resultptr;
3649 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 3650 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9fd4be55
RD
3651 }
3652 return resultobj;
3653 fail:
3654 return NULL;
3655}
3656
3657
2f4c0a16 3658static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
9fd4be55
RD
3659 PyObject *resultobj;
3660 wxRect *arg1 = (wxRect *) 0 ;
3661 wxPoint *arg2 = 0 ;
3662 wxPoint temp2 ;
3663 PyObject * obj0 = 0 ;
3664 PyObject * obj1 = 0 ;
3665 char *kwnames[] = {
3666 (char *) "self",(char *) "p", NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
3672 {
3673 arg2 = &temp2;
3674 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3675 }
3676 {
3677 PyThreadState* __tstate = wxPyBeginAllowThreads();
3678 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3679
3680 wxPyEndAllowThreads(__tstate);
3681 if (PyErr_Occurred()) SWIG_fail;
3682 }
3683 Py_INCREF(Py_None); resultobj = Py_None;
3684 return resultobj;
3685 fail:
3686 return NULL;
3687}
3688
3689
2f4c0a16 3690static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
9fd4be55
RD
3691 PyObject *resultobj;
3692 wxRect *arg1 = (wxRect *) 0 ;
3693 wxPoint result;
3694 PyObject * obj0 = 0 ;
3695 char *kwnames[] = {
3696 (char *) "self", NULL
3697 };
3698
3699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
3702 {
3703 PyThreadState* __tstate = wxPyBeginAllowThreads();
3704 result = ((wxRect const *)arg1)->GetBottomRight();
3705
3706 wxPyEndAllowThreads(__tstate);
3707 if (PyErr_Occurred()) SWIG_fail;
3708 }
3709 {
3710 wxPoint * resultptr;
3711 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 3712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9fd4be55
RD
3713 }
3714 return resultobj;
3715 fail:
3716 return NULL;
3717}
3718
3719
2f4c0a16 3720static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
9fd4be55
RD
3721 PyObject *resultobj;
3722 wxRect *arg1 = (wxRect *) 0 ;
3723 wxPoint *arg2 = 0 ;
3724 wxPoint temp2 ;
3725 PyObject * obj0 = 0 ;
3726 PyObject * obj1 = 0 ;
3727 char *kwnames[] = {
3728 (char *) "self",(char *) "p", NULL
3729 };
3730
3731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
3734 {
3735 arg2 = &temp2;
3736 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3737 }
3738 {
3739 PyThreadState* __tstate = wxPyBeginAllowThreads();
3740 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3741
3742 wxPyEndAllowThreads(__tstate);
3743 if (PyErr_Occurred()) SWIG_fail;
3744 }
3745 Py_INCREF(Py_None); resultobj = Py_None;
3746 return resultobj;
3747 fail:
3748 return NULL;
3749}
3750
3751
2f4c0a16 3752static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3753 PyObject *resultobj;
3754 wxRect *arg1 = (wxRect *) 0 ;
3755 int result;
3756 PyObject * obj0 = 0 ;
3757 char *kwnames[] = {
3758 (char *) "self", NULL
3759 };
3760
3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 result = (int)((wxRect const *)arg1)->GetLeft();
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
2f4c0a16 3771 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3772 return resultobj;
3773 fail:
3774 return NULL;
3775}
3776
3777
2f4c0a16 3778static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3779 PyObject *resultobj;
3780 wxRect *arg1 = (wxRect *) 0 ;
3781 int result;
3782 PyObject * obj0 = 0 ;
3783 char *kwnames[] = {
3784 (char *) "self", NULL
3785 };
3786
3787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3790 {
3791 PyThreadState* __tstate = wxPyBeginAllowThreads();
3792 result = (int)((wxRect const *)arg1)->GetTop();
3793
3794 wxPyEndAllowThreads(__tstate);
3795 if (PyErr_Occurred()) SWIG_fail;
3796 }
2f4c0a16 3797 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3798 return resultobj;
3799 fail:
3800 return NULL;
3801}
3802
3803
2f4c0a16 3804static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3805 PyObject *resultobj;
3806 wxRect *arg1 = (wxRect *) 0 ;
3807 int result;
3808 PyObject * obj0 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "self", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 result = (int)((wxRect const *)arg1)->GetBottom();
3819
3820 wxPyEndAllowThreads(__tstate);
3821 if (PyErr_Occurred()) SWIG_fail;
3822 }
2f4c0a16 3823 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3824 return resultobj;
3825 fail:
3826 return NULL;
3827}
3828
3829
2f4c0a16 3830static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3831 PyObject *resultobj;
3832 wxRect *arg1 = (wxRect *) 0 ;
3833 int result;
3834 PyObject * obj0 = 0 ;
3835 char *kwnames[] = {
3836 (char *) "self", NULL
3837 };
3838
3839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3842 {
3843 PyThreadState* __tstate = wxPyBeginAllowThreads();
3844 result = (int)((wxRect const *)arg1)->GetRight();
3845
3846 wxPyEndAllowThreads(__tstate);
3847 if (PyErr_Occurred()) SWIG_fail;
3848 }
2f4c0a16 3849 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3850 return resultobj;
3851 fail:
3852 return NULL;
3853}
3854
3855
2f4c0a16 3856static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3857 PyObject *resultobj;
3858 wxRect *arg1 = (wxRect *) 0 ;
3859 int arg2 ;
3860 PyObject * obj0 = 0 ;
8edf1c75 3861 PyObject * obj1 = 0 ;
d14a1e28
RD
3862 char *kwnames[] = {
3863 (char *) "self",(char *) "left", NULL
3864 };
3865
8edf1c75 3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3869 arg2 = (int) SWIG_AsInt(obj1);
3870 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3871 {
3872 PyThreadState* __tstate = wxPyBeginAllowThreads();
3873 (arg1)->SetLeft(arg2);
3874
3875 wxPyEndAllowThreads(__tstate);
3876 if (PyErr_Occurred()) SWIG_fail;
3877 }
3878 Py_INCREF(Py_None); resultobj = Py_None;
3879 return resultobj;
3880 fail:
3881 return NULL;
3882}
3883
3884
2f4c0a16 3885static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3886 PyObject *resultobj;
3887 wxRect *arg1 = (wxRect *) 0 ;
3888 int arg2 ;
3889 PyObject * obj0 = 0 ;
8edf1c75 3890 PyObject * obj1 = 0 ;
d14a1e28
RD
3891 char *kwnames[] = {
3892 (char *) "self",(char *) "right", NULL
3893 };
3894
8edf1c75 3895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3898 arg2 = (int) SWIG_AsInt(obj1);
3899 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3900 {
3901 PyThreadState* __tstate = wxPyBeginAllowThreads();
3902 (arg1)->SetRight(arg2);
3903
3904 wxPyEndAllowThreads(__tstate);
3905 if (PyErr_Occurred()) SWIG_fail;
3906 }
3907 Py_INCREF(Py_None); resultobj = Py_None;
3908 return resultobj;
3909 fail:
3910 return NULL;
3911}
3912
3913
2f4c0a16 3914static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3915 PyObject *resultobj;
3916 wxRect *arg1 = (wxRect *) 0 ;
3917 int arg2 ;
3918 PyObject * obj0 = 0 ;
8edf1c75 3919 PyObject * obj1 = 0 ;
d14a1e28
RD
3920 char *kwnames[] = {
3921 (char *) "self",(char *) "top", NULL
3922 };
3923
8edf1c75 3924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3927 arg2 = (int) SWIG_AsInt(obj1);
3928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 (arg1)->SetTop(arg2);
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 Py_INCREF(Py_None); resultobj = Py_None;
3937 return resultobj;
3938 fail:
3939 return NULL;
3940}
3941
3942
2f4c0a16 3943static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3944 PyObject *resultobj;
3945 wxRect *arg1 = (wxRect *) 0 ;
3946 int arg2 ;
3947 PyObject * obj0 = 0 ;
8edf1c75 3948 PyObject * obj1 = 0 ;
d14a1e28
RD
3949 char *kwnames[] = {
3950 (char *) "self",(char *) "bottom", NULL
3951 };
3952
8edf1c75 3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3956 arg2 = (int) SWIG_AsInt(obj1);
3957 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3958 {
3959 PyThreadState* __tstate = wxPyBeginAllowThreads();
3960 (arg1)->SetBottom(arg2);
3961
3962 wxPyEndAllowThreads(__tstate);
3963 if (PyErr_Occurred()) SWIG_fail;
3964 }
3965 Py_INCREF(Py_None); resultobj = Py_None;
3966 return resultobj;
3967 fail:
3968 return NULL;
3969}
3970
3971
2f4c0a16 3972static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3973 PyObject *resultobj;
3974 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
3975 int arg2 ;
3976 int arg3 ;
d14a1e28
RD
3977 wxRect *result;
3978 PyObject * obj0 = 0 ;
8edf1c75
RD
3979 PyObject * obj1 = 0 ;
3980 PyObject * obj2 = 0 ;
d14a1e28
RD
3981 char *kwnames[] = {
3982 (char *) "self",(char *) "dx",(char *) "dy", NULL
3983 };
3984
8edf1c75 3985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3988 arg2 = (int) SWIG_AsInt(obj1);
3989 if (PyErr_Occurred()) SWIG_fail;
3990 arg3 = (int) SWIG_AsInt(obj2);
3991 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3992 {
3993 PyThreadState* __tstate = wxPyBeginAllowThreads();
3994 {
3995 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
3996 result = (wxRect *) &_result_ref;
3997 }
3998
3999 wxPyEndAllowThreads(__tstate);
4000 if (PyErr_Occurred()) SWIG_fail;
4001 }
2f4c0a16 4002 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4003 return resultobj;
4004 fail:
4005 return NULL;
4006}
4007
4008
2f4c0a16 4009static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4010 PyObject *resultobj;
4011 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
4012 int arg2 ;
4013 int arg3 ;
d14a1e28
RD
4014 wxRect *result;
4015 PyObject * obj0 = 0 ;
8edf1c75
RD
4016 PyObject * obj1 = 0 ;
4017 PyObject * obj2 = 0 ;
d14a1e28
RD
4018 char *kwnames[] = {
4019 (char *) "self",(char *) "dx",(char *) "dy", NULL
4020 };
4021
8edf1c75 4022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4025 arg2 = (int) SWIG_AsInt(obj1);
4026 if (PyErr_Occurred()) SWIG_fail;
4027 arg3 = (int) SWIG_AsInt(obj2);
4028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4029 {
4030 PyThreadState* __tstate = wxPyBeginAllowThreads();
4031 {
4032 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4033 result = (wxRect *) &_result_ref;
4034 }
4035
4036 wxPyEndAllowThreads(__tstate);
4037 if (PyErr_Occurred()) SWIG_fail;
4038 }
2f4c0a16 4039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4040 return resultobj;
4041 fail:
4042 return NULL;
4043}
4044
4045
2f4c0a16 4046static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4047 PyObject *resultobj;
4048 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
4049 int arg2 ;
4050 int arg3 ;
d14a1e28 4051 PyObject * obj0 = 0 ;
8edf1c75
RD
4052 PyObject * obj1 = 0 ;
4053 PyObject * obj2 = 0 ;
d14a1e28
RD
4054 char *kwnames[] = {
4055 (char *) "self",(char *) "dx",(char *) "dy", NULL
4056 };
4057
8edf1c75 4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4061 arg2 = (int) SWIG_AsInt(obj1);
4062 if (PyErr_Occurred()) SWIG_fail;
4063 arg3 = (int) SWIG_AsInt(obj2);
4064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4065 {
4066 PyThreadState* __tstate = wxPyBeginAllowThreads();
4067 (arg1)->Offset(arg2,arg3);
4068
4069 wxPyEndAllowThreads(__tstate);
4070 if (PyErr_Occurred()) SWIG_fail;
4071 }
4072 Py_INCREF(Py_None); resultobj = Py_None;
4073 return resultobj;
4074 fail:
4075 return NULL;
4076}
4077
4078
2f4c0a16 4079static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4080 PyObject *resultobj;
4081 wxRect *arg1 = (wxRect *) 0 ;
4082 wxPoint *arg2 = 0 ;
4083 wxPoint temp2 ;
4084 PyObject * obj0 = 0 ;
4085 PyObject * obj1 = 0 ;
4086 char *kwnames[] = {
4087 (char *) "self",(char *) "pt", NULL
4088 };
4089
4090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4093 {
4094 arg2 = &temp2;
4095 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4096 }
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 (arg1)->Offset((wxPoint const &)*arg2);
4100
4101 wxPyEndAllowThreads(__tstate);
4102 if (PyErr_Occurred()) SWIG_fail;
4103 }
4104 Py_INCREF(Py_None); resultobj = Py_None;
4105 return resultobj;
4106 fail:
4107 return NULL;
4108}
4109
4110
2f4c0a16 4111static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4112 PyObject *resultobj;
4113 wxRect *arg1 = (wxRect *) 0 ;
4114 wxRect *arg2 = 0 ;
4115 wxRect *result;
4116 wxRect temp2 ;
4117 PyObject * obj0 = 0 ;
4118 PyObject * obj1 = 0 ;
4119 char *kwnames[] = {
4120 (char *) "self",(char *) "rect", NULL
4121 };
4122
4123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4126 {
4127 arg2 = &temp2;
4128 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4129 }
4130 {
4131 PyThreadState* __tstate = wxPyBeginAllowThreads();
4132 {
4133 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4134 result = (wxRect *) &_result_ref;
4135 }
4136
4137 wxPyEndAllowThreads(__tstate);
4138 if (PyErr_Occurred()) SWIG_fail;
4139 }
2f4c0a16 4140 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4141 return resultobj;
4142 fail:
4143 return NULL;
4144}
4145
4146
2f4c0a16 4147static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4148 PyObject *resultobj;
4149 wxRect *arg1 = (wxRect *) 0 ;
4150 wxRect *arg2 = 0 ;
4151 wxRect result;
4152 wxRect temp2 ;
4153 PyObject * obj0 = 0 ;
4154 PyObject * obj1 = 0 ;
4155 char *kwnames[] = {
4156 (char *) "self",(char *) "rect", NULL
4157 };
4158
4159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4162 {
4163 arg2 = &temp2;
4164 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4165 }
4166 {
4167 PyThreadState* __tstate = wxPyBeginAllowThreads();
4168 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4169
4170 wxPyEndAllowThreads(__tstate);
4171 if (PyErr_Occurred()) SWIG_fail;
4172 }
4173 {
4174 wxRect * resultptr;
4175 resultptr = new wxRect((wxRect &) result);
2f4c0a16 4176 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4177 }
4178 return resultobj;
4179 fail:
4180 return NULL;
4181}
4182
4183
2f4c0a16 4184static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4185 PyObject *resultobj;
4186 wxRect *arg1 = (wxRect *) 0 ;
4187 wxRect *arg2 = 0 ;
4188 wxRect *result;
4189 wxRect temp2 ;
4190 PyObject * obj0 = 0 ;
4191 PyObject * obj1 = 0 ;
4192 char *kwnames[] = {
4193 (char *) "self",(char *) "rect", NULL
4194 };
4195
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4199 {
4200 arg2 = &temp2;
4201 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4202 }
4203 {
4204 PyThreadState* __tstate = wxPyBeginAllowThreads();
4205 {
4206 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4207 result = (wxRect *) &_result_ref;
4208 }
4209
4210 wxPyEndAllowThreads(__tstate);
4211 if (PyErr_Occurred()) SWIG_fail;
4212 }
2f4c0a16 4213 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4214 return resultobj;
4215 fail:
4216 return NULL;
4217}
4218
4219
2f4c0a16 4220static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4221 PyObject *resultobj;
4222 wxRect *arg1 = (wxRect *) 0 ;
4223 wxRect *arg2 = 0 ;
4224 bool result;
4225 wxRect temp2 ;
4226 PyObject * obj0 = 0 ;
4227 PyObject * obj1 = 0 ;
4228 char *kwnames[] = {
4229 (char *) "self",(char *) "rect", NULL
4230 };
4231
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4235 {
4236 arg2 = &temp2;
4237 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4238 }
4239 {
4240 PyThreadState* __tstate = wxPyBeginAllowThreads();
4241 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4242
4243 wxPyEndAllowThreads(__tstate);
4244 if (PyErr_Occurred()) SWIG_fail;
4245 }
02a34c4c 4246 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4247 return resultobj;
4248 fail:
4249 return NULL;
4250}
4251
4252
2f4c0a16 4253static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4254 PyObject *resultobj;
4255 wxRect *arg1 = (wxRect *) 0 ;
4256 wxRect *arg2 = 0 ;
4257 bool result;
4258 wxRect temp2 ;
4259 PyObject * obj0 = 0 ;
4260 PyObject * obj1 = 0 ;
4261 char *kwnames[] = {
4262 (char *) "self",(char *) "rect", NULL
4263 };
4264
4265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4268 {
4269 arg2 = &temp2;
4270 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4271 }
4272 {
4273 PyThreadState* __tstate = wxPyBeginAllowThreads();
4274 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4275
4276 wxPyEndAllowThreads(__tstate);
4277 if (PyErr_Occurred()) SWIG_fail;
4278 }
02a34c4c 4279 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4280 return resultobj;
4281 fail:
4282 return NULL;
4283}
4284
4285
2f4c0a16 4286static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4287 PyObject *resultobj;
4288 wxRect *arg1 = (wxRect *) 0 ;
4289 int arg2 ;
4290 int arg3 ;
4291 bool result;
4292 PyObject * obj0 = 0 ;
8edf1c75
RD
4293 PyObject * obj1 = 0 ;
4294 PyObject * obj2 = 0 ;
d14a1e28
RD
4295 char *kwnames[] = {
4296 (char *) "self",(char *) "x",(char *) "y", NULL
4297 };
4298
8edf1c75 4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4302 arg2 = (int) SWIG_AsInt(obj1);
4303 if (PyErr_Occurred()) SWIG_fail;
4304 arg3 = (int) SWIG_AsInt(obj2);
4305 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
4308 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4309
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
02a34c4c 4313 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4314 return resultobj;
4315 fail:
4316 return NULL;
4317}
4318
4319
2f4c0a16 4320static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4321 PyObject *resultobj;
4322 wxRect *arg1 = (wxRect *) 0 ;
4323 wxPoint *arg2 = 0 ;
4324 bool result;
4325 wxPoint temp2 ;
4326 PyObject * obj0 = 0 ;
4327 PyObject * obj1 = 0 ;
4328 char *kwnames[] = {
4329 (char *) "self",(char *) "pt", NULL
4330 };
4331
4332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4335 {
4336 arg2 = &temp2;
4337 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4338 }
4339 {
4340 PyThreadState* __tstate = wxPyBeginAllowThreads();
4341 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4342
4343 wxPyEndAllowThreads(__tstate);
4344 if (PyErr_Occurred()) SWIG_fail;
4345 }
02a34c4c 4346 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4347 return resultobj;
4348 fail:
4349 return NULL;
4350}
4351
4352
2f4c0a16 4353static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4354 PyObject *resultobj;
4355 wxRect *arg1 = (wxRect *) 0 ;
4356 wxRect *arg2 = 0 ;
4357 bool result;
4358 wxRect temp2 ;
4359 PyObject * obj0 = 0 ;
4360 PyObject * obj1 = 0 ;
4361 char *kwnames[] = {
4362 (char *) "self",(char *) "rect", NULL
4363 };
4364
4365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4368 {
4369 arg2 = &temp2;
4370 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4371 }
4372 {
4373 PyThreadState* __tstate = wxPyBeginAllowThreads();
4374 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4375
4376 wxPyEndAllowThreads(__tstate);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
02a34c4c 4379 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4380 return resultobj;
4381 fail:
4382 return NULL;
4383}
4384
4385
2f4c0a16 4386static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4387 PyObject *resultobj;
4388 wxRect *arg1 = (wxRect *) 0 ;
4389 int arg2 ;
4390 PyObject * obj0 = 0 ;
8edf1c75 4391 PyObject * obj1 = 0 ;
d14a1e28
RD
4392 char *kwnames[] = {
4393 (char *) "self",(char *) "x", NULL
4394 };
4395
8edf1c75 4396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4399 arg2 = (int) SWIG_AsInt(obj1);
4400 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4401 if (arg1) (arg1)->x = arg2;
4402
4403 Py_INCREF(Py_None); resultobj = Py_None;
4404 return resultobj;
4405 fail:
4406 return NULL;
4407}
4408
4409
2f4c0a16 4410static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4411 PyObject *resultobj;
4412 wxRect *arg1 = (wxRect *) 0 ;
4413 int result;
4414 PyObject * obj0 = 0 ;
4415 char *kwnames[] = {
4416 (char *) "self", NULL
4417 };
4418
4419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4422 result = (int) ((arg1)->x);
4423
2f4c0a16 4424 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4425 return resultobj;
4426 fail:
4427 return NULL;
4428}
4429
4430
2f4c0a16 4431static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4432 PyObject *resultobj;
4433 wxRect *arg1 = (wxRect *) 0 ;
4434 int arg2 ;
4435 PyObject * obj0 = 0 ;
8edf1c75 4436 PyObject * obj1 = 0 ;
d14a1e28
RD
4437 char *kwnames[] = {
4438 (char *) "self",(char *) "y", NULL
4439 };
4440
8edf1c75 4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4444 arg2 = (int) SWIG_AsInt(obj1);
4445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4446 if (arg1) (arg1)->y = arg2;
4447
4448 Py_INCREF(Py_None); resultobj = Py_None;
4449 return resultobj;
4450 fail:
4451 return NULL;
4452}
4453
4454
2f4c0a16 4455static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4456 PyObject *resultobj;
4457 wxRect *arg1 = (wxRect *) 0 ;
4458 int result;
4459 PyObject * obj0 = 0 ;
4460 char *kwnames[] = {
4461 (char *) "self", NULL
4462 };
4463
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4467 result = (int) ((arg1)->y);
4468
2f4c0a16 4469 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4470 return resultobj;
4471 fail:
4472 return NULL;
4473}
4474
4475
2f4c0a16 4476static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4477 PyObject *resultobj;
4478 wxRect *arg1 = (wxRect *) 0 ;
4479 int arg2 ;
4480 PyObject * obj0 = 0 ;
8edf1c75 4481 PyObject * obj1 = 0 ;
d14a1e28
RD
4482 char *kwnames[] = {
4483 (char *) "self",(char *) "width", NULL
4484 };
4485
8edf1c75 4486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4489 arg2 = (int) SWIG_AsInt(obj1);
4490 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4491 if (arg1) (arg1)->width = arg2;
4492
4493 Py_INCREF(Py_None); resultobj = Py_None;
4494 return resultobj;
4495 fail:
4496 return NULL;
4497}
4498
4499
2f4c0a16 4500static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4501 PyObject *resultobj;
4502 wxRect *arg1 = (wxRect *) 0 ;
4503 int result;
4504 PyObject * obj0 = 0 ;
4505 char *kwnames[] = {
4506 (char *) "self", NULL
4507 };
4508
4509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4512 result = (int) ((arg1)->width);
4513
2f4c0a16 4514 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4515 return resultobj;
4516 fail:
4517 return NULL;
4518}
4519
4520
2f4c0a16 4521static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4522 PyObject *resultobj;
4523 wxRect *arg1 = (wxRect *) 0 ;
4524 int arg2 ;
4525 PyObject * obj0 = 0 ;
8edf1c75 4526 PyObject * obj1 = 0 ;
d14a1e28
RD
4527 char *kwnames[] = {
4528 (char *) "self",(char *) "height", NULL
4529 };
4530
8edf1c75 4531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4534 arg2 = (int) SWIG_AsInt(obj1);
4535 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4536 if (arg1) (arg1)->height = arg2;
4537
4538 Py_INCREF(Py_None); resultobj = Py_None;
4539 return resultobj;
4540 fail:
4541 return NULL;
4542}
4543
4544
2f4c0a16 4545static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4546 PyObject *resultobj;
4547 wxRect *arg1 = (wxRect *) 0 ;
4548 int result;
4549 PyObject * obj0 = 0 ;
4550 char *kwnames[] = {
4551 (char *) "self", NULL
4552 };
4553
4554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4557 result = (int) ((arg1)->height);
4558
2f4c0a16 4559 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4560 return resultobj;
4561 fail:
4562 return NULL;
4563}
4564
4565
2f4c0a16 4566static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4567 PyObject *resultobj;
4568 wxRect *arg1 = (wxRect *) 0 ;
4569 int arg2 = (int) 0 ;
4570 int arg3 = (int) 0 ;
4571 int arg4 = (int) 0 ;
4572 int arg5 = (int) 0 ;
4573 PyObject * obj0 = 0 ;
8edf1c75
RD
4574 PyObject * obj1 = 0 ;
4575 PyObject * obj2 = 0 ;
4576 PyObject * obj3 = 0 ;
4577 PyObject * obj4 = 0 ;
d14a1e28
RD
4578 char *kwnames[] = {
4579 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4580 };
4581
8edf1c75 4582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
4583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 4585 if (obj1) {
2f4c0a16
RD
4586 arg2 = (int) SWIG_AsInt(obj1);
4587 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4588 }
4589 if (obj2) {
2f4c0a16
RD
4590 arg3 = (int) SWIG_AsInt(obj2);
4591 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4592 }
4593 if (obj3) {
2f4c0a16
RD
4594 arg4 = (int) SWIG_AsInt(obj3);
4595 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4596 }
4597 if (obj4) {
2f4c0a16
RD
4598 arg5 = (int) SWIG_AsInt(obj4);
4599 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4600 }
d14a1e28
RD
4601 {
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 Py_INCREF(Py_None); resultobj = Py_None;
4609 return resultobj;
4610 fail:
4611 return NULL;
4612}
4613
4614
2f4c0a16 4615static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4616 PyObject *resultobj;
4617 wxRect *arg1 = (wxRect *) 0 ;
4618 PyObject *result;
4619 PyObject * obj0 = 0 ;
4620 char *kwnames[] = {
4621 (char *) "self", NULL
4622 };
4623
423f194a 4624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4627 {
4628 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 4629 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
4630
4631 wxPyEndAllowThreads(__tstate);
4632 if (PyErr_Occurred()) SWIG_fail;
4633 }
4634 resultobj = result;
4635 return resultobj;
4636 fail:
4637 return NULL;
4638}
4639
4640
2f4c0a16 4641static PyObject * Rect_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4642 PyObject *obj;
4643 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4644 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4645 Py_INCREF(obj);
4646 return Py_BuildValue((char *)"");
4647}
2f4c0a16 4648static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4649 PyObject *resultobj;
4650 wxRect *arg1 = (wxRect *) 0 ;
4651 wxRect *arg2 = (wxRect *) 0 ;
4652 PyObject *result;
4653 PyObject * obj0 = 0 ;
4654 PyObject * obj1 = 0 ;
4655 char *kwnames[] = {
4656 (char *) "r1",(char *) "r2", NULL
4657 };
4658
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4662 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4664 {
4665 PyThreadState* __tstate = wxPyBeginAllowThreads();
4666 result = (PyObject *)wxIntersectRect(arg1,arg2);
4667
4668 wxPyEndAllowThreads(__tstate);
4669 if (PyErr_Occurred()) SWIG_fail;
4670 }
4671 resultobj = result;
4672 return resultobj;
4673 fail:
4674 return NULL;
4675}
4676
4677
2f4c0a16 4678static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4679 PyObject *resultobj;
4680 double arg1 = (double) 0.0 ;
4681 double arg2 = (double) 0.0 ;
4682 wxPoint2D *result;
8edf1c75
RD
4683 PyObject * obj0 = 0 ;
4684 PyObject * obj1 = 0 ;
d14a1e28
RD
4685 char *kwnames[] = {
4686 (char *) "x",(char *) "y", NULL
4687 };
4688
8edf1c75
RD
4689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4690 if (obj0) {
2f4c0a16
RD
4691 arg1 = (double) SWIG_AsDouble(obj0);
4692 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4693 }
4694 if (obj1) {
2f4c0a16
RD
4695 arg2 = (double) SWIG_AsDouble(obj1);
4696 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4697 }
d14a1e28
RD
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
2f4c0a16 4705 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4706 return resultobj;
4707 fail:
4708 return NULL;
4709}
4710
4711
2f4c0a16 4712static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4713 PyObject *resultobj;
4714 wxPoint2D *arg1 = 0 ;
4715 wxPoint2D *result;
4716 wxPoint2D temp1 ;
4717 PyObject * obj0 = 0 ;
4718 char *kwnames[] = {
4719 (char *) "pt", NULL
4720 };
4721
4722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4723 {
4724 arg1 = &temp1;
4725 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4726 }
4727 {
4728 PyThreadState* __tstate = wxPyBeginAllowThreads();
4729 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4730
4731 wxPyEndAllowThreads(__tstate);
4732 if (PyErr_Occurred()) SWIG_fail;
4733 }
2f4c0a16 4734 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4735 return resultobj;
4736 fail:
4737 return NULL;
4738}
4739
4740
2f4c0a16 4741static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4742 PyObject *resultobj;
4743 wxPoint *arg1 = 0 ;
4744 wxPoint2D *result;
4745 wxPoint temp1 ;
4746 PyObject * obj0 = 0 ;
4747 char *kwnames[] = {
4748 (char *) "pt", NULL
4749 };
4750
4751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4752 {
4753 arg1 = &temp1;
4754 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4755 }
4756 {
4757 PyThreadState* __tstate = wxPyBeginAllowThreads();
4758 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4759
4760 wxPyEndAllowThreads(__tstate);
4761 if (PyErr_Occurred()) SWIG_fail;
4762 }
2f4c0a16 4763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4764 return resultobj;
4765 fail:
4766 return NULL;
4767}
4768
4769
2f4c0a16 4770static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4771 PyObject *resultobj;
4772 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4773 int *arg2 = (int *) 0 ;
4774 int *arg3 = (int *) 0 ;
4775 int temp2 ;
4776 int temp3 ;
4777 PyObject * obj0 = 0 ;
4778 char *kwnames[] = {
4779 (char *) "self", NULL
4780 };
4781
4782 arg2 = &temp2;
4783 arg3 = &temp3;
4784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4787 {
4788 PyThreadState* __tstate = wxPyBeginAllowThreads();
4789 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4790
4791 wxPyEndAllowThreads(__tstate);
4792 if (PyErr_Occurred()) SWIG_fail;
4793 }
4794 Py_INCREF(Py_None); resultobj = Py_None;
4795 {
4796 PyObject *o = PyInt_FromLong((long) (*arg2));
4797 resultobj = t_output_helper(resultobj,o);
4798 }
4799 {
4800 PyObject *o = PyInt_FromLong((long) (*arg3));
4801 resultobj = t_output_helper(resultobj,o);
4802 }
4803 return resultobj;
4804 fail:
4805 return NULL;
4806}
4807
4808
2f4c0a16 4809static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4810 PyObject *resultobj;
4811 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4812 int *arg2 = (int *) 0 ;
4813 int *arg3 = (int *) 0 ;
4814 int temp2 ;
4815 int temp3 ;
4816 PyObject * obj0 = 0 ;
4817 char *kwnames[] = {
4818 (char *) "self", NULL
4819 };
4820
4821 arg2 = &temp2;
4822 arg3 = &temp3;
4823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4826 {
4827 PyThreadState* __tstate = wxPyBeginAllowThreads();
4828 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4829
4830 wxPyEndAllowThreads(__tstate);
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 Py_INCREF(Py_None); resultobj = Py_None;
4834 {
4835 PyObject *o = PyInt_FromLong((long) (*arg2));
4836 resultobj = t_output_helper(resultobj,o);
4837 }
4838 {
4839 PyObject *o = PyInt_FromLong((long) (*arg3));
4840 resultobj = t_output_helper(resultobj,o);
4841 }
4842 return resultobj;
4843 fail:
4844 return NULL;
4845}
4846
4847
2f4c0a16 4848static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4849 PyObject *resultobj;
4850 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4851 double result;
4852 PyObject * obj0 = 0 ;
4853 char *kwnames[] = {
4854 (char *) "self", NULL
4855 };
4856
4857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4860 {
4861 PyThreadState* __tstate = wxPyBeginAllowThreads();
4862 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4863
4864 wxPyEndAllowThreads(__tstate);
4865 if (PyErr_Occurred()) SWIG_fail;
4866 }
2f4c0a16 4867 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4868 return resultobj;
4869 fail:
4870 return NULL;
4871}
4872
4873
2f4c0a16 4874static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4875 PyObject *resultobj;
4876 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4877 double result;
4878 PyObject * obj0 = 0 ;
4879 char *kwnames[] = {
4880 (char *) "self", NULL
4881 };
4882
4883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4886 {
4887 PyThreadState* __tstate = wxPyBeginAllowThreads();
4888 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4889
4890 wxPyEndAllowThreads(__tstate);
4891 if (PyErr_Occurred()) SWIG_fail;
4892 }
2f4c0a16 4893 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4894 return resultobj;
4895 fail:
4896 return NULL;
4897}
4898
4899
2f4c0a16 4900static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4901 PyObject *resultobj;
4902 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4903 double arg2 ;
4904 PyObject * obj0 = 0 ;
8edf1c75 4905 PyObject * obj1 = 0 ;
d14a1e28
RD
4906 char *kwnames[] = {
4907 (char *) "self",(char *) "length", NULL
4908 };
4909
8edf1c75 4910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4913 arg2 = (double) SWIG_AsDouble(obj1);
4914 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4915 {
4916 PyThreadState* __tstate = wxPyBeginAllowThreads();
4917 (arg1)->SetVectorLength(arg2);
4918
4919 wxPyEndAllowThreads(__tstate);
4920 if (PyErr_Occurred()) SWIG_fail;
4921 }
4922 Py_INCREF(Py_None); resultobj = Py_None;
4923 return resultobj;
4924 fail:
4925 return NULL;
4926}
4927
4928
2f4c0a16 4929static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4930 PyObject *resultobj;
4931 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4932 double arg2 ;
4933 PyObject * obj0 = 0 ;
8edf1c75 4934 PyObject * obj1 = 0 ;
d14a1e28
RD
4935 char *kwnames[] = {
4936 (char *) "self",(char *) "degrees", NULL
4937 };
4938
8edf1c75 4939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4942 arg2 = (double) SWIG_AsDouble(obj1);
4943 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4944 {
4945 PyThreadState* __tstate = wxPyBeginAllowThreads();
4946 (arg1)->SetVectorAngle(arg2);
4947
4948 wxPyEndAllowThreads(__tstate);
4949 if (PyErr_Occurred()) SWIG_fail;
4950 }
4951 Py_INCREF(Py_None); resultobj = Py_None;
4952 return resultobj;
4953 fail:
4954 return NULL;
4955}
4956
4957
2f4c0a16 4958static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4959 PyObject *resultobj;
4960 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4961 wxPoint2D *arg2 = 0 ;
4962 double result;
4963 wxPoint2D temp2 ;
4964 PyObject * obj0 = 0 ;
4965 PyObject * obj1 = 0 ;
4966 char *kwnames[] = {
4967 (char *) "self",(char *) "pt", NULL
4968 };
4969
4970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4973 {
4974 arg2 = &temp2;
4975 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4976 }
4977 {
4978 PyThreadState* __tstate = wxPyBeginAllowThreads();
4979 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
4980
4981 wxPyEndAllowThreads(__tstate);
4982 if (PyErr_Occurred()) SWIG_fail;
4983 }
2f4c0a16 4984 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4985 return resultobj;
4986 fail:
4987 return NULL;
4988}
4989
4990
2f4c0a16 4991static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4992 PyObject *resultobj;
4993 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4994 wxPoint2D *arg2 = 0 ;
4995 double result;
4996 wxPoint2D temp2 ;
4997 PyObject * obj0 = 0 ;
4998 PyObject * obj1 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self",(char *) "pt", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5006 {
5007 arg2 = &temp2;
5008 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5009 }
5010 {
5011 PyThreadState* __tstate = wxPyBeginAllowThreads();
5012 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5013
5014 wxPyEndAllowThreads(__tstate);
5015 if (PyErr_Occurred()) SWIG_fail;
5016 }
2f4c0a16 5017 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5018 return resultobj;
5019 fail:
5020 return NULL;
5021}
5022
5023
2f4c0a16 5024static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5025 PyObject *resultobj;
5026 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5027 wxPoint2D *arg2 = 0 ;
5028 double result;
5029 wxPoint2D temp2 ;
5030 PyObject * obj0 = 0 ;
5031 PyObject * obj1 = 0 ;
5032 char *kwnames[] = {
5033 (char *) "self",(char *) "vec", NULL
5034 };
5035
5036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5039 {
5040 arg2 = &temp2;
5041 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5042 }
5043 {
5044 PyThreadState* __tstate = wxPyBeginAllowThreads();
5045 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5046
5047 wxPyEndAllowThreads(__tstate);
5048 if (PyErr_Occurred()) SWIG_fail;
5049 }
2f4c0a16 5050 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5051 return resultobj;
5052 fail:
5053 return NULL;
5054}
5055
5056
2f4c0a16 5057static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5058 PyObject *resultobj;
5059 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5060 wxPoint2D *arg2 = 0 ;
5061 double result;
5062 wxPoint2D temp2 ;
5063 PyObject * obj0 = 0 ;
5064 PyObject * obj1 = 0 ;
5065 char *kwnames[] = {
5066 (char *) "self",(char *) "vec", NULL
5067 };
5068
5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5072 {
5073 arg2 = &temp2;
5074 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5075 }
5076 {
5077 PyThreadState* __tstate = wxPyBeginAllowThreads();
5078 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5079
5080 wxPyEndAllowThreads(__tstate);
5081 if (PyErr_Occurred()) SWIG_fail;
5082 }
2f4c0a16 5083 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5084 return resultobj;
5085 fail:
5086 return NULL;
5087}
5088
5089
2f4c0a16 5090static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5091 PyObject *resultobj;
5092 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5093 wxPoint2D result;
5094 PyObject * obj0 = 0 ;
5095 char *kwnames[] = {
5096 (char *) "self", NULL
5097 };
5098
5099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 result = (arg1)->operator -();
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 {
5110 wxPoint2D * resultptr;
5111 resultptr = new wxPoint2D((wxPoint2D &) result);
2f4c0a16 5112 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5113 }
5114 return resultobj;
5115 fail:
5116 return NULL;
5117}
5118
5119
2f4c0a16 5120static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5121 PyObject *resultobj;
5122 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5123 wxPoint2D *arg2 = 0 ;
5124 wxPoint2D *result;
5125 wxPoint2D temp2 ;
5126 PyObject * obj0 = 0 ;
5127 PyObject * obj1 = 0 ;
5128 char *kwnames[] = {
5129 (char *) "self",(char *) "pt", NULL
5130 };
5131
5132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5135 {
5136 arg2 = &temp2;
5137 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5138 }
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
5141 {
5142 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5143 result = (wxPoint2D *) &_result_ref;
5144 }
5145
5146 wxPyEndAllowThreads(__tstate);
5147 if (PyErr_Occurred()) SWIG_fail;
5148 }
2f4c0a16 5149 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5150 return resultobj;
5151 fail:
5152 return NULL;
5153}
5154
5155
2f4c0a16 5156static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5157 PyObject *resultobj;
5158 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5159 wxPoint2D *arg2 = 0 ;
5160 wxPoint2D *result;
5161 wxPoint2D temp2 ;
5162 PyObject * obj0 = 0 ;
5163 PyObject * obj1 = 0 ;
5164 char *kwnames[] = {
5165 (char *) "self",(char *) "pt", NULL
5166 };
5167
5168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5171 {
5172 arg2 = &temp2;
5173 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5174 }
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 {
5178 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5179 result = (wxPoint2D *) &_result_ref;
5180 }
5181
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
2f4c0a16 5185 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5186 return resultobj;
5187 fail:
5188 return NULL;
5189}
5190
5191
2f4c0a16 5192static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5193 PyObject *resultobj;
5194 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5195 wxPoint2D *arg2 = 0 ;
5196 wxPoint2D *result;
5197 wxPoint2D temp2 ;
5198 PyObject * obj0 = 0 ;
5199 PyObject * obj1 = 0 ;
5200 char *kwnames[] = {
5201 (char *) "self",(char *) "pt", NULL
5202 };
5203
5204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5207 {
5208 arg2 = &temp2;
5209 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5210 }
5211 {
5212 PyThreadState* __tstate = wxPyBeginAllowThreads();
5213 {
5214 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5215 result = (wxPoint2D *) &_result_ref;
5216 }
5217
5218 wxPyEndAllowThreads(__tstate);
5219 if (PyErr_Occurred()) SWIG_fail;
5220 }
2f4c0a16 5221 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5222 return resultobj;
5223 fail:
5224 return NULL;
5225}
5226
5227
2f4c0a16 5228static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5229 PyObject *resultobj;
5230 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5231 wxPoint2D *arg2 = 0 ;
5232 wxPoint2D *result;
5233 wxPoint2D temp2 ;
5234 PyObject * obj0 = 0 ;
5235 PyObject * obj1 = 0 ;
5236 char *kwnames[] = {
5237 (char *) "self",(char *) "pt", NULL
5238 };
5239
5240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5243 {
5244 arg2 = &temp2;
5245 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5246 }
5247 {
5248 PyThreadState* __tstate = wxPyBeginAllowThreads();
5249 {
5250 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5251 result = (wxPoint2D *) &_result_ref;
5252 }
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
2f4c0a16 5257 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5258 return resultobj;
5259 fail:
5260 return NULL;
5261}
5262
5263
2f4c0a16 5264static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5265 PyObject *resultobj;
5266 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5267 wxPoint2D *arg2 = 0 ;
5268 bool result;
5269 wxPoint2D temp2 ;
5270 PyObject * obj0 = 0 ;
5271 PyObject * obj1 = 0 ;
5272 char *kwnames[] = {
5273 (char *) "self",(char *) "pt", NULL
5274 };
5275
5276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5279 {
5280 arg2 = &temp2;
5281 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5282 }
5283 {
5284 PyThreadState* __tstate = wxPyBeginAllowThreads();
5285 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5286
5287 wxPyEndAllowThreads(__tstate);
5288 if (PyErr_Occurred()) SWIG_fail;
5289 }
02a34c4c 5290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5291 return resultobj;
5292 fail:
5293 return NULL;
5294}
5295
5296
2f4c0a16 5297static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5298 PyObject *resultobj;
5299 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5300 wxPoint2D *arg2 = 0 ;
5301 bool result;
5302 wxPoint2D temp2 ;
5303 PyObject * obj0 = 0 ;
5304 PyObject * obj1 = 0 ;
5305 char *kwnames[] = {
5306 (char *) "self",(char *) "pt", NULL
5307 };
5308
5309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5312 {
5313 arg2 = &temp2;
5314 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5315 }
5316 {
5317 PyThreadState* __tstate = wxPyBeginAllowThreads();
5318 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5319
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
02a34c4c 5323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5324 return resultobj;
5325 fail:
5326 return NULL;
5327}
5328
5329
2f4c0a16 5330static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5331 PyObject *resultobj;
5332 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5333 double arg2 ;
5334 PyObject * obj0 = 0 ;
8edf1c75 5335 PyObject * obj1 = 0 ;
d14a1e28
RD
5336 char *kwnames[] = {
5337 (char *) "self",(char *) "m_x", NULL
5338 };
5339
8edf1c75 5340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5343 arg2 = (double) SWIG_AsDouble(obj1);
5344 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5345 if (arg1) (arg1)->m_x = arg2;
5346
5347 Py_INCREF(Py_None); resultobj = Py_None;
5348 return resultobj;
5349 fail:
5350 return NULL;
5351}
5352
5353
2f4c0a16 5354static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5355 PyObject *resultobj;
5356 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5357 double result;
5358 PyObject * obj0 = 0 ;
5359 char *kwnames[] = {
5360 (char *) "self", NULL
5361 };
5362
5363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5366 result = (double) ((arg1)->m_x);
5367
2f4c0a16 5368 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5369 return resultobj;
5370 fail:
5371 return NULL;
5372}
5373
5374
2f4c0a16 5375static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5376 PyObject *resultobj;
5377 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5378 double arg2 ;
5379 PyObject * obj0 = 0 ;
8edf1c75 5380 PyObject * obj1 = 0 ;
d14a1e28
RD
5381 char *kwnames[] = {
5382 (char *) "self",(char *) "m_y", NULL
5383 };
5384
8edf1c75 5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5388 arg2 = (double) SWIG_AsDouble(obj1);
5389 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5390 if (arg1) (arg1)->m_y = arg2;
5391
5392 Py_INCREF(Py_None); resultobj = Py_None;
5393 return resultobj;
5394 fail:
5395 return NULL;
5396}
5397
5398
2f4c0a16 5399static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5400 PyObject *resultobj;
5401 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5402 double result;
5403 PyObject * obj0 = 0 ;
5404 char *kwnames[] = {
5405 (char *) "self", NULL
5406 };
5407
5408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5411 result = (double) ((arg1)->m_y);
5412
2f4c0a16 5413 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5414 return resultobj;
5415 fail:
5416 return NULL;
5417}
5418
5419
2f4c0a16 5420static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5421 PyObject *resultobj;
5422 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5423 double arg2 = (double) 0 ;
5424 double arg3 = (double) 0 ;
5425 PyObject * obj0 = 0 ;
8edf1c75
RD
5426 PyObject * obj1 = 0 ;
5427 PyObject * obj2 = 0 ;
d14a1e28
RD
5428 char *kwnames[] = {
5429 (char *) "self",(char *) "x",(char *) "y", NULL
5430 };
5431
8edf1c75 5432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5435 if (obj1) {
2f4c0a16
RD
5436 arg2 = (double) SWIG_AsDouble(obj1);
5437 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5438 }
5439 if (obj2) {
2f4c0a16
RD
5440 arg3 = (double) SWIG_AsDouble(obj2);
5441 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5442 }
d14a1e28
RD
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 wxPoint2D_Set(arg1,arg2,arg3);
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 Py_INCREF(Py_None); resultobj = Py_None;
5451 return resultobj;
5452 fail:
5453 return NULL;
5454}
5455
5456
2f4c0a16 5457static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5458 PyObject *resultobj;
5459 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5460 PyObject *result;
5461 PyObject * obj0 = 0 ;
5462 char *kwnames[] = {
5463 (char *) "self", NULL
5464 };
5465
423f194a 5466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5469 {
5470 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 5471 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
5472
5473 wxPyEndAllowThreads(__tstate);
5474 if (PyErr_Occurred()) SWIG_fail;
5475 }
5476 resultobj = result;
5477 return resultobj;
5478 fail:
5479 return NULL;
5480}
5481
5482
2f4c0a16 5483static PyObject * Point2D_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5484 PyObject *obj;
5485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5486 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5487 Py_INCREF(obj);
5488 return Py_BuildValue((char *)"");
5489}
8edf1c75 5490static int _wrap_DefaultPosition_set(PyObject *) {
d14a1e28
RD
5491 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5492 return 1;
5493}
5494
5495
5496static PyObject *_wrap_DefaultPosition_get() {
5497 PyObject *pyobj;
5498
2f4c0a16 5499 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
5500 return pyobj;
5501}
5502
5503
8edf1c75 5504static int _wrap_DefaultSize_set(PyObject *) {
d14a1e28
RD
5505 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5506 return 1;
5507}
5508
5509
5510static PyObject *_wrap_DefaultSize_get() {
5511 PyObject *pyobj;
5512
2f4c0a16 5513 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
5514 return pyobj;
5515}
5516
5517
2f4c0a16 5518static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5519 PyObject *resultobj;
5520 PyObject *arg1 = (PyObject *) 0 ;
5521 wxPyInputStream *result;
5522 PyObject * obj0 = 0 ;
5523 char *kwnames[] = {
5524 (char *) "p", NULL
5525 };
5526
5527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5528 arg1 = obj0;
5529 {
5530 PyThreadState* __tstate = wxPyBeginAllowThreads();
5531 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5532
5533 wxPyEndAllowThreads(__tstate);
5534 if (PyErr_Occurred()) SWIG_fail;
5535 }
2f4c0a16 5536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
d14a1e28
RD
5537 return resultobj;
5538 fail:
5539 return NULL;
5540}
5541
5542
2f4c0a16 5543static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5544 PyObject *resultobj;
5545 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5546 PyObject * obj0 = 0 ;
5547 char *kwnames[] = {
5548 (char *) "self", NULL
5549 };
5550
5551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5554 {
5555 PyThreadState* __tstate = wxPyBeginAllowThreads();
5556 (arg1)->close();
5557
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 Py_INCREF(Py_None); resultobj = Py_None;
5562 return resultobj;
5563 fail:
5564 return NULL;
5565}
5566
5567
2f4c0a16 5568static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5569 PyObject *resultobj;
5570 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5571 PyObject * obj0 = 0 ;
5572 char *kwnames[] = {
5573 (char *) "self", NULL
5574 };
5575
5576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5579 {
5580 PyThreadState* __tstate = wxPyBeginAllowThreads();
5581 (arg1)->flush();
5582
5583 wxPyEndAllowThreads(__tstate);
5584 if (PyErr_Occurred()) SWIG_fail;
5585 }
5586 Py_INCREF(Py_None); resultobj = Py_None;
5587 return resultobj;
5588 fail:
5589 return NULL;
5590}
5591
5592
2f4c0a16 5593static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5594 PyObject *resultobj;
5595 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5596 bool result;
5597 PyObject * obj0 = 0 ;
5598 char *kwnames[] = {
5599 (char *) "self", NULL
5600 };
5601
5602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5605 {
5606 PyThreadState* __tstate = wxPyBeginAllowThreads();
5607 result = (bool)(arg1)->eof();
5608
5609 wxPyEndAllowThreads(__tstate);
5610 if (PyErr_Occurred()) SWIG_fail;
5611 }
02a34c4c 5612 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5613 return resultobj;
5614 fail:
5615 return NULL;
5616}
5617
5618
2f4c0a16 5619static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5620 PyObject *resultobj;
5621 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5622 int arg2 = (int) -1 ;
5623 PyObject *result;
5624 PyObject * obj0 = 0 ;
8edf1c75 5625 PyObject * obj1 = 0 ;
d14a1e28
RD
5626 char *kwnames[] = {
5627 (char *) "self",(char *) "size", NULL
5628 };
5629
8edf1c75 5630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5633 if (obj1) {
2f4c0a16
RD
5634 arg2 = (int) SWIG_AsInt(obj1);
5635 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5636 }
d14a1e28
RD
5637 {
5638 PyThreadState* __tstate = wxPyBeginAllowThreads();
5639 result = (PyObject *)(arg1)->read(arg2);
5640
5641 wxPyEndAllowThreads(__tstate);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 resultobj = result;
5645 return resultobj;
5646 fail:
5647 return NULL;
5648}
5649
5650
2f4c0a16 5651static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5652 PyObject *resultobj;
5653 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5654 int arg2 = (int) -1 ;
5655 PyObject *result;
5656 PyObject * obj0 = 0 ;
8edf1c75 5657 PyObject * obj1 = 0 ;
d14a1e28
RD
5658 char *kwnames[] = {
5659 (char *) "self",(char *) "size", NULL
5660 };
5661
8edf1c75 5662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5665 if (obj1) {
2f4c0a16
RD
5666 arg2 = (int) SWIG_AsInt(obj1);
5667 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5668 }
d14a1e28
RD
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 result = (PyObject *)(arg1)->readline(arg2);
5672
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 resultobj = result;
5677 return resultobj;
5678 fail:
5679 return NULL;
5680}
5681
5682
2f4c0a16 5683static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5684 PyObject *resultobj;
5685 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5686 int arg2 = (int) -1 ;
5687 PyObject *result;
5688 PyObject * obj0 = 0 ;
8edf1c75 5689 PyObject * obj1 = 0 ;
d14a1e28
RD
5690 char *kwnames[] = {
5691 (char *) "self",(char *) "sizehint", NULL
5692 };
5693
8edf1c75 5694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5697 if (obj1) {
2f4c0a16
RD
5698 arg2 = (int) SWIG_AsInt(obj1);
5699 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5700 }
d14a1e28
RD
5701 {
5702 PyThreadState* __tstate = wxPyBeginAllowThreads();
5703 result = (PyObject *)(arg1)->readlines(arg2);
5704
5705 wxPyEndAllowThreads(__tstate);
5706 if (PyErr_Occurred()) SWIG_fail;
5707 }
5708 resultobj = result;
5709 return resultobj;
5710 fail:
5711 return NULL;
5712}
5713
5714
2f4c0a16 5715static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5716 PyObject *resultobj;
5717 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5718 int arg2 ;
5719 int arg3 = (int) 0 ;
5720 PyObject * obj0 = 0 ;
8edf1c75
RD
5721 PyObject * obj1 = 0 ;
5722 PyObject * obj2 = 0 ;
d14a1e28
RD
5723 char *kwnames[] = {
5724 (char *) "self",(char *) "offset",(char *) "whence", NULL
5725 };
5726
8edf1c75 5727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5730 arg2 = (int) SWIG_AsInt(obj1);
5731 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5732 if (obj2) {
2f4c0a16
RD
5733 arg3 = (int) SWIG_AsInt(obj2);
5734 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5735 }
d14a1e28
RD
5736 {
5737 PyThreadState* __tstate = wxPyBeginAllowThreads();
5738 (arg1)->seek(arg2,arg3);
5739
5740 wxPyEndAllowThreads(__tstate);
5741 if (PyErr_Occurred()) SWIG_fail;
5742 }
5743 Py_INCREF(Py_None); resultobj = Py_None;
5744 return resultobj;
5745 fail:
5746 return NULL;
5747}
5748
5749
2f4c0a16 5750static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5751 PyObject *resultobj;
5752 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5753 int result;
5754 PyObject * obj0 = 0 ;
5755 char *kwnames[] = {
5756 (char *) "self", NULL
5757 };
5758
5759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5762 {
5763 PyThreadState* __tstate = wxPyBeginAllowThreads();
5764 result = (int)(arg1)->tell();
5765
5766 wxPyEndAllowThreads(__tstate);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
2f4c0a16 5769 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5770 return resultobj;
5771 fail:
5772 return NULL;
5773}
5774
5775
2f4c0a16 5776static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5777 PyObject *resultobj;
5778 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5779 char result;
5780 PyObject * obj0 = 0 ;
5781 char *kwnames[] = {
5782 (char *) "self", NULL
5783 };
5784
5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = (char)(arg1)->Peek();
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
2f4c0a16 5795 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5796 return resultobj;
5797 fail:
5798 return NULL;
5799}
5800
5801
2f4c0a16 5802static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5803 PyObject *resultobj;
5804 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5805 char result;
5806 PyObject * obj0 = 0 ;
5807 char *kwnames[] = {
5808 (char *) "self", NULL
5809 };
5810
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 result = (char)(arg1)->GetC();
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
2f4c0a16 5821 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5822 return resultobj;
5823 fail:
5824 return NULL;
5825}
5826
5827
2f4c0a16 5828static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5829 PyObject *resultobj;
5830 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5831 size_t result;
5832 PyObject * obj0 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5840 {
5841 PyThreadState* __tstate = wxPyBeginAllowThreads();
5842 result = (size_t)(arg1)->LastRead();
5843
5844 wxPyEndAllowThreads(__tstate);
5845 if (PyErr_Occurred()) SWIG_fail;
5846 }
2f4c0a16 5847 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
5848 return resultobj;
5849 fail:
5850 return NULL;
5851}
5852
5853
2f4c0a16 5854static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5855 PyObject *resultobj;
5856 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5857 bool result;
5858 PyObject * obj0 = 0 ;
5859 char *kwnames[] = {
5860 (char *) "self", NULL
5861 };
5862
5863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5866 {
5867 PyThreadState* __tstate = wxPyBeginAllowThreads();
5868 result = (bool)(arg1)->CanRead();
5869
5870 wxPyEndAllowThreads(__tstate);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
02a34c4c 5873 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5874 return resultobj;
5875 fail:
5876 return NULL;
5877}
5878
5879
2f4c0a16 5880static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5881 PyObject *resultobj;
5882 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5883 bool result;
5884 PyObject * obj0 = 0 ;
5885 char *kwnames[] = {
5886 (char *) "self", NULL
5887 };
5888
5889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5892 {
5893 PyThreadState* __tstate = wxPyBeginAllowThreads();
5894 result = (bool)(arg1)->Eof();
5895
5896 wxPyEndAllowThreads(__tstate);
5897 if (PyErr_Occurred()) SWIG_fail;
5898 }
02a34c4c 5899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5900 return resultobj;
5901 fail:
5902 return NULL;
5903}
5904
5905
2f4c0a16 5906static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5907 PyObject *resultobj;
5908 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5909 char arg2 ;
5910 bool result;
5911 PyObject * obj0 = 0 ;
8edf1c75 5912 PyObject * obj1 = 0 ;
d14a1e28
RD
5913 char *kwnames[] = {
5914 (char *) "self",(char *) "c", NULL
5915 };
5916
8edf1c75 5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5920 arg2 = (char) SWIG_AsChar(obj1);
5921 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (bool)(arg1)->Ungetch(arg2);
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
02a34c4c 5929 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5930 return resultobj;
5931 fail:
5932 return NULL;
5933}
5934
5935
2f4c0a16 5936static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5937 PyObject *resultobj;
5938 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5939 long arg2 ;
5940 int arg3 = (int) wxFromStart ;
5941 long result;
5942 PyObject * obj0 = 0 ;
8edf1c75
RD
5943 PyObject * obj1 = 0 ;
5944 PyObject * obj2 = 0 ;
d14a1e28
RD
5945 char *kwnames[] = {
5946 (char *) "self",(char *) "pos",(char *) "mode", NULL
5947 };
5948
8edf1c75 5949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5952 arg2 = (long) SWIG_AsLong(obj1);
5953 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5954 if (obj2) {
2f4c0a16
RD
5955 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
5956 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5957 }
d14a1e28
RD
5958 {
5959 PyThreadState* __tstate = wxPyBeginAllowThreads();
5960 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
5961
5962 wxPyEndAllowThreads(__tstate);
5963 if (PyErr_Occurred()) SWIG_fail;
5964 }
2f4c0a16 5965 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5966 return resultobj;
5967 fail:
5968 return NULL;
5969}
5970
5971
2f4c0a16 5972static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5973 PyObject *resultobj;
5974 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5975 long result;
5976 PyObject * obj0 = 0 ;
5977 char *kwnames[] = {
5978 (char *) "self", NULL
5979 };
5980
5981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5984 {
5985 PyThreadState* __tstate = wxPyBeginAllowThreads();
5986 result = (long)(arg1)->TellI();
5987
5988 wxPyEndAllowThreads(__tstate);
5989 if (PyErr_Occurred()) SWIG_fail;
5990 }
2f4c0a16 5991 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5992 return resultobj;
5993 fail:
5994 return NULL;
5995}
5996
5997
2f4c0a16 5998static PyObject * InputStream_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5999 PyObject *obj;
6000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6001 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6002 Py_INCREF(obj);
6003 return Py_BuildValue((char *)"");
6004}
2f4c0a16 6005static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6006 PyObject *resultobj;
6007 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6008 PyObject *arg2 = (PyObject *) 0 ;
6009 PyObject * obj0 = 0 ;
6010 PyObject * obj1 = 0 ;
6011 char *kwnames[] = {
6012 (char *) "self",(char *) "obj", NULL
6013 };
6014
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6016 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6017 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6018 arg2 = obj1;
6019 {
6020 PyThreadState* __tstate = wxPyBeginAllowThreads();
6021 wxOutputStream_write(arg1,arg2);
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
2f4c0a16 6033static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6034 PyObject *obj;
6035 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6036 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6037 Py_INCREF(obj);
6038 return Py_BuildValue((char *)"");
6039}
2f4c0a16 6040static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6041 PyObject *resultobj;
6042 wxInputStream *arg1 = (wxInputStream *) 0 ;
6043 wxString *arg2 = 0 ;
6044 wxString *arg3 = 0 ;
6045 wxString *arg4 = 0 ;
6046 wxDateTime arg5 ;
6047 wxFSFile *result;
6048 wxPyInputStream *temp1 ;
6049 bool created1 ;
423f194a
RD
6050 bool temp2 = False ;
6051 bool temp3 = False ;
6052 bool temp4 = False ;
d14a1e28
RD
6053 wxDateTime *argp5 ;
6054 PyObject * obj0 = 0 ;
6055 PyObject * obj1 = 0 ;
6056 PyObject * obj2 = 0 ;
6057 PyObject * obj3 = 0 ;
6058 PyObject * obj4 = 0 ;
6059 char *kwnames[] = {
6060 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6061 };
6062
6063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6064 {
6065 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6066 arg1 = temp1->m_wxis;
423f194a 6067 created1 = False;
d14a1e28
RD
6068 } else {
6069 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 6070 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
6071 if (arg1 == NULL) {
6072 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6073 SWIG_fail;
6074 }
423f194a 6075 created1 = True;
d14a1e28
RD
6076 }
6077 }
6078 {
6079 arg2 = wxString_in_helper(obj1);
6080 if (arg2 == NULL) SWIG_fail;
423f194a 6081 temp2 = True;
d14a1e28
RD
6082 }
6083 {
6084 arg3 = wxString_in_helper(obj2);
6085 if (arg3 == NULL) SWIG_fail;
423f194a 6086 temp3 = True;
d14a1e28
RD
6087 }
6088 {
6089 arg4 = wxString_in_helper(obj3);
6090 if (arg4 == NULL) SWIG_fail;
423f194a 6091 temp4 = True;
d14a1e28 6092 }
2f4c0a16
RD
6093 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6094 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6095 arg5 = *argp5;
d14a1e28
RD
6096 {
6097 PyThreadState* __tstate = wxPyBeginAllowThreads();
6098 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6099
6100 wxPyEndAllowThreads(__tstate);
6101 if (PyErr_Occurred()) SWIG_fail;
6102 }
6103 {
6104 resultobj = wxPyMake_wxObject(result);
6105 }
6106 {
6107 if (created1)
6108 delete arg1;
6109 }
6110 {
6111 if (temp2)
6112 delete arg2;
6113 }
6114 {
6115 if (temp3)
6116 delete arg3;
6117 }
6118 {
6119 if (temp4)
6120 delete arg4;
6121 }
6122 return resultobj;
6123 fail:
6124 {
6125 if (created1)
6126 delete arg1;
6127 }
6128 {
6129 if (temp2)
6130 delete arg2;
6131 }
6132 {
6133 if (temp3)
6134 delete arg3;
6135 }
6136 {
6137 if (temp4)
6138 delete arg4;
6139 }
6140 return NULL;
6141}
6142
6143
2f4c0a16 6144static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6145 PyObject *resultobj;
6146 wxFSFile *arg1 = (wxFSFile *) 0 ;
6147 PyObject * obj0 = 0 ;
6148 char *kwnames[] = {
6149 (char *) "self", NULL
6150 };
6151
6152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 delete arg1;
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 Py_INCREF(Py_None); resultobj = Py_None;
6163 return resultobj;
6164 fail:
6165 return NULL;
6166}
6167
6168
2f4c0a16 6169static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6170 PyObject *resultobj;
6171 wxFSFile *arg1 = (wxFSFile *) 0 ;
6172 wxInputStream *result;
6173 PyObject * obj0 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6181 {
6182 PyThreadState* __tstate = wxPyBeginAllowThreads();
6183 result = (wxInputStream *)(arg1)->GetStream();
6184
6185 wxPyEndAllowThreads(__tstate);
6186 if (PyErr_Occurred()) SWIG_fail;
6187 }
6188 {
6189 wxPyInputStream * _ptr = NULL;
6190
6191 if (result) {
6192 _ptr = new wxPyInputStream(result);
6193 }
423f194a 6194 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
6195 }
6196 return resultobj;
6197 fail:
6198 return NULL;
6199}
6200
6201
2f4c0a16 6202static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6203 PyObject *resultobj;
6204 wxFSFile *arg1 = (wxFSFile *) 0 ;
6205 wxString *result;
6206 PyObject * obj0 = 0 ;
6207 char *kwnames[] = {
6208 (char *) "self", NULL
6209 };
6210
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6214 {
6215 PyThreadState* __tstate = wxPyBeginAllowThreads();
6216 {
6217 wxString const &_result_ref = (arg1)->GetMimeType();
6218 result = (wxString *) &_result_ref;
6219 }
6220
6221 wxPyEndAllowThreads(__tstate);
6222 if (PyErr_Occurred()) SWIG_fail;
6223 }
0f774bef
RD
6224 {
6225#if wxUSE_UNICODE
6226 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6227#else
6228 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6229#endif
6230 }
d14a1e28
RD
6231 return resultobj;
6232 fail:
6233 return NULL;
6234}
6235
6236
2f4c0a16 6237static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6238 PyObject *resultobj;
6239 wxFSFile *arg1 = (wxFSFile *) 0 ;
6240 wxString *result;
6241 PyObject * obj0 = 0 ;
6242 char *kwnames[] = {
6243 (char *) "self", NULL
6244 };
6245
6246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6249 {
6250 PyThreadState* __tstate = wxPyBeginAllowThreads();
6251 {
6252 wxString const &_result_ref = (arg1)->GetLocation();
6253 result = (wxString *) &_result_ref;
6254 }
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
0f774bef
RD
6259 {
6260#if wxUSE_UNICODE
6261 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6262#else
6263 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6264#endif
6265 }
d14a1e28
RD
6266 return resultobj;
6267 fail:
6268 return NULL;
6269}
6270
6271
2f4c0a16 6272static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6273 PyObject *resultobj;
6274 wxFSFile *arg1 = (wxFSFile *) 0 ;
6275 wxString *result;
6276 PyObject * obj0 = 0 ;
6277 char *kwnames[] = {
6278 (char *) "self", NULL
6279 };
6280
6281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 {
6287 wxString const &_result_ref = (arg1)->GetAnchor();
6288 result = (wxString *) &_result_ref;
6289 }
6290
6291 wxPyEndAllowThreads(__tstate);
6292 if (PyErr_Occurred()) SWIG_fail;
6293 }
0f774bef
RD
6294 {
6295#if wxUSE_UNICODE
6296 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6297#else
6298 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6299#endif
6300 }
d14a1e28
RD
6301 return resultobj;
6302 fail:
6303 return NULL;
6304}
6305
6306
2f4c0a16 6307static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6308 PyObject *resultobj;
6309 wxFSFile *arg1 = (wxFSFile *) 0 ;
6310 wxDateTime result;
6311 PyObject * obj0 = 0 ;
6312 char *kwnames[] = {
6313 (char *) "self", NULL
6314 };
6315
6316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6319 {
6320 PyThreadState* __tstate = wxPyBeginAllowThreads();
6321 result = (arg1)->GetModificationTime();
6322
6323 wxPyEndAllowThreads(__tstate);
6324 if (PyErr_Occurred()) SWIG_fail;
6325 }
6326 {
6327 wxDateTime * resultptr;
6328 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 6329 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
6330 }
6331 return resultobj;
6332 fail:
6333 return NULL;
6334}
6335
6336
2f4c0a16 6337static PyObject * FSFile_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6338 PyObject *obj;
6339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6340 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6341 Py_INCREF(obj);
6342 return Py_BuildValue((char *)"");
6343}
2f4c0a16 6344static PyObject * CPPFileSystemHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6345 PyObject *obj;
6346 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6347 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6348 Py_INCREF(obj);
6349 return Py_BuildValue((char *)"");
6350}
2f4c0a16 6351static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6352 PyObject *resultobj;
6353 wxPyFileSystemHandler *result;
6354 char *kwnames[] = {
6355 NULL
6356 };
6357
6358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6359 {
6360 PyThreadState* __tstate = wxPyBeginAllowThreads();
6361 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6362
6363 wxPyEndAllowThreads(__tstate);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
2f4c0a16 6366 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
d14a1e28
RD
6367 return resultobj;
6368 fail:
6369 return NULL;
6370}
6371
6372
2f4c0a16 6373static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6374 PyObject *resultobj;
6375 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6376 PyObject *arg2 = (PyObject *) 0 ;
6377 PyObject *arg3 = (PyObject *) 0 ;
6378 PyObject * obj0 = 0 ;
6379 PyObject * obj1 = 0 ;
6380 PyObject * obj2 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "self",(char *) "self",(char *) "_class", NULL
6383 };
6384
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6388 arg2 = obj1;
6389 arg3 = obj2;
6390 {
6391 PyThreadState* __tstate = wxPyBeginAllowThreads();
6392 (arg1)->_setCallbackInfo(arg2,arg3);
6393
6394 wxPyEndAllowThreads(__tstate);
6395 if (PyErr_Occurred()) SWIG_fail;
6396 }
6397 Py_INCREF(Py_None); resultobj = Py_None;
6398 return resultobj;
6399 fail:
6400 return NULL;
6401}
6402
6403
2f4c0a16 6404static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6405 PyObject *resultobj;
6406 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6407 wxString *arg2 = 0 ;
6408 bool result;
423f194a 6409 bool temp2 = False ;
d14a1e28
RD
6410 PyObject * obj0 = 0 ;
6411 PyObject * obj1 = 0 ;
6412 char *kwnames[] = {
6413 (char *) "self",(char *) "location", NULL
6414 };
6415
6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6419 {
6420 arg2 = wxString_in_helper(obj1);
6421 if (arg2 == NULL) SWIG_fail;
423f194a 6422 temp2 = True;
d14a1e28
RD
6423 }
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
02a34c4c 6431 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6432 {
6433 if (temp2)
6434 delete arg2;
6435 }
6436 return resultobj;
6437 fail:
6438 {
6439 if (temp2)
6440 delete arg2;
6441 }
6442 return NULL;
6443}
6444
6445
2f4c0a16 6446static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6447 PyObject *resultobj;
6448 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6449 wxFileSystem *arg2 = 0 ;
6450 wxString *arg3 = 0 ;
6451 wxFSFile *result;
423f194a 6452 bool temp3 = False ;
d14a1e28
RD
6453 PyObject * obj0 = 0 ;
6454 PyObject * obj1 = 0 ;
6455 PyObject * obj2 = 0 ;
6456 char *kwnames[] = {
6457 (char *) "self",(char *) "fs",(char *) "location", NULL
6458 };
6459
6460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6464 SWIG_POINTER_EXCEPTION | 0)) == -1)
6465 SWIG_fail;
d14a1e28 6466 if (arg2 == NULL) {
2f4c0a16
RD
6467 PyErr_SetString(PyExc_TypeError,"null reference");
6468 SWIG_fail;
d14a1e28
RD
6469 }
6470 {
6471 arg3 = wxString_in_helper(obj2);
6472 if (arg3 == NULL) SWIG_fail;
423f194a 6473 temp3 = True;
d14a1e28
RD
6474 }
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6478
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 {
6483 resultobj = wxPyMake_wxObject(result);
6484 }
6485 {
6486 if (temp3)
6487 delete arg3;
6488 }
6489 return resultobj;
6490 fail:
6491 {
6492 if (temp3)
6493 delete arg3;
6494 }
6495 return NULL;
6496}
6497
6498
2f4c0a16 6499static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6500 PyObject *resultobj;
6501 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6502 wxString *arg2 = 0 ;
6503 int arg3 = (int) 0 ;
6504 wxString result;
423f194a 6505 bool temp2 = False ;
d14a1e28
RD
6506 PyObject * obj0 = 0 ;
6507 PyObject * obj1 = 0 ;
8edf1c75 6508 PyObject * obj2 = 0 ;
d14a1e28
RD
6509 char *kwnames[] = {
6510 (char *) "self",(char *) "spec",(char *) "flags", NULL
6511 };
6512
8edf1c75 6513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6516 {
6517 arg2 = wxString_in_helper(obj1);
6518 if (arg2 == NULL) SWIG_fail;
423f194a 6519 temp2 = True;
d14a1e28 6520 }
8edf1c75 6521 if (obj2) {
2f4c0a16
RD
6522 arg3 = (int) SWIG_AsInt(obj2);
6523 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6524 }
d14a1e28
RD
6525 {
6526 PyThreadState* __tstate = wxPyBeginAllowThreads();
6527 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6528
6529 wxPyEndAllowThreads(__tstate);
6530 if (PyErr_Occurred()) SWIG_fail;
6531 }
6532 {
6533#if wxUSE_UNICODE
6534 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6535#else
6536 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6537#endif
6538 }
6539 {
6540 if (temp2)
6541 delete arg2;
6542 }
6543 return resultobj;
6544 fail:
6545 {
6546 if (temp2)
6547 delete arg2;
6548 }
6549 return NULL;
6550}
6551
6552
2f4c0a16 6553static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6554 PyObject *resultobj;
6555 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6556 wxString result;
6557 PyObject * obj0 = 0 ;
6558 char *kwnames[] = {
6559 (char *) "self", NULL
6560 };
6561
6562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6565 {
6566 PyThreadState* __tstate = wxPyBeginAllowThreads();
6567 result = (arg1)->FindNext();
6568
6569 wxPyEndAllowThreads(__tstate);
6570 if (PyErr_Occurred()) SWIG_fail;
6571 }
6572 {
6573#if wxUSE_UNICODE
6574 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6575#else
6576 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6577#endif
6578 }
6579 return resultobj;
6580 fail:
6581 return NULL;
6582}
6583
6584
2f4c0a16 6585static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6586 PyObject *resultobj;
6587 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6588 wxString *arg2 = 0 ;
6589 wxString result;
423f194a 6590 bool temp2 = False ;
d14a1e28
RD
6591 PyObject * obj0 = 0 ;
6592 PyObject * obj1 = 0 ;
6593 char *kwnames[] = {
6594 (char *) "self",(char *) "location", NULL
6595 };
6596
6597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6600 {
6601 arg2 = wxString_in_helper(obj1);
6602 if (arg2 == NULL) SWIG_fail;
423f194a 6603 temp2 = True;
d14a1e28
RD
6604 }
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 result = (arg1)->GetProtocol((wxString const &)*arg2);
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 {
6613#if wxUSE_UNICODE
6614 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6615#else
6616 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6617#endif
6618 }
6619 {
6620 if (temp2)
6621 delete arg2;
6622 }
6623 return resultobj;
6624 fail:
6625 {
6626 if (temp2)
6627 delete arg2;
6628 }
6629 return NULL;
6630}
6631
6632
2f4c0a16 6633static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6634 PyObject *resultobj;
6635 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6636 wxString *arg2 = 0 ;
6637 wxString result;
423f194a 6638 bool temp2 = False ;
d14a1e28
RD
6639 PyObject * obj0 = 0 ;
6640 PyObject * obj1 = 0 ;
6641 char *kwnames[] = {
6642 (char *) "self",(char *) "location", NULL
6643 };
6644
6645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6648 {
6649 arg2 = wxString_in_helper(obj1);
6650 if (arg2 == NULL) SWIG_fail;
423f194a 6651 temp2 = True;
d14a1e28
RD
6652 }
6653 {
6654 PyThreadState* __tstate = wxPyBeginAllowThreads();
6655 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6656
6657 wxPyEndAllowThreads(__tstate);
6658 if (PyErr_Occurred()) SWIG_fail;
6659 }
6660 {
6661#if wxUSE_UNICODE
6662 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6663#else
6664 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6665#endif
6666 }
6667 {
6668 if (temp2)
6669 delete arg2;
6670 }
6671 return resultobj;
6672 fail:
6673 {
6674 if (temp2)
6675 delete arg2;
6676 }
6677 return NULL;
6678}
6679
6680
2f4c0a16 6681static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6682 PyObject *resultobj;
6683 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6684 wxString *arg2 = 0 ;
6685 wxString result;
423f194a 6686 bool temp2 = False ;
d14a1e28
RD
6687 PyObject * obj0 = 0 ;
6688 PyObject * obj1 = 0 ;
6689 char *kwnames[] = {
6690 (char *) "self",(char *) "location", NULL
6691 };
6692
6693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6696 {
6697 arg2 = wxString_in_helper(obj1);
6698 if (arg2 == NULL) SWIG_fail;
423f194a 6699 temp2 = True;
d14a1e28
RD
6700 }
6701 {
6702 PyThreadState* __tstate = wxPyBeginAllowThreads();
6703 result = (arg1)->GetAnchor((wxString const &)*arg2);
6704
6705 wxPyEndAllowThreads(__tstate);
6706 if (PyErr_Occurred()) SWIG_fail;
6707 }
6708 {
6709#if wxUSE_UNICODE
6710 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6711#else
6712 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6713#endif
6714 }
6715 {
6716 if (temp2)
6717 delete arg2;
6718 }
6719 return resultobj;
6720 fail:
6721 {
6722 if (temp2)
6723 delete arg2;
6724 }
6725 return NULL;
6726}
6727
6728
2f4c0a16 6729static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6730 PyObject *resultobj;
6731 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6732 wxString *arg2 = 0 ;
6733 wxString result;
423f194a 6734 bool temp2 = False ;
d14a1e28
RD
6735 PyObject * obj0 = 0 ;
6736 PyObject * obj1 = 0 ;
6737 char *kwnames[] = {
6738 (char *) "self",(char *) "location", NULL
6739 };
6740
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6744 {
6745 arg2 = wxString_in_helper(obj1);
6746 if (arg2 == NULL) SWIG_fail;
423f194a 6747 temp2 = True;
d14a1e28
RD
6748 }
6749 {
6750 PyThreadState* __tstate = wxPyBeginAllowThreads();
6751 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6752
6753 wxPyEndAllowThreads(__tstate);
6754 if (PyErr_Occurred()) SWIG_fail;
6755 }
6756 {
6757#if wxUSE_UNICODE
6758 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6759#else
6760 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6761#endif
6762 }
6763 {
6764 if (temp2)
6765 delete arg2;
6766 }
6767 return resultobj;
6768 fail:
6769 {
6770 if (temp2)
6771 delete arg2;
6772 }
6773 return NULL;
6774}
6775
6776
2f4c0a16 6777static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6778 PyObject *resultobj;
6779 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6780 wxString *arg2 = 0 ;
6781 wxString result;
423f194a 6782 bool temp2 = False ;
d14a1e28
RD
6783 PyObject * obj0 = 0 ;
6784 PyObject * obj1 = 0 ;
6785 char *kwnames[] = {
6786 (char *) "self",(char *) "location", NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6792 {
6793 arg2 = wxString_in_helper(obj1);
6794 if (arg2 == NULL) SWIG_fail;
423f194a 6795 temp2 = True;
d14a1e28
RD
6796 }
6797 {
6798 PyThreadState* __tstate = wxPyBeginAllowThreads();
6799 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6800
6801 wxPyEndAllowThreads(__tstate);
6802 if (PyErr_Occurred()) SWIG_fail;
6803 }
6804 {
6805#if wxUSE_UNICODE
6806 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6807#else
6808 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6809#endif
6810 }
6811 {
6812 if (temp2)
6813 delete arg2;
6814 }
6815 return resultobj;
6816 fail:
6817 {
6818 if (temp2)
6819 delete arg2;
6820 }
6821 return NULL;
6822}
6823
6824
2f4c0a16 6825static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6826 PyObject *obj;
6827 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6828 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
6829 Py_INCREF(obj);
6830 return Py_BuildValue((char *)"");
6831}
2f4c0a16 6832static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6833 PyObject *resultobj;
6834 wxFileSystem *result;
6835 char *kwnames[] = {
6836 NULL
6837 };
6838
6839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
6840 {
6841 PyThreadState* __tstate = wxPyBeginAllowThreads();
6842 result = (wxFileSystem *)new wxFileSystem();
6843
6844 wxPyEndAllowThreads(__tstate);
6845 if (PyErr_Occurred()) SWIG_fail;
6846 }
6847 {
6848 resultobj = wxPyMake_wxObject(result);
6849 }
6850 return resultobj;
6851 fail:
6852 return NULL;
6853}
6854
6855
2f4c0a16 6856static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6857 PyObject *resultobj;
6858 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6859 PyObject * obj0 = 0 ;
6860 char *kwnames[] = {
6861 (char *) "self", NULL
6862 };
6863
6864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6867 {
6868 PyThreadState* __tstate = wxPyBeginAllowThreads();
6869 delete arg1;
6870
6871 wxPyEndAllowThreads(__tstate);
6872 if (PyErr_Occurred()) SWIG_fail;
6873 }
6874 Py_INCREF(Py_None); resultobj = Py_None;
6875 return resultobj;
6876 fail:
6877 return NULL;
6878}
6879
6880
2f4c0a16 6881static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6882 PyObject *resultobj;
6883 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6884 wxString *arg2 = 0 ;
423f194a
RD
6885 bool arg3 = (bool) False ;
6886 bool temp2 = False ;
d14a1e28
RD
6887 PyObject * obj0 = 0 ;
6888 PyObject * obj1 = 0 ;
6889 PyObject * obj2 = 0 ;
6890 char *kwnames[] = {
6891 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6892 };
6893
6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6897 {
6898 arg2 = wxString_in_helper(obj1);
6899 if (arg2 == NULL) SWIG_fail;
423f194a 6900 temp2 = True;
d14a1e28
RD
6901 }
6902 if (obj2) {
2f4c0a16
RD
6903 arg3 = (bool) SWIG_AsBool(obj2);
6904 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6905 }
6906 {
6907 PyThreadState* __tstate = wxPyBeginAllowThreads();
6908 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
6909
6910 wxPyEndAllowThreads(__tstate);
6911 if (PyErr_Occurred()) SWIG_fail;
6912 }
6913 Py_INCREF(Py_None); resultobj = Py_None;
6914 {
6915 if (temp2)
6916 delete arg2;
6917 }
6918 return resultobj;
6919 fail:
6920 {
6921 if (temp2)
6922 delete arg2;
6923 }
6924 return NULL;
6925}
6926
6927
2f4c0a16 6928static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6929 PyObject *resultobj;
6930 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6931 wxString result;
6932 PyObject * obj0 = 0 ;
6933 char *kwnames[] = {
6934 (char *) "self", NULL
6935 };
6936
6937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6940 {
6941 PyThreadState* __tstate = wxPyBeginAllowThreads();
6942 result = (arg1)->GetPath();
6943
6944 wxPyEndAllowThreads(__tstate);
6945 if (PyErr_Occurred()) SWIG_fail;
6946 }
6947 {
6948#if wxUSE_UNICODE
6949 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6950#else
6951 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6952#endif
6953 }
6954 return resultobj;
6955 fail:
6956 return NULL;
6957}
6958
6959
2f4c0a16 6960static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6961 PyObject *resultobj;
6962 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6963 wxString *arg2 = 0 ;
6964 wxFSFile *result;
423f194a 6965 bool temp2 = False ;
d14a1e28
RD
6966 PyObject * obj0 = 0 ;
6967 PyObject * obj1 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self",(char *) "location", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6975 {
6976 arg2 = wxString_in_helper(obj1);
6977 if (arg2 == NULL) SWIG_fail;
423f194a 6978 temp2 = True;
d14a1e28
RD
6979 }
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 {
6988 resultobj = wxPyMake_wxObject(result);
6989 }
6990 {
6991 if (temp2)
6992 delete arg2;
6993 }
6994 return resultobj;
6995 fail:
6996 {
6997 if (temp2)
6998 delete arg2;
6999 }
7000 return NULL;
7001}
7002
7003
2f4c0a16 7004static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7005 PyObject *resultobj;
7006 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7007 wxString *arg2 = 0 ;
7008 int arg3 = (int) 0 ;
7009 wxString result;
423f194a 7010 bool temp2 = False ;
d14a1e28
RD
7011 PyObject * obj0 = 0 ;
7012 PyObject * obj1 = 0 ;
8edf1c75 7013 PyObject * obj2 = 0 ;
d14a1e28
RD
7014 char *kwnames[] = {
7015 (char *) "self",(char *) "spec",(char *) "flags", NULL
7016 };
7017
8edf1c75 7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7021 {
7022 arg2 = wxString_in_helper(obj1);
7023 if (arg2 == NULL) SWIG_fail;
423f194a 7024 temp2 = True;
d14a1e28 7025 }
8edf1c75 7026 if (obj2) {
2f4c0a16
RD
7027 arg3 = (int) SWIG_AsInt(obj2);
7028 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7029 }
d14a1e28
RD
7030 {
7031 PyThreadState* __tstate = wxPyBeginAllowThreads();
7032 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7033
7034 wxPyEndAllowThreads(__tstate);
7035 if (PyErr_Occurred()) SWIG_fail;
7036 }
7037 {
7038#if wxUSE_UNICODE
7039 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7040#else
7041 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7042#endif
7043 }
7044 {
7045 if (temp2)
7046 delete arg2;
7047 }
7048 return resultobj;
7049 fail:
7050 {
7051 if (temp2)
7052 delete arg2;
7053 }
7054 return NULL;
7055}
7056
7057
2f4c0a16 7058static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7059 PyObject *resultobj;
7060 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7061 wxString result;
7062 PyObject * obj0 = 0 ;
7063 char *kwnames[] = {
7064 (char *) "self", NULL
7065 };
7066
7067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7070 {
7071 PyThreadState* __tstate = wxPyBeginAllowThreads();
7072 result = (arg1)->FindNext();
7073
7074 wxPyEndAllowThreads(__tstate);
7075 if (PyErr_Occurred()) SWIG_fail;
7076 }
7077 {
7078#if wxUSE_UNICODE
7079 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7080#else
7081 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7082#endif
7083 }
7084 return resultobj;
7085 fail:
7086 return NULL;
7087}
7088
7089
2f4c0a16 7090static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7091 PyObject *resultobj;
7092 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7093 PyObject * obj0 = 0 ;
7094 char *kwnames[] = {
7095 (char *) "handler", NULL
7096 };
7097
7098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7101 {
7102 PyThreadState* __tstate = wxPyBeginAllowThreads();
7103 wxFileSystem::AddHandler(arg1);
7104
7105 wxPyEndAllowThreads(__tstate);
7106 if (PyErr_Occurred()) SWIG_fail;
7107 }
7108 Py_INCREF(Py_None); resultobj = Py_None;
7109 return resultobj;
7110 fail:
7111 return NULL;
7112}
7113
7114
2f4c0a16 7115static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7116 PyObject *resultobj;
7117 char *kwnames[] = {
7118 NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7122 {
7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
7124 wxFileSystem::CleanUpHandlers();
7125
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) SWIG_fail;
7128 }
7129 Py_INCREF(Py_None); resultobj = Py_None;
7130 return resultobj;
7131 fail:
7132 return NULL;
7133}
7134
7135
2f4c0a16 7136static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7137 PyObject *resultobj;
7138 wxString *arg1 = 0 ;
7139 wxString result;
423f194a 7140 bool temp1 = False ;
d14a1e28
RD
7141 PyObject * obj0 = 0 ;
7142 char *kwnames[] = {
7143 (char *) "filename", NULL
7144 };
7145
7146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7147 {
7148 arg1 = wxString_in_helper(obj0);
7149 if (arg1 == NULL) SWIG_fail;
423f194a 7150 temp1 = True;
d14a1e28
RD
7151 }
7152 {
7153 PyThreadState* __tstate = wxPyBeginAllowThreads();
7154 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7155
7156 wxPyEndAllowThreads(__tstate);
7157 if (PyErr_Occurred()) SWIG_fail;
7158 }
7159 {
7160#if wxUSE_UNICODE
7161 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7162#else
7163 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7164#endif
7165 }
7166 {
7167 if (temp1)
7168 delete arg1;
7169 }
7170 return resultobj;
7171 fail:
7172 {
7173 if (temp1)
7174 delete arg1;
7175 }
7176 return NULL;
7177}
7178
7179
2f4c0a16 7180static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7181 PyObject *obj;
7182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7183 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7184 Py_INCREF(obj);
7185 return Py_BuildValue((char *)"");
7186}
2f4c0a16 7187static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7188 PyObject *resultobj;
7189 wxString *arg1 = 0 ;
7190 wxString result;
423f194a 7191 bool temp1 = False ;
d14a1e28
RD
7192 PyObject * obj0 = 0 ;
7193 char *kwnames[] = {
7194 (char *) "url", NULL
7195 };
7196
7197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7198 {
7199 arg1 = wxString_in_helper(obj0);
7200 if (arg1 == NULL) SWIG_fail;
423f194a 7201 temp1 = True;
d14a1e28
RD
7202 }
7203 {
7204 PyThreadState* __tstate = wxPyBeginAllowThreads();
7205 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7206
7207 wxPyEndAllowThreads(__tstate);
7208 if (PyErr_Occurred()) SWIG_fail;
7209 }
7210 {
7211#if wxUSE_UNICODE
7212 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7213#else
7214 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7215#endif
7216 }
7217 {
7218 if (temp1)
7219 delete arg1;
7220 }
7221 return resultobj;
7222 fail:
7223 {
7224 if (temp1)
7225 delete arg1;
7226 }
7227 return NULL;
7228}
7229
7230
2f4c0a16 7231static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7232 PyObject *resultobj;
7233 wxInternetFSHandler *result;
7234 char *kwnames[] = {
7235 NULL
7236 };
7237
7238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
2f4c0a16 7246 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
d14a1e28
RD
7247 return resultobj;
7248 fail:
7249 return NULL;
7250}
7251
7252
2f4c0a16 7253static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7254 PyObject *resultobj;
7255 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7256 wxString *arg2 = 0 ;
7257 bool result;
423f194a 7258 bool temp2 = False ;
d14a1e28
RD
7259 PyObject * obj0 = 0 ;
7260 PyObject * obj1 = 0 ;
7261 char *kwnames[] = {
7262 (char *) "self",(char *) "location", NULL
7263 };
7264
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7268 {
7269 arg2 = wxString_in_helper(obj1);
7270 if (arg2 == NULL) SWIG_fail;
423f194a 7271 temp2 = True;
d14a1e28
RD
7272 }
7273 {
7274 PyThreadState* __tstate = wxPyBeginAllowThreads();
7275 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7276
7277 wxPyEndAllowThreads(__tstate);
7278 if (PyErr_Occurred()) SWIG_fail;
7279 }
02a34c4c 7280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7281 {
7282 if (temp2)
7283 delete arg2;
7284 }
7285 return resultobj;
7286 fail:
7287 {
7288 if (temp2)
7289 delete arg2;
7290 }
7291 return NULL;
7292}
7293
7294
2f4c0a16 7295static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7296 PyObject *resultobj;
7297 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7298 wxFileSystem *arg2 = 0 ;
7299 wxString *arg3 = 0 ;
7300 wxFSFile *result;
423f194a 7301 bool temp3 = False ;
d14a1e28
RD
7302 PyObject * obj0 = 0 ;
7303 PyObject * obj1 = 0 ;
7304 PyObject * obj2 = 0 ;
7305 char *kwnames[] = {
7306 (char *) "self",(char *) "fs",(char *) "location", NULL
7307 };
7308
7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7313 SWIG_POINTER_EXCEPTION | 0)) == -1)
7314 SWIG_fail;
d14a1e28 7315 if (arg2 == NULL) {
2f4c0a16
RD
7316 PyErr_SetString(PyExc_TypeError,"null reference");
7317 SWIG_fail;
d14a1e28
RD
7318 }
7319 {
7320 arg3 = wxString_in_helper(obj2);
7321 if (arg3 == NULL) SWIG_fail;
423f194a 7322 temp3 = True;
d14a1e28
RD
7323 }
7324 {
7325 PyThreadState* __tstate = wxPyBeginAllowThreads();
7326 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7327
7328 wxPyEndAllowThreads(__tstate);
7329 if (PyErr_Occurred()) SWIG_fail;
7330 }
7331 {
7332 resultobj = wxPyMake_wxObject(result);
7333 }
7334 {
7335 if (temp3)
7336 delete arg3;
7337 }
7338 return resultobj;
7339 fail:
7340 {
7341 if (temp3)
7342 delete arg3;
7343 }
7344 return NULL;
7345}
7346
7347
2f4c0a16 7348static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7349 PyObject *obj;
7350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7351 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7352 Py_INCREF(obj);
7353 return Py_BuildValue((char *)"");
7354}
2f4c0a16 7355static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7356 PyObject *resultobj;
7357 wxZipFSHandler *result;
7358 char *kwnames[] = {
7359 NULL
7360 };
7361
7362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7363 {
7364 PyThreadState* __tstate = wxPyBeginAllowThreads();
7365 result = (wxZipFSHandler *)new wxZipFSHandler();
7366
7367 wxPyEndAllowThreads(__tstate);
7368 if (PyErr_Occurred()) SWIG_fail;
7369 }
2f4c0a16 7370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
d14a1e28
RD
7371 return resultobj;
7372 fail:
7373 return NULL;
7374}
7375
7376
2f4c0a16 7377static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7378 PyObject *resultobj;
7379 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7380 wxString *arg2 = 0 ;
7381 bool result;
423f194a 7382 bool temp2 = False ;
d14a1e28
RD
7383 PyObject * obj0 = 0 ;
7384 PyObject * obj1 = 0 ;
7385 char *kwnames[] = {
7386 (char *) "self",(char *) "location", NULL
7387 };
7388
7389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7392 {
7393 arg2 = wxString_in_helper(obj1);
7394 if (arg2 == NULL) SWIG_fail;
423f194a 7395 temp2 = True;
d14a1e28
RD
7396 }
7397 {
7398 PyThreadState* __tstate = wxPyBeginAllowThreads();
7399 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7400
7401 wxPyEndAllowThreads(__tstate);
7402 if (PyErr_Occurred()) SWIG_fail;
7403 }
02a34c4c 7404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7405 {
7406 if (temp2)
7407 delete arg2;
7408 }
7409 return resultobj;
7410 fail:
7411 {
7412 if (temp2)
7413 delete arg2;
7414 }
7415 return NULL;
7416}
7417
7418
2f4c0a16 7419static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7420 PyObject *resultobj;
7421 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7422 wxFileSystem *arg2 = 0 ;
7423 wxString *arg3 = 0 ;
7424 wxFSFile *result;
423f194a 7425 bool temp3 = False ;
d14a1e28
RD
7426 PyObject * obj0 = 0 ;
7427 PyObject * obj1 = 0 ;
7428 PyObject * obj2 = 0 ;
7429 char *kwnames[] = {
7430 (char *) "self",(char *) "fs",(char *) "location", NULL
7431 };
7432
7433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7437 SWIG_POINTER_EXCEPTION | 0)) == -1)
7438 SWIG_fail;
d14a1e28 7439 if (arg2 == NULL) {
2f4c0a16
RD
7440 PyErr_SetString(PyExc_TypeError,"null reference");
7441 SWIG_fail;
d14a1e28
RD
7442 }
7443 {
7444 arg3 = wxString_in_helper(obj2);
7445 if (arg3 == NULL) SWIG_fail;
423f194a 7446 temp3 = True;
d14a1e28
RD
7447 }
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 {
7456 resultobj = wxPyMake_wxObject(result);
7457 }
7458 {
7459 if (temp3)
7460 delete arg3;
7461 }
7462 return resultobj;
7463 fail:
7464 {
7465 if (temp3)
7466 delete arg3;
7467 }
7468 return NULL;
7469}
7470
7471
2f4c0a16 7472static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7473 PyObject *resultobj;
7474 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7475 wxString *arg2 = 0 ;
7476 int arg3 = (int) 0 ;
7477 wxString result;
423f194a 7478 bool temp2 = False ;
d14a1e28
RD
7479 PyObject * obj0 = 0 ;
7480 PyObject * obj1 = 0 ;
8edf1c75 7481 PyObject * obj2 = 0 ;
d14a1e28
RD
7482 char *kwnames[] = {
7483 (char *) "self",(char *) "spec",(char *) "flags", NULL
7484 };
7485
8edf1c75 7486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7489 {
7490 arg2 = wxString_in_helper(obj1);
7491 if (arg2 == NULL) SWIG_fail;
423f194a 7492 temp2 = True;
d14a1e28 7493 }
8edf1c75 7494 if (obj2) {
2f4c0a16
RD
7495 arg3 = (int) SWIG_AsInt(obj2);
7496 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7497 }
d14a1e28
RD
7498 {
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7501
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
7505 {
7506#if wxUSE_UNICODE
7507 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7508#else
7509 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7510#endif
7511 }
7512 {
7513 if (temp2)
7514 delete arg2;
7515 }
7516 return resultobj;
7517 fail:
7518 {
7519 if (temp2)
7520 delete arg2;
7521 }
7522 return NULL;
7523}
7524
7525
2f4c0a16 7526static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7527 PyObject *resultobj;
7528 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7529 wxString result;
7530 PyObject * obj0 = 0 ;
7531 char *kwnames[] = {
7532 (char *) "self", NULL
7533 };
7534
7535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = (arg1)->FindNext();
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 {
7546#if wxUSE_UNICODE
7547 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7548#else
7549 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7550#endif
7551 }
7552 return resultobj;
7553 fail:
7554 return NULL;
7555}
7556
7557
2f4c0a16 7558static PyObject * ZipFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7559 PyObject *obj;
7560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7561 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7562 Py_INCREF(obj);
7563 return Py_BuildValue((char *)"");
7564}
2f4c0a16 7565static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7566 PyObject *resultobj;
7567 wxString *arg1 = 0 ;
7568 wxImage *arg2 = 0 ;
7569 long arg3 ;
423f194a 7570 bool temp1 = False ;
d14a1e28
RD
7571 PyObject * obj0 = 0 ;
7572 PyObject * obj1 = 0 ;
8edf1c75 7573 PyObject * obj2 = 0 ;
d14a1e28
RD
7574 char *kwnames[] = {
7575 (char *) "filename",(char *) "image",(char *) "type", NULL
7576 };
7577
8edf1c75 7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7579 {
7580 arg1 = wxString_in_helper(obj0);
7581 if (arg1 == NULL) SWIG_fail;
423f194a 7582 temp1 = True;
d14a1e28 7583 }
2f4c0a16
RD
7584 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
7585 SWIG_POINTER_EXCEPTION | 0)) == -1)
7586 SWIG_fail;
d14a1e28 7587 if (arg2 == NULL) {
2f4c0a16
RD
7588 PyErr_SetString(PyExc_TypeError,"null reference");
7589 SWIG_fail;
8edf1c75 7590 }
2f4c0a16
RD
7591 arg3 = (long) SWIG_AsLong(obj2);
7592 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7593 {
7594 PyThreadState* __tstate = wxPyBeginAllowThreads();
7595 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7596
7597 wxPyEndAllowThreads(__tstate);
7598 if (PyErr_Occurred()) SWIG_fail;
7599 }
7600 Py_INCREF(Py_None); resultobj = Py_None;
7601 {
7602 if (temp1)
7603 delete arg1;
7604 }
7605 return resultobj;
7606 fail:
7607 {
7608 if (temp1)
7609 delete arg1;
7610 }
7611 return NULL;
7612}
7613
7614
2f4c0a16 7615static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7616 PyObject *resultobj;
7617 wxString *arg1 = 0 ;
7618 wxBitmap *arg2 = 0 ;
7619 long arg3 ;
423f194a 7620 bool temp1 = False ;
d14a1e28
RD
7621 PyObject * obj0 = 0 ;
7622 PyObject * obj1 = 0 ;
8edf1c75 7623 PyObject * obj2 = 0 ;
d14a1e28
RD
7624 char *kwnames[] = {
7625 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7626 };
7627
8edf1c75 7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7629 {
7630 arg1 = wxString_in_helper(obj0);
7631 if (arg1 == NULL) SWIG_fail;
423f194a 7632 temp1 = True;
d14a1e28 7633 }
2f4c0a16
RD
7634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7635 SWIG_POINTER_EXCEPTION | 0)) == -1)
7636 SWIG_fail;
d14a1e28 7637 if (arg2 == NULL) {
2f4c0a16
RD
7638 PyErr_SetString(PyExc_TypeError,"null reference");
7639 SWIG_fail;
8edf1c75 7640 }
2f4c0a16
RD
7641 arg3 = (long) SWIG_AsLong(obj2);
7642 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7646
7647 wxPyEndAllowThreads(__tstate);
7648 if (PyErr_Occurred()) SWIG_fail;
7649 }
7650 Py_INCREF(Py_None); resultobj = Py_None;
7651 {
7652 if (temp1)
7653 delete arg1;
7654 }
7655 return resultobj;
7656 fail:
7657 {
7658 if (temp1)
7659 delete arg1;
7660 }
7661 return NULL;
7662}
7663
7664
2f4c0a16 7665static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7666 PyObject *resultobj;
7667 wxString *arg1 = 0 ;
7668 PyObject *arg2 = (PyObject *) 0 ;
423f194a 7669 bool temp1 = False ;
d14a1e28
RD
7670 PyObject * obj0 = 0 ;
7671 PyObject * obj1 = 0 ;
7672 char *kwnames[] = {
7673 (char *) "filename",(char *) "data", NULL
7674 };
7675
7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7677 {
7678 arg1 = wxString_in_helper(obj0);
7679 if (arg1 == NULL) SWIG_fail;
423f194a 7680 temp1 = True;
d14a1e28
RD
7681 }
7682 arg2 = obj1;
7683 {
7684 PyThreadState* __tstate = wxPyBeginAllowThreads();
7685 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7686
7687 wxPyEndAllowThreads(__tstate);
7688 if (PyErr_Occurred()) SWIG_fail;
7689 }
7690 Py_INCREF(Py_None); resultobj = Py_None;
7691 {
7692 if (temp1)
7693 delete arg1;
7694 }
7695 return resultobj;
7696 fail:
7697 {
7698 if (temp1)
7699 delete arg1;
7700 }
7701 return NULL;
7702}
7703
7704
2f4c0a16 7705static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7706 PyObject *resultobj;
7707 wxMemoryFSHandler *result;
7708 char *kwnames[] = {
7709 NULL
7710 };
7711
7712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
2f4c0a16 7720 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
d14a1e28
RD
7721 return resultobj;
7722 fail:
7723 return NULL;
7724}
7725
7726
2f4c0a16 7727static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7728 PyObject *resultobj;
7729 wxString *arg1 = 0 ;
423f194a 7730 bool temp1 = False ;
d14a1e28
RD
7731 PyObject * obj0 = 0 ;
7732 char *kwnames[] = {
7733 (char *) "filename", NULL
7734 };
7735
7736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7737 {
7738 arg1 = wxString_in_helper(obj0);
7739 if (arg1 == NULL) SWIG_fail;
423f194a 7740 temp1 = True;
d14a1e28
RD
7741 }
7742 {
7743 PyThreadState* __tstate = wxPyBeginAllowThreads();
7744 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7745
7746 wxPyEndAllowThreads(__tstate);
7747 if (PyErr_Occurred()) SWIG_fail;
7748 }
7749 Py_INCREF(Py_None); resultobj = Py_None;
7750 {
7751 if (temp1)
7752 delete arg1;
7753 }
7754 return resultobj;
7755 fail:
7756 {
7757 if (temp1)
7758 delete arg1;
7759 }
7760 return NULL;
7761}
7762
7763
2f4c0a16 7764static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7765 PyObject *resultobj;
7766 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7767 wxString *arg2 = 0 ;
7768 bool result;
423f194a 7769 bool temp2 = False ;
d14a1e28
RD
7770 PyObject * obj0 = 0 ;
7771 PyObject * obj1 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "self",(char *) "location", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7779 {
7780 arg2 = wxString_in_helper(obj1);
7781 if (arg2 == NULL) SWIG_fail;
423f194a 7782 temp2 = True;
d14a1e28
RD
7783 }
7784 {
7785 PyThreadState* __tstate = wxPyBeginAllowThreads();
7786 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7787
7788 wxPyEndAllowThreads(__tstate);
7789 if (PyErr_Occurred()) SWIG_fail;
7790 }
02a34c4c 7791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7792 {
7793 if (temp2)
7794 delete arg2;
7795 }
7796 return resultobj;
7797 fail:
7798 {
7799 if (temp2)
7800 delete arg2;
7801 }
7802 return NULL;
7803}
7804
7805
2f4c0a16 7806static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7807 PyObject *resultobj;
7808 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7809 wxFileSystem *arg2 = 0 ;
7810 wxString *arg3 = 0 ;
7811 wxFSFile *result;
423f194a 7812 bool temp3 = False ;
d14a1e28
RD
7813 PyObject * obj0 = 0 ;
7814 PyObject * obj1 = 0 ;
7815 PyObject * obj2 = 0 ;
7816 char *kwnames[] = {
7817 (char *) "self",(char *) "fs",(char *) "location", NULL
7818 };
7819
7820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7821 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7822 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7823 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7824 SWIG_POINTER_EXCEPTION | 0)) == -1)
7825 SWIG_fail;
d14a1e28 7826 if (arg2 == NULL) {
2f4c0a16
RD
7827 PyErr_SetString(PyExc_TypeError,"null reference");
7828 SWIG_fail;
d14a1e28
RD
7829 }
7830 {
7831 arg3 = wxString_in_helper(obj2);
7832 if (arg3 == NULL) SWIG_fail;
423f194a 7833 temp3 = True;
d14a1e28
RD
7834 }
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 {
7843 resultobj = wxPyMake_wxObject(result);
7844 }
7845 {
7846 if (temp3)
7847 delete arg3;
7848 }
7849 return resultobj;
7850 fail:
7851 {
7852 if (temp3)
7853 delete arg3;
7854 }
7855 return NULL;
7856}
7857
7858
2f4c0a16 7859static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7860 PyObject *resultobj;
7861 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7862 wxString *arg2 = 0 ;
7863 int arg3 = (int) 0 ;
7864 wxString result;
423f194a 7865 bool temp2 = False ;
d14a1e28
RD
7866 PyObject * obj0 = 0 ;
7867 PyObject * obj1 = 0 ;
8edf1c75 7868 PyObject * obj2 = 0 ;
d14a1e28
RD
7869 char *kwnames[] = {
7870 (char *) "self",(char *) "spec",(char *) "flags", NULL
7871 };
7872
8edf1c75 7873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7876 {
7877 arg2 = wxString_in_helper(obj1);
7878 if (arg2 == NULL) SWIG_fail;
423f194a 7879 temp2 = True;
d14a1e28 7880 }
8edf1c75 7881 if (obj2) {
2f4c0a16
RD
7882 arg3 = (int) SWIG_AsInt(obj2);
7883 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7884 }
d14a1e28
RD
7885 {
7886 PyThreadState* __tstate = wxPyBeginAllowThreads();
7887 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7888
7889 wxPyEndAllowThreads(__tstate);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 }
7892 {
7893#if wxUSE_UNICODE
7894 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7895#else
7896 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7897#endif
7898 }
7899 {
7900 if (temp2)
7901 delete arg2;
7902 }
7903 return resultobj;
7904 fail:
7905 {
7906 if (temp2)
7907 delete arg2;
7908 }
7909 return NULL;
7910}
7911
7912
2f4c0a16 7913static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7914 PyObject *resultobj;
7915 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7916 wxString result;
7917 PyObject * obj0 = 0 ;
7918 char *kwnames[] = {
7919 (char *) "self", NULL
7920 };
7921
7922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7925 {
7926 PyThreadState* __tstate = wxPyBeginAllowThreads();
7927 result = (arg1)->FindNext();
7928
7929 wxPyEndAllowThreads(__tstate);
7930 if (PyErr_Occurred()) SWIG_fail;
7931 }
7932 {
7933#if wxUSE_UNICODE
7934 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7935#else
7936 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7937#endif
7938 }
7939 return resultobj;
7940 fail:
7941 return NULL;
7942}
7943
7944
2f4c0a16 7945static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7946 PyObject *obj;
7947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7948 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
7949 Py_INCREF(obj);
7950 return Py_BuildValue((char *)"");
7951}
2f4c0a16 7952static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7953 PyObject *resultobj;
7954 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7955 wxString result;
7956 PyObject * obj0 = 0 ;
7957 char *kwnames[] = {
7958 (char *) "self", NULL
7959 };
7960
7961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
7963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 result = (arg1)->GetName();
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
7971 {
7972#if wxUSE_UNICODE
7973 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7974#else
7975 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7976#endif
7977 }
7978 return resultobj;
7979 fail:
7980 return NULL;
7981}
7982
7983
2f4c0a16 7984static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7985 PyObject *resultobj;
7986 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7987 wxString result;
7988 PyObject * obj0 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "self", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
7995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 result = (arg1)->GetExtension();
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 {
8004#if wxUSE_UNICODE
8005 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8006#else
8007 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8008#endif
8009 }
8010 return resultobj;
8011 fail:
8012 return NULL;
8013}
8014
8015
2f4c0a16 8016static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8017 PyObject *resultobj;
8018 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8019 long result;
8020 PyObject * obj0 = 0 ;
8021 char *kwnames[] = {
8022 (char *) "self", NULL
8023 };
8024
8025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8028 {
8029 PyThreadState* __tstate = wxPyBeginAllowThreads();
8030 result = (long)(arg1)->GetType();
8031
8032 wxPyEndAllowThreads(__tstate);
8033 if (PyErr_Occurred()) SWIG_fail;
8034 }
2f4c0a16 8035 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
8036 return resultobj;
8037 fail:
8038 return NULL;
8039}
8040
8041
2f4c0a16 8042static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8043 PyObject *resultobj;
8044 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8045 wxString result;
8046 PyObject * obj0 = 0 ;
8047 char *kwnames[] = {
8048 (char *) "self", NULL
8049 };
8050
8051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8054 {
8055 PyThreadState* __tstate = wxPyBeginAllowThreads();
8056 result = (arg1)->GetMimeType();
8057
8058 wxPyEndAllowThreads(__tstate);
8059 if (PyErr_Occurred()) SWIG_fail;
8060 }
8061 {
8062#if wxUSE_UNICODE
8063 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8064#else
8065 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8066#endif
8067 }
8068 return resultobj;
8069 fail:
8070 return NULL;
8071}
8072
8073
2f4c0a16 8074static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8075 PyObject *resultobj;
8076 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8077 wxString *arg2 = 0 ;
8078 bool result;
423f194a 8079 bool temp2 = False ;
d14a1e28
RD
8080 PyObject * obj0 = 0 ;
8081 PyObject * obj1 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "self",(char *) "name", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8089 {
8090 arg2 = wxString_in_helper(obj1);
8091 if (arg2 == NULL) SWIG_fail;
423f194a 8092 temp2 = True;
d14a1e28
RD
8093 }
8094 {
8095 PyThreadState* __tstate = wxPyBeginAllowThreads();
8096 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8097
8098 wxPyEndAllowThreads(__tstate);
8099 if (PyErr_Occurred()) SWIG_fail;
8100 }
02a34c4c 8101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8102 {
8103 if (temp2)
8104 delete arg2;
8105 }
8106 return resultobj;
8107 fail:
8108 {
8109 if (temp2)
8110 delete arg2;
8111 }
8112 return NULL;
8113}
8114
8115
2f4c0a16 8116static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8117 PyObject *resultobj;
8118 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8119 wxString *arg2 = 0 ;
423f194a 8120 bool temp2 = False ;
d14a1e28
RD
8121 PyObject * obj0 = 0 ;
8122 PyObject * obj1 = 0 ;
8123 char *kwnames[] = {
8124 (char *) "self",(char *) "name", NULL
8125 };
8126
8127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8130 {
8131 arg2 = wxString_in_helper(obj1);
8132 if (arg2 == NULL) SWIG_fail;
423f194a 8133 temp2 = True;
d14a1e28
RD
8134 }
8135 {
8136 PyThreadState* __tstate = wxPyBeginAllowThreads();
8137 (arg1)->SetName((wxString const &)*arg2);
8138
8139 wxPyEndAllowThreads(__tstate);
8140 if (PyErr_Occurred()) SWIG_fail;
8141 }
8142 Py_INCREF(Py_None); resultobj = Py_None;
8143 {
8144 if (temp2)
8145 delete arg2;
8146 }
8147 return resultobj;
8148 fail:
8149 {
8150 if (temp2)
8151 delete arg2;
8152 }
8153 return NULL;
8154}
8155
8156
2f4c0a16 8157static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8158 PyObject *resultobj;
8159 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8160 wxString *arg2 = 0 ;
423f194a 8161 bool temp2 = False ;
d14a1e28
RD
8162 PyObject * obj0 = 0 ;
8163 PyObject * obj1 = 0 ;
8164 char *kwnames[] = {
8165 (char *) "self",(char *) "extension", NULL
8166 };
8167
8168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8171 {
8172 arg2 = wxString_in_helper(obj1);
8173 if (arg2 == NULL) SWIG_fail;
423f194a 8174 temp2 = True;
d14a1e28
RD
8175 }
8176 {
8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
8178 (arg1)->SetExtension((wxString const &)*arg2);
8179
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 Py_INCREF(Py_None); resultobj = Py_None;
8184 {
8185 if (temp2)
8186 delete arg2;
8187 }
8188 return resultobj;
8189 fail:
8190 {
8191 if (temp2)
8192 delete arg2;
8193 }
8194 return NULL;
8195}
8196
8197
2f4c0a16 8198static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8199 PyObject *resultobj;
8200 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8201 long arg2 ;
8202 PyObject * obj0 = 0 ;
8edf1c75 8203 PyObject * obj1 = 0 ;
d14a1e28
RD
8204 char *kwnames[] = {
8205 (char *) "self",(char *) "type", NULL
8206 };
8207
8edf1c75 8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8211 arg2 = (long) SWIG_AsLong(obj1);
8212 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8213 {
8214 PyThreadState* __tstate = wxPyBeginAllowThreads();
8215 (arg1)->SetType(arg2);
8216
8217 wxPyEndAllowThreads(__tstate);
8218 if (PyErr_Occurred()) SWIG_fail;
8219 }
8220 Py_INCREF(Py_None); resultobj = Py_None;
8221 return resultobj;
8222 fail:
8223 return NULL;
8224}
8225
8226
2f4c0a16 8227static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8228 PyObject *resultobj;
8229 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8230 wxString *arg2 = 0 ;
423f194a 8231 bool temp2 = False ;
d14a1e28
RD
8232 PyObject * obj0 = 0 ;
8233 PyObject * obj1 = 0 ;
8234 char *kwnames[] = {
8235 (char *) "self",(char *) "mimetype", NULL
8236 };
8237
8238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8241 {
8242 arg2 = wxString_in_helper(obj1);
8243 if (arg2 == NULL) SWIG_fail;
423f194a 8244 temp2 = True;
d14a1e28
RD
8245 }
8246 {
8247 PyThreadState* __tstate = wxPyBeginAllowThreads();
8248 (arg1)->SetMimeType((wxString const &)*arg2);
8249
8250 wxPyEndAllowThreads(__tstate);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 }
8253 Py_INCREF(Py_None); resultobj = Py_None;
8254 {
8255 if (temp2)
8256 delete arg2;
8257 }
8258 return resultobj;
8259 fail:
8260 {
8261 if (temp2)
8262 delete arg2;
8263 }
8264 return NULL;
8265}
8266
8267
2f4c0a16 8268static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8269 PyObject *obj;
8270 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8271 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8272 Py_INCREF(obj);
8273 return Py_BuildValue((char *)"");
8274}
2f4c0a16 8275static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8276 PyObject *resultobj;
8277 wxImageHistogram *result;
8278 char *kwnames[] = {
8279 NULL
8280 };
8281
8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8283 {
8284 PyThreadState* __tstate = wxPyBeginAllowThreads();
8285 result = (wxImageHistogram *)new wxImageHistogram();
8286
8287 wxPyEndAllowThreads(__tstate);
8288 if (PyErr_Occurred()) SWIG_fail;
8289 }
2f4c0a16 8290 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
d14a1e28
RD
8291 return resultobj;
8292 fail:
8293 return NULL;
8294}
8295
8296
2f4c0a16 8297static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8298 PyObject *resultobj;
8299 unsigned char arg1 ;
8300 unsigned char arg2 ;
8301 unsigned char arg3 ;
8302 unsigned long result;
8303 PyObject * obj0 = 0 ;
8304 PyObject * obj1 = 0 ;
8305 PyObject * obj2 = 0 ;
8306 char *kwnames[] = {
8307 (char *) "r",(char *) "g",(char *) "b", NULL
8308 };
8309
8310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8311 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8312 if (PyErr_Occurred()) SWIG_fail;
8313 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8314 if (PyErr_Occurred()) SWIG_fail;
8315 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8316 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8317 {
8318 PyThreadState* __tstate = wxPyBeginAllowThreads();
8319 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8320
8321 wxPyEndAllowThreads(__tstate);
8322 if (PyErr_Occurred()) SWIG_fail;
8323 }
2f4c0a16 8324 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
8325 return resultobj;
8326 fail:
8327 return NULL;
8328}
8329
8330
2f4c0a16 8331static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8332 PyObject *resultobj;
8333 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8334 unsigned char *arg2 = (unsigned char *) 0 ;
8335 unsigned char *arg3 = (unsigned char *) 0 ;
8336 unsigned char *arg4 = (unsigned char *) 0 ;
8337 unsigned char arg5 = (unsigned char) 1 ;
8338 unsigned char arg6 = (unsigned char) 0 ;
8339 unsigned char arg7 = (unsigned char) 0 ;
8340 bool result;
8341 unsigned char temp2 ;
8342 unsigned char temp3 ;
8343 unsigned char temp4 ;
8344 PyObject * obj0 = 0 ;
8345 PyObject * obj1 = 0 ;
8346 PyObject * obj2 = 0 ;
8347 PyObject * obj3 = 0 ;
8348 char *kwnames[] = {
8349 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8350 };
8351
8352 arg2 = &temp2;
8353 arg3 = &temp3;
8354 arg4 = &temp4;
8355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8358 if (obj1) {
2f4c0a16
RD
8359 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8360 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8361 }
8362 if (obj2) {
2f4c0a16
RD
8363 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8365 }
8366 if (obj3) {
2f4c0a16
RD
8367 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8368 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8369 }
8370 {
8371 PyThreadState* __tstate = wxPyBeginAllowThreads();
8372 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8373
8374 wxPyEndAllowThreads(__tstate);
8375 if (PyErr_Occurred()) SWIG_fail;
8376 }
02a34c4c 8377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8378 {
8379 PyObject *o = PyInt_FromLong((long) (*arg2));
8380 resultobj = t_output_helper(resultobj,o);
8381 }
8382 {
8383 PyObject *o = PyInt_FromLong((long) (*arg3));
8384 resultobj = t_output_helper(resultobj,o);
8385 }
8386 {
8387 PyObject *o = PyInt_FromLong((long) (*arg4));
8388 resultobj = t_output_helper(resultobj,o);
8389 }
8390 return resultobj;
8391 fail:
8392 return NULL;
8393}
8394
8395
2f4c0a16 8396static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8397 PyObject *obj;
8398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8399 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8400 Py_INCREF(obj);
8401 return Py_BuildValue((char *)"");
8402}
2f4c0a16 8403static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8404 PyObject *resultobj;
8405 wxString *arg1 = 0 ;
8406 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8407 int arg3 = (int) -1 ;
8408 wxImage *result;
423f194a 8409 bool temp1 = False ;
d14a1e28 8410 PyObject * obj0 = 0 ;
8edf1c75
RD
8411 PyObject * obj1 = 0 ;
8412 PyObject * obj2 = 0 ;
d14a1e28
RD
8413 char *kwnames[] = {
8414 (char *) "name",(char *) "type",(char *) "index", NULL
8415 };
8416
8edf1c75 8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8418 {
8419 arg1 = wxString_in_helper(obj0);
8420 if (arg1 == NULL) SWIG_fail;
423f194a 8421 temp1 = True;
d14a1e28 8422 }
8edf1c75 8423 if (obj1) {
2f4c0a16
RD
8424 arg2 = (long) SWIG_AsLong(obj1);
8425 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8426 }
8427 if (obj2) {
2f4c0a16
RD
8428 arg3 = (int) SWIG_AsInt(obj2);
8429 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8430 }
d14a1e28
RD
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8434
8435 wxPyEndAllowThreads(__tstate);
8436 if (PyErr_Occurred()) SWIG_fail;
8437 }
2f4c0a16 8438 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8439 {
8440 if (temp1)
8441 delete arg1;
8442 }
8443 return resultobj;
8444 fail:
8445 {
8446 if (temp1)
8447 delete arg1;
8448 }
8449 return NULL;
8450}
8451
8452
2f4c0a16 8453static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8454 PyObject *resultobj;
8455 wxImage *arg1 = (wxImage *) 0 ;
8456 PyObject * obj0 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8464 {
8465 PyThreadState* __tstate = wxPyBeginAllowThreads();
8466 delete arg1;
8467
8468 wxPyEndAllowThreads(__tstate);
8469 if (PyErr_Occurred()) SWIG_fail;
8470 }
8471 Py_INCREF(Py_None); resultobj = Py_None;
8472 return resultobj;
8473 fail:
8474 return NULL;
8475}
8476
8477
2f4c0a16 8478static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8479 PyObject *resultobj;
8480 wxString *arg1 = 0 ;
8481 wxString *arg2 = 0 ;
8482 int arg3 = (int) -1 ;
8483 wxImage *result;
423f194a
RD
8484 bool temp1 = False ;
8485 bool temp2 = False ;
d14a1e28
RD
8486 PyObject * obj0 = 0 ;
8487 PyObject * obj1 = 0 ;
8edf1c75 8488 PyObject * obj2 = 0 ;
d14a1e28
RD
8489 char *kwnames[] = {
8490 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8491 };
8492
8edf1c75 8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8494 {
8495 arg1 = wxString_in_helper(obj0);
8496 if (arg1 == NULL) SWIG_fail;
423f194a 8497 temp1 = True;
d14a1e28
RD
8498 }
8499 {
8500 arg2 = wxString_in_helper(obj1);
8501 if (arg2 == NULL) SWIG_fail;
423f194a 8502 temp2 = True;
d14a1e28 8503 }
8edf1c75 8504 if (obj2) {
2f4c0a16
RD
8505 arg3 = (int) SWIG_AsInt(obj2);
8506 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8507 }
d14a1e28
RD
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
2f4c0a16 8515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8516 {
8517 if (temp1)
8518 delete arg1;
8519 }
8520 {
8521 if (temp2)
8522 delete arg2;
8523 }
8524 return resultobj;
8525 fail:
8526 {
8527 if (temp1)
8528 delete arg1;
8529 }
8530 {
8531 if (temp2)
8532 delete arg2;
8533 }
8534 return NULL;
8535}
8536
8537
2f4c0a16 8538static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8539 PyObject *resultobj;
8540 wxInputStream *arg1 = 0 ;
8541 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8542 int arg3 = (int) -1 ;
8543 wxImage *result;
8544 wxPyInputStream *temp1 ;
8545 bool created1 ;
8546 PyObject * obj0 = 0 ;
8edf1c75
RD
8547 PyObject * obj1 = 0 ;
8548 PyObject * obj2 = 0 ;
d14a1e28
RD
8549 char *kwnames[] = {
8550 (char *) "stream",(char *) "type",(char *) "index", NULL
8551 };
8552
8edf1c75 8553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8554 {
8555 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8556 arg1 = temp1->m_wxis;
423f194a 8557 created1 = False;
d14a1e28
RD
8558 } else {
8559 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 8560 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8561 if (arg1 == NULL) {
8562 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8563 SWIG_fail;
8564 }
423f194a 8565 created1 = True;
d14a1e28
RD
8566 }
8567 }
8edf1c75 8568 if (obj1) {
2f4c0a16
RD
8569 arg2 = (long) SWIG_AsLong(obj1);
8570 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8571 }
8572 if (obj2) {
2f4c0a16
RD
8573 arg3 = (int) SWIG_AsInt(obj2);
8574 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8575 }
d14a1e28
RD
8576 {
8577 PyThreadState* __tstate = wxPyBeginAllowThreads();
8578 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8579
8580 wxPyEndAllowThreads(__tstate);
8581 if (PyErr_Occurred()) SWIG_fail;
8582 }
2f4c0a16 8583 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8584 {
8585 if (created1)
8586 delete arg1;
8587 }
8588 return resultobj;
8589 fail:
8590 {
8591 if (created1)
8592 delete arg1;
8593 }
8594 return NULL;
8595}
8596
8597
2f4c0a16 8598static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8599 PyObject *resultobj;
8600 wxInputStream *arg1 = 0 ;
8601 wxString *arg2 = 0 ;
8602 int arg3 = (int) -1 ;
8603 wxImage *result;
8604 wxPyInputStream *temp1 ;
8605 bool created1 ;
423f194a 8606 bool temp2 = False ;
d14a1e28
RD
8607 PyObject * obj0 = 0 ;
8608 PyObject * obj1 = 0 ;
8edf1c75 8609 PyObject * obj2 = 0 ;
d14a1e28
RD
8610 char *kwnames[] = {
8611 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8612 };
8613
8edf1c75 8614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8615 {
8616 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8617 arg1 = temp1->m_wxis;
423f194a 8618 created1 = False;
d14a1e28
RD
8619 } else {
8620 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 8621 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8622 if (arg1 == NULL) {
8623 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8624 SWIG_fail;
8625 }
423f194a 8626 created1 = True;
d14a1e28
RD
8627 }
8628 }
8629 {
8630 arg2 = wxString_in_helper(obj1);
8631 if (arg2 == NULL) SWIG_fail;
423f194a 8632 temp2 = True;
d14a1e28 8633 }
8edf1c75 8634 if (obj2) {
2f4c0a16
RD
8635 arg3 = (int) SWIG_AsInt(obj2);
8636 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8637 }
d14a1e28
RD
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8641
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
2f4c0a16 8645 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8646 {
8647 if (created1)
8648 delete arg1;
8649 }
8650 {
8651 if (temp2)
8652 delete arg2;
8653 }
8654 return resultobj;
8655 fail:
8656 {
8657 if (created1)
8658 delete arg1;
8659 }
8660 {
8661 if (temp2)
8662 delete arg2;
8663 }
8664 return NULL;
8665}
8666
8667
2f4c0a16 8668static PyObject *_wrap_new_EmptyImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8669 PyObject *resultobj;
8670 int arg1 = (int) 0 ;
8671 int arg2 = (int) 0 ;
423f194a 8672 bool arg3 = (bool) True ;
d14a1e28 8673 wxImage *result;
8edf1c75
RD
8674 PyObject * obj0 = 0 ;
8675 PyObject * obj1 = 0 ;
d14a1e28
RD
8676 PyObject * obj2 = 0 ;
8677 char *kwnames[] = {
8678 (char *) "width",(char *) "height",(char *) "clear", NULL
8679 };
8680
8edf1c75
RD
8681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
8682 if (obj0) {
2f4c0a16
RD
8683 arg1 = (int) SWIG_AsInt(obj0);
8684 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8685 }
8686 if (obj1) {
2f4c0a16
RD
8687 arg2 = (int) SWIG_AsInt(obj1);
8688 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8689 }
d14a1e28 8690 if (obj2) {
2f4c0a16
RD
8691 arg3 = (bool) SWIG_AsBool(obj2);
8692 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8693 }
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
2f4c0a16 8701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8702 return resultobj;
8703 fail:
8704 return NULL;
8705}
8706
8707
2f4c0a16 8708static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8709 PyObject *resultobj;
8710 wxBitmap *arg1 = 0 ;
8711 wxImage *result;
8712 PyObject * obj0 = 0 ;
8713 char *kwnames[] = {
8714 (char *) "bitmap", NULL
8715 };
8716
8717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8719 SWIG_POINTER_EXCEPTION | 0)) == -1)
8720 SWIG_fail;
d14a1e28 8721 if (arg1 == NULL) {
2f4c0a16
RD
8722 PyErr_SetString(PyExc_TypeError,"null reference");
8723 SWIG_fail;
d14a1e28
RD
8724 }
8725 {
8726 PyThreadState* __tstate = wxPyBeginAllowThreads();
8727 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8728
8729 wxPyEndAllowThreads(__tstate);
8730 if (PyErr_Occurred()) SWIG_fail;
8731 }
2f4c0a16 8732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8733 return resultobj;
8734 fail:
8735 return NULL;
8736}
8737
8738
2f4c0a16 8739static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8740 PyObject *resultobj;
8741 int arg1 ;
8742 int arg2 ;
8743 unsigned char *arg3 = (unsigned char *) 0 ;
8744 wxImage *result;
8edf1c75
RD
8745 PyObject * obj0 = 0 ;
8746 PyObject * obj1 = 0 ;
d14a1e28
RD
8747 PyObject * obj2 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "width",(char *) "height",(char *) "data", NULL
8750 };
8751
8edf1c75 8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8753 arg1 = (int) SWIG_AsInt(obj0);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 arg2 = (int) SWIG_AsInt(obj1);
8756 if (PyErr_Occurred()) SWIG_fail;
8757 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8759 {
8760 PyThreadState* __tstate = wxPyBeginAllowThreads();
8761 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8762
8763 wxPyEndAllowThreads(__tstate);
8764 if (PyErr_Occurred()) SWIG_fail;
8765 }
2f4c0a16 8766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8767 return resultobj;
8768 fail:
8769 return NULL;
8770}
8771
8772
2f4c0a16 8773static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8774 PyObject *resultobj;
8775 wxImage *arg1 = (wxImage *) 0 ;
8776 int arg2 ;
8777 int arg3 ;
8778 PyObject * obj0 = 0 ;
8edf1c75
RD
8779 PyObject * obj1 = 0 ;
8780 PyObject * obj2 = 0 ;
d14a1e28
RD
8781 char *kwnames[] = {
8782 (char *) "self",(char *) "width",(char *) "height", NULL
8783 };
8784
8edf1c75 8785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8788 arg2 = (int) SWIG_AsInt(obj1);
8789 if (PyErr_Occurred()) SWIG_fail;
8790 arg3 = (int) SWIG_AsInt(obj2);
8791 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8792 {
8793 PyThreadState* __tstate = wxPyBeginAllowThreads();
8794 (arg1)->Create(arg2,arg3);
8795
8796 wxPyEndAllowThreads(__tstate);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 }
8799 Py_INCREF(Py_None); resultobj = Py_None;
8800 return resultobj;
8801 fail:
8802 return NULL;
8803}
8804
8805
2f4c0a16 8806static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8807 PyObject *resultobj;
8808 wxImage *arg1 = (wxImage *) 0 ;
8809 PyObject * obj0 = 0 ;
8810 char *kwnames[] = {
8811 (char *) "self", NULL
8812 };
8813
8814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8817 {
8818 PyThreadState* __tstate = wxPyBeginAllowThreads();
8819 (arg1)->Destroy();
8820
8821 wxPyEndAllowThreads(__tstate);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 Py_INCREF(Py_None); resultobj = Py_None;
8825 return resultobj;
8826 fail:
8827 return NULL;
8828}
8829
8830
2f4c0a16 8831static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8832 PyObject *resultobj;
8833 wxImage *arg1 = (wxImage *) 0 ;
8834 int arg2 ;
8835 int arg3 ;
8836 SwigValueWrapper< wxImage > result;
8837 PyObject * obj0 = 0 ;
8edf1c75
RD
8838 PyObject * obj1 = 0 ;
8839 PyObject * obj2 = 0 ;
d14a1e28
RD
8840 char *kwnames[] = {
8841 (char *) "self",(char *) "width",(char *) "height", NULL
8842 };
8843
8edf1c75 8844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8847 arg2 = (int) SWIG_AsInt(obj1);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 arg3 = (int) SWIG_AsInt(obj2);
8850 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8851 {
8852 PyThreadState* __tstate = wxPyBeginAllowThreads();
8853 result = (arg1)->Scale(arg2,arg3);
8854
8855 wxPyEndAllowThreads(__tstate);
8856 if (PyErr_Occurred()) SWIG_fail;
8857 }
8858 {
8859 wxImage * resultptr;
8860 resultptr = new wxImage((wxImage &) result);
2f4c0a16 8861 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8862 }
8863 return resultobj;
8864 fail:
8865 return NULL;
8866}
8867
8868
2f4c0a16 8869static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8870 PyObject *resultobj;
8871 wxImage *arg1 = (wxImage *) 0 ;
8872 int arg2 ;
8873 int arg3 ;
8874 SwigValueWrapper< wxImage > result;
8875 PyObject * obj0 = 0 ;
8edf1c75
RD
8876 PyObject * obj1 = 0 ;
8877 PyObject * obj2 = 0 ;
d14a1e28
RD
8878 char *kwnames[] = {
8879 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8880 };
8881
8edf1c75 8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8885 arg2 = (int) SWIG_AsInt(obj1);
8886 if (PyErr_Occurred()) SWIG_fail;
8887 arg3 = (int) SWIG_AsInt(obj2);
8888 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8889 {
8890 PyThreadState* __tstate = wxPyBeginAllowThreads();
8891 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
8892
8893 wxPyEndAllowThreads(__tstate);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 {
8897 wxImage * resultptr;
8898 resultptr = new wxImage((wxImage &) result);
2f4c0a16 8899 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8900 }
8901 return resultobj;
8902 fail:
8903 return NULL;
8904}
8905
8906
2f4c0a16 8907static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8908 PyObject *resultobj;
8909 wxImage *arg1 = (wxImage *) 0 ;
8910 int arg2 ;
8911 int arg3 ;
8912 wxImage *result;
8913 PyObject * obj0 = 0 ;
8edf1c75
RD
8914 PyObject * obj1 = 0 ;
8915 PyObject * obj2 = 0 ;
d14a1e28
RD
8916 char *kwnames[] = {
8917 (char *) "self",(char *) "width",(char *) "height", NULL
8918 };
8919
8edf1c75 8920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8923 arg2 = (int) SWIG_AsInt(obj1);
8924 if (PyErr_Occurred()) SWIG_fail;
8925 arg3 = (int) SWIG_AsInt(obj2);
8926 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8927 {
8928 PyThreadState* __tstate = wxPyBeginAllowThreads();
8929 {
8930 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
8931 result = (wxImage *) &_result_ref;
8932 }
8933
8934 wxPyEndAllowThreads(__tstate);
8935 if (PyErr_Occurred()) SWIG_fail;
8936 }
2f4c0a16 8937 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
8938 return resultobj;
8939 fail:
8940 return NULL;
8941}
8942
8943
2f4c0a16 8944static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8945 PyObject *resultobj;
8946 wxImage *arg1 = (wxImage *) 0 ;
8947 int arg2 ;
8948 int arg3 ;
8949 unsigned char arg4 ;
8950 unsigned char arg5 ;
8951 unsigned char arg6 ;
8952 PyObject * obj0 = 0 ;
8edf1c75
RD
8953 PyObject * obj1 = 0 ;
8954 PyObject * obj2 = 0 ;
d14a1e28
RD
8955 PyObject * obj3 = 0 ;
8956 PyObject * obj4 = 0 ;
8957 PyObject * obj5 = 0 ;
8958 char *kwnames[] = {
8959 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8960 };
8961
8edf1c75 8962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8965 arg2 = (int) SWIG_AsInt(obj1);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 arg3 = (int) SWIG_AsInt(obj2);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
8972 if (PyErr_Occurred()) SWIG_fail;
8973 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
8974 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8975 {
8976 PyThreadState* __tstate = wxPyBeginAllowThreads();
8977 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
8978
8979 wxPyEndAllowThreads(__tstate);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 }
8982 Py_INCREF(Py_None); resultobj = Py_None;
8983 return resultobj;
8984 fail:
8985 return NULL;
8986}
8987
8988
2f4c0a16 8989static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8990 PyObject *resultobj;
8991 wxImage *arg1 = (wxImage *) 0 ;
8992 int arg2 ;
8993 int arg3 ;
8994 unsigned char result;
8995 PyObject * obj0 = 0 ;
8edf1c75
RD
8996 PyObject * obj1 = 0 ;
8997 PyObject * obj2 = 0 ;
d14a1e28
RD
8998 char *kwnames[] = {
8999 (char *) "self",(char *) "x",(char *) "y", NULL
9000 };
9001
8edf1c75 9002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9005 arg2 = (int) SWIG_AsInt(obj1);
9006 if (PyErr_Occurred()) SWIG_fail;
9007 arg3 = (int) SWIG_AsInt(obj2);
9008 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9009 {
9010 PyThreadState* __tstate = wxPyBeginAllowThreads();
9011 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9012
9013 wxPyEndAllowThreads(__tstate);
9014 if (PyErr_Occurred()) SWIG_fail;
9015 }
2f4c0a16 9016 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9017 return resultobj;
9018 fail:
9019 return NULL;
9020}
9021
9022
2f4c0a16 9023static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9024 PyObject *resultobj;
9025 wxImage *arg1 = (wxImage *) 0 ;
9026 int arg2 ;
9027 int arg3 ;
9028 unsigned char result;
9029 PyObject * obj0 = 0 ;
8edf1c75
RD
9030 PyObject * obj1 = 0 ;
9031 PyObject * obj2 = 0 ;
d14a1e28
RD
9032 char *kwnames[] = {
9033 (char *) "self",(char *) "x",(char *) "y", NULL
9034 };
9035
8edf1c75 9036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9039 arg2 = (int) SWIG_AsInt(obj1);
9040 if (PyErr_Occurred()) SWIG_fail;
9041 arg3 = (int) SWIG_AsInt(obj2);
9042 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9043 {
9044 PyThreadState* __tstate = wxPyBeginAllowThreads();
9045 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9046
9047 wxPyEndAllowThreads(__tstate);
9048 if (PyErr_Occurred()) SWIG_fail;
9049 }
2f4c0a16 9050 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9051 return resultobj;
9052 fail:
9053 return NULL;
9054}
9055
9056
2f4c0a16 9057static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9058 PyObject *resultobj;
9059 wxImage *arg1 = (wxImage *) 0 ;
9060 int arg2 ;
9061 int arg3 ;
9062 unsigned char result;
9063 PyObject * obj0 = 0 ;
8edf1c75
RD
9064 PyObject * obj1 = 0 ;
9065 PyObject * obj2 = 0 ;
d14a1e28
RD
9066 char *kwnames[] = {
9067 (char *) "self",(char *) "x",(char *) "y", NULL
9068 };
9069
8edf1c75 9070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9073 arg2 = (int) SWIG_AsInt(obj1);
9074 if (PyErr_Occurred()) SWIG_fail;
9075 arg3 = (int) SWIG_AsInt(obj2);
9076 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9077 {
9078 PyThreadState* __tstate = wxPyBeginAllowThreads();
9079 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9080
9081 wxPyEndAllowThreads(__tstate);
9082 if (PyErr_Occurred()) SWIG_fail;
9083 }
2f4c0a16 9084 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9085 return resultobj;
9086 fail:
9087 return NULL;
9088}
9089
9090
2f4c0a16 9091static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9092 PyObject *resultobj;
9093 wxImage *arg1 = (wxImage *) 0 ;
9094 int arg2 ;
9095 int arg3 ;
9096 unsigned char arg4 ;
9097 PyObject * obj0 = 0 ;
8edf1c75
RD
9098 PyObject * obj1 = 0 ;
9099 PyObject * obj2 = 0 ;
d14a1e28
RD
9100 PyObject * obj3 = 0 ;
9101 char *kwnames[] = {
9102 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9103 };
9104
8edf1c75 9105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9108 arg2 = (int) SWIG_AsInt(obj1);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 arg3 = (int) SWIG_AsInt(obj2);
9111 if (PyErr_Occurred()) SWIG_fail;
9112 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9114 {
9115 PyThreadState* __tstate = wxPyBeginAllowThreads();
9116 (arg1)->SetAlpha(arg2,arg3,arg4);
9117
9118 wxPyEndAllowThreads(__tstate);
9119 if (PyErr_Occurred()) SWIG_fail;
9120 }
9121 Py_INCREF(Py_None); resultobj = Py_None;
9122 return resultobj;
9123 fail:
9124 return NULL;
9125}
9126
9127
2f4c0a16 9128static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9129 PyObject *resultobj;
9130 wxImage *arg1 = (wxImage *) 0 ;
9131 int arg2 ;
9132 int arg3 ;
9133 unsigned char result;
9134 PyObject * obj0 = 0 ;
8edf1c75
RD
9135 PyObject * obj1 = 0 ;
9136 PyObject * obj2 = 0 ;
d14a1e28
RD
9137 char *kwnames[] = {
9138 (char *) "self",(char *) "x",(char *) "y", NULL
9139 };
9140
8edf1c75 9141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9144 arg2 = (int) SWIG_AsInt(obj1);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 arg3 = (int) SWIG_AsInt(obj2);
9147 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9148 {
9149 PyThreadState* __tstate = wxPyBeginAllowThreads();
9150 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9151
9152 wxPyEndAllowThreads(__tstate);
9153 if (PyErr_Occurred()) SWIG_fail;
9154 }
2f4c0a16 9155 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9156 return resultobj;
9157 fail:
9158 return NULL;
9159}
9160
9161
2f4c0a16 9162static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9163 PyObject *resultobj;
9164 wxImage *arg1 = (wxImage *) 0 ;
9165 bool result;
9166 PyObject * obj0 = 0 ;
9167 char *kwnames[] = {
9168 (char *) "self", NULL
9169 };
9170
9171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 result = (bool)(arg1)->HasAlpha();
9177
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
02a34c4c 9181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9182 return resultobj;
9183 fail:
9184 return NULL;
9185}
9186
9187
2f4c0a16 9188static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9189 PyObject *resultobj;
9190 wxImage *arg1 = (wxImage *) 0 ;
9191 byte *arg2 = (byte *) 0 ;
9192 byte *arg3 = (byte *) 0 ;
9193 byte *arg4 = (byte *) 0 ;
9194 byte arg5 = (byte) 0 ;
9195 byte arg6 = (byte) 0 ;
9196 byte arg7 = (byte) 0 ;
9197 bool result;
9198 byte temp2 ;
9199 byte temp3 ;
9200 byte temp4 ;
9201 PyObject * obj0 = 0 ;
9202 PyObject * obj1 = 0 ;
9203 PyObject * obj2 = 0 ;
9204 PyObject * obj3 = 0 ;
9205 char *kwnames[] = {
9206 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9207 };
9208
9209 arg2 = &temp2;
9210 arg3 = &temp3;
9211 arg4 = &temp4;
9212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9215 if (obj1) {
2f4c0a16
RD
9216 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9217 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9218 }
9219 if (obj2) {
2f4c0a16
RD
9220 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9221 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9222 }
9223 if (obj3) {
2f4c0a16
RD
9224 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9225 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9226 }
9227 {
9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
9229 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9230
9231 wxPyEndAllowThreads(__tstate);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 }
02a34c4c 9234 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9235 {
9236 PyObject *o = PyInt_FromLong((long) (*arg2));
9237 resultobj = t_output_helper(resultobj,o);
9238 }
9239 {
9240 PyObject *o = PyInt_FromLong((long) (*arg3));
9241 resultobj = t_output_helper(resultobj,o);
9242 }
9243 {
9244 PyObject *o = PyInt_FromLong((long) (*arg4));
9245 resultobj = t_output_helper(resultobj,o);
9246 }
9247 return resultobj;
9248 fail:
9249 return NULL;
9250}
9251
9252
2f4c0a16 9253static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9254 PyObject *resultobj;
9255 wxImage *arg1 = (wxImage *) 0 ;
9256 wxImage *arg2 = 0 ;
9257 byte arg3 ;
9258 byte arg4 ;
9259 byte arg5 ;
9260 bool result;
9261 PyObject * obj0 = 0 ;
9262 PyObject * obj1 = 0 ;
9263 PyObject * obj2 = 0 ;
9264 PyObject * obj3 = 0 ;
9265 PyObject * obj4 = 0 ;
9266 char *kwnames[] = {
9267 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9268 };
9269
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
9271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9273 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9274 SWIG_POINTER_EXCEPTION | 0)) == -1)
9275 SWIG_fail;
d14a1e28 9276 if (arg2 == NULL) {
2f4c0a16
RD
9277 PyErr_SetString(PyExc_TypeError,"null reference");
9278 SWIG_fail;
2dbef272 9279 }
2f4c0a16
RD
9280 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9283 if (PyErr_Occurred()) SWIG_fail;
9284 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9285 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9286 {
9287 PyThreadState* __tstate = wxPyBeginAllowThreads();
9288 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9289
9290 wxPyEndAllowThreads(__tstate);
9291 if (PyErr_Occurred()) SWIG_fail;
9292 }
02a34c4c 9293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9294 return resultobj;
9295 fail:
9296 return NULL;
9297}
9298
9299
2f4c0a16 9300static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9301 PyObject *resultobj;
9302 wxString *arg1 = 0 ;
9303 bool result;
423f194a 9304 bool temp1 = False ;
d14a1e28
RD
9305 PyObject * obj0 = 0 ;
9306 char *kwnames[] = {
9307 (char *) "name", NULL
9308 };
9309
9310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9311 {
9312 arg1 = wxString_in_helper(obj0);
9313 if (arg1 == NULL) SWIG_fail;
423f194a 9314 temp1 = True;
d14a1e28
RD
9315 }
9316 {
9317 PyThreadState* __tstate = wxPyBeginAllowThreads();
9318 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9319
9320 wxPyEndAllowThreads(__tstate);
9321 if (PyErr_Occurred()) SWIG_fail;
9322 }
02a34c4c 9323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9324 {
9325 if (temp1)
9326 delete arg1;
9327 }
9328 return resultobj;
9329 fail:
9330 {
9331 if (temp1)
9332 delete arg1;
9333 }
9334 return NULL;
9335}
9336
9337
2f4c0a16 9338static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9339 PyObject *resultobj;
9340 wxString *arg1 = 0 ;
9341 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9342 int result;
423f194a 9343 bool temp1 = False ;
d14a1e28 9344 PyObject * obj0 = 0 ;
8edf1c75 9345 PyObject * obj1 = 0 ;
d14a1e28
RD
9346 char *kwnames[] = {
9347 (char *) "name",(char *) "type", NULL
9348 };
9349
8edf1c75 9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9351 {
9352 arg1 = wxString_in_helper(obj0);
9353 if (arg1 == NULL) SWIG_fail;
423f194a 9354 temp1 = True;
d14a1e28 9355 }
8edf1c75 9356 if (obj1) {
2f4c0a16
RD
9357 arg2 = (long) SWIG_AsLong(obj1);
9358 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9359 }
d14a1e28
RD
9360 {
9361 PyThreadState* __tstate = wxPyBeginAllowThreads();
9362 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9363
9364 wxPyEndAllowThreads(__tstate);
9365 if (PyErr_Occurred()) SWIG_fail;
9366 }
2f4c0a16 9367 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9368 {
9369 if (temp1)
9370 delete arg1;
9371 }
9372 return resultobj;
9373 fail:
9374 {
9375 if (temp1)
9376 delete arg1;
9377 }
9378 return NULL;
9379}
9380
9381
2f4c0a16 9382static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9383 PyObject *resultobj;
9384 wxImage *arg1 = (wxImage *) 0 ;
9385 wxString *arg2 = 0 ;
9386 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9387 int arg4 = (int) -1 ;
9388 bool result;
423f194a 9389 bool temp2 = False ;
d14a1e28
RD
9390 PyObject * obj0 = 0 ;
9391 PyObject * obj1 = 0 ;
8edf1c75
RD
9392 PyObject * obj2 = 0 ;
9393 PyObject * obj3 = 0 ;
d14a1e28
RD
9394 char *kwnames[] = {
9395 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9396 };
9397
8edf1c75 9398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9401 {
9402 arg2 = wxString_in_helper(obj1);
9403 if (arg2 == NULL) SWIG_fail;
423f194a 9404 temp2 = True;
d14a1e28 9405 }
8edf1c75 9406 if (obj2) {
2f4c0a16
RD
9407 arg3 = (long) SWIG_AsLong(obj2);
9408 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9409 }
9410 if (obj3) {
2f4c0a16
RD
9411 arg4 = (int) SWIG_AsInt(obj3);
9412 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9413 }
d14a1e28
RD
9414 {
9415 PyThreadState* __tstate = wxPyBeginAllowThreads();
9416 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9417
9418 wxPyEndAllowThreads(__tstate);
9419 if (PyErr_Occurred()) SWIG_fail;
9420 }
02a34c4c 9421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9422 {
9423 if (temp2)
9424 delete arg2;
9425 }
9426 return resultobj;
9427 fail:
9428 {
9429 if (temp2)
9430 delete arg2;
9431 }
9432 return NULL;
9433}
9434
9435
2f4c0a16 9436static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9437 PyObject *resultobj;
9438 wxImage *arg1 = (wxImage *) 0 ;
9439 wxString *arg2 = 0 ;
9440 wxString *arg3 = 0 ;
9441 int arg4 = (int) -1 ;
9442 bool result;
423f194a
RD
9443 bool temp2 = False ;
9444 bool temp3 = False ;
d14a1e28
RD
9445 PyObject * obj0 = 0 ;
9446 PyObject * obj1 = 0 ;
9447 PyObject * obj2 = 0 ;
8edf1c75 9448 PyObject * obj3 = 0 ;
d14a1e28
RD
9449 char *kwnames[] = {
9450 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9451 };
9452
8edf1c75 9453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9456 {
9457 arg2 = wxString_in_helper(obj1);
9458 if (arg2 == NULL) SWIG_fail;
423f194a 9459 temp2 = True;
d14a1e28
RD
9460 }
9461 {
9462 arg3 = wxString_in_helper(obj2);
9463 if (arg3 == NULL) SWIG_fail;
423f194a 9464 temp3 = True;
d14a1e28 9465 }
8edf1c75 9466 if (obj3) {
2f4c0a16
RD
9467 arg4 = (int) SWIG_AsInt(obj3);
9468 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9469 }
d14a1e28
RD
9470 {
9471 PyThreadState* __tstate = wxPyBeginAllowThreads();
9472 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9473
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
02a34c4c 9477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9478 {
9479 if (temp2)
9480 delete arg2;
9481 }
9482 {
9483 if (temp3)
9484 delete arg3;
9485 }
9486 return resultobj;
9487 fail:
9488 {
9489 if (temp2)
9490 delete arg2;
9491 }
9492 {
9493 if (temp3)
9494 delete arg3;
9495 }
9496 return NULL;
9497}
9498
9499
2f4c0a16 9500static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9501 PyObject *resultobj;
9502 wxImage *arg1 = (wxImage *) 0 ;
9503 wxString *arg2 = 0 ;
9504 int arg3 ;
9505 bool result;
423f194a 9506 bool temp2 = False ;
d14a1e28
RD
9507 PyObject * obj0 = 0 ;
9508 PyObject * obj1 = 0 ;
8edf1c75 9509 PyObject * obj2 = 0 ;
d14a1e28
RD
9510 char *kwnames[] = {
9511 (char *) "self",(char *) "name",(char *) "type", NULL
9512 };
9513
8edf1c75 9514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9517 {
9518 arg2 = wxString_in_helper(obj1);
9519 if (arg2 == NULL) SWIG_fail;
423f194a 9520 temp2 = True;
d14a1e28 9521 }
2f4c0a16
RD
9522 arg3 = (int) SWIG_AsInt(obj2);
9523 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
02a34c4c 9531 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9532 {
9533 if (temp2)
9534 delete arg2;
9535 }
9536 return resultobj;
9537 fail:
9538 {
9539 if (temp2)
9540 delete arg2;
9541 }
9542 return NULL;
9543}
9544
9545
2f4c0a16 9546static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9547 PyObject *resultobj;
9548 wxImage *arg1 = (wxImage *) 0 ;
9549 wxString *arg2 = 0 ;
9550 wxString *arg3 = 0 ;
9551 bool result;
423f194a
RD
9552 bool temp2 = False ;
9553 bool temp3 = False ;
d14a1e28
RD
9554 PyObject * obj0 = 0 ;
9555 PyObject * obj1 = 0 ;
9556 PyObject * obj2 = 0 ;
9557 char *kwnames[] = {
9558 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9559 };
9560
9561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9564 {
9565 arg2 = wxString_in_helper(obj1);
9566 if (arg2 == NULL) SWIG_fail;
423f194a 9567 temp2 = True;
d14a1e28
RD
9568 }
9569 {
9570 arg3 = wxString_in_helper(obj2);
9571 if (arg3 == NULL) SWIG_fail;
423f194a 9572 temp3 = True;
d14a1e28
RD
9573 }
9574 {
9575 PyThreadState* __tstate = wxPyBeginAllowThreads();
9576 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9577
9578 wxPyEndAllowThreads(__tstate);
9579 if (PyErr_Occurred()) SWIG_fail;
9580 }
02a34c4c 9581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9582 {
9583 if (temp2)
9584 delete arg2;
9585 }
9586 {
9587 if (temp3)
9588 delete arg3;
9589 }
9590 return resultobj;
9591 fail:
9592 {
9593 if (temp2)
9594 delete arg2;
9595 }
9596 {
9597 if (temp3)
9598 delete arg3;
9599 }
9600 return NULL;
9601}
9602
9603
2f4c0a16 9604static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9605 PyObject *resultobj;
9606 wxInputStream *arg1 = 0 ;
9607 bool result;
9608 wxPyInputStream *temp1 ;
9609 bool created1 ;
9610 PyObject * obj0 = 0 ;
9611 char *kwnames[] = {
9612 (char *) "stream", NULL
9613 };
9614
9615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9616 {
9617 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9618 arg1 = temp1->m_wxis;
423f194a 9619 created1 = False;
d14a1e28
RD
9620 } else {
9621 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 9622 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
9623 if (arg1 == NULL) {
9624 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9625 SWIG_fail;
9626 }
423f194a 9627 created1 = True;
d14a1e28
RD
9628 }
9629 }
9630 {
9631 PyThreadState* __tstate = wxPyBeginAllowThreads();
9632 result = (bool)wxImage::CanRead(*arg1);
9633
9634 wxPyEndAllowThreads(__tstate);
9635 if (PyErr_Occurred()) SWIG_fail;
9636 }
02a34c4c 9637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9638 {
9639 if (created1)
9640 delete arg1;
9641 }
9642 return resultobj;
9643 fail:
9644 {
9645 if (created1)
9646 delete arg1;
9647 }
9648 return NULL;
9649}
9650
9651
2f4c0a16 9652static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9653 PyObject *resultobj;
9654 wxImage *arg1 = (wxImage *) 0 ;
9655 wxInputStream *arg2 = 0 ;
9656 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9657 int arg4 = (int) -1 ;
9658 bool result;
9659 wxPyInputStream *temp2 ;
9660 bool created2 ;
9661 PyObject * obj0 = 0 ;
9662 PyObject * obj1 = 0 ;
8edf1c75
RD
9663 PyObject * obj2 = 0 ;
9664 PyObject * obj3 = 0 ;
d14a1e28
RD
9665 char *kwnames[] = {
9666 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9667 };
9668
8edf1c75 9669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9672 {
9673 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9674 arg2 = temp2->m_wxis;
423f194a 9675 created2 = False;
d14a1e28
RD
9676 } else {
9677 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 9678 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9679 if (arg2 == NULL) {
9680 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9681 SWIG_fail;
9682 }
423f194a 9683 created2 = True;
d14a1e28
RD
9684 }
9685 }
8edf1c75 9686 if (obj2) {
2f4c0a16
RD
9687 arg3 = (long) SWIG_AsLong(obj2);
9688 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9689 }
9690 if (obj3) {
2f4c0a16
RD
9691 arg4 = (int) SWIG_AsInt(obj3);
9692 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9693 }
d14a1e28
RD
9694 {
9695 PyThreadState* __tstate = wxPyBeginAllowThreads();
9696 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
02a34c4c 9701 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9702 {
9703 if (created2)
9704 delete arg2;
9705 }
9706 return resultobj;
9707 fail:
9708 {
9709 if (created2)
9710 delete arg2;
9711 }
9712 return NULL;
9713}
9714
9715
2f4c0a16 9716static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9717 PyObject *resultobj;
9718 wxImage *arg1 = (wxImage *) 0 ;
9719 wxInputStream *arg2 = 0 ;
9720 wxString *arg3 = 0 ;
9721 int arg4 = (int) -1 ;
9722 bool result;
9723 wxPyInputStream *temp2 ;
9724 bool created2 ;
423f194a 9725 bool temp3 = False ;
d14a1e28
RD
9726 PyObject * obj0 = 0 ;
9727 PyObject * obj1 = 0 ;
9728 PyObject * obj2 = 0 ;
8edf1c75 9729 PyObject * obj3 = 0 ;
d14a1e28
RD
9730 char *kwnames[] = {
9731 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9732 };
9733
8edf1c75 9734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9737 {
9738 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9739 arg2 = temp2->m_wxis;
423f194a 9740 created2 = False;
d14a1e28
RD
9741 } else {
9742 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 9743 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9744 if (arg2 == NULL) {
9745 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9746 SWIG_fail;
9747 }
423f194a 9748 created2 = True;
d14a1e28
RD
9749 }
9750 }
9751 {
9752 arg3 = wxString_in_helper(obj2);
9753 if (arg3 == NULL) SWIG_fail;
423f194a 9754 temp3 = True;
d14a1e28 9755 }
8edf1c75 9756 if (obj3) {
2f4c0a16
RD
9757 arg4 = (int) SWIG_AsInt(obj3);
9758 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9759 }
d14a1e28
RD
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9763
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
02a34c4c 9767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9768 {
9769 if (created2)
9770 delete arg2;
9771 }
9772 {
9773 if (temp3)
9774 delete arg3;
9775 }
9776 return resultobj;
9777 fail:
9778 {
9779 if (created2)
9780 delete arg2;
9781 }
9782 {
9783 if (temp3)
9784 delete arg3;
9785 }
9786 return NULL;
9787}
9788
9789
2f4c0a16 9790static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9791 PyObject *resultobj;
9792 wxImage *arg1 = (wxImage *) 0 ;
9793 bool result;
9794 PyObject * obj0 = 0 ;
9795 char *kwnames[] = {
9796 (char *) "self", NULL
9797 };
9798
9799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9802 {
9803 PyThreadState* __tstate = wxPyBeginAllowThreads();
9804 result = (bool)(arg1)->Ok();
9805
9806 wxPyEndAllowThreads(__tstate);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 }
02a34c4c 9809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9810 return resultobj;
9811 fail:
9812 return NULL;
9813}
9814
9815
2f4c0a16 9816static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9817 PyObject *resultobj;
9818 wxImage *arg1 = (wxImage *) 0 ;
9819 int result;
9820 PyObject * obj0 = 0 ;
9821 char *kwnames[] = {
9822 (char *) "self", NULL
9823 };
9824
9825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 result = (int)(arg1)->GetWidth();
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) SWIG_fail;
9834 }
2f4c0a16 9835 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9836 return resultobj;
9837 fail:
9838 return NULL;
9839}
9840
9841
2f4c0a16 9842static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9843 PyObject *resultobj;
9844 wxImage *arg1 = (wxImage *) 0 ;
9845 int result;
9846 PyObject * obj0 = 0 ;
9847 char *kwnames[] = {
9848 (char *) "self", NULL
9849 };
9850
9851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 result = (int)(arg1)->GetHeight();
9857
9858 wxPyEndAllowThreads(__tstate);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
2f4c0a16 9861 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9862 return resultobj;
9863 fail:
9864 return NULL;
9865}
9866
9867
2f4c0a16 9868static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9869 PyObject *resultobj;
9870 wxImage *arg1 = (wxImage *) 0 ;
9871 wxRect *arg2 = 0 ;
9872 SwigValueWrapper< wxImage > result;
9873 wxRect temp2 ;
9874 PyObject * obj0 = 0 ;
9875 PyObject * obj1 = 0 ;
9876 char *kwnames[] = {
9877 (char *) "self",(char *) "rect", NULL
9878 };
9879
9880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9883 {
9884 arg2 = &temp2;
9885 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9886 }
9887 {
9888 PyThreadState* __tstate = wxPyBeginAllowThreads();
9889 result = (arg1)->GetSubImage((wxRect const &)*arg2);
9890
9891 wxPyEndAllowThreads(__tstate);
9892 if (PyErr_Occurred()) SWIG_fail;
9893 }
9894 {
9895 wxImage * resultptr;
9896 resultptr = new wxImage((wxImage &) result);
2f4c0a16 9897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9898 }
9899 return resultobj;
9900 fail:
9901 return NULL;
9902}
9903
9904
2f4c0a16 9905static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9906 PyObject *resultobj;
9907 wxImage *arg1 = (wxImage *) 0 ;
9908 SwigValueWrapper< wxImage > result;
9909 PyObject * obj0 = 0 ;
9910 char *kwnames[] = {
9911 (char *) "self", NULL
9912 };
9913
9914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9917 {
9918 PyThreadState* __tstate = wxPyBeginAllowThreads();
9919 result = (arg1)->Copy();
9920
9921 wxPyEndAllowThreads(__tstate);
9922 if (PyErr_Occurred()) SWIG_fail;
9923 }
9924 {
9925 wxImage * resultptr;
9926 resultptr = new wxImage((wxImage &) result);
2f4c0a16 9927 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9928 }
9929 return resultobj;
9930 fail:
9931 return NULL;
9932}
9933
9934
2f4c0a16 9935static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9936 PyObject *resultobj;
9937 wxImage *arg1 = (wxImage *) 0 ;
9938 wxImage *arg2 = 0 ;
9939 int arg3 ;
9940 int arg4 ;
9941 PyObject * obj0 = 0 ;
9942 PyObject * obj1 = 0 ;
8edf1c75
RD
9943 PyObject * obj2 = 0 ;
9944 PyObject * obj3 = 0 ;
d14a1e28
RD
9945 char *kwnames[] = {
9946 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9947 };
9948
8edf1c75 9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9952 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9953 SWIG_POINTER_EXCEPTION | 0)) == -1)
9954 SWIG_fail;
d14a1e28 9955 if (arg2 == NULL) {
2f4c0a16
RD
9956 PyErr_SetString(PyExc_TypeError,"null reference");
9957 SWIG_fail;
8edf1c75 9958 }
2f4c0a16
RD
9959 arg3 = (int) SWIG_AsInt(obj2);
9960 if (PyErr_Occurred()) SWIG_fail;
9961 arg4 = (int) SWIG_AsInt(obj3);
9962 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9963 {
9964 PyThreadState* __tstate = wxPyBeginAllowThreads();
9965 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
9966
9967 wxPyEndAllowThreads(__tstate);
9968 if (PyErr_Occurred()) SWIG_fail;
9969 }
9970 Py_INCREF(Py_None); resultobj = Py_None;
9971 return resultobj;
9972 fail:
9973 return NULL;
9974}
9975
9976
2f4c0a16 9977static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9978 PyObject *resultobj;
9979 wxImage *arg1 = (wxImage *) 0 ;
9980 PyObject *result;
9981 PyObject * obj0 = 0 ;
9982 char *kwnames[] = {
9983 (char *) "self", NULL
9984 };
9985
9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9989 {
9990 PyThreadState* __tstate = wxPyBeginAllowThreads();
9991 result = (PyObject *)wxImage_GetData(arg1);
9992
9993 wxPyEndAllowThreads(__tstate);
9994 if (PyErr_Occurred()) SWIG_fail;
9995 }
9996 resultobj = result;
9997 return resultobj;
9998 fail:
9999 return NULL;
10000}
10001
10002
2f4c0a16 10003static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10004 PyObject *resultobj;
10005 wxImage *arg1 = (wxImage *) 0 ;
10006 PyObject *arg2 = (PyObject *) 0 ;
10007 PyObject * obj0 = 0 ;
10008 PyObject * obj1 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "self",(char *) "data", NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10016 arg2 = obj1;
10017 {
10018 PyThreadState* __tstate = wxPyBeginAllowThreads();
10019 wxImage_SetData(arg1,arg2);
10020
10021 wxPyEndAllowThreads(__tstate);
10022 if (PyErr_Occurred()) SWIG_fail;
10023 }
10024 Py_INCREF(Py_None); resultobj = Py_None;
10025 return resultobj;
10026 fail:
10027 return NULL;
10028}
10029
10030
2f4c0a16 10031static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10032 PyObject *resultobj;
10033 wxImage *arg1 = (wxImage *) 0 ;
10034 PyObject *result;
10035 PyObject * obj0 = 0 ;
10036 char *kwnames[] = {
10037 (char *) "self", NULL
10038 };
10039
10040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10043 {
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10046
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 resultobj = result;
10051 return resultobj;
10052 fail:
10053 return NULL;
10054}
10055
10056
2f4c0a16 10057static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10058 PyObject *resultobj;
10059 wxImage *arg1 = (wxImage *) 0 ;
10060 PyObject *arg2 = (PyObject *) 0 ;
10061 PyObject * obj0 = 0 ;
10062 PyObject * obj1 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "self",(char *) "data", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10070 arg2 = obj1;
10071 {
10072 PyThreadState* __tstate = wxPyBeginAllowThreads();
10073 wxImage_SetDataBuffer(arg1,arg2);
10074
10075 wxPyEndAllowThreads(__tstate);
10076 if (PyErr_Occurred()) SWIG_fail;
10077 }
10078 Py_INCREF(Py_None); resultobj = Py_None;
10079 return resultobj;
10080 fail:
10081 return NULL;
10082}
10083
10084
2f4c0a16 10085static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10086 PyObject *resultobj;
10087 wxImage *arg1 = (wxImage *) 0 ;
10088 PyObject *result;
10089 PyObject * obj0 = 0 ;
10090 char *kwnames[] = {
10091 (char *) "self", NULL
10092 };
10093
10094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 result = (PyObject *)wxImage_GetAlphaData(arg1);
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 resultobj = result;
10105 return resultobj;
10106 fail:
10107 return NULL;
10108}
10109
10110
2f4c0a16 10111static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10112 PyObject *resultobj;
10113 wxImage *arg1 = (wxImage *) 0 ;
10114 PyObject *arg2 = (PyObject *) 0 ;
10115 PyObject * obj0 = 0 ;
10116 PyObject * obj1 = 0 ;
10117 char *kwnames[] = {
10118 (char *) "self",(char *) "data", NULL
10119 };
10120
10121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10124 arg2 = obj1;
10125 {
10126 PyThreadState* __tstate = wxPyBeginAllowThreads();
10127 wxImage_SetAlphaData(arg1,arg2);
10128
10129 wxPyEndAllowThreads(__tstate);
10130 if (PyErr_Occurred()) SWIG_fail;
10131 }
10132 Py_INCREF(Py_None); resultobj = Py_None;
10133 return resultobj;
10134 fail:
10135 return NULL;
10136}
10137
10138
2f4c0a16 10139static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10140 PyObject *resultobj;
10141 wxImage *arg1 = (wxImage *) 0 ;
10142 PyObject *result;
10143 PyObject * obj0 = 0 ;
10144 char *kwnames[] = {
10145 (char *) "self", NULL
10146 };
10147
10148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10149 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10150 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10151 {
10152 PyThreadState* __tstate = wxPyBeginAllowThreads();
10153 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10154
10155 wxPyEndAllowThreads(__tstate);
10156 if (PyErr_Occurred()) SWIG_fail;
10157 }
10158 resultobj = result;
10159 return resultobj;
10160 fail:
10161 return NULL;
10162}
10163
10164
2f4c0a16 10165static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10166 PyObject *resultobj;
10167 wxImage *arg1 = (wxImage *) 0 ;
10168 PyObject *arg2 = (PyObject *) 0 ;
10169 PyObject * obj0 = 0 ;
10170 PyObject * obj1 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self",(char *) "data", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10178 arg2 = obj1;
10179 {
10180 PyThreadState* __tstate = wxPyBeginAllowThreads();
10181 wxImage_SetAlphaBuffer(arg1,arg2);
10182
10183 wxPyEndAllowThreads(__tstate);
10184 if (PyErr_Occurred()) SWIG_fail;
10185 }
10186 Py_INCREF(Py_None); resultobj = Py_None;
10187 return resultobj;
10188 fail:
10189 return NULL;
10190}
10191
10192
2f4c0a16 10193static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10194 PyObject *resultobj;
10195 wxImage *arg1 = (wxImage *) 0 ;
10196 unsigned char arg2 ;
10197 unsigned char arg3 ;
10198 unsigned char arg4 ;
10199 PyObject * obj0 = 0 ;
10200 PyObject * obj1 = 0 ;
10201 PyObject * obj2 = 0 ;
10202 PyObject * obj3 = 0 ;
10203 char *kwnames[] = {
10204 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10205 };
10206
10207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10210 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10213 if (PyErr_Occurred()) SWIG_fail;
10214 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10216 {
10217 PyThreadState* __tstate = wxPyBeginAllowThreads();
10218 (arg1)->SetMaskColour(arg2,arg3,arg4);
10219
10220 wxPyEndAllowThreads(__tstate);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 }
10223 Py_INCREF(Py_None); resultobj = Py_None;
10224 return resultobj;
10225 fail:
10226 return NULL;
10227}
10228
10229
2f4c0a16 10230static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10231 PyObject *resultobj;
10232 wxImage *arg1 = (wxImage *) 0 ;
10233 unsigned char result;
10234 PyObject * obj0 = 0 ;
10235 char *kwnames[] = {
10236 (char *) "self", NULL
10237 };
10238
10239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 result = (unsigned char)(arg1)->GetMaskRed();
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
2f4c0a16 10249 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10250 return resultobj;
10251 fail:
10252 return NULL;
10253}
10254
10255
2f4c0a16 10256static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10257 PyObject *resultobj;
10258 wxImage *arg1 = (wxImage *) 0 ;
10259 unsigned char result;
10260 PyObject * obj0 = 0 ;
10261 char *kwnames[] = {
10262 (char *) "self", NULL
10263 };
10264
10265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10268 {
10269 PyThreadState* __tstate = wxPyBeginAllowThreads();
10270 result = (unsigned char)(arg1)->GetMaskGreen();
10271
10272 wxPyEndAllowThreads(__tstate);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 }
2f4c0a16 10275 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10276 return resultobj;
10277 fail:
10278 return NULL;
10279}
10280
10281
2f4c0a16 10282static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10283 PyObject *resultobj;
10284 wxImage *arg1 = (wxImage *) 0 ;
10285 unsigned char result;
10286 PyObject * obj0 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10294 {
10295 PyThreadState* __tstate = wxPyBeginAllowThreads();
10296 result = (unsigned char)(arg1)->GetMaskBlue();
10297
10298 wxPyEndAllowThreads(__tstate);
10299 if (PyErr_Occurred()) SWIG_fail;
10300 }
2f4c0a16 10301 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10302 return resultobj;
10303 fail:
10304 return NULL;
10305}
10306
10307
2f4c0a16 10308static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10309 PyObject *resultobj;
10310 wxImage *arg1 = (wxImage *) 0 ;
423f194a 10311 bool arg2 = (bool) True ;
d14a1e28
RD
10312 PyObject * obj0 = 0 ;
10313 PyObject * obj1 = 0 ;
10314 char *kwnames[] = {
10315 (char *) "self",(char *) "mask", NULL
10316 };
10317
10318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10321 if (obj1) {
2f4c0a16
RD
10322 arg2 = (bool) SWIG_AsBool(obj1);
10323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10324 }
10325 {
10326 PyThreadState* __tstate = wxPyBeginAllowThreads();
10327 (arg1)->SetMask(arg2);
10328
10329 wxPyEndAllowThreads(__tstate);
10330 if (PyErr_Occurred()) SWIG_fail;
10331 }
10332 Py_INCREF(Py_None); resultobj = Py_None;
10333 return resultobj;
10334 fail:
10335 return NULL;
10336}
10337
10338
2f4c0a16 10339static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10340 PyObject *resultobj;
10341 wxImage *arg1 = (wxImage *) 0 ;
10342 bool result;
10343 PyObject * obj0 = 0 ;
10344 char *kwnames[] = {
10345 (char *) "self", NULL
10346 };
10347
10348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 result = (bool)(arg1)->HasMask();
10354
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
02a34c4c 10358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10359 return resultobj;
10360 fail:
10361 return NULL;
10362}
10363
10364
2f4c0a16 10365static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10366 PyObject *resultobj;
10367 wxImage *arg1 = (wxImage *) 0 ;
10368 double arg2 ;
10369 wxPoint *arg3 = 0 ;
423f194a 10370 bool arg4 = (bool) True ;
d14a1e28
RD
10371 wxPoint *arg5 = (wxPoint *) NULL ;
10372 SwigValueWrapper< wxImage > result;
10373 wxPoint temp3 ;
10374 PyObject * obj0 = 0 ;
8edf1c75 10375 PyObject * obj1 = 0 ;
d14a1e28
RD
10376 PyObject * obj2 = 0 ;
10377 PyObject * obj3 = 0 ;
10378 PyObject * obj4 = 0 ;
10379 char *kwnames[] = {
10380 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10381 };
10382
8edf1c75 10383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
10384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10386 arg2 = (double) SWIG_AsDouble(obj1);
10387 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10388 {
10389 arg3 = &temp3;
10390 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10391 }
10392 if (obj3) {
2f4c0a16
RD
10393 arg4 = (bool) SWIG_AsBool(obj3);
10394 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10395 }
10396 if (obj4) {
2f4c0a16
RD
10397 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10399 }
10400 {
10401 PyThreadState* __tstate = wxPyBeginAllowThreads();
10402 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10403
10404 wxPyEndAllowThreads(__tstate);
10405 if (PyErr_Occurred()) SWIG_fail;
10406 }
10407 {
10408 wxImage * resultptr;
10409 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10410 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10411 }
10412 return resultobj;
10413 fail:
10414 return NULL;
10415}
10416
10417
2f4c0a16 10418static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10419 PyObject *resultobj;
10420 wxImage *arg1 = (wxImage *) 0 ;
423f194a 10421 bool arg2 = (bool) True ;
d14a1e28
RD
10422 SwigValueWrapper< wxImage > result;
10423 PyObject * obj0 = 0 ;
10424 PyObject * obj1 = 0 ;
10425 char *kwnames[] = {
10426 (char *) "self",(char *) "clockwise", NULL
10427 };
10428
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10432 if (obj1) {
2f4c0a16
RD
10433 arg2 = (bool) SWIG_AsBool(obj1);
10434 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10435 }
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
10438 result = (arg1)->Rotate90(arg2);
10439
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 {
10444 wxImage * resultptr;
10445 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10446 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10447 }
10448 return resultobj;
10449 fail:
10450 return NULL;
10451}
10452
10453
2f4c0a16 10454static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10455 PyObject *resultobj;
10456 wxImage *arg1 = (wxImage *) 0 ;
423f194a 10457 bool arg2 = (bool) True ;
d14a1e28
RD
10458 SwigValueWrapper< wxImage > result;
10459 PyObject * obj0 = 0 ;
10460 PyObject * obj1 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self",(char *) "horizontally", NULL
10463 };
10464
10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10468 if (obj1) {
2f4c0a16
RD
10469 arg2 = (bool) SWIG_AsBool(obj1);
10470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10471 }
10472 {
10473 PyThreadState* __tstate = wxPyBeginAllowThreads();
10474 result = (arg1)->Mirror(arg2);
10475
10476 wxPyEndAllowThreads(__tstate);
10477 if (PyErr_Occurred()) SWIG_fail;
10478 }
10479 {
10480 wxImage * resultptr;
10481 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10482 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10483 }
10484 return resultobj;
10485 fail:
10486 return NULL;
10487}
10488
10489
2f4c0a16 10490static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10491 PyObject *resultobj;
10492 wxImage *arg1 = (wxImage *) 0 ;
10493 unsigned char arg2 ;
10494 unsigned char arg3 ;
10495 unsigned char arg4 ;
10496 unsigned char arg5 ;
10497 unsigned char arg6 ;
10498 unsigned char arg7 ;
10499 PyObject * obj0 = 0 ;
10500 PyObject * obj1 = 0 ;
10501 PyObject * obj2 = 0 ;
10502 PyObject * obj3 = 0 ;
10503 PyObject * obj4 = 0 ;
10504 PyObject * obj5 = 0 ;
10505 PyObject * obj6 = 0 ;
10506 char *kwnames[] = {
10507 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10508 };
10509
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
10511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10513 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10520 if (PyErr_Occurred()) SWIG_fail;
10521 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10522 if (PyErr_Occurred()) SWIG_fail;
10523 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10524 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10525 {
10526 PyThreadState* __tstate = wxPyBeginAllowThreads();
10527 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10528
10529 wxPyEndAllowThreads(__tstate);
10530 if (PyErr_Occurred()) SWIG_fail;
10531 }
10532 Py_INCREF(Py_None); resultobj = Py_None;
10533 return resultobj;
10534 fail:
10535 return NULL;
10536}
10537
10538
2f4c0a16 10539static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10540 PyObject *resultobj;
10541 wxImage *arg1 = (wxImage *) 0 ;
10542 unsigned char arg2 ;
10543 unsigned char arg3 ;
10544 unsigned char arg4 ;
10545 SwigValueWrapper< wxImage > result;
10546 PyObject * obj0 = 0 ;
10547 PyObject * obj1 = 0 ;
10548 PyObject * obj2 = 0 ;
10549 PyObject * obj3 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10557 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10562 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 {
10571 wxImage * resultptr;
10572 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10574 }
10575 return resultobj;
10576 fail:
10577 return NULL;
10578}
10579
10580
2f4c0a16 10581static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10582 PyObject *resultobj;
10583 wxImage *arg1 = (wxImage *) 0 ;
10584 wxString *arg2 = 0 ;
10585 wxString *arg3 = 0 ;
423f194a
RD
10586 bool temp2 = False ;
10587 bool temp3 = False ;
d14a1e28
RD
10588 PyObject * obj0 = 0 ;
10589 PyObject * obj1 = 0 ;
10590 PyObject * obj2 = 0 ;
10591 char *kwnames[] = {
10592 (char *) "self",(char *) "name",(char *) "value", NULL
10593 };
10594
10595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10598 {
10599 arg2 = wxString_in_helper(obj1);
10600 if (arg2 == NULL) SWIG_fail;
423f194a 10601 temp2 = True;
d14a1e28
RD
10602 }
10603 {
10604 arg3 = wxString_in_helper(obj2);
10605 if (arg3 == NULL) SWIG_fail;
423f194a 10606 temp3 = True;
d14a1e28
RD
10607 }
10608 {
10609 PyThreadState* __tstate = wxPyBeginAllowThreads();
10610 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10611
10612 wxPyEndAllowThreads(__tstate);
10613 if (PyErr_Occurred()) SWIG_fail;
10614 }
10615 Py_INCREF(Py_None); resultobj = Py_None;
10616 {
10617 if (temp2)
10618 delete arg2;
10619 }
10620 {
10621 if (temp3)
10622 delete arg3;
10623 }
10624 return resultobj;
10625 fail:
10626 {
10627 if (temp2)
10628 delete arg2;
10629 }
10630 {
10631 if (temp3)
10632 delete arg3;
10633 }
10634 return NULL;
10635}
10636
10637
2f4c0a16 10638static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10639 PyObject *resultobj;
10640 wxImage *arg1 = (wxImage *) 0 ;
10641 wxString *arg2 = 0 ;
10642 int arg3 ;
423f194a 10643 bool temp2 = False ;
d14a1e28
RD
10644 PyObject * obj0 = 0 ;
10645 PyObject * obj1 = 0 ;
8edf1c75 10646 PyObject * obj2 = 0 ;
d14a1e28
RD
10647 char *kwnames[] = {
10648 (char *) "self",(char *) "name",(char *) "value", NULL
10649 };
10650
8edf1c75 10651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10652 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10653 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10654 {
10655 arg2 = wxString_in_helper(obj1);
10656 if (arg2 == NULL) SWIG_fail;
423f194a 10657 temp2 = True;
d14a1e28 10658 }
2f4c0a16
RD
10659 arg3 = (int) SWIG_AsInt(obj2);
10660 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10661 {
10662 PyThreadState* __tstate = wxPyBeginAllowThreads();
10663 (arg1)->SetOption((wxString const &)*arg2,arg3);
10664
10665 wxPyEndAllowThreads(__tstate);
10666 if (PyErr_Occurred()) SWIG_fail;
10667 }
10668 Py_INCREF(Py_None); resultobj = Py_None;
10669 {
10670 if (temp2)
10671 delete arg2;
10672 }
10673 return resultobj;
10674 fail:
10675 {
10676 if (temp2)
10677 delete arg2;
10678 }
10679 return NULL;
10680}
10681
10682
2f4c0a16 10683static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10684 PyObject *resultobj;
10685 wxImage *arg1 = (wxImage *) 0 ;
10686 wxString *arg2 = 0 ;
10687 wxString result;
423f194a 10688 bool temp2 = False ;
d14a1e28
RD
10689 PyObject * obj0 = 0 ;
10690 PyObject * obj1 = 0 ;
10691 char *kwnames[] = {
10692 (char *) "self",(char *) "name", NULL
10693 };
10694
10695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10698 {
10699 arg2 = wxString_in_helper(obj1);
10700 if (arg2 == NULL) SWIG_fail;
423f194a 10701 temp2 = True;
d14a1e28
RD
10702 }
10703 {
10704 PyThreadState* __tstate = wxPyBeginAllowThreads();
10705 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10706
10707 wxPyEndAllowThreads(__tstate);
10708 if (PyErr_Occurred()) SWIG_fail;
10709 }
10710 {
10711#if wxUSE_UNICODE
10712 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10713#else
10714 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10715#endif
10716 }
10717 {
10718 if (temp2)
10719 delete arg2;
10720 }
10721 return resultobj;
10722 fail:
10723 {
10724 if (temp2)
10725 delete arg2;
10726 }
10727 return NULL;
10728}
10729
10730
2f4c0a16 10731static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10732 PyObject *resultobj;
10733 wxImage *arg1 = (wxImage *) 0 ;
10734 wxString *arg2 = 0 ;
10735 int result;
423f194a 10736 bool temp2 = False ;
d14a1e28
RD
10737 PyObject * obj0 = 0 ;
10738 PyObject * obj1 = 0 ;
10739 char *kwnames[] = {
10740 (char *) "self",(char *) "name", NULL
10741 };
10742
10743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10746 {
10747 arg2 = wxString_in_helper(obj1);
10748 if (arg2 == NULL) SWIG_fail;
423f194a 10749 temp2 = True;
d14a1e28
RD
10750 }
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
2f4c0a16 10758 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10759 {
10760 if (temp2)
10761 delete arg2;
10762 }
10763 return resultobj;
10764 fail:
10765 {
10766 if (temp2)
10767 delete arg2;
10768 }
10769 return NULL;
10770}
10771
10772
2f4c0a16 10773static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10774 PyObject *resultobj;
10775 wxImage *arg1 = (wxImage *) 0 ;
10776 wxString *arg2 = 0 ;
10777 bool result;
423f194a 10778 bool temp2 = False ;
d14a1e28
RD
10779 PyObject * obj0 = 0 ;
10780 PyObject * obj1 = 0 ;
10781 char *kwnames[] = {
10782 (char *) "self",(char *) "name", NULL
10783 };
10784
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10788 {
10789 arg2 = wxString_in_helper(obj1);
10790 if (arg2 == NULL) SWIG_fail;
423f194a 10791 temp2 = True;
d14a1e28
RD
10792 }
10793 {
10794 PyThreadState* __tstate = wxPyBeginAllowThreads();
10795 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
10796
10797 wxPyEndAllowThreads(__tstate);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
02a34c4c 10800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10801 {
10802 if (temp2)
10803 delete arg2;
10804 }
10805 return resultobj;
10806 fail:
10807 {
10808 if (temp2)
10809 delete arg2;
10810 }
10811 return NULL;
10812}
10813
10814
2f4c0a16 10815static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10816 PyObject *resultobj;
10817 wxImage *arg1 = (wxImage *) 0 ;
10818 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
10819 unsigned long result;
10820 PyObject * obj0 = 0 ;
10821 PyObject * obj1 = 0 ;
10822 char *kwnames[] = {
10823 (char *) "self",(char *) "stopafter", NULL
10824 };
10825
10826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10829 if (obj1) {
2f4c0a16
RD
10830 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
10831 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10832 }
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 result = (unsigned long)(arg1)->CountColours(arg2);
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
2f4c0a16 10840 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
10841 return resultobj;
10842 fail:
10843 return NULL;
10844}
10845
10846
2f4c0a16 10847static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10848 PyObject *resultobj;
10849 wxImage *arg1 = (wxImage *) 0 ;
10850 wxImageHistogram *arg2 = 0 ;
10851 unsigned long result;
10852 PyObject * obj0 = 0 ;
10853 PyObject * obj1 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self",(char *) "h", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10861 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
10862 SWIG_POINTER_EXCEPTION | 0)) == -1)
10863 SWIG_fail;
d14a1e28 10864 if (arg2 == NULL) {
2f4c0a16
RD
10865 PyErr_SetString(PyExc_TypeError,"null reference");
10866 SWIG_fail;
d14a1e28
RD
10867 }
10868 {
10869 PyThreadState* __tstate = wxPyBeginAllowThreads();
10870 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
10871
10872 wxPyEndAllowThreads(__tstate);
10873 if (PyErr_Occurred()) SWIG_fail;
10874 }
2f4c0a16 10875 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
10876 return resultobj;
10877 fail:
10878 return NULL;
10879}
10880
10881
2f4c0a16 10882static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10883 PyObject *resultobj;
10884 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10885 PyObject * obj0 = 0 ;
10886 char *kwnames[] = {
10887 (char *) "handler", NULL
10888 };
10889
10890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
10892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10893 {
10894 PyThreadState* __tstate = wxPyBeginAllowThreads();
10895 wxImage::AddHandler(arg1);
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
2f4c0a16 10907static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10908 PyObject *resultobj;
10909 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10910 PyObject * obj0 = 0 ;
10911 char *kwnames[] = {
10912 (char *) "handler", NULL
10913 };
10914
10915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
10917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10918 {
10919 PyThreadState* __tstate = wxPyBeginAllowThreads();
10920 wxImage::InsertHandler(arg1);
10921
10922 wxPyEndAllowThreads(__tstate);
10923 if (PyErr_Occurred()) SWIG_fail;
10924 }
10925 Py_INCREF(Py_None); resultobj = Py_None;
10926 return resultobj;
10927 fail:
10928 return NULL;
10929}
10930
10931
2f4c0a16 10932static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10933 PyObject *resultobj;
10934 wxString *arg1 = 0 ;
10935 bool result;
423f194a 10936 bool temp1 = False ;
d14a1e28
RD
10937 PyObject * obj0 = 0 ;
10938 char *kwnames[] = {
10939 (char *) "name", NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
10943 {
10944 arg1 = wxString_in_helper(obj0);
10945 if (arg1 == NULL) SWIG_fail;
423f194a 10946 temp1 = True;
d14a1e28
RD
10947 }
10948 {
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
10951
10952 wxPyEndAllowThreads(__tstate);
10953 if (PyErr_Occurred()) SWIG_fail;
10954 }
02a34c4c 10955 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10956 {
10957 if (temp1)
10958 delete arg1;
10959 }
10960 return resultobj;
10961 fail:
10962 {
10963 if (temp1)
10964 delete arg1;
10965 }
10966 return NULL;
10967}
10968
10969
2f4c0a16 10970static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10971 PyObject *resultobj;
10972 wxString result;
10973 char *kwnames[] = {
10974 NULL
10975 };
10976
10977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
10978 {
10979 PyThreadState* __tstate = wxPyBeginAllowThreads();
10980 result = wxImage::GetImageExtWildcard();
10981
10982 wxPyEndAllowThreads(__tstate);
10983 if (PyErr_Occurred()) SWIG_fail;
10984 }
10985 {
10986#if wxUSE_UNICODE
10987 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10988#else
10989 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10990#endif
10991 }
10992 return resultobj;
10993 fail:
10994 return NULL;
10995}
10996
10997
2f4c0a16 10998static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10999 PyObject *resultobj;
11000 wxImage *arg1 = (wxImage *) 0 ;
11001 wxBitmap result;
11002 PyObject * obj0 = 0 ;
11003 char *kwnames[] = {
11004 (char *) "self", NULL
11005 };
11006
11007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11010 {
11011 PyThreadState* __tstate = wxPyBeginAllowThreads();
11012 result = wxImage_ConvertToBitmap(arg1);
11013
11014 wxPyEndAllowThreads(__tstate);
11015 if (PyErr_Occurred()) SWIG_fail;
11016 }
11017 {
11018 wxBitmap * resultptr;
11019 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 11020 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11021 }
11022 return resultobj;
11023 fail:
11024 return NULL;
11025}
11026
11027
2f4c0a16 11028static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11029 PyObject *resultobj;
11030 wxImage *arg1 = (wxImage *) 0 ;
11031 unsigned char arg2 ;
11032 unsigned char arg3 ;
11033 unsigned char arg4 ;
11034 wxBitmap result;
11035 PyObject * obj0 = 0 ;
11036 PyObject * obj1 = 0 ;
11037 PyObject * obj2 = 0 ;
11038 PyObject * obj3 = 0 ;
11039 char *kwnames[] = {
11040 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11041 };
11042
11043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11046 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11047 if (PyErr_Occurred()) SWIG_fail;
11048 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11055
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
11059 {
11060 wxBitmap * resultptr;
11061 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 11062 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11063 }
11064 return resultobj;
11065 fail:
11066 return NULL;
11067}
11068
11069
2f4c0a16 11070static PyObject * Image_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11071 PyObject *obj;
11072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11073 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11074 Py_INCREF(obj);
11075 return Py_BuildValue((char *)"");
11076}
2f4c0a16 11077static PyObject *_wrap_InitAllImageHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11078 PyObject *resultobj;
11079 char *kwnames[] = {
11080 NULL
11081 };
11082
11083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
11084 {
11085 PyThreadState* __tstate = wxPyBeginAllowThreads();
11086 wxInitAllImageHandlers();
11087
11088 wxPyEndAllowThreads(__tstate);
11089 if (PyErr_Occurred()) SWIG_fail;
11090 }
11091 Py_INCREF(Py_None); resultobj = Py_None;
11092 return resultobj;
11093 fail:
11094 return NULL;
11095}
11096
11097
8edf1c75 11098static int _wrap_NullImage_set(PyObject *) {
d14a1e28
RD
11099 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11100 return 1;
11101}
11102
11103
11104static PyObject *_wrap_NullImage_get() {
11105 PyObject *pyobj;
11106
2f4c0a16 11107 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11108 return pyobj;
11109}
11110
11111
8edf1c75 11112static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *) {
d14a1e28
RD
11113 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11114 return 1;
11115}
11116
11117
11118static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11119 PyObject *pyobj;
11120
11121 {
11122#if wxUSE_UNICODE
11123 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11124#else
11125 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11126#endif
11127 }
11128 return pyobj;
11129}
11130
11131
8edf1c75 11132static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *) {
d14a1e28
RD
11133 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11134 return 1;
11135}
11136
11137
11138static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11139 PyObject *pyobj;
11140
11141 {
11142#if wxUSE_UNICODE
11143 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11144#else
11145 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11146#endif
11147 }
11148 return pyobj;
11149}
11150
11151
8edf1c75 11152static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *) {
d14a1e28
RD
11153 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11154 return 1;
11155}
11156
11157
11158static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11159 PyObject *pyobj;
11160
11161 {
11162#if wxUSE_UNICODE
11163 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11164#else
11165 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11166#endif
11167 }
11168 return pyobj;
11169}
11170
11171
8edf1c75 11172static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *) {
d14a1e28
RD
11173 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11174 return 1;
11175}
11176
11177
11178static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11179 PyObject *pyobj;
11180
11181 {
11182#if wxUSE_UNICODE
11183 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11184#else
11185 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11186#endif
11187 }
11188 return pyobj;
11189}
11190
11191
8edf1c75 11192static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *) {
d14a1e28
RD
11193 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11194 return 1;
11195}
11196
11197
11198static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11199 PyObject *pyobj;
11200
11201 {
11202#if wxUSE_UNICODE
11203 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11204#else
11205 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11206#endif
11207 }
11208 return pyobj;
11209}
11210
11211
2f4c0a16 11212static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11213 PyObject *resultobj;
11214 wxBMPHandler *result;
11215 char *kwnames[] = {
11216 NULL
11217 };
11218
11219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 result = (wxBMPHandler *)new wxBMPHandler();
11223
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
2f4c0a16 11227 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
11228 return resultobj;
11229 fail:
11230 return NULL;
11231}
11232
11233
2f4c0a16 11234static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11235 PyObject *obj;
11236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11237 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11238 Py_INCREF(obj);
11239 return Py_BuildValue((char *)"");
11240}
2f4c0a16 11241static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11242 PyObject *resultobj;
11243 wxICOHandler *result;
11244 char *kwnames[] = {
11245 NULL
11246 };
11247
11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11249 {
11250 PyThreadState* __tstate = wxPyBeginAllowThreads();
11251 result = (wxICOHandler *)new wxICOHandler();
11252
11253 wxPyEndAllowThreads(__tstate);
11254 if (PyErr_Occurred()) SWIG_fail;
11255 }
2f4c0a16 11256 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
11257 return resultobj;
11258 fail:
11259 return NULL;
11260}
11261
11262
2f4c0a16 11263static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11264 PyObject *obj;
11265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11266 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11267 Py_INCREF(obj);
11268 return Py_BuildValue((char *)"");
11269}
2f4c0a16 11270static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11271 PyObject *resultobj;
11272 wxCURHandler *result;
11273 char *kwnames[] = {
11274 NULL
11275 };
11276
11277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 result = (wxCURHandler *)new wxCURHandler();
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
2f4c0a16 11285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
11286 return resultobj;
11287 fail:
11288 return NULL;
11289}
11290
11291
2f4c0a16 11292static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11293 PyObject *obj;
11294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11295 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11296 Py_INCREF(obj);
11297 return Py_BuildValue((char *)"");
11298}
2f4c0a16 11299static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11300 PyObject *resultobj;
11301 wxANIHandler *result;
11302 char *kwnames[] = {
11303 NULL
11304 };
11305
11306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11307 {
11308 PyThreadState* __tstate = wxPyBeginAllowThreads();
11309 result = (wxANIHandler *)new wxANIHandler();
11310
11311 wxPyEndAllowThreads(__tstate);
11312 if (PyErr_Occurred()) SWIG_fail;
11313 }
2f4c0a16 11314 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
11315 return resultobj;
11316 fail:
11317 return NULL;
11318}
11319
11320
2f4c0a16 11321static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11322 PyObject *obj;
11323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11324 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11325 Py_INCREF(obj);
11326 return Py_BuildValue((char *)"");
11327}
2f4c0a16 11328static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11329 PyObject *resultobj;
11330 wxPNGHandler *result;
11331 char *kwnames[] = {
11332 NULL
11333 };
11334
11335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11336 {
11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
11338 result = (wxPNGHandler *)new wxPNGHandler();
11339
11340 wxPyEndAllowThreads(__tstate);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 }
2f4c0a16 11343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
11344 return resultobj;
11345 fail:
11346 return NULL;
11347}
11348
11349
2f4c0a16 11350static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11351 PyObject *obj;
11352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11353 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11354 Py_INCREF(obj);
11355 return Py_BuildValue((char *)"");
11356}
2f4c0a16 11357static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11358 PyObject *resultobj;
11359 wxGIFHandler *result;
11360 char *kwnames[] = {
11361 NULL
11362 };
11363
11364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11365 {
11366 PyThreadState* __tstate = wxPyBeginAllowThreads();
11367 result = (wxGIFHandler *)new wxGIFHandler();
11368
11369 wxPyEndAllowThreads(__tstate);
11370 if (PyErr_Occurred()) SWIG_fail;
11371 }
2f4c0a16 11372 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
11373 return resultobj;
11374 fail:
11375 return NULL;
11376}
11377
11378
2f4c0a16 11379static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11380 PyObject *obj;
11381 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11382 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11383 Py_INCREF(obj);
11384 return Py_BuildValue((char *)"");
11385}
2f4c0a16 11386static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11387 PyObject *resultobj;
11388 wxPCXHandler *result;
11389 char *kwnames[] = {
11390 NULL
11391 };
11392
11393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11394 {
11395 PyThreadState* __tstate = wxPyBeginAllowThreads();
11396 result = (wxPCXHandler *)new wxPCXHandler();
11397
11398 wxPyEndAllowThreads(__tstate);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
2f4c0a16 11401 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
11402 return resultobj;
11403 fail:
11404 return NULL;
11405}
11406
11407
2f4c0a16 11408static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11409 PyObject *obj;
11410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11411 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11412 Py_INCREF(obj);
11413 return Py_BuildValue((char *)"");
11414}
2f4c0a16 11415static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11416 PyObject *resultobj;
11417 wxJPEGHandler *result;
11418 char *kwnames[] = {
11419 NULL
11420 };
11421
11422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11423 {
11424 PyThreadState* __tstate = wxPyBeginAllowThreads();
11425 result = (wxJPEGHandler *)new wxJPEGHandler();
11426
11427 wxPyEndAllowThreads(__tstate);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
2f4c0a16 11430 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
11431 return resultobj;
11432 fail:
11433 return NULL;
11434}
11435
11436
2f4c0a16 11437static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11438 PyObject *obj;
11439 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11440 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11441 Py_INCREF(obj);
11442 return Py_BuildValue((char *)"");
11443}
2f4c0a16 11444static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11445 PyObject *resultobj;
11446 wxPNMHandler *result;
11447 char *kwnames[] = {
11448 NULL
11449 };
11450
11451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11452 {
11453 PyThreadState* __tstate = wxPyBeginAllowThreads();
11454 result = (wxPNMHandler *)new wxPNMHandler();
11455
11456 wxPyEndAllowThreads(__tstate);
11457 if (PyErr_Occurred()) SWIG_fail;
11458 }
2f4c0a16 11459 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
11460 return resultobj;
11461 fail:
11462 return NULL;
11463}
11464
11465
2f4c0a16 11466static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11467 PyObject *obj;
11468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11469 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11470 Py_INCREF(obj);
11471 return Py_BuildValue((char *)"");
11472}
2f4c0a16 11473static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11474 PyObject *resultobj;
11475 wxXPMHandler *result;
11476 char *kwnames[] = {
11477 NULL
11478 };
11479
11480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11481 {
11482 PyThreadState* __tstate = wxPyBeginAllowThreads();
11483 result = (wxXPMHandler *)new wxXPMHandler();
11484
11485 wxPyEndAllowThreads(__tstate);
11486 if (PyErr_Occurred()) SWIG_fail;
11487 }
2f4c0a16 11488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
11489 return resultobj;
11490 fail:
11491 return NULL;
11492}
11493
11494
2f4c0a16 11495static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11496 PyObject *obj;
11497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11498 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11499 Py_INCREF(obj);
11500 return Py_BuildValue((char *)"");
11501}
2f4c0a16 11502static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11503 PyObject *resultobj;
11504 wxTIFFHandler *result;
11505 char *kwnames[] = {
11506 NULL
11507 };
11508
11509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11510 {
11511 PyThreadState* __tstate = wxPyBeginAllowThreads();
11512 result = (wxTIFFHandler *)new wxTIFFHandler();
11513
11514 wxPyEndAllowThreads(__tstate);
11515 if (PyErr_Occurred()) SWIG_fail;
11516 }
2f4c0a16 11517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
11518 return resultobj;
11519 fail:
11520 return NULL;
11521}
11522
11523
2f4c0a16 11524static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11525 PyObject *obj;
11526 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11527 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11528 Py_INCREF(obj);
11529 return Py_BuildValue((char *)"");
11530}
2f4c0a16 11531static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11532 PyObject *resultobj;
11533 wxEvtHandler *result;
11534 char *kwnames[] = {
11535 NULL
11536 };
11537
11538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 result = (wxEvtHandler *)new wxEvtHandler();
11542
11543 wxPyEndAllowThreads(__tstate);
11544 if (PyErr_Occurred()) SWIG_fail;
11545 }
11546 {
11547 resultobj = wxPyMake_wxObject(result);
11548 }
11549 return resultobj;
11550 fail:
11551 return NULL;
11552}
11553
11554
2f4c0a16 11555static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11556 PyObject *resultobj;
11557 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11558 wxEvtHandler *result;
11559 PyObject * obj0 = 0 ;
11560 char *kwnames[] = {
11561 (char *) "self", NULL
11562 };
11563
11564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11567 {
11568 PyThreadState* __tstate = wxPyBeginAllowThreads();
11569 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11570
11571 wxPyEndAllowThreads(__tstate);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
11574 {
11575 resultobj = wxPyMake_wxObject(result);
11576 }
11577 return resultobj;
11578 fail:
11579 return NULL;
11580}
11581
11582
2f4c0a16 11583static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11584 PyObject *resultobj;
11585 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11586 wxEvtHandler *result;
11587 PyObject * obj0 = 0 ;
11588 char *kwnames[] = {
11589 (char *) "self", NULL
11590 };
11591
11592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11595 {
11596 PyThreadState* __tstate = wxPyBeginAllowThreads();
11597 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11598
11599 wxPyEndAllowThreads(__tstate);
11600 if (PyErr_Occurred()) SWIG_fail;
11601 }
11602 {
11603 resultobj = wxPyMake_wxObject(result);
11604 }
11605 return resultobj;
11606 fail:
11607 return NULL;
11608}
11609
11610
2f4c0a16 11611static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11612 PyObject *resultobj;
11613 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11614 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11615 PyObject * obj0 = 0 ;
11616 PyObject * obj1 = 0 ;
11617 char *kwnames[] = {
11618 (char *) "self",(char *) "handler", NULL
11619 };
11620
11621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11624 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11626 {
11627 PyThreadState* __tstate = wxPyBeginAllowThreads();
11628 (arg1)->SetNextHandler(arg2);
11629
11630 wxPyEndAllowThreads(__tstate);
11631 if (PyErr_Occurred()) SWIG_fail;
11632 }
11633 Py_INCREF(Py_None); resultobj = Py_None;
11634 return resultobj;
11635 fail:
11636 return NULL;
11637}
11638
11639
2f4c0a16 11640static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11641 PyObject *resultobj;
11642 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11643 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11644 PyObject * obj0 = 0 ;
11645 PyObject * obj1 = 0 ;
11646 char *kwnames[] = {
11647 (char *) "self",(char *) "handler", NULL
11648 };
11649
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11655 {
11656 PyThreadState* __tstate = wxPyBeginAllowThreads();
11657 (arg1)->SetPreviousHandler(arg2);
11658
11659 wxPyEndAllowThreads(__tstate);
11660 if (PyErr_Occurred()) SWIG_fail;
11661 }
11662 Py_INCREF(Py_None); resultobj = Py_None;
11663 return resultobj;
11664 fail:
11665 return NULL;
11666}
11667
11668
2f4c0a16 11669static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11670 PyObject *resultobj;
11671 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11672 bool result;
11673 PyObject * obj0 = 0 ;
11674 char *kwnames[] = {
11675 (char *) "self", NULL
11676 };
11677
11678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11681 {
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 result = (bool)(arg1)->GetEvtHandlerEnabled();
11684
11685 wxPyEndAllowThreads(__tstate);
11686 if (PyErr_Occurred()) SWIG_fail;
11687 }
02a34c4c 11688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11689 return resultobj;
11690 fail:
11691 return NULL;
11692}
11693
11694
2f4c0a16 11695static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11696 PyObject *resultobj;
11697 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11698 bool arg2 ;
11699 PyObject * obj0 = 0 ;
11700 PyObject * obj1 = 0 ;
11701 char *kwnames[] = {
11702 (char *) "self",(char *) "enabled", NULL
11703 };
11704
11705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11708 arg2 = (bool) SWIG_AsBool(obj1);
11709 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11710 {
11711 PyThreadState* __tstate = wxPyBeginAllowThreads();
11712 (arg1)->SetEvtHandlerEnabled(arg2);
11713
11714 wxPyEndAllowThreads(__tstate);
11715 if (PyErr_Occurred()) SWIG_fail;
11716 }
11717 Py_INCREF(Py_None); resultobj = Py_None;
11718 return resultobj;
11719 fail:
11720 return NULL;
11721}
11722
11723
2f4c0a16 11724static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11725 PyObject *resultobj;
11726 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11727 wxEvent *arg2 = 0 ;
11728 bool result;
11729 PyObject * obj0 = 0 ;
11730 PyObject * obj1 = 0 ;
11731 char *kwnames[] = {
11732 (char *) "self",(char *) "event", NULL
11733 };
11734
11735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11739 SWIG_POINTER_EXCEPTION | 0)) == -1)
11740 SWIG_fail;
d14a1e28 11741 if (arg2 == NULL) {
2f4c0a16
RD
11742 PyErr_SetString(PyExc_TypeError,"null reference");
11743 SWIG_fail;
d14a1e28
RD
11744 }
11745 {
11746 PyThreadState* __tstate = wxPyBeginAllowThreads();
11747 result = (bool)(arg1)->ProcessEvent(*arg2);
11748
11749 wxPyEndAllowThreads(__tstate);
11750 if (PyErr_Occurred()) SWIG_fail;
11751 }
02a34c4c 11752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11753 return resultobj;
11754 fail:
11755 return NULL;
11756}
11757
11758
2f4c0a16 11759static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11760 PyObject *resultobj;
11761 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11762 wxEvent *arg2 = 0 ;
11763 PyObject * obj0 = 0 ;
11764 PyObject * obj1 = 0 ;
11765 char *kwnames[] = {
11766 (char *) "self",(char *) "event", NULL
11767 };
11768
11769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11772 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11773 SWIG_POINTER_EXCEPTION | 0)) == -1)
11774 SWIG_fail;
d14a1e28 11775 if (arg2 == NULL) {
2f4c0a16
RD
11776 PyErr_SetString(PyExc_TypeError,"null reference");
11777 SWIG_fail;
d14a1e28
RD
11778 }
11779 {
11780 PyThreadState* __tstate = wxPyBeginAllowThreads();
11781 (arg1)->AddPendingEvent(*arg2);
11782
11783 wxPyEndAllowThreads(__tstate);
11784 if (PyErr_Occurred()) SWIG_fail;
11785 }
11786 Py_INCREF(Py_None); resultobj = Py_None;
11787 return resultobj;
11788 fail:
11789 return NULL;
11790}
11791
11792
2f4c0a16 11793static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11794 PyObject *resultobj;
11795 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11796 PyObject * obj0 = 0 ;
11797 char *kwnames[] = {
11798 (char *) "self", NULL
11799 };
11800
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11804 {
11805 PyThreadState* __tstate = wxPyBeginAllowThreads();
11806 (arg1)->ProcessPendingEvents();
11807
11808 wxPyEndAllowThreads(__tstate);
11809 if (PyErr_Occurred()) SWIG_fail;
11810 }
11811 Py_INCREF(Py_None); resultobj = Py_None;
11812 return resultobj;
11813 fail:
11814 return NULL;
11815}
11816
11817
2f4c0a16 11818static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11819 PyObject *resultobj;
11820 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11821 int arg2 ;
11822 int arg3 ;
11823 int arg4 ;
11824 PyObject *arg5 = (PyObject *) 0 ;
11825 PyObject * obj0 = 0 ;
8edf1c75
RD
11826 PyObject * obj1 = 0 ;
11827 PyObject * obj2 = 0 ;
11828 PyObject * obj3 = 0 ;
d14a1e28
RD
11829 PyObject * obj4 = 0 ;
11830 char *kwnames[] = {
11831 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11832 };
11833
8edf1c75 11834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11837 arg2 = (int) SWIG_AsInt(obj1);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 arg3 = (int) SWIG_AsInt(obj2);
11840 if (PyErr_Occurred()) SWIG_fail;
11841 arg4 = (int) SWIG_AsInt(obj3);
11842 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11843 arg5 = obj4;
11844 {
11845 PyThreadState* __tstate = wxPyBeginAllowThreads();
11846 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
11847
11848 wxPyEndAllowThreads(__tstate);
11849 if (PyErr_Occurred()) SWIG_fail;
11850 }
11851 Py_INCREF(Py_None); resultobj = Py_None;
11852 return resultobj;
11853 fail:
11854 return NULL;
11855}
11856
11857
2f4c0a16 11858static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11859 PyObject *resultobj;
11860 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11861 int arg2 ;
11862 int arg3 = (int) -1 ;
11863 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
11864 bool result;
11865 PyObject * obj0 = 0 ;
8edf1c75
RD
11866 PyObject * obj1 = 0 ;
11867 PyObject * obj2 = 0 ;
11868 PyObject * obj3 = 0 ;
d14a1e28
RD
11869 char *kwnames[] = {
11870 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11871 };
11872
8edf1c75 11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11876 arg2 = (int) SWIG_AsInt(obj1);
11877 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11878 if (obj2) {
2f4c0a16
RD
11879 arg3 = (int) SWIG_AsInt(obj2);
11880 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11881 }
11882 if (obj3) {
2f4c0a16
RD
11883 arg4 = (wxEventType) SWIG_AsInt(obj3);
11884 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11885 }
d14a1e28
RD
11886 {
11887 PyThreadState* __tstate = wxPyBeginAllowThreads();
11888 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
11889
11890 wxPyEndAllowThreads(__tstate);
11891 if (PyErr_Occurred()) SWIG_fail;
11892 }
02a34c4c 11893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11894 return resultobj;
11895 fail:
11896 return NULL;
11897}
11898
11899
2f4c0a16 11900static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11901 PyObject *resultobj;
11902 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11903 PyObject *arg2 = (PyObject *) 0 ;
11904 PyObject * obj0 = 0 ;
11905 PyObject * obj1 = 0 ;
11906 char *kwnames[] = {
11907 (char *) "self",(char *) "_self", NULL
11908 };
11909
11910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11913 arg2 = obj1;
11914 {
11915 PyThreadState* __tstate = wxPyBeginAllowThreads();
11916 wxEvtHandler__setOORInfo(arg1,arg2);
11917
11918 wxPyEndAllowThreads(__tstate);
11919 if (PyErr_Occurred()) SWIG_fail;
11920 }
11921 Py_INCREF(Py_None); resultobj = Py_None;
11922 return resultobj;
11923 fail:
11924 return NULL;
11925}
11926
11927
2f4c0a16 11928static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11929 PyObject *obj;
11930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11931 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
11932 Py_INCREF(obj);
11933 return Py_BuildValue((char *)"");
11934}
2f4c0a16 11935static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11936 PyObject *resultobj;
11937 wxEventType result;
11938 char *kwnames[] = {
11939 NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
11943 {
11944 PyThreadState* __tstate = wxPyBeginAllowThreads();
11945 result = (wxEventType)wxNewEventType();
11946
11947 wxPyEndAllowThreads(__tstate);
11948 if (PyErr_Occurred()) SWIG_fail;
11949 }
2f4c0a16 11950 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11951 return resultobj;
11952 fail:
11953 return NULL;
11954}
11955
11956
2f4c0a16 11957static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11958 PyObject *resultobj;
11959 wxEvent *arg1 = (wxEvent *) 0 ;
11960 PyObject * obj0 = 0 ;
11961 char *kwnames[] = {
11962 (char *) "self", NULL
11963 };
11964
11965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
11967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11968 {
11969 PyThreadState* __tstate = wxPyBeginAllowThreads();
11970 delete arg1;
11971
11972 wxPyEndAllowThreads(__tstate);
11973 if (PyErr_Occurred()) SWIG_fail;
11974 }
11975 Py_INCREF(Py_None); resultobj = Py_None;
11976 return resultobj;
11977 fail:
11978 return NULL;
11979}
11980
11981
2f4c0a16 11982static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11983 PyObject *resultobj;
11984 wxEvent *arg1 = (wxEvent *) 0 ;
11985 wxEventType arg2 ;
11986 PyObject * obj0 = 0 ;
8edf1c75 11987 PyObject * obj1 = 0 ;
d14a1e28
RD
11988 char *kwnames[] = {
11989 (char *) "self",(char *) "typ", NULL
11990 };
11991
8edf1c75 11992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
11994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11995 arg2 = (wxEventType) SWIG_AsInt(obj1);
11996 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 (arg1)->SetEventType(arg2);
12000
12001 wxPyEndAllowThreads(__tstate);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 }
12004 Py_INCREF(Py_None); resultobj = Py_None;
12005 return resultobj;
12006 fail:
12007 return NULL;
12008}
12009
12010
2f4c0a16 12011static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12012 PyObject *resultobj;
12013 wxEvent *arg1 = (wxEvent *) 0 ;
12014 wxEventType result;
12015 PyObject * obj0 = 0 ;
12016 char *kwnames[] = {
12017 (char *) "self", NULL
12018 };
12019
12020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12023 {
12024 PyThreadState* __tstate = wxPyBeginAllowThreads();
12025 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12026
12027 wxPyEndAllowThreads(__tstate);
12028 if (PyErr_Occurred()) SWIG_fail;
12029 }
2f4c0a16 12030 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12031 return resultobj;
12032 fail:
12033 return NULL;
12034}
12035
12036
2f4c0a16 12037static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12038 PyObject *resultobj;
12039 wxEvent *arg1 = (wxEvent *) 0 ;
12040 wxObject *result;
12041 PyObject * obj0 = 0 ;
12042 char *kwnames[] = {
12043 (char *) "self", NULL
12044 };
12045
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 {
12057 resultobj = wxPyMake_wxObject(result);
12058 }
12059 return resultobj;
12060 fail:
12061 return NULL;
12062}
12063
12064
2f4c0a16 12065static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12066 PyObject *resultobj;
12067 wxEvent *arg1 = (wxEvent *) 0 ;
12068 wxObject *arg2 = (wxObject *) 0 ;
12069 PyObject * obj0 = 0 ;
12070 PyObject * obj1 = 0 ;
12071 char *kwnames[] = {
12072 (char *) "self",(char *) "obj", NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12078 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12080 {
12081 PyThreadState* __tstate = wxPyBeginAllowThreads();
12082 (arg1)->SetEventObject(arg2);
12083
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 Py_INCREF(Py_None); resultobj = Py_None;
12088 return resultobj;
12089 fail:
12090 return NULL;
12091}
12092
12093
2f4c0a16 12094static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12095 PyObject *resultobj;
12096 wxEvent *arg1 = (wxEvent *) 0 ;
12097 long result;
12098 PyObject * obj0 = 0 ;
12099 char *kwnames[] = {
12100 (char *) "self", NULL
12101 };
12102
12103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12106 {
12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
12108 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12109
12110 wxPyEndAllowThreads(__tstate);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 }
2f4c0a16 12113 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12114 return resultobj;
12115 fail:
12116 return NULL;
12117}
12118
12119
2f4c0a16 12120static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12121 PyObject *resultobj;
12122 wxEvent *arg1 = (wxEvent *) 0 ;
12123 long arg2 = (long) 0 ;
12124 PyObject * obj0 = 0 ;
8edf1c75 12125 PyObject * obj1 = 0 ;
d14a1e28
RD
12126 char *kwnames[] = {
12127 (char *) "self",(char *) "ts", NULL
12128 };
12129
8edf1c75 12130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 12133 if (obj1) {
2f4c0a16
RD
12134 arg2 = (long) SWIG_AsLong(obj1);
12135 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12136 }
d14a1e28
RD
12137 {
12138 PyThreadState* __tstate = wxPyBeginAllowThreads();
12139 (arg1)->SetTimestamp(arg2);
12140
12141 wxPyEndAllowThreads(__tstate);
12142 if (PyErr_Occurred()) SWIG_fail;
12143 }
12144 Py_INCREF(Py_None); resultobj = Py_None;
12145 return resultobj;
12146 fail:
12147 return NULL;
12148}
12149
12150
2f4c0a16 12151static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12152 PyObject *resultobj;
12153 wxEvent *arg1 = (wxEvent *) 0 ;
12154 int result;
12155 PyObject * obj0 = 0 ;
12156 char *kwnames[] = {
12157 (char *) "self", NULL
12158 };
12159
12160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12163 {
12164 PyThreadState* __tstate = wxPyBeginAllowThreads();
12165 result = (int)((wxEvent const *)arg1)->GetId();
12166
12167 wxPyEndAllowThreads(__tstate);
12168 if (PyErr_Occurred()) SWIG_fail;
12169 }
2f4c0a16 12170 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12171 return resultobj;
12172 fail:
12173 return NULL;
12174}
12175
12176
2f4c0a16 12177static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12178 PyObject *resultobj;
12179 wxEvent *arg1 = (wxEvent *) 0 ;
12180 int arg2 ;
12181 PyObject * obj0 = 0 ;
8edf1c75 12182 PyObject * obj1 = 0 ;
d14a1e28
RD
12183 char *kwnames[] = {
12184 (char *) "self",(char *) "Id", NULL
12185 };
12186
8edf1c75 12187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12190 arg2 = (int) SWIG_AsInt(obj1);
12191 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 (arg1)->SetId(arg2);
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 Py_INCREF(Py_None); resultobj = Py_None;
12200 return resultobj;
12201 fail:
12202 return NULL;
12203}
12204
12205
2f4c0a16 12206static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12207 PyObject *resultobj;
12208 wxEvent *arg1 = (wxEvent *) 0 ;
12209 bool result;
12210 PyObject * obj0 = 0 ;
12211 char *kwnames[] = {
12212 (char *) "self", NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
02a34c4c 12225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12226 return resultobj;
12227 fail:
12228 return NULL;
12229}
12230
12231
2f4c0a16 12232static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12233 PyObject *resultobj;
12234 wxEvent *arg1 = (wxEvent *) 0 ;
423f194a 12235 bool arg2 = (bool) True ;
d14a1e28
RD
12236 PyObject * obj0 = 0 ;
12237 PyObject * obj1 = 0 ;
12238 char *kwnames[] = {
12239 (char *) "self",(char *) "skip", NULL
12240 };
12241
12242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12245 if (obj1) {
2f4c0a16
RD
12246 arg2 = (bool) SWIG_AsBool(obj1);
12247 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12248 }
12249 {
12250 PyThreadState* __tstate = wxPyBeginAllowThreads();
12251 (arg1)->Skip(arg2);
12252
12253 wxPyEndAllowThreads(__tstate);
12254 if (PyErr_Occurred()) SWIG_fail;
12255 }
12256 Py_INCREF(Py_None); resultobj = Py_None;
12257 return resultobj;
12258 fail:
12259 return NULL;
12260}
12261
12262
2f4c0a16 12263static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12264 PyObject *resultobj;
12265 wxEvent *arg1 = (wxEvent *) 0 ;
12266 bool result;
12267 PyObject * obj0 = 0 ;
12268 char *kwnames[] = {
12269 (char *) "self", NULL
12270 };
12271
12272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12275 {
12276 PyThreadState* __tstate = wxPyBeginAllowThreads();
12277 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12278
12279 wxPyEndAllowThreads(__tstate);
12280 if (PyErr_Occurred()) SWIG_fail;
12281 }
02a34c4c 12282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12283 return resultobj;
12284 fail:
12285 return NULL;
12286}
12287
12288
2f4c0a16 12289static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12290 PyObject *resultobj;
12291 wxEvent *arg1 = (wxEvent *) 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:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12301 {
12302 PyThreadState* __tstate = wxPyBeginAllowThreads();
12303 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12304
12305 wxPyEndAllowThreads(__tstate);
12306 if (PyErr_Occurred()) SWIG_fail;
12307 }
02a34c4c 12308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12309 return resultobj;
12310 fail:
12311 return NULL;
12312}
12313
12314
2f4c0a16 12315static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12316 PyObject *resultobj;
12317 wxEvent *arg1 = (wxEvent *) 0 ;
12318 int result;
12319 PyObject * obj0 = 0 ;
12320 char *kwnames[] = {
12321 (char *) "self", NULL
12322 };
12323
12324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12327 {
12328 PyThreadState* __tstate = wxPyBeginAllowThreads();
12329 result = (int)(arg1)->StopPropagation();
12330
12331 wxPyEndAllowThreads(__tstate);
12332 if (PyErr_Occurred()) SWIG_fail;
12333 }
2f4c0a16 12334 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12335 return resultobj;
12336 fail:
12337 return NULL;
12338}
12339
12340
2f4c0a16 12341static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12342 PyObject *resultobj;
12343 wxEvent *arg1 = (wxEvent *) 0 ;
12344 int arg2 ;
12345 PyObject * obj0 = 0 ;
8edf1c75 12346 PyObject * obj1 = 0 ;
d14a1e28
RD
12347 char *kwnames[] = {
12348 (char *) "self",(char *) "propagationLevel", NULL
12349 };
12350
8edf1c75 12351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12354 arg2 = (int) SWIG_AsInt(obj1);
12355 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12356 {
12357 PyThreadState* __tstate = wxPyBeginAllowThreads();
12358 (arg1)->ResumePropagation(arg2);
12359
12360 wxPyEndAllowThreads(__tstate);
12361 if (PyErr_Occurred()) SWIG_fail;
12362 }
12363 Py_INCREF(Py_None); resultobj = Py_None;
12364 return resultobj;
12365 fail:
12366 return NULL;
12367}
12368
12369
2f4c0a16 12370static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12371 PyObject *resultobj;
12372 wxEvent *arg1 = (wxEvent *) 0 ;
12373 wxEvent *result;
12374 PyObject * obj0 = 0 ;
12375 char *kwnames[] = {
12376 (char *) "self", NULL
12377 };
12378
12379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 result = (wxEvent *)(arg1)->Clone();
12385
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
2f4c0a16 12389 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12390 return resultobj;
12391 fail:
12392 return NULL;
12393}
12394
12395
2f4c0a16 12396static PyObject * Event_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12397 PyObject *obj;
12398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12399 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12400 Py_INCREF(obj);
12401 return Py_BuildValue((char *)"");
12402}
2f4c0a16 12403static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12404 PyObject *resultobj;
12405 wxEvent *arg1 = 0 ;
12406 wxPropagationDisabler *result;
12407 PyObject * obj0 = 0 ;
12408 char *kwnames[] = {
12409 (char *) "event", NULL
12410 };
12411
12412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12414 SWIG_POINTER_EXCEPTION | 0)) == -1)
12415 SWIG_fail;
d14a1e28 12416 if (arg1 == NULL) {
2f4c0a16
RD
12417 PyErr_SetString(PyExc_TypeError,"null reference");
12418 SWIG_fail;
d14a1e28
RD
12419 }
12420 {
12421 PyThreadState* __tstate = wxPyBeginAllowThreads();
12422 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12423
12424 wxPyEndAllowThreads(__tstate);
12425 if (PyErr_Occurred()) SWIG_fail;
12426 }
2f4c0a16 12427 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
12428 return resultobj;
12429 fail:
12430 return NULL;
12431}
12432
12433
2f4c0a16 12434static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12435 PyObject *resultobj;
12436 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12437 PyObject * obj0 = 0 ;
12438 char *kwnames[] = {
12439 (char *) "self", NULL
12440 };
12441
12442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12445 {
12446 PyThreadState* __tstate = wxPyBeginAllowThreads();
12447 delete arg1;
12448
12449 wxPyEndAllowThreads(__tstate);
12450 if (PyErr_Occurred()) SWIG_fail;
12451 }
12452 Py_INCREF(Py_None); resultobj = Py_None;
12453 return resultobj;
12454 fail:
12455 return NULL;
12456}
12457
12458
2f4c0a16 12459static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12460 PyObject *obj;
12461 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12462 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12463 Py_INCREF(obj);
12464 return Py_BuildValue((char *)"");
12465}
2f4c0a16 12466static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12467 PyObject *resultobj;
12468 wxEvent *arg1 = 0 ;
12469 wxPropagateOnce *result;
12470 PyObject * obj0 = 0 ;
12471 char *kwnames[] = {
12472 (char *) "event", NULL
12473 };
12474
12475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12477 SWIG_POINTER_EXCEPTION | 0)) == -1)
12478 SWIG_fail;
d14a1e28 12479 if (arg1 == NULL) {
2f4c0a16
RD
12480 PyErr_SetString(PyExc_TypeError,"null reference");
12481 SWIG_fail;
d14a1e28
RD
12482 }
12483 {
12484 PyThreadState* __tstate = wxPyBeginAllowThreads();
12485 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12486
12487 wxPyEndAllowThreads(__tstate);
12488 if (PyErr_Occurred()) SWIG_fail;
12489 }
2f4c0a16 12490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
12491 return resultobj;
12492 fail:
12493 return NULL;
12494}
12495
12496
2f4c0a16 12497static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12498 PyObject *resultobj;
12499 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12500 PyObject * obj0 = 0 ;
12501 char *kwnames[] = {
12502 (char *) "self", NULL
12503 };
12504
12505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 delete arg1;
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 Py_INCREF(Py_None); resultobj = Py_None;
12516 return resultobj;
12517 fail:
12518 return NULL;
12519}
12520
12521
2f4c0a16 12522static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12523 PyObject *obj;
12524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12525 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12526 Py_INCREF(obj);
12527 return Py_BuildValue((char *)"");
12528}
2f4c0a16 12529static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12530 PyObject *resultobj;
12531 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12532 int arg2 = (int) 0 ;
12533 wxCommandEvent *result;
8edf1c75
RD
12534 PyObject * obj0 = 0 ;
12535 PyObject * obj1 = 0 ;
d14a1e28
RD
12536 char *kwnames[] = {
12537 (char *) "commandType",(char *) "winid", NULL
12538 };
12539
8edf1c75
RD
12540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12541 if (obj0) {
2f4c0a16
RD
12542 arg1 = (wxEventType) SWIG_AsInt(obj0);
12543 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12544 }
12545 if (obj1) {
2f4c0a16
RD
12546 arg2 = (int) SWIG_AsInt(obj1);
12547 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12548 }
d14a1e28
RD
12549 {
12550 PyThreadState* __tstate = wxPyBeginAllowThreads();
12551 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12552
12553 wxPyEndAllowThreads(__tstate);
12554 if (PyErr_Occurred()) SWIG_fail;
12555 }
2f4c0a16 12556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
12557 return resultobj;
12558 fail:
12559 return NULL;
12560}
12561
12562
2f4c0a16 12563static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12564 PyObject *resultobj;
12565 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12566 int result;
12567 PyObject * obj0 = 0 ;
12568 char *kwnames[] = {
12569 (char *) "self", NULL
12570 };
12571
12572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12575 {
12576 PyThreadState* __tstate = wxPyBeginAllowThreads();
12577 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12578
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
2f4c0a16 12582 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12583 return resultobj;
12584 fail:
12585 return NULL;
12586}
12587
12588
2f4c0a16 12589static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12590 PyObject *resultobj;
12591 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12592 wxString *arg2 = 0 ;
423f194a 12593 bool temp2 = False ;
d14a1e28
RD
12594 PyObject * obj0 = 0 ;
12595 PyObject * obj1 = 0 ;
12596 char *kwnames[] = {
12597 (char *) "self",(char *) "s", NULL
12598 };
12599
12600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12603 {
12604 arg2 = wxString_in_helper(obj1);
12605 if (arg2 == NULL) SWIG_fail;
423f194a 12606 temp2 = True;
d14a1e28
RD
12607 }
12608 {
12609 PyThreadState* __tstate = wxPyBeginAllowThreads();
12610 (arg1)->SetString((wxString const &)*arg2);
12611
12612 wxPyEndAllowThreads(__tstate);
12613 if (PyErr_Occurred()) SWIG_fail;
12614 }
12615 Py_INCREF(Py_None); resultobj = Py_None;
12616 {
12617 if (temp2)
12618 delete arg2;
12619 }
12620 return resultobj;
12621 fail:
12622 {
12623 if (temp2)
12624 delete arg2;
12625 }
12626 return NULL;
12627}
12628
12629
2f4c0a16 12630static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12631 PyObject *resultobj;
12632 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12633 wxString result;
12634 PyObject * obj0 = 0 ;
12635 char *kwnames[] = {
12636 (char *) "self", NULL
12637 };
12638
12639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12642 {
12643 PyThreadState* __tstate = wxPyBeginAllowThreads();
12644 result = ((wxCommandEvent const *)arg1)->GetString();
12645
12646 wxPyEndAllowThreads(__tstate);
12647 if (PyErr_Occurred()) SWIG_fail;
12648 }
12649 {
12650#if wxUSE_UNICODE
12651 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12652#else
12653 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12654#endif
12655 }
12656 return resultobj;
12657 fail:
12658 return NULL;
12659}
12660
12661
2f4c0a16 12662static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12663 PyObject *resultobj;
12664 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12665 bool result;
12666 PyObject * obj0 = 0 ;
12667 char *kwnames[] = {
12668 (char *) "self", NULL
12669 };
12670
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12674 {
12675 PyThreadState* __tstate = wxPyBeginAllowThreads();
12676 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12677
12678 wxPyEndAllowThreads(__tstate);
12679 if (PyErr_Occurred()) SWIG_fail;
12680 }
02a34c4c 12681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12682 return resultobj;
12683 fail:
12684 return NULL;
12685}
12686
12687
2f4c0a16 12688static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12689 PyObject *resultobj;
12690 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12691 bool result;
12692 PyObject * obj0 = 0 ;
12693 char *kwnames[] = {
12694 (char *) "self", NULL
12695 };
12696
12697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12700 {
12701 PyThreadState* __tstate = wxPyBeginAllowThreads();
12702 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12703
12704 wxPyEndAllowThreads(__tstate);
12705 if (PyErr_Occurred()) SWIG_fail;
12706 }
02a34c4c 12707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12708 return resultobj;
12709 fail:
12710 return NULL;
12711}
12712
12713
2f4c0a16 12714static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12715 PyObject *resultobj;
12716 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12717 long arg2 ;
12718 PyObject * obj0 = 0 ;
8edf1c75 12719 PyObject * obj1 = 0 ;
d14a1e28
RD
12720 char *kwnames[] = {
12721 (char *) "self",(char *) "extraLong", NULL
12722 };
12723
8edf1c75 12724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12727 arg2 = (long) SWIG_AsLong(obj1);
12728 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12729 {
12730 PyThreadState* __tstate = wxPyBeginAllowThreads();
12731 (arg1)->SetExtraLong(arg2);
12732
12733 wxPyEndAllowThreads(__tstate);
12734 if (PyErr_Occurred()) SWIG_fail;
12735 }
12736 Py_INCREF(Py_None); resultobj = Py_None;
12737 return resultobj;
12738 fail:
12739 return NULL;
12740}
12741
12742
2f4c0a16 12743static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12744 PyObject *resultobj;
12745 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12746 long result;
12747 PyObject * obj0 = 0 ;
12748 char *kwnames[] = {
12749 (char *) "self", NULL
12750 };
12751
12752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
2f4c0a16 12762 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12763 return resultobj;
12764 fail:
12765 return NULL;
12766}
12767
12768
2f4c0a16 12769static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12770 PyObject *resultobj;
12771 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12772 int arg2 ;
12773 PyObject * obj0 = 0 ;
8edf1c75 12774 PyObject * obj1 = 0 ;
d14a1e28
RD
12775 char *kwnames[] = {
12776 (char *) "self",(char *) "i", NULL
12777 };
12778
8edf1c75 12779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12782 arg2 = (int) SWIG_AsInt(obj1);
12783 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12784 {
12785 PyThreadState* __tstate = wxPyBeginAllowThreads();
12786 (arg1)->SetInt(arg2);
12787
12788 wxPyEndAllowThreads(__tstate);
12789 if (PyErr_Occurred()) SWIG_fail;
12790 }
12791 Py_INCREF(Py_None); resultobj = Py_None;
12792 return resultobj;
12793 fail:
12794 return NULL;
12795}
12796
12797
2f4c0a16 12798static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12799 PyObject *resultobj;
12800 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12801 long result;
12802 PyObject * obj0 = 0 ;
12803 char *kwnames[] = {
12804 (char *) "self", NULL
12805 };
12806
12807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12810 {
12811 PyThreadState* __tstate = wxPyBeginAllowThreads();
12812 result = (long)((wxCommandEvent const *)arg1)->GetInt();
12813
12814 wxPyEndAllowThreads(__tstate);
12815 if (PyErr_Occurred()) SWIG_fail;
12816 }
2f4c0a16 12817 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12818 return resultobj;
12819 fail:
12820 return NULL;
12821}
12822
12823
2f4c0a16 12824static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12825 PyObject *resultobj;
12826 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12827 wxEvent *result;
12828 PyObject * obj0 = 0 ;
12829 char *kwnames[] = {
12830 (char *) "self", NULL
12831 };
12832
12833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12836 {
12837 PyThreadState* __tstate = wxPyBeginAllowThreads();
12838 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
12839
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
2f4c0a16 12843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12844 return resultobj;
12845 fail:
12846 return NULL;
12847}
12848
12849
2f4c0a16 12850static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12851 PyObject *obj;
12852 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12853 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
12854 Py_INCREF(obj);
12855 return Py_BuildValue((char *)"");
12856}
2f4c0a16 12857static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12858 PyObject *resultobj;
12859 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12860 int arg2 = (int) 0 ;
12861 wxNotifyEvent *result;
8edf1c75
RD
12862 PyObject * obj0 = 0 ;
12863 PyObject * obj1 = 0 ;
d14a1e28
RD
12864 char *kwnames[] = {
12865 (char *) "commandType",(char *) "winid", NULL
12866 };
12867
8edf1c75
RD
12868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
12869 if (obj0) {
2f4c0a16
RD
12870 arg1 = (wxEventType) SWIG_AsInt(obj0);
12871 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12872 }
12873 if (obj1) {
2f4c0a16
RD
12874 arg2 = (int) SWIG_AsInt(obj1);
12875 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12876 }
d14a1e28
RD
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
2f4c0a16 12884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
12885 return resultobj;
12886 fail:
12887 return NULL;
12888}
12889
12890
2f4c0a16 12891static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12892 PyObject *resultobj;
12893 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
12894 PyObject * obj0 = 0 ;
12895 char *kwnames[] = {
12896 (char *) "self", NULL
12897 };
12898
12899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
12901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 (arg1)->Veto();
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 Py_INCREF(Py_None); resultobj = Py_None;
12910 return resultobj;
12911 fail:
12912 return NULL;
12913}
12914
12915
2f4c0a16 12916static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12917 PyObject *resultobj;
12918 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
12919 PyObject * obj0 = 0 ;
12920 char *kwnames[] = {
12921 (char *) "self", NULL
12922 };
12923
12924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
12926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12927 {
12928 PyThreadState* __tstate = wxPyBeginAllowThreads();
12929 (arg1)->Allow();
12930
12931 wxPyEndAllowThreads(__tstate);
12932 if (PyErr_Occurred()) SWIG_fail;
12933 }
12934 Py_INCREF(Py_None); resultobj = Py_None;
12935 return resultobj;
12936 fail:
12937 return NULL;
12938}
12939
12940
2f4c0a16 12941static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12942 PyObject *resultobj;
12943 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
12944 bool result;
12945 PyObject * obj0 = 0 ;
12946 char *kwnames[] = {
12947 (char *) "self", NULL
12948 };
12949
12950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
12952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12953 {
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 result = (bool)(arg1)->IsAllowed();
12956
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
02a34c4c 12960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12961 return resultobj;
12962 fail:
12963 return NULL;
12964}
12965
12966
2f4c0a16 12967static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12968 PyObject *obj;
12969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12970 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
12971 Py_INCREF(obj);
12972 return Py_BuildValue((char *)"");
12973}
2f4c0a16 12974static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12975 PyObject *resultobj;
12976 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12977 int arg2 = (int) 0 ;
12978 int arg3 = (int) 0 ;
12979 int arg4 = (int) 0 ;
12980 wxScrollEvent *result;
8edf1c75
RD
12981 PyObject * obj0 = 0 ;
12982 PyObject * obj1 = 0 ;
12983 PyObject * obj2 = 0 ;
12984 PyObject * obj3 = 0 ;
d14a1e28
RD
12985 char *kwnames[] = {
12986 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12987 };
12988
8edf1c75
RD
12989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12990 if (obj0) {
2f4c0a16
RD
12991 arg1 = (wxEventType) SWIG_AsInt(obj0);
12992 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12993 }
12994 if (obj1) {
2f4c0a16
RD
12995 arg2 = (int) SWIG_AsInt(obj1);
12996 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12997 }
12998 if (obj2) {
2f4c0a16
RD
12999 arg3 = (int) SWIG_AsInt(obj2);
13000 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13001 }
13002 if (obj3) {
2f4c0a16
RD
13003 arg4 = (int) SWIG_AsInt(obj3);
13004 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13005 }
d14a1e28
RD
13006 {
13007 PyThreadState* __tstate = wxPyBeginAllowThreads();
13008 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13009
13010 wxPyEndAllowThreads(__tstate);
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
2f4c0a16 13013 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
13014 return resultobj;
13015 fail:
13016 return NULL;
13017}
13018
13019
2f4c0a16 13020static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13021 PyObject *resultobj;
13022 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13023 int result;
13024 PyObject * obj0 = 0 ;
13025 char *kwnames[] = {
13026 (char *) "self", NULL
13027 };
13028
13029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13032 {
13033 PyThreadState* __tstate = wxPyBeginAllowThreads();
13034 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13035
13036 wxPyEndAllowThreads(__tstate);
13037 if (PyErr_Occurred()) SWIG_fail;
13038 }
2f4c0a16 13039 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13040 return resultobj;
13041 fail:
13042 return NULL;
13043}
13044
13045
2f4c0a16 13046static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13047 PyObject *resultobj;
13048 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13049 int result;
13050 PyObject * obj0 = 0 ;
13051 char *kwnames[] = {
13052 (char *) "self", NULL
13053 };
13054
13055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13058 {
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13061
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
2f4c0a16 13065 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13066 return resultobj;
13067 fail:
13068 return NULL;
13069}
13070
13071
2f4c0a16 13072static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13073 PyObject *resultobj;
13074 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13075 int arg2 ;
13076 PyObject * obj0 = 0 ;
8edf1c75 13077 PyObject * obj1 = 0 ;
d14a1e28
RD
13078 char *kwnames[] = {
13079 (char *) "self",(char *) "orient", NULL
13080 };
13081
8edf1c75 13082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13085 arg2 = (int) SWIG_AsInt(obj1);
13086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13087 {
13088 PyThreadState* __tstate = wxPyBeginAllowThreads();
13089 (arg1)->SetOrientation(arg2);
13090
13091 wxPyEndAllowThreads(__tstate);
13092 if (PyErr_Occurred()) SWIG_fail;
13093 }
13094 Py_INCREF(Py_None); resultobj = Py_None;
13095 return resultobj;
13096 fail:
13097 return NULL;
13098}
13099
13100
2f4c0a16 13101static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13102 PyObject *resultobj;
13103 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13104 int arg2 ;
13105 PyObject * obj0 = 0 ;
8edf1c75 13106 PyObject * obj1 = 0 ;
d14a1e28
RD
13107 char *kwnames[] = {
13108 (char *) "self",(char *) "pos", NULL
13109 };
13110
8edf1c75 13111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13114 arg2 = (int) SWIG_AsInt(obj1);
13115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13116 {
13117 PyThreadState* __tstate = wxPyBeginAllowThreads();
13118 (arg1)->SetPosition(arg2);
13119
13120 wxPyEndAllowThreads(__tstate);
13121 if (PyErr_Occurred()) SWIG_fail;
13122 }
13123 Py_INCREF(Py_None); resultobj = Py_None;
13124 return resultobj;
13125 fail:
13126 return NULL;
13127}
13128
13129
2f4c0a16 13130static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13131 PyObject *obj;
13132 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13133 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13134 Py_INCREF(obj);
13135 return Py_BuildValue((char *)"");
13136}
2f4c0a16 13137static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13138 PyObject *resultobj;
13139 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13140 int arg2 = (int) 0 ;
13141 int arg3 = (int) 0 ;
13142 wxScrollWinEvent *result;
8edf1c75
RD
13143 PyObject * obj0 = 0 ;
13144 PyObject * obj1 = 0 ;
13145 PyObject * obj2 = 0 ;
d14a1e28
RD
13146 char *kwnames[] = {
13147 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13148 };
13149
8edf1c75
RD
13150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13151 if (obj0) {
2f4c0a16
RD
13152 arg1 = (wxEventType) SWIG_AsInt(obj0);
13153 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13154 }
13155 if (obj1) {
2f4c0a16
RD
13156 arg2 = (int) SWIG_AsInt(obj1);
13157 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13158 }
13159 if (obj2) {
2f4c0a16
RD
13160 arg3 = (int) SWIG_AsInt(obj2);
13161 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13162 }
d14a1e28
RD
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13166
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
2f4c0a16 13170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
13171 return resultobj;
13172 fail:
13173 return NULL;
13174}
13175
13176
2f4c0a16 13177static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13178 PyObject *resultobj;
13179 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13180 int result;
13181 PyObject * obj0 = 0 ;
13182 char *kwnames[] = {
13183 (char *) "self", NULL
13184 };
13185
13186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13189 {
13190 PyThreadState* __tstate = wxPyBeginAllowThreads();
13191 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13192
13193 wxPyEndAllowThreads(__tstate);
13194 if (PyErr_Occurred()) SWIG_fail;
13195 }
2f4c0a16 13196 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13197 return resultobj;
13198 fail:
13199 return NULL;
13200}
13201
13202
2f4c0a16 13203static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13204 PyObject *resultobj;
13205 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13206 int result;
13207 PyObject * obj0 = 0 ;
13208 char *kwnames[] = {
13209 (char *) "self", NULL
13210 };
13211
13212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
13217 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13218
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
2f4c0a16 13222 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13223 return resultobj;
13224 fail:
13225 return NULL;
13226}
13227
13228
2f4c0a16 13229static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13230 PyObject *resultobj;
13231 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13232 int arg2 ;
13233 PyObject * obj0 = 0 ;
8edf1c75 13234 PyObject * obj1 = 0 ;
d14a1e28
RD
13235 char *kwnames[] = {
13236 (char *) "self",(char *) "orient", NULL
13237 };
13238
8edf1c75 13239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13242 arg2 = (int) SWIG_AsInt(obj1);
13243 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13244 {
13245 PyThreadState* __tstate = wxPyBeginAllowThreads();
13246 (arg1)->SetOrientation(arg2);
13247
13248 wxPyEndAllowThreads(__tstate);
13249 if (PyErr_Occurred()) SWIG_fail;
13250 }
13251 Py_INCREF(Py_None); resultobj = Py_None;
13252 return resultobj;
13253 fail:
13254 return NULL;
13255}
13256
13257
2f4c0a16 13258static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13259 PyObject *resultobj;
13260 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13261 int arg2 ;
13262 PyObject * obj0 = 0 ;
8edf1c75 13263 PyObject * obj1 = 0 ;
d14a1e28
RD
13264 char *kwnames[] = {
13265 (char *) "self",(char *) "pos", NULL
13266 };
13267
8edf1c75 13268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13271 arg2 = (int) SWIG_AsInt(obj1);
13272 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13273 {
13274 PyThreadState* __tstate = wxPyBeginAllowThreads();
13275 (arg1)->SetPosition(arg2);
13276
13277 wxPyEndAllowThreads(__tstate);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 }
13280 Py_INCREF(Py_None); resultobj = Py_None;
13281 return resultobj;
13282 fail:
13283 return NULL;
13284}
13285
13286
2f4c0a16 13287static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13288 PyObject *obj;
13289 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13290 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13291 Py_INCREF(obj);
13292 return Py_BuildValue((char *)"");
13293}
2f4c0a16 13294static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13295 PyObject *resultobj;
13296 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13297 wxMouseEvent *result;
8edf1c75 13298 PyObject * obj0 = 0 ;
d14a1e28
RD
13299 char *kwnames[] = {
13300 (char *) "mouseType", NULL
13301 };
13302
8edf1c75
RD
13303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13304 if (obj0) {
2f4c0a16
RD
13305 arg1 = (wxEventType) SWIG_AsInt(obj0);
13306 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13307 }
d14a1e28
RD
13308 {
13309 PyThreadState* __tstate = wxPyBeginAllowThreads();
13310 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13311
13312 wxPyEndAllowThreads(__tstate);
13313 if (PyErr_Occurred()) SWIG_fail;
13314 }
13315 {
13316 resultobj = wxPyMake_wxObject(result);
13317 }
13318 return resultobj;
13319 fail:
13320 return NULL;
13321}
13322
13323
2f4c0a16 13324static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13325 PyObject *resultobj;
13326 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13327 bool result;
13328 PyObject * obj0 = 0 ;
13329 char *kwnames[] = {
13330 (char *) "self", NULL
13331 };
13332
13333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13336 {
13337 PyThreadState* __tstate = wxPyBeginAllowThreads();
13338 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13339
13340 wxPyEndAllowThreads(__tstate);
13341 if (PyErr_Occurred()) SWIG_fail;
13342 }
02a34c4c 13343 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13344 return resultobj;
13345 fail:
13346 return NULL;
13347}
13348
13349
2f4c0a16 13350static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13351 PyObject *resultobj;
13352 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13353 int arg2 = (int) wxMOUSE_BTN_ANY ;
13354 bool result;
13355 PyObject * obj0 = 0 ;
8edf1c75 13356 PyObject * obj1 = 0 ;
d14a1e28
RD
13357 char *kwnames[] = {
13358 (char *) "self",(char *) "but", NULL
13359 };
13360
8edf1c75 13361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13364 if (obj1) {
2f4c0a16
RD
13365 arg2 = (int) SWIG_AsInt(obj1);
13366 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13367 }
d14a1e28
RD
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
02a34c4c 13375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13376 return resultobj;
13377 fail:
13378 return NULL;
13379}
13380
13381
2f4c0a16 13382static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13383 PyObject *resultobj;
13384 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13385 int arg2 = (int) wxMOUSE_BTN_ANY ;
13386 bool result;
13387 PyObject * obj0 = 0 ;
8edf1c75 13388 PyObject * obj1 = 0 ;
d14a1e28
RD
13389 char *kwnames[] = {
13390 (char *) "self",(char *) "but", NULL
13391 };
13392
8edf1c75 13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13396 if (obj1) {
2f4c0a16
RD
13397 arg2 = (int) SWIG_AsInt(obj1);
13398 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13399 }
d14a1e28
RD
13400 {
13401 PyThreadState* __tstate = wxPyBeginAllowThreads();
13402 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13403
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
02a34c4c 13407 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13408 return resultobj;
13409 fail:
13410 return NULL;
13411}
13412
13413
2f4c0a16 13414static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13415 PyObject *resultobj;
13416 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13417 int arg2 = (int) wxMOUSE_BTN_ANY ;
13418 bool result;
13419 PyObject * obj0 = 0 ;
8edf1c75 13420 PyObject * obj1 = 0 ;
d14a1e28
RD
13421 char *kwnames[] = {
13422 (char *) "self",(char *) "but", NULL
13423 };
13424
8edf1c75 13425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13428 if (obj1) {
2f4c0a16
RD
13429 arg2 = (int) SWIG_AsInt(obj1);
13430 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13431 }
d14a1e28
RD
13432 {
13433 PyThreadState* __tstate = wxPyBeginAllowThreads();
13434 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13435
13436 wxPyEndAllowThreads(__tstate);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 }
02a34c4c 13439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13440 return resultobj;
13441 fail:
13442 return NULL;
13443}
13444
13445
2f4c0a16 13446static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13447 PyObject *resultobj;
13448 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13449 int arg2 ;
13450 bool result;
13451 PyObject * obj0 = 0 ;
8edf1c75 13452 PyObject * obj1 = 0 ;
d14a1e28
RD
13453 char *kwnames[] = {
13454 (char *) "self",(char *) "but", NULL
13455 };
13456
8edf1c75 13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13460 arg2 = (int) SWIG_AsInt(obj1);
13461 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13462 {
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13465
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
02a34c4c 13469 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13470 return resultobj;
13471 fail:
13472 return NULL;
13473}
13474
13475
2f4c0a16 13476static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13477 PyObject *resultobj;
13478 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13479 int arg2 ;
13480 bool result;
13481 PyObject * obj0 = 0 ;
8edf1c75 13482 PyObject * obj1 = 0 ;
d14a1e28
RD
13483 char *kwnames[] = {
13484 (char *) "self",(char *) "but", NULL
13485 };
13486
8edf1c75 13487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13490 arg2 = (int) SWIG_AsInt(obj1);
13491 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13492 {
13493 PyThreadState* __tstate = wxPyBeginAllowThreads();
13494 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13495
13496 wxPyEndAllowThreads(__tstate);
13497 if (PyErr_Occurred()) SWIG_fail;
13498 }
02a34c4c 13499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13500 return resultobj;
13501 fail:
13502 return NULL;
13503}
13504
13505
2f4c0a16 13506static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13507 PyObject *resultobj;
13508 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13509 int result;
13510 PyObject * obj0 = 0 ;
13511 char *kwnames[] = {
13512 (char *) "self", NULL
13513 };
13514
13515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13518 {
13519 PyThreadState* __tstate = wxPyBeginAllowThreads();
13520 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13521
13522 wxPyEndAllowThreads(__tstate);
13523 if (PyErr_Occurred()) SWIG_fail;
13524 }
2f4c0a16 13525 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13526 return resultobj;
13527 fail:
13528 return NULL;
13529}
13530
13531
2f4c0a16 13532static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13533 PyObject *resultobj;
13534 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13535 bool result;
13536 PyObject * obj0 = 0 ;
13537 char *kwnames[] = {
13538 (char *) "self", NULL
13539 };
13540
13541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13544 {
13545 PyThreadState* __tstate = wxPyBeginAllowThreads();
13546 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13547
13548 wxPyEndAllowThreads(__tstate);
13549 if (PyErr_Occurred()) SWIG_fail;
13550 }
02a34c4c 13551 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13552 return resultobj;
13553 fail:
13554 return NULL;
13555}
13556
13557
2f4c0a16 13558static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13559 PyObject *resultobj;
13560 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13561 bool result;
13562 PyObject * obj0 = 0 ;
13563 char *kwnames[] = {
13564 (char *) "self", NULL
13565 };
13566
13567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13570 {
13571 PyThreadState* __tstate = wxPyBeginAllowThreads();
13572 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13573
13574 wxPyEndAllowThreads(__tstate);
13575 if (PyErr_Occurred()) SWIG_fail;
13576 }
02a34c4c 13577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13578 return resultobj;
13579 fail:
13580 return NULL;
13581}
13582
13583
2f4c0a16 13584static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13585 PyObject *resultobj;
13586 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13587 bool result;
13588 PyObject * obj0 = 0 ;
13589 char *kwnames[] = {
13590 (char *) "self", NULL
13591 };
13592
13593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13596 {
13597 PyThreadState* __tstate = wxPyBeginAllowThreads();
13598 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13599
13600 wxPyEndAllowThreads(__tstate);
13601 if (PyErr_Occurred()) SWIG_fail;
13602 }
02a34c4c 13603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13604 return resultobj;
13605 fail:
13606 return NULL;
13607}
13608
13609
2f4c0a16 13610static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13611 PyObject *resultobj;
13612 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13613 bool result;
13614 PyObject * obj0 = 0 ;
13615 char *kwnames[] = {
13616 (char *) "self", NULL
13617 };
13618
13619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13622 {
13623 PyThreadState* __tstate = wxPyBeginAllowThreads();
13624 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13625
13626 wxPyEndAllowThreads(__tstate);
13627 if (PyErr_Occurred()) SWIG_fail;
13628 }
02a34c4c 13629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13630 return resultobj;
13631 fail:
13632 return NULL;
13633}
13634
13635
2f4c0a16 13636static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13637 PyObject *resultobj;
13638 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13639 bool result;
13640 PyObject * obj0 = 0 ;
13641 char *kwnames[] = {
13642 (char *) "self", NULL
13643 };
13644
13645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13648 {
13649 PyThreadState* __tstate = wxPyBeginAllowThreads();
13650 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13651
13652 wxPyEndAllowThreads(__tstate);
13653 if (PyErr_Occurred()) SWIG_fail;
13654 }
02a34c4c 13655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13656 return resultobj;
13657 fail:
13658 return NULL;
13659}
13660
13661
2f4c0a16 13662static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13663 PyObject *resultobj;
13664 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13665 bool result;
13666 PyObject * obj0 = 0 ;
13667 char *kwnames[] = {
13668 (char *) "self", NULL
13669 };
13670
13671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13674 {
13675 PyThreadState* __tstate = wxPyBeginAllowThreads();
13676 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13677
13678 wxPyEndAllowThreads(__tstate);
13679 if (PyErr_Occurred()) SWIG_fail;
13680 }
02a34c4c 13681 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13682 return resultobj;
13683 fail:
13684 return NULL;
13685}
13686
13687
2f4c0a16 13688static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13689 PyObject *resultobj;
13690 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13691 bool result;
13692 PyObject * obj0 = 0 ;
13693 char *kwnames[] = {
13694 (char *) "self", NULL
13695 };
13696
13697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13700 {
13701 PyThreadState* __tstate = wxPyBeginAllowThreads();
13702 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
13703
13704 wxPyEndAllowThreads(__tstate);
13705 if (PyErr_Occurred()) SWIG_fail;
13706 }
02a34c4c 13707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13708 return resultobj;
13709 fail:
13710 return NULL;
13711}
13712
13713
2f4c0a16 13714static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13715 PyObject *resultobj;
13716 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13717 bool result;
13718 PyObject * obj0 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "self", NULL
13721 };
13722
13723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
02a34c4c 13733 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13734 return resultobj;
13735 fail:
13736 return NULL;
13737}
13738
13739
2f4c0a16 13740static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13741 PyObject *resultobj;
13742 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13743 bool result;
13744 PyObject * obj0 = 0 ;
13745 char *kwnames[] = {
13746 (char *) "self", NULL
13747 };
13748
13749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13752 {
13753 PyThreadState* __tstate = wxPyBeginAllowThreads();
13754 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
13755
13756 wxPyEndAllowThreads(__tstate);
13757 if (PyErr_Occurred()) SWIG_fail;
13758 }
02a34c4c 13759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13760 return resultobj;
13761 fail:
13762 return NULL;
13763}
13764
13765
2f4c0a16 13766static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13767 PyObject *resultobj;
13768 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13769 bool result;
13770 PyObject * obj0 = 0 ;
13771 char *kwnames[] = {
13772 (char *) "self", NULL
13773 };
13774
13775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13778 {
13779 PyThreadState* __tstate = wxPyBeginAllowThreads();
13780 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
13781
13782 wxPyEndAllowThreads(__tstate);
13783 if (PyErr_Occurred()) SWIG_fail;
13784 }
02a34c4c 13785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13786 return resultobj;
13787 fail:
13788 return NULL;
13789}
13790
13791
2f4c0a16 13792static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13793 PyObject *resultobj;
13794 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13795 bool result;
13796 PyObject * obj0 = 0 ;
13797 char *kwnames[] = {
13798 (char *) "self", NULL
13799 };
13800
13801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13804 {
13805 PyThreadState* __tstate = wxPyBeginAllowThreads();
13806 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
13807
13808 wxPyEndAllowThreads(__tstate);
13809 if (PyErr_Occurred()) SWIG_fail;
13810 }
02a34c4c 13811 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13812 return resultobj;
13813 fail:
13814 return NULL;
13815}
13816
13817
2f4c0a16 13818static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13819 PyObject *resultobj;
13820 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13821 bool result;
13822 PyObject * obj0 = 0 ;
13823 char *kwnames[] = {
13824 (char *) "self", NULL
13825 };
13826
13827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13830 {
13831 PyThreadState* __tstate = wxPyBeginAllowThreads();
13832 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
13833
13834 wxPyEndAllowThreads(__tstate);
13835 if (PyErr_Occurred()) SWIG_fail;
13836 }
02a34c4c 13837 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13838 return resultobj;
13839 fail:
13840 return NULL;
13841}
13842
13843
2f4c0a16 13844static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13845 PyObject *resultobj;
13846 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13847 bool result;
13848 PyObject * obj0 = 0 ;
13849 char *kwnames[] = {
13850 (char *) "self", NULL
13851 };
13852
13853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13856 {
13857 PyThreadState* __tstate = wxPyBeginAllowThreads();
13858 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
02a34c4c 13863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13864 return resultobj;
13865 fail:
13866 return NULL;
13867}
13868
13869
2f4c0a16 13870static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13871 PyObject *resultobj;
13872 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13873 bool result;
13874 PyObject * obj0 = 0 ;
13875 char *kwnames[] = {
13876 (char *) "self", NULL
13877 };
13878
13879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13882 {
13883 PyThreadState* __tstate = wxPyBeginAllowThreads();
13884 result = (bool)(arg1)->LeftIsDown();
13885
13886 wxPyEndAllowThreads(__tstate);
13887 if (PyErr_Occurred()) SWIG_fail;
13888 }
02a34c4c 13889 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13890 return resultobj;
13891 fail:
13892 return NULL;
13893}
13894
13895
2f4c0a16 13896static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13897 PyObject *resultobj;
13898 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13899 bool result;
13900 PyObject * obj0 = 0 ;
13901 char *kwnames[] = {
13902 (char *) "self", NULL
13903 };
13904
13905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13908 {
13909 PyThreadState* __tstate = wxPyBeginAllowThreads();
13910 result = (bool)(arg1)->MiddleIsDown();
13911
13912 wxPyEndAllowThreads(__tstate);
13913 if (PyErr_Occurred()) SWIG_fail;
13914 }
02a34c4c 13915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13916 return resultobj;
13917 fail:
13918 return NULL;
13919}
13920
13921
2f4c0a16 13922static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13923 PyObject *resultobj;
13924 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13925 bool result;
13926 PyObject * obj0 = 0 ;
13927 char *kwnames[] = {
13928 (char *) "self", NULL
13929 };
13930
13931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13934 {
13935 PyThreadState* __tstate = wxPyBeginAllowThreads();
13936 result = (bool)(arg1)->RightIsDown();
13937
13938 wxPyEndAllowThreads(__tstate);
13939 if (PyErr_Occurred()) SWIG_fail;
13940 }
02a34c4c 13941 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13942 return resultobj;
13943 fail:
13944 return NULL;
13945}
13946
13947
2f4c0a16 13948static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13949 PyObject *resultobj;
13950 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13951 bool result;
13952 PyObject * obj0 = 0 ;
13953 char *kwnames[] = {
13954 (char *) "self", NULL
13955 };
13956
13957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13960 {
13961 PyThreadState* __tstate = wxPyBeginAllowThreads();
13962 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
13963
13964 wxPyEndAllowThreads(__tstate);
13965 if (PyErr_Occurred()) SWIG_fail;
13966 }
02a34c4c 13967 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13968 return resultobj;
13969 fail:
13970 return NULL;
13971}
13972
13973
2f4c0a16 13974static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13975 PyObject *resultobj;
13976 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13977 bool result;
13978 PyObject * obj0 = 0 ;
13979 char *kwnames[] = {
13980 (char *) "self", NULL
13981 };
13982
13983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13986 {
13987 PyThreadState* __tstate = wxPyBeginAllowThreads();
13988 result = (bool)((wxMouseEvent const *)arg1)->Moving();
13989
13990 wxPyEndAllowThreads(__tstate);
13991 if (PyErr_Occurred()) SWIG_fail;
13992 }
02a34c4c 13993 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13994 return resultobj;
13995 fail:
13996 return NULL;
13997}
13998
13999
2f4c0a16 14000static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14001 PyObject *resultobj;
14002 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14003 bool result;
14004 PyObject * obj0 = 0 ;
14005 char *kwnames[] = {
14006 (char *) "self", NULL
14007 };
14008
14009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14012 {
14013 PyThreadState* __tstate = wxPyBeginAllowThreads();
14014 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14015
14016 wxPyEndAllowThreads(__tstate);
14017 if (PyErr_Occurred()) SWIG_fail;
14018 }
02a34c4c 14019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14020 return resultobj;
14021 fail:
14022 return NULL;
14023}
14024
14025
2f4c0a16 14026static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14027 PyObject *resultobj;
14028 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14029 bool result;
14030 PyObject * obj0 = 0 ;
14031 char *kwnames[] = {
14032 (char *) "self", NULL
14033 };
14034
14035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14038 {
14039 PyThreadState* __tstate = wxPyBeginAllowThreads();
14040 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14041
14042 wxPyEndAllowThreads(__tstate);
14043 if (PyErr_Occurred()) SWIG_fail;
14044 }
02a34c4c 14045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14046 return resultobj;
14047 fail:
14048 return NULL;
14049}
14050
14051
2f4c0a16 14052static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14053 PyObject *resultobj;
14054 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14055 wxPoint result;
14056 PyObject * obj0 = 0 ;
14057 char *kwnames[] = {
14058 (char *) "self", NULL
14059 };
14060
14061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 result = (arg1)->GetPosition();
14067
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 {
14072 wxPoint * resultptr;
14073 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14074 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14075 }
14076 return resultobj;
14077 fail:
14078 return NULL;
14079}
14080
14081
2f4c0a16 14082static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14083 PyObject *resultobj;
14084 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14085 long *arg2 = (long *) 0 ;
14086 long *arg3 = (long *) 0 ;
14087 long temp2 ;
14088 long temp3 ;
14089 PyObject * obj0 = 0 ;
14090 char *kwnames[] = {
14091 (char *) "self", NULL
14092 };
14093
14094 arg2 = &temp2;
14095 arg3 = &temp3;
14096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14099 {
14100 PyThreadState* __tstate = wxPyBeginAllowThreads();
14101 (arg1)->GetPosition(arg2,arg3);
14102
14103 wxPyEndAllowThreads(__tstate);
14104 if (PyErr_Occurred()) SWIG_fail;
14105 }
14106 Py_INCREF(Py_None); resultobj = Py_None;
14107 {
14108 PyObject *o = PyInt_FromLong((long) (*arg2));
14109 resultobj = t_output_helper(resultobj,o);
14110 }
14111 {
14112 PyObject *o = PyInt_FromLong((long) (*arg3));
14113 resultobj = t_output_helper(resultobj,o);
14114 }
14115 return resultobj;
14116 fail:
14117 return NULL;
14118}
14119
14120
2f4c0a16 14121static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14122 PyObject *resultobj;
14123 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14124 wxDC *arg2 = 0 ;
14125 wxPoint result;
14126 PyObject * obj0 = 0 ;
14127 PyObject * obj1 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self",(char *) "dc", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14136 SWIG_POINTER_EXCEPTION | 0)) == -1)
14137 SWIG_fail;
d14a1e28 14138 if (arg2 == NULL) {
2f4c0a16
RD
14139 PyErr_SetString(PyExc_TypeError,"null reference");
14140 SWIG_fail;
d14a1e28
RD
14141 }
14142 {
14143 PyThreadState* __tstate = wxPyBeginAllowThreads();
14144 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14145
14146 wxPyEndAllowThreads(__tstate);
14147 if (PyErr_Occurred()) SWIG_fail;
14148 }
14149 {
14150 wxPoint * resultptr;
14151 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14152 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14153 }
14154 return resultobj;
14155 fail:
14156 return NULL;
14157}
14158
14159
2f4c0a16 14160static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14161 PyObject *resultobj;
14162 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14163 int result;
d14a1e28
RD
14164 PyObject * obj0 = 0 ;
14165 char *kwnames[] = {
14166 (char *) "self", NULL
14167 };
14168
14169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14172 {
14173 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14174 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
14175
14176 wxPyEndAllowThreads(__tstate);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
2f4c0a16 14179 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14180 return resultobj;
14181 fail:
14182 return NULL;
14183}
14184
14185
2f4c0a16 14186static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14187 PyObject *resultobj;
14188 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14189 int result;
d14a1e28
RD
14190 PyObject * obj0 = 0 ;
14191 char *kwnames[] = {
14192 (char *) "self", NULL
14193 };
14194
14195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14198 {
14199 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14200 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
14201
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
2f4c0a16 14205 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14206 return resultobj;
14207 fail:
14208 return NULL;
14209}
14210
14211
2f4c0a16 14212static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14213 PyObject *resultobj;
14214 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14215 int result;
14216 PyObject * obj0 = 0 ;
14217 char *kwnames[] = {
14218 (char *) "self", NULL
14219 };
14220
14221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14224 {
14225 PyThreadState* __tstate = wxPyBeginAllowThreads();
14226 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14227
14228 wxPyEndAllowThreads(__tstate);
14229 if (PyErr_Occurred()) SWIG_fail;
14230 }
2f4c0a16 14231 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14232 return resultobj;
14233 fail:
14234 return NULL;
14235}
14236
14237
2f4c0a16 14238static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14239 PyObject *resultobj;
14240 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14241 int result;
14242 PyObject * obj0 = 0 ;
14243 char *kwnames[] = {
14244 (char *) "self", NULL
14245 };
14246
14247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
2f4c0a16
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 = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14253
14254 wxPyEndAllowThreads(__tstate);
14255 if (PyErr_Occurred()) SWIG_fail;
14256 }
2f4c0a16 14257 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14258 return resultobj;
14259 fail:
14260 return NULL;
14261}
14262
14263
2f4c0a16 14264static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14265 PyObject *resultobj;
14266 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14267 int result;
14268 PyObject * obj0 = 0 ;
14269 char *kwnames[] = {
14270 (char *) "self", NULL
14271 };
14272
14273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14276 {
14277 PyThreadState* __tstate = wxPyBeginAllowThreads();
14278 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14279
14280 wxPyEndAllowThreads(__tstate);
14281 if (PyErr_Occurred()) SWIG_fail;
14282 }
2f4c0a16 14283 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14284 return resultobj;
14285 fail:
14286 return NULL;
14287}
14288
14289
2f4c0a16 14290static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14291 PyObject *resultobj;
14292 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14293 bool result;
14294 PyObject * obj0 = 0 ;
14295 char *kwnames[] = {
14296 (char *) "self", NULL
14297 };
14298
14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14302 {
14303 PyThreadState* __tstate = wxPyBeginAllowThreads();
14304 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14305
14306 wxPyEndAllowThreads(__tstate);
14307 if (PyErr_Occurred()) SWIG_fail;
14308 }
02a34c4c 14309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14310 return resultobj;
14311 fail:
14312 return NULL;
14313}
14314
14315
2f4c0a16 14316static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14317 PyObject *resultobj;
14318 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14319 int arg2 ;
d14a1e28 14320 PyObject * obj0 = 0 ;
8edf1c75 14321 PyObject * obj1 = 0 ;
d14a1e28
RD
14322 char *kwnames[] = {
14323 (char *) "self",(char *) "m_x", NULL
14324 };
14325
8edf1c75 14326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14329 arg2 = (int) SWIG_AsInt(obj1);
14330 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14331 if (arg1) (arg1)->m_x = arg2;
14332
14333 Py_INCREF(Py_None); resultobj = Py_None;
14334 return resultobj;
14335 fail:
14336 return NULL;
14337}
14338
14339
2f4c0a16 14340static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14341 PyObject *resultobj;
14342 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14343 int result;
d14a1e28
RD
14344 PyObject * obj0 = 0 ;
14345 char *kwnames[] = {
14346 (char *) "self", NULL
14347 };
14348
14349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 14352 result = (int) ((arg1)->m_x);
d14a1e28 14353
2f4c0a16 14354 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14355 return resultobj;
14356 fail:
14357 return NULL;
14358}
14359
14360
2f4c0a16 14361static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14362 PyObject *resultobj;
14363 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14364 int arg2 ;
d14a1e28 14365 PyObject * obj0 = 0 ;
8edf1c75 14366 PyObject * obj1 = 0 ;
d14a1e28
RD
14367 char *kwnames[] = {
14368 (char *) "self",(char *) "m_y", NULL
14369 };
14370
8edf1c75 14371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14374 arg2 = (int) SWIG_AsInt(obj1);
14375 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14376 if (arg1) (arg1)->m_y = arg2;
14377
14378 Py_INCREF(Py_None); resultobj = Py_None;
14379 return resultobj;
14380 fail:
14381 return NULL;
14382}
14383
14384
2f4c0a16 14385static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14386 PyObject *resultobj;
14387 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14388 int result;
d14a1e28
RD
14389 PyObject * obj0 = 0 ;
14390 char *kwnames[] = {
14391 (char *) "self", NULL
14392 };
14393
14394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 14397 result = (int) ((arg1)->m_y);
d14a1e28 14398
2f4c0a16 14399 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14400 return resultobj;
14401 fail:
14402 return NULL;
14403}
14404
14405
2f4c0a16 14406static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14407 PyObject *resultobj;
14408 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14409 bool arg2 ;
14410 PyObject * obj0 = 0 ;
14411 PyObject * obj1 = 0 ;
14412 char *kwnames[] = {
14413 (char *) "self",(char *) "m_leftDown", NULL
14414 };
14415
14416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14419 arg2 = (bool) SWIG_AsBool(obj1);
14420 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14421 if (arg1) (arg1)->m_leftDown = arg2;
14422
14423 Py_INCREF(Py_None); resultobj = Py_None;
14424 return resultobj;
14425 fail:
14426 return NULL;
14427}
14428
14429
2f4c0a16 14430static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14431 PyObject *resultobj;
14432 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14433 bool result;
14434 PyObject * obj0 = 0 ;
14435 char *kwnames[] = {
14436 (char *) "self", NULL
14437 };
14438
14439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14442 result = (bool) ((arg1)->m_leftDown);
14443
02a34c4c 14444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14445 return resultobj;
14446 fail:
14447 return NULL;
14448}
14449
14450
2f4c0a16 14451static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14452 PyObject *resultobj;
14453 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14454 bool arg2 ;
14455 PyObject * obj0 = 0 ;
14456 PyObject * obj1 = 0 ;
14457 char *kwnames[] = {
14458 (char *) "self",(char *) "m_middleDown", NULL
14459 };
14460
14461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14462 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14464 arg2 = (bool) SWIG_AsBool(obj1);
14465 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14466 if (arg1) (arg1)->m_middleDown = arg2;
14467
14468 Py_INCREF(Py_None); resultobj = Py_None;
14469 return resultobj;
14470 fail:
14471 return NULL;
14472}
14473
14474
2f4c0a16 14475static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14476 PyObject *resultobj;
14477 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14478 bool result;
14479 PyObject * obj0 = 0 ;
14480 char *kwnames[] = {
14481 (char *) "self", NULL
14482 };
14483
14484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14487 result = (bool) ((arg1)->m_middleDown);
14488
02a34c4c 14489 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14490 return resultobj;
14491 fail:
14492 return NULL;
14493}
14494
14495
2f4c0a16 14496static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14497 PyObject *resultobj;
14498 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14499 bool arg2 ;
14500 PyObject * obj0 = 0 ;
14501 PyObject * obj1 = 0 ;
14502 char *kwnames[] = {
14503 (char *) "self",(char *) "m_rightDown", NULL
14504 };
14505
14506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14509 arg2 = (bool) SWIG_AsBool(obj1);
14510 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14511 if (arg1) (arg1)->m_rightDown = arg2;
14512
14513 Py_INCREF(Py_None); resultobj = Py_None;
14514 return resultobj;
14515 fail:
14516 return NULL;
14517}
14518
14519
2f4c0a16 14520static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14521 PyObject *resultobj;
14522 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14523 bool result;
14524 PyObject * obj0 = 0 ;
14525 char *kwnames[] = {
14526 (char *) "self", NULL
14527 };
14528
14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14532 result = (bool) ((arg1)->m_rightDown);
14533
02a34c4c 14534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14535 return resultobj;
14536 fail:
14537 return NULL;
14538}
14539
14540
2f4c0a16 14541static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14542 PyObject *resultobj;
14543 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14544 bool arg2 ;
14545 PyObject * obj0 = 0 ;
14546 PyObject * obj1 = 0 ;
14547 char *kwnames[] = {
14548 (char *) "self",(char *) "m_controlDown", NULL
14549 };
14550
14551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14554 arg2 = (bool) SWIG_AsBool(obj1);
14555 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14556 if (arg1) (arg1)->m_controlDown = arg2;
14557
14558 Py_INCREF(Py_None); resultobj = Py_None;
14559 return resultobj;
14560 fail:
14561 return NULL;
14562}
14563
14564
2f4c0a16 14565static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14566 PyObject *resultobj;
14567 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14568 bool result;
14569 PyObject * obj0 = 0 ;
14570 char *kwnames[] = {
14571 (char *) "self", NULL
14572 };
14573
14574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14577 result = (bool) ((arg1)->m_controlDown);
14578
02a34c4c 14579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14580 return resultobj;
14581 fail:
14582 return NULL;
14583}
14584
14585
2f4c0a16 14586static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14587 PyObject *resultobj;
14588 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14589 bool arg2 ;
14590 PyObject * obj0 = 0 ;
14591 PyObject * obj1 = 0 ;
14592 char *kwnames[] = {
14593 (char *) "self",(char *) "m_shiftDown", NULL
14594 };
14595
14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14599 arg2 = (bool) SWIG_AsBool(obj1);
14600 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14601 if (arg1) (arg1)->m_shiftDown = arg2;
14602
14603 Py_INCREF(Py_None); resultobj = Py_None;
14604 return resultobj;
14605 fail:
14606 return NULL;
14607}
14608
14609
2f4c0a16 14610static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14611 PyObject *resultobj;
14612 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14613 bool result;
14614 PyObject * obj0 = 0 ;
14615 char *kwnames[] = {
14616 (char *) "self", NULL
14617 };
14618
14619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14622 result = (bool) ((arg1)->m_shiftDown);
14623
02a34c4c 14624 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14625 return resultobj;
14626 fail:
14627 return NULL;
14628}
14629
14630
2f4c0a16 14631static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14632 PyObject *resultobj;
14633 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14634 bool arg2 ;
14635 PyObject * obj0 = 0 ;
14636 PyObject * obj1 = 0 ;
14637 char *kwnames[] = {
14638 (char *) "self",(char *) "m_altDown", NULL
14639 };
14640
14641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14644 arg2 = (bool) SWIG_AsBool(obj1);
14645 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14646 if (arg1) (arg1)->m_altDown = arg2;
14647
14648 Py_INCREF(Py_None); resultobj = Py_None;
14649 return resultobj;
14650 fail:
14651 return NULL;
14652}
14653
14654
2f4c0a16 14655static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14656 PyObject *resultobj;
14657 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14658 bool result;
14659 PyObject * obj0 = 0 ;
14660 char *kwnames[] = {
14661 (char *) "self", NULL
14662 };
14663
14664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14667 result = (bool) ((arg1)->m_altDown);
14668
02a34c4c 14669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14670 return resultobj;
14671 fail:
14672 return NULL;
14673}
14674
14675
2f4c0a16 14676static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14677 PyObject *resultobj;
14678 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14679 bool arg2 ;
14680 PyObject * obj0 = 0 ;
14681 PyObject * obj1 = 0 ;
14682 char *kwnames[] = {
14683 (char *) "self",(char *) "m_metaDown", NULL
14684 };
14685
14686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14689 arg2 = (bool) SWIG_AsBool(obj1);
14690 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14691 if (arg1) (arg1)->m_metaDown = arg2;
14692
14693 Py_INCREF(Py_None); resultobj = Py_None;
14694 return resultobj;
14695 fail:
14696 return NULL;
14697}
14698
14699
2f4c0a16 14700static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14701 PyObject *resultobj;
14702 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14703 bool result;
14704 PyObject * obj0 = 0 ;
14705 char *kwnames[] = {
14706 (char *) "self", NULL
14707 };
14708
14709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14712 result = (bool) ((arg1)->m_metaDown);
14713
02a34c4c 14714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14715 return resultobj;
14716 fail:
14717 return NULL;
14718}
14719
14720
2f4c0a16 14721static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14722 PyObject *resultobj;
14723 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14724 int arg2 ;
14725 PyObject * obj0 = 0 ;
8edf1c75 14726 PyObject * obj1 = 0 ;
d14a1e28
RD
14727 char *kwnames[] = {
14728 (char *) "self",(char *) "m_wheelRotation", NULL
14729 };
14730
8edf1c75 14731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14734 arg2 = (int) SWIG_AsInt(obj1);
14735 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14736 if (arg1) (arg1)->m_wheelRotation = arg2;
14737
14738 Py_INCREF(Py_None); resultobj = Py_None;
14739 return resultobj;
14740 fail:
14741 return NULL;
14742}
14743
14744
2f4c0a16 14745static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14746 PyObject *resultobj;
14747 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14748 int result;
14749 PyObject * obj0 = 0 ;
14750 char *kwnames[] = {
14751 (char *) "self", NULL
14752 };
14753
14754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14757 result = (int) ((arg1)->m_wheelRotation);
14758
2f4c0a16 14759 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14760 return resultobj;
14761 fail:
14762 return NULL;
14763}
14764
14765
2f4c0a16 14766static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14767 PyObject *resultobj;
14768 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14769 int arg2 ;
14770 PyObject * obj0 = 0 ;
8edf1c75 14771 PyObject * obj1 = 0 ;
d14a1e28
RD
14772 char *kwnames[] = {
14773 (char *) "self",(char *) "m_wheelDelta", NULL
14774 };
14775
8edf1c75 14776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14779 arg2 = (int) SWIG_AsInt(obj1);
14780 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14781 if (arg1) (arg1)->m_wheelDelta = arg2;
14782
14783 Py_INCREF(Py_None); resultobj = Py_None;
14784 return resultobj;
14785 fail:
14786 return NULL;
14787}
14788
14789
2f4c0a16 14790static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14791 PyObject *resultobj;
14792 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14793 int result;
14794 PyObject * obj0 = 0 ;
14795 char *kwnames[] = {
14796 (char *) "self", NULL
14797 };
14798
14799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14802 result = (int) ((arg1)->m_wheelDelta);
14803
2f4c0a16 14804 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14805 return resultobj;
14806 fail:
14807 return NULL;
14808}
14809
14810
2f4c0a16 14811static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14812 PyObject *resultobj;
14813 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14814 int arg2 ;
14815 PyObject * obj0 = 0 ;
8edf1c75 14816 PyObject * obj1 = 0 ;
d14a1e28
RD
14817 char *kwnames[] = {
14818 (char *) "self",(char *) "m_linesPerAction", NULL
14819 };
14820
8edf1c75 14821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14824 arg2 = (int) SWIG_AsInt(obj1);
14825 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14826 if (arg1) (arg1)->m_linesPerAction = arg2;
14827
14828 Py_INCREF(Py_None); resultobj = Py_None;
14829 return resultobj;
14830 fail:
14831 return NULL;
14832}
14833
14834
2f4c0a16 14835static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14836 PyObject *resultobj;
14837 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14838 int result;
14839 PyObject * obj0 = 0 ;
14840 char *kwnames[] = {
14841 (char *) "self", NULL
14842 };
14843
14844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14847 result = (int) ((arg1)->m_linesPerAction);
14848
2f4c0a16 14849 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14850 return resultobj;
14851 fail:
14852 return NULL;
14853}
14854
14855
2f4c0a16 14856static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
14857 PyObject *obj;
14858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14859 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
14860 Py_INCREF(obj);
14861 return Py_BuildValue((char *)"");
14862}
2f4c0a16 14863static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 14864 PyObject *resultobj;
423f194a
RD
14865 int arg1 = (int) 0 ;
14866 int arg2 = (int) 0 ;
d14a1e28 14867 wxSetCursorEvent *result;
8edf1c75
RD
14868 PyObject * obj0 = 0 ;
14869 PyObject * obj1 = 0 ;
d14a1e28
RD
14870 char *kwnames[] = {
14871 (char *) "x",(char *) "y", NULL
14872 };
14873
8edf1c75
RD
14874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
14875 if (obj0) {
2f4c0a16
RD
14876 arg1 = (int) SWIG_AsInt(obj0);
14877 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14878 }
14879 if (obj1) {
2f4c0a16
RD
14880 arg2 = (int) SWIG_AsInt(obj1);
14881 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14882 }
d14a1e28
RD
14883 {
14884 PyThreadState* __tstate = wxPyBeginAllowThreads();
14885 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
14886
14887 wxPyEndAllowThreads(__tstate);
14888 if (PyErr_Occurred()) SWIG_fail;
14889 }
2f4c0a16 14890 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
14891 return resultobj;
14892 fail:
14893 return NULL;
14894}
14895
14896
2f4c0a16 14897static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14898 PyObject *resultobj;
14899 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
423f194a 14900 int result;
d14a1e28
RD
14901 PyObject * obj0 = 0 ;
14902 char *kwnames[] = {
14903 (char *) "self", NULL
14904 };
14905
14906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
14908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14909 {
14910 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14911 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
14912
14913 wxPyEndAllowThreads(__tstate);
14914 if (PyErr_Occurred()) SWIG_fail;
14915 }
2f4c0a16 14916 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14917 return resultobj;
14918 fail:
14919 return NULL;
14920}
14921
14922
2f4c0a16 14923static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14924 PyObject *resultobj;
14925 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
423f194a 14926 int result;
d14a1e28
RD
14927 PyObject * obj0 = 0 ;
14928 char *kwnames[] = {
14929 (char *) "self", NULL
14930 };
14931
14932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
14934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14937 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
2f4c0a16 14942 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14943 return resultobj;
14944 fail:
14945 return NULL;
14946}
14947
14948
2f4c0a16 14949static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14950 PyObject *resultobj;
14951 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
14952 wxCursor *arg2 = 0 ;
14953 PyObject * obj0 = 0 ;
14954 PyObject * obj1 = 0 ;
14955 char *kwnames[] = {
14956 (char *) "self",(char *) "cursor", NULL
14957 };
14958
14959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
14961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
14963 SWIG_POINTER_EXCEPTION | 0)) == -1)
14964 SWIG_fail;
d14a1e28 14965 if (arg2 == NULL) {
2f4c0a16
RD
14966 PyErr_SetString(PyExc_TypeError,"null reference");
14967 SWIG_fail;
d14a1e28
RD
14968 }
14969 {
14970 PyThreadState* __tstate = wxPyBeginAllowThreads();
14971 (arg1)->SetCursor((wxCursor const &)*arg2);
14972
14973 wxPyEndAllowThreads(__tstate);
14974 if (PyErr_Occurred()) SWIG_fail;
14975 }
14976 Py_INCREF(Py_None); resultobj = Py_None;
14977 return resultobj;
14978 fail:
14979 return NULL;
14980}
14981
14982
2f4c0a16 14983static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14984 PyObject *resultobj;
14985 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
14986 wxCursor *result;
14987 PyObject * obj0 = 0 ;
14988 char *kwnames[] = {
14989 (char *) "self", NULL
14990 };
14991
14992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
14994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 {
14998 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
14999 result = (wxCursor *) &_result_ref;
15000 }
15001
15002 wxPyEndAllowThreads(__tstate);
15003 if (PyErr_Occurred()) SWIG_fail;
15004 }
ce7284bd
RD
15005 {
15006 wxCursor* resultptr = new wxCursor(*result);
15007 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15008 }
d14a1e28
RD
15009 return resultobj;
15010 fail:
15011 return NULL;
15012}
15013
15014
2f4c0a16 15015static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15016 PyObject *resultobj;
15017 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15018 bool result;
15019 PyObject * obj0 = 0 ;
15020 char *kwnames[] = {
15021 (char *) "self", NULL
15022 };
15023
15024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15027 {
15028 PyThreadState* __tstate = wxPyBeginAllowThreads();
15029 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15030
15031 wxPyEndAllowThreads(__tstate);
15032 if (PyErr_Occurred()) SWIG_fail;
15033 }
02a34c4c 15034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15035 return resultobj;
15036 fail:
15037 return NULL;
15038}
15039
15040
2f4c0a16 15041static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15042 PyObject *obj;
15043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15044 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15045 Py_INCREF(obj);
15046 return Py_BuildValue((char *)"");
15047}
2f4c0a16 15048static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15049 PyObject *resultobj;
15050 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15051 wxKeyEvent *result;
8edf1c75 15052 PyObject * obj0 = 0 ;
d14a1e28
RD
15053 char *kwnames[] = {
15054 (char *) "keyType", NULL
15055 };
15056
8edf1c75
RD
15057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15058 if (obj0) {
2f4c0a16
RD
15059 arg1 = (wxEventType) SWIG_AsInt(obj0);
15060 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15061 }
d14a1e28
RD
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15065
15066 wxPyEndAllowThreads(__tstate);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
2f4c0a16 15069 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
15070 return resultobj;
15071 fail:
15072 return NULL;
15073}
15074
15075
2f4c0a16 15076static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15077 PyObject *resultobj;
15078 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15079 bool result;
15080 PyObject * obj0 = 0 ;
15081 char *kwnames[] = {
15082 (char *) "self", NULL
15083 };
15084
15085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15088 {
15089 PyThreadState* __tstate = wxPyBeginAllowThreads();
15090 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15091
15092 wxPyEndAllowThreads(__tstate);
15093 if (PyErr_Occurred()) SWIG_fail;
15094 }
02a34c4c 15095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15096 return resultobj;
15097 fail:
15098 return NULL;
15099}
15100
15101
2f4c0a16 15102static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15103 PyObject *resultobj;
15104 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15105 bool result;
15106 PyObject * obj0 = 0 ;
15107 char *kwnames[] = {
15108 (char *) "self", NULL
15109 };
15110
15111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15114 {
15115 PyThreadState* __tstate = wxPyBeginAllowThreads();
15116 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15117
15118 wxPyEndAllowThreads(__tstate);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
02a34c4c 15121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15122 return resultobj;
15123 fail:
15124 return NULL;
15125}
15126
15127
2f4c0a16 15128static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15129 PyObject *resultobj;
15130 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15131 bool result;
15132 PyObject * obj0 = 0 ;
15133 char *kwnames[] = {
15134 (char *) "self", NULL
15135 };
15136
15137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15140 {
15141 PyThreadState* __tstate = wxPyBeginAllowThreads();
15142 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15143
15144 wxPyEndAllowThreads(__tstate);
15145 if (PyErr_Occurred()) SWIG_fail;
15146 }
02a34c4c 15147 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15148 return resultobj;
15149 fail:
15150 return NULL;
15151}
15152
15153
2f4c0a16 15154static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15155 PyObject *resultobj;
15156 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15157 bool result;
15158 PyObject * obj0 = 0 ;
15159 char *kwnames[] = {
15160 (char *) "self", NULL
15161 };
15162
15163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15166 {
15167 PyThreadState* __tstate = wxPyBeginAllowThreads();
15168 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15169
15170 wxPyEndAllowThreads(__tstate);
15171 if (PyErr_Occurred()) SWIG_fail;
15172 }
02a34c4c 15173 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15174 return resultobj;
15175 fail:
15176 return NULL;
15177}
15178
15179
2f4c0a16 15180static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15181 PyObject *resultobj;
15182 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15183 bool result;
15184 PyObject * obj0 = 0 ;
15185 char *kwnames[] = {
15186 (char *) "self", NULL
15187 };
15188
15189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15192 {
15193 PyThreadState* __tstate = wxPyBeginAllowThreads();
15194 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15195
15196 wxPyEndAllowThreads(__tstate);
15197 if (PyErr_Occurred()) SWIG_fail;
15198 }
02a34c4c 15199 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15200 return resultobj;
15201 fail:
15202 return NULL;
15203}
15204
15205
2f4c0a16 15206static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15207 PyObject *resultobj;
15208 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15209 int result;
15210 PyObject * obj0 = 0 ;
15211 char *kwnames[] = {
15212 (char *) "self", NULL
15213 };
15214
15215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15218 {
15219 PyThreadState* __tstate = wxPyBeginAllowThreads();
15220 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15221
15222 wxPyEndAllowThreads(__tstate);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 }
2f4c0a16 15225 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15226 return resultobj;
15227 fail:
15228 return NULL;
15229}
15230
15231
2f4c0a16 15232static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15233 PyObject *resultobj;
15234 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15235 int result;
15236 PyObject * obj0 = 0 ;
15237 char *kwnames[] = {
15238 (char *) "self", NULL
15239 };
15240
15241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15242 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15243 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15244 {
15245 PyThreadState* __tstate = wxPyBeginAllowThreads();
15246 result = (int)wxKeyEvent_GetUniChar(arg1);
15247
15248 wxPyEndAllowThreads(__tstate);
15249 if (PyErr_Occurred()) SWIG_fail;
15250 }
2f4c0a16 15251 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15252 return resultobj;
15253 fail:
15254 return NULL;
15255}
15256
15257
2f4c0a16 15258static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15259 PyObject *resultobj;
15260 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15261 unsigned int result;
d14a1e28
RD
15262 PyObject * obj0 = 0 ;
15263 char *kwnames[] = {
15264 (char *) "self", NULL
15265 };
15266
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15270 {
15271 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15272 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
15273
15274 wxPyEndAllowThreads(__tstate);
15275 if (PyErr_Occurred()) SWIG_fail;
15276 }
2f4c0a16 15277 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15278 return resultobj;
15279 fail:
15280 return NULL;
15281}
15282
15283
2f4c0a16 15284static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15285 PyObject *resultobj;
15286 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15287 unsigned int result;
d14a1e28
RD
15288 PyObject * obj0 = 0 ;
15289 char *kwnames[] = {
15290 (char *) "self", NULL
15291 };
15292
15293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15296 {
15297 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15298 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
15299
15300 wxPyEndAllowThreads(__tstate);
15301 if (PyErr_Occurred()) SWIG_fail;
15302 }
2f4c0a16 15303 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15304 return resultobj;
15305 fail:
15306 return NULL;
15307}
15308
15309
2f4c0a16 15310static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15311 PyObject *resultobj;
15312 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15313 wxPoint result;
15314 PyObject * obj0 = 0 ;
15315 char *kwnames[] = {
15316 (char *) "self", NULL
15317 };
15318
15319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 result = (arg1)->GetPosition();
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 {
15330 wxPoint * resultptr;
15331 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 15332 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
15333 }
15334 return resultobj;
15335 fail:
15336 return NULL;
15337}
15338
15339
2f4c0a16 15340static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15341 PyObject *resultobj;
15342 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15343 long *arg2 = (long *) 0 ;
15344 long *arg3 = (long *) 0 ;
15345 long temp2 ;
15346 long temp3 ;
15347 PyObject * obj0 = 0 ;
15348 char *kwnames[] = {
15349 (char *) "self", NULL
15350 };
15351
15352 arg2 = &temp2;
15353 arg3 = &temp3;
15354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15357 {
15358 PyThreadState* __tstate = wxPyBeginAllowThreads();
15359 (arg1)->GetPosition(arg2,arg3);
15360
15361 wxPyEndAllowThreads(__tstate);
15362 if (PyErr_Occurred()) SWIG_fail;
15363 }
15364 Py_INCREF(Py_None); resultobj = Py_None;
15365 {
15366 PyObject *o = PyInt_FromLong((long) (*arg2));
15367 resultobj = t_output_helper(resultobj,o);
15368 }
15369 {
15370 PyObject *o = PyInt_FromLong((long) (*arg3));
15371 resultobj = t_output_helper(resultobj,o);
15372 }
15373 return resultobj;
15374 fail:
15375 return NULL;
15376}
15377
15378
2f4c0a16 15379static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15380 PyObject *resultobj;
15381 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15382 int result;
d14a1e28
RD
15383 PyObject * obj0 = 0 ;
15384 char *kwnames[] = {
15385 (char *) "self", NULL
15386 };
15387
15388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15391 {
15392 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15393 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
15394
15395 wxPyEndAllowThreads(__tstate);
15396 if (PyErr_Occurred()) SWIG_fail;
15397 }
2f4c0a16 15398 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15399 return resultobj;
15400 fail:
15401 return NULL;
15402}
15403
15404
2f4c0a16 15405static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15406 PyObject *resultobj;
15407 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15408 int result;
d14a1e28
RD
15409 PyObject * obj0 = 0 ;
15410 char *kwnames[] = {
15411 (char *) "self", NULL
15412 };
15413
15414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15417 {
15418 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15419 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
15420
15421 wxPyEndAllowThreads(__tstate);
15422 if (PyErr_Occurred()) SWIG_fail;
15423 }
2f4c0a16 15424 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15425 return resultobj;
15426 fail:
15427 return NULL;
15428}
15429
15430
2f4c0a16 15431static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15432 PyObject *resultobj;
15433 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15434 int arg2 ;
d14a1e28 15435 PyObject * obj0 = 0 ;
8edf1c75 15436 PyObject * obj1 = 0 ;
d14a1e28
RD
15437 char *kwnames[] = {
15438 (char *) "self",(char *) "m_x", NULL
15439 };
15440
8edf1c75 15441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15444 arg2 = (int) SWIG_AsInt(obj1);
15445 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15446 if (arg1) (arg1)->m_x = arg2;
15447
15448 Py_INCREF(Py_None); resultobj = Py_None;
15449 return resultobj;
15450 fail:
15451 return NULL;
15452}
15453
15454
2f4c0a16 15455static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15456 PyObject *resultobj;
15457 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15458 int result;
d14a1e28
RD
15459 PyObject * obj0 = 0 ;
15460 char *kwnames[] = {
15461 (char *) "self", NULL
15462 };
15463
15464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 15467 result = (int) ((arg1)->m_x);
d14a1e28 15468
2f4c0a16 15469 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15470 return resultobj;
15471 fail:
15472 return NULL;
15473}
15474
15475
2f4c0a16 15476static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15477 PyObject *resultobj;
15478 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15479 int arg2 ;
d14a1e28 15480 PyObject * obj0 = 0 ;
8edf1c75 15481 PyObject * obj1 = 0 ;
d14a1e28
RD
15482 char *kwnames[] = {
15483 (char *) "self",(char *) "m_y", NULL
15484 };
15485
8edf1c75 15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15489 arg2 = (int) SWIG_AsInt(obj1);
15490 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15491 if (arg1) (arg1)->m_y = arg2;
15492
15493 Py_INCREF(Py_None); resultobj = Py_None;
15494 return resultobj;
15495 fail:
15496 return NULL;
15497}
15498
15499
2f4c0a16 15500static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15501 PyObject *resultobj;
15502 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15503 int result;
d14a1e28
RD
15504 PyObject * obj0 = 0 ;
15505 char *kwnames[] = {
15506 (char *) "self", NULL
15507 };
15508
15509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 15512 result = (int) ((arg1)->m_y);
d14a1e28 15513
2f4c0a16 15514 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15515 return resultobj;
15516 fail:
15517 return NULL;
15518}
15519
15520
2f4c0a16 15521static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15522 PyObject *resultobj;
15523 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15524 long arg2 ;
15525 PyObject * obj0 = 0 ;
8edf1c75 15526 PyObject * obj1 = 0 ;
d14a1e28
RD
15527 char *kwnames[] = {
15528 (char *) "self",(char *) "m_keyCode", NULL
15529 };
15530
8edf1c75 15531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15534 arg2 = (long) SWIG_AsLong(obj1);
15535 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15536 if (arg1) (arg1)->m_keyCode = arg2;
15537
15538 Py_INCREF(Py_None); resultobj = Py_None;
15539 return resultobj;
15540 fail:
15541 return NULL;
15542}
15543
15544
2f4c0a16 15545static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15546 PyObject *resultobj;
15547 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15548 long result;
15549 PyObject * obj0 = 0 ;
15550 char *kwnames[] = {
15551 (char *) "self", NULL
15552 };
15553
15554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15557 result = (long) ((arg1)->m_keyCode);
15558
2f4c0a16 15559 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15560 return resultobj;
15561 fail:
15562 return NULL;
15563}
15564
15565
2f4c0a16 15566static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15567 PyObject *resultobj;
15568 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15569 bool arg2 ;
15570 PyObject * obj0 = 0 ;
15571 PyObject * obj1 = 0 ;
15572 char *kwnames[] = {
15573 (char *) "self",(char *) "m_controlDown", NULL
15574 };
15575
15576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15579 arg2 = (bool) SWIG_AsBool(obj1);
15580 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15581 if (arg1) (arg1)->m_controlDown = arg2;
15582
15583 Py_INCREF(Py_None); resultobj = Py_None;
15584 return resultobj;
15585 fail:
15586 return NULL;
15587}
15588
15589
2f4c0a16 15590static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15591 PyObject *resultobj;
15592 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15593 bool result;
15594 PyObject * obj0 = 0 ;
15595 char *kwnames[] = {
15596 (char *) "self", NULL
15597 };
15598
15599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15602 result = (bool) ((arg1)->m_controlDown);
15603
02a34c4c 15604 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15605 return resultobj;
15606 fail:
15607 return NULL;
15608}
15609
15610
2f4c0a16 15611static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15612 PyObject *resultobj;
15613 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15614 bool arg2 ;
15615 PyObject * obj0 = 0 ;
15616 PyObject * obj1 = 0 ;
15617 char *kwnames[] = {
15618 (char *) "self",(char *) "m_shiftDown", NULL
15619 };
15620
15621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15624 arg2 = (bool) SWIG_AsBool(obj1);
15625 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15626 if (arg1) (arg1)->m_shiftDown = arg2;
15627
15628 Py_INCREF(Py_None); resultobj = Py_None;
15629 return resultobj;
15630 fail:
15631 return NULL;
15632}
15633
15634
2f4c0a16 15635static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15636 PyObject *resultobj;
15637 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15638 bool result;
15639 PyObject * obj0 = 0 ;
15640 char *kwnames[] = {
15641 (char *) "self", NULL
15642 };
15643
15644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15647 result = (bool) ((arg1)->m_shiftDown);
15648
02a34c4c 15649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15650 return resultobj;
15651 fail:
15652 return NULL;
15653}
15654
15655
2f4c0a16 15656static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15657 PyObject *resultobj;
15658 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15659 bool arg2 ;
15660 PyObject * obj0 = 0 ;
15661 PyObject * obj1 = 0 ;
15662 char *kwnames[] = {
15663 (char *) "self",(char *) "m_altDown", NULL
15664 };
15665
15666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15669 arg2 = (bool) SWIG_AsBool(obj1);
15670 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15671 if (arg1) (arg1)->m_altDown = arg2;
15672
15673 Py_INCREF(Py_None); resultobj = Py_None;
15674 return resultobj;
15675 fail:
15676 return NULL;
15677}
15678
15679
2f4c0a16 15680static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15681 PyObject *resultobj;
15682 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15683 bool result;
15684 PyObject * obj0 = 0 ;
15685 char *kwnames[] = {
15686 (char *) "self", NULL
15687 };
15688
15689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15692 result = (bool) ((arg1)->m_altDown);
15693
02a34c4c 15694 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15695 return resultobj;
15696 fail:
15697 return NULL;
15698}
15699
15700
2f4c0a16 15701static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15702 PyObject *resultobj;
15703 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15704 bool arg2 ;
15705 PyObject * obj0 = 0 ;
15706 PyObject * obj1 = 0 ;
15707 char *kwnames[] = {
15708 (char *) "self",(char *) "m_metaDown", NULL
15709 };
15710
15711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15714 arg2 = (bool) SWIG_AsBool(obj1);
15715 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15716 if (arg1) (arg1)->m_metaDown = arg2;
15717
15718 Py_INCREF(Py_None); resultobj = Py_None;
15719 return resultobj;
15720 fail:
15721 return NULL;
15722}
15723
15724
2f4c0a16 15725static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15726 PyObject *resultobj;
15727 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15728 bool result;
15729 PyObject * obj0 = 0 ;
15730 char *kwnames[] = {
15731 (char *) "self", NULL
15732 };
15733
15734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15737 result = (bool) ((arg1)->m_metaDown);
15738
02a34c4c 15739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15740 return resultobj;
15741 fail:
15742 return NULL;
15743}
15744
15745
2f4c0a16 15746static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15747 PyObject *resultobj;
15748 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15749 bool arg2 ;
15750 PyObject * obj0 = 0 ;
15751 PyObject * obj1 = 0 ;
15752 char *kwnames[] = {
15753 (char *) "self",(char *) "m_scanCode", NULL
15754 };
15755
15756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15759 arg2 = (bool) SWIG_AsBool(obj1);
15760 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15761 if (arg1) (arg1)->m_scanCode = arg2;
15762
15763 Py_INCREF(Py_None); resultobj = Py_None;
15764 return resultobj;
15765 fail:
15766 return NULL;
15767}
15768
15769
2f4c0a16 15770static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15771 PyObject *resultobj;
15772 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15773 bool result;
15774 PyObject * obj0 = 0 ;
15775 char *kwnames[] = {
15776 (char *) "self", NULL
15777 };
15778
15779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15782 result = (bool) ((arg1)->m_scanCode);
15783
02a34c4c 15784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15785 return resultobj;
15786 fail:
15787 return NULL;
15788}
15789
15790
2f4c0a16 15791static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15792 PyObject *resultobj;
15793 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15794 unsigned int arg2 ;
d14a1e28
RD
15795 PyObject * obj0 = 0 ;
15796 PyObject * obj1 = 0 ;
15797 char *kwnames[] = {
15798 (char *) "self",(char *) "m_rawCode", NULL
15799 };
15800
15801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15804 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
15805 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15806 if (arg1) (arg1)->m_rawCode = arg2;
15807
15808 Py_INCREF(Py_None); resultobj = Py_None;
15809 return resultobj;
15810 fail:
15811 return NULL;
15812}
15813
15814
2f4c0a16 15815static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15816 PyObject *resultobj;
15817 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15818 unsigned int result;
d14a1e28
RD
15819 PyObject * obj0 = 0 ;
15820 char *kwnames[] = {
15821 (char *) "self", NULL
15822 };
15823
15824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 15827 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 15828
2f4c0a16 15829 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15830 return resultobj;
15831 fail:
15832 return NULL;
15833}
15834
15835
2f4c0a16 15836static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15837 PyObject *resultobj;
15838 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15839 unsigned int arg2 ;
d14a1e28
RD
15840 PyObject * obj0 = 0 ;
15841 PyObject * obj1 = 0 ;
15842 char *kwnames[] = {
15843 (char *) "self",(char *) "m_rawFlags", NULL
15844 };
15845
15846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15849 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
15850 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15851 if (arg1) (arg1)->m_rawFlags = arg2;
15852
15853 Py_INCREF(Py_None); resultobj = Py_None;
15854 return resultobj;
15855 fail:
15856 return NULL;
15857}
15858
15859
2f4c0a16 15860static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15861 PyObject *resultobj;
15862 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15863 unsigned int result;
d14a1e28
RD
15864 PyObject * obj0 = 0 ;
15865 char *kwnames[] = {
15866 (char *) "self", NULL
15867 };
15868
15869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15870 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 15872 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 15873
2f4c0a16 15874 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15875 return resultobj;
15876 fail:
15877 return NULL;
15878}
15879
15880
2f4c0a16 15881static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15882 PyObject *obj;
15883 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15884 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
15885 Py_INCREF(obj);
15886 return Py_BuildValue((char *)"");
15887}
2f4c0a16 15888static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15889 PyObject *resultobj;
15890 wxSize const &arg1_defvalue = wxDefaultSize ;
15891 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
15892 int arg2 = (int) 0 ;
15893 wxSizeEvent *result;
15894 wxSize temp1 ;
15895 PyObject * obj0 = 0 ;
8edf1c75 15896 PyObject * obj1 = 0 ;
d14a1e28
RD
15897 char *kwnames[] = {
15898 (char *) "sz",(char *) "winid", NULL
15899 };
15900
8edf1c75 15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
15902 if (obj0) {
15903 {
15904 arg1 = &temp1;
15905 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
15906 }
15907 }
8edf1c75 15908 if (obj1) {
2f4c0a16
RD
15909 arg2 = (int) SWIG_AsInt(obj1);
15910 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15911 }
d14a1e28
RD
15912 {
15913 PyThreadState* __tstate = wxPyBeginAllowThreads();
15914 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
15915
15916 wxPyEndAllowThreads(__tstate);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 }
2f4c0a16 15919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
15920 return resultobj;
15921 fail:
15922 return NULL;
15923}
15924
15925
2f4c0a16 15926static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15927 PyObject *resultobj;
15928 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15929 wxSize result;
15930 PyObject * obj0 = 0 ;
15931 char *kwnames[] = {
15932 (char *) "self", NULL
15933 };
15934
15935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
15937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 result = ((wxSizeEvent const *)arg1)->GetSize();
15941
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 {
15946 wxSize * resultptr;
15947 resultptr = new wxSize((wxSize &) result);
2f4c0a16 15948 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15949 }
15950 return resultobj;
15951 fail:
15952 return NULL;
15953}
15954
15955
2f4c0a16 15956static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15957 PyObject *resultobj;
15958 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15959 wxRect result;
15960 PyObject * obj0 = 0 ;
15961 char *kwnames[] = {
15962 (char *) "self", NULL
15963 };
15964
15965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
15967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15968 {
15969 PyThreadState* __tstate = wxPyBeginAllowThreads();
15970 result = ((wxSizeEvent const *)arg1)->GetRect();
15971
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
15975 {
15976 wxRect * resultptr;
15977 resultptr = new wxRect((wxRect &) result);
2f4c0a16 15978 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
15979 }
15980 return resultobj;
15981 fail:
15982 return NULL;
15983}
15984
15985
2f4c0a16 15986static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15987 PyObject *resultobj;
15988 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15989 wxRect arg2 ;
15990 wxRect *argp2 ;
15991 PyObject * obj0 = 0 ;
15992 PyObject * obj1 = 0 ;
15993 char *kwnames[] = {
15994 (char *) "self",(char *) "rect", NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
15999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16000 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16001 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16002 arg2 = *argp2;
d14a1e28
RD
16003 {
16004 PyThreadState* __tstate = wxPyBeginAllowThreads();
16005 (arg1)->SetRect(arg2);
16006
16007 wxPyEndAllowThreads(__tstate);
16008 if (PyErr_Occurred()) SWIG_fail;
16009 }
16010 Py_INCREF(Py_None); resultobj = Py_None;
16011 return resultobj;
16012 fail:
16013 return NULL;
16014}
16015
16016
2f4c0a16 16017static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16018 PyObject *resultobj;
16019 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16020 wxSize arg2 ;
16021 wxSize *argp2 ;
16022 PyObject * obj0 = 0 ;
16023 PyObject * obj1 = 0 ;
16024 char *kwnames[] = {
16025 (char *) "self",(char *) "size", NULL
16026 };
16027
16028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16031 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16032 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16033 arg2 = *argp2;
d14a1e28
RD
16034 {
16035 PyThreadState* __tstate = wxPyBeginAllowThreads();
16036 wxSizeEvent_SetSize(arg1,arg2);
16037
16038 wxPyEndAllowThreads(__tstate);
16039 if (PyErr_Occurred()) SWIG_fail;
16040 }
16041 Py_INCREF(Py_None); resultobj = Py_None;
16042 return resultobj;
16043 fail:
16044 return NULL;
16045}
16046
16047
2f4c0a16 16048static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16049 PyObject *resultobj;
16050 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16051 wxSize *arg2 = (wxSize *) 0 ;
16052 PyObject * obj0 = 0 ;
16053 PyObject * obj1 = 0 ;
16054 char *kwnames[] = {
16055 (char *) "self",(char *) "m_size", NULL
16056 };
16057
16058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16061 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16063 if (arg1) (arg1)->m_size = *arg2;
16064
16065 Py_INCREF(Py_None); resultobj = Py_None;
16066 return resultobj;
16067 fail:
16068 return NULL;
16069}
16070
16071
2f4c0a16 16072static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16073 PyObject *resultobj;
16074 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16075 wxSize *result;
16076 PyObject * obj0 = 0 ;
16077 char *kwnames[] = {
16078 (char *) "self", NULL
16079 };
16080
16081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16084 result = (wxSize *)& ((arg1)->m_size);
16085
2f4c0a16 16086 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
16087 return resultobj;
16088 fail:
16089 return NULL;
16090}
16091
16092
2f4c0a16 16093static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16094 PyObject *resultobj;
16095 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16096 wxRect *arg2 = (wxRect *) 0 ;
16097 PyObject * obj0 = 0 ;
16098 PyObject * obj1 = 0 ;
16099 char *kwnames[] = {
16100 (char *) "self",(char *) "m_rect", NULL
16101 };
16102
16103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16106 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16108 if (arg1) (arg1)->m_rect = *arg2;
16109
16110 Py_INCREF(Py_None); resultobj = Py_None;
16111 return resultobj;
16112 fail:
16113 return NULL;
16114}
16115
16116
2f4c0a16 16117static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16118 PyObject *resultobj;
16119 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16120 wxRect *result;
16121 PyObject * obj0 = 0 ;
16122 char *kwnames[] = {
16123 (char *) "self", NULL
16124 };
16125
16126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16129 result = (wxRect *)& ((arg1)->m_rect);
16130
2f4c0a16 16131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16132 return resultobj;
16133 fail:
16134 return NULL;
16135}
16136
16137
2f4c0a16 16138static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16139 PyObject *obj;
16140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16141 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16142 Py_INCREF(obj);
16143 return Py_BuildValue((char *)"");
16144}
2f4c0a16 16145static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16146 PyObject *resultobj;
16147 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16148 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16149 int arg2 = (int) 0 ;
16150 wxMoveEvent *result;
16151 wxPoint temp1 ;
16152 PyObject * obj0 = 0 ;
8edf1c75 16153 PyObject * obj1 = 0 ;
d14a1e28
RD
16154 char *kwnames[] = {
16155 (char *) "pos",(char *) "winid", NULL
16156 };
16157
8edf1c75 16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16159 if (obj0) {
16160 {
16161 arg1 = &temp1;
16162 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16163 }
16164 }
8edf1c75 16165 if (obj1) {
2f4c0a16
RD
16166 arg2 = (int) SWIG_AsInt(obj1);
16167 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16168 }
d14a1e28
RD
16169 {
16170 PyThreadState* __tstate = wxPyBeginAllowThreads();
16171 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16172
16173 wxPyEndAllowThreads(__tstate);
16174 if (PyErr_Occurred()) SWIG_fail;
16175 }
2f4c0a16 16176 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
16177 return resultobj;
16178 fail:
16179 return NULL;
16180}
16181
16182
2f4c0a16 16183static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16184 PyObject *resultobj;
16185 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16186 wxPoint result;
16187 PyObject * obj0 = 0 ;
16188 char *kwnames[] = {
16189 (char *) "self", NULL
16190 };
16191
16192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16195 {
16196 PyThreadState* __tstate = wxPyBeginAllowThreads();
16197 result = ((wxMoveEvent const *)arg1)->GetPosition();
16198
16199 wxPyEndAllowThreads(__tstate);
16200 if (PyErr_Occurred()) SWIG_fail;
16201 }
16202 {
16203 wxPoint * resultptr;
16204 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 16205 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16206 }
16207 return resultobj;
16208 fail:
16209 return NULL;
16210}
16211
16212
2f4c0a16 16213static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16214 PyObject *resultobj;
16215 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16216 wxRect result;
16217 PyObject * obj0 = 0 ;
16218 char *kwnames[] = {
16219 (char *) "self", NULL
16220 };
16221
16222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16225 {
16226 PyThreadState* __tstate = wxPyBeginAllowThreads();
16227 result = ((wxMoveEvent const *)arg1)->GetRect();
16228
16229 wxPyEndAllowThreads(__tstate);
16230 if (PyErr_Occurred()) SWIG_fail;
16231 }
16232 {
16233 wxRect * resultptr;
16234 resultptr = new wxRect((wxRect &) result);
2f4c0a16 16235 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16236 }
16237 return resultobj;
16238 fail:
16239 return NULL;
16240}
16241
16242
2f4c0a16 16243static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16244 PyObject *resultobj;
16245 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16246 wxRect arg2 ;
16247 wxRect *argp2 ;
16248 PyObject * obj0 = 0 ;
16249 PyObject * obj1 = 0 ;
16250 char *kwnames[] = {
16251 (char *) "self",(char *) "rect", NULL
16252 };
16253
16254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16257 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16258 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16259 arg2 = *argp2;
d14a1e28
RD
16260 {
16261 PyThreadState* __tstate = wxPyBeginAllowThreads();
16262 (arg1)->SetRect(arg2);
16263
16264 wxPyEndAllowThreads(__tstate);
16265 if (PyErr_Occurred()) SWIG_fail;
16266 }
16267 Py_INCREF(Py_None); resultobj = Py_None;
16268 return resultobj;
16269 fail:
16270 return NULL;
16271}
16272
16273
2f4c0a16 16274static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16275 PyObject *resultobj;
16276 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16277 wxPoint arg2 ;
16278 wxPoint *argp2 ;
16279 PyObject * obj0 = 0 ;
16280 PyObject * obj1 = 0 ;
16281 char *kwnames[] = {
16282 (char *) "self",(char *) "pos", NULL
16283 };
16284
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16288 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16289 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16290 arg2 = *argp2;
d14a1e28
RD
16291 {
16292 PyThreadState* __tstate = wxPyBeginAllowThreads();
16293 wxMoveEvent_SetPosition(arg1,arg2);
16294
16295 wxPyEndAllowThreads(__tstate);
16296 if (PyErr_Occurred()) SWIG_fail;
16297 }
16298 Py_INCREF(Py_None); resultobj = Py_None;
16299 return resultobj;
16300 fail:
16301 return NULL;
16302}
16303
16304
2f4c0a16 16305static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16306 PyObject *resultobj;
16307 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16308 wxPoint *arg2 = (wxPoint *) 0 ;
16309 PyObject * obj0 = 0 ;
16310 PyObject * obj1 = 0 ;
16311 char *kwnames[] = {
16312 (char *) "self",(char *) "m_pos", NULL
16313 };
16314
16315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16318 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16320 if (arg1) (arg1)->m_pos = *arg2;
16321
16322 Py_INCREF(Py_None); resultobj = Py_None;
16323 return resultobj;
16324 fail:
16325 return NULL;
16326}
16327
16328
2f4c0a16 16329static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16330 PyObject *resultobj;
16331 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16332 wxPoint *result;
16333 PyObject * obj0 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "self", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16341 result = (wxPoint *)& ((arg1)->m_pos);
16342
2f4c0a16 16343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
16344 return resultobj;
16345 fail:
16346 return NULL;
16347}
16348
16349
2f4c0a16 16350static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16351 PyObject *resultobj;
16352 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16353 wxRect *arg2 = (wxRect *) 0 ;
16354 PyObject * obj0 = 0 ;
16355 PyObject * obj1 = 0 ;
16356 char *kwnames[] = {
16357 (char *) "self",(char *) "m_rect", NULL
16358 };
16359
16360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16363 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16365 if (arg1) (arg1)->m_rect = *arg2;
16366
16367 Py_INCREF(Py_None); resultobj = Py_None;
16368 return resultobj;
16369 fail:
16370 return NULL;
16371}
16372
16373
2f4c0a16 16374static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16375 PyObject *resultobj;
16376 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16377 wxRect *result;
16378 PyObject * obj0 = 0 ;
16379 char *kwnames[] = {
16380 (char *) "self", NULL
16381 };
16382
16383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16386 result = (wxRect *)& ((arg1)->m_rect);
16387
2f4c0a16 16388 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16389 return resultobj;
16390 fail:
16391 return NULL;
16392}
16393
16394
2f4c0a16 16395static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16396 PyObject *obj;
16397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16398 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16399 Py_INCREF(obj);
16400 return Py_BuildValue((char *)"");
16401}
2f4c0a16 16402static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16403 PyObject *resultobj;
16404 int arg1 = (int) 0 ;
16405 wxPaintEvent *result;
8edf1c75 16406 PyObject * obj0 = 0 ;
d14a1e28
RD
16407 char *kwnames[] = {
16408 (char *) "Id", NULL
16409 };
16410
8edf1c75
RD
16411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16412 if (obj0) {
2f4c0a16
RD
16413 arg1 = (int) SWIG_AsInt(obj0);
16414 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16415 }
d14a1e28
RD
16416 {
16417 PyThreadState* __tstate = wxPyBeginAllowThreads();
16418 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16419
16420 wxPyEndAllowThreads(__tstate);
16421 if (PyErr_Occurred()) SWIG_fail;
16422 }
2f4c0a16 16423 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
16424 return resultobj;
16425 fail:
16426 return NULL;
16427}
16428
16429
2f4c0a16 16430static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16431 PyObject *obj;
16432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16433 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16434 Py_INCREF(obj);
16435 return Py_BuildValue((char *)"");
16436}
2f4c0a16 16437static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16438 PyObject *resultobj;
16439 int arg1 = (int) 0 ;
16440 wxNcPaintEvent *result;
8edf1c75 16441 PyObject * obj0 = 0 ;
d14a1e28
RD
16442 char *kwnames[] = {
16443 (char *) "winid", NULL
16444 };
16445
8edf1c75
RD
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16447 if (obj0) {
2f4c0a16
RD
16448 arg1 = (int) SWIG_AsInt(obj0);
16449 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16450 }
d14a1e28
RD
16451 {
16452 PyThreadState* __tstate = wxPyBeginAllowThreads();
16453 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16454
16455 wxPyEndAllowThreads(__tstate);
16456 if (PyErr_Occurred()) SWIG_fail;
16457 }
2f4c0a16 16458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
16459 return resultobj;
16460 fail:
16461 return NULL;
16462}
16463
16464
2f4c0a16 16465static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16466 PyObject *obj;
16467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16468 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16469 Py_INCREF(obj);
16470 return Py_BuildValue((char *)"");
16471}
2f4c0a16 16472static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16473 PyObject *resultobj;
16474 int arg1 = (int) 0 ;
16475 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16476 wxEraseEvent *result;
8edf1c75 16477 PyObject * obj0 = 0 ;
d14a1e28
RD
16478 PyObject * obj1 = 0 ;
16479 char *kwnames[] = {
16480 (char *) "Id",(char *) "dc", NULL
16481 };
16482
8edf1c75
RD
16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16484 if (obj0) {
2f4c0a16
RD
16485 arg1 = (int) SWIG_AsInt(obj0);
16486 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16487 }
d14a1e28 16488 if (obj1) {
2f4c0a16
RD
16489 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16491 }
16492 {
16493 PyThreadState* __tstate = wxPyBeginAllowThreads();
16494 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16495
16496 wxPyEndAllowThreads(__tstate);
16497 if (PyErr_Occurred()) SWIG_fail;
16498 }
2f4c0a16 16499 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
16500 return resultobj;
16501 fail:
16502 return NULL;
16503}
16504
16505
2f4c0a16 16506static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16507 PyObject *resultobj;
16508 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16509 wxDC *result;
16510 PyObject * obj0 = 0 ;
16511 char *kwnames[] = {
16512 (char *) "self", NULL
16513 };
16514
16515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16518 {
16519 PyThreadState* __tstate = wxPyBeginAllowThreads();
16520 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16521
16522 wxPyEndAllowThreads(__tstate);
16523 if (PyErr_Occurred()) SWIG_fail;
16524 }
16525 {
16526 resultobj = wxPyMake_wxObject(result);
16527 }
16528 return resultobj;
16529 fail:
16530 return NULL;
16531}
16532
16533
2f4c0a16 16534static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16535 PyObject *obj;
16536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16537 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16538 Py_INCREF(obj);
16539 return Py_BuildValue((char *)"");
16540}
2f4c0a16 16541static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16542 PyObject *resultobj;
16543 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16544 int arg2 = (int) 0 ;
16545 wxFocusEvent *result;
8edf1c75
RD
16546 PyObject * obj0 = 0 ;
16547 PyObject * obj1 = 0 ;
d14a1e28
RD
16548 char *kwnames[] = {
16549 (char *) "type",(char *) "winid", NULL
16550 };
16551
8edf1c75
RD
16552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16553 if (obj0) {
2f4c0a16
RD
16554 arg1 = (wxEventType) SWIG_AsInt(obj0);
16555 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16556 }
16557 if (obj1) {
2f4c0a16
RD
16558 arg2 = (int) SWIG_AsInt(obj1);
16559 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16560 }
d14a1e28
RD
16561 {
16562 PyThreadState* __tstate = wxPyBeginAllowThreads();
16563 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16564
16565 wxPyEndAllowThreads(__tstate);
16566 if (PyErr_Occurred()) SWIG_fail;
16567 }
2f4c0a16 16568 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
16569 return resultobj;
16570 fail:
16571 return NULL;
16572}
16573
16574
2f4c0a16 16575static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16576 PyObject *resultobj;
16577 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16578 wxWindow *result;
16579 PyObject * obj0 = 0 ;
16580 char *kwnames[] = {
16581 (char *) "self", NULL
16582 };
16583
16584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16587 {
16588 PyThreadState* __tstate = wxPyBeginAllowThreads();
16589 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16590
16591 wxPyEndAllowThreads(__tstate);
16592 if (PyErr_Occurred()) SWIG_fail;
16593 }
16594 {
16595 resultobj = wxPyMake_wxObject(result);
16596 }
16597 return resultobj;
16598 fail:
16599 return NULL;
16600}
16601
16602
2f4c0a16 16603static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16604 PyObject *resultobj;
16605 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16606 wxWindow *arg2 = (wxWindow *) 0 ;
16607 PyObject * obj0 = 0 ;
16608 PyObject * obj1 = 0 ;
16609 char *kwnames[] = {
16610 (char *) "self",(char *) "win", NULL
16611 };
16612
16613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16616 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16618 {
16619 PyThreadState* __tstate = wxPyBeginAllowThreads();
16620 (arg1)->SetWindow(arg2);
16621
16622 wxPyEndAllowThreads(__tstate);
16623 if (PyErr_Occurred()) SWIG_fail;
16624 }
16625 Py_INCREF(Py_None); resultobj = Py_None;
16626 return resultobj;
16627 fail:
16628 return NULL;
16629}
16630
16631
2f4c0a16 16632static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16633 PyObject *obj;
16634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16635 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
16636 Py_INCREF(obj);
16637 return Py_BuildValue((char *)"");
16638}
2f4c0a16 16639static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16640 PyObject *resultobj;
16641 wxWindow *arg1 = (wxWindow *) NULL ;
16642 wxChildFocusEvent *result;
16643 PyObject * obj0 = 0 ;
16644 char *kwnames[] = {
16645 (char *) "win", NULL
16646 };
16647
16648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
16649 if (obj0) {
2f4c0a16
RD
16650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16652 }
16653 {
16654 PyThreadState* __tstate = wxPyBeginAllowThreads();
16655 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
16656
16657 wxPyEndAllowThreads(__tstate);
16658 if (PyErr_Occurred()) SWIG_fail;
16659 }
2f4c0a16 16660 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
16661 return resultobj;
16662 fail:
16663 return NULL;
16664}
16665
16666
2f4c0a16 16667static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16668 PyObject *resultobj;
16669 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
16670 wxWindow *result;
16671 PyObject * obj0 = 0 ;
16672 char *kwnames[] = {
16673 (char *) "self", NULL
16674 };
16675
16676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
16678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 {
16687 resultobj = wxPyMake_wxObject(result);
16688 }
16689 return resultobj;
16690 fail:
16691 return NULL;
16692}
16693
16694
2f4c0a16 16695static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16696 PyObject *obj;
16697 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16698 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
16699 Py_INCREF(obj);
16700 return Py_BuildValue((char *)"");
16701}
2f4c0a16 16702static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16703 PyObject *resultobj;
16704 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 16705 bool arg2 = (bool) True ;
d14a1e28
RD
16706 int arg3 = (int) 0 ;
16707 wxActivateEvent *result;
8edf1c75 16708 PyObject * obj0 = 0 ;
d14a1e28 16709 PyObject * obj1 = 0 ;
8edf1c75 16710 PyObject * obj2 = 0 ;
d14a1e28
RD
16711 char *kwnames[] = {
16712 (char *) "type",(char *) "active",(char *) "Id", NULL
16713 };
16714
8edf1c75
RD
16715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
16716 if (obj0) {
2f4c0a16
RD
16717 arg1 = (wxEventType) SWIG_AsInt(obj0);
16718 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16719 }
d14a1e28 16720 if (obj1) {
2f4c0a16
RD
16721 arg2 = (bool) SWIG_AsBool(obj1);
16722 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16723 }
16724 if (obj2) {
2f4c0a16
RD
16725 arg3 = (int) SWIG_AsInt(obj2);
16726 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16727 }
16728 {
16729 PyThreadState* __tstate = wxPyBeginAllowThreads();
16730 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
16731
16732 wxPyEndAllowThreads(__tstate);
16733 if (PyErr_Occurred()) SWIG_fail;
16734 }
2f4c0a16 16735 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
16736 return resultobj;
16737 fail:
16738 return NULL;
16739}
16740
16741
2f4c0a16 16742static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16743 PyObject *resultobj;
16744 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
16745 bool result;
16746 PyObject * obj0 = 0 ;
16747 char *kwnames[] = {
16748 (char *) "self", NULL
16749 };
16750
16751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
16753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16754 {
16755 PyThreadState* __tstate = wxPyBeginAllowThreads();
16756 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
16757
16758 wxPyEndAllowThreads(__tstate);
16759 if (PyErr_Occurred()) SWIG_fail;
16760 }
02a34c4c 16761 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16762 return resultobj;
16763 fail:
16764 return NULL;
16765}
16766
16767
2f4c0a16 16768static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16769 PyObject *obj;
16770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16771 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
16772 Py_INCREF(obj);
16773 return Py_BuildValue((char *)"");
16774}
2f4c0a16 16775static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16776 PyObject *resultobj;
16777 int arg1 = (int) 0 ;
16778 wxInitDialogEvent *result;
8edf1c75 16779 PyObject * obj0 = 0 ;
d14a1e28
RD
16780 char *kwnames[] = {
16781 (char *) "Id", NULL
16782 };
16783
8edf1c75
RD
16784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
16785 if (obj0) {
2f4c0a16
RD
16786 arg1 = (int) SWIG_AsInt(obj0);
16787 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16788 }
d14a1e28
RD
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
16792
16793 wxPyEndAllowThreads(__tstate);
16794 if (PyErr_Occurred()) SWIG_fail;
16795 }
2f4c0a16 16796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
16797 return resultobj;
16798 fail:
16799 return NULL;
16800}
16801
16802
2f4c0a16 16803static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16804 PyObject *obj;
16805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16806 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
16807 Py_INCREF(obj);
16808 return Py_BuildValue((char *)"");
16809}
2f4c0a16 16810static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16811 PyObject *resultobj;
16812 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16813 int arg2 = (int) 0 ;
16814 wxMenu *arg3 = (wxMenu *) NULL ;
16815 wxMenuEvent *result;
8edf1c75
RD
16816 PyObject * obj0 = 0 ;
16817 PyObject * obj1 = 0 ;
d14a1e28
RD
16818 PyObject * obj2 = 0 ;
16819 char *kwnames[] = {
16820 (char *) "type",(char *) "winid",(char *) "menu", NULL
16821 };
16822
8edf1c75
RD
16823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
16824 if (obj0) {
2f4c0a16
RD
16825 arg1 = (wxEventType) SWIG_AsInt(obj0);
16826 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16827 }
16828 if (obj1) {
2f4c0a16
RD
16829 arg2 = (int) SWIG_AsInt(obj1);
16830 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16831 }
d14a1e28 16832 if (obj2) {
2f4c0a16
RD
16833 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
16834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16835 }
16836 {
16837 PyThreadState* __tstate = wxPyBeginAllowThreads();
16838 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
16839
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
2f4c0a16 16843 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
16844 return resultobj;
16845 fail:
16846 return NULL;
16847}
16848
16849
2f4c0a16 16850static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16851 PyObject *resultobj;
16852 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
16853 int result;
16854 PyObject * obj0 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
16861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16862 {
16863 PyThreadState* __tstate = wxPyBeginAllowThreads();
16864 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
16865
16866 wxPyEndAllowThreads(__tstate);
16867 if (PyErr_Occurred()) SWIG_fail;
16868 }
2f4c0a16 16869 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16870 return resultobj;
16871 fail:
16872 return NULL;
16873}
16874
16875
2f4c0a16 16876static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16877 PyObject *resultobj;
16878 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
16879 bool result;
16880 PyObject * obj0 = 0 ;
16881 char *kwnames[] = {
16882 (char *) "self", NULL
16883 };
16884
16885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
16887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16888 {
16889 PyThreadState* __tstate = wxPyBeginAllowThreads();
16890 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
16891
16892 wxPyEndAllowThreads(__tstate);
16893 if (PyErr_Occurred()) SWIG_fail;
16894 }
02a34c4c 16895 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16896 return resultobj;
16897 fail:
16898 return NULL;
16899}
16900
16901
2f4c0a16 16902static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16903 PyObject *resultobj;
16904 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
16905 wxMenu *result;
16906 PyObject * obj0 = 0 ;
16907 char *kwnames[] = {
16908 (char *) "self", NULL
16909 };
16910
16911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
16913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16914 {
16915 PyThreadState* __tstate = wxPyBeginAllowThreads();
16916 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
16917
16918 wxPyEndAllowThreads(__tstate);
16919 if (PyErr_Occurred()) SWIG_fail;
16920 }
16921 {
16922 resultobj = wxPyMake_wxObject(result);
16923 }
16924 return resultobj;
16925 fail:
16926 return NULL;
16927}
16928
16929
2f4c0a16 16930static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16931 PyObject *obj;
16932 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16933 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
16934 Py_INCREF(obj);
16935 return Py_BuildValue((char *)"");
16936}
2f4c0a16 16937static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16938 PyObject *resultobj;
16939 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16940 int arg2 = (int) 0 ;
16941 wxCloseEvent *result;
8edf1c75
RD
16942 PyObject * obj0 = 0 ;
16943 PyObject * obj1 = 0 ;
d14a1e28
RD
16944 char *kwnames[] = {
16945 (char *) "type",(char *) "winid", NULL
16946 };
16947
8edf1c75
RD
16948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
16949 if (obj0) {
2f4c0a16
RD
16950 arg1 = (wxEventType) SWIG_AsInt(obj0);
16951 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16952 }
16953 if (obj1) {
2f4c0a16
RD
16954 arg2 = (int) SWIG_AsInt(obj1);
16955 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16956 }
d14a1e28
RD
16957 {
16958 PyThreadState* __tstate = wxPyBeginAllowThreads();
16959 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
16960
16961 wxPyEndAllowThreads(__tstate);
16962 if (PyErr_Occurred()) SWIG_fail;
16963 }
2f4c0a16 16964 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
16965 return resultobj;
16966 fail:
16967 return NULL;
16968}
16969
16970
2f4c0a16 16971static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16972 PyObject *resultobj;
16973 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
16974 bool arg2 ;
16975 PyObject * obj0 = 0 ;
16976 PyObject * obj1 = 0 ;
16977 char *kwnames[] = {
16978 (char *) "self",(char *) "logOff", NULL
16979 };
16980
16981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
16983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16984 arg2 = (bool) SWIG_AsBool(obj1);
16985 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16986 {
16987 PyThreadState* __tstate = wxPyBeginAllowThreads();
16988 (arg1)->SetLoggingOff(arg2);
16989
16990 wxPyEndAllowThreads(__tstate);
16991 if (PyErr_Occurred()) SWIG_fail;
16992 }
16993 Py_INCREF(Py_None); resultobj = Py_None;
16994 return resultobj;
16995 fail:
16996 return NULL;
16997}
16998
16999
2f4c0a16 17000static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17001 PyObject *resultobj;
17002 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17003 bool result;
17004 PyObject * obj0 = 0 ;
17005 char *kwnames[] = {
17006 (char *) "self", NULL
17007 };
17008
17009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17010 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17012 {
17013 PyThreadState* __tstate = wxPyBeginAllowThreads();
17014 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17015
17016 wxPyEndAllowThreads(__tstate);
17017 if (PyErr_Occurred()) SWIG_fail;
17018 }
02a34c4c 17019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17020 return resultobj;
17021 fail:
17022 return NULL;
17023}
17024
17025
2f4c0a16 17026static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17027 PyObject *resultobj;
17028 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
423f194a 17029 bool arg2 = (bool) True ;
d14a1e28
RD
17030 PyObject * obj0 = 0 ;
17031 PyObject * obj1 = 0 ;
17032 char *kwnames[] = {
17033 (char *) "self",(char *) "veto", NULL
17034 };
17035
17036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 17039 if (obj1) {
2f4c0a16
RD
17040 arg2 = (bool) SWIG_AsBool(obj1);
17041 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17042 }
17043 {
17044 PyThreadState* __tstate = wxPyBeginAllowThreads();
17045 (arg1)->Veto(arg2);
17046
17047 wxPyEndAllowThreads(__tstate);
17048 if (PyErr_Occurred()) SWIG_fail;
17049 }
17050 Py_INCREF(Py_None); resultobj = Py_None;
17051 return resultobj;
17052 fail:
17053 return NULL;
17054}
17055
17056
2f4c0a16 17057static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17058 PyObject *resultobj;
17059 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17060 bool arg2 ;
17061 PyObject * obj0 = 0 ;
17062 PyObject * obj1 = 0 ;
17063 char *kwnames[] = {
17064 (char *) "self",(char *) "canVeto", NULL
17065 };
17066
17067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17070 arg2 = (bool) SWIG_AsBool(obj1);
17071 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17072 {
17073 PyThreadState* __tstate = wxPyBeginAllowThreads();
17074 (arg1)->SetCanVeto(arg2);
17075
17076 wxPyEndAllowThreads(__tstate);
17077 if (PyErr_Occurred()) SWIG_fail;
17078 }
17079 Py_INCREF(Py_None); resultobj = Py_None;
17080 return resultobj;
17081 fail:
17082 return NULL;
17083}
17084
17085
2f4c0a16 17086static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17087 PyObject *resultobj;
17088 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17089 bool result;
17090 PyObject * obj0 = 0 ;
17091 char *kwnames[] = {
17092 (char *) "self", NULL
17093 };
17094
17095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17098 {
17099 PyThreadState* __tstate = wxPyBeginAllowThreads();
17100 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17101
17102 wxPyEndAllowThreads(__tstate);
17103 if (PyErr_Occurred()) SWIG_fail;
17104 }
02a34c4c 17105 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17106 return resultobj;
17107 fail:
17108 return NULL;
17109}
17110
17111
2f4c0a16 17112static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17113 PyObject *resultobj;
17114 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17115 bool result;
17116 PyObject * obj0 = 0 ;
17117 char *kwnames[] = {
17118 (char *) "self", NULL
17119 };
17120
17121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17124 {
17125 PyThreadState* __tstate = wxPyBeginAllowThreads();
17126 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17127
17128 wxPyEndAllowThreads(__tstate);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
02a34c4c 17131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17132 return resultobj;
17133 fail:
17134 return NULL;
17135}
17136
17137
2f4c0a16 17138static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17139 PyObject *obj;
17140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17141 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17142 Py_INCREF(obj);
17143 return Py_BuildValue((char *)"");
17144}
2f4c0a16 17145static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17146 PyObject *resultobj;
17147 int arg1 = (int) 0 ;
423f194a 17148 bool arg2 = (bool) False ;
d14a1e28 17149 wxShowEvent *result;
8edf1c75 17150 PyObject * obj0 = 0 ;
d14a1e28
RD
17151 PyObject * obj1 = 0 ;
17152 char *kwnames[] = {
17153 (char *) "winid",(char *) "show", NULL
17154 };
17155
8edf1c75
RD
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17157 if (obj0) {
2f4c0a16
RD
17158 arg1 = (int) SWIG_AsInt(obj0);
17159 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17160 }
d14a1e28 17161 if (obj1) {
2f4c0a16
RD
17162 arg2 = (bool) SWIG_AsBool(obj1);
17163 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17164 }
17165 {
17166 PyThreadState* __tstate = wxPyBeginAllowThreads();
17167 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17168
17169 wxPyEndAllowThreads(__tstate);
17170 if (PyErr_Occurred()) SWIG_fail;
17171 }
2f4c0a16 17172 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
17173 return resultobj;
17174 fail:
17175 return NULL;
17176}
17177
17178
2f4c0a16 17179static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17180 PyObject *resultobj;
17181 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17182 bool arg2 ;
17183 PyObject * obj0 = 0 ;
17184 PyObject * obj1 = 0 ;
17185 char *kwnames[] = {
17186 (char *) "self",(char *) "show", NULL
17187 };
17188
17189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17192 arg2 = (bool) SWIG_AsBool(obj1);
17193 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17194 {
17195 PyThreadState* __tstate = wxPyBeginAllowThreads();
17196 (arg1)->SetShow(arg2);
17197
17198 wxPyEndAllowThreads(__tstate);
17199 if (PyErr_Occurred()) SWIG_fail;
17200 }
17201 Py_INCREF(Py_None); resultobj = Py_None;
17202 return resultobj;
17203 fail:
17204 return NULL;
17205}
17206
17207
2f4c0a16 17208static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17209 PyObject *resultobj;
17210 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17211 bool result;
17212 PyObject * obj0 = 0 ;
17213 char *kwnames[] = {
17214 (char *) "self", NULL
17215 };
17216
17217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17220 {
17221 PyThreadState* __tstate = wxPyBeginAllowThreads();
17222 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17223
17224 wxPyEndAllowThreads(__tstate);
17225 if (PyErr_Occurred()) SWIG_fail;
17226 }
02a34c4c 17227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17228 return resultobj;
17229 fail:
17230 return NULL;
17231}
17232
17233
2f4c0a16 17234static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17235 PyObject *obj;
17236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17237 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17238 Py_INCREF(obj);
17239 return Py_BuildValue((char *)"");
17240}
2f4c0a16 17241static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17242 PyObject *resultobj;
17243 int arg1 = (int) 0 ;
423f194a 17244 bool arg2 = (bool) True ;
d14a1e28 17245 wxIconizeEvent *result;
8edf1c75 17246 PyObject * obj0 = 0 ;
d14a1e28
RD
17247 PyObject * obj1 = 0 ;
17248 char *kwnames[] = {
17249 (char *) "id",(char *) "iconized", NULL
17250 };
17251
8edf1c75
RD
17252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17253 if (obj0) {
2f4c0a16
RD
17254 arg1 = (int) SWIG_AsInt(obj0);
17255 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17256 }
d14a1e28 17257 if (obj1) {
2f4c0a16
RD
17258 arg2 = (bool) SWIG_AsBool(obj1);
17259 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17260 }
17261 {
17262 PyThreadState* __tstate = wxPyBeginAllowThreads();
17263 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17264
17265 wxPyEndAllowThreads(__tstate);
17266 if (PyErr_Occurred()) SWIG_fail;
17267 }
2f4c0a16 17268 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
17269 return resultobj;
17270 fail:
17271 return NULL;
17272}
17273
17274
2f4c0a16 17275static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17276 PyObject *resultobj;
17277 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17278 bool result;
17279 PyObject * obj0 = 0 ;
17280 char *kwnames[] = {
17281 (char *) "self", NULL
17282 };
17283
17284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17287 {
17288 PyThreadState* __tstate = wxPyBeginAllowThreads();
17289 result = (bool)(arg1)->Iconized();
17290
17291 wxPyEndAllowThreads(__tstate);
17292 if (PyErr_Occurred()) SWIG_fail;
17293 }
02a34c4c 17294 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17295 return resultobj;
17296 fail:
17297 return NULL;
17298}
17299
17300
2f4c0a16 17301static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17302 PyObject *obj;
17303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17304 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17305 Py_INCREF(obj);
17306 return Py_BuildValue((char *)"");
17307}
2f4c0a16 17308static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17309 PyObject *resultobj;
17310 int arg1 = (int) 0 ;
17311 wxMaximizeEvent *result;
8edf1c75 17312 PyObject * obj0 = 0 ;
d14a1e28
RD
17313 char *kwnames[] = {
17314 (char *) "id", NULL
17315 };
17316
8edf1c75
RD
17317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17318 if (obj0) {
2f4c0a16
RD
17319 arg1 = (int) SWIG_AsInt(obj0);
17320 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17321 }
d14a1e28
RD
17322 {
17323 PyThreadState* __tstate = wxPyBeginAllowThreads();
17324 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17325
17326 wxPyEndAllowThreads(__tstate);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
2f4c0a16 17329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
17330 return resultobj;
17331 fail:
17332 return NULL;
17333}
17334
17335
2f4c0a16 17336static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17337 PyObject *obj;
17338 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17339 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17340 Py_INCREF(obj);
17341 return Py_BuildValue((char *)"");
17342}
2f4c0a16 17343static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17344 PyObject *resultobj;
17345 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17346 wxPoint result;
17347 PyObject * obj0 = 0 ;
17348 char *kwnames[] = {
17349 (char *) "self", NULL
17350 };
17351
17352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 result = (arg1)->GetPosition();
17358
17359 wxPyEndAllowThreads(__tstate);
17360 if (PyErr_Occurred()) SWIG_fail;
17361 }
17362 {
17363 wxPoint * resultptr;
17364 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 17365 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
17366 }
17367 return resultobj;
17368 fail:
17369 return NULL;
17370}
17371
17372
2f4c0a16 17373static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17374 PyObject *resultobj;
17375 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17376 int result;
17377 PyObject * obj0 = 0 ;
17378 char *kwnames[] = {
17379 (char *) "self", NULL
17380 };
17381
17382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17385 {
17386 PyThreadState* __tstate = wxPyBeginAllowThreads();
17387 result = (int)(arg1)->GetNumberOfFiles();
17388
17389 wxPyEndAllowThreads(__tstate);
17390 if (PyErr_Occurred()) SWIG_fail;
17391 }
2f4c0a16 17392 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17393 return resultobj;
17394 fail:
17395 return NULL;
17396}
17397
17398
2f4c0a16 17399static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17400 PyObject *resultobj;
17401 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17402 PyObject *result;
17403 PyObject * obj0 = 0 ;
17404 char *kwnames[] = {
17405 (char *) "self", NULL
17406 };
17407
17408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17411 {
17412 PyThreadState* __tstate = wxPyBeginAllowThreads();
17413 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17414
17415 wxPyEndAllowThreads(__tstate);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 }
17418 resultobj = result;
17419 return resultobj;
17420 fail:
17421 return NULL;
17422}
17423
17424
2f4c0a16 17425static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17426 PyObject *obj;
17427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17428 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17429 Py_INCREF(obj);
17430 return Py_BuildValue((char *)"");
17431}
2f4c0a16 17432static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17433 PyObject *resultobj;
423f194a 17434 int arg1 = (int) 0 ;
d14a1e28 17435 wxUpdateUIEvent *result;
8edf1c75 17436 PyObject * obj0 = 0 ;
d14a1e28
RD
17437 char *kwnames[] = {
17438 (char *) "commandId", NULL
17439 };
17440
8edf1c75
RD
17441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17442 if (obj0) {
2f4c0a16
RD
17443 arg1 = (int) SWIG_AsInt(obj0);
17444 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17445 }
d14a1e28
RD
17446 {
17447 PyThreadState* __tstate = wxPyBeginAllowThreads();
17448 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17449
17450 wxPyEndAllowThreads(__tstate);
17451 if (PyErr_Occurred()) SWIG_fail;
17452 }
2f4c0a16 17453 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
17454 return resultobj;
17455 fail:
17456 return NULL;
17457}
17458
17459
2f4c0a16 17460static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17461 PyObject *resultobj;
17462 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17463 bool result;
17464 PyObject * obj0 = 0 ;
17465 char *kwnames[] = {
17466 (char *) "self", NULL
17467 };
17468
17469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17472 {
17473 PyThreadState* __tstate = wxPyBeginAllowThreads();
17474 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17475
17476 wxPyEndAllowThreads(__tstate);
17477 if (PyErr_Occurred()) SWIG_fail;
17478 }
02a34c4c 17479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17480 return resultobj;
17481 fail:
17482 return NULL;
17483}
17484
17485
2f4c0a16 17486static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17487 PyObject *resultobj;
17488 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17489 bool result;
17490 PyObject * obj0 = 0 ;
17491 char *kwnames[] = {
17492 (char *) "self", NULL
17493 };
17494
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17498 {
17499 PyThreadState* __tstate = wxPyBeginAllowThreads();
17500 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17501
17502 wxPyEndAllowThreads(__tstate);
17503 if (PyErr_Occurred()) SWIG_fail;
17504 }
02a34c4c 17505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17506 return resultobj;
17507 fail:
17508 return NULL;
17509}
17510
17511
2f4c0a16 17512static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17513 PyObject *resultobj;
17514 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17515 wxString result;
17516 PyObject * obj0 = 0 ;
17517 char *kwnames[] = {
17518 (char *) "self", NULL
17519 };
17520
17521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17524 {
17525 PyThreadState* __tstate = wxPyBeginAllowThreads();
17526 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17527
17528 wxPyEndAllowThreads(__tstate);
17529 if (PyErr_Occurred()) SWIG_fail;
17530 }
17531 {
17532#if wxUSE_UNICODE
17533 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17534#else
17535 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17536#endif
17537 }
17538 return resultobj;
17539 fail:
17540 return NULL;
17541}
17542
17543
2f4c0a16 17544static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17545 PyObject *resultobj;
17546 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17547 bool result;
17548 PyObject * obj0 = 0 ;
17549 char *kwnames[] = {
17550 (char *) "self", NULL
17551 };
17552
17553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17556 {
17557 PyThreadState* __tstate = wxPyBeginAllowThreads();
17558 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17559
17560 wxPyEndAllowThreads(__tstate);
17561 if (PyErr_Occurred()) SWIG_fail;
17562 }
02a34c4c 17563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17564 return resultobj;
17565 fail:
17566 return NULL;
17567}
17568
17569
2f4c0a16 17570static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17571 PyObject *resultobj;
17572 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17573 bool result;
17574 PyObject * obj0 = 0 ;
17575 char *kwnames[] = {
17576 (char *) "self", NULL
17577 };
17578
17579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
17585
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
02a34c4c 17589 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17590 return resultobj;
17591 fail:
17592 return NULL;
17593}
17594
17595
2f4c0a16 17596static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17597 PyObject *resultobj;
17598 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17599 bool result;
17600 PyObject * obj0 = 0 ;
17601 char *kwnames[] = {
17602 (char *) "self", NULL
17603 };
17604
17605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17608 {
17609 PyThreadState* __tstate = wxPyBeginAllowThreads();
17610 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
17611
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
02a34c4c 17615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17616 return resultobj;
17617 fail:
17618 return NULL;
17619}
17620
17621
2f4c0a16 17622static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17623 PyObject *resultobj;
17624 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17625 bool arg2 ;
17626 PyObject * obj0 = 0 ;
17627 PyObject * obj1 = 0 ;
17628 char *kwnames[] = {
17629 (char *) "self",(char *) "check", NULL
17630 };
17631
17632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17635 arg2 = (bool) SWIG_AsBool(obj1);
17636 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17637 {
17638 PyThreadState* __tstate = wxPyBeginAllowThreads();
17639 (arg1)->Check(arg2);
17640
17641 wxPyEndAllowThreads(__tstate);
17642 if (PyErr_Occurred()) SWIG_fail;
17643 }
17644 Py_INCREF(Py_None); resultobj = Py_None;
17645 return resultobj;
17646 fail:
17647 return NULL;
17648}
17649
17650
2f4c0a16 17651static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17652 PyObject *resultobj;
17653 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17654 bool arg2 ;
17655 PyObject * obj0 = 0 ;
17656 PyObject * obj1 = 0 ;
17657 char *kwnames[] = {
17658 (char *) "self",(char *) "enable", NULL
17659 };
17660
17661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17664 arg2 = (bool) SWIG_AsBool(obj1);
17665 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17666 {
17667 PyThreadState* __tstate = wxPyBeginAllowThreads();
17668 (arg1)->Enable(arg2);
17669
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 Py_INCREF(Py_None); resultobj = Py_None;
17674 return resultobj;
17675 fail:
17676 return NULL;
17677}
17678
17679
2f4c0a16 17680static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17681 PyObject *resultobj;
17682 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17683 wxString *arg2 = 0 ;
423f194a 17684 bool temp2 = False ;
d14a1e28
RD
17685 PyObject * obj0 = 0 ;
17686 PyObject * obj1 = 0 ;
17687 char *kwnames[] = {
17688 (char *) "self",(char *) "text", NULL
17689 };
17690
17691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17694 {
17695 arg2 = wxString_in_helper(obj1);
17696 if (arg2 == NULL) SWIG_fail;
423f194a 17697 temp2 = True;
d14a1e28
RD
17698 }
17699 {
17700 PyThreadState* __tstate = wxPyBeginAllowThreads();
17701 (arg1)->SetText((wxString const &)*arg2);
17702
17703 wxPyEndAllowThreads(__tstate);
17704 if (PyErr_Occurred()) SWIG_fail;
17705 }
17706 Py_INCREF(Py_None); resultobj = Py_None;
17707 {
17708 if (temp2)
17709 delete arg2;
17710 }
17711 return resultobj;
17712 fail:
17713 {
17714 if (temp2)
17715 delete arg2;
17716 }
17717 return NULL;
17718}
17719
17720
2f4c0a16 17721static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17722 PyObject *resultobj;
17723 long arg1 ;
8edf1c75 17724 PyObject * obj0 = 0 ;
d14a1e28
RD
17725 char *kwnames[] = {
17726 (char *) "updateInterval", NULL
17727 };
17728
8edf1c75 17729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17730 arg1 = (long) SWIG_AsLong(obj0);
17731 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17732 {
17733 PyThreadState* __tstate = wxPyBeginAllowThreads();
17734 wxUpdateUIEvent::SetUpdateInterval(arg1);
17735
17736 wxPyEndAllowThreads(__tstate);
17737 if (PyErr_Occurred()) SWIG_fail;
17738 }
17739 Py_INCREF(Py_None); resultobj = Py_None;
17740 return resultobj;
17741 fail:
17742 return NULL;
17743}
17744
17745
2f4c0a16 17746static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17747 PyObject *resultobj;
17748 long result;
17749 char *kwnames[] = {
17750 NULL
17751 };
17752
17753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
17754 {
17755 PyThreadState* __tstate = wxPyBeginAllowThreads();
17756 result = (long)wxUpdateUIEvent::GetUpdateInterval();
17757
17758 wxPyEndAllowThreads(__tstate);
17759 if (PyErr_Occurred()) SWIG_fail;
17760 }
2f4c0a16 17761 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
17762 return resultobj;
17763 fail:
17764 return NULL;
17765}
17766
17767
2f4c0a16 17768static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17769 PyObject *resultobj;
17770 wxWindow *arg1 = (wxWindow *) 0 ;
17771 bool result;
17772 PyObject * obj0 = 0 ;
17773 char *kwnames[] = {
17774 (char *) "win", NULL
17775 };
17776
17777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17780 {
17781 PyThreadState* __tstate = wxPyBeginAllowThreads();
17782 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
17783
17784 wxPyEndAllowThreads(__tstate);
17785 if (PyErr_Occurred()) SWIG_fail;
17786 }
02a34c4c 17787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17788 return resultobj;
17789 fail:
17790 return NULL;
17791}
17792
17793
2f4c0a16 17794static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17795 PyObject *resultobj;
17796 char *kwnames[] = {
17797 NULL
17798 };
17799
17800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
17801 {
17802 PyThreadState* __tstate = wxPyBeginAllowThreads();
17803 wxUpdateUIEvent::ResetUpdateTime();
17804
17805 wxPyEndAllowThreads(__tstate);
17806 if (PyErr_Occurred()) SWIG_fail;
17807 }
17808 Py_INCREF(Py_None); resultobj = Py_None;
17809 return resultobj;
17810 fail:
17811 return NULL;
17812}
17813
17814
2f4c0a16 17815static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17816 PyObject *resultobj;
17817 int arg1 ;
8edf1c75 17818 PyObject * obj0 = 0 ;
d14a1e28
RD
17819 char *kwnames[] = {
17820 (char *) "mode", NULL
17821 };
17822
8edf1c75 17823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17824 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
17825 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17826 {
17827 PyThreadState* __tstate = wxPyBeginAllowThreads();
17828 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
17829
17830 wxPyEndAllowThreads(__tstate);
17831 if (PyErr_Occurred()) SWIG_fail;
17832 }
17833 Py_INCREF(Py_None); resultobj = Py_None;
17834 return resultobj;
17835 fail:
17836 return NULL;
17837}
17838
17839
2f4c0a16 17840static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17841 PyObject *resultobj;
17842 int result;
17843 char *kwnames[] = {
17844 NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
17848 {
17849 PyThreadState* __tstate = wxPyBeginAllowThreads();
17850 result = (int)wxUpdateUIEvent::GetMode();
17851
17852 wxPyEndAllowThreads(__tstate);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 }
2f4c0a16 17855 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17856 return resultobj;
17857 fail:
17858 return NULL;
17859}
17860
17861
2f4c0a16 17862static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17863 PyObject *obj;
17864 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17865 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
17866 Py_INCREF(obj);
17867 return Py_BuildValue((char *)"");
17868}
2f4c0a16 17869static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17870 PyObject *resultobj;
17871 wxSysColourChangedEvent *result;
17872 char *kwnames[] = {
17873 NULL
17874 };
17875
17876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
17877 {
17878 PyThreadState* __tstate = wxPyBeginAllowThreads();
17879 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
17880
17881 wxPyEndAllowThreads(__tstate);
17882 if (PyErr_Occurred()) SWIG_fail;
17883 }
2f4c0a16 17884 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
17885 return resultobj;
17886 fail:
17887 return NULL;
17888}
17889
17890
2f4c0a16 17891static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17892 PyObject *obj;
17893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17894 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
17895 Py_INCREF(obj);
17896 return Py_BuildValue((char *)"");
17897}
2f4c0a16 17898static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17899 PyObject *resultobj;
423f194a 17900 int arg1 = (int) 0 ;
d14a1e28
RD
17901 wxWindow *arg2 = (wxWindow *) NULL ;
17902 wxMouseCaptureChangedEvent *result;
8edf1c75 17903 PyObject * obj0 = 0 ;
d14a1e28
RD
17904 PyObject * obj1 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "winid",(char *) "gainedCapture", NULL
17907 };
17908
8edf1c75
RD
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
17910 if (obj0) {
2f4c0a16
RD
17911 arg1 = (int) SWIG_AsInt(obj0);
17912 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17913 }
d14a1e28 17914 if (obj1) {
2f4c0a16
RD
17915 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17917 }
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
17921
17922 wxPyEndAllowThreads(__tstate);
17923 if (PyErr_Occurred()) SWIG_fail;
17924 }
2f4c0a16 17925 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
17926 return resultobj;
17927 fail:
17928 return NULL;
17929}
17930
17931
2f4c0a16 17932static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17933 PyObject *resultobj;
17934 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
17935 wxWindow *result;
17936 PyObject * obj0 = 0 ;
17937 char *kwnames[] = {
17938 (char *) "self", NULL
17939 };
17940
17941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
17943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17944 {
17945 PyThreadState* __tstate = wxPyBeginAllowThreads();
17946 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
17947
17948 wxPyEndAllowThreads(__tstate);
17949 if (PyErr_Occurred()) SWIG_fail;
17950 }
17951 {
17952 resultobj = wxPyMake_wxObject(result);
17953 }
17954 return resultobj;
17955 fail:
17956 return NULL;
17957}
17958
17959
2f4c0a16 17960static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17961 PyObject *obj;
17962 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17963 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
17964 Py_INCREF(obj);
17965 return Py_BuildValue((char *)"");
17966}
2f4c0a16 17967static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17968 PyObject *resultobj;
17969 wxDisplayChangedEvent *result;
17970 char *kwnames[] = {
17971 NULL
17972 };
17973
17974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
17975 {
17976 PyThreadState* __tstate = wxPyBeginAllowThreads();
17977 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
17978
17979 wxPyEndAllowThreads(__tstate);
17980 if (PyErr_Occurred()) SWIG_fail;
17981 }
2f4c0a16 17982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
17983 return resultobj;
17984 fail:
17985 return NULL;
17986}
17987
17988
2f4c0a16 17989static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17990 PyObject *obj;
17991 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17992 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
17993 Py_INCREF(obj);
17994 return Py_BuildValue((char *)"");
17995}
2f4c0a16 17996static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17997 PyObject *resultobj;
423f194a 17998 int arg1 = (int) 0 ;
d14a1e28 17999 wxPaletteChangedEvent *result;
8edf1c75 18000 PyObject * obj0 = 0 ;
d14a1e28
RD
18001 char *kwnames[] = {
18002 (char *) "id", NULL
18003 };
18004
8edf1c75
RD
18005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18006 if (obj0) {
2f4c0a16
RD
18007 arg1 = (int) SWIG_AsInt(obj0);
18008 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18009 }
d14a1e28
RD
18010 {
18011 PyThreadState* __tstate = wxPyBeginAllowThreads();
18012 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18013
18014 wxPyEndAllowThreads(__tstate);
18015 if (PyErr_Occurred()) SWIG_fail;
18016 }
2f4c0a16 18017 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
18018 return resultobj;
18019 fail:
18020 return NULL;
18021}
18022
18023
2f4c0a16 18024static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18025 PyObject *resultobj;
18026 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18027 wxWindow *arg2 = (wxWindow *) 0 ;
18028 PyObject * obj0 = 0 ;
18029 PyObject * obj1 = 0 ;
18030 char *kwnames[] = {
18031 (char *) "self",(char *) "win", NULL
18032 };
18033
18034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18037 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 (arg1)->SetChangedWindow(arg2);
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 Py_INCREF(Py_None); resultobj = Py_None;
18047 return resultobj;
18048 fail:
18049 return NULL;
18050}
18051
18052
2f4c0a16 18053static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18054 PyObject *resultobj;
18055 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18056 wxWindow *result;
18057 PyObject * obj0 = 0 ;
18058 char *kwnames[] = {
18059 (char *) "self", NULL
18060 };
18061
18062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 result = (wxWindow *)(arg1)->GetChangedWindow();
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 {
18073 resultobj = wxPyMake_wxObject(result);
18074 }
18075 return resultobj;
18076 fail:
18077 return NULL;
18078}
18079
18080
2f4c0a16 18081static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18082 PyObject *obj;
18083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18084 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18085 Py_INCREF(obj);
18086 return Py_BuildValue((char *)"");
18087}
2f4c0a16 18088static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18089 PyObject *resultobj;
423f194a 18090 int arg1 = (int) 0 ;
d14a1e28 18091 wxQueryNewPaletteEvent *result;
8edf1c75 18092 PyObject * obj0 = 0 ;
d14a1e28
RD
18093 char *kwnames[] = {
18094 (char *) "winid", NULL
18095 };
18096
8edf1c75
RD
18097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18098 if (obj0) {
2f4c0a16
RD
18099 arg1 = (int) SWIG_AsInt(obj0);
18100 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18101 }
d14a1e28
RD
18102 {
18103 PyThreadState* __tstate = wxPyBeginAllowThreads();
18104 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18105
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
2f4c0a16 18109 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
18110 return resultobj;
18111 fail:
18112 return NULL;
18113}
18114
18115
2f4c0a16 18116static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18117 PyObject *resultobj;
18118 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18119 bool arg2 ;
18120 PyObject * obj0 = 0 ;
18121 PyObject * obj1 = 0 ;
18122 char *kwnames[] = {
18123 (char *) "self",(char *) "realized", NULL
18124 };
18125
18126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18129 arg2 = (bool) SWIG_AsBool(obj1);
18130 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18131 {
18132 PyThreadState* __tstate = wxPyBeginAllowThreads();
18133 (arg1)->SetPaletteRealized(arg2);
18134
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 Py_INCREF(Py_None); resultobj = Py_None;
18139 return resultobj;
18140 fail:
18141 return NULL;
18142}
18143
18144
2f4c0a16 18145static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18146 PyObject *resultobj;
18147 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18148 bool result;
18149 PyObject * obj0 = 0 ;
18150 char *kwnames[] = {
18151 (char *) "self", NULL
18152 };
18153
18154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
02a34c4c 18164 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18165 return resultobj;
18166 fail:
18167 return NULL;
18168}
18169
18170
2f4c0a16 18171static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18172 PyObject *obj;
18173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18174 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18175 Py_INCREF(obj);
18176 return Py_BuildValue((char *)"");
18177}
2f4c0a16 18178static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18179 PyObject *resultobj;
18180 wxNavigationKeyEvent *result;
18181 char *kwnames[] = {
18182 NULL
18183 };
18184
18185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18186 {
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18189
18190 wxPyEndAllowThreads(__tstate);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
2f4c0a16 18193 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
18194 return resultobj;
18195 fail:
18196 return NULL;
18197}
18198
18199
2f4c0a16 18200static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18201 PyObject *resultobj;
18202 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18203 bool result;
18204 PyObject * obj0 = 0 ;
18205 char *kwnames[] = {
18206 (char *) "self", NULL
18207 };
18208
18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
02a34c4c 18219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18220 return resultobj;
18221 fail:
18222 return NULL;
18223}
18224
18225
2f4c0a16 18226static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18227 PyObject *resultobj;
18228 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18229 bool arg2 ;
18230 PyObject * obj0 = 0 ;
18231 PyObject * obj1 = 0 ;
18232 char *kwnames[] = {
18233 (char *) "self",(char *) "bForward", NULL
18234 };
18235
18236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18239 arg2 = (bool) SWIG_AsBool(obj1);
18240 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18241 {
18242 PyThreadState* __tstate = wxPyBeginAllowThreads();
18243 (arg1)->SetDirection(arg2);
18244
18245 wxPyEndAllowThreads(__tstate);
18246 if (PyErr_Occurred()) SWIG_fail;
18247 }
18248 Py_INCREF(Py_None); resultobj = Py_None;
18249 return resultobj;
18250 fail:
18251 return NULL;
18252}
18253
18254
2f4c0a16 18255static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18256 PyObject *resultobj;
18257 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18258 bool result;
18259 PyObject * obj0 = 0 ;
18260 char *kwnames[] = {
18261 (char *) "self", NULL
18262 };
18263
18264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18267 {
18268 PyThreadState* __tstate = wxPyBeginAllowThreads();
18269 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18270
18271 wxPyEndAllowThreads(__tstate);
18272 if (PyErr_Occurred()) SWIG_fail;
18273 }
02a34c4c 18274 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18275 return resultobj;
18276 fail:
18277 return NULL;
18278}
18279
18280
2f4c0a16 18281static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18282 PyObject *resultobj;
18283 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18284 bool arg2 ;
18285 PyObject * obj0 = 0 ;
18286 PyObject * obj1 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "self",(char *) "bIs", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18294 arg2 = (bool) SWIG_AsBool(obj1);
18295 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18296 {
18297 PyThreadState* __tstate = wxPyBeginAllowThreads();
18298 (arg1)->SetWindowChange(arg2);
18299
18300 wxPyEndAllowThreads(__tstate);
18301 if (PyErr_Occurred()) SWIG_fail;
18302 }
18303 Py_INCREF(Py_None); resultobj = Py_None;
18304 return resultobj;
18305 fail:
18306 return NULL;
18307}
18308
18309
2f4c0a16 18310static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18311 PyObject *resultobj;
18312 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18313 wxWindow *result;
18314 PyObject * obj0 = 0 ;
18315 char *kwnames[] = {
18316 (char *) "self", NULL
18317 };
18318
18319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18322 {
18323 PyThreadState* __tstate = wxPyBeginAllowThreads();
18324 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18325
18326 wxPyEndAllowThreads(__tstate);
18327 if (PyErr_Occurred()) SWIG_fail;
18328 }
18329 {
18330 resultobj = wxPyMake_wxObject(result);
18331 }
18332 return resultobj;
18333 fail:
18334 return NULL;
18335}
18336
18337
2f4c0a16 18338static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18339 PyObject *resultobj;
18340 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18341 wxWindow *arg2 = (wxWindow *) 0 ;
18342 PyObject * obj0 = 0 ;
18343 PyObject * obj1 = 0 ;
18344 char *kwnames[] = {
18345 (char *) "self",(char *) "win", NULL
18346 };
18347
18348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 (arg1)->SetCurrentFocus(arg2);
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 Py_INCREF(Py_None); resultobj = Py_None;
18361 return resultobj;
18362 fail:
18363 return NULL;
18364}
18365
18366
2f4c0a16 18367static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18368 PyObject *obj;
18369 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18370 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18371 Py_INCREF(obj);
18372 return Py_BuildValue((char *)"");
18373}
2f4c0a16 18374static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18375 PyObject *resultobj;
18376 wxWindow *arg1 = (wxWindow *) NULL ;
18377 wxWindowCreateEvent *result;
18378 PyObject * obj0 = 0 ;
18379 char *kwnames[] = {
18380 (char *) "win", NULL
18381 };
18382
18383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18384 if (obj0) {
2f4c0a16
RD
18385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18387 }
18388 {
18389 PyThreadState* __tstate = wxPyBeginAllowThreads();
18390 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18391
18392 wxPyEndAllowThreads(__tstate);
18393 if (PyErr_Occurred()) SWIG_fail;
18394 }
2f4c0a16 18395 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
18396 return resultobj;
18397 fail:
18398 return NULL;
18399}
18400
18401
2f4c0a16 18402static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18403 PyObject *resultobj;
18404 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18405 wxWindow *result;
18406 PyObject * obj0 = 0 ;
18407 char *kwnames[] = {
18408 (char *) "self", NULL
18409 };
18410
18411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 {
18422 resultobj = wxPyMake_wxObject(result);
18423 }
18424 return resultobj;
18425 fail:
18426 return NULL;
18427}
18428
18429
2f4c0a16 18430static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18431 PyObject *obj;
18432 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18433 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18434 Py_INCREF(obj);
18435 return Py_BuildValue((char *)"");
18436}
2f4c0a16 18437static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18438 PyObject *resultobj;
18439 wxWindow *arg1 = (wxWindow *) NULL ;
18440 wxWindowDestroyEvent *result;
18441 PyObject * obj0 = 0 ;
18442 char *kwnames[] = {
18443 (char *) "win", NULL
18444 };
18445
18446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18447 if (obj0) {
2f4c0a16
RD
18448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18450 }
18451 {
18452 PyThreadState* __tstate = wxPyBeginAllowThreads();
18453 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18454
18455 wxPyEndAllowThreads(__tstate);
18456 if (PyErr_Occurred()) SWIG_fail;
18457 }
2f4c0a16 18458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
18459 return resultobj;
18460 fail:
18461 return NULL;
18462}
18463
18464
2f4c0a16 18465static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18466 PyObject *resultobj;
18467 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18468 wxWindow *result;
18469 PyObject * obj0 = 0 ;
18470 char *kwnames[] = {
18471 (char *) "self", NULL
18472 };
18473
18474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18475 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18476 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18477 {
18478 PyThreadState* __tstate = wxPyBeginAllowThreads();
18479 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18480
18481 wxPyEndAllowThreads(__tstate);
18482 if (PyErr_Occurred()) SWIG_fail;
18483 }
18484 {
18485 resultobj = wxPyMake_wxObject(result);
18486 }
18487 return resultobj;
18488 fail:
18489 return NULL;
18490}
18491
18492
2f4c0a16 18493static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18494 PyObject *obj;
18495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18496 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18497 Py_INCREF(obj);
18498 return Py_BuildValue((char *)"");
18499}
2f4c0a16 18500static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18501 PyObject *resultobj;
18502 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 18503 int arg2 = (int) 0 ;
d14a1e28
RD
18504 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18505 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18506 wxContextMenuEvent *result;
18507 wxPoint temp3 ;
8edf1c75
RD
18508 PyObject * obj0 = 0 ;
18509 PyObject * obj1 = 0 ;
d14a1e28
RD
18510 PyObject * obj2 = 0 ;
18511 char *kwnames[] = {
18512 (char *) "type",(char *) "winid",(char *) "pt", NULL
18513 };
18514
8edf1c75
RD
18515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18516 if (obj0) {
2f4c0a16
RD
18517 arg1 = (wxEventType) SWIG_AsInt(obj0);
18518 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18519 }
18520 if (obj1) {
2f4c0a16
RD
18521 arg2 = (int) SWIG_AsInt(obj1);
18522 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18523 }
d14a1e28
RD
18524 if (obj2) {
18525 {
18526 arg3 = &temp3;
18527 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18528 }
18529 }
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18533
18534 wxPyEndAllowThreads(__tstate);
18535 if (PyErr_Occurred()) SWIG_fail;
18536 }
2f4c0a16 18537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
18538 return resultobj;
18539 fail:
18540 return NULL;
18541}
18542
18543
2f4c0a16 18544static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18545 PyObject *resultobj;
18546 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18547 wxPoint *result;
18548 PyObject * obj0 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18556 {
18557 PyThreadState* __tstate = wxPyBeginAllowThreads();
18558 {
18559 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
18560 result = (wxPoint *) &_result_ref;
18561 }
18562
18563 wxPyEndAllowThreads(__tstate);
18564 if (PyErr_Occurred()) SWIG_fail;
18565 }
2f4c0a16 18566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
18567 return resultobj;
18568 fail:
18569 return NULL;
18570}
18571
18572
2f4c0a16 18573static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18574 PyObject *resultobj;
18575 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18576 wxPoint *arg2 = 0 ;
18577 wxPoint temp2 ;
18578 PyObject * obj0 = 0 ;
18579 PyObject * obj1 = 0 ;
18580 char *kwnames[] = {
18581 (char *) "self",(char *) "pos", NULL
18582 };
18583
18584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18587 {
18588 arg2 = &temp2;
18589 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18590 }
18591 {
18592 PyThreadState* __tstate = wxPyBeginAllowThreads();
18593 (arg1)->SetPosition((wxPoint const &)*arg2);
18594
18595 wxPyEndAllowThreads(__tstate);
18596 if (PyErr_Occurred()) SWIG_fail;
18597 }
18598 Py_INCREF(Py_None); resultobj = Py_None;
18599 return resultobj;
18600 fail:
18601 return NULL;
18602}
18603
18604
2f4c0a16 18605static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18606 PyObject *obj;
18607 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18608 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
18609 Py_INCREF(obj);
18610 return Py_BuildValue((char *)"");
18611}
2f4c0a16 18612static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18613 PyObject *resultobj;
18614 wxIdleEvent *result;
18615 char *kwnames[] = {
18616 NULL
18617 };
18618
18619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
18620 {
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
18622 result = (wxIdleEvent *)new wxIdleEvent();
18623
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
2f4c0a16 18627 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
18628 return resultobj;
18629 fail:
18630 return NULL;
18631}
18632
18633
2f4c0a16 18634static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18635 PyObject *resultobj;
18636 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
423f194a 18637 bool arg2 = (bool) True ;
d14a1e28
RD
18638 PyObject * obj0 = 0 ;
18639 PyObject * obj1 = 0 ;
18640 char *kwnames[] = {
18641 (char *) "self",(char *) "needMore", NULL
18642 };
18643
18644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
18646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 18647 if (obj1) {
2f4c0a16
RD
18648 arg2 = (bool) SWIG_AsBool(obj1);
18649 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18650 }
18651 {
18652 PyThreadState* __tstate = wxPyBeginAllowThreads();
18653 (arg1)->RequestMore(arg2);
18654
18655 wxPyEndAllowThreads(__tstate);
18656 if (PyErr_Occurred()) SWIG_fail;
18657 }
18658 Py_INCREF(Py_None); resultobj = Py_None;
18659 return resultobj;
18660 fail:
18661 return NULL;
18662}
18663
18664
2f4c0a16 18665static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18666 PyObject *resultobj;
18667 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
18668 bool result;
18669 PyObject * obj0 = 0 ;
18670 char *kwnames[] = {
18671 (char *) "self", NULL
18672 };
18673
18674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
18676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
18680
18681 wxPyEndAllowThreads(__tstate);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
02a34c4c 18684 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18685 return resultobj;
18686 fail:
18687 return NULL;
18688}
18689
18690
2f4c0a16 18691static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18692 PyObject *resultobj;
18693 int arg1 ;
8edf1c75 18694 PyObject * obj0 = 0 ;
d14a1e28
RD
18695 char *kwnames[] = {
18696 (char *) "mode", NULL
18697 };
18698
8edf1c75 18699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18700 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
18701 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18702 {
18703 PyThreadState* __tstate = wxPyBeginAllowThreads();
18704 wxIdleEvent::SetMode((wxIdleMode )arg1);
18705
18706 wxPyEndAllowThreads(__tstate);
18707 if (PyErr_Occurred()) SWIG_fail;
18708 }
18709 Py_INCREF(Py_None); resultobj = Py_None;
18710 return resultobj;
18711 fail:
18712 return NULL;
18713}
18714
18715
2f4c0a16 18716static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18717 PyObject *resultobj;
18718 int result;
18719 char *kwnames[] = {
18720 NULL
18721 };
18722
18723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
18724 {
18725 PyThreadState* __tstate = wxPyBeginAllowThreads();
18726 result = (int)wxIdleEvent::GetMode();
18727
18728 wxPyEndAllowThreads(__tstate);
18729 if (PyErr_Occurred()) SWIG_fail;
18730 }
2f4c0a16 18731 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18732 return resultobj;
18733 fail:
18734 return NULL;
18735}
18736
18737
2f4c0a16 18738static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18739 PyObject *resultobj;
18740 wxWindow *arg1 = (wxWindow *) 0 ;
18741 bool result;
18742 PyObject * obj0 = 0 ;
18743 char *kwnames[] = {
18744 (char *) "win", NULL
18745 };
18746
18747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18750 {
18751 PyThreadState* __tstate = wxPyBeginAllowThreads();
18752 result = (bool)wxIdleEvent::CanSend(arg1);
18753
18754 wxPyEndAllowThreads(__tstate);
18755 if (PyErr_Occurred()) SWIG_fail;
18756 }
02a34c4c 18757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18758 return resultobj;
18759 fail:
18760 return NULL;
18761}
18762
18763
2f4c0a16 18764static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18765 PyObject *obj;
18766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18767 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
18768 Py_INCREF(obj);
18769 return Py_BuildValue((char *)"");
18770}
2f4c0a16 18771static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18772 PyObject *resultobj;
18773 int arg1 = (int) 0 ;
18774 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
18775 wxPyEvent *result;
8edf1c75
RD
18776 PyObject * obj0 = 0 ;
18777 PyObject * obj1 = 0 ;
d14a1e28
RD
18778 char *kwnames[] = {
18779 (char *) "winid",(char *) "commandType", NULL
18780 };
18781
8edf1c75
RD
18782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
18783 if (obj0) {
2f4c0a16
RD
18784 arg1 = (int) SWIG_AsInt(obj0);
18785 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18786 }
18787 if (obj1) {
2f4c0a16
RD
18788 arg2 = (wxEventType) SWIG_AsInt(obj1);
18789 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18790 }
d14a1e28
RD
18791 {
18792 PyThreadState* __tstate = wxPyBeginAllowThreads();
18793 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
18794
18795 wxPyEndAllowThreads(__tstate);
18796 if (PyErr_Occurred()) SWIG_fail;
18797 }
2f4c0a16 18798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
18799 return resultobj;
18800 fail:
18801 return NULL;
18802}
18803
18804
2f4c0a16 18805static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18806 PyObject *resultobj;
18807 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
18808 PyObject * obj0 = 0 ;
18809 char *kwnames[] = {
18810 (char *) "self", NULL
18811 };
18812
18813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18814 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
18815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18816 {
18817 PyThreadState* __tstate = wxPyBeginAllowThreads();
18818 delete arg1;
18819
18820 wxPyEndAllowThreads(__tstate);
18821 if (PyErr_Occurred()) SWIG_fail;
18822 }
18823 Py_INCREF(Py_None); resultobj = Py_None;
18824 return resultobj;
18825 fail:
18826 return NULL;
18827}
18828
18829
2f4c0a16 18830static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18831 PyObject *resultobj;
18832 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
18833 PyObject *arg2 = (PyObject *) 0 ;
18834 PyObject * obj0 = 0 ;
18835 PyObject * obj1 = 0 ;
18836 char *kwnames[] = {
18837 (char *) "self",(char *) "self", NULL
18838 };
18839
18840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
18842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18843 arg2 = obj1;
18844 {
18845 PyThreadState* __tstate = wxPyBeginAllowThreads();
18846 (arg1)->SetSelf(arg2);
18847
18848 wxPyEndAllowThreads(__tstate);
18849 if (PyErr_Occurred()) SWIG_fail;
18850 }
18851 Py_INCREF(Py_None); resultobj = Py_None;
18852 return resultobj;
18853 fail:
18854 return NULL;
18855}
18856
18857
2f4c0a16 18858static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18859 PyObject *resultobj;
18860 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
18861 PyObject *result;
18862 PyObject * obj0 = 0 ;
18863 char *kwnames[] = {
18864 (char *) "self", NULL
18865 };
18866
18867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
18869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18870 {
18871 PyThreadState* __tstate = wxPyBeginAllowThreads();
18872 result = (PyObject *)(arg1)->GetSelf();
18873
18874 wxPyEndAllowThreads(__tstate);
18875 if (PyErr_Occurred()) SWIG_fail;
18876 }
18877 resultobj = result;
18878 return resultobj;
18879 fail:
18880 return NULL;
18881}
18882
18883
2f4c0a16 18884static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18885 PyObject *obj;
18886 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18887 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
18888 Py_INCREF(obj);
18889 return Py_BuildValue((char *)"");
18890}
2f4c0a16 18891static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18892 PyObject *resultobj;
18893 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18894 int arg2 = (int) 0 ;
18895 wxPyCommandEvent *result;
8edf1c75
RD
18896 PyObject * obj0 = 0 ;
18897 PyObject * obj1 = 0 ;
d14a1e28
RD
18898 char *kwnames[] = {
18899 (char *) "commandType",(char *) "id", NULL
18900 };
18901
8edf1c75
RD
18902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
18903 if (obj0) {
2f4c0a16
RD
18904 arg1 = (wxEventType) SWIG_AsInt(obj0);
18905 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18906 }
18907 if (obj1) {
2f4c0a16
RD
18908 arg2 = (int) SWIG_AsInt(obj1);
18909 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18910 }
d14a1e28
RD
18911 {
18912 PyThreadState* __tstate = wxPyBeginAllowThreads();
18913 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
18914
18915 wxPyEndAllowThreads(__tstate);
18916 if (PyErr_Occurred()) SWIG_fail;
18917 }
2f4c0a16 18918 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
18919 return resultobj;
18920 fail:
18921 return NULL;
18922}
18923
18924
2f4c0a16 18925static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18926 PyObject *resultobj;
18927 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
18928 PyObject * obj0 = 0 ;
18929 char *kwnames[] = {
18930 (char *) "self", NULL
18931 };
18932
18933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
18935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18936 {
18937 PyThreadState* __tstate = wxPyBeginAllowThreads();
18938 delete arg1;
18939
18940 wxPyEndAllowThreads(__tstate);
18941 if (PyErr_Occurred()) SWIG_fail;
18942 }
18943 Py_INCREF(Py_None); resultobj = Py_None;
18944 return resultobj;
18945 fail:
18946 return NULL;
18947}
18948
18949
2f4c0a16 18950static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18951 PyObject *resultobj;
18952 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
18953 PyObject *arg2 = (PyObject *) 0 ;
18954 PyObject * obj0 = 0 ;
18955 PyObject * obj1 = 0 ;
18956 char *kwnames[] = {
18957 (char *) "self",(char *) "self", NULL
18958 };
18959
18960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
18962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18963 arg2 = obj1;
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 (arg1)->SetSelf(arg2);
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 Py_INCREF(Py_None); resultobj = Py_None;
18972 return resultobj;
18973 fail:
18974 return NULL;
18975}
18976
18977
2f4c0a16 18978static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18979 PyObject *resultobj;
18980 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
18981 PyObject *result;
18982 PyObject * obj0 = 0 ;
18983 char *kwnames[] = {
18984 (char *) "self", NULL
18985 };
18986
18987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
18989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18990 {
18991 PyThreadState* __tstate = wxPyBeginAllowThreads();
18992 result = (PyObject *)(arg1)->GetSelf();
18993
18994 wxPyEndAllowThreads(__tstate);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
18997 resultobj = result;
18998 return resultobj;
18999 fail:
19000 return NULL;
19001}
19002
19003
2f4c0a16 19004static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19005 PyObject *obj;
19006 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19007 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19008 Py_INCREF(obj);
19009 return Py_BuildValue((char *)"");
19010}
2f4c0a16 19011static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19012 PyObject *resultobj;
19013 wxPyApp *result;
19014 char *kwnames[] = {
19015 NULL
19016 };
19017
19018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 result = (wxPyApp *)new_wxPyApp();
19022
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 {
19027 resultobj = wxPyMake_wxObject(result);
19028 }
19029 return resultobj;
19030 fail:
19031 return NULL;
19032}
19033
19034
2f4c0a16 19035static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19036 PyObject *resultobj;
19037 wxPyApp *arg1 = (wxPyApp *) 0 ;
19038 PyObject * obj0 = 0 ;
19039 char *kwnames[] = {
19040 (char *) "self", NULL
19041 };
19042
19043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19046 {
19047 PyThreadState* __tstate = wxPyBeginAllowThreads();
19048 delete arg1;
19049
19050 wxPyEndAllowThreads(__tstate);
19051 if (PyErr_Occurred()) SWIG_fail;
19052 }
19053 Py_INCREF(Py_None); resultobj = Py_None;
19054 return resultobj;
19055 fail:
19056 return NULL;
19057}
19058
19059
2f4c0a16 19060static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19061 PyObject *resultobj;
19062 wxPyApp *arg1 = (wxPyApp *) 0 ;
19063 PyObject *arg2 = (PyObject *) 0 ;
19064 PyObject *arg3 = (PyObject *) 0 ;
19065 PyObject * obj0 = 0 ;
19066 PyObject * obj1 = 0 ;
19067 PyObject * obj2 = 0 ;
19068 char *kwnames[] = {
19069 (char *) "self",(char *) "self",(char *) "_class", NULL
19070 };
19071
19072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19075 arg2 = obj1;
19076 arg3 = obj2;
19077 {
19078 PyThreadState* __tstate = wxPyBeginAllowThreads();
19079 (arg1)->_setCallbackInfo(arg2,arg3);
19080
19081 wxPyEndAllowThreads(__tstate);
19082 if (PyErr_Occurred()) SWIG_fail;
19083 }
19084 Py_INCREF(Py_None); resultobj = Py_None;
19085 return resultobj;
19086 fail:
19087 return NULL;
19088}
19089
19090
2f4c0a16 19091static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19092 PyObject *resultobj;
19093 wxPyApp *arg1 = (wxPyApp *) 0 ;
19094 wxString result;
19095 PyObject * obj0 = 0 ;
19096 char *kwnames[] = {
19097 (char *) "self", NULL
19098 };
19099
19100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19103 {
19104 PyThreadState* __tstate = wxPyBeginAllowThreads();
19105 result = ((wxPyApp const *)arg1)->GetAppName();
19106
19107 wxPyEndAllowThreads(__tstate);
19108 if (PyErr_Occurred()) SWIG_fail;
19109 }
19110 {
19111#if wxUSE_UNICODE
19112 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19113#else
19114 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19115#endif
19116 }
19117 return resultobj;
19118 fail:
19119 return NULL;
19120}
19121
19122
2f4c0a16 19123static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19124 PyObject *resultobj;
19125 wxPyApp *arg1 = (wxPyApp *) 0 ;
19126 wxString *arg2 = 0 ;
423f194a 19127 bool temp2 = False ;
d14a1e28
RD
19128 PyObject * obj0 = 0 ;
19129 PyObject * obj1 = 0 ;
19130 char *kwnames[] = {
19131 (char *) "self",(char *) "name", NULL
19132 };
19133
19134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19137 {
19138 arg2 = wxString_in_helper(obj1);
19139 if (arg2 == NULL) SWIG_fail;
423f194a 19140 temp2 = True;
d14a1e28
RD
19141 }
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 (arg1)->SetAppName((wxString const &)*arg2);
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 Py_INCREF(Py_None); resultobj = Py_None;
19150 {
19151 if (temp2)
19152 delete arg2;
19153 }
19154 return resultobj;
19155 fail:
19156 {
19157 if (temp2)
19158 delete arg2;
19159 }
19160 return NULL;
19161}
19162
19163
2f4c0a16 19164static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19165 PyObject *resultobj;
19166 wxPyApp *arg1 = (wxPyApp *) 0 ;
19167 wxString result;
19168 PyObject * obj0 = 0 ;
19169 char *kwnames[] = {
19170 (char *) "self", NULL
19171 };
19172
19173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19176 {
19177 PyThreadState* __tstate = wxPyBeginAllowThreads();
19178 result = ((wxPyApp const *)arg1)->GetClassName();
19179
19180 wxPyEndAllowThreads(__tstate);
19181 if (PyErr_Occurred()) SWIG_fail;
19182 }
19183 {
19184#if wxUSE_UNICODE
19185 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19186#else
19187 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19188#endif
19189 }
19190 return resultobj;
19191 fail:
19192 return NULL;
19193}
19194
19195
2f4c0a16 19196static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19197 PyObject *resultobj;
19198 wxPyApp *arg1 = (wxPyApp *) 0 ;
19199 wxString *arg2 = 0 ;
423f194a 19200 bool temp2 = False ;
d14a1e28
RD
19201 PyObject * obj0 = 0 ;
19202 PyObject * obj1 = 0 ;
19203 char *kwnames[] = {
19204 (char *) "self",(char *) "name", NULL
19205 };
19206
19207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19210 {
19211 arg2 = wxString_in_helper(obj1);
19212 if (arg2 == NULL) SWIG_fail;
423f194a 19213 temp2 = True;
d14a1e28
RD
19214 }
19215 {
19216 PyThreadState* __tstate = wxPyBeginAllowThreads();
19217 (arg1)->SetClassName((wxString const &)*arg2);
19218
19219 wxPyEndAllowThreads(__tstate);
19220 if (PyErr_Occurred()) SWIG_fail;
19221 }
19222 Py_INCREF(Py_None); resultobj = Py_None;
19223 {
19224 if (temp2)
19225 delete arg2;
19226 }
19227 return resultobj;
19228 fail:
19229 {
19230 if (temp2)
19231 delete arg2;
19232 }
19233 return NULL;
19234}
19235
19236
2f4c0a16 19237static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19238 PyObject *resultobj;
19239 wxPyApp *arg1 = (wxPyApp *) 0 ;
19240 wxString *result;
19241 PyObject * obj0 = 0 ;
19242 char *kwnames[] = {
19243 (char *) "self", NULL
19244 };
19245
19246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19249 {
19250 PyThreadState* __tstate = wxPyBeginAllowThreads();
19251 {
19252 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19253 result = (wxString *) &_result_ref;
19254 }
19255
19256 wxPyEndAllowThreads(__tstate);
19257 if (PyErr_Occurred()) SWIG_fail;
19258 }
0f774bef
RD
19259 {
19260#if wxUSE_UNICODE
19261 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19262#else
19263 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19264#endif
19265 }
d14a1e28
RD
19266 return resultobj;
19267 fail:
19268 return NULL;
19269}
19270
19271
2f4c0a16 19272static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19273 PyObject *resultobj;
19274 wxPyApp *arg1 = (wxPyApp *) 0 ;
19275 wxString *arg2 = 0 ;
423f194a 19276 bool temp2 = False ;
d14a1e28
RD
19277 PyObject * obj0 = 0 ;
19278 PyObject * obj1 = 0 ;
19279 char *kwnames[] = {
19280 (char *) "self",(char *) "name", NULL
19281 };
19282
19283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19286 {
19287 arg2 = wxString_in_helper(obj1);
19288 if (arg2 == NULL) SWIG_fail;
423f194a 19289 temp2 = True;
d14a1e28
RD
19290 }
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 (arg1)->SetVendorName((wxString const &)*arg2);
19294
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 Py_INCREF(Py_None); resultobj = Py_None;
19299 {
19300 if (temp2)
19301 delete arg2;
19302 }
19303 return resultobj;
19304 fail:
19305 {
19306 if (temp2)
19307 delete arg2;
19308 }
19309 return NULL;
19310}
19311
19312
2f4c0a16 19313static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19314 PyObject *resultobj;
19315 wxPyApp *arg1 = (wxPyApp *) 0 ;
19316 wxAppTraits *result;
19317 PyObject * obj0 = 0 ;
19318 char *kwnames[] = {
19319 (char *) "self", NULL
19320 };
19321
19322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19325 {
19326 PyThreadState* __tstate = wxPyBeginAllowThreads();
19327 result = (wxAppTraits *)(arg1)->GetTraits();
19328
19329 wxPyEndAllowThreads(__tstate);
19330 if (PyErr_Occurred()) SWIG_fail;
19331 }
2f4c0a16 19332 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
19333 return resultobj;
19334 fail:
19335 return NULL;
19336}
19337
19338
2f4c0a16 19339static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19340 PyObject *resultobj;
19341 wxPyApp *arg1 = (wxPyApp *) 0 ;
19342 PyObject * obj0 = 0 ;
19343 char *kwnames[] = {
19344 (char *) "self", NULL
19345 };
19346
19347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19350 {
19351 PyThreadState* __tstate = wxPyBeginAllowThreads();
19352 (arg1)->ProcessPendingEvents();
19353
19354 wxPyEndAllowThreads(__tstate);
19355 if (PyErr_Occurred()) SWIG_fail;
19356 }
19357 Py_INCREF(Py_None); resultobj = Py_None;
19358 return resultobj;
19359 fail:
19360 return NULL;
19361}
19362
19363
2f4c0a16 19364static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19365 PyObject *resultobj;
19366 wxPyApp *arg1 = (wxPyApp *) 0 ;
423f194a 19367 bool arg2 = (bool) False ;
d14a1e28
RD
19368 bool result;
19369 PyObject * obj0 = 0 ;
19370 PyObject * obj1 = 0 ;
19371 char *kwnames[] = {
19372 (char *) "self",(char *) "onlyIfNeeded", NULL
19373 };
19374
19375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19378 if (obj1) {
2f4c0a16
RD
19379 arg2 = (bool) SWIG_AsBool(obj1);
19380 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19381 }
19382 {
19383 PyThreadState* __tstate = wxPyBeginAllowThreads();
19384 result = (bool)(arg1)->Yield(arg2);
19385
19386 wxPyEndAllowThreads(__tstate);
19387 if (PyErr_Occurred()) SWIG_fail;
19388 }
02a34c4c 19389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19390 return resultobj;
19391 fail:
19392 return NULL;
19393}
19394
19395
2f4c0a16 19396static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19397 PyObject *resultobj;
19398 wxPyApp *arg1 = (wxPyApp *) 0 ;
19399 PyObject * obj0 = 0 ;
19400 char *kwnames[] = {
19401 (char *) "self", NULL
19402 };
19403
19404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19407 {
19408 PyThreadState* __tstate = wxPyBeginAllowThreads();
19409 (arg1)->WakeUpIdle();
19410
19411 wxPyEndAllowThreads(__tstate);
19412 if (PyErr_Occurred()) SWIG_fail;
19413 }
19414 Py_INCREF(Py_None); resultobj = Py_None;
19415 return resultobj;
19416 fail:
19417 return NULL;
19418}
19419
19420
2f4c0a16 19421static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19422 PyObject *resultobj;
19423 wxPyApp *arg1 = (wxPyApp *) 0 ;
19424 int result;
19425 PyObject * obj0 = 0 ;
19426 char *kwnames[] = {
19427 (char *) "self", NULL
19428 };
19429
19430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19433 {
19434 PyThreadState* __tstate = wxPyBeginAllowThreads();
19435 result = (int)(arg1)->MainLoop();
19436
19437 wxPyEndAllowThreads(__tstate);
19438 if (PyErr_Occurred()) SWIG_fail;
19439 }
2f4c0a16 19440 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19441 return resultobj;
19442 fail:
19443 return NULL;
19444}
19445
19446
2f4c0a16 19447static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19448 PyObject *resultobj;
19449 wxPyApp *arg1 = (wxPyApp *) 0 ;
19450 PyObject * obj0 = 0 ;
19451 char *kwnames[] = {
19452 (char *) "self", NULL
19453 };
19454
19455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19458 {
19459 PyThreadState* __tstate = wxPyBeginAllowThreads();
19460 (arg1)->Exit();
19461
19462 wxPyEndAllowThreads(__tstate);
19463 if (PyErr_Occurred()) SWIG_fail;
19464 }
19465 Py_INCREF(Py_None); resultobj = Py_None;
19466 return resultobj;
19467 fail:
19468 return NULL;
19469}
19470
19471
2f4c0a16 19472static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19473 PyObject *resultobj;
19474 wxPyApp *arg1 = (wxPyApp *) 0 ;
19475 PyObject * obj0 = 0 ;
19476 char *kwnames[] = {
19477 (char *) "self", NULL
19478 };
19479
19480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19483 {
19484 PyThreadState* __tstate = wxPyBeginAllowThreads();
19485 (arg1)->ExitMainLoop();
19486
19487 wxPyEndAllowThreads(__tstate);
19488 if (PyErr_Occurred()) SWIG_fail;
19489 }
19490 Py_INCREF(Py_None); resultobj = Py_None;
19491 return resultobj;
19492 fail:
19493 return NULL;
19494}
19495
19496
2f4c0a16 19497static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19498 PyObject *resultobj;
19499 wxPyApp *arg1 = (wxPyApp *) 0 ;
19500 bool result;
19501 PyObject * obj0 = 0 ;
19502 char *kwnames[] = {
19503 (char *) "self", NULL
19504 };
19505
19506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19509 {
19510 PyThreadState* __tstate = wxPyBeginAllowThreads();
19511 result = (bool)(arg1)->Pending();
19512
19513 wxPyEndAllowThreads(__tstate);
19514 if (PyErr_Occurred()) SWIG_fail;
19515 }
02a34c4c 19516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19517 return resultobj;
19518 fail:
19519 return NULL;
19520}
19521
19522
2f4c0a16 19523static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19524 PyObject *resultobj;
19525 wxPyApp *arg1 = (wxPyApp *) 0 ;
19526 bool result;
19527 PyObject * obj0 = 0 ;
19528 char *kwnames[] = {
19529 (char *) "self", NULL
19530 };
19531
19532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19535 {
19536 PyThreadState* __tstate = wxPyBeginAllowThreads();
19537 result = (bool)(arg1)->Dispatch();
19538
19539 wxPyEndAllowThreads(__tstate);
19540 if (PyErr_Occurred()) SWIG_fail;
19541 }
02a34c4c 19542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19543 return resultobj;
19544 fail:
19545 return NULL;
19546}
19547
19548
2f4c0a16 19549static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19550 PyObject *resultobj;
19551 wxPyApp *arg1 = (wxPyApp *) 0 ;
19552 bool result;
19553 PyObject * obj0 = 0 ;
19554 char *kwnames[] = {
19555 (char *) "self", NULL
19556 };
19557
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19561 {
19562 PyThreadState* __tstate = wxPyBeginAllowThreads();
19563 result = (bool)(arg1)->ProcessIdle();
19564
19565 wxPyEndAllowThreads(__tstate);
19566 if (PyErr_Occurred()) SWIG_fail;
19567 }
02a34c4c 19568 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19569 return resultobj;
19570 fail:
19571 return NULL;
19572}
19573
19574
2f4c0a16 19575static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19576 PyObject *resultobj;
19577 wxPyApp *arg1 = (wxPyApp *) 0 ;
19578 wxWindow *arg2 = (wxWindow *) 0 ;
19579 wxIdleEvent *arg3 = 0 ;
19580 bool result;
19581 PyObject * obj0 = 0 ;
19582 PyObject * obj1 = 0 ;
19583 PyObject * obj2 = 0 ;
19584 char *kwnames[] = {
19585 (char *) "self",(char *) "win",(char *) "event", NULL
19586 };
19587
19588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19591 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19593 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
19594 SWIG_POINTER_EXCEPTION | 0)) == -1)
19595 SWIG_fail;
d14a1e28 19596 if (arg3 == NULL) {
2f4c0a16
RD
19597 PyErr_SetString(PyExc_TypeError,"null reference");
19598 SWIG_fail;
d14a1e28
RD
19599 }
19600 {
19601 PyThreadState* __tstate = wxPyBeginAllowThreads();
19602 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
19603
19604 wxPyEndAllowThreads(__tstate);
19605 if (PyErr_Occurred()) SWIG_fail;
19606 }
02a34c4c 19607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19608 return resultobj;
19609 fail:
19610 return NULL;
19611}
19612
19613
2f4c0a16 19614static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19615 PyObject *resultobj;
19616 wxPyApp *arg1 = (wxPyApp *) 0 ;
19617 bool result;
19618 PyObject * obj0 = 0 ;
19619 char *kwnames[] = {
19620 (char *) "self", NULL
19621 };
19622
19623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 result = (bool)((wxPyApp const *)arg1)->IsActive();
19629
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
02a34c4c 19633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19634 return resultobj;
19635 fail:
19636 return NULL;
19637}
19638
19639
2f4c0a16 19640static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19641 PyObject *resultobj;
19642 wxPyApp *arg1 = (wxPyApp *) 0 ;
19643 wxWindow *arg2 = (wxWindow *) 0 ;
19644 PyObject * obj0 = 0 ;
19645 PyObject * obj1 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self",(char *) "win", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19653 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19655 {
19656 PyThreadState* __tstate = wxPyBeginAllowThreads();
19657 (arg1)->SetTopWindow(arg2);
19658
19659 wxPyEndAllowThreads(__tstate);
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 Py_INCREF(Py_None); resultobj = Py_None;
19663 return resultobj;
19664 fail:
19665 return NULL;
19666}
19667
19668
2f4c0a16 19669static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19670 PyObject *resultobj;
19671 wxPyApp *arg1 = (wxPyApp *) 0 ;
19672 wxWindow *result;
19673 PyObject * obj0 = 0 ;
19674 char *kwnames[] = {
19675 (char *) "self", NULL
19676 };
19677
19678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19681 {
19682 PyThreadState* __tstate = wxPyBeginAllowThreads();
19683 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
19684
19685 wxPyEndAllowThreads(__tstate);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 }
19688 {
19689 resultobj = wxPyMake_wxObject(result);
19690 }
19691 return resultobj;
19692 fail:
19693 return NULL;
19694}
19695
19696
2f4c0a16 19697static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19698 PyObject *resultobj;
19699 wxPyApp *arg1 = (wxPyApp *) 0 ;
19700 bool arg2 ;
19701 PyObject * obj0 = 0 ;
19702 PyObject * obj1 = 0 ;
19703 char *kwnames[] = {
19704 (char *) "self",(char *) "flag", NULL
19705 };
19706
19707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19710 arg2 = (bool) SWIG_AsBool(obj1);
19711 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19712 {
19713 PyThreadState* __tstate = wxPyBeginAllowThreads();
19714 (arg1)->SetExitOnFrameDelete(arg2);
19715
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 Py_INCREF(Py_None); resultobj = Py_None;
19720 return resultobj;
19721 fail:
19722 return NULL;
19723}
19724
19725
2f4c0a16 19726static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19727 PyObject *resultobj;
19728 wxPyApp *arg1 = (wxPyApp *) 0 ;
19729 bool result;
19730 PyObject * obj0 = 0 ;
19731 char *kwnames[] = {
19732 (char *) "self", NULL
19733 };
19734
19735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
19741
19742 wxPyEndAllowThreads(__tstate);
19743 if (PyErr_Occurred()) SWIG_fail;
19744 }
02a34c4c 19745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19746 return resultobj;
19747 fail:
19748 return NULL;
19749}
19750
19751
2f4c0a16 19752static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19753 PyObject *resultobj;
19754 wxPyApp *arg1 = (wxPyApp *) 0 ;
19755 bool arg2 ;
19756 PyObject * obj0 = 0 ;
19757 PyObject * obj1 = 0 ;
19758 char *kwnames[] = {
19759 (char *) "self",(char *) "flag", NULL
19760 };
19761
19762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19765 arg2 = (bool) SWIG_AsBool(obj1);
19766 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19767 {
19768 PyThreadState* __tstate = wxPyBeginAllowThreads();
19769 (arg1)->SetUseBestVisual(arg2);
19770
19771 wxPyEndAllowThreads(__tstate);
19772 if (PyErr_Occurred()) SWIG_fail;
19773 }
19774 Py_INCREF(Py_None); resultobj = Py_None;
19775 return resultobj;
19776 fail:
19777 return NULL;
19778}
19779
19780
2f4c0a16 19781static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19782 PyObject *resultobj;
19783 wxPyApp *arg1 = (wxPyApp *) 0 ;
19784 bool result;
19785 PyObject * obj0 = 0 ;
19786 char *kwnames[] = {
19787 (char *) "self", NULL
19788 };
19789
19790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19793 {
19794 PyThreadState* __tstate = wxPyBeginAllowThreads();
19795 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
19796
19797 wxPyEndAllowThreads(__tstate);
19798 if (PyErr_Occurred()) SWIG_fail;
19799 }
02a34c4c 19800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19801 return resultobj;
19802 fail:
19803 return NULL;
19804}
19805
19806
2f4c0a16 19807static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19808 PyObject *resultobj;
19809 wxPyApp *arg1 = (wxPyApp *) 0 ;
19810 int arg2 ;
19811 PyObject * obj0 = 0 ;
8edf1c75 19812 PyObject * obj1 = 0 ;
d14a1e28
RD
19813 char *kwnames[] = {
19814 (char *) "self",(char *) "mode", NULL
19815 };
19816
8edf1c75 19817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19820 arg2 = (int) SWIG_AsInt(obj1);
19821 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19822 {
19823 PyThreadState* __tstate = wxPyBeginAllowThreads();
19824 (arg1)->SetPrintMode(arg2);
19825
19826 wxPyEndAllowThreads(__tstate);
19827 if (PyErr_Occurred()) SWIG_fail;
19828 }
19829 Py_INCREF(Py_None); resultobj = Py_None;
19830 return resultobj;
19831 fail:
19832 return NULL;
19833}
19834
19835
2f4c0a16 19836static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19837 PyObject *resultobj;
19838 wxPyApp *arg1 = (wxPyApp *) 0 ;
19839 int result;
19840 PyObject * obj0 = 0 ;
19841 char *kwnames[] = {
19842 (char *) "self", NULL
19843 };
19844
19845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19846 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19847 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19848 {
19849 PyThreadState* __tstate = wxPyBeginAllowThreads();
19850 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
19851
19852 wxPyEndAllowThreads(__tstate);
19853 if (PyErr_Occurred()) SWIG_fail;
19854 }
2f4c0a16 19855 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19856 return resultobj;
19857 fail:
19858 return NULL;
19859}
19860
19861
2f4c0a16 19862static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19863 PyObject *resultobj;
19864 wxPyApp *arg1 = (wxPyApp *) 0 ;
44127b65 19865 int arg2 ;
d14a1e28 19866 PyObject * obj0 = 0 ;
8edf1c75 19867 PyObject * obj1 = 0 ;
d14a1e28 19868 char *kwnames[] = {
44127b65 19869 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
19870 };
19871
8edf1c75 19872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19875 arg2 = (int) SWIG_AsInt(obj1);
19876 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19877 {
19878 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19879 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
19880
19881 wxPyEndAllowThreads(__tstate);
19882 if (PyErr_Occurred()) SWIG_fail;
19883 }
44127b65 19884 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
19885 return resultobj;
19886 fail:
19887 return NULL;
19888}
19889
19890
2f4c0a16 19891static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19892 PyObject *resultobj;
19893 wxPyApp *arg1 = (wxPyApp *) 0 ;
44127b65 19894 int result;
d14a1e28
RD
19895 PyObject * obj0 = 0 ;
19896 char *kwnames[] = {
44127b65 19897 (char *) "self", NULL
d14a1e28
RD
19898 };
19899
44127b65 19900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19903 {
19904 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19905 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
19906
19907 wxPyEndAllowThreads(__tstate);
19908 if (PyErr_Occurred()) SWIG_fail;
19909 }
2f4c0a16 19910 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19911 return resultobj;
19912 fail:
19913 return NULL;
19914}
19915
19916
2f4c0a16 19917static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19918 PyObject *resultobj;
19919 bool result;
19920 char *kwnames[] = {
19921 NULL
19922 };
19923
19924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
19925 {
19926 PyThreadState* __tstate = wxPyBeginAllowThreads();
19927 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19928
19929 wxPyEndAllowThreads(__tstate);
19930 if (PyErr_Occurred()) SWIG_fail;
19931 }
02a34c4c 19932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19933 return resultobj;
19934 fail:
19935 return NULL;
19936}
19937
19938
2f4c0a16 19939static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19940 PyObject *resultobj;
19941 long result;
19942 char *kwnames[] = {
19943 NULL
19944 };
19945
19946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 result = (long)wxPyApp::GetMacAboutMenuItemId();
19950
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
2f4c0a16 19954 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19955 return resultobj;
19956 fail:
19957 return NULL;
19958}
19959
19960
2f4c0a16 19961static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19962 PyObject *resultobj;
19963 long result;
19964 char *kwnames[] = {
19965 NULL
19966 };
19967
19968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
19969 {
19970 PyThreadState* __tstate = wxPyBeginAllowThreads();
19971 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
19972
19973 wxPyEndAllowThreads(__tstate);
19974 if (PyErr_Occurred()) SWIG_fail;
19975 }
2f4c0a16 19976 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19977 return resultobj;
19978 fail:
19979 return NULL;
19980}
19981
19982
2f4c0a16 19983static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19984 PyObject *resultobj;
19985 long result;
19986 char *kwnames[] = {
19987 NULL
19988 };
19989
19990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
19991 {
19992 PyThreadState* __tstate = wxPyBeginAllowThreads();
19993 result = (long)wxPyApp::GetMacExitMenuItemId();
19994
19995 wxPyEndAllowThreads(__tstate);
19996 if (PyErr_Occurred()) SWIG_fail;
19997 }
2f4c0a16 19998 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19999 return resultobj;
20000 fail:
20001 return NULL;
20002}
20003
20004
2f4c0a16 20005static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20006 PyObject *resultobj;
20007 wxString result;
20008 char *kwnames[] = {
20009 NULL
20010 };
20011
20012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20013 {
20014 PyThreadState* __tstate = wxPyBeginAllowThreads();
20015 result = wxPyApp::GetMacHelpMenuTitleName();
20016
20017 wxPyEndAllowThreads(__tstate);
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 {
20021#if wxUSE_UNICODE
20022 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20023#else
20024 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20025#endif
20026 }
20027 return resultobj;
20028 fail:
20029 return NULL;
20030}
20031
20032
2f4c0a16 20033static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20034 PyObject *resultobj;
20035 bool arg1 ;
20036 PyObject * obj0 = 0 ;
20037 char *kwnames[] = {
20038 (char *) "val", NULL
20039 };
20040
20041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20042 arg1 = (bool) SWIG_AsBool(obj0);
20043 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
20051 Py_INCREF(Py_None); resultobj = Py_None;
20052 return resultobj;
20053 fail:
20054 return NULL;
20055}
20056
20057
2f4c0a16 20058static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20059 PyObject *resultobj;
20060 long arg1 ;
8edf1c75 20061 PyObject * obj0 = 0 ;
d14a1e28
RD
20062 char *kwnames[] = {
20063 (char *) "val", NULL
20064 };
20065
8edf1c75 20066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20067 arg1 = (long) SWIG_AsLong(obj0);
20068 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20069 {
20070 PyThreadState* __tstate = wxPyBeginAllowThreads();
20071 wxPyApp::SetMacAboutMenuItemId(arg1);
20072
20073 wxPyEndAllowThreads(__tstate);
20074 if (PyErr_Occurred()) SWIG_fail;
20075 }
20076 Py_INCREF(Py_None); resultobj = Py_None;
20077 return resultobj;
20078 fail:
20079 return NULL;
20080}
20081
20082
2f4c0a16 20083static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20084 PyObject *resultobj;
20085 long arg1 ;
8edf1c75 20086 PyObject * obj0 = 0 ;
d14a1e28
RD
20087 char *kwnames[] = {
20088 (char *) "val", NULL
20089 };
20090
8edf1c75 20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20092 arg1 = (long) SWIG_AsLong(obj0);
20093 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 Py_INCREF(Py_None); resultobj = Py_None;
20102 return resultobj;
20103 fail:
20104 return NULL;
20105}
20106
20107
2f4c0a16 20108static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20109 PyObject *resultobj;
20110 long arg1 ;
8edf1c75 20111 PyObject * obj0 = 0 ;
d14a1e28
RD
20112 char *kwnames[] = {
20113 (char *) "val", NULL
20114 };
20115
8edf1c75 20116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20117 arg1 = (long) SWIG_AsLong(obj0);
20118 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20119 {
20120 PyThreadState* __tstate = wxPyBeginAllowThreads();
20121 wxPyApp::SetMacExitMenuItemId(arg1);
20122
20123 wxPyEndAllowThreads(__tstate);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 }
20126 Py_INCREF(Py_None); resultobj = Py_None;
20127 return resultobj;
20128 fail:
20129 return NULL;
20130}
20131
20132
2f4c0a16 20133static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20134 PyObject *resultobj;
20135 wxString *arg1 = 0 ;
423f194a 20136 bool temp1 = False ;
d14a1e28
RD
20137 PyObject * obj0 = 0 ;
20138 char *kwnames[] = {
20139 (char *) "val", NULL
20140 };
20141
20142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20143 {
20144 arg1 = wxString_in_helper(obj0);
20145 if (arg1 == NULL) SWIG_fail;
423f194a 20146 temp1 = True;
d14a1e28
RD
20147 }
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20151
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 Py_INCREF(Py_None); resultobj = Py_None;
20156 {
20157 if (temp1)
20158 delete arg1;
20159 }
20160 return resultobj;
20161 fail:
20162 {
20163 if (temp1)
20164 delete arg1;
20165 }
20166 return NULL;
20167}
20168
20169
2f4c0a16 20170static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20171 PyObject *resultobj;
20172 wxPyApp *arg1 = (wxPyApp *) 0 ;
20173 PyObject * obj0 = 0 ;
20174 char *kwnames[] = {
20175 (char *) "self", NULL
20176 };
20177
20178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20181 {
20182 PyThreadState* __tstate = wxPyBeginAllowThreads();
20183 (arg1)->_BootstrapApp();
20184
20185 wxPyEndAllowThreads(__tstate);
20186 if (PyErr_Occurred()) SWIG_fail;
20187 }
20188 Py_INCREF(Py_None); resultobj = Py_None;
20189 return resultobj;
20190 fail:
20191 return NULL;
20192}
20193
20194
2f4c0a16 20195static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20196 PyObject *resultobj;
20197 int result;
20198 char *kwnames[] = {
20199 NULL
20200 };
20201
20202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 result = (int)PyApp_GetComCtl32Version();
20206
20207 wxPyEndAllowThreads(__tstate);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
2f4c0a16 20210 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20211 return resultobj;
20212 fail:
20213 return NULL;
20214}
20215
20216
2f4c0a16 20217static PyObject * PyApp_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20218 PyObject *obj;
20219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20220 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20221 Py_INCREF(obj);
20222 return Py_BuildValue((char *)"");
20223}
2f4c0a16 20224static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20225 PyObject *resultobj;
20226 char *kwnames[] = {
20227 NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20231 {
20232 PyThreadState* __tstate = wxPyBeginAllowThreads();
20233 wxExit();
20234
20235 wxPyEndAllowThreads(__tstate);
20236 if (PyErr_Occurred()) SWIG_fail;
20237 }
20238 Py_INCREF(Py_None); resultobj = Py_None;
20239 return resultobj;
20240 fail:
20241 return NULL;
20242}
20243
20244
2f4c0a16 20245static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20246 PyObject *resultobj;
20247 bool result;
20248 char *kwnames[] = {
20249 NULL
20250 };
20251
20252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20253 {
20254 PyThreadState* __tstate = wxPyBeginAllowThreads();
20255 result = (bool)wxYield();
20256
20257 wxPyEndAllowThreads(__tstate);
20258 if (PyErr_Occurred()) SWIG_fail;
20259 }
02a34c4c 20260 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20261 return resultobj;
20262 fail:
20263 return NULL;
20264}
20265
20266
2f4c0a16 20267static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20268 PyObject *resultobj;
20269 bool result;
20270 char *kwnames[] = {
20271 NULL
20272 };
20273
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 result = (bool)wxYieldIfNeeded();
20278
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
02a34c4c 20282 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20283 return resultobj;
20284 fail:
20285 return NULL;
20286}
20287
20288
2f4c0a16 20289static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20290 PyObject *resultobj;
20291 wxWindow *arg1 = (wxWindow *) NULL ;
423f194a 20292 bool arg2 = (bool) False ;
d14a1e28
RD
20293 bool result;
20294 PyObject * obj0 = 0 ;
20295 PyObject * obj1 = 0 ;
20296 char *kwnames[] = {
20297 (char *) "win",(char *) "onlyIfNeeded", NULL
20298 };
20299
20300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20301 if (obj0) {
2f4c0a16
RD
20302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20304 }
20305 if (obj1) {
2f4c0a16
RD
20306 arg2 = (bool) SWIG_AsBool(obj1);
20307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20308 }
20309 {
20310 PyThreadState* __tstate = wxPyBeginAllowThreads();
20311 result = (bool)wxSafeYield(arg1,arg2);
20312
20313 wxPyEndAllowThreads(__tstate);
20314 if (PyErr_Occurred()) SWIG_fail;
20315 }
02a34c4c 20316 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20317 return resultobj;
20318 fail:
20319 return NULL;
20320}
20321
20322
2f4c0a16 20323static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20324 PyObject *resultobj;
20325 char *kwnames[] = {
20326 NULL
20327 };
20328
20329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
20332 wxWakeUpIdle();
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
20337 Py_INCREF(Py_None); resultobj = Py_None;
20338 return resultobj;
20339 fail:
20340 return NULL;
20341}
20342
20343
2f4c0a16 20344static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20345 PyObject *resultobj;
20346 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20347 wxEvent *arg2 = 0 ;
20348 PyObject * obj0 = 0 ;
20349 PyObject * obj1 = 0 ;
20350 char *kwnames[] = {
20351 (char *) "dest",(char *) "event", NULL
20352 };
20353
20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20358 SWIG_POINTER_EXCEPTION | 0)) == -1)
20359 SWIG_fail;
d14a1e28 20360 if (arg2 == NULL) {
2f4c0a16
RD
20361 PyErr_SetString(PyExc_TypeError,"null reference");
20362 SWIG_fail;
d14a1e28
RD
20363 }
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 wxPostEvent(arg1,*arg2);
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 Py_INCREF(Py_None); resultobj = Py_None;
20372 return resultobj;
20373 fail:
20374 return NULL;
20375}
20376
20377
2f4c0a16 20378static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20379 PyObject *resultobj;
20380 char *kwnames[] = {
20381 NULL
20382 };
20383
20384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20385 {
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
20387 wxApp_CleanUp();
20388
20389 wxPyEndAllowThreads(__tstate);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 }
20392 Py_INCREF(Py_None); resultobj = Py_None;
20393 return resultobj;
20394 fail:
20395 return NULL;
20396}
20397
20398
2f4c0a16 20399static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20400 PyObject *resultobj;
20401 wxPyApp *result;
20402 char *kwnames[] = {
20403 NULL
20404 };
20405
20406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20407 {
20408 PyThreadState* __tstate = wxPyBeginAllowThreads();
20409 result = (wxPyApp *)wxGetApp();
20410
20411 wxPyEndAllowThreads(__tstate);
20412 if (PyErr_Occurred()) SWIG_fail;
20413 }
20414 {
20415 resultobj = wxPyMake_wxObject(result);
20416 }
20417 return resultobj;
20418 fail:
20419 return NULL;
20420}
20421
20422
2f4c0a16 20423static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20424 PyObject *resultobj;
20425 int arg1 = (int) 0 ;
20426 int arg2 = (int) 0 ;
20427 int arg3 = (int) 0 ;
20428 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
20429 wxAcceleratorEntry *result;
8edf1c75
RD
20430 PyObject * obj0 = 0 ;
20431 PyObject * obj1 = 0 ;
20432 PyObject * obj2 = 0 ;
41f1cec7
RD
20433 PyObject * obj3 = 0 ;
20434 char *kwnames[] = {
20435 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20436 };
20437
8edf1c75
RD
20438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20439 if (obj0) {
2f4c0a16
RD
20440 arg1 = (int) SWIG_AsInt(obj0);
20441 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
20442 }
20443 if (obj1) {
2f4c0a16
RD
20444 arg2 = (int) SWIG_AsInt(obj1);
20445 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
20446 }
20447 if (obj2) {
2f4c0a16
RD
20448 arg3 = (int) SWIG_AsInt(obj2);
20449 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20450 }
41f1cec7 20451 if (obj3) {
2f4c0a16
RD
20452 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenuItem,
20453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20454 }
20455 {
20456 PyThreadState* __tstate = wxPyBeginAllowThreads();
20457 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
20458
20459 wxPyEndAllowThreads(__tstate);
20460 if (PyErr_Occurred()) SWIG_fail;
20461 }
2f4c0a16 20462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
41f1cec7
RD
20463 return resultobj;
20464 fail:
20465 return NULL;
20466}
20467
20468
2f4c0a16 20469static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20470 PyObject *resultobj;
20471 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20472 PyObject * obj0 = 0 ;
20473 char *kwnames[] = {
20474 (char *) "self", NULL
20475 };
20476
20477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20480 {
20481 PyThreadState* __tstate = wxPyBeginAllowThreads();
20482 delete arg1;
20483
20484 wxPyEndAllowThreads(__tstate);
20485 if (PyErr_Occurred()) SWIG_fail;
20486 }
20487 Py_INCREF(Py_None); resultobj = Py_None;
20488 return resultobj;
20489 fail:
20490 return NULL;
20491}
20492
20493
2f4c0a16 20494static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20495 PyObject *resultobj;
20496 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20497 int arg2 ;
20498 int arg3 ;
20499 int arg4 ;
20500 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
20501 PyObject * obj0 = 0 ;
8edf1c75
RD
20502 PyObject * obj1 = 0 ;
20503 PyObject * obj2 = 0 ;
20504 PyObject * obj3 = 0 ;
41f1cec7
RD
20505 PyObject * obj4 = 0 ;
20506 char *kwnames[] = {
20507 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20508 };
20509
8edf1c75 20510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
20511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20513 arg2 = (int) SWIG_AsInt(obj1);
20514 if (PyErr_Occurred()) SWIG_fail;
20515 arg3 = (int) SWIG_AsInt(obj2);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 arg4 = (int) SWIG_AsInt(obj3);
20518 if (PyErr_Occurred()) SWIG_fail;
41f1cec7 20519 if (obj4) {
2f4c0a16
RD
20520 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenuItem,
20521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20522 }
20523 {
20524 PyThreadState* __tstate = wxPyBeginAllowThreads();
20525 (arg1)->Set(arg2,arg3,arg4,arg5);
20526
20527 wxPyEndAllowThreads(__tstate);
20528 if (PyErr_Occurred()) SWIG_fail;
20529 }
20530 Py_INCREF(Py_None); resultobj = Py_None;
20531 return resultobj;
20532 fail:
20533 return NULL;
20534}
20535
20536
2f4c0a16 20537static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20538 PyObject *resultobj;
20539 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20540 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
20541 PyObject * obj0 = 0 ;
20542 PyObject * obj1 = 0 ;
20543 char *kwnames[] = {
20544 (char *) "self",(char *) "item", NULL
20545 };
20546
20547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20550 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
20551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20552 {
20553 PyThreadState* __tstate = wxPyBeginAllowThreads();
20554 (arg1)->SetMenuItem(arg2);
20555
20556 wxPyEndAllowThreads(__tstate);
20557 if (PyErr_Occurred()) SWIG_fail;
20558 }
20559 Py_INCREF(Py_None); resultobj = Py_None;
20560 return resultobj;
20561 fail:
20562 return NULL;
20563}
20564
20565
2f4c0a16 20566static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20567 PyObject *resultobj;
20568 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20569 wxMenuItem *result;
20570 PyObject * obj0 = 0 ;
20571 char *kwnames[] = {
20572 (char *) "self", NULL
20573 };
20574
20575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20578 {
20579 PyThreadState* __tstate = wxPyBeginAllowThreads();
20580 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
20581
20582 wxPyEndAllowThreads(__tstate);
20583 if (PyErr_Occurred()) SWIG_fail;
20584 }
20585 {
20586 resultobj = wxPyMake_wxObject(result);
20587 }
20588 return resultobj;
20589 fail:
20590 return NULL;
20591}
20592
20593
2f4c0a16 20594static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20595 PyObject *resultobj;
20596 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20597 int result;
20598 PyObject * obj0 = 0 ;
20599 char *kwnames[] = {
20600 (char *) "self", NULL
20601 };
20602
20603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20606 {
20607 PyThreadState* __tstate = wxPyBeginAllowThreads();
20608 result = (int)(arg1)->GetFlags();
20609
20610 wxPyEndAllowThreads(__tstate);
20611 if (PyErr_Occurred()) SWIG_fail;
20612 }
2f4c0a16 20613 resultobj = SWIG_FromInt((int)result);
41f1cec7
RD
20614 return resultobj;
20615 fail:
20616 return NULL;
20617}
20618
20619
2f4c0a16 20620static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20621 PyObject *resultobj;
20622 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20623 int result;
20624 PyObject * obj0 = 0 ;
20625 char *kwnames[] = {
20626 (char *) "self", NULL
20627 };
20628
20629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20632 {
20633 PyThreadState* __tstate = wxPyBeginAllowThreads();
20634 result = (int)(arg1)->GetKeyCode();
20635
20636 wxPyEndAllowThreads(__tstate);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 }
2f4c0a16 20639 resultobj = SWIG_FromInt((int)result);
41f1cec7
RD
20640 return resultobj;
20641 fail:
20642 return NULL;
20643}
20644
20645
2f4c0a16 20646static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20647 PyObject *resultobj;
20648 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20649 int result;
20650 PyObject * obj0 = 0 ;
20651 char *kwnames[] = {
20652 (char *) "self", NULL
20653 };
20654
20655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20658 {
20659 PyThreadState* __tstate = wxPyBeginAllowThreads();
20660 result = (int)(arg1)->GetCommand();
20661
20662 wxPyEndAllowThreads(__tstate);
20663 if (PyErr_Occurred()) SWIG_fail;
20664 }
2f4c0a16 20665 resultobj = SWIG_FromInt((int)result);
41f1cec7
RD
20666 return resultobj;
20667 fail:
20668 return NULL;
20669}
20670
20671
2f4c0a16 20672static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) {
41f1cec7
RD
20673 PyObject *obj;
20674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20675 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
20676 Py_INCREF(obj);
20677 return Py_BuildValue((char *)"");
20678}
2f4c0a16 20679static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20680 PyObject *resultobj;
20681 int arg1 ;
20682 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
20683 wxAcceleratorTable *result;
20684 PyObject * obj0 = 0 ;
20685 char *kwnames[] = {
20686 (char *) "n", NULL
20687 };
20688
20689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
20690 {
20691 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
20692 if (arg2) arg1 = PyList_Size(obj0);
20693 else arg1 = 0;
20694 }
20695 {
20696 PyThreadState* __tstate = wxPyBeginAllowThreads();
20697 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
20698
20699 wxPyEndAllowThreads(__tstate);
20700 if (PyErr_Occurred()) SWIG_fail;
20701 }
2f4c0a16 20702 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
41f1cec7
RD
20703 {
20704 delete [] arg2;
20705 }
20706 return resultobj;
20707 fail:
20708 {
20709 delete [] arg2;
20710 }
20711 return NULL;
20712}
20713
20714
2f4c0a16 20715static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20716 PyObject *resultobj;
20717 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
20718 PyObject * obj0 = 0 ;
20719 char *kwnames[] = {
20720 (char *) "self", NULL
20721 };
20722
20723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
20725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20726 {
20727 PyThreadState* __tstate = wxPyBeginAllowThreads();
20728 delete arg1;
20729
20730 wxPyEndAllowThreads(__tstate);
20731 if (PyErr_Occurred()) SWIG_fail;
20732 }
20733 Py_INCREF(Py_None); resultobj = Py_None;
20734 return resultobj;
20735 fail:
20736 return NULL;
20737}
20738
20739
2f4c0a16 20740static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20741 PyObject *resultobj;
20742 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
20743 bool result;
20744 PyObject * obj0 = 0 ;
20745 char *kwnames[] = {
20746 (char *) "self", NULL
20747 };
20748
20749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
20751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20752 {
20753 PyThreadState* __tstate = wxPyBeginAllowThreads();
20754 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
20755
20756 wxPyEndAllowThreads(__tstate);
20757 if (PyErr_Occurred()) SWIG_fail;
20758 }
02a34c4c 20759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41f1cec7
RD
20760 return resultobj;
20761 fail:
20762 return NULL;
20763}
20764
20765
2f4c0a16 20766static PyObject * AcceleratorTable_swigregister(PyObject *, PyObject *args) {
41f1cec7
RD
20767 PyObject *obj;
20768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20769 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
20770 Py_INCREF(obj);
20771 return Py_BuildValue((char *)"");
20772}
8edf1c75 20773static int _wrap_NullAcceleratorTable_set(PyObject *) {
41f1cec7
RD
20774 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
20775 return 1;
20776}
20777
20778
20779static PyObject *_wrap_NullAcceleratorTable_get() {
20780 PyObject *pyobj;
20781
2f4c0a16 20782 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
41f1cec7
RD
20783 return pyobj;
20784}
20785
20786
2f4c0a16 20787static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20788 PyObject *resultobj;
20789 wxString *arg1 = 0 ;
20790 wxAcceleratorEntry *result;
20791 bool temp1 = False ;
20792 PyObject * obj0 = 0 ;
20793 char *kwnames[] = {
20794 (char *) "label", NULL
20795 };
20796
20797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
20798 {
20799 arg1 = wxString_in_helper(obj0);
20800 if (arg1 == NULL) SWIG_fail;
20801 temp1 = True;
20802 }
20803 {
20804 PyThreadState* __tstate = wxPyBeginAllowThreads();
20805 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
20806
20807 wxPyEndAllowThreads(__tstate);
20808 if (PyErr_Occurred()) SWIG_fail;
20809 }
2f4c0a16 20810 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
41f1cec7
RD
20811 {
20812 if (temp1)
20813 delete arg1;
20814 }
20815 return resultobj;
20816 fail:
20817 {
20818 if (temp1)
20819 delete arg1;
20820 }
20821 return NULL;
20822}
20823
20824
8edf1c75 20825static int _wrap_PanelNameStr_set(PyObject *) {
423f194a
RD
20826 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
20827 return 1;
20828}
20829
20830
20831static PyObject *_wrap_PanelNameStr_get() {
20832 PyObject *pyobj;
20833
20834 {
20835#if wxUSE_UNICODE
20836 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
20837#else
20838 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
20839#endif
20840 }
20841 return pyobj;
20842}
20843
20844
2f4c0a16 20845static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20846 PyObject *resultobj;
20847 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 20848 int arg2 ;
d14a1e28
RD
20849 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20850 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20851 wxSize const &arg4_defvalue = wxDefaultSize ;
20852 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20853 long arg5 = (long) 0 ;
20854 wxString const &arg6_defvalue = wxPyPanelNameStr ;
20855 wxString *arg6 = (wxString *) &arg6_defvalue ;
20856 wxWindow *result;
20857 wxPoint temp3 ;
20858 wxSize temp4 ;
423f194a 20859 bool temp6 = False ;
d14a1e28 20860 PyObject * obj0 = 0 ;
8edf1c75 20861 PyObject * obj1 = 0 ;
d14a1e28
RD
20862 PyObject * obj2 = 0 ;
20863 PyObject * obj3 = 0 ;
8edf1c75 20864 PyObject * obj4 = 0 ;
d14a1e28
RD
20865 PyObject * obj5 = 0 ;
20866 char *kwnames[] = {
20867 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20868 };
20869
8edf1c75 20870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
20871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20873 arg2 = (int const) SWIG_AsInt(obj1);
20874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20875 if (obj2) {
20876 {
20877 arg3 = &temp3;
20878 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20879 }
20880 }
20881 if (obj3) {
20882 {
20883 arg4 = &temp4;
20884 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20885 }
20886 }
8edf1c75 20887 if (obj4) {
2f4c0a16
RD
20888 arg5 = (long) SWIG_AsLong(obj4);
20889 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20890 }
d14a1e28
RD
20891 if (obj5) {
20892 {
20893 arg6 = wxString_in_helper(obj5);
20894 if (arg6 == NULL) SWIG_fail;
423f194a 20895 temp6 = True;
d14a1e28
RD
20896 }
20897 }
20898 {
20899 PyThreadState* __tstate = wxPyBeginAllowThreads();
20900 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20901
20902 wxPyEndAllowThreads(__tstate);
20903 if (PyErr_Occurred()) SWIG_fail;
20904 }
20905 {
20906 resultobj = wxPyMake_wxObject(result);
20907 }
20908 {
20909 if (temp6)
20910 delete arg6;
20911 }
20912 return resultobj;
20913 fail:
20914 {
20915 if (temp6)
20916 delete arg6;
20917 }
20918 return NULL;
20919}
20920
20921
2f4c0a16 20922static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20923 PyObject *resultobj;
20924 wxWindow *result;
20925 char *kwnames[] = {
20926 NULL
20927 };
20928
20929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
20930 {
20931 PyThreadState* __tstate = wxPyBeginAllowThreads();
20932 result = (wxWindow *)new wxWindow();
20933
20934 wxPyEndAllowThreads(__tstate);
20935 if (PyErr_Occurred()) SWIG_fail;
20936 }
20937 {
20938 resultobj = wxPyMake_wxObject(result);
20939 }
20940 return resultobj;
20941 fail:
20942 return NULL;
20943}
20944
20945
2f4c0a16 20946static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20947 PyObject *resultobj;
20948 wxWindow *arg1 = (wxWindow *) 0 ;
20949 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 20950 int arg3 ;
d14a1e28
RD
20951 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20952 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20953 wxSize const &arg5_defvalue = wxDefaultSize ;
20954 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20955 long arg6 = (long) 0 ;
20956 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20957 wxString *arg7 = (wxString *) &arg7_defvalue ;
20958 bool result;
20959 wxPoint temp4 ;
20960 wxSize temp5 ;
423f194a 20961 bool temp7 = False ;
d14a1e28
RD
20962 PyObject * obj0 = 0 ;
20963 PyObject * obj1 = 0 ;
8edf1c75 20964 PyObject * obj2 = 0 ;
d14a1e28
RD
20965 PyObject * obj3 = 0 ;
20966 PyObject * obj4 = 0 ;
8edf1c75 20967 PyObject * obj5 = 0 ;
d14a1e28
RD
20968 PyObject * obj6 = 0 ;
20969 char *kwnames[] = {
20970 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20971 };
20972
8edf1c75 20973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
20974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20976 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20978 arg3 = (int const) SWIG_AsInt(obj2);
20979 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20980 if (obj3) {
20981 {
20982 arg4 = &temp4;
20983 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20984 }
20985 }
20986 if (obj4) {
20987 {
20988 arg5 = &temp5;
20989 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20990 }
20991 }
8edf1c75 20992 if (obj5) {
2f4c0a16
RD
20993 arg6 = (long) SWIG_AsLong(obj5);
20994 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20995 }
d14a1e28
RD
20996 if (obj6) {
20997 {
20998 arg7 = wxString_in_helper(obj6);
20999 if (arg7 == NULL) SWIG_fail;
423f194a 21000 temp7 = True;
d14a1e28
RD
21001 }
21002 }
21003 {
21004 PyThreadState* __tstate = wxPyBeginAllowThreads();
21005 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21006
21007 wxPyEndAllowThreads(__tstate);
21008 if (PyErr_Occurred()) SWIG_fail;
21009 }
02a34c4c 21010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21011 {
21012 if (temp7)
21013 delete arg7;
21014 }
21015 return resultobj;
21016 fail:
21017 {
21018 if (temp7)
21019 delete arg7;
21020 }
21021 return NULL;
21022}
21023
21024
2f4c0a16 21025static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21026 PyObject *resultobj;
21027 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21028 bool arg2 = (bool) False ;
d14a1e28
RD
21029 bool result;
21030 PyObject * obj0 = 0 ;
21031 PyObject * obj1 = 0 ;
21032 char *kwnames[] = {
21033 (char *) "self",(char *) "force", NULL
21034 };
21035
21036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21039 if (obj1) {
2f4c0a16
RD
21040 arg2 = (bool) SWIG_AsBool(obj1);
21041 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21042 }
21043 {
21044 PyThreadState* __tstate = wxPyBeginAllowThreads();
21045 result = (bool)(arg1)->Close(arg2);
21046
21047 wxPyEndAllowThreads(__tstate);
21048 if (PyErr_Occurred()) SWIG_fail;
21049 }
02a34c4c 21050 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21051 return resultobj;
21052 fail:
21053 return NULL;
21054}
21055
21056
2f4c0a16 21057static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21058 PyObject *resultobj;
21059 wxWindow *arg1 = (wxWindow *) 0 ;
21060 bool result;
21061 PyObject * obj0 = 0 ;
21062 char *kwnames[] = {
21063 (char *) "self", NULL
21064 };
21065
21066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21069 {
21070 PyThreadState* __tstate = wxPyBeginAllowThreads();
21071 result = (bool)(arg1)->Destroy();
21072
21073 wxPyEndAllowThreads(__tstate);
21074 if (PyErr_Occurred()) SWIG_fail;
21075 }
02a34c4c 21076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21077 return resultobj;
21078 fail:
21079 return NULL;
21080}
21081
21082
2f4c0a16 21083static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21084 PyObject *resultobj;
21085 wxWindow *arg1 = (wxWindow *) 0 ;
21086 bool result;
21087 PyObject * obj0 = 0 ;
21088 char *kwnames[] = {
21089 (char *) "self", NULL
21090 };
21091
21092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21095 {
21096 PyThreadState* __tstate = wxPyBeginAllowThreads();
21097 result = (bool)(arg1)->DestroyChildren();
21098
21099 wxPyEndAllowThreads(__tstate);
21100 if (PyErr_Occurred()) SWIG_fail;
21101 }
02a34c4c 21102 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21103 return resultobj;
21104 fail:
21105 return NULL;
21106}
21107
21108
2f4c0a16 21109static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21110 PyObject *resultobj;
21111 wxWindow *arg1 = (wxWindow *) 0 ;
21112 bool result;
21113 PyObject * obj0 = 0 ;
21114 char *kwnames[] = {
21115 (char *) "self", NULL
21116 };
21117
21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21124
21125 wxPyEndAllowThreads(__tstate);
21126 if (PyErr_Occurred()) SWIG_fail;
21127 }
02a34c4c 21128 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21129 return resultobj;
21130 fail:
21131 return NULL;
21132}
21133
21134
2f4c0a16 21135static PyObject *_wrap_Window_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21136 PyObject *resultobj;
21137 wxWindow *arg1 = (wxWindow *) 0 ;
21138 wxString *arg2 = 0 ;
423f194a 21139 bool temp2 = False ;
d14a1e28
RD
21140 PyObject * obj0 = 0 ;
21141 PyObject * obj1 = 0 ;
21142 char *kwnames[] = {
21143 (char *) "self",(char *) "title", NULL
21144 };
21145
21146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21149 {
21150 arg2 = wxString_in_helper(obj1);
21151 if (arg2 == NULL) SWIG_fail;
423f194a 21152 temp2 = True;
d14a1e28
RD
21153 }
21154 {
21155 PyThreadState* __tstate = wxPyBeginAllowThreads();
21156 (arg1)->SetTitle((wxString const &)*arg2);
21157
21158 wxPyEndAllowThreads(__tstate);
21159 if (PyErr_Occurred()) SWIG_fail;
21160 }
21161 Py_INCREF(Py_None); resultobj = Py_None;
21162 {
21163 if (temp2)
21164 delete arg2;
21165 }
21166 return resultobj;
21167 fail:
21168 {
21169 if (temp2)
21170 delete arg2;
21171 }
21172 return NULL;
21173}
21174
21175
2f4c0a16 21176static PyObject *_wrap_Window_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21177 PyObject *resultobj;
21178 wxWindow *arg1 = (wxWindow *) 0 ;
21179 wxString result;
21180 PyObject * obj0 = 0 ;
21181 char *kwnames[] = {
21182 (char *) "self", NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21188 {
21189 PyThreadState* __tstate = wxPyBeginAllowThreads();
21190 result = ((wxWindow const *)arg1)->GetTitle();
21191
21192 wxPyEndAllowThreads(__tstate);
21193 if (PyErr_Occurred()) SWIG_fail;
21194 }
21195 {
21196#if wxUSE_UNICODE
21197 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21198#else
21199 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21200#endif
21201 }
21202 return resultobj;
21203 fail:
21204 return NULL;
21205}
21206
21207
2f4c0a16 21208static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21209 PyObject *resultobj;
21210 wxWindow *arg1 = (wxWindow *) 0 ;
21211 wxString *arg2 = 0 ;
423f194a 21212 bool temp2 = False ;
d14a1e28
RD
21213 PyObject * obj0 = 0 ;
21214 PyObject * obj1 = 0 ;
21215 char *kwnames[] = {
21216 (char *) "self",(char *) "label", NULL
21217 };
21218
21219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21222 {
21223 arg2 = wxString_in_helper(obj1);
21224 if (arg2 == NULL) SWIG_fail;
423f194a 21225 temp2 = True;
d14a1e28
RD
21226 }
21227 {
21228 PyThreadState* __tstate = wxPyBeginAllowThreads();
21229 (arg1)->SetLabel((wxString const &)*arg2);
21230
21231 wxPyEndAllowThreads(__tstate);
21232 if (PyErr_Occurred()) SWIG_fail;
21233 }
21234 Py_INCREF(Py_None); resultobj = Py_None;
21235 {
21236 if (temp2)
21237 delete arg2;
21238 }
21239 return resultobj;
21240 fail:
21241 {
21242 if (temp2)
21243 delete arg2;
21244 }
21245 return NULL;
21246}
21247
21248
2f4c0a16 21249static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21250 PyObject *resultobj;
21251 wxWindow *arg1 = (wxWindow *) 0 ;
21252 wxString result;
21253 PyObject * obj0 = 0 ;
21254 char *kwnames[] = {
21255 (char *) "self", NULL
21256 };
21257
21258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21261 {
21262 PyThreadState* __tstate = wxPyBeginAllowThreads();
21263 result = ((wxWindow const *)arg1)->GetLabel();
21264
21265 wxPyEndAllowThreads(__tstate);
21266 if (PyErr_Occurred()) SWIG_fail;
21267 }
21268 {
21269#if wxUSE_UNICODE
21270 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21271#else
21272 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21273#endif
21274 }
21275 return resultobj;
21276 fail:
21277 return NULL;
21278}
21279
21280
2f4c0a16 21281static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21282 PyObject *resultobj;
21283 wxWindow *arg1 = (wxWindow *) 0 ;
21284 wxString *arg2 = 0 ;
423f194a 21285 bool temp2 = False ;
d14a1e28
RD
21286 PyObject * obj0 = 0 ;
21287 PyObject * obj1 = 0 ;
21288 char *kwnames[] = {
21289 (char *) "self",(char *) "name", NULL
21290 };
21291
21292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21295 {
21296 arg2 = wxString_in_helper(obj1);
21297 if (arg2 == NULL) SWIG_fail;
423f194a 21298 temp2 = True;
d14a1e28
RD
21299 }
21300 {
21301 PyThreadState* __tstate = wxPyBeginAllowThreads();
21302 (arg1)->SetName((wxString const &)*arg2);
21303
21304 wxPyEndAllowThreads(__tstate);
21305 if (PyErr_Occurred()) SWIG_fail;
21306 }
21307 Py_INCREF(Py_None); resultobj = Py_None;
21308 {
21309 if (temp2)
21310 delete arg2;
21311 }
21312 return resultobj;
21313 fail:
21314 {
21315 if (temp2)
21316 delete arg2;
21317 }
21318 return NULL;
21319}
21320
21321
2f4c0a16 21322static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21323 PyObject *resultobj;
21324 wxWindow *arg1 = (wxWindow *) 0 ;
21325 wxString result;
21326 PyObject * obj0 = 0 ;
21327 char *kwnames[] = {
21328 (char *) "self", NULL
21329 };
21330
21331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21334 {
21335 PyThreadState* __tstate = wxPyBeginAllowThreads();
21336 result = ((wxWindow const *)arg1)->GetName();
21337
21338 wxPyEndAllowThreads(__tstate);
21339 if (PyErr_Occurred()) SWIG_fail;
21340 }
21341 {
21342#if wxUSE_UNICODE
21343 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21344#else
21345 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21346#endif
21347 }
21348 return resultobj;
21349 fail:
21350 return NULL;
21351}
21352
21353
ce7284bd
RD
21354static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
21355 PyObject *resultobj;
21356 wxWindow *arg1 = (wxWindow *) 0 ;
21357 int arg2 ;
21358 PyObject * obj0 = 0 ;
21359 PyObject * obj1 = 0 ;
21360 char *kwnames[] = {
21361 (char *) "self",(char *) "variant", NULL
21362 };
21363
21364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
21365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21367 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
21368 if (PyErr_Occurred()) SWIG_fail;
21369 {
21370 PyThreadState* __tstate = wxPyBeginAllowThreads();
21371 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
21372
21373 wxPyEndAllowThreads(__tstate);
21374 if (PyErr_Occurred()) SWIG_fail;
21375 }
21376 Py_INCREF(Py_None); resultobj = Py_None;
21377 return resultobj;
21378 fail:
21379 return NULL;
21380}
21381
21382
21383static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
21384 PyObject *resultobj;
21385 wxWindow *arg1 = (wxWindow *) 0 ;
21386 int result;
21387 PyObject * obj0 = 0 ;
21388 char *kwnames[] = {
21389 (char *) "self", NULL
21390 };
21391
21392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
21393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21395 {
21396 PyThreadState* __tstate = wxPyBeginAllowThreads();
21397 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
21398
21399 wxPyEndAllowThreads(__tstate);
21400 if (PyErr_Occurred()) SWIG_fail;
21401 }
21402 resultobj = SWIG_FromInt((int)result);
21403 return resultobj;
21404 fail:
21405 return NULL;
21406}
21407
21408
2f4c0a16 21409static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21410 PyObject *resultobj;
21411 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21412 int arg2 ;
d14a1e28 21413 PyObject * obj0 = 0 ;
8edf1c75 21414 PyObject * obj1 = 0 ;
d14a1e28
RD
21415 char *kwnames[] = {
21416 (char *) "self",(char *) "winid", NULL
21417 };
21418
8edf1c75 21419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21422 arg2 = (int) SWIG_AsInt(obj1);
21423 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21424 {
21425 PyThreadState* __tstate = wxPyBeginAllowThreads();
21426 (arg1)->SetId(arg2);
21427
21428 wxPyEndAllowThreads(__tstate);
21429 if (PyErr_Occurred()) SWIG_fail;
21430 }
21431 Py_INCREF(Py_None); resultobj = Py_None;
21432 return resultobj;
21433 fail:
21434 return NULL;
21435}
21436
21437
2f4c0a16 21438static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21439 PyObject *resultobj;
21440 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21441 int result;
d14a1e28
RD
21442 PyObject * obj0 = 0 ;
21443 char *kwnames[] = {
21444 (char *) "self", NULL
21445 };
21446
21447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21448 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21449 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21450 {
21451 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 21452 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
21453
21454 wxPyEndAllowThreads(__tstate);
21455 if (PyErr_Occurred()) SWIG_fail;
21456 }
2f4c0a16 21457 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21458 return resultobj;
21459 fail:
21460 return NULL;
21461}
21462
21463
2f4c0a16 21464static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21465 PyObject *resultobj;
21466 int result;
21467 char *kwnames[] = {
21468 NULL
21469 };
21470
21471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
21472 {
21473 PyThreadState* __tstate = wxPyBeginAllowThreads();
21474 result = (int)wxWindow::NewControlId();
21475
21476 wxPyEndAllowThreads(__tstate);
21477 if (PyErr_Occurred()) SWIG_fail;
21478 }
2f4c0a16 21479 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21480 return resultobj;
21481 fail:
21482 return NULL;
21483}
21484
21485
2f4c0a16 21486static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21487 PyObject *resultobj;
21488 int arg1 ;
21489 int result;
8edf1c75 21490 PyObject * obj0 = 0 ;
d14a1e28
RD
21491 char *kwnames[] = {
21492 (char *) "winid", NULL
21493 };
21494
8edf1c75 21495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21496 arg1 = (int) SWIG_AsInt(obj0);
21497 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21498 {
21499 PyThreadState* __tstate = wxPyBeginAllowThreads();
21500 result = (int)wxWindow::NextControlId(arg1);
21501
21502 wxPyEndAllowThreads(__tstate);
21503 if (PyErr_Occurred()) SWIG_fail;
21504 }
2f4c0a16 21505 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21506 return resultobj;
21507 fail:
21508 return NULL;
21509}
21510
21511
2f4c0a16 21512static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21513 PyObject *resultobj;
21514 int arg1 ;
21515 int result;
8edf1c75 21516 PyObject * obj0 = 0 ;
d14a1e28
RD
21517 char *kwnames[] = {
21518 (char *) "winid", NULL
21519 };
21520
8edf1c75 21521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21522 arg1 = (int) SWIG_AsInt(obj0);
21523 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21524 {
21525 PyThreadState* __tstate = wxPyBeginAllowThreads();
21526 result = (int)wxWindow::PrevControlId(arg1);
21527
21528 wxPyEndAllowThreads(__tstate);
21529 if (PyErr_Occurred()) SWIG_fail;
21530 }
2f4c0a16 21531 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21532 return resultobj;
21533 fail:
21534 return NULL;
21535}
21536
21537
2f4c0a16 21538static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21539 PyObject *resultobj;
21540 wxWindow *arg1 = (wxWindow *) 0 ;
21541 wxSize *arg2 = 0 ;
21542 wxSize temp2 ;
21543 PyObject * obj0 = 0 ;
21544 PyObject * obj1 = 0 ;
21545 char *kwnames[] = {
21546 (char *) "self",(char *) "size", NULL
21547 };
21548
21549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21552 {
21553 arg2 = &temp2;
21554 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21555 }
21556 {
21557 PyThreadState* __tstate = wxPyBeginAllowThreads();
21558 (arg1)->SetSize((wxSize const &)*arg2);
21559
21560 wxPyEndAllowThreads(__tstate);
21561 if (PyErr_Occurred()) SWIG_fail;
21562 }
21563 Py_INCREF(Py_None); resultobj = Py_None;
21564 return resultobj;
21565 fail:
21566 return NULL;
21567}
21568
21569
2f4c0a16 21570static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21571 PyObject *resultobj;
21572 wxWindow *arg1 = (wxWindow *) 0 ;
21573 int arg2 ;
21574 int arg3 ;
21575 int arg4 ;
21576 int arg5 ;
21577 int arg6 = (int) wxSIZE_AUTO ;
21578 PyObject * obj0 = 0 ;
8edf1c75
RD
21579 PyObject * obj1 = 0 ;
21580 PyObject * obj2 = 0 ;
21581 PyObject * obj3 = 0 ;
21582 PyObject * obj4 = 0 ;
21583 PyObject * obj5 = 0 ;
d14a1e28
RD
21584 char *kwnames[] = {
21585 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21586 };
21587
8edf1c75 21588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21591 arg2 = (int) SWIG_AsInt(obj1);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 arg3 = (int) SWIG_AsInt(obj2);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 arg4 = (int) SWIG_AsInt(obj3);
21596 if (PyErr_Occurred()) SWIG_fail;
21597 arg5 = (int) SWIG_AsInt(obj4);
21598 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21599 if (obj5) {
2f4c0a16
RD
21600 arg6 = (int) SWIG_AsInt(obj5);
21601 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21602 }
d14a1e28
RD
21603 {
21604 PyThreadState* __tstate = wxPyBeginAllowThreads();
21605 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
21606
21607 wxPyEndAllowThreads(__tstate);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
21610 Py_INCREF(Py_None); resultobj = Py_None;
21611 return resultobj;
21612 fail:
21613 return NULL;
21614}
21615
21616
2f4c0a16 21617static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21618 PyObject *resultobj;
21619 wxWindow *arg1 = (wxWindow *) 0 ;
21620 wxRect *arg2 = 0 ;
21621 int arg3 = (int) wxSIZE_AUTO ;
21622 wxRect temp2 ;
21623 PyObject * obj0 = 0 ;
21624 PyObject * obj1 = 0 ;
8edf1c75 21625 PyObject * obj2 = 0 ;
d14a1e28
RD
21626 char *kwnames[] = {
21627 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21628 };
21629
8edf1c75 21630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21633 {
21634 arg2 = &temp2;
21635 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21636 }
8edf1c75 21637 if (obj2) {
2f4c0a16
RD
21638 arg3 = (int) SWIG_AsInt(obj2);
21639 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21640 }
d14a1e28
RD
21641 {
21642 PyThreadState* __tstate = wxPyBeginAllowThreads();
21643 (arg1)->SetSize((wxRect const &)*arg2,arg3);
21644
21645 wxPyEndAllowThreads(__tstate);
21646 if (PyErr_Occurred()) SWIG_fail;
21647 }
21648 Py_INCREF(Py_None); resultobj = Py_None;
21649 return resultobj;
21650 fail:
21651 return NULL;
21652}
21653
21654
2f4c0a16 21655static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21656 PyObject *resultobj;
21657 wxWindow *arg1 = (wxWindow *) 0 ;
21658 int arg2 ;
21659 int arg3 ;
21660 PyObject * obj0 = 0 ;
8edf1c75
RD
21661 PyObject * obj1 = 0 ;
21662 PyObject * obj2 = 0 ;
d14a1e28
RD
21663 char *kwnames[] = {
21664 (char *) "self",(char *) "width",(char *) "height", NULL
21665 };
21666
8edf1c75 21667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21670 arg2 = (int) SWIG_AsInt(obj1);
21671 if (PyErr_Occurred()) SWIG_fail;
21672 arg3 = (int) SWIG_AsInt(obj2);
21673 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21674 {
21675 PyThreadState* __tstate = wxPyBeginAllowThreads();
21676 (arg1)->SetSize(arg2,arg3);
21677
21678 wxPyEndAllowThreads(__tstate);
21679 if (PyErr_Occurred()) SWIG_fail;
21680 }
21681 Py_INCREF(Py_None); resultobj = Py_None;
21682 return resultobj;
21683 fail:
21684 return NULL;
21685}
21686
21687
2f4c0a16 21688static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21689 PyObject *resultobj;
21690 wxWindow *arg1 = (wxWindow *) 0 ;
21691 wxPoint *arg2 = 0 ;
21692 int arg3 = (int) wxSIZE_USE_EXISTING ;
21693 wxPoint temp2 ;
21694 PyObject * obj0 = 0 ;
21695 PyObject * obj1 = 0 ;
8edf1c75 21696 PyObject * obj2 = 0 ;
d14a1e28
RD
21697 char *kwnames[] = {
21698 (char *) "self",(char *) "pt",(char *) "flags", NULL
21699 };
21700
8edf1c75 21701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21704 {
21705 arg2 = &temp2;
21706 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21707 }
8edf1c75 21708 if (obj2) {
2f4c0a16
RD
21709 arg3 = (int) SWIG_AsInt(obj2);
21710 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21711 }
d14a1e28
RD
21712 {
21713 PyThreadState* __tstate = wxPyBeginAllowThreads();
21714 (arg1)->Move((wxPoint const &)*arg2,arg3);
21715
21716 wxPyEndAllowThreads(__tstate);
21717 if (PyErr_Occurred()) SWIG_fail;
21718 }
21719 Py_INCREF(Py_None); resultobj = Py_None;
21720 return resultobj;
21721 fail:
21722 return NULL;
21723}
21724
21725
2f4c0a16 21726static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21727 PyObject *resultobj;
21728 wxWindow *arg1 = (wxWindow *) 0 ;
21729 int arg2 ;
21730 int arg3 ;
21731 int arg4 = (int) wxSIZE_USE_EXISTING ;
21732 PyObject * obj0 = 0 ;
8edf1c75
RD
21733 PyObject * obj1 = 0 ;
21734 PyObject * obj2 = 0 ;
21735 PyObject * obj3 = 0 ;
d14a1e28
RD
21736 char *kwnames[] = {
21737 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21738 };
21739
8edf1c75 21740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
21741 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21743 arg2 = (int) SWIG_AsInt(obj1);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 arg3 = (int) SWIG_AsInt(obj2);
21746 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21747 if (obj3) {
2f4c0a16
RD
21748 arg4 = (int) SWIG_AsInt(obj3);
21749 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21750 }
d14a1e28
RD
21751 {
21752 PyThreadState* __tstate = wxPyBeginAllowThreads();
21753 (arg1)->Move(arg2,arg3,arg4);
21754
21755 wxPyEndAllowThreads(__tstate);
21756 if (PyErr_Occurred()) SWIG_fail;
21757 }
21758 Py_INCREF(Py_None); resultobj = Py_None;
21759 return resultobj;
21760 fail:
21761 return NULL;
21762}
21763
21764
2f4c0a16 21765static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21766 PyObject *resultobj;
21767 wxWindow *arg1 = (wxWindow *) 0 ;
21768 PyObject * obj0 = 0 ;
21769 char *kwnames[] = {
21770 (char *) "self", NULL
21771 };
21772
21773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21776 {
21777 PyThreadState* __tstate = wxPyBeginAllowThreads();
21778 (arg1)->Raise();
21779
21780 wxPyEndAllowThreads(__tstate);
21781 if (PyErr_Occurred()) SWIG_fail;
21782 }
21783 Py_INCREF(Py_None); resultobj = Py_None;
21784 return resultobj;
21785 fail:
21786 return NULL;
21787}
21788
21789
2f4c0a16 21790static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21791 PyObject *resultobj;
21792 wxWindow *arg1 = (wxWindow *) 0 ;
21793 PyObject * obj0 = 0 ;
21794 char *kwnames[] = {
21795 (char *) "self", NULL
21796 };
21797
21798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21801 {
21802 PyThreadState* __tstate = wxPyBeginAllowThreads();
21803 (arg1)->Lower();
21804
21805 wxPyEndAllowThreads(__tstate);
21806 if (PyErr_Occurred()) SWIG_fail;
21807 }
21808 Py_INCREF(Py_None); resultobj = Py_None;
21809 return resultobj;
21810 fail:
21811 return NULL;
21812}
21813
21814
2f4c0a16 21815static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21816 PyObject *resultobj;
21817 wxWindow *arg1 = (wxWindow *) 0 ;
21818 wxSize *arg2 = 0 ;
21819 wxSize temp2 ;
21820 PyObject * obj0 = 0 ;
21821 PyObject * obj1 = 0 ;
21822 char *kwnames[] = {
21823 (char *) "self",(char *) "size", NULL
21824 };
21825
21826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21829 {
21830 arg2 = &temp2;
21831 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21832 }
21833 {
21834 PyThreadState* __tstate = wxPyBeginAllowThreads();
21835 (arg1)->SetClientSize((wxSize const &)*arg2);
21836
21837 wxPyEndAllowThreads(__tstate);
21838 if (PyErr_Occurred()) SWIG_fail;
21839 }
21840 Py_INCREF(Py_None); resultobj = Py_None;
21841 return resultobj;
21842 fail:
21843 return NULL;
21844}
21845
21846
2f4c0a16 21847static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21848 PyObject *resultobj;
21849 wxWindow *arg1 = (wxWindow *) 0 ;
21850 int arg2 ;
21851 int arg3 ;
21852 PyObject * obj0 = 0 ;
8edf1c75
RD
21853 PyObject * obj1 = 0 ;
21854 PyObject * obj2 = 0 ;
d14a1e28
RD
21855 char *kwnames[] = {
21856 (char *) "self",(char *) "width",(char *) "height", NULL
21857 };
21858
8edf1c75 21859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21862 arg2 = (int) SWIG_AsInt(obj1);
21863 if (PyErr_Occurred()) SWIG_fail;
21864 arg3 = (int) SWIG_AsInt(obj2);
21865 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21866 {
21867 PyThreadState* __tstate = wxPyBeginAllowThreads();
21868 (arg1)->SetClientSize(arg2,arg3);
21869
21870 wxPyEndAllowThreads(__tstate);
21871 if (PyErr_Occurred()) SWIG_fail;
21872 }
21873 Py_INCREF(Py_None); resultobj = Py_None;
21874 return resultobj;
21875 fail:
21876 return NULL;
21877}
21878
21879
2f4c0a16 21880static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21881 PyObject *resultobj;
21882 wxWindow *arg1 = (wxWindow *) 0 ;
21883 wxRect *arg2 = 0 ;
21884 wxRect temp2 ;
21885 PyObject * obj0 = 0 ;
21886 PyObject * obj1 = 0 ;
21887 char *kwnames[] = {
21888 (char *) "self",(char *) "rect", NULL
21889 };
21890
21891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21894 {
21895 arg2 = &temp2;
21896 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21897 }
21898 {
21899 PyThreadState* __tstate = wxPyBeginAllowThreads();
21900 (arg1)->SetClientSize((wxRect const &)*arg2);
21901
21902 wxPyEndAllowThreads(__tstate);
21903 if (PyErr_Occurred()) SWIG_fail;
21904 }
21905 Py_INCREF(Py_None); resultobj = Py_None;
21906 return resultobj;
21907 fail:
21908 return NULL;
21909}
21910
21911
2f4c0a16 21912static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21913 PyObject *resultobj;
21914 wxWindow *arg1 = (wxWindow *) 0 ;
21915 wxPoint result;
21916 PyObject * obj0 = 0 ;
21917 char *kwnames[] = {
21918 (char *) "self", NULL
21919 };
21920
21921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21924 {
21925 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 21926 result = (arg1)->GetPosition();
d14a1e28
RD
21927
21928 wxPyEndAllowThreads(__tstate);
21929 if (PyErr_Occurred()) SWIG_fail;
21930 }
21931 {
21932 wxPoint * resultptr;
21933 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 21934 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
21935 }
21936 return resultobj;
21937 fail:
21938 return NULL;
21939}
21940
21941
2f4c0a16 21942static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21943 PyObject *resultobj;
21944 wxWindow *arg1 = (wxWindow *) 0 ;
21945 int *arg2 = (int *) 0 ;
21946 int *arg3 = (int *) 0 ;
21947 int temp2 ;
21948 int temp3 ;
21949 PyObject * obj0 = 0 ;
21950 char *kwnames[] = {
21951 (char *) "self", NULL
21952 };
21953
21954 arg2 = &temp2;
21955 arg3 = &temp3;
21956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21957 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21958 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21959 {
21960 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 21961 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
21962
21963 wxPyEndAllowThreads(__tstate);
21964 if (PyErr_Occurred()) SWIG_fail;
21965 }
21966 Py_INCREF(Py_None); resultobj = Py_None;
21967 {
21968 PyObject *o = PyInt_FromLong((long) (*arg2));
21969 resultobj = t_output_helper(resultobj,o);
21970 }
21971 {
21972 PyObject *o = PyInt_FromLong((long) (*arg3));
21973 resultobj = t_output_helper(resultobj,o);
21974 }
21975 return resultobj;
21976 fail:
21977 return NULL;
21978}
21979
21980
2f4c0a16 21981static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21982 PyObject *resultobj;
21983 wxWindow *arg1 = (wxWindow *) 0 ;
21984 wxSize result;
21985 PyObject * obj0 = 0 ;
21986 char *kwnames[] = {
21987 (char *) "self", NULL
21988 };
21989
21990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21993 {
21994 PyThreadState* __tstate = wxPyBeginAllowThreads();
21995 result = ((wxWindow const *)arg1)->GetSize();
21996
21997 wxPyEndAllowThreads(__tstate);
21998 if (PyErr_Occurred()) SWIG_fail;
21999 }
22000 {
22001 wxSize * resultptr;
22002 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22003 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22004 }
22005 return resultobj;
22006 fail:
22007 return NULL;
22008}
22009
22010
2f4c0a16 22011static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22012 PyObject *resultobj;
22013 wxWindow *arg1 = (wxWindow *) 0 ;
22014 int *arg2 = (int *) 0 ;
22015 int *arg3 = (int *) 0 ;
22016 int temp2 ;
22017 int temp3 ;
22018 PyObject * obj0 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "self", NULL
22021 };
22022
22023 arg2 = &temp2;
22024 arg3 = &temp3;
22025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22028 {
22029 PyThreadState* __tstate = wxPyBeginAllowThreads();
22030 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22031
22032 wxPyEndAllowThreads(__tstate);
22033 if (PyErr_Occurred()) SWIG_fail;
22034 }
22035 Py_INCREF(Py_None); resultobj = Py_None;
22036 {
22037 PyObject *o = PyInt_FromLong((long) (*arg2));
22038 resultobj = t_output_helper(resultobj,o);
22039 }
22040 {
22041 PyObject *o = PyInt_FromLong((long) (*arg3));
22042 resultobj = t_output_helper(resultobj,o);
22043 }
22044 return resultobj;
22045 fail:
22046 return NULL;
22047}
22048
22049
2f4c0a16 22050static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22051 PyObject *resultobj;
22052 wxWindow *arg1 = (wxWindow *) 0 ;
22053 wxRect result;
22054 PyObject * obj0 = 0 ;
22055 char *kwnames[] = {
22056 (char *) "self", NULL
22057 };
22058
22059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22062 {
22063 PyThreadState* __tstate = wxPyBeginAllowThreads();
22064 result = ((wxWindow const *)arg1)->GetRect();
22065
22066 wxPyEndAllowThreads(__tstate);
22067 if (PyErr_Occurred()) SWIG_fail;
22068 }
22069 {
22070 wxRect * resultptr;
22071 resultptr = new wxRect((wxRect &) result);
2f4c0a16 22072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22073 }
22074 return resultobj;
22075 fail:
22076 return NULL;
22077}
22078
22079
2f4c0a16 22080static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22081 PyObject *resultobj;
22082 wxWindow *arg1 = (wxWindow *) 0 ;
22083 wxSize result;
22084 PyObject * obj0 = 0 ;
22085 char *kwnames[] = {
22086 (char *) "self", NULL
22087 };
22088
22089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22092 {
22093 PyThreadState* __tstate = wxPyBeginAllowThreads();
22094 result = ((wxWindow const *)arg1)->GetClientSize();
22095
22096 wxPyEndAllowThreads(__tstate);
22097 if (PyErr_Occurred()) SWIG_fail;
22098 }
22099 {
22100 wxSize * resultptr;
22101 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22102 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22103 }
22104 return resultobj;
22105 fail:
22106 return NULL;
22107}
22108
22109
2f4c0a16 22110static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22111 PyObject *resultobj;
22112 wxWindow *arg1 = (wxWindow *) 0 ;
22113 int *arg2 = (int *) 0 ;
22114 int *arg3 = (int *) 0 ;
22115 int temp2 ;
22116 int temp3 ;
22117 PyObject * obj0 = 0 ;
22118 char *kwnames[] = {
22119 (char *) "self", NULL
22120 };
22121
22122 arg2 = &temp2;
22123 arg3 = &temp3;
22124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22127 {
22128 PyThreadState* __tstate = wxPyBeginAllowThreads();
22129 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22130
22131 wxPyEndAllowThreads(__tstate);
22132 if (PyErr_Occurred()) SWIG_fail;
22133 }
22134 Py_INCREF(Py_None); resultobj = Py_None;
22135 {
22136 PyObject *o = PyInt_FromLong((long) (*arg2));
22137 resultobj = t_output_helper(resultobj,o);
22138 }
22139 {
22140 PyObject *o = PyInt_FromLong((long) (*arg3));
22141 resultobj = t_output_helper(resultobj,o);
22142 }
22143 return resultobj;
22144 fail:
22145 return NULL;
22146}
22147
22148
2f4c0a16 22149static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22150 PyObject *resultobj;
22151 wxWindow *arg1 = (wxWindow *) 0 ;
22152 wxPoint result;
22153 PyObject * obj0 = 0 ;
22154 char *kwnames[] = {
22155 (char *) "self", NULL
22156 };
22157
22158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22161 {
22162 PyThreadState* __tstate = wxPyBeginAllowThreads();
22163 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22164
22165 wxPyEndAllowThreads(__tstate);
22166 if (PyErr_Occurred()) SWIG_fail;
22167 }
22168 {
22169 wxPoint * resultptr;
22170 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 22171 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22172 }
22173 return resultobj;
22174 fail:
22175 return NULL;
22176}
22177
22178
2f4c0a16 22179static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22180 PyObject *resultobj;
22181 wxWindow *arg1 = (wxWindow *) 0 ;
22182 wxRect result;
22183 PyObject * obj0 = 0 ;
22184 char *kwnames[] = {
22185 (char *) "self", NULL
22186 };
22187
22188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22191 {
22192 PyThreadState* __tstate = wxPyBeginAllowThreads();
22193 result = ((wxWindow const *)arg1)->GetClientRect();
22194
22195 wxPyEndAllowThreads(__tstate);
22196 if (PyErr_Occurred()) SWIG_fail;
22197 }
22198 {
22199 wxRect * resultptr;
22200 resultptr = new wxRect((wxRect &) result);
2f4c0a16 22201 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22202 }
22203 return resultobj;
22204 fail:
22205 return NULL;
22206}
22207
22208
2f4c0a16 22209static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22210 PyObject *resultobj;
22211 wxWindow *arg1 = (wxWindow *) 0 ;
22212 wxSize result;
22213 PyObject * obj0 = 0 ;
22214 char *kwnames[] = {
22215 (char *) "self", NULL
22216 };
22217
22218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22221 {
22222 PyThreadState* __tstate = wxPyBeginAllowThreads();
22223 result = ((wxWindow const *)arg1)->GetBestSize();
22224
22225 wxPyEndAllowThreads(__tstate);
22226 if (PyErr_Occurred()) SWIG_fail;
22227 }
22228 {
22229 wxSize * resultptr;
22230 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22232 }
22233 return resultobj;
22234 fail:
22235 return NULL;
22236}
22237
22238
2f4c0a16 22239static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22240 PyObject *resultobj;
22241 wxWindow *arg1 = (wxWindow *) 0 ;
22242 int *arg2 = (int *) 0 ;
22243 int *arg3 = (int *) 0 ;
22244 int temp2 ;
22245 int temp3 ;
22246 PyObject * obj0 = 0 ;
22247 char *kwnames[] = {
22248 (char *) "self", NULL
22249 };
22250
22251 arg2 = &temp2;
22252 arg3 = &temp3;
22253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22256 {
22257 PyThreadState* __tstate = wxPyBeginAllowThreads();
22258 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22259
22260 wxPyEndAllowThreads(__tstate);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 }
22263 Py_INCREF(Py_None); resultobj = Py_None;
22264 {
22265 PyObject *o = PyInt_FromLong((long) (*arg2));
22266 resultobj = t_output_helper(resultobj,o);
22267 }
22268 {
22269 PyObject *o = PyInt_FromLong((long) (*arg3));
22270 resultobj = t_output_helper(resultobj,o);
22271 }
22272 return resultobj;
22273 fail:
22274 return NULL;
22275}
22276
22277
2f4c0a16 22278static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22279 PyObject *resultobj;
22280 wxWindow *arg1 = (wxWindow *) 0 ;
22281 wxSize result;
22282 PyObject * obj0 = 0 ;
22283 char *kwnames[] = {
22284 (char *) "self", NULL
22285 };
22286
22287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22290 {
22291 PyThreadState* __tstate = wxPyBeginAllowThreads();
22292 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
22293
22294 wxPyEndAllowThreads(__tstate);
22295 if (PyErr_Occurred()) SWIG_fail;
22296 }
22297 {
22298 wxSize * resultptr;
22299 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22300 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22301 }
22302 return resultobj;
22303 fail:
22304 return NULL;
22305}
22306
22307
2f4c0a16 22308static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22309 PyObject *resultobj;
22310 wxWindow *arg1 = (wxWindow *) 0 ;
22311 int arg2 = (int) wxBOTH ;
22312 PyObject * obj0 = 0 ;
8edf1c75 22313 PyObject * obj1 = 0 ;
d14a1e28
RD
22314 char *kwnames[] = {
22315 (char *) "self",(char *) "direction", NULL
22316 };
22317
8edf1c75 22318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 22321 if (obj1) {
2f4c0a16
RD
22322 arg2 = (int) SWIG_AsInt(obj1);
22323 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22324 }
d14a1e28
RD
22325 {
22326 PyThreadState* __tstate = wxPyBeginAllowThreads();
22327 (arg1)->Center(arg2);
22328
22329 wxPyEndAllowThreads(__tstate);
22330 if (PyErr_Occurred()) SWIG_fail;
22331 }
22332 Py_INCREF(Py_None); resultobj = Py_None;
22333 return resultobj;
22334 fail:
22335 return NULL;
22336}
22337
22338
2f4c0a16 22339static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22340 PyObject *resultobj;
22341 wxWindow *arg1 = (wxWindow *) 0 ;
22342 int arg2 = (int) wxBOTH ;
22343 PyObject * obj0 = 0 ;
8edf1c75 22344 PyObject * obj1 = 0 ;
d14a1e28
RD
22345 char *kwnames[] = {
22346 (char *) "self",(char *) "dir", NULL
22347 };
22348
8edf1c75 22349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 22352 if (obj1) {
2f4c0a16
RD
22353 arg2 = (int) SWIG_AsInt(obj1);
22354 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22355 }
d14a1e28
RD
22356 {
22357 PyThreadState* __tstate = wxPyBeginAllowThreads();
22358 (arg1)->CenterOnScreen(arg2);
22359
22360 wxPyEndAllowThreads(__tstate);
22361 if (PyErr_Occurred()) SWIG_fail;
22362 }
22363 Py_INCREF(Py_None); resultobj = Py_None;
22364 return resultobj;
22365 fail:
22366 return NULL;
22367}
22368
22369
2f4c0a16 22370static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22371 PyObject *resultobj;
22372 wxWindow *arg1 = (wxWindow *) 0 ;
22373 int arg2 = (int) wxBOTH ;
22374 PyObject * obj0 = 0 ;
8edf1c75 22375 PyObject * obj1 = 0 ;
d14a1e28
RD
22376 char *kwnames[] = {
22377 (char *) "self",(char *) "dir", NULL
22378 };
22379
8edf1c75 22380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 22383 if (obj1) {
2f4c0a16
RD
22384 arg2 = (int) SWIG_AsInt(obj1);
22385 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22386 }
d14a1e28
RD
22387 {
22388 PyThreadState* __tstate = wxPyBeginAllowThreads();
22389 (arg1)->CenterOnParent(arg2);
22390
22391 wxPyEndAllowThreads(__tstate);
22392 if (PyErr_Occurred()) SWIG_fail;
22393 }
22394 Py_INCREF(Py_None); resultobj = Py_None;
22395 return resultobj;
22396 fail:
22397 return NULL;
22398}
22399
22400
2f4c0a16 22401static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22402 PyObject *resultobj;
22403 wxWindow *arg1 = (wxWindow *) 0 ;
22404 PyObject * obj0 = 0 ;
22405 char *kwnames[] = {
22406 (char *) "self", NULL
22407 };
22408
22409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22412 {
22413 PyThreadState* __tstate = wxPyBeginAllowThreads();
22414 (arg1)->Fit();
22415
22416 wxPyEndAllowThreads(__tstate);
22417 if (PyErr_Occurred()) SWIG_fail;
22418 }
22419 Py_INCREF(Py_None); resultobj = Py_None;
22420 return resultobj;
22421 fail:
22422 return NULL;
22423}
22424
22425
2f4c0a16 22426static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22427 PyObject *resultobj;
22428 wxWindow *arg1 = (wxWindow *) 0 ;
22429 PyObject * obj0 = 0 ;
22430 char *kwnames[] = {
22431 (char *) "self", NULL
22432 };
22433
22434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22437 {
22438 PyThreadState* __tstate = wxPyBeginAllowThreads();
22439 (arg1)->FitInside();
22440
22441 wxPyEndAllowThreads(__tstate);
22442 if (PyErr_Occurred()) SWIG_fail;
22443 }
22444 Py_INCREF(Py_None); resultobj = Py_None;
22445 return resultobj;
22446 fail:
22447 return NULL;
22448}
22449
22450
2f4c0a16 22451static PyObject *_wrap_Window_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22452 PyObject *resultobj;
22453 wxWindow *arg1 = (wxWindow *) 0 ;
22454 int arg2 ;
22455 int arg3 ;
22456 int arg4 = (int) -1 ;
22457 int arg5 = (int) -1 ;
22458 int arg6 = (int) -1 ;
22459 int arg7 = (int) -1 ;
22460 PyObject * obj0 = 0 ;
8edf1c75
RD
22461 PyObject * obj1 = 0 ;
22462 PyObject * obj2 = 0 ;
22463 PyObject * obj3 = 0 ;
22464 PyObject * obj4 = 0 ;
22465 PyObject * obj5 = 0 ;
22466 PyObject * obj6 = 0 ;
d14a1e28
RD
22467 char *kwnames[] = {
22468 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22469 };
22470
8edf1c75 22471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
22472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22474 arg2 = (int) SWIG_AsInt(obj1);
22475 if (PyErr_Occurred()) SWIG_fail;
22476 arg3 = (int) SWIG_AsInt(obj2);
22477 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22478 if (obj3) {
2f4c0a16
RD
22479 arg4 = (int) SWIG_AsInt(obj3);
22480 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22481 }
22482 if (obj4) {
2f4c0a16
RD
22483 arg5 = (int) SWIG_AsInt(obj4);
22484 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22485 }
22486 if (obj5) {
2f4c0a16
RD
22487 arg6 = (int) SWIG_AsInt(obj5);
22488 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22489 }
22490 if (obj6) {
2f4c0a16
RD
22491 arg7 = (int) SWIG_AsInt(obj6);
22492 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22493 }
d14a1e28
RD
22494 {
22495 PyThreadState* __tstate = wxPyBeginAllowThreads();
22496 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
22497
22498 wxPyEndAllowThreads(__tstate);
22499 if (PyErr_Occurred()) SWIG_fail;
22500 }
22501 Py_INCREF(Py_None); resultobj = Py_None;
22502 return resultobj;
22503 fail:
22504 return NULL;
22505}
22506
22507
2f4c0a16 22508static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22509 PyObject *resultobj;
22510 wxWindow *arg1 = (wxWindow *) 0 ;
22511 int arg2 ;
22512 int arg3 ;
22513 int arg4 = (int) -1 ;
22514 int arg5 = (int) -1 ;
22515 PyObject * obj0 = 0 ;
8edf1c75
RD
22516 PyObject * obj1 = 0 ;
22517 PyObject * obj2 = 0 ;
22518 PyObject * obj3 = 0 ;
22519 PyObject * obj4 = 0 ;
d14a1e28
RD
22520 char *kwnames[] = {
22521 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22522 };
22523
8edf1c75 22524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22527 arg2 = (int) SWIG_AsInt(obj1);
22528 if (PyErr_Occurred()) SWIG_fail;
22529 arg3 = (int) SWIG_AsInt(obj2);
22530 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22531 if (obj3) {
2f4c0a16
RD
22532 arg4 = (int) SWIG_AsInt(obj3);
22533 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22534 }
22535 if (obj4) {
2f4c0a16
RD
22536 arg5 = (int) SWIG_AsInt(obj4);
22537 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22538 }
d14a1e28
RD
22539 {
22540 PyThreadState* __tstate = wxPyBeginAllowThreads();
22541 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
22542
22543 wxPyEndAllowThreads(__tstate);
22544 if (PyErr_Occurred()) SWIG_fail;
22545 }
22546 Py_INCREF(Py_None); resultobj = Py_None;
22547 return resultobj;
22548 fail:
22549 return NULL;
22550}
22551
22552
2f4c0a16 22553static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22554 PyObject *resultobj;
22555 wxWindow *arg1 = (wxWindow *) 0 ;
22556 int result;
22557 PyObject * obj0 = 0 ;
22558 char *kwnames[] = {
22559 (char *) "self", NULL
22560 };
22561
22562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22565 {
22566 PyThreadState* __tstate = wxPyBeginAllowThreads();
22567 result = (int)((wxWindow const *)arg1)->GetMinWidth();
22568
22569 wxPyEndAllowThreads(__tstate);
22570 if (PyErr_Occurred()) SWIG_fail;
22571 }
2f4c0a16 22572 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22573 return resultobj;
22574 fail:
22575 return NULL;
22576}
22577
22578
2f4c0a16 22579static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22580 PyObject *resultobj;
22581 wxWindow *arg1 = (wxWindow *) 0 ;
22582 int result;
22583 PyObject * obj0 = 0 ;
22584 char *kwnames[] = {
22585 (char *) "self", NULL
22586 };
22587
22588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22591 {
22592 PyThreadState* __tstate = wxPyBeginAllowThreads();
22593 result = (int)((wxWindow const *)arg1)->GetMinHeight();
22594
22595 wxPyEndAllowThreads(__tstate);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 }
2f4c0a16 22598 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22599 return resultobj;
22600 fail:
22601 return NULL;
22602}
22603
22604
2f4c0a16 22605static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22606 PyObject *resultobj;
22607 wxWindow *arg1 = (wxWindow *) 0 ;
22608 int result;
22609 PyObject * obj0 = 0 ;
22610 char *kwnames[] = {
22611 (char *) "self", NULL
22612 };
22613
22614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22617 {
22618 PyThreadState* __tstate = wxPyBeginAllowThreads();
22619 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
22620
22621 wxPyEndAllowThreads(__tstate);
22622 if (PyErr_Occurred()) SWIG_fail;
22623 }
2f4c0a16 22624 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22625 return resultobj;
22626 fail:
22627 return NULL;
22628}
22629
22630
2f4c0a16 22631static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22632 PyObject *resultobj;
22633 wxWindow *arg1 = (wxWindow *) 0 ;
22634 int result;
22635 PyObject * obj0 = 0 ;
22636 char *kwnames[] = {
22637 (char *) "self", NULL
22638 };
22639
22640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22641 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22642 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22643 {
22644 PyThreadState* __tstate = wxPyBeginAllowThreads();
22645 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
22646
22647 wxPyEndAllowThreads(__tstate);
22648 if (PyErr_Occurred()) SWIG_fail;
22649 }
2f4c0a16 22650 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22651 return resultobj;
22652 fail:
22653 return NULL;
22654}
22655
22656
2f4c0a16 22657static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22658 PyObject *resultobj;
22659 wxWindow *arg1 = (wxWindow *) 0 ;
22660 wxSize result;
22661 PyObject * obj0 = 0 ;
22662 char *kwnames[] = {
22663 (char *) "self", NULL
22664 };
22665
22666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22669 {
22670 PyThreadState* __tstate = wxPyBeginAllowThreads();
22671 result = ((wxWindow const *)arg1)->GetMaxSize();
22672
22673 wxPyEndAllowThreads(__tstate);
22674 if (PyErr_Occurred()) SWIG_fail;
22675 }
22676 {
22677 wxSize * resultptr;
22678 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22680 }
22681 return resultobj;
22682 fail:
22683 return NULL;
22684}
22685
22686
2f4c0a16 22687static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22688 PyObject *resultobj;
22689 wxWindow *arg1 = (wxWindow *) 0 ;
22690 wxSize *arg2 = 0 ;
22691 wxSize temp2 ;
22692 PyObject * obj0 = 0 ;
22693 PyObject * obj1 = 0 ;
22694 char *kwnames[] = {
22695 (char *) "self",(char *) "size", NULL
22696 };
22697
22698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22701 {
22702 arg2 = &temp2;
22703 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22704 }
22705 {
22706 PyThreadState* __tstate = wxPyBeginAllowThreads();
22707 (arg1)->SetVirtualSize((wxSize const &)*arg2);
22708
22709 wxPyEndAllowThreads(__tstate);
22710 if (PyErr_Occurred()) SWIG_fail;
22711 }
22712 Py_INCREF(Py_None); resultobj = Py_None;
22713 return resultobj;
22714 fail:
22715 return NULL;
22716}
22717
22718
2f4c0a16 22719static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22720 PyObject *resultobj;
22721 wxWindow *arg1 = (wxWindow *) 0 ;
22722 int arg2 ;
22723 int arg3 ;
22724 PyObject * obj0 = 0 ;
8edf1c75
RD
22725 PyObject * obj1 = 0 ;
22726 PyObject * obj2 = 0 ;
d14a1e28
RD
22727 char *kwnames[] = {
22728 (char *) "self",(char *) "w",(char *) "h", NULL
22729 };
22730
8edf1c75 22731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22734 arg2 = (int) SWIG_AsInt(obj1);
22735 if (PyErr_Occurred()) SWIG_fail;
22736 arg3 = (int) SWIG_AsInt(obj2);
22737 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22738 {
22739 PyThreadState* __tstate = wxPyBeginAllowThreads();
22740 (arg1)->SetVirtualSize(arg2,arg3);
22741
22742 wxPyEndAllowThreads(__tstate);
22743 if (PyErr_Occurred()) SWIG_fail;
22744 }
22745 Py_INCREF(Py_None); resultobj = Py_None;
22746 return resultobj;
22747 fail:
22748 return NULL;
22749}
22750
22751
2f4c0a16 22752static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22753 PyObject *resultobj;
22754 wxWindow *arg1 = (wxWindow *) 0 ;
22755 wxSize result;
22756 PyObject * obj0 = 0 ;
22757 char *kwnames[] = {
22758 (char *) "self", NULL
22759 };
22760
22761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22764 {
22765 PyThreadState* __tstate = wxPyBeginAllowThreads();
22766 result = ((wxWindow const *)arg1)->GetVirtualSize();
22767
22768 wxPyEndAllowThreads(__tstate);
22769 if (PyErr_Occurred()) SWIG_fail;
22770 }
22771 {
22772 wxSize * resultptr;
22773 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22775 }
22776 return resultobj;
22777 fail:
22778 return NULL;
22779}
22780
22781
2f4c0a16 22782static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22783 PyObject *resultobj;
22784 wxWindow *arg1 = (wxWindow *) 0 ;
22785 int *arg2 = (int *) 0 ;
22786 int *arg3 = (int *) 0 ;
22787 int temp2 ;
22788 int temp3 ;
22789 PyObject * obj0 = 0 ;
22790 char *kwnames[] = {
22791 (char *) "self", NULL
22792 };
22793
22794 arg2 = &temp2;
22795 arg3 = &temp3;
22796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22799 {
22800 PyThreadState* __tstate = wxPyBeginAllowThreads();
22801 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
22802
22803 wxPyEndAllowThreads(__tstate);
22804 if (PyErr_Occurred()) SWIG_fail;
22805 }
22806 Py_INCREF(Py_None); resultobj = Py_None;
22807 {
22808 PyObject *o = PyInt_FromLong((long) (*arg2));
22809 resultobj = t_output_helper(resultobj,o);
22810 }
22811 {
22812 PyObject *o = PyInt_FromLong((long) (*arg3));
22813 resultobj = t_output_helper(resultobj,o);
22814 }
22815 return resultobj;
22816 fail:
22817 return NULL;
22818}
22819
22820
2f4c0a16 22821static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22822 PyObject *resultobj;
22823 wxWindow *arg1 = (wxWindow *) 0 ;
22824 wxSize result;
22825 PyObject * obj0 = 0 ;
22826 char *kwnames[] = {
22827 (char *) "self", NULL
22828 };
22829
22830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22833 {
22834 PyThreadState* __tstate = wxPyBeginAllowThreads();
22835 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
22836
22837 wxPyEndAllowThreads(__tstate);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 }
22840 {
22841 wxSize * resultptr;
22842 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22843 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22844 }
22845 return resultobj;
22846 fail:
22847 return NULL;
22848}
22849
22850
2f4c0a16 22851static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22852 PyObject *resultobj;
22853 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 22854 bool arg2 = (bool) True ;
d14a1e28
RD
22855 bool result;
22856 PyObject * obj0 = 0 ;
22857 PyObject * obj1 = 0 ;
22858 char *kwnames[] = {
22859 (char *) "self",(char *) "show", NULL
22860 };
22861
22862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 22865 if (obj1) {
2f4c0a16
RD
22866 arg2 = (bool) SWIG_AsBool(obj1);
22867 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22868 }
22869 {
22870 PyThreadState* __tstate = wxPyBeginAllowThreads();
22871 result = (bool)(arg1)->Show(arg2);
22872
22873 wxPyEndAllowThreads(__tstate);
22874 if (PyErr_Occurred()) SWIG_fail;
22875 }
02a34c4c 22876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22877 return resultobj;
22878 fail:
22879 return NULL;
22880}
22881
22882
2f4c0a16 22883static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22884 PyObject *resultobj;
22885 wxWindow *arg1 = (wxWindow *) 0 ;
22886 bool result;
22887 PyObject * obj0 = 0 ;
22888 char *kwnames[] = {
22889 (char *) "self", NULL
22890 };
22891
22892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22895 {
22896 PyThreadState* __tstate = wxPyBeginAllowThreads();
22897 result = (bool)(arg1)->Hide();
22898
22899 wxPyEndAllowThreads(__tstate);
22900 if (PyErr_Occurred()) SWIG_fail;
22901 }
02a34c4c 22902 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22903 return resultobj;
22904 fail:
22905 return NULL;
22906}
22907
22908
2f4c0a16 22909static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22910 PyObject *resultobj;
22911 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 22912 bool arg2 = (bool) True ;
d14a1e28
RD
22913 bool result;
22914 PyObject * obj0 = 0 ;
22915 PyObject * obj1 = 0 ;
22916 char *kwnames[] = {
22917 (char *) "self",(char *) "enable", NULL
22918 };
22919
22920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 22923 if (obj1) {
2f4c0a16
RD
22924 arg2 = (bool) SWIG_AsBool(obj1);
22925 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22926 }
22927 {
22928 PyThreadState* __tstate = wxPyBeginAllowThreads();
22929 result = (bool)(arg1)->Enable(arg2);
22930
22931 wxPyEndAllowThreads(__tstate);
22932 if (PyErr_Occurred()) SWIG_fail;
22933 }
02a34c4c 22934 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22935 return resultobj;
22936 fail:
22937 return NULL;
22938}
22939
22940
2f4c0a16 22941static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22942 PyObject *resultobj;
22943 wxWindow *arg1 = (wxWindow *) 0 ;
22944 bool result;
22945 PyObject * obj0 = 0 ;
22946 char *kwnames[] = {
22947 (char *) "self", NULL
22948 };
22949
22950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22953 {
22954 PyThreadState* __tstate = wxPyBeginAllowThreads();
22955 result = (bool)(arg1)->Disable();
22956
22957 wxPyEndAllowThreads(__tstate);
22958 if (PyErr_Occurred()) SWIG_fail;
22959 }
02a34c4c 22960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22961 return resultobj;
22962 fail:
22963 return NULL;
22964}
22965
22966
2f4c0a16 22967static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22968 PyObject *resultobj;
22969 wxWindow *arg1 = (wxWindow *) 0 ;
22970 bool result;
22971 PyObject * obj0 = 0 ;
22972 char *kwnames[] = {
22973 (char *) "self", NULL
22974 };
22975
22976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22979 {
22980 PyThreadState* __tstate = wxPyBeginAllowThreads();
22981 result = (bool)((wxWindow const *)arg1)->IsShown();
22982
22983 wxPyEndAllowThreads(__tstate);
22984 if (PyErr_Occurred()) SWIG_fail;
22985 }
02a34c4c 22986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22987 return resultobj;
22988 fail:
22989 return NULL;
22990}
22991
22992
2f4c0a16 22993static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22994 PyObject *resultobj;
22995 wxWindow *arg1 = (wxWindow *) 0 ;
22996 bool result;
22997 PyObject * obj0 = 0 ;
22998 char *kwnames[] = {
22999 (char *) "self", NULL
23000 };
23001
23002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23005 {
23006 PyThreadState* __tstate = wxPyBeginAllowThreads();
23007 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23008
23009 wxPyEndAllowThreads(__tstate);
23010 if (PyErr_Occurred()) SWIG_fail;
23011 }
02a34c4c 23012 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23013 return resultobj;
23014 fail:
23015 return NULL;
23016}
23017
23018
2f4c0a16 23019static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23020 PyObject *resultobj;
23021 wxWindow *arg1 = (wxWindow *) 0 ;
23022 long arg2 ;
23023 PyObject * obj0 = 0 ;
8edf1c75 23024 PyObject * obj1 = 0 ;
d14a1e28
RD
23025 char *kwnames[] = {
23026 (char *) "self",(char *) "style", NULL
23027 };
23028
8edf1c75 23029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23032 arg2 = (long) SWIG_AsLong(obj1);
23033 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23034 {
23035 PyThreadState* __tstate = wxPyBeginAllowThreads();
23036 (arg1)->SetWindowStyleFlag(arg2);
23037
23038 wxPyEndAllowThreads(__tstate);
23039 if (PyErr_Occurred()) SWIG_fail;
23040 }
23041 Py_INCREF(Py_None); resultobj = Py_None;
23042 return resultobj;
23043 fail:
23044 return NULL;
23045}
23046
23047
2f4c0a16 23048static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23049 PyObject *resultobj;
23050 wxWindow *arg1 = (wxWindow *) 0 ;
23051 long result;
23052 PyObject * obj0 = 0 ;
23053 char *kwnames[] = {
23054 (char *) "self", NULL
23055 };
23056
23057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23060 {
23061 PyThreadState* __tstate = wxPyBeginAllowThreads();
23062 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
23063
23064 wxPyEndAllowThreads(__tstate);
23065 if (PyErr_Occurred()) SWIG_fail;
23066 }
2f4c0a16 23067 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23068 return resultobj;
23069 fail:
23070 return NULL;
23071}
23072
23073
2f4c0a16 23074static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23075 PyObject *resultobj;
23076 wxWindow *arg1 = (wxWindow *) 0 ;
23077 int arg2 ;
23078 bool result;
23079 PyObject * obj0 = 0 ;
8edf1c75 23080 PyObject * obj1 = 0 ;
d14a1e28
RD
23081 char *kwnames[] = {
23082 (char *) "self",(char *) "flag", NULL
23083 };
23084
8edf1c75 23085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23088 arg2 = (int) SWIG_AsInt(obj1);
23089 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23090 {
23091 PyThreadState* __tstate = wxPyBeginAllowThreads();
23092 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
23093
23094 wxPyEndAllowThreads(__tstate);
23095 if (PyErr_Occurred()) SWIG_fail;
23096 }
02a34c4c 23097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23098 return resultobj;
23099 fail:
23100 return NULL;
23101}
23102
23103
2f4c0a16 23104static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23105 PyObject *resultobj;
23106 wxWindow *arg1 = (wxWindow *) 0 ;
23107 bool result;
23108 PyObject * obj0 = 0 ;
23109 char *kwnames[] = {
23110 (char *) "self", NULL
23111 };
23112
23113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23116 {
23117 PyThreadState* __tstate = wxPyBeginAllowThreads();
23118 result = (bool)((wxWindow const *)arg1)->IsRetained();
23119
23120 wxPyEndAllowThreads(__tstate);
23121 if (PyErr_Occurred()) SWIG_fail;
23122 }
02a34c4c 23123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23124 return resultobj;
23125 fail:
23126 return NULL;
23127}
23128
23129
2f4c0a16 23130static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23131 PyObject *resultobj;
23132 wxWindow *arg1 = (wxWindow *) 0 ;
23133 long arg2 ;
23134 PyObject * obj0 = 0 ;
8edf1c75 23135 PyObject * obj1 = 0 ;
d14a1e28
RD
23136 char *kwnames[] = {
23137 (char *) "self",(char *) "exStyle", NULL
23138 };
23139
8edf1c75 23140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23143 arg2 = (long) SWIG_AsLong(obj1);
23144 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23145 {
23146 PyThreadState* __tstate = wxPyBeginAllowThreads();
23147 (arg1)->SetExtraStyle(arg2);
23148
23149 wxPyEndAllowThreads(__tstate);
23150 if (PyErr_Occurred()) SWIG_fail;
23151 }
23152 Py_INCREF(Py_None); resultobj = Py_None;
23153 return resultobj;
23154 fail:
23155 return NULL;
23156}
23157
23158
2f4c0a16 23159static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23160 PyObject *resultobj;
23161 wxWindow *arg1 = (wxWindow *) 0 ;
23162 long result;
23163 PyObject * obj0 = 0 ;
23164 char *kwnames[] = {
23165 (char *) "self", NULL
23166 };
23167
23168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23169 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23170 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23171 {
23172 PyThreadState* __tstate = wxPyBeginAllowThreads();
23173 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
23174
23175 wxPyEndAllowThreads(__tstate);
23176 if (PyErr_Occurred()) SWIG_fail;
23177 }
2f4c0a16 23178 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23179 return resultobj;
23180 fail:
23181 return NULL;
23182}
23183
23184
2f4c0a16 23185static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23186 PyObject *resultobj;
23187 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 23188 bool arg2 = (bool) True ;
d14a1e28
RD
23189 PyObject * obj0 = 0 ;
23190 PyObject * obj1 = 0 ;
23191 char *kwnames[] = {
23192 (char *) "self",(char *) "modal", NULL
23193 };
23194
23195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23198 if (obj1) {
2f4c0a16
RD
23199 arg2 = (bool) SWIG_AsBool(obj1);
23200 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23201 }
23202 {
23203 PyThreadState* __tstate = wxPyBeginAllowThreads();
23204 (arg1)->MakeModal(arg2);
23205
23206 wxPyEndAllowThreads(__tstate);
23207 if (PyErr_Occurred()) SWIG_fail;
23208 }
23209 Py_INCREF(Py_None); resultobj = Py_None;
23210 return resultobj;
23211 fail:
23212 return NULL;
23213}
23214
23215
2f4c0a16 23216static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23217 PyObject *resultobj;
23218 wxWindow *arg1 = (wxWindow *) 0 ;
23219 bool arg2 ;
23220 PyObject * obj0 = 0 ;
23221 PyObject * obj1 = 0 ;
23222 char *kwnames[] = {
23223 (char *) "self",(char *) "enableTheme", NULL
23224 };
23225
23226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23229 arg2 = (bool) SWIG_AsBool(obj1);
23230 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23231 {
23232 PyThreadState* __tstate = wxPyBeginAllowThreads();
23233 (arg1)->SetThemeEnabled(arg2);
23234
23235 wxPyEndAllowThreads(__tstate);
23236 if (PyErr_Occurred()) SWIG_fail;
23237 }
23238 Py_INCREF(Py_None); resultobj = Py_None;
23239 return resultobj;
23240 fail:
23241 return NULL;
23242}
23243
23244
2f4c0a16 23245static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23246 PyObject *resultobj;
23247 wxWindow *arg1 = (wxWindow *) 0 ;
23248 bool result;
23249 PyObject * obj0 = 0 ;
23250 char *kwnames[] = {
23251 (char *) "self", NULL
23252 };
23253
23254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23257 {
23258 PyThreadState* __tstate = wxPyBeginAllowThreads();
23259 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
23260
23261 wxPyEndAllowThreads(__tstate);
23262 if (PyErr_Occurred()) SWIG_fail;
23263 }
02a34c4c 23264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23265 return resultobj;
23266 fail:
23267 return NULL;
23268}
23269
23270
2f4c0a16 23271static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23272 PyObject *resultobj;
23273 wxWindow *arg1 = (wxWindow *) 0 ;
23274 PyObject * obj0 = 0 ;
23275 char *kwnames[] = {
23276 (char *) "self", NULL
23277 };
23278
23279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23282 {
23283 PyThreadState* __tstate = wxPyBeginAllowThreads();
23284 (arg1)->SetFocus();
23285
23286 wxPyEndAllowThreads(__tstate);
23287 if (PyErr_Occurred()) SWIG_fail;
23288 }
23289 Py_INCREF(Py_None); resultobj = Py_None;
23290 return resultobj;
23291 fail:
23292 return NULL;
23293}
23294
23295
2f4c0a16 23296static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23297 PyObject *resultobj;
23298 wxWindow *arg1 = (wxWindow *) 0 ;
23299 PyObject * obj0 = 0 ;
23300 char *kwnames[] = {
23301 (char *) "self", NULL
23302 };
23303
23304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23307 {
23308 PyThreadState* __tstate = wxPyBeginAllowThreads();
23309 (arg1)->SetFocusFromKbd();
23310
23311 wxPyEndAllowThreads(__tstate);
23312 if (PyErr_Occurred()) SWIG_fail;
23313 }
23314 Py_INCREF(Py_None); resultobj = Py_None;
23315 return resultobj;
23316 fail:
23317 return NULL;
23318}
23319
23320
2f4c0a16 23321static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23322 PyObject *resultobj;
23323 wxWindow *result;
23324 char *kwnames[] = {
23325 NULL
23326 };
23327
23328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
23329 {
23330 PyThreadState* __tstate = wxPyBeginAllowThreads();
23331 result = (wxWindow *)wxWindow::FindFocus();
23332
23333 wxPyEndAllowThreads(__tstate);
23334 if (PyErr_Occurred()) SWIG_fail;
23335 }
23336 {
23337 resultobj = wxPyMake_wxObject(result);
23338 }
23339 return resultobj;
23340 fail:
23341 return NULL;
23342}
23343
23344
2f4c0a16 23345static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23346 PyObject *resultobj;
23347 wxWindow *arg1 = (wxWindow *) 0 ;
23348 bool result;
23349 PyObject * obj0 = 0 ;
23350 char *kwnames[] = {
23351 (char *) "self", NULL
23352 };
23353
23354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23357 {
23358 PyThreadState* __tstate = wxPyBeginAllowThreads();
23359 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
23360
23361 wxPyEndAllowThreads(__tstate);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 }
02a34c4c 23364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23365 return resultobj;
23366 fail:
23367 return NULL;
23368}
23369
23370
2f4c0a16 23371static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23372 PyObject *resultobj;
23373 wxWindow *arg1 = (wxWindow *) 0 ;
23374 bool result;
23375 PyObject * obj0 = 0 ;
23376 char *kwnames[] = {
23377 (char *) "self", NULL
23378 };
23379
23380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23383 {
23384 PyThreadState* __tstate = wxPyBeginAllowThreads();
23385 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
23386
23387 wxPyEndAllowThreads(__tstate);
23388 if (PyErr_Occurred()) SWIG_fail;
23389 }
02a34c4c 23390 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23391 return resultobj;
23392 fail:
23393 return NULL;
23394}
23395
23396
2f4c0a16 23397static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23398 PyObject *resultobj;
23399 wxWindow *arg1 = (wxWindow *) 0 ;
23400 wxWindow *result;
23401 PyObject * obj0 = 0 ;
23402 char *kwnames[] = {
23403 (char *) "self", NULL
23404 };
23405
23406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23409 {
23410 PyThreadState* __tstate = wxPyBeginAllowThreads();
23411 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
23412
23413 wxPyEndAllowThreads(__tstate);
23414 if (PyErr_Occurred()) SWIG_fail;
23415 }
23416 {
23417 resultobj = wxPyMake_wxObject(result);
23418 }
23419 return resultobj;
23420 fail:
23421 return NULL;
23422}
23423
23424
2f4c0a16 23425static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23426 PyObject *resultobj;
23427 wxWindow *arg1 = (wxWindow *) 0 ;
23428 wxWindow *arg2 = (wxWindow *) 0 ;
23429 wxWindow *result;
23430 PyObject * obj0 = 0 ;
23431 PyObject * obj1 = 0 ;
23432 char *kwnames[] = {
23433 (char *) "self",(char *) "child", NULL
23434 };
23435
23436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23439 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23441 {
23442 PyThreadState* __tstate = wxPyBeginAllowThreads();
23443 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
23444
23445 wxPyEndAllowThreads(__tstate);
23446 if (PyErr_Occurred()) SWIG_fail;
23447 }
23448 {
23449 resultobj = wxPyMake_wxObject(result);
23450 }
23451 return resultobj;
23452 fail:
23453 return NULL;
23454}
23455
23456
2f4c0a16 23457static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23458 PyObject *resultobj;
23459 wxWindow *arg1 = (wxWindow *) 0 ;
23460 wxWindow *arg2 = (wxWindow *) 0 ;
23461 PyObject * obj0 = 0 ;
23462 PyObject * obj1 = 0 ;
23463 char *kwnames[] = {
23464 (char *) "self",(char *) "win", NULL
23465 };
23466
23467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23470 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23472 {
23473 PyThreadState* __tstate = wxPyBeginAllowThreads();
23474 (arg1)->SetTmpDefaultItem(arg2);
23475
23476 wxPyEndAllowThreads(__tstate);
23477 if (PyErr_Occurred()) SWIG_fail;
23478 }
23479 Py_INCREF(Py_None); resultobj = Py_None;
23480 return resultobj;
23481 fail:
23482 return NULL;
23483}
23484
23485
2f4c0a16 23486static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23487 PyObject *resultobj;
23488 wxWindow *arg1 = (wxWindow *) 0 ;
23489 PyObject *result;
23490 PyObject * obj0 = 0 ;
23491 char *kwnames[] = {
23492 (char *) "self", NULL
23493 };
23494
23495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23498 {
23499 PyThreadState* __tstate = wxPyBeginAllowThreads();
23500 result = (PyObject *)wxWindow_GetChildren(arg1);
23501
23502 wxPyEndAllowThreads(__tstate);
23503 if (PyErr_Occurred()) SWIG_fail;
23504 }
23505 resultobj = result;
23506 return resultobj;
23507 fail:
23508 return NULL;
23509}
23510
23511
2f4c0a16 23512static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23513 PyObject *resultobj;
23514 wxWindow *arg1 = (wxWindow *) 0 ;
23515 wxWindow *result;
23516 PyObject * obj0 = 0 ;
23517 char *kwnames[] = {
23518 (char *) "self", NULL
23519 };
23520
23521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23524 {
23525 PyThreadState* __tstate = wxPyBeginAllowThreads();
23526 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
23527
23528 wxPyEndAllowThreads(__tstate);
23529 if (PyErr_Occurred()) SWIG_fail;
23530 }
23531 {
23532 resultobj = wxPyMake_wxObject(result);
23533 }
23534 return resultobj;
23535 fail:
23536 return NULL;
23537}
23538
23539
2f4c0a16 23540static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23541 PyObject *resultobj;
23542 wxWindow *arg1 = (wxWindow *) 0 ;
23543 wxWindow *result;
23544 PyObject * obj0 = 0 ;
23545 char *kwnames[] = {
23546 (char *) "self", NULL
23547 };
23548
23549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23552 {
23553 PyThreadState* __tstate = wxPyBeginAllowThreads();
23554 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
23555
23556 wxPyEndAllowThreads(__tstate);
23557 if (PyErr_Occurred()) SWIG_fail;
23558 }
23559 {
23560 resultobj = wxPyMake_wxObject(result);
23561 }
23562 return resultobj;
23563 fail:
23564 return NULL;
23565}
23566
23567
2f4c0a16 23568static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23569 PyObject *resultobj;
23570 wxWindow *arg1 = (wxWindow *) 0 ;
23571 bool result;
23572 PyObject * obj0 = 0 ;
23573 char *kwnames[] = {
23574 (char *) "self", NULL
23575 };
23576
23577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23580 {
23581 PyThreadState* __tstate = wxPyBeginAllowThreads();
23582 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
23583
23584 wxPyEndAllowThreads(__tstate);
23585 if (PyErr_Occurred()) SWIG_fail;
23586 }
02a34c4c 23587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23588 return resultobj;
23589 fail:
23590 return NULL;
23591}
23592
23593
2f4c0a16 23594static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23595 PyObject *resultobj;
23596 wxWindow *arg1 = (wxWindow *) 0 ;
23597 wxWindow *arg2 = (wxWindow *) 0 ;
23598 bool result;
23599 PyObject * obj0 = 0 ;
23600 PyObject * obj1 = 0 ;
23601 char *kwnames[] = {
23602 (char *) "self",(char *) "newParent", NULL
23603 };
23604
23605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23608 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23610 {
23611 PyThreadState* __tstate = wxPyBeginAllowThreads();
23612 result = (bool)(arg1)->Reparent(arg2);
23613
23614 wxPyEndAllowThreads(__tstate);
23615 if (PyErr_Occurred()) SWIG_fail;
23616 }
02a34c4c 23617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23618 return resultobj;
23619 fail:
23620 return NULL;
23621}
23622
23623
2f4c0a16 23624static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23625 PyObject *resultobj;
23626 wxWindow *arg1 = (wxWindow *) 0 ;
23627 wxWindow *arg2 = (wxWindow *) 0 ;
23628 PyObject * obj0 = 0 ;
23629 PyObject * obj1 = 0 ;
23630 char *kwnames[] = {
23631 (char *) "self",(char *) "child", NULL
23632 };
23633
23634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23637 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23639 {
23640 PyThreadState* __tstate = wxPyBeginAllowThreads();
23641 (arg1)->AddChild(arg2);
23642
23643 wxPyEndAllowThreads(__tstate);
23644 if (PyErr_Occurred()) SWIG_fail;
23645 }
23646 Py_INCREF(Py_None); resultobj = Py_None;
23647 return resultobj;
23648 fail:
23649 return NULL;
23650}
23651
23652
2f4c0a16 23653static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23654 PyObject *resultobj;
23655 wxWindow *arg1 = (wxWindow *) 0 ;
23656 wxWindow *arg2 = (wxWindow *) 0 ;
23657 PyObject * obj0 = 0 ;
23658 PyObject * obj1 = 0 ;
23659 char *kwnames[] = {
23660 (char *) "self",(char *) "child", NULL
23661 };
23662
23663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23666 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 (arg1)->RemoveChild(arg2);
23671
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 Py_INCREF(Py_None); resultobj = Py_None;
23676 return resultobj;
23677 fail:
23678 return NULL;
23679}
23680
23681
2f4c0a16 23682static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23683 PyObject *resultobj;
23684 wxWindow *arg1 = (wxWindow *) 0 ;
23685 long arg2 ;
23686 wxWindow *result;
23687 PyObject * obj0 = 0 ;
8edf1c75 23688 PyObject * obj1 = 0 ;
d14a1e28
RD
23689 char *kwnames[] = {
23690 (char *) "self",(char *) "winid", NULL
23691 };
23692
8edf1c75 23693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23696 arg2 = (long) SWIG_AsLong(obj1);
23697 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23698 {
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 result = (wxWindow *)(arg1)->FindWindow(arg2);
23701
23702 wxPyEndAllowThreads(__tstate);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 }
23705 {
23706 resultobj = wxPyMake_wxObject(result);
23707 }
23708 return resultobj;
23709 fail:
23710 return NULL;
23711}
23712
23713
2f4c0a16 23714static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23715 PyObject *resultobj;
23716 wxWindow *arg1 = (wxWindow *) 0 ;
23717 wxString *arg2 = 0 ;
23718 wxWindow *result;
423f194a 23719 bool temp2 = False ;
d14a1e28
RD
23720 PyObject * obj0 = 0 ;
23721 PyObject * obj1 = 0 ;
23722 char *kwnames[] = {
23723 (char *) "self",(char *) "name", NULL
23724 };
23725
23726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23729 {
23730 arg2 = wxString_in_helper(obj1);
23731 if (arg2 == NULL) SWIG_fail;
423f194a 23732 temp2 = True;
d14a1e28
RD
23733 }
23734 {
23735 PyThreadState* __tstate = wxPyBeginAllowThreads();
23736 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
23737
23738 wxPyEndAllowThreads(__tstate);
23739 if (PyErr_Occurred()) SWIG_fail;
23740 }
23741 {
23742 resultobj = wxPyMake_wxObject(result);
23743 }
23744 {
23745 if (temp2)
23746 delete arg2;
23747 }
23748 return resultobj;
23749 fail:
23750 {
23751 if (temp2)
23752 delete arg2;
23753 }
23754 return NULL;
23755}
23756
23757
2f4c0a16 23758static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23759 PyObject *resultobj;
23760 wxWindow *arg1 = (wxWindow *) 0 ;
23761 wxEvtHandler *result;
23762 PyObject * obj0 = 0 ;
23763 char *kwnames[] = {
23764 (char *) "self", NULL
23765 };
23766
23767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23770 {
23771 PyThreadState* __tstate = wxPyBeginAllowThreads();
23772 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
23773
23774 wxPyEndAllowThreads(__tstate);
23775 if (PyErr_Occurred()) SWIG_fail;
23776 }
23777 {
23778 resultobj = wxPyMake_wxObject(result);
23779 }
23780 return resultobj;
23781 fail:
23782 return NULL;
23783}
23784
23785
2f4c0a16 23786static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23787 PyObject *resultobj;
23788 wxWindow *arg1 = (wxWindow *) 0 ;
23789 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
23790 PyObject * obj0 = 0 ;
23791 PyObject * obj1 = 0 ;
23792 char *kwnames[] = {
23793 (char *) "self",(char *) "handler", NULL
23794 };
23795
23796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23799 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
23800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23801 {
23802 PyThreadState* __tstate = wxPyBeginAllowThreads();
23803 (arg1)->SetEventHandler(arg2);
23804
23805 wxPyEndAllowThreads(__tstate);
23806 if (PyErr_Occurred()) SWIG_fail;
23807 }
23808 Py_INCREF(Py_None); resultobj = Py_None;
23809 return resultobj;
23810 fail:
23811 return NULL;
23812}
23813
23814
2f4c0a16 23815static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23816 PyObject *resultobj;
23817 wxWindow *arg1 = (wxWindow *) 0 ;
23818 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
23819 PyObject * obj0 = 0 ;
23820 PyObject * obj1 = 0 ;
23821 char *kwnames[] = {
23822 (char *) "self",(char *) "handler", NULL
23823 };
23824
23825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23828 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
23829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23830 {
23831 PyThreadState* __tstate = wxPyBeginAllowThreads();
23832 (arg1)->PushEventHandler(arg2);
23833
23834 wxPyEndAllowThreads(__tstate);
23835 if (PyErr_Occurred()) SWIG_fail;
23836 }
23837 Py_INCREF(Py_None); resultobj = Py_None;
23838 return resultobj;
23839 fail:
23840 return NULL;
23841}
23842
23843
2f4c0a16 23844static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23845 PyObject *resultobj;
23846 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 23847 bool arg2 = (bool) False ;
d14a1e28
RD
23848 wxEvtHandler *result;
23849 PyObject * obj0 = 0 ;
23850 PyObject * obj1 = 0 ;
23851 char *kwnames[] = {
23852 (char *) "self",(char *) "deleteHandler", NULL
23853 };
23854
23855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23858 if (obj1) {
2f4c0a16
RD
23859 arg2 = (bool) SWIG_AsBool(obj1);
23860 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23861 }
23862 {
23863 PyThreadState* __tstate = wxPyBeginAllowThreads();
23864 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
23865
23866 wxPyEndAllowThreads(__tstate);
23867 if (PyErr_Occurred()) SWIG_fail;
23868 }
23869 {
23870 resultobj = wxPyMake_wxObject(result);
23871 }
23872 return resultobj;
23873 fail:
23874 return NULL;
23875}
23876
23877
2f4c0a16 23878static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23879 PyObject *resultobj;
23880 wxWindow *arg1 = (wxWindow *) 0 ;
23881 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
23882 bool result;
23883 PyObject * obj0 = 0 ;
23884 PyObject * obj1 = 0 ;
23885 char *kwnames[] = {
23886 (char *) "self",(char *) "handler", NULL
23887 };
23888
23889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
23893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23894 {
23895 PyThreadState* __tstate = wxPyBeginAllowThreads();
23896 result = (bool)(arg1)->RemoveEventHandler(arg2);
23897
23898 wxPyEndAllowThreads(__tstate);
23899 if (PyErr_Occurred()) SWIG_fail;
23900 }
02a34c4c 23901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23902 return resultobj;
23903 fail:
23904 return NULL;
23905}
23906
23907
2f4c0a16 23908static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23909 PyObject *resultobj;
23910 wxWindow *arg1 = (wxWindow *) 0 ;
23911 wxValidator *arg2 = 0 ;
23912 PyObject * obj0 = 0 ;
23913 PyObject * obj1 = 0 ;
23914 char *kwnames[] = {
23915 (char *) "self",(char *) "validator", NULL
23916 };
23917
23918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
23922 SWIG_POINTER_EXCEPTION | 0)) == -1)
23923 SWIG_fail;
d14a1e28 23924 if (arg2 == NULL) {
2f4c0a16
RD
23925 PyErr_SetString(PyExc_TypeError,"null reference");
23926 SWIG_fail;
d14a1e28
RD
23927 }
23928 {
23929 PyThreadState* __tstate = wxPyBeginAllowThreads();
23930 (arg1)->SetValidator((wxValidator const &)*arg2);
23931
23932 wxPyEndAllowThreads(__tstate);
23933 if (PyErr_Occurred()) SWIG_fail;
23934 }
23935 Py_INCREF(Py_None); resultobj = Py_None;
23936 return resultobj;
23937 fail:
23938 return NULL;
23939}
23940
23941
2f4c0a16 23942static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23943 PyObject *resultobj;
23944 wxWindow *arg1 = (wxWindow *) 0 ;
23945 wxValidator *result;
23946 PyObject * obj0 = 0 ;
23947 char *kwnames[] = {
23948 (char *) "self", NULL
23949 };
23950
23951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 result = (wxValidator *)(arg1)->GetValidator();
23957
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 {
23962 resultobj = wxPyMake_wxObject(result);
23963 }
23964 return resultobj;
23965 fail:
23966 return NULL;
23967}
23968
23969
2f4c0a16 23970static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23971 PyObject *resultobj;
23972 wxWindow *arg1 = (wxWindow *) 0 ;
23973 wxAcceleratorTable *arg2 = 0 ;
23974 PyObject * obj0 = 0 ;
23975 PyObject * obj1 = 0 ;
23976 char *kwnames[] = {
23977 (char *) "self",(char *) "accel", NULL
23978 };
23979
23980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23983 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
23984 SWIG_POINTER_EXCEPTION | 0)) == -1)
23985 SWIG_fail;
d14a1e28 23986 if (arg2 == NULL) {
2f4c0a16
RD
23987 PyErr_SetString(PyExc_TypeError,"null reference");
23988 SWIG_fail;
d14a1e28
RD
23989 }
23990 {
23991 PyThreadState* __tstate = wxPyBeginAllowThreads();
23992 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
23993
23994 wxPyEndAllowThreads(__tstate);
23995 if (PyErr_Occurred()) SWIG_fail;
23996 }
23997 Py_INCREF(Py_None); resultobj = Py_None;
23998 return resultobj;
23999 fail:
24000 return NULL;
24001}
24002
24003
2f4c0a16 24004static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24005 PyObject *resultobj;
24006 wxWindow *arg1 = (wxWindow *) 0 ;
24007 wxAcceleratorTable *result;
24008 PyObject * obj0 = 0 ;
24009 char *kwnames[] = {
24010 (char *) "self", NULL
24011 };
24012
24013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24016 {
24017 PyThreadState* __tstate = wxPyBeginAllowThreads();
24018 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
24019
24020 wxPyEndAllowThreads(__tstate);
24021 if (PyErr_Occurred()) SWIG_fail;
24022 }
2f4c0a16 24023 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
24024 return resultobj;
24025 fail:
24026 return NULL;
24027}
24028
24029
2f4c0a16 24030static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24031 PyObject *resultobj;
24032 wxWindow *arg1 = (wxWindow *) 0 ;
24033 int arg2 ;
24034 int arg3 ;
24035 int arg4 ;
24036 bool result;
24037 PyObject * obj0 = 0 ;
8edf1c75
RD
24038 PyObject * obj1 = 0 ;
24039 PyObject * obj2 = 0 ;
24040 PyObject * obj3 = 0 ;
d14a1e28
RD
24041 char *kwnames[] = {
24042 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24043 };
24044
8edf1c75 24045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
24046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24048 arg2 = (int) SWIG_AsInt(obj1);
24049 if (PyErr_Occurred()) SWIG_fail;
24050 arg3 = (int) SWIG_AsInt(obj2);
24051 if (PyErr_Occurred()) SWIG_fail;
24052 arg4 = (int) SWIG_AsInt(obj3);
24053 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24054 {
24055 PyThreadState* __tstate = wxPyBeginAllowThreads();
24056 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
24057
24058 wxPyEndAllowThreads(__tstate);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 }
02a34c4c 24061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24062 return resultobj;
24063 fail:
24064 return NULL;
24065}
24066
24067
2f4c0a16 24068static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24069 PyObject *resultobj;
24070 wxWindow *arg1 = (wxWindow *) 0 ;
24071 int arg2 ;
24072 bool result;
24073 PyObject * obj0 = 0 ;
8edf1c75 24074 PyObject * obj1 = 0 ;
d14a1e28
RD
24075 char *kwnames[] = {
24076 (char *) "self",(char *) "hotkeyId", NULL
24077 };
24078
8edf1c75 24079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24082 arg2 = (int) SWIG_AsInt(obj1);
24083 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24084 {
24085 PyThreadState* __tstate = wxPyBeginAllowThreads();
24086 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
24087
24088 wxPyEndAllowThreads(__tstate);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 }
02a34c4c 24091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24092 return resultobj;
24093 fail:
24094 return NULL;
24095}
24096
24097
2f4c0a16 24098static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24099 PyObject *resultobj;
24100 wxWindow *arg1 = (wxWindow *) 0 ;
24101 wxPoint *arg2 = 0 ;
24102 wxPoint result;
24103 wxPoint temp2 ;
24104 PyObject * obj0 = 0 ;
24105 PyObject * obj1 = 0 ;
24106 char *kwnames[] = {
24107 (char *) "self",(char *) "pt", NULL
24108 };
24109
24110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24113 {
24114 arg2 = &temp2;
24115 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24116 }
24117 {
24118 PyThreadState* __tstate = wxPyBeginAllowThreads();
24119 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
24120
24121 wxPyEndAllowThreads(__tstate);
24122 if (PyErr_Occurred()) SWIG_fail;
24123 }
24124 {
24125 wxPoint * resultptr;
24126 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 24127 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24128 }
24129 return resultobj;
24130 fail:
24131 return NULL;
24132}
24133
24134
2f4c0a16 24135static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24136 PyObject *resultobj;
24137 wxWindow *arg1 = (wxWindow *) 0 ;
24138 wxSize *arg2 = 0 ;
24139 wxSize result;
24140 wxSize temp2 ;
24141 PyObject * obj0 = 0 ;
24142 PyObject * obj1 = 0 ;
24143 char *kwnames[] = {
24144 (char *) "self",(char *) "sz", NULL
24145 };
24146
24147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24150 {
24151 arg2 = &temp2;
24152 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24153 }
24154 {
24155 PyThreadState* __tstate = wxPyBeginAllowThreads();
24156 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
24157
24158 wxPyEndAllowThreads(__tstate);
24159 if (PyErr_Occurred()) SWIG_fail;
24160 }
24161 {
24162 wxSize * resultptr;
24163 resultptr = new wxSize((wxSize &) result);
2f4c0a16 24164 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24165 }
24166 return resultobj;
24167 fail:
24168 return NULL;
24169}
24170
24171
2f4c0a16 24172static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24173 PyObject *resultobj;
24174 wxWindow *arg1 = (wxWindow *) 0 ;
24175 wxPoint *arg2 = 0 ;
24176 wxPoint result;
24177 wxPoint temp2 ;
24178 PyObject * obj0 = 0 ;
24179 PyObject * obj1 = 0 ;
24180 char *kwnames[] = {
24181 (char *) "self",(char *) "pt", NULL
24182 };
24183
24184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24187 {
24188 arg2 = &temp2;
24189 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24190 }
24191 {
24192 PyThreadState* __tstate = wxPyBeginAllowThreads();
24193 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
24194
24195 wxPyEndAllowThreads(__tstate);
24196 if (PyErr_Occurred()) SWIG_fail;
24197 }
24198 {
24199 wxPoint * resultptr;
24200 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 24201 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24202 }
24203 return resultobj;
24204 fail:
24205 return NULL;
24206}
24207
24208
2f4c0a16 24209static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24210 PyObject *resultobj;
24211 wxWindow *arg1 = (wxWindow *) 0 ;
24212 wxSize *arg2 = 0 ;
24213 wxSize result;
24214 wxSize temp2 ;
24215 PyObject * obj0 = 0 ;
24216 PyObject * obj1 = 0 ;
24217 char *kwnames[] = {
24218 (char *) "self",(char *) "sz", NULL
24219 };
24220
24221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24224 {
24225 arg2 = &temp2;
24226 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24227 }
24228 {
24229 PyThreadState* __tstate = wxPyBeginAllowThreads();
24230 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
24231
24232 wxPyEndAllowThreads(__tstate);
24233 if (PyErr_Occurred()) SWIG_fail;
24234 }
24235 {
24236 wxSize * resultptr;
24237 resultptr = new wxSize((wxSize &) result);
2f4c0a16 24238 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24239 }
24240 return resultobj;
24241 fail:
24242 return NULL;
24243}
24244
24245
2f4c0a16 24246static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24247 PyObject *resultobj;
24248 wxWindow *arg1 = (wxWindow *) 0 ;
24249 wxPoint *arg2 = 0 ;
24250 wxPoint result;
24251 wxPoint temp2 ;
24252 PyObject * obj0 = 0 ;
24253 PyObject * obj1 = 0 ;
24254 char *kwnames[] = {
24255 (char *) "self",(char *) "pt", NULL
24256 };
24257
24258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24261 {
24262 arg2 = &temp2;
24263 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24264 }
24265 {
24266 PyThreadState* __tstate = wxPyBeginAllowThreads();
24267 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
24268
24269 wxPyEndAllowThreads(__tstate);
24270 if (PyErr_Occurred()) SWIG_fail;
24271 }
24272 {
24273 wxPoint * resultptr;
24274 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 24275 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24276 }
24277 return resultobj;
24278 fail:
24279 return NULL;
24280}
24281
24282
2f4c0a16 24283static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24284 PyObject *resultobj;
24285 wxWindow *arg1 = (wxWindow *) 0 ;
24286 wxSize *arg2 = 0 ;
24287 wxSize result;
24288 wxSize temp2 ;
24289 PyObject * obj0 = 0 ;
24290 PyObject * obj1 = 0 ;
24291 char *kwnames[] = {
24292 (char *) "self",(char *) "sz", NULL
24293 };
24294
24295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24298 {
24299 arg2 = &temp2;
24300 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24301 }
24302 {
24303 PyThreadState* __tstate = wxPyBeginAllowThreads();
24304 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
24305
24306 wxPyEndAllowThreads(__tstate);
24307 if (PyErr_Occurred()) SWIG_fail;
24308 }
24309 {
24310 wxSize * resultptr;
24311 resultptr = new wxSize((wxSize &) result);
2f4c0a16 24312 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24313 }
24314 return resultobj;
24315 fail:
24316 return NULL;
24317}
24318
24319
2f4c0a16 24320static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24321 PyObject *resultobj;
24322 wxWindow *arg1 = (wxWindow *) 0 ;
24323 int arg2 ;
24324 int arg3 ;
24325 PyObject * obj0 = 0 ;
8edf1c75
RD
24326 PyObject * obj1 = 0 ;
24327 PyObject * obj2 = 0 ;
d14a1e28
RD
24328 char *kwnames[] = {
24329 (char *) "self",(char *) "x",(char *) "y", NULL
24330 };
24331
8edf1c75 24332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24335 arg2 = (int) SWIG_AsInt(obj1);
24336 if (PyErr_Occurred()) SWIG_fail;
24337 arg3 = (int) SWIG_AsInt(obj2);
24338 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24339 {
24340 PyThreadState* __tstate = wxPyBeginAllowThreads();
24341 (arg1)->WarpPointer(arg2,arg3);
24342
24343 wxPyEndAllowThreads(__tstate);
24344 if (PyErr_Occurred()) SWIG_fail;
24345 }
24346 Py_INCREF(Py_None); resultobj = Py_None;
24347 return resultobj;
24348 fail:
24349 return NULL;
24350}
24351
24352
2f4c0a16 24353static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24354 PyObject *resultobj;
24355 wxWindow *arg1 = (wxWindow *) 0 ;
24356 PyObject * obj0 = 0 ;
24357 char *kwnames[] = {
24358 (char *) "self", NULL
24359 };
24360
24361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24364 {
24365 PyThreadState* __tstate = wxPyBeginAllowThreads();
24366 (arg1)->CaptureMouse();
24367
24368 wxPyEndAllowThreads(__tstate);
24369 if (PyErr_Occurred()) SWIG_fail;
24370 }
24371 Py_INCREF(Py_None); resultobj = Py_None;
24372 return resultobj;
24373 fail:
24374 return NULL;
24375}
24376
24377
2f4c0a16 24378static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24379 PyObject *resultobj;
24380 wxWindow *arg1 = (wxWindow *) 0 ;
24381 PyObject * obj0 = 0 ;
24382 char *kwnames[] = {
24383 (char *) "self", NULL
24384 };
24385
24386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24389 {
24390 PyThreadState* __tstate = wxPyBeginAllowThreads();
24391 (arg1)->ReleaseMouse();
24392
24393 wxPyEndAllowThreads(__tstate);
24394 if (PyErr_Occurred()) SWIG_fail;
24395 }
24396 Py_INCREF(Py_None); resultobj = Py_None;
24397 return resultobj;
24398 fail:
24399 return NULL;
24400}
24401
24402
2f4c0a16 24403static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24404 PyObject *resultobj;
24405 wxWindow *result;
24406 char *kwnames[] = {
24407 NULL
24408 };
24409
24410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
24411 {
24412 PyThreadState* __tstate = wxPyBeginAllowThreads();
24413 result = (wxWindow *)wxWindow::GetCapture();
24414
24415 wxPyEndAllowThreads(__tstate);
24416 if (PyErr_Occurred()) SWIG_fail;
24417 }
24418 {
24419 resultobj = wxPyMake_wxObject(result);
24420 }
24421 return resultobj;
24422 fail:
24423 return NULL;
24424}
24425
24426
2f4c0a16 24427static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24428 PyObject *resultobj;
24429 wxWindow *arg1 = (wxWindow *) 0 ;
24430 bool result;
24431 PyObject * obj0 = 0 ;
24432 char *kwnames[] = {
24433 (char *) "self", NULL
24434 };
24435
24436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 result = (bool)((wxWindow const *)arg1)->HasCapture();
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
02a34c4c 24446 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24447 return resultobj;
24448 fail:
24449 return NULL;
24450}
24451
24452
2f4c0a16 24453static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24454 PyObject *resultobj;
24455 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 24456 bool arg2 = (bool) True ;
d14a1e28
RD
24457 wxRect *arg3 = (wxRect *) NULL ;
24458 PyObject * obj0 = 0 ;
24459 PyObject * obj1 = 0 ;
24460 PyObject * obj2 = 0 ;
24461 char *kwnames[] = {
24462 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24463 };
24464
24465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24468 if (obj1) {
2f4c0a16
RD
24469 arg2 = (bool) SWIG_AsBool(obj1);
24470 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24471 }
24472 if (obj2) {
2f4c0a16
RD
24473 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
24474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24475 }
24476 {
24477 PyThreadState* __tstate = wxPyBeginAllowThreads();
24478 (arg1)->Refresh(arg2,(wxRect const *)arg3);
24479
24480 wxPyEndAllowThreads(__tstate);
24481 if (PyErr_Occurred()) SWIG_fail;
24482 }
24483 Py_INCREF(Py_None); resultobj = Py_None;
24484 return resultobj;
24485 fail:
24486 return NULL;
24487}
24488
24489
2f4c0a16 24490static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24491 PyObject *resultobj;
24492 wxWindow *arg1 = (wxWindow *) 0 ;
24493 wxRect *arg2 = 0 ;
24494 wxRect temp2 ;
24495 PyObject * obj0 = 0 ;
24496 PyObject * obj1 = 0 ;
24497 char *kwnames[] = {
24498 (char *) "self",(char *) "rect", NULL
24499 };
24500
24501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24504 {
24505 arg2 = &temp2;
24506 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
24507 }
24508 {
24509 PyThreadState* __tstate = wxPyBeginAllowThreads();
24510 (arg1)->RefreshRect((wxRect const &)*arg2);
24511
24512 wxPyEndAllowThreads(__tstate);
24513 if (PyErr_Occurred()) SWIG_fail;
24514 }
24515 Py_INCREF(Py_None); resultobj = Py_None;
24516 return resultobj;
24517 fail:
24518 return NULL;
24519}
24520
24521
2f4c0a16 24522static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24523 PyObject *resultobj;
24524 wxWindow *arg1 = (wxWindow *) 0 ;
24525 PyObject * obj0 = 0 ;
24526 char *kwnames[] = {
24527 (char *) "self", NULL
24528 };
24529
24530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24533 {
24534 PyThreadState* __tstate = wxPyBeginAllowThreads();
24535 (arg1)->Update();
24536
24537 wxPyEndAllowThreads(__tstate);
24538 if (PyErr_Occurred()) SWIG_fail;
24539 }
24540 Py_INCREF(Py_None); resultobj = Py_None;
24541 return resultobj;
24542 fail:
24543 return NULL;
24544}
24545
24546
2f4c0a16 24547static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24548 PyObject *resultobj;
24549 wxWindow *arg1 = (wxWindow *) 0 ;
24550 PyObject * obj0 = 0 ;
24551 char *kwnames[] = {
24552 (char *) "self", NULL
24553 };
24554
24555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24558 {
24559 PyThreadState* __tstate = wxPyBeginAllowThreads();
24560 (arg1)->ClearBackground();
24561
24562 wxPyEndAllowThreads(__tstate);
24563 if (PyErr_Occurred()) SWIG_fail;
24564 }
24565 Py_INCREF(Py_None); resultobj = Py_None;
24566 return resultobj;
24567 fail:
24568 return NULL;
24569}
24570
24571
2f4c0a16 24572static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24573 PyObject *resultobj;
24574 wxWindow *arg1 = (wxWindow *) 0 ;
24575 PyObject * obj0 = 0 ;
24576 char *kwnames[] = {
24577 (char *) "self", NULL
24578 };
24579
24580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24583 {
24584 PyThreadState* __tstate = wxPyBeginAllowThreads();
24585 (arg1)->Freeze();
24586
24587 wxPyEndAllowThreads(__tstate);
24588 if (PyErr_Occurred()) SWIG_fail;
24589 }
24590 Py_INCREF(Py_None); resultobj = Py_None;
24591 return resultobj;
24592 fail:
24593 return NULL;
24594}
24595
24596
2f4c0a16 24597static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24598 PyObject *resultobj;
24599 wxWindow *arg1 = (wxWindow *) 0 ;
24600 PyObject * obj0 = 0 ;
24601 char *kwnames[] = {
24602 (char *) "self", NULL
24603 };
24604
24605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24608 {
24609 PyThreadState* __tstate = wxPyBeginAllowThreads();
24610 (arg1)->Thaw();
24611
24612 wxPyEndAllowThreads(__tstate);
24613 if (PyErr_Occurred()) SWIG_fail;
24614 }
24615 Py_INCREF(Py_None); resultobj = Py_None;
24616 return resultobj;
24617 fail:
24618 return NULL;
24619}
24620
24621
2f4c0a16 24622static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24623 PyObject *resultobj;
24624 wxWindow *arg1 = (wxWindow *) 0 ;
24625 wxDC *arg2 = 0 ;
24626 PyObject * obj0 = 0 ;
24627 PyObject * obj1 = 0 ;
24628 char *kwnames[] = {
24629 (char *) "self",(char *) "dc", NULL
24630 };
24631
24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24636 SWIG_POINTER_EXCEPTION | 0)) == -1)
24637 SWIG_fail;
d14a1e28 24638 if (arg2 == NULL) {
2f4c0a16
RD
24639 PyErr_SetString(PyExc_TypeError,"null reference");
24640 SWIG_fail;
d14a1e28
RD
24641 }
24642 {
24643 PyThreadState* __tstate = wxPyBeginAllowThreads();
24644 (arg1)->PrepareDC(*arg2);
24645
24646 wxPyEndAllowThreads(__tstate);
24647 if (PyErr_Occurred()) SWIG_fail;
24648 }
24649 Py_INCREF(Py_None); resultobj = Py_None;
24650 return resultobj;
24651 fail:
24652 return NULL;
24653}
24654
24655
2f4c0a16 24656static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24657 PyObject *resultobj;
24658 wxWindow *arg1 = (wxWindow *) 0 ;
24659 wxRegion *result;
24660 PyObject * obj0 = 0 ;
24661 char *kwnames[] = {
24662 (char *) "self", NULL
24663 };
24664
24665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24668 {
24669 PyThreadState* __tstate = wxPyBeginAllowThreads();
24670 {
24671 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
24672 result = (wxRegion *) &_result_ref;
24673 }
24674
24675 wxPyEndAllowThreads(__tstate);
24676 if (PyErr_Occurred()) SWIG_fail;
24677 }
2f4c0a16 24678 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
24679 return resultobj;
24680 fail:
24681 return NULL;
24682}
24683
24684
2f4c0a16 24685static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24686 PyObject *resultobj;
24687 wxWindow *arg1 = (wxWindow *) 0 ;
24688 wxRect result;
24689 PyObject * obj0 = 0 ;
24690 char *kwnames[] = {
24691 (char *) "self", NULL
24692 };
24693
24694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24697 {
24698 PyThreadState* __tstate = wxPyBeginAllowThreads();
24699 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
24700
24701 wxPyEndAllowThreads(__tstate);
24702 if (PyErr_Occurred()) SWIG_fail;
24703 }
24704 {
24705 wxRect * resultptr;
24706 resultptr = new wxRect((wxRect &) result);
2f4c0a16 24707 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
24708 }
24709 return resultobj;
24710 fail:
24711 return NULL;
24712}
24713
24714
2f4c0a16 24715static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24716 PyObject *resultobj;
24717 wxWindow *arg1 = (wxWindow *) 0 ;
24718 int arg2 ;
24719 int arg3 ;
24720 int arg4 = (int) 1 ;
24721 int arg5 = (int) 1 ;
24722 bool result;
24723 PyObject * obj0 = 0 ;
8edf1c75
RD
24724 PyObject * obj1 = 0 ;
24725 PyObject * obj2 = 0 ;
24726 PyObject * obj3 = 0 ;
24727 PyObject * obj4 = 0 ;
d14a1e28
RD
24728 char *kwnames[] = {
24729 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24730 };
24731
8edf1c75 24732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24735 arg2 = (int) SWIG_AsInt(obj1);
24736 if (PyErr_Occurred()) SWIG_fail;
24737 arg3 = (int) SWIG_AsInt(obj2);
24738 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24739 if (obj3) {
2f4c0a16
RD
24740 arg4 = (int) SWIG_AsInt(obj3);
24741 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24742 }
24743 if (obj4) {
2f4c0a16
RD
24744 arg5 = (int) SWIG_AsInt(obj4);
24745 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24746 }
d14a1e28
RD
24747 {
24748 PyThreadState* __tstate = wxPyBeginAllowThreads();
24749 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
24750
24751 wxPyEndAllowThreads(__tstate);
24752 if (PyErr_Occurred()) SWIG_fail;
24753 }
02a34c4c 24754 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24755 return resultobj;
24756 fail:
24757 return NULL;
24758}
24759
24760
2f4c0a16 24761static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24762 PyObject *resultobj;
24763 wxWindow *arg1 = (wxWindow *) 0 ;
24764 wxPoint *arg2 = 0 ;
24765 bool result;
24766 wxPoint temp2 ;
24767 PyObject * obj0 = 0 ;
24768 PyObject * obj1 = 0 ;
24769 char *kwnames[] = {
24770 (char *) "self",(char *) "pt", NULL
24771 };
24772
24773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24776 {
24777 arg2 = &temp2;
24778 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24779 }
24780 {
24781 PyThreadState* __tstate = wxPyBeginAllowThreads();
24782 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
24783
24784 wxPyEndAllowThreads(__tstate);
24785 if (PyErr_Occurred()) SWIG_fail;
24786 }
02a34c4c 24787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24788 return resultobj;
24789 fail:
24790 return NULL;
24791}
24792
24793
ce7284bd 24794static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24795 PyObject *resultobj;
24796 wxWindow *arg1 = (wxWindow *) 0 ;
24797 wxRect *arg2 = 0 ;
24798 bool result;
24799 wxRect temp2 ;
24800 PyObject * obj0 = 0 ;
24801 PyObject * obj1 = 0 ;
24802 char *kwnames[] = {
24803 (char *) "self",(char *) "rect", NULL
24804 };
24805
ce7284bd 24806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24809 {
24810 arg2 = &temp2;
24811 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
24812 }
24813 {
24814 PyThreadState* __tstate = wxPyBeginAllowThreads();
24815 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
24816
24817 wxPyEndAllowThreads(__tstate);
24818 if (PyErr_Occurred()) SWIG_fail;
24819 }
02a34c4c 24820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24821 return resultobj;
24822 fail:
24823 return NULL;
24824}
24825
24826
2f4c0a16 24827static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24828 PyObject *resultobj;
24829 wxWindow *arg1 = (wxWindow *) 0 ;
24830 wxColour *arg2 = 0 ;
24831 bool result;
24832 wxColour temp2 ;
24833 PyObject * obj0 = 0 ;
24834 PyObject * obj1 = 0 ;
24835 char *kwnames[] = {
24836 (char *) "self",(char *) "colour", NULL
24837 };
24838
24839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24842 {
24843 arg2 = &temp2;
24844 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24845 }
24846 {
24847 PyThreadState* __tstate = wxPyBeginAllowThreads();
24848 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24849
24850 wxPyEndAllowThreads(__tstate);
24851 if (PyErr_Occurred()) SWIG_fail;
24852 }
02a34c4c 24853 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24854 return resultobj;
24855 fail:
24856 return NULL;
24857}
24858
24859
2f4c0a16 24860static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24861 PyObject *resultobj;
24862 wxWindow *arg1 = (wxWindow *) 0 ;
24863 wxColour *arg2 = 0 ;
24864 bool result;
24865 wxColour temp2 ;
24866 PyObject * obj0 = 0 ;
24867 PyObject * obj1 = 0 ;
24868 char *kwnames[] = {
24869 (char *) "self",(char *) "colour", NULL
24870 };
24871
24872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24875 {
24876 arg2 = &temp2;
24877 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24878 }
24879 {
24880 PyThreadState* __tstate = wxPyBeginAllowThreads();
24881 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24882
24883 wxPyEndAllowThreads(__tstate);
24884 if (PyErr_Occurred()) SWIG_fail;
24885 }
02a34c4c 24886 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24887 return resultobj;
24888 fail:
24889 return NULL;
24890}
24891
24892
2f4c0a16 24893static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24894 PyObject *resultobj;
24895 wxWindow *arg1 = (wxWindow *) 0 ;
24896 wxColour result;
24897 PyObject * obj0 = 0 ;
24898 char *kwnames[] = {
24899 (char *) "self", NULL
24900 };
24901
24902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24903 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24905 {
24906 PyThreadState* __tstate = wxPyBeginAllowThreads();
24907 result = ((wxWindow const *)arg1)->GetBackgroundColour();
24908
24909 wxPyEndAllowThreads(__tstate);
24910 if (PyErr_Occurred()) SWIG_fail;
24911 }
24912 {
24913 wxColour * resultptr;
24914 resultptr = new wxColour((wxColour &) result);
2f4c0a16 24915 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
24916 }
24917 return resultobj;
24918 fail:
24919 return NULL;
24920}
24921
24922
2f4c0a16 24923static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24924 PyObject *resultobj;
24925 wxWindow *arg1 = (wxWindow *) 0 ;
24926 wxColour result;
24927 PyObject * obj0 = 0 ;
24928 char *kwnames[] = {
24929 (char *) "self", NULL
24930 };
24931
24932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24935 {
24936 PyThreadState* __tstate = wxPyBeginAllowThreads();
24937 result = ((wxWindow const *)arg1)->GetForegroundColour();
24938
24939 wxPyEndAllowThreads(__tstate);
24940 if (PyErr_Occurred()) SWIG_fail;
24941 }
24942 {
24943 wxColour * resultptr;
24944 resultptr = new wxColour((wxColour &) result);
2f4c0a16 24945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
24946 }
24947 return resultobj;
24948 fail:
24949 return NULL;
24950}
24951
24952
2f4c0a16 24953static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24954 PyObject *resultobj;
24955 wxWindow *arg1 = (wxWindow *) 0 ;
24956 wxCursor *arg2 = 0 ;
24957 bool result;
24958 PyObject * obj0 = 0 ;
24959 PyObject * obj1 = 0 ;
24960 char *kwnames[] = {
24961 (char *) "self",(char *) "cursor", NULL
24962 };
24963
24964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24967 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
24968 SWIG_POINTER_EXCEPTION | 0)) == -1)
24969 SWIG_fail;
d14a1e28 24970 if (arg2 == NULL) {
2f4c0a16
RD
24971 PyErr_SetString(PyExc_TypeError,"null reference");
24972 SWIG_fail;
d14a1e28
RD
24973 }
24974 {
24975 PyThreadState* __tstate = wxPyBeginAllowThreads();
24976 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
24977
24978 wxPyEndAllowThreads(__tstate);
24979 if (PyErr_Occurred()) SWIG_fail;
24980 }
02a34c4c 24981 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24982 return resultobj;
24983 fail:
24984 return NULL;
24985}
24986
24987
2f4c0a16 24988static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24989 PyObject *resultobj;
24990 wxWindow *arg1 = (wxWindow *) 0 ;
24991 wxCursor *result;
24992 PyObject * obj0 = 0 ;
24993 char *kwnames[] = {
24994 (char *) "self", NULL
24995 };
24996
24997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25000 {
25001 PyThreadState* __tstate = wxPyBeginAllowThreads();
25002 {
25003 wxCursor &_result_ref = (arg1)->GetCursor();
25004 result = (wxCursor *) &_result_ref;
25005 }
25006
25007 wxPyEndAllowThreads(__tstate);
25008 if (PyErr_Occurred()) SWIG_fail;
25009 }
ce7284bd
RD
25010 {
25011 wxCursor* resultptr = new wxCursor(*result);
25012 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
25013 }
d14a1e28
RD
25014 return resultobj;
25015 fail:
25016 return NULL;
25017}
25018
25019
2f4c0a16 25020static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25021 PyObject *resultobj;
25022 wxWindow *arg1 = (wxWindow *) 0 ;
25023 wxFont *arg2 = 0 ;
25024 bool result;
25025 PyObject * obj0 = 0 ;
25026 PyObject * obj1 = 0 ;
25027 char *kwnames[] = {
25028 (char *) "self",(char *) "font", NULL
25029 };
25030
25031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25034 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
25035 SWIG_POINTER_EXCEPTION | 0)) == -1)
25036 SWIG_fail;
d14a1e28 25037 if (arg2 == NULL) {
2f4c0a16
RD
25038 PyErr_SetString(PyExc_TypeError,"null reference");
25039 SWIG_fail;
d14a1e28
RD
25040 }
25041 {
25042 PyThreadState* __tstate = wxPyBeginAllowThreads();
25043 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
25044
25045 wxPyEndAllowThreads(__tstate);
25046 if (PyErr_Occurred()) SWIG_fail;
25047 }
02a34c4c 25048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25049 return resultobj;
25050 fail:
25051 return NULL;
25052}
25053
25054
2f4c0a16 25055static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25056 PyObject *resultobj;
25057 wxWindow *arg1 = (wxWindow *) 0 ;
25058 wxFont *result;
25059 PyObject * obj0 = 0 ;
25060 char *kwnames[] = {
25061 (char *) "self", NULL
25062 };
25063
25064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25067 {
25068 PyThreadState* __tstate = wxPyBeginAllowThreads();
25069 {
25070 wxFont &_result_ref = (arg1)->GetFont();
25071 result = (wxFont *) &_result_ref;
25072 }
25073
25074 wxPyEndAllowThreads(__tstate);
25075 if (PyErr_Occurred()) SWIG_fail;
25076 }
ce7284bd
RD
25077 {
25078 wxFont* resultptr = new wxFont(*result);
25079 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
25080 }
d14a1e28
RD
25081 return resultobj;
25082 fail:
25083 return NULL;
25084}
25085
25086
2f4c0a16 25087static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25088 PyObject *resultobj;
25089 wxWindow *arg1 = (wxWindow *) 0 ;
25090 wxCaret *arg2 = (wxCaret *) 0 ;
25091 PyObject * obj0 = 0 ;
25092 PyObject * obj1 = 0 ;
25093 char *kwnames[] = {
25094 (char *) "self",(char *) "caret", NULL
25095 };
25096
25097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
25101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25102 {
25103 PyThreadState* __tstate = wxPyBeginAllowThreads();
25104 (arg1)->SetCaret(arg2);
25105
25106 wxPyEndAllowThreads(__tstate);
25107 if (PyErr_Occurred()) SWIG_fail;
25108 }
25109 Py_INCREF(Py_None); resultobj = Py_None;
25110 return resultobj;
25111 fail:
25112 return NULL;
25113}
25114
25115
2f4c0a16 25116static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25117 PyObject *resultobj;
25118 wxWindow *arg1 = (wxWindow *) 0 ;
25119 wxCaret *result;
25120 PyObject * obj0 = 0 ;
25121 char *kwnames[] = {
25122 (char *) "self", NULL
25123 };
25124
25125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25128 {
25129 PyThreadState* __tstate = wxPyBeginAllowThreads();
25130 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
25131
25132 wxPyEndAllowThreads(__tstate);
25133 if (PyErr_Occurred()) SWIG_fail;
25134 }
2f4c0a16 25135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
25136 return resultobj;
25137 fail:
25138 return NULL;
25139}
25140
25141
2f4c0a16 25142static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25143 PyObject *resultobj;
25144 wxWindow *arg1 = (wxWindow *) 0 ;
25145 int result;
25146 PyObject * obj0 = 0 ;
25147 char *kwnames[] = {
25148 (char *) "self", NULL
25149 };
25150
25151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25154 {
25155 PyThreadState* __tstate = wxPyBeginAllowThreads();
25156 result = (int)((wxWindow const *)arg1)->GetCharHeight();
25157
25158 wxPyEndAllowThreads(__tstate);
25159 if (PyErr_Occurred()) SWIG_fail;
25160 }
2f4c0a16 25161 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25162 return resultobj;
25163 fail:
25164 return NULL;
25165}
25166
25167
2f4c0a16 25168static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25169 PyObject *resultobj;
25170 wxWindow *arg1 = (wxWindow *) 0 ;
25171 int result;
25172 PyObject * obj0 = 0 ;
25173 char *kwnames[] = {
25174 (char *) "self", NULL
25175 };
25176
25177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25180 {
25181 PyThreadState* __tstate = wxPyBeginAllowThreads();
25182 result = (int)((wxWindow const *)arg1)->GetCharWidth();
25183
25184 wxPyEndAllowThreads(__tstate);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
2f4c0a16 25187 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25188 return resultobj;
25189 fail:
25190 return NULL;
25191}
25192
25193
2f4c0a16 25194static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25195 PyObject *resultobj;
25196 wxWindow *arg1 = (wxWindow *) 0 ;
25197 wxString *arg2 = 0 ;
25198 int *arg3 = (int *) 0 ;
25199 int *arg4 = (int *) 0 ;
423f194a 25200 bool temp2 = False ;
d14a1e28
RD
25201 int temp3 ;
25202 int temp4 ;
25203 PyObject * obj0 = 0 ;
25204 PyObject * obj1 = 0 ;
25205 char *kwnames[] = {
25206 (char *) "self",(char *) "string", NULL
25207 };
25208
25209 arg3 = &temp3;
25210 arg4 = &temp4;
25211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25214 {
25215 arg2 = wxString_in_helper(obj1);
25216 if (arg2 == NULL) SWIG_fail;
423f194a 25217 temp2 = True;
d14a1e28
RD
25218 }
25219 {
25220 PyThreadState* __tstate = wxPyBeginAllowThreads();
25221 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
25222
25223 wxPyEndAllowThreads(__tstate);
25224 if (PyErr_Occurred()) SWIG_fail;
25225 }
25226 Py_INCREF(Py_None); resultobj = Py_None;
25227 {
25228 PyObject *o = PyInt_FromLong((long) (*arg3));
25229 resultobj = t_output_helper(resultobj,o);
25230 }
25231 {
25232 PyObject *o = PyInt_FromLong((long) (*arg4));
25233 resultobj = t_output_helper(resultobj,o);
25234 }
25235 {
25236 if (temp2)
25237 delete arg2;
25238 }
25239 return resultobj;
25240 fail:
25241 {
25242 if (temp2)
25243 delete arg2;
25244 }
25245 return NULL;
25246}
25247
25248
2f4c0a16 25249static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25250 PyObject *resultobj;
25251 wxWindow *arg1 = (wxWindow *) 0 ;
25252 wxString *arg2 = 0 ;
25253 int *arg3 = (int *) 0 ;
25254 int *arg4 = (int *) 0 ;
25255 int *arg5 = (int *) 0 ;
25256 int *arg6 = (int *) 0 ;
25257 wxFont *arg7 = (wxFont *) NULL ;
423f194a 25258 bool temp2 = False ;
d14a1e28
RD
25259 int temp3 ;
25260 int temp4 ;
25261 int temp5 ;
25262 int temp6 ;
25263 PyObject * obj0 = 0 ;
25264 PyObject * obj1 = 0 ;
25265 PyObject * obj2 = 0 ;
25266 char *kwnames[] = {
25267 (char *) "self",(char *) "string",(char *) "font", NULL
25268 };
25269
25270 arg3 = &temp3;
25271 arg4 = &temp4;
25272 arg5 = &temp5;
25273 arg6 = &temp6;
25274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25277 {
25278 arg2 = wxString_in_helper(obj1);
25279 if (arg2 == NULL) SWIG_fail;
423f194a 25280 temp2 = True;
d14a1e28
RD
25281 }
25282 if (obj2) {
2f4c0a16
RD
25283 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
25284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25285 }
25286 {
25287 PyThreadState* __tstate = wxPyBeginAllowThreads();
25288 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
25289
25290 wxPyEndAllowThreads(__tstate);
25291 if (PyErr_Occurred()) SWIG_fail;
25292 }
25293 Py_INCREF(Py_None); resultobj = Py_None;
25294 {
25295 PyObject *o = PyInt_FromLong((long) (*arg3));
25296 resultobj = t_output_helper(resultobj,o);
25297 }
25298 {
25299 PyObject *o = PyInt_FromLong((long) (*arg4));
25300 resultobj = t_output_helper(resultobj,o);
25301 }
25302 {
25303 PyObject *o = PyInt_FromLong((long) (*arg5));
25304 resultobj = t_output_helper(resultobj,o);
25305 }
25306 {
25307 PyObject *o = PyInt_FromLong((long) (*arg6));
25308 resultobj = t_output_helper(resultobj,o);
25309 }
25310 {
25311 if (temp2)
25312 delete arg2;
25313 }
25314 return resultobj;
25315 fail:
25316 {
25317 if (temp2)
25318 delete arg2;
25319 }
25320 return NULL;
25321}
25322
25323
2f4c0a16 25324static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25325 PyObject *resultobj;
25326 wxWindow *arg1 = (wxWindow *) 0 ;
25327 int *arg2 = (int *) 0 ;
25328 int *arg3 = (int *) 0 ;
25329 int temp2 ;
25330 int temp3 ;
25331 PyObject * obj0 = 0 ;
25332 PyObject * obj1 = 0 ;
25333 PyObject * obj2 = 0 ;
25334 char *kwnames[] = {
25335 (char *) "self",(char *) "x",(char *) "y", NULL
25336 };
25337
25338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25341 {
25342 temp2 = PyInt_AsLong(obj1);
25343 if (PyErr_Occurred()) SWIG_fail;
25344 arg2 = &temp2;
25345 }
25346 {
25347 temp3 = PyInt_AsLong(obj2);
25348 if (PyErr_Occurred()) SWIG_fail;
25349 arg3 = &temp3;
25350 }
25351 {
25352 PyThreadState* __tstate = wxPyBeginAllowThreads();
25353 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
25354
25355 wxPyEndAllowThreads(__tstate);
25356 if (PyErr_Occurred()) SWIG_fail;
25357 }
25358 Py_INCREF(Py_None); resultobj = Py_None;
25359 {
25360 PyObject *o = PyInt_FromLong((long) (*arg2));
25361 resultobj = t_output_helper(resultobj,o);
25362 }
25363 {
25364 PyObject *o = PyInt_FromLong((long) (*arg3));
25365 resultobj = t_output_helper(resultobj,o);
25366 }
25367 return resultobj;
25368 fail:
25369 return NULL;
25370}
25371
25372
2f4c0a16 25373static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25374 PyObject *resultobj;
25375 wxWindow *arg1 = (wxWindow *) 0 ;
25376 int *arg2 = (int *) 0 ;
25377 int *arg3 = (int *) 0 ;
25378 int temp2 ;
25379 int temp3 ;
25380 PyObject * obj0 = 0 ;
25381 PyObject * obj1 = 0 ;
25382 PyObject * obj2 = 0 ;
25383 char *kwnames[] = {
25384 (char *) "self",(char *) "x",(char *) "y", NULL
25385 };
25386
25387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25390 {
25391 temp2 = PyInt_AsLong(obj1);
25392 if (PyErr_Occurred()) SWIG_fail;
25393 arg2 = &temp2;
25394 }
25395 {
25396 temp3 = PyInt_AsLong(obj2);
25397 if (PyErr_Occurred()) SWIG_fail;
25398 arg3 = &temp3;
25399 }
25400 {
25401 PyThreadState* __tstate = wxPyBeginAllowThreads();
25402 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
25403
25404 wxPyEndAllowThreads(__tstate);
25405 if (PyErr_Occurred()) SWIG_fail;
25406 }
25407 Py_INCREF(Py_None); resultobj = Py_None;
25408 {
25409 PyObject *o = PyInt_FromLong((long) (*arg2));
25410 resultobj = t_output_helper(resultobj,o);
25411 }
25412 {
25413 PyObject *o = PyInt_FromLong((long) (*arg3));
25414 resultobj = t_output_helper(resultobj,o);
25415 }
25416 return resultobj;
25417 fail:
25418 return NULL;
25419}
25420
25421
2f4c0a16 25422static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25423 PyObject *resultobj;
25424 wxWindow *arg1 = (wxWindow *) 0 ;
25425 wxPoint *arg2 = 0 ;
25426 wxPoint result;
25427 wxPoint temp2 ;
25428 PyObject * obj0 = 0 ;
25429 PyObject * obj1 = 0 ;
25430 char *kwnames[] = {
25431 (char *) "self",(char *) "pt", NULL
25432 };
25433
25434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25437 {
25438 arg2 = &temp2;
25439 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25440 }
25441 {
25442 PyThreadState* __tstate = wxPyBeginAllowThreads();
25443 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
25444
25445 wxPyEndAllowThreads(__tstate);
25446 if (PyErr_Occurred()) SWIG_fail;
25447 }
25448 {
25449 wxPoint * resultptr;
25450 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 25451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25452 }
25453 return resultobj;
25454 fail:
25455 return NULL;
25456}
25457
25458
2f4c0a16 25459static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25460 PyObject *resultobj;
25461 wxWindow *arg1 = (wxWindow *) 0 ;
25462 wxPoint *arg2 = 0 ;
25463 wxPoint result;
25464 wxPoint temp2 ;
25465 PyObject * obj0 = 0 ;
25466 PyObject * obj1 = 0 ;
25467 char *kwnames[] = {
25468 (char *) "self",(char *) "pt", NULL
25469 };
25470
25471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25474 {
25475 arg2 = &temp2;
25476 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25477 }
25478 {
25479 PyThreadState* __tstate = wxPyBeginAllowThreads();
25480 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
25481
25482 wxPyEndAllowThreads(__tstate);
25483 if (PyErr_Occurred()) SWIG_fail;
25484 }
25485 {
25486 wxPoint * resultptr;
25487 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 25488 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25489 }
25490 return resultobj;
25491 fail:
25492 return NULL;
25493}
25494
25495
2f4c0a16 25496static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25497 PyObject *resultobj;
25498 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a
RD
25499 int arg2 ;
25500 int arg3 ;
d14a1e28
RD
25501 int result;
25502 PyObject * obj0 = 0 ;
8edf1c75
RD
25503 PyObject * obj1 = 0 ;
25504 PyObject * obj2 = 0 ;
d14a1e28
RD
25505 char *kwnames[] = {
25506 (char *) "self",(char *) "x",(char *) "y", NULL
25507 };
25508
8edf1c75 25509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25512 arg2 = (int) SWIG_AsInt(obj1);
25513 if (PyErr_Occurred()) SWIG_fail;
25514 arg3 = (int) SWIG_AsInt(obj2);
25515 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25516 {
25517 PyThreadState* __tstate = wxPyBeginAllowThreads();
25518 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
25519
25520 wxPyEndAllowThreads(__tstate);
25521 if (PyErr_Occurred()) SWIG_fail;
25522 }
2f4c0a16 25523 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25524 return resultobj;
25525 fail:
25526 return NULL;
25527}
25528
25529
2f4c0a16 25530static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25531 PyObject *resultobj;
25532 wxWindow *arg1 = (wxWindow *) 0 ;
25533 wxPoint *arg2 = 0 ;
25534 int result;
25535 wxPoint temp2 ;
25536 PyObject * obj0 = 0 ;
25537 PyObject * obj1 = 0 ;
25538 char *kwnames[] = {
25539 (char *) "self",(char *) "pt", NULL
25540 };
25541
25542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25545 {
25546 arg2 = &temp2;
25547 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25548 }
25549 {
25550 PyThreadState* __tstate = wxPyBeginAllowThreads();
25551 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
25552
25553 wxPyEndAllowThreads(__tstate);
25554 if (PyErr_Occurred()) SWIG_fail;
25555 }
2f4c0a16 25556 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25557 return resultobj;
25558 fail:
25559 return NULL;
25560}
25561
25562
2f4c0a16 25563static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
25564 PyObject *resultobj;
25565 wxWindow *arg1 = (wxWindow *) 0 ;
25566 long arg2 ;
25567 int result;
25568 PyObject * obj0 = 0 ;
8edf1c75 25569 PyObject * obj1 = 0 ;
d14a1e28 25570
2f4c0a16
RD
25571 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
25572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25574 arg2 = (long) SWIG_AsLong(obj1);
25575 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25576 {
25577 PyThreadState* __tstate = wxPyBeginAllowThreads();
25578 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
25579
25580 wxPyEndAllowThreads(__tstate);
25581 if (PyErr_Occurred()) SWIG_fail;
25582 }
2f4c0a16 25583 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25584 return resultobj;
25585 fail:
25586 return NULL;
25587}
25588
25589
2f4c0a16 25590static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
25591 PyObject *resultobj;
25592 wxWindow *arg1 = (wxWindow *) 0 ;
25593 int result;
25594 PyObject * obj0 = 0 ;
d14a1e28 25595
2f4c0a16
RD
25596 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
25597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25599 {
25600 PyThreadState* __tstate = wxPyBeginAllowThreads();
25601 result = (int)((wxWindow const *)arg1)->GetBorder();
25602
25603 wxPyEndAllowThreads(__tstate);
25604 if (PyErr_Occurred()) SWIG_fail;
25605 }
2f4c0a16 25606 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25607 return resultobj;
25608 fail:
25609 return NULL;
25610}
25611
25612
2f4c0a16
RD
25613static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
25614 int argc;
25615 PyObject *argv[3];
25616 int ii;
25617
25618 argc = PyObject_Length(args);
25619 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
25620 argv[ii] = PyTuple_GetItem(args,ii);
25621 }
25622 if (argc == 1) {
25623 int _v;
25624 {
25625 void *ptr;
25626 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
25627 _v = 0;
25628 PyErr_Clear();
25629 } else {
25630 _v = 1;
25631 }
25632 }
25633 if (_v) {
25634 return _wrap_Window_GetBorder__SWIG_1(self,args);
25635 }
25636 }
25637 if (argc == 2) {
25638 int _v;
25639 {
25640 void *ptr;
25641 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
25642 _v = 0;
25643 PyErr_Clear();
25644 } else {
25645 _v = 1;
25646 }
25647 }
25648 if (_v) {
25649 _v = SWIG_CheckLong(argv[1]);
25650 if (_v) {
25651 return _wrap_Window_GetBorder__SWIG_0(self,args);
25652 }
25653 }
25654 }
25655
25656 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
25657 return NULL;
25658}
25659
25660
25661static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25662 PyObject *resultobj;
25663 wxWindow *arg1 = (wxWindow *) 0 ;
25664 long arg2 = (long) wxUPDATE_UI_NONE ;
25665 PyObject * obj0 = 0 ;
8edf1c75 25666 PyObject * obj1 = 0 ;
d14a1e28
RD
25667 char *kwnames[] = {
25668 (char *) "self",(char *) "flags", NULL
25669 };
25670
8edf1c75 25671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 25674 if (obj1) {
2f4c0a16
RD
25675 arg2 = (long) SWIG_AsLong(obj1);
25676 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25677 }
d14a1e28
RD
25678 {
25679 PyThreadState* __tstate = wxPyBeginAllowThreads();
25680 (arg1)->UpdateWindowUI(arg2);
25681
25682 wxPyEndAllowThreads(__tstate);
25683 if (PyErr_Occurred()) SWIG_fail;
25684 }
25685 Py_INCREF(Py_None); resultobj = Py_None;
25686 return resultobj;
25687 fail:
25688 return NULL;
25689}
25690
25691
2f4c0a16 25692static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25693 PyObject *resultobj;
25694 wxWindow *arg1 = (wxWindow *) 0 ;
25695 wxMenu *arg2 = (wxMenu *) 0 ;
25696 int arg3 ;
25697 int arg4 ;
25698 bool result;
25699 PyObject * obj0 = 0 ;
25700 PyObject * obj1 = 0 ;
8edf1c75
RD
25701 PyObject * obj2 = 0 ;
25702 PyObject * obj3 = 0 ;
d14a1e28
RD
25703 char *kwnames[] = {
25704 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25705 };
25706
8edf1c75 25707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
25711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25712 arg3 = (int) SWIG_AsInt(obj2);
25713 if (PyErr_Occurred()) SWIG_fail;
25714 arg4 = (int) SWIG_AsInt(obj3);
25715 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25716 {
25717 PyThreadState* __tstate = wxPyBeginAllowThreads();
25718 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
25719
25720 wxPyEndAllowThreads(__tstate);
25721 if (PyErr_Occurred()) SWIG_fail;
25722 }
02a34c4c 25723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25724 return resultobj;
25725 fail:
25726 return NULL;
25727}
25728
25729
2f4c0a16 25730static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25731 PyObject *resultobj;
25732 wxWindow *arg1 = (wxWindow *) 0 ;
25733 wxMenu *arg2 = (wxMenu *) 0 ;
25734 wxPoint *arg3 = 0 ;
25735 bool result;
25736 wxPoint temp3 ;
25737 PyObject * obj0 = 0 ;
25738 PyObject * obj1 = 0 ;
25739 PyObject * obj2 = 0 ;
25740 char *kwnames[] = {
25741 (char *) "self",(char *) "menu",(char *) "pos", NULL
25742 };
25743
25744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25745 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25747 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
25748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25749 {
25750 arg3 = &temp3;
25751 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25752 }
25753 {
25754 PyThreadState* __tstate = wxPyBeginAllowThreads();
25755 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
25756
25757 wxPyEndAllowThreads(__tstate);
25758 if (PyErr_Occurred()) SWIG_fail;
25759 }
02a34c4c 25760 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25761 return resultobj;
25762 fail:
25763 return NULL;
25764}
25765
25766
2f4c0a16 25767static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25768 PyObject *resultobj;
25769 wxWindow *arg1 = (wxWindow *) 0 ;
25770 long result;
25771 PyObject * obj0 = 0 ;
25772 char *kwnames[] = {
25773 (char *) "self", NULL
25774 };
25775
25776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25779 {
25780 PyThreadState* __tstate = wxPyBeginAllowThreads();
25781 result = (long)wxWindow_GetHandle(arg1);
25782
25783 wxPyEndAllowThreads(__tstate);
25784 if (PyErr_Occurred()) SWIG_fail;
25785 }
2f4c0a16 25786 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
25787 return resultobj;
25788 fail:
25789 return NULL;
25790}
25791
25792
2f4c0a16 25793static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25794 PyObject *resultobj;
25795 wxWindow *arg1 = (wxWindow *) 0 ;
25796 int arg2 ;
25797 bool result;
25798 PyObject * obj0 = 0 ;
8edf1c75 25799 PyObject * obj1 = 0 ;
d14a1e28
RD
25800 char *kwnames[] = {
25801 (char *) "self",(char *) "orient", NULL
25802 };
25803
8edf1c75 25804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25807 arg2 = (int) SWIG_AsInt(obj1);
25808 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25809 {
25810 PyThreadState* __tstate = wxPyBeginAllowThreads();
25811 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
25812
25813 wxPyEndAllowThreads(__tstate);
25814 if (PyErr_Occurred()) SWIG_fail;
25815 }
02a34c4c 25816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25817 return resultobj;
25818 fail:
25819 return NULL;
25820}
25821
25822
2f4c0a16 25823static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25824 PyObject *resultobj;
25825 wxWindow *arg1 = (wxWindow *) 0 ;
25826 int arg2 ;
25827 int arg3 ;
25828 int arg4 ;
25829 int arg5 ;
423f194a 25830 bool arg6 = (bool) True ;
d14a1e28 25831 PyObject * obj0 = 0 ;
8edf1c75
RD
25832 PyObject * obj1 = 0 ;
25833 PyObject * obj2 = 0 ;
25834 PyObject * obj3 = 0 ;
25835 PyObject * obj4 = 0 ;
d14a1e28
RD
25836 PyObject * obj5 = 0 ;
25837 char *kwnames[] = {
2f4c0a16 25838 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
25839 };
25840
8edf1c75 25841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
25842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25844 arg2 = (int) SWIG_AsInt(obj1);
25845 if (PyErr_Occurred()) SWIG_fail;
25846 arg3 = (int) SWIG_AsInt(obj2);
25847 if (PyErr_Occurred()) SWIG_fail;
25848 arg4 = (int) SWIG_AsInt(obj3);
25849 if (PyErr_Occurred()) SWIG_fail;
25850 arg5 = (int) SWIG_AsInt(obj4);
25851 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25852 if (obj5) {
2f4c0a16
RD
25853 arg6 = (bool) SWIG_AsBool(obj5);
25854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25855 }
25856 {
25857 PyThreadState* __tstate = wxPyBeginAllowThreads();
25858 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
25859
25860 wxPyEndAllowThreads(__tstate);
25861 if (PyErr_Occurred()) SWIG_fail;
25862 }
25863 Py_INCREF(Py_None); resultobj = Py_None;
25864 return resultobj;
25865 fail:
25866 return NULL;
25867}
25868
25869
2f4c0a16 25870static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25871 PyObject *resultobj;
25872 wxWindow *arg1 = (wxWindow *) 0 ;
25873 int arg2 ;
25874 int arg3 ;
423f194a 25875 bool arg4 = (bool) True ;
d14a1e28 25876 PyObject * obj0 = 0 ;
8edf1c75
RD
25877 PyObject * obj1 = 0 ;
25878 PyObject * obj2 = 0 ;
d14a1e28
RD
25879 PyObject * obj3 = 0 ;
25880 char *kwnames[] = {
2f4c0a16 25881 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
25882 };
25883
8edf1c75 25884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25885 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25886 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25887 arg2 = (int) SWIG_AsInt(obj1);
25888 if (PyErr_Occurred()) SWIG_fail;
25889 arg3 = (int) SWIG_AsInt(obj2);
25890 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25891 if (obj3) {
2f4c0a16
RD
25892 arg4 = (bool) SWIG_AsBool(obj3);
25893 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25894 }
25895 {
25896 PyThreadState* __tstate = wxPyBeginAllowThreads();
25897 (arg1)->SetScrollPos(arg2,arg3,arg4);
25898
25899 wxPyEndAllowThreads(__tstate);
25900 if (PyErr_Occurred()) SWIG_fail;
25901 }
25902 Py_INCREF(Py_None); resultobj = Py_None;
25903 return resultobj;
25904 fail:
25905 return NULL;
25906}
25907
25908
2f4c0a16 25909static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25910 PyObject *resultobj;
25911 wxWindow *arg1 = (wxWindow *) 0 ;
25912 int arg2 ;
25913 int result;
25914 PyObject * obj0 = 0 ;
8edf1c75 25915 PyObject * obj1 = 0 ;
d14a1e28 25916 char *kwnames[] = {
2f4c0a16 25917 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
25918 };
25919
8edf1c75 25920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25923 arg2 = (int) SWIG_AsInt(obj1);
25924 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25925 {
25926 PyThreadState* __tstate = wxPyBeginAllowThreads();
25927 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
25928
25929 wxPyEndAllowThreads(__tstate);
25930 if (PyErr_Occurred()) SWIG_fail;
25931 }
2f4c0a16 25932 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25933 return resultobj;
25934 fail:
25935 return NULL;
25936}
25937
25938
2f4c0a16 25939static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25940 PyObject *resultobj;
25941 wxWindow *arg1 = (wxWindow *) 0 ;
25942 int arg2 ;
25943 int result;
25944 PyObject * obj0 = 0 ;
8edf1c75 25945 PyObject * obj1 = 0 ;
d14a1e28 25946 char *kwnames[] = {
2f4c0a16 25947 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
25948 };
25949
8edf1c75 25950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25953 arg2 = (int) SWIG_AsInt(obj1);
25954 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25955 {
25956 PyThreadState* __tstate = wxPyBeginAllowThreads();
25957 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
25958
25959 wxPyEndAllowThreads(__tstate);
25960 if (PyErr_Occurred()) SWIG_fail;
25961 }
2f4c0a16 25962 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25963 return resultobj;
25964 fail:
25965 return NULL;
25966}
25967
25968
2f4c0a16 25969static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25970 PyObject *resultobj;
25971 wxWindow *arg1 = (wxWindow *) 0 ;
25972 int arg2 ;
25973 int result;
25974 PyObject * obj0 = 0 ;
8edf1c75 25975 PyObject * obj1 = 0 ;
d14a1e28 25976 char *kwnames[] = {
2f4c0a16 25977 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
25978 };
25979
8edf1c75 25980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25983 arg2 = (int) SWIG_AsInt(obj1);
25984 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25985 {
25986 PyThreadState* __tstate = wxPyBeginAllowThreads();
25987 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
25988
25989 wxPyEndAllowThreads(__tstate);
25990 if (PyErr_Occurred()) SWIG_fail;
25991 }
2f4c0a16 25992 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25993 return resultobj;
25994 fail:
25995 return NULL;
25996}
25997
25998
2f4c0a16 25999static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26000 PyObject *resultobj;
26001 wxWindow *arg1 = (wxWindow *) 0 ;
26002 int arg2 ;
26003 int arg3 ;
26004 wxRect *arg4 = (wxRect *) NULL ;
26005 PyObject * obj0 = 0 ;
8edf1c75
RD
26006 PyObject * obj1 = 0 ;
26007 PyObject * obj2 = 0 ;
d14a1e28
RD
26008 PyObject * obj3 = 0 ;
26009 char *kwnames[] = {
26010 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
26011 };
26012
8edf1c75 26013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26016 arg2 = (int) SWIG_AsInt(obj1);
26017 if (PyErr_Occurred()) SWIG_fail;
26018 arg3 = (int) SWIG_AsInt(obj2);
26019 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26020 if (obj3) {
2f4c0a16
RD
26021 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
26022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26023 }
26024 {
26025 PyThreadState* __tstate = wxPyBeginAllowThreads();
26026 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
26027
26028 wxPyEndAllowThreads(__tstate);
26029 if (PyErr_Occurred()) SWIG_fail;
26030 }
26031 Py_INCREF(Py_None); resultobj = Py_None;
26032 return resultobj;
26033 fail:
26034 return NULL;
26035}
26036
26037
2f4c0a16 26038static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26039 PyObject *resultobj;
26040 wxWindow *arg1 = (wxWindow *) 0 ;
26041 int arg2 ;
26042 bool result;
26043 PyObject * obj0 = 0 ;
8edf1c75 26044 PyObject * obj1 = 0 ;
d14a1e28
RD
26045 char *kwnames[] = {
26046 (char *) "self",(char *) "lines", NULL
26047 };
26048
8edf1c75 26049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26052 arg2 = (int) SWIG_AsInt(obj1);
26053 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26054 {
26055 PyThreadState* __tstate = wxPyBeginAllowThreads();
26056 result = (bool)(arg1)->ScrollLines(arg2);
26057
26058 wxPyEndAllowThreads(__tstate);
26059 if (PyErr_Occurred()) SWIG_fail;
26060 }
02a34c4c 26061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26062 return resultobj;
26063 fail:
26064 return NULL;
26065}
26066
26067
2f4c0a16 26068static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26069 PyObject *resultobj;
26070 wxWindow *arg1 = (wxWindow *) 0 ;
26071 int arg2 ;
26072 bool result;
26073 PyObject * obj0 = 0 ;
8edf1c75 26074 PyObject * obj1 = 0 ;
d14a1e28
RD
26075 char *kwnames[] = {
26076 (char *) "self",(char *) "pages", NULL
26077 };
26078
8edf1c75 26079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26082 arg2 = (int) SWIG_AsInt(obj1);
26083 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26084 {
26085 PyThreadState* __tstate = wxPyBeginAllowThreads();
26086 result = (bool)(arg1)->ScrollPages(arg2);
26087
26088 wxPyEndAllowThreads(__tstate);
26089 if (PyErr_Occurred()) SWIG_fail;
26090 }
02a34c4c 26091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26092 return resultobj;
26093 fail:
26094 return NULL;
26095}
26096
26097
2f4c0a16 26098static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26099 PyObject *resultobj;
26100 wxWindow *arg1 = (wxWindow *) 0 ;
26101 bool result;
26102 PyObject * obj0 = 0 ;
26103 char *kwnames[] = {
26104 (char *) "self", NULL
26105 };
26106
26107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26110 {
26111 PyThreadState* __tstate = wxPyBeginAllowThreads();
26112 result = (bool)(arg1)->LineUp();
26113
26114 wxPyEndAllowThreads(__tstate);
26115 if (PyErr_Occurred()) SWIG_fail;
26116 }
02a34c4c 26117 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26118 return resultobj;
26119 fail:
26120 return NULL;
26121}
26122
26123
2f4c0a16 26124static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26125 PyObject *resultobj;
26126 wxWindow *arg1 = (wxWindow *) 0 ;
26127 bool result;
26128 PyObject * obj0 = 0 ;
26129 char *kwnames[] = {
26130 (char *) "self", NULL
26131 };
26132
26133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26136 {
26137 PyThreadState* __tstate = wxPyBeginAllowThreads();
26138 result = (bool)(arg1)->LineDown();
26139
26140 wxPyEndAllowThreads(__tstate);
26141 if (PyErr_Occurred()) SWIG_fail;
26142 }
02a34c4c 26143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26144 return resultobj;
26145 fail:
26146 return NULL;
26147}
26148
26149
2f4c0a16 26150static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26151 PyObject *resultobj;
26152 wxWindow *arg1 = (wxWindow *) 0 ;
26153 bool result;
26154 PyObject * obj0 = 0 ;
26155 char *kwnames[] = {
26156 (char *) "self", NULL
26157 };
26158
26159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26162 {
26163 PyThreadState* __tstate = wxPyBeginAllowThreads();
26164 result = (bool)(arg1)->PageUp();
26165
26166 wxPyEndAllowThreads(__tstate);
26167 if (PyErr_Occurred()) SWIG_fail;
26168 }
02a34c4c 26169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26170 return resultobj;
26171 fail:
26172 return NULL;
26173}
26174
26175
2f4c0a16 26176static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26177 PyObject *resultobj;
26178 wxWindow *arg1 = (wxWindow *) 0 ;
26179 bool result;
26180 PyObject * obj0 = 0 ;
26181 char *kwnames[] = {
26182 (char *) "self", NULL
26183 };
26184
26185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26188 {
26189 PyThreadState* __tstate = wxPyBeginAllowThreads();
26190 result = (bool)(arg1)->PageDown();
26191
26192 wxPyEndAllowThreads(__tstate);
26193 if (PyErr_Occurred()) SWIG_fail;
26194 }
02a34c4c 26195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26196 return resultobj;
26197 fail:
26198 return NULL;
26199}
26200
26201
2f4c0a16 26202static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26203 PyObject *resultobj;
26204 wxWindow *arg1 = (wxWindow *) 0 ;
26205 wxString *arg2 = 0 ;
423f194a 26206 bool temp2 = False ;
d14a1e28
RD
26207 PyObject * obj0 = 0 ;
26208 PyObject * obj1 = 0 ;
26209 char *kwnames[] = {
26210 (char *) "self",(char *) "text", NULL
26211 };
26212
26213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26216 {
26217 arg2 = wxString_in_helper(obj1);
26218 if (arg2 == NULL) SWIG_fail;
423f194a 26219 temp2 = True;
d14a1e28
RD
26220 }
26221 {
26222 PyThreadState* __tstate = wxPyBeginAllowThreads();
26223 (arg1)->SetHelpText((wxString const &)*arg2);
26224
26225 wxPyEndAllowThreads(__tstate);
26226 if (PyErr_Occurred()) SWIG_fail;
26227 }
26228 Py_INCREF(Py_None); resultobj = Py_None;
26229 {
26230 if (temp2)
26231 delete arg2;
26232 }
26233 return resultobj;
26234 fail:
26235 {
26236 if (temp2)
26237 delete arg2;
26238 }
26239 return NULL;
26240}
26241
26242
2f4c0a16 26243static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26244 PyObject *resultobj;
26245 wxWindow *arg1 = (wxWindow *) 0 ;
26246 wxString *arg2 = 0 ;
423f194a 26247 bool temp2 = False ;
d14a1e28
RD
26248 PyObject * obj0 = 0 ;
26249 PyObject * obj1 = 0 ;
26250 char *kwnames[] = {
26251 (char *) "self",(char *) "text", NULL
26252 };
26253
26254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26257 {
26258 arg2 = wxString_in_helper(obj1);
26259 if (arg2 == NULL) SWIG_fail;
423f194a 26260 temp2 = True;
d14a1e28
RD
26261 }
26262 {
26263 PyThreadState* __tstate = wxPyBeginAllowThreads();
26264 (arg1)->SetHelpTextForId((wxString const &)*arg2);
26265
26266 wxPyEndAllowThreads(__tstate);
26267 if (PyErr_Occurred()) SWIG_fail;
26268 }
26269 Py_INCREF(Py_None); resultobj = Py_None;
26270 {
26271 if (temp2)
26272 delete arg2;
26273 }
26274 return resultobj;
26275 fail:
26276 {
26277 if (temp2)
26278 delete arg2;
26279 }
26280 return NULL;
26281}
26282
26283
2f4c0a16 26284static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26285 PyObject *resultobj;
26286 wxWindow *arg1 = (wxWindow *) 0 ;
26287 wxString result;
26288 PyObject * obj0 = 0 ;
26289 char *kwnames[] = {
26290 (char *) "self", NULL
26291 };
26292
26293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26296 {
26297 PyThreadState* __tstate = wxPyBeginAllowThreads();
26298 result = ((wxWindow const *)arg1)->GetHelpText();
26299
26300 wxPyEndAllowThreads(__tstate);
26301 if (PyErr_Occurred()) SWIG_fail;
26302 }
26303 {
26304#if wxUSE_UNICODE
26305 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26306#else
26307 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26308#endif
26309 }
26310 return resultobj;
26311 fail:
26312 return NULL;
26313}
26314
26315
2f4c0a16 26316static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26317 PyObject *resultobj;
26318 wxWindow *arg1 = (wxWindow *) 0 ;
26319 wxString *arg2 = 0 ;
423f194a 26320 bool temp2 = False ;
d14a1e28
RD
26321 PyObject * obj0 = 0 ;
26322 PyObject * obj1 = 0 ;
26323 char *kwnames[] = {
26324 (char *) "self",(char *) "tip", NULL
26325 };
26326
26327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26330 {
26331 arg2 = wxString_in_helper(obj1);
26332 if (arg2 == NULL) SWIG_fail;
423f194a 26333 temp2 = True;
d14a1e28
RD
26334 }
26335 {
26336 PyThreadState* __tstate = wxPyBeginAllowThreads();
26337 (arg1)->SetToolTip((wxString const &)*arg2);
26338
26339 wxPyEndAllowThreads(__tstate);
26340 if (PyErr_Occurred()) SWIG_fail;
26341 }
26342 Py_INCREF(Py_None); resultobj = Py_None;
26343 {
26344 if (temp2)
26345 delete arg2;
26346 }
26347 return resultobj;
26348 fail:
26349 {
26350 if (temp2)
26351 delete arg2;
26352 }
26353 return NULL;
26354}
26355
26356
2f4c0a16 26357static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26358 PyObject *resultobj;
26359 wxWindow *arg1 = (wxWindow *) 0 ;
26360 wxToolTip *arg2 = (wxToolTip *) 0 ;
26361 PyObject * obj0 = 0 ;
26362 PyObject * obj1 = 0 ;
26363 char *kwnames[] = {
26364 (char *) "self",(char *) "tip", NULL
26365 };
26366
26367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26370 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
26371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26372 {
26373 PyThreadState* __tstate = wxPyBeginAllowThreads();
26374 (arg1)->SetToolTip(arg2);
26375
26376 wxPyEndAllowThreads(__tstate);
26377 if (PyErr_Occurred()) SWIG_fail;
26378 }
26379 Py_INCREF(Py_None); resultobj = Py_None;
26380 return resultobj;
26381 fail:
26382 return NULL;
26383}
26384
26385
2f4c0a16 26386static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26387 PyObject *resultobj;
26388 wxWindow *arg1 = (wxWindow *) 0 ;
26389 wxToolTip *result;
26390 PyObject * obj0 = 0 ;
26391 char *kwnames[] = {
26392 (char *) "self", NULL
26393 };
26394
26395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26398 {
26399 PyThreadState* __tstate = wxPyBeginAllowThreads();
26400 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
26401
26402 wxPyEndAllowThreads(__tstate);
26403 if (PyErr_Occurred()) SWIG_fail;
26404 }
26405 {
26406 resultobj = wxPyMake_wxObject(result);
26407 }
26408 return resultobj;
26409 fail:
26410 return NULL;
26411}
26412
26413
2f4c0a16 26414static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26415 PyObject *resultobj;
26416 wxWindow *arg1 = (wxWindow *) 0 ;
44127b65 26417 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
26418 PyObject * obj0 = 0 ;
26419 PyObject * obj1 = 0 ;
26420 char *kwnames[] = {
26421 (char *) "self",(char *) "dropTarget", NULL
26422 };
26423
26424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26427 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
26428 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26429 {
26430 PyThreadState* __tstate = wxPyBeginAllowThreads();
26431 (arg1)->SetDropTarget(arg2);
26432
26433 wxPyEndAllowThreads(__tstate);
26434 if (PyErr_Occurred()) SWIG_fail;
26435 }
26436 Py_INCREF(Py_None); resultobj = Py_None;
26437 return resultobj;
26438 fail:
26439 return NULL;
26440}
26441
26442
2f4c0a16 26443static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26444 PyObject *resultobj;
26445 wxWindow *arg1 = (wxWindow *) 0 ;
44127b65 26446 wxPyDropTarget *result;
d14a1e28
RD
26447 PyObject * obj0 = 0 ;
26448 char *kwnames[] = {
26449 (char *) "self", NULL
26450 };
26451
26452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26455 {
26456 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 26457 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
26458
26459 wxPyEndAllowThreads(__tstate);
26460 if (PyErr_Occurred()) SWIG_fail;
26461 }
2f4c0a16 26462 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
26463 return resultobj;
26464 fail:
26465 return NULL;
26466}
26467
26468
2f4c0a16 26469static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26470 PyObject *resultobj;
26471 wxWindow *arg1 = (wxWindow *) 0 ;
26472 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
26473 PyObject * obj0 = 0 ;
26474 PyObject * obj1 = 0 ;
26475 char *kwnames[] = {
26476 (char *) "self",(char *) "constraints", NULL
26477 };
26478
26479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
26483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26484 {
26485 PyThreadState* __tstate = wxPyBeginAllowThreads();
26486 (arg1)->SetConstraints(arg2);
26487
26488 wxPyEndAllowThreads(__tstate);
26489 if (PyErr_Occurred()) SWIG_fail;
26490 }
26491 Py_INCREF(Py_None); resultobj = Py_None;
26492 return resultobj;
26493 fail:
26494 return NULL;
26495}
26496
26497
2f4c0a16 26498static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26499 PyObject *resultobj;
26500 wxWindow *arg1 = (wxWindow *) 0 ;
26501 wxLayoutConstraints *result;
26502 PyObject * obj0 = 0 ;
26503 char *kwnames[] = {
26504 (char *) "self", NULL
26505 };
26506
26507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26510 {
26511 PyThreadState* __tstate = wxPyBeginAllowThreads();
26512 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
26513
26514 wxPyEndAllowThreads(__tstate);
26515 if (PyErr_Occurred()) SWIG_fail;
26516 }
2f4c0a16 26517 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
26518 return resultobj;
26519 fail:
26520 return NULL;
26521}
26522
26523
2f4c0a16 26524static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26525 PyObject *resultobj;
26526 wxWindow *arg1 = (wxWindow *) 0 ;
26527 bool arg2 ;
26528 PyObject * obj0 = 0 ;
26529 PyObject * obj1 = 0 ;
26530 char *kwnames[] = {
26531 (char *) "self",(char *) "autoLayout", NULL
26532 };
26533
26534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26537 arg2 = (bool) SWIG_AsBool(obj1);
26538 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26539 {
26540 PyThreadState* __tstate = wxPyBeginAllowThreads();
26541 (arg1)->SetAutoLayout(arg2);
26542
26543 wxPyEndAllowThreads(__tstate);
26544 if (PyErr_Occurred()) SWIG_fail;
26545 }
26546 Py_INCREF(Py_None); resultobj = Py_None;
26547 return resultobj;
26548 fail:
26549 return NULL;
26550}
26551
26552
2f4c0a16 26553static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26554 PyObject *resultobj;
26555 wxWindow *arg1 = (wxWindow *) 0 ;
26556 bool result;
26557 PyObject * obj0 = 0 ;
26558 char *kwnames[] = {
26559 (char *) "self", NULL
26560 };
26561
26562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26565 {
26566 PyThreadState* __tstate = wxPyBeginAllowThreads();
26567 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
26568
26569 wxPyEndAllowThreads(__tstate);
26570 if (PyErr_Occurred()) SWIG_fail;
26571 }
02a34c4c 26572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26573 return resultobj;
26574 fail:
26575 return NULL;
26576}
26577
26578
2f4c0a16 26579static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26580 PyObject *resultobj;
26581 wxWindow *arg1 = (wxWindow *) 0 ;
26582 bool result;
26583 PyObject * obj0 = 0 ;
26584 char *kwnames[] = {
26585 (char *) "self", NULL
26586 };
26587
26588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26591 {
26592 PyThreadState* __tstate = wxPyBeginAllowThreads();
26593 result = (bool)(arg1)->Layout();
26594
26595 wxPyEndAllowThreads(__tstate);
26596 if (PyErr_Occurred()) SWIG_fail;
26597 }
02a34c4c 26598 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26599 return resultobj;
26600 fail:
26601 return NULL;
26602}
26603
26604
2f4c0a16 26605static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26606 PyObject *resultobj;
26607 wxWindow *arg1 = (wxWindow *) 0 ;
26608 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 26609 bool arg3 = (bool) True ;
d14a1e28
RD
26610 PyObject * obj0 = 0 ;
26611 PyObject * obj1 = 0 ;
26612 PyObject * obj2 = 0 ;
26613 char *kwnames[] = {
26614 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26615 };
26616
26617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26620 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
26621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 26622 if (obj2) {
2f4c0a16
RD
26623 arg3 = (bool) SWIG_AsBool(obj2);
26624 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26625 }
26626 {
26627 PyThreadState* __tstate = wxPyBeginAllowThreads();
26628 (arg1)->SetSizer(arg2,arg3);
26629
26630 wxPyEndAllowThreads(__tstate);
26631 if (PyErr_Occurred()) SWIG_fail;
26632 }
26633 Py_INCREF(Py_None); resultobj = Py_None;
26634 return resultobj;
26635 fail:
26636 return NULL;
26637}
26638
26639
2f4c0a16 26640static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26641 PyObject *resultobj;
26642 wxWindow *arg1 = (wxWindow *) 0 ;
26643 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 26644 bool arg3 = (bool) True ;
d14a1e28
RD
26645 PyObject * obj0 = 0 ;
26646 PyObject * obj1 = 0 ;
26647 PyObject * obj2 = 0 ;
26648 char *kwnames[] = {
26649 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26650 };
26651
26652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26655 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
26656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 26657 if (obj2) {
2f4c0a16
RD
26658 arg3 = (bool) SWIG_AsBool(obj2);
26659 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26660 }
26661 {
26662 PyThreadState* __tstate = wxPyBeginAllowThreads();
26663 (arg1)->SetSizerAndFit(arg2,arg3);
26664
26665 wxPyEndAllowThreads(__tstate);
26666 if (PyErr_Occurred()) SWIG_fail;
26667 }
26668 Py_INCREF(Py_None); resultobj = Py_None;
26669 return resultobj;
26670 fail:
26671 return NULL;
26672}
26673
26674
2f4c0a16 26675static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26676 PyObject *resultobj;
26677 wxWindow *arg1 = (wxWindow *) 0 ;
26678 wxSizer *result;
26679 PyObject * obj0 = 0 ;
26680 char *kwnames[] = {
26681 (char *) "self", NULL
26682 };
26683
26684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26687 {
26688 PyThreadState* __tstate = wxPyBeginAllowThreads();
26689 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
26690
26691 wxPyEndAllowThreads(__tstate);
26692 if (PyErr_Occurred()) SWIG_fail;
26693 }
26694 {
26695 resultobj = wxPyMake_wxSizer(result);
26696 }
26697 return resultobj;
26698 fail:
26699 return NULL;
26700}
26701
26702
2f4c0a16 26703static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26704 PyObject *resultobj;
26705 wxWindow *arg1 = (wxWindow *) 0 ;
26706 wxSizer *arg2 = (wxSizer *) 0 ;
26707 PyObject * obj0 = 0 ;
26708 PyObject * obj1 = 0 ;
26709 char *kwnames[] = {
26710 (char *) "self",(char *) "sizer", NULL
26711 };
26712
26713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
26717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26718 {
26719 PyThreadState* __tstate = wxPyBeginAllowThreads();
26720 (arg1)->SetContainingSizer(arg2);
26721
26722 wxPyEndAllowThreads(__tstate);
26723 if (PyErr_Occurred()) SWIG_fail;
26724 }
26725 Py_INCREF(Py_None); resultobj = Py_None;
26726 return resultobj;
26727 fail:
26728 return NULL;
26729}
26730
26731
2f4c0a16 26732static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26733 PyObject *resultobj;
26734 wxWindow *arg1 = (wxWindow *) 0 ;
26735 wxSizer *result;
26736 PyObject * obj0 = 0 ;
26737 char *kwnames[] = {
26738 (char *) "self", NULL
26739 };
26740
26741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26744 {
26745 PyThreadState* __tstate = wxPyBeginAllowThreads();
26746 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
26747
26748 wxPyEndAllowThreads(__tstate);
26749 if (PyErr_Occurred()) SWIG_fail;
26750 }
26751 {
26752 resultobj = wxPyMake_wxSizer(result);
26753 }
26754 return resultobj;
26755 fail:
26756 return NULL;
26757}
26758
26759
2f4c0a16 26760static PyObject * Window_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
26761 PyObject *obj;
26762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26763 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
26764 Py_INCREF(obj);
26765 return Py_BuildValue((char *)"");
26766}
2f4c0a16 26767static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26768 PyObject *resultobj;
26769 long arg1 ;
26770 wxWindow *arg2 = (wxWindow *) NULL ;
26771 wxWindow *result;
8edf1c75 26772 PyObject * obj0 = 0 ;
d14a1e28
RD
26773 PyObject * obj1 = 0 ;
26774 char *kwnames[] = {
26775 (char *) "id",(char *) "parent", NULL
26776 };
26777
8edf1c75 26778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26779 arg1 = (long) SWIG_AsLong(obj0);
26780 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26781 if (obj1) {
2f4c0a16
RD
26782 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26784 }
26785 {
26786 PyThreadState* __tstate = wxPyBeginAllowThreads();
26787 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
26788
26789 wxPyEndAllowThreads(__tstate);
26790 if (PyErr_Occurred()) SWIG_fail;
26791 }
26792 {
26793 resultobj = wxPyMake_wxObject(result);
26794 }
26795 return resultobj;
26796 fail:
26797 return NULL;
26798}
26799
26800
2f4c0a16 26801static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26802 PyObject *resultobj;
26803 wxString *arg1 = 0 ;
26804 wxWindow *arg2 = (wxWindow *) NULL ;
26805 wxWindow *result;
423f194a 26806 bool temp1 = False ;
d14a1e28
RD
26807 PyObject * obj0 = 0 ;
26808 PyObject * obj1 = 0 ;
26809 char *kwnames[] = {
26810 (char *) "name",(char *) "parent", NULL
26811 };
26812
26813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
26814 {
26815 arg1 = wxString_in_helper(obj0);
26816 if (arg1 == NULL) SWIG_fail;
423f194a 26817 temp1 = True;
d14a1e28
RD
26818 }
26819 if (obj1) {
2f4c0a16
RD
26820 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26822 }
26823 {
26824 PyThreadState* __tstate = wxPyBeginAllowThreads();
26825 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
26826
26827 wxPyEndAllowThreads(__tstate);
26828 if (PyErr_Occurred()) SWIG_fail;
26829 }
26830 {
26831 resultobj = wxPyMake_wxObject(result);
26832 }
26833 {
26834 if (temp1)
26835 delete arg1;
26836 }
26837 return resultobj;
26838 fail:
26839 {
26840 if (temp1)
26841 delete arg1;
26842 }
26843 return NULL;
26844}
26845
26846
2f4c0a16 26847static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26848 PyObject *resultobj;
26849 wxString *arg1 = 0 ;
26850 wxWindow *arg2 = (wxWindow *) NULL ;
26851 wxWindow *result;
423f194a 26852 bool temp1 = False ;
d14a1e28
RD
26853 PyObject * obj0 = 0 ;
26854 PyObject * obj1 = 0 ;
26855 char *kwnames[] = {
26856 (char *) "label",(char *) "parent", NULL
26857 };
26858
26859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
26860 {
26861 arg1 = wxString_in_helper(obj0);
26862 if (arg1 == NULL) SWIG_fail;
423f194a 26863 temp1 = True;
d14a1e28
RD
26864 }
26865 if (obj1) {
2f4c0a16
RD
26866 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26868 }
26869 {
26870 PyThreadState* __tstate = wxPyBeginAllowThreads();
26871 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
26872
26873 wxPyEndAllowThreads(__tstate);
26874 if (PyErr_Occurred()) SWIG_fail;
26875 }
26876 {
26877 resultobj = wxPyMake_wxObject(result);
26878 }
26879 {
26880 if (temp1)
26881 delete arg1;
26882 }
26883 return resultobj;
26884 fail:
26885 {
26886 if (temp1)
26887 delete arg1;
26888 }
26889 return NULL;
26890}
26891
26892
2f4c0a16 26893static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 26894 PyObject *resultobj;
ce7284bd
RD
26895 wxWindow *arg1 = (wxWindow *) 0 ;
26896 unsigned long arg2 ;
d14a1e28
RD
26897 wxWindow *result;
26898 PyObject * obj0 = 0 ;
ce7284bd 26899 PyObject * obj1 = 0 ;
d14a1e28 26900 char *kwnames[] = {
ce7284bd 26901 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
26902 };
26903
ce7284bd
RD
26904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
26905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26907 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
2f4c0a16 26908 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26909 {
26910 PyThreadState* __tstate = wxPyBeginAllowThreads();
ce7284bd 26911 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
26912
26913 wxPyEndAllowThreads(__tstate);
26914 if (PyErr_Occurred()) SWIG_fail;
26915 }
26916 {
26917 resultobj = wxPyMake_wxObject(result);
26918 }
26919 return resultobj;
26920 fail:
26921 return NULL;
26922}
26923
26924
2f4c0a16 26925static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26926 PyObject *resultobj;
26927 wxValidator *result;
26928 char *kwnames[] = {
26929 NULL
26930 };
26931
26932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
26933 {
26934 PyThreadState* __tstate = wxPyBeginAllowThreads();
26935 result = (wxValidator *)new wxValidator();
26936
26937 wxPyEndAllowThreads(__tstate);
26938 if (PyErr_Occurred()) SWIG_fail;
26939 }
26940 {
26941 resultobj = wxPyMake_wxObject(result);
26942 }
26943 return resultobj;
26944 fail:
26945 return NULL;
26946}
26947
26948
2f4c0a16 26949static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26950 PyObject *resultobj;
26951 wxValidator *arg1 = (wxValidator *) 0 ;
26952 wxValidator *result;
26953 PyObject * obj0 = 0 ;
26954 char *kwnames[] = {
26955 (char *) "self", NULL
26956 };
26957
26958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
26960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26961 {
26962 PyThreadState* __tstate = wxPyBeginAllowThreads();
26963 result = (wxValidator *)(arg1)->Clone();
26964
26965 wxPyEndAllowThreads(__tstate);
26966 if (PyErr_Occurred()) SWIG_fail;
26967 }
26968 {
26969 resultobj = wxPyMake_wxObject(result);
26970 }
26971 return resultobj;
26972 fail:
26973 return NULL;
26974}
26975
26976
2f4c0a16 26977static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26978 PyObject *resultobj;
26979 wxValidator *arg1 = (wxValidator *) 0 ;
26980 wxWindow *arg2 = (wxWindow *) 0 ;
26981 bool result;
26982 PyObject * obj0 = 0 ;
26983 PyObject * obj1 = 0 ;
26984 char *kwnames[] = {
26985 (char *) "self",(char *) "parent", NULL
26986 };
26987
26988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
26990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26993 {
26994 PyThreadState* __tstate = wxPyBeginAllowThreads();
26995 result = (bool)(arg1)->Validate(arg2);
26996
26997 wxPyEndAllowThreads(__tstate);
26998 if (PyErr_Occurred()) SWIG_fail;
26999 }
02a34c4c 27000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
27001 return resultobj;
27002 fail:
27003 return NULL;
27004}
27005
27006
2f4c0a16 27007static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27008 PyObject *resultobj;
27009 wxValidator *arg1 = (wxValidator *) 0 ;
27010 bool result;
27011 PyObject * obj0 = 0 ;
27012 char *kwnames[] = {
27013 (char *) "self", NULL
27014 };
27015
27016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27019 {
27020 PyThreadState* __tstate = wxPyBeginAllowThreads();
27021 result = (bool)(arg1)->TransferToWindow();
27022
27023 wxPyEndAllowThreads(__tstate);
27024 if (PyErr_Occurred()) SWIG_fail;
27025 }
02a34c4c 27026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
27027 return resultobj;
27028 fail:
27029 return NULL;
27030}
27031
27032
2f4c0a16 27033static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27034 PyObject *resultobj;
27035 wxValidator *arg1 = (wxValidator *) 0 ;
27036 bool result;
27037 PyObject * obj0 = 0 ;
27038 char *kwnames[] = {
27039 (char *) "self", NULL
27040 };
27041
27042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27045 {
27046 PyThreadState* __tstate = wxPyBeginAllowThreads();
27047 result = (bool)(arg1)->TransferFromWindow();
27048
27049 wxPyEndAllowThreads(__tstate);
27050 if (PyErr_Occurred()) SWIG_fail;
27051 }
02a34c4c 27052 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
27053 return resultobj;
27054 fail:
27055 return NULL;
27056}
27057
27058
2f4c0a16 27059static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27060 PyObject *resultobj;
27061 wxValidator *arg1 = (wxValidator *) 0 ;
27062 wxWindow *result;
27063 PyObject * obj0 = 0 ;
27064 char *kwnames[] = {
27065 (char *) "self", NULL
27066 };
27067
27068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27071 {
27072 PyThreadState* __tstate = wxPyBeginAllowThreads();
27073 result = (wxWindow *)(arg1)->GetWindow();
27074
27075 wxPyEndAllowThreads(__tstate);
27076 if (PyErr_Occurred()) SWIG_fail;
27077 }
27078 {
27079 resultobj = wxPyMake_wxObject(result);
27080 }
27081 return resultobj;
27082 fail:
27083 return NULL;
27084}
27085
27086
2f4c0a16 27087static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27088 PyObject *resultobj;
27089 wxValidator *arg1 = (wxValidator *) 0 ;
27090 wxWindow *arg2 = (wxWindow *) 0 ;
27091 PyObject * obj0 = 0 ;
27092 PyObject * obj1 = 0 ;
27093 char *kwnames[] = {
27094 (char *) "self",(char *) "window", NULL
27095 };
27096
27097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27100 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27102 {
27103 PyThreadState* __tstate = wxPyBeginAllowThreads();
27104 (arg1)->SetWindow(arg2);
27105
27106 wxPyEndAllowThreads(__tstate);
27107 if (PyErr_Occurred()) SWIG_fail;
27108 }
27109 Py_INCREF(Py_None); resultobj = Py_None;
27110 return resultobj;
27111 fail:
27112 return NULL;
27113}
27114
27115
2f4c0a16 27116static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27117 PyObject *resultobj;
27118 bool result;
27119 char *kwnames[] = {
27120 NULL
27121 };
27122
27123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
27124 {
27125 PyThreadState* __tstate = wxPyBeginAllowThreads();
27126 result = (bool)wxValidator::IsSilent();
27127
27128 wxPyEndAllowThreads(__tstate);
27129 if (PyErr_Occurred()) SWIG_fail;
27130 }
02a34c4c 27131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
27132 return resultobj;
27133 fail:
27134 return NULL;
27135}
27136
27137
2f4c0a16 27138static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 27139 PyObject *resultobj;
423f194a 27140 int arg1 = (int) True ;
8edf1c75 27141 PyObject * obj0 = 0 ;
d14a1e28
RD
27142 char *kwnames[] = {
27143 (char *) "doIt", NULL
27144 };
27145
8edf1c75
RD
27146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
27147 if (obj0) {
2f4c0a16
RD
27148 arg1 = (int) SWIG_AsInt(obj0);
27149 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27150 }
d14a1e28
RD
27151 {
27152 PyThreadState* __tstate = wxPyBeginAllowThreads();
27153 wxValidator::SetBellOnError(arg1);
27154
27155 wxPyEndAllowThreads(__tstate);
27156 if (PyErr_Occurred()) SWIG_fail;
27157 }
27158 Py_INCREF(Py_None); resultobj = Py_None;
27159 return resultobj;
27160 fail:
27161 return NULL;
27162}
27163
27164
2f4c0a16 27165static PyObject * Validator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27166 PyObject *obj;
27167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27168 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
27169 Py_INCREF(obj);
27170 return Py_BuildValue((char *)"");
27171}
2f4c0a16 27172static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27173 PyObject *resultobj;
27174 wxPyValidator *result;
27175 char *kwnames[] = {
27176 NULL
27177 };
27178
27179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
27180 {
27181 PyThreadState* __tstate = wxPyBeginAllowThreads();
27182 result = (wxPyValidator *)new wxPyValidator();
27183
27184 wxPyEndAllowThreads(__tstate);
27185 if (PyErr_Occurred()) SWIG_fail;
27186 }
2f4c0a16 27187 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
27188 return resultobj;
27189 fail:
27190 return NULL;
27191}
27192
27193
2f4c0a16 27194static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27195 PyObject *resultobj;
27196 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
27197 PyObject *arg2 = (PyObject *) 0 ;
27198 PyObject *arg3 = (PyObject *) 0 ;
423f194a 27199 int arg4 = (int) True ;
d14a1e28
RD
27200 PyObject * obj0 = 0 ;
27201 PyObject * obj1 = 0 ;
27202 PyObject * obj2 = 0 ;
8edf1c75 27203 PyObject * obj3 = 0 ;
d14a1e28
RD
27204 char *kwnames[] = {
27205 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27206 };
27207
8edf1c75 27208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
27209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
27210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27211 arg2 = obj1;
27212 arg3 = obj2;
8edf1c75 27213 if (obj3) {
2f4c0a16
RD
27214 arg4 = (int) SWIG_AsInt(obj3);
27215 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27216 }
d14a1e28
RD
27217 {
27218 PyThreadState* __tstate = wxPyBeginAllowThreads();
27219 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
27220
27221 wxPyEndAllowThreads(__tstate);
27222 if (PyErr_Occurred()) SWIG_fail;
27223 }
27224 Py_INCREF(Py_None); resultobj = Py_None;
27225 return resultobj;
27226 fail:
27227 return NULL;
27228}
27229
27230
2f4c0a16 27231static PyObject * PyValidator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
27232 PyObject *obj;
27233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27234 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
27235 Py_INCREF(obj);
27236 return Py_BuildValue((char *)"");
27237}
8edf1c75 27238static int _wrap_DefaultValidator_set(PyObject *) {
d14a1e28
RD
27239 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
27240 return 1;
27241}
27242
27243
27244static PyObject *_wrap_DefaultValidator_get() {
27245 PyObject *pyobj;
27246
2f4c0a16 27247 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
27248 return pyobj;
27249}
27250
27251
2f4c0a16 27252static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27253 PyObject *resultobj;
27254 wxString const &arg1_defvalue = wxPyEmptyString ;
27255 wxString *arg1 = (wxString *) &arg1_defvalue ;
27256 long arg2 = (long) 0 ;
27257 wxMenu *result;
423f194a 27258 bool temp1 = False ;
d14a1e28 27259 PyObject * obj0 = 0 ;
8edf1c75 27260 PyObject * obj1 = 0 ;
d14a1e28
RD
27261 char *kwnames[] = {
27262 (char *) "title",(char *) "style", NULL
27263 };
27264
8edf1c75 27265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
27266 if (obj0) {
27267 {
27268 arg1 = wxString_in_helper(obj0);
27269 if (arg1 == NULL) SWIG_fail;
423f194a 27270 temp1 = True;
d14a1e28
RD
27271 }
27272 }
8edf1c75 27273 if (obj1) {
2f4c0a16
RD
27274 arg2 = (long) SWIG_AsLong(obj1);
27275 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27276 }
d14a1e28
RD
27277 {
27278 PyThreadState* __tstate = wxPyBeginAllowThreads();
27279 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
27280
27281 wxPyEndAllowThreads(__tstate);
27282 if (PyErr_Occurred()) SWIG_fail;
27283 }
27284 {
27285 resultobj = wxPyMake_wxObject(result);
27286 }
27287 {
27288 if (temp1)
27289 delete arg1;
27290 }
27291 return resultobj;
27292 fail:
27293 {
27294 if (temp1)
27295 delete arg1;
27296 }
27297 return NULL;
27298}
27299
27300
2f4c0a16 27301static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27302 PyObject *resultobj;
27303 wxMenu *arg1 = (wxMenu *) 0 ;
27304 int arg2 ;
27305 wxString *arg3 = 0 ;
27306 wxString const &arg4_defvalue = wxPyEmptyString ;
27307 wxString *arg4 = (wxString *) &arg4_defvalue ;
27308 int arg5 = (int) wxITEM_NORMAL ;
2dbef272 27309 wxMenuItem *result;
423f194a
RD
27310 bool temp3 = False ;
27311 bool temp4 = False ;
d14a1e28 27312 PyObject * obj0 = 0 ;
8edf1c75 27313 PyObject * obj1 = 0 ;
d14a1e28
RD
27314 PyObject * obj2 = 0 ;
27315 PyObject * obj3 = 0 ;
8edf1c75 27316 PyObject * obj4 = 0 ;
d14a1e28 27317 char *kwnames[] = {
0f774bef 27318 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
27319 };
27320
8edf1c75 27321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27322 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27323 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27324 arg2 = (int) SWIG_AsInt(obj1);
27325 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27326 {
27327 arg3 = wxString_in_helper(obj2);
27328 if (arg3 == NULL) SWIG_fail;
423f194a 27329 temp3 = True;
d14a1e28
RD
27330 }
27331 if (obj3) {
27332 {
27333 arg4 = wxString_in_helper(obj3);
27334 if (arg4 == NULL) SWIG_fail;
423f194a 27335 temp4 = True;
d14a1e28
RD
27336 }
27337 }
8edf1c75 27338 if (obj4) {
2f4c0a16
RD
27339 arg5 = (wxItemKind) SWIG_AsInt(obj4);
27340 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27341 }
d14a1e28
RD
27342 {
27343 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 27344 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
27345
27346 wxPyEndAllowThreads(__tstate);
27347 if (PyErr_Occurred()) SWIG_fail;
27348 }
2dbef272
RD
27349 {
27350 resultobj = wxPyMake_wxObject(result);
27351 }
d14a1e28
RD
27352 {
27353 if (temp3)
27354 delete arg3;
27355 }
27356 {
27357 if (temp4)
27358 delete arg4;
27359 }
27360 return resultobj;
27361 fail:
27362 {
27363 if (temp3)
27364 delete arg3;
27365 }
27366 {
27367 if (temp4)
27368 delete arg4;
27369 }
27370 return NULL;
27371}
27372
27373
2f4c0a16 27374static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27375 PyObject *resultobj;
27376 wxMenu *arg1 = (wxMenu *) 0 ;
2dbef272 27377 wxMenuItem *result;
d14a1e28
RD
27378 PyObject * obj0 = 0 ;
27379 char *kwnames[] = {
27380 (char *) "self", NULL
27381 };
27382
27383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27386 {
27387 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 27388 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
27389
27390 wxPyEndAllowThreads(__tstate);
27391 if (PyErr_Occurred()) SWIG_fail;
27392 }
2dbef272
RD
27393 {
27394 resultobj = wxPyMake_wxObject(result);
27395 }
d14a1e28
RD
27396 return resultobj;
27397 fail:
27398 return NULL;
27399}
27400
27401
2f4c0a16 27402static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27403 PyObject *resultobj;
27404 wxMenu *arg1 = (wxMenu *) 0 ;
27405 int arg2 ;
27406 wxString *arg3 = 0 ;
27407 wxString const &arg4_defvalue = wxPyEmptyString ;
27408 wxString *arg4 = (wxString *) &arg4_defvalue ;
2dbef272 27409 wxMenuItem *result;
423f194a
RD
27410 bool temp3 = False ;
27411 bool temp4 = False ;
d14a1e28 27412 PyObject * obj0 = 0 ;
8edf1c75 27413 PyObject * obj1 = 0 ;
d14a1e28
RD
27414 PyObject * obj2 = 0 ;
27415 PyObject * obj3 = 0 ;
27416 char *kwnames[] = {
0f774bef 27417 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27418 };
27419
8edf1c75 27420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
27421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27423 arg2 = (int) SWIG_AsInt(obj1);
27424 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27425 {
27426 arg3 = wxString_in_helper(obj2);
27427 if (arg3 == NULL) SWIG_fail;
423f194a 27428 temp3 = True;
d14a1e28
RD
27429 }
27430 if (obj3) {
27431 {
27432 arg4 = wxString_in_helper(obj3);
27433 if (arg4 == NULL) SWIG_fail;
423f194a 27434 temp4 = True;
d14a1e28
RD
27435 }
27436 }
27437 {
27438 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 27439 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
27440
27441 wxPyEndAllowThreads(__tstate);
27442 if (PyErr_Occurred()) SWIG_fail;
27443 }
2dbef272
RD
27444 {
27445 resultobj = wxPyMake_wxObject(result);
27446 }
d14a1e28
RD
27447 {
27448 if (temp3)
27449 delete arg3;
27450 }
27451 {
27452 if (temp4)
27453 delete arg4;
27454 }
27455 return resultobj;
27456 fail:
27457 {
27458 if (temp3)
27459 delete arg3;
27460 }
27461 {
27462 if (temp4)
27463 delete arg4;
27464 }
27465 return NULL;
27466}
27467
27468
2f4c0a16 27469static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27470 PyObject *resultobj;
27471 wxMenu *arg1 = (wxMenu *) 0 ;
27472 int arg2 ;
27473 wxString *arg3 = 0 ;
27474 wxString const &arg4_defvalue = wxPyEmptyString ;
27475 wxString *arg4 = (wxString *) &arg4_defvalue ;
2dbef272 27476 wxMenuItem *result;
423f194a
RD
27477 bool temp3 = False ;
27478 bool temp4 = False ;
d14a1e28 27479 PyObject * obj0 = 0 ;
8edf1c75 27480 PyObject * obj1 = 0 ;
d14a1e28
RD
27481 PyObject * obj2 = 0 ;
27482 PyObject * obj3 = 0 ;
27483 char *kwnames[] = {
0f774bef 27484 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27485 };
27486
8edf1c75 27487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
27488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27490 arg2 = (int) SWIG_AsInt(obj1);
27491 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27492 {
27493 arg3 = wxString_in_helper(obj2);
27494 if (arg3 == NULL) SWIG_fail;
423f194a 27495 temp3 = True;
d14a1e28
RD
27496 }
27497 if (obj3) {
27498 {
27499 arg4 = wxString_in_helper(obj3);
27500 if (arg4 == NULL) SWIG_fail;
423f194a 27501 temp4 = True;
d14a1e28
RD
27502 }
27503 }
27504 {
27505 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 27506 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
27507
27508 wxPyEndAllowThreads(__tstate);
27509 if (PyErr_Occurred()) SWIG_fail;
27510 }
2dbef272
RD
27511 {
27512 resultobj = wxPyMake_wxObject(result);
27513 }
d14a1e28
RD
27514 {
27515 if (temp3)
27516 delete arg3;
27517 }
27518 {
27519 if (temp4)
27520 delete arg4;
27521 }
27522 return resultobj;
27523 fail:
27524 {
27525 if (temp3)
27526 delete arg3;
27527 }
27528 {
27529 if (temp4)
27530 delete arg4;
27531 }
27532 return NULL;
27533}
27534
27535
2f4c0a16 27536static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27537 PyObject *resultobj;
27538 wxMenu *arg1 = (wxMenu *) 0 ;
27539 int arg2 ;
27540 wxString *arg3 = 0 ;
27541 wxMenu *arg4 = (wxMenu *) 0 ;
27542 wxString const &arg5_defvalue = wxPyEmptyString ;
27543 wxString *arg5 = (wxString *) &arg5_defvalue ;
2dbef272 27544 wxMenuItem *result;
423f194a
RD
27545 bool temp3 = False ;
27546 bool temp5 = False ;
d14a1e28 27547 PyObject * obj0 = 0 ;
8edf1c75 27548 PyObject * obj1 = 0 ;
d14a1e28
RD
27549 PyObject * obj2 = 0 ;
27550 PyObject * obj3 = 0 ;
27551 PyObject * obj4 = 0 ;
27552 char *kwnames[] = {
0f774bef 27553 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
27554 };
27555
8edf1c75 27556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27559 arg2 = (int) SWIG_AsInt(obj1);
27560 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27561 {
27562 arg3 = wxString_in_helper(obj2);
27563 if (arg3 == NULL) SWIG_fail;
423f194a 27564 temp3 = True;
d14a1e28 27565 }
2f4c0a16
RD
27566 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
27567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27568 if (obj4) {
27569 {
27570 arg5 = wxString_in_helper(obj4);
27571 if (arg5 == NULL) SWIG_fail;
423f194a 27572 temp5 = True;
d14a1e28
RD
27573 }
27574 }
27575 {
27576 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 27577 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
27578
27579 wxPyEndAllowThreads(__tstate);
27580 if (PyErr_Occurred()) SWIG_fail;
27581 }
2dbef272
RD
27582 {
27583 resultobj = wxPyMake_wxObject(result);
27584 }
d14a1e28
RD
27585 {
27586 if (temp3)
27587 delete arg3;
27588 }
27589 {
27590 if (temp5)
27591 delete arg5;
27592 }
27593 return resultobj;
27594 fail:
27595 {
27596 if (temp3)
27597 delete arg3;
27598 }
27599 {
27600 if (temp5)
27601 delete arg5;
27602 }
27603 return NULL;
27604}
27605
27606
2f4c0a16 27607static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27608 PyObject *resultobj;
27609 wxMenu *arg1 = (wxMenu *) 0 ;
27610 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
2dbef272 27611 wxMenuItem *result;
d14a1e28
RD
27612 PyObject * obj0 = 0 ;
27613 PyObject * obj1 = 0 ;
27614 char *kwnames[] = {
27615 (char *) "self",(char *) "item", NULL
27616 };
27617
27618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27621 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
27622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27623 {
27624 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 27625 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
27626
27627 wxPyEndAllowThreads(__tstate);
27628 if (PyErr_Occurred()) SWIG_fail;
27629 }
2dbef272
RD
27630 {
27631 resultobj = wxPyMake_wxObject(result);
27632 }
d14a1e28
RD
27633 return resultobj;
27634 fail:
27635 return NULL;
27636}
27637
27638
2f4c0a16 27639static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27640 PyObject *resultobj;
27641 wxMenu *arg1 = (wxMenu *) 0 ;
27642 PyObject * obj0 = 0 ;
27643 char *kwnames[] = {
27644 (char *) "self", NULL
27645 };
27646
27647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27650 {
27651 PyThreadState* __tstate = wxPyBeginAllowThreads();
27652 (arg1)->Break();
27653
27654 wxPyEndAllowThreads(__tstate);
27655 if (PyErr_Occurred()) SWIG_fail;
27656 }
27657 Py_INCREF(Py_None); resultobj = Py_None;
27658 return resultobj;
27659 fail:
27660 return NULL;
27661}
27662
27663
2f4c0a16 27664static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27665 PyObject *resultobj;
27666 wxMenu *arg1 = (wxMenu *) 0 ;
27667 size_t arg2 ;
27668 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
2dbef272 27669 wxMenuItem *result;
d14a1e28
RD
27670 PyObject * obj0 = 0 ;
27671 PyObject * obj1 = 0 ;
27672 PyObject * obj2 = 0 ;
27673 char *kwnames[] = {
27674 (char *) "self",(char *) "pos",(char *) "item", NULL
27675 };
27676
27677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27680 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
27681 if (PyErr_Occurred()) SWIG_fail;
27682 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
27683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27684 {
27685 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 27686 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
27687
27688 wxPyEndAllowThreads(__tstate);
27689 if (PyErr_Occurred()) SWIG_fail;
27690 }
2dbef272
RD
27691 {
27692 resultobj = wxPyMake_wxObject(result);
27693 }
d14a1e28
RD
27694 return resultobj;
27695 fail:
27696 return NULL;
27697}
27698
27699
2f4c0a16 27700static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27701 PyObject *resultobj;
27702 wxMenu *arg1 = (wxMenu *) 0 ;
27703 size_t arg2 ;
27704 int arg3 ;
27705 wxString *arg4 = 0 ;
27706 wxString const &arg5_defvalue = wxPyEmptyString ;
27707 wxString *arg5 = (wxString *) &arg5_defvalue ;
27708 int arg6 = (int) wxITEM_NORMAL ;
2dbef272 27709 wxMenuItem *result;
423f194a
RD
27710 bool temp4 = False ;
27711 bool temp5 = False ;
d14a1e28
RD
27712 PyObject * obj0 = 0 ;
27713 PyObject * obj1 = 0 ;
8edf1c75 27714 PyObject * obj2 = 0 ;
d14a1e28
RD
27715 PyObject * obj3 = 0 ;
27716 PyObject * obj4 = 0 ;
8edf1c75 27717 PyObject * obj5 = 0 ;
d14a1e28 27718 char *kwnames[] = {
0f774bef 27719 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
27720 };
27721
8edf1c75 27722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27725 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
27726 if (PyErr_Occurred()) SWIG_fail;
27727 arg3 = (int) SWIG_AsInt(obj2);
27728 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27729 {
27730 arg4 = wxString_in_helper(obj3);
27731 if (arg4 == NULL) SWIG_fail;
423f194a 27732 temp4 = True;
d14a1e28
RD
27733 }
27734 if (obj4) {
27735 {
27736 arg5 = wxString_in_helper(obj4);
27737 if (arg5 == NULL) SWIG_fail;
423f194a 27738 temp5 = True;
d14a1e28
RD
27739 }
27740 }
8edf1c75 27741 if (obj5) {
2f4c0a16
RD
27742 arg6 = (wxItemKind) SWIG_AsInt(obj5);
27743 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27744 }
d14a1e28
RD
27745 {
27746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 27747 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
27748
27749 wxPyEndAllowThreads(__tstate);
27750 if (PyErr_Occurred()) SWIG_fail;
27751 }
2dbef272
RD
27752 {
27753 resultobj = wxPyMake_wxObject(result);
27754 }
d14a1e28
RD
27755 {
27756 if (temp4)
27757 delete arg4;
27758 }
27759 {
27760 if (temp5)
27761 delete arg5;
27762 }
27763 return resultobj;
27764 fail:
27765 {
27766 if (temp4)
27767 delete arg4;
27768 }
27769 {
27770 if (temp5)
27771 delete arg5;
27772 }
27773 return NULL;
27774}
27775
27776
2f4c0a16 27777static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27778 PyObject *resultobj;
27779 wxMenu *arg1 = (wxMenu *) 0 ;
27780 size_t arg2 ;
2dbef272 27781 wxMenuItem *result;
d14a1e28
RD
27782 PyObject * obj0 = 0 ;
27783 PyObject * obj1 = 0 ;
27784 char *kwnames[] = {
27785 (char *) "self",(char *) "pos", NULL
27786 };
27787
27788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27791 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
27792 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27793 {
27794 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 27795 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
27796
27797 wxPyEndAllowThreads(__tstate);
27798 if (PyErr_Occurred()) SWIG_fail;
27799 }
2dbef272
RD
27800 {
27801 resultobj = wxPyMake_wxObject(result);
27802 }
d14a1e28
RD
27803 return resultobj;
27804 fail:
27805 return NULL;
27806}
27807
27808
2f4c0a16 27809static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27810 PyObject *resultobj;
27811 wxMenu *arg1 = (wxMenu *) 0 ;
27812 size_t arg2 ;
27813 int arg3 ;
27814 wxString *arg4 = 0 ;
27815 wxString const &arg5_defvalue = wxPyEmptyString ;
27816 wxString *arg5 = (wxString *) &arg5_defvalue ;
2dbef272 27817 wxMenuItem *result;
423f194a
RD
27818 bool temp4 = False ;
27819 bool temp5 = False ;
d14a1e28
RD
27820 PyObject * obj0 = 0 ;
27821 PyObject * obj1 = 0 ;
8edf1c75 27822 PyObject * obj2 = 0 ;
d14a1e28
RD
27823 PyObject * obj3 = 0 ;
27824 PyObject * obj4 = 0 ;
27825 char *kwnames[] = {
0f774bef 27826 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27827 };
27828
8edf1c75 27829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27832 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
27833 if (PyErr_Occurred()) SWIG_fail;
27834 arg3 = (int) SWIG_AsInt(obj2);
27835 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27836 {
27837 arg4 = wxString_in_helper(obj3);
27838 if (arg4 == NULL) SWIG_fail;
423f194a 27839 temp4 = True;
d14a1e28
RD
27840 }
27841 if (obj4) {
27842 {
27843 arg5 = wxString_in_helper(obj4);
27844 if (arg5 == NULL) SWIG_fail;
423f194a 27845 temp5 = True;
d14a1e28
RD
27846 }
27847 }
27848 {
27849 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 27850 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
27851
27852 wxPyEndAllowThreads(__tstate);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 }
2dbef272
RD
27855 {
27856 resultobj = wxPyMake_wxObject(result);
27857 }
d14a1e28
RD
27858 {
27859 if (temp4)
27860 delete arg4;
27861 }
27862 {
27863 if (temp5)
27864 delete arg5;
27865 }
27866 return resultobj;
27867 fail:
27868 {
27869 if (temp4)
27870 delete arg4;
27871 }
27872 {
27873 if (temp5)
27874 delete arg5;
27875 }
27876 return NULL;
27877}
27878
27879
2f4c0a16 27880static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27881 PyObject *resultobj;
27882 wxMenu *arg1 = (wxMenu *) 0 ;
27883 size_t arg2 ;
27884 int arg3 ;
27885 wxString *arg4 = 0 ;
27886 wxString const &arg5_defvalue = wxPyEmptyString ;
27887 wxString *arg5 = (wxString *) &arg5_defvalue ;
2dbef272 27888 wxMenuItem *result;
423f194a
RD
27889 bool temp4 = False ;
27890 bool temp5 = False ;
d14a1e28
RD
27891 PyObject * obj0 = 0 ;
27892 PyObject * obj1 = 0 ;
8edf1c75 27893 PyObject * obj2 = 0 ;
d14a1e28
RD
27894 PyObject * obj3 = 0 ;
27895 PyObject * obj4 = 0 ;
27896 char *kwnames[] = {
0f774bef 27897 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27898 };
27899
8edf1c75 27900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27903 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
27904 if (PyErr_Occurred()) SWIG_fail;
27905 arg3 = (int) SWIG_AsInt(obj2);
27906 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27907 {
27908 arg4 = wxString_in_helper(obj3);
27909 if (arg4 == NULL) SWIG_fail;
423f194a 27910 temp4 = True;
d14a1e28
RD
27911 }
27912 if (obj4) {
27913 {
27914 arg5 = wxString_in_helper(obj4);
27915 if (arg5 == NULL) SWIG_fail;
423f194a 27916 temp5 = True;
d14a1e28
RD
27917 }
27918 }
27919 {
27920 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 27921 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
27922
27923 wxPyEndAllowThreads(__tstate);
27924 if (PyErr_Occurred()) SWIG_fail;
27925 }
2dbef272
RD
27926 {
27927 resultobj = wxPyMake_wxObject(result);
27928 }
d14a1e28
RD
27929 {
27930 if (temp4)
27931 delete arg4;
27932 }
27933 {
27934 if (temp5)
27935 delete arg5;
27936 }
27937 return resultobj;
27938 fail:
27939 {
27940 if (temp4)
27941 delete arg4;
27942 }
27943 {
27944 if (temp5)
27945 delete arg5;
27946 }
27947 return NULL;
27948}
27949
27950
2f4c0a16 27951static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27952 PyObject *resultobj;
27953 wxMenu *arg1 = (wxMenu *) 0 ;
27954 size_t arg2 ;
27955 int arg3 ;
27956 wxString *arg4 = 0 ;
27957 wxMenu *arg5 = (wxMenu *) 0 ;
27958 wxString const &arg6_defvalue = wxPyEmptyString ;
27959 wxString *arg6 = (wxString *) &arg6_defvalue ;
2dbef272 27960 wxMenuItem *result;
423f194a
RD
27961 bool temp4 = False ;
27962 bool temp6 = False ;
d14a1e28
RD
27963 PyObject * obj0 = 0 ;
27964 PyObject * obj1 = 0 ;
8edf1c75 27965 PyObject * obj2 = 0 ;
d14a1e28
RD
27966 PyObject * obj3 = 0 ;
27967 PyObject * obj4 = 0 ;
27968 PyObject * obj5 = 0 ;
27969 char *kwnames[] = {
0f774bef 27970 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
27971 };
27972
8edf1c75 27973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27974 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27976 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
27977 if (PyErr_Occurred()) SWIG_fail;
27978 arg3 = (int) SWIG_AsInt(obj2);
27979 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27980 {
27981 arg4 = wxString_in_helper(obj3);
27982 if (arg4 == NULL) SWIG_fail;
423f194a 27983 temp4 = True;
d14a1e28 27984 }
2f4c0a16
RD
27985 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
27986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27987 if (obj5) {
27988 {
27989 arg6 = wxString_in_helper(obj5);
27990 if (arg6 == NULL) SWIG_fail;
423f194a 27991 temp6 = True;
d14a1e28
RD
27992 }
27993 }
27994 {
27995 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 27996 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
27997
27998 wxPyEndAllowThreads(__tstate);
27999 if (PyErr_Occurred()) SWIG_fail;
28000 }
2dbef272
RD
28001 {
28002 resultobj = wxPyMake_wxObject(result);
28003 }
d14a1e28
RD
28004 {
28005 if (temp4)
28006 delete arg4;
28007 }
28008 {
28009 if (temp6)
28010 delete arg6;
28011 }
28012 return resultobj;
28013 fail:
28014 {
28015 if (temp4)
28016 delete arg4;
28017 }
28018 {
28019 if (temp6)
28020 delete arg6;
28021 }
28022 return NULL;
28023}
28024
28025
2f4c0a16 28026static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28027 PyObject *resultobj;
28028 wxMenu *arg1 = (wxMenu *) 0 ;
28029 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
2dbef272 28030 wxMenuItem *result;
d14a1e28
RD
28031 PyObject * obj0 = 0 ;
28032 PyObject * obj1 = 0 ;
28033 char *kwnames[] = {
28034 (char *) "self",(char *) "item", NULL
28035 };
28036
28037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28040 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28042 {
28043 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28044 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
28045
28046 wxPyEndAllowThreads(__tstate);
28047 if (PyErr_Occurred()) SWIG_fail;
28048 }
2dbef272
RD
28049 {
28050 resultobj = wxPyMake_wxObject(result);
28051 }
d14a1e28
RD
28052 return resultobj;
28053 fail:
28054 return NULL;
28055}
28056
28057
2f4c0a16 28058static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28059 PyObject *resultobj;
28060 wxMenu *arg1 = (wxMenu *) 0 ;
28061 int arg2 ;
28062 wxString *arg3 = 0 ;
28063 wxString const &arg4_defvalue = wxPyEmptyString ;
28064 wxString *arg4 = (wxString *) &arg4_defvalue ;
28065 int arg5 = (int) wxITEM_NORMAL ;
2dbef272 28066 wxMenuItem *result;
423f194a
RD
28067 bool temp3 = False ;
28068 bool temp4 = False ;
d14a1e28 28069 PyObject * obj0 = 0 ;
8edf1c75 28070 PyObject * obj1 = 0 ;
d14a1e28
RD
28071 PyObject * obj2 = 0 ;
28072 PyObject * obj3 = 0 ;
8edf1c75 28073 PyObject * obj4 = 0 ;
d14a1e28 28074 char *kwnames[] = {
0f774bef 28075 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28076 };
28077
8edf1c75 28078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28081 arg2 = (int) SWIG_AsInt(obj1);
28082 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28083 {
28084 arg3 = wxString_in_helper(obj2);
28085 if (arg3 == NULL) SWIG_fail;
423f194a 28086 temp3 = True;
d14a1e28
RD
28087 }
28088 if (obj3) {
28089 {
28090 arg4 = wxString_in_helper(obj3);
28091 if (arg4 == NULL) SWIG_fail;
423f194a 28092 temp4 = True;
d14a1e28
RD
28093 }
28094 }
8edf1c75 28095 if (obj4) {
2f4c0a16
RD
28096 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28097 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28098 }
d14a1e28
RD
28099 {
28100 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28101 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
28102
28103 wxPyEndAllowThreads(__tstate);
28104 if (PyErr_Occurred()) SWIG_fail;
28105 }
2dbef272
RD
28106 {
28107 resultobj = wxPyMake_wxObject(result);
28108 }
d14a1e28
RD
28109 {
28110 if (temp3)
28111 delete arg3;
28112 }
28113 {
28114 if (temp4)
28115 delete arg4;
28116 }
28117 return resultobj;
28118 fail:
28119 {
28120 if (temp3)
28121 delete arg3;
28122 }
28123 {
28124 if (temp4)
28125 delete arg4;
28126 }
28127 return NULL;
28128}
28129
28130
2f4c0a16 28131static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28132 PyObject *resultobj;
28133 wxMenu *arg1 = (wxMenu *) 0 ;
2dbef272 28134 wxMenuItem *result;
d14a1e28
RD
28135 PyObject * obj0 = 0 ;
28136 char *kwnames[] = {
28137 (char *) "self", NULL
28138 };
28139
28140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28141 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28142 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28143 {
28144 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28145 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
28146
28147 wxPyEndAllowThreads(__tstate);
28148 if (PyErr_Occurred()) SWIG_fail;
28149 }
2dbef272
RD
28150 {
28151 resultobj = wxPyMake_wxObject(result);
28152 }
d14a1e28
RD
28153 return resultobj;
28154 fail:
28155 return NULL;
28156}
28157
28158
2f4c0a16 28159static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28160 PyObject *resultobj;
28161 wxMenu *arg1 = (wxMenu *) 0 ;
28162 int arg2 ;
28163 wxString *arg3 = 0 ;
28164 wxString const &arg4_defvalue = wxPyEmptyString ;
28165 wxString *arg4 = (wxString *) &arg4_defvalue ;
2dbef272 28166 wxMenuItem *result;
423f194a
RD
28167 bool temp3 = False ;
28168 bool temp4 = False ;
d14a1e28 28169 PyObject * obj0 = 0 ;
8edf1c75 28170 PyObject * obj1 = 0 ;
d14a1e28
RD
28171 PyObject * obj2 = 0 ;
28172 PyObject * obj3 = 0 ;
28173 char *kwnames[] = {
0f774bef 28174 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28175 };
28176
8edf1c75 28177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
28178 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28180 arg2 = (int) SWIG_AsInt(obj1);
28181 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28182 {
28183 arg3 = wxString_in_helper(obj2);
28184 if (arg3 == NULL) SWIG_fail;
423f194a 28185 temp3 = True;
d14a1e28
RD
28186 }
28187 if (obj3) {
28188 {
28189 arg4 = wxString_in_helper(obj3);
28190 if (arg4 == NULL) SWIG_fail;
423f194a 28191 temp4 = True;
d14a1e28
RD
28192 }
28193 }
28194 {
28195 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28196 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28197
28198 wxPyEndAllowThreads(__tstate);
28199 if (PyErr_Occurred()) SWIG_fail;
28200 }
2dbef272
RD
28201 {
28202 resultobj = wxPyMake_wxObject(result);
28203 }
d14a1e28
RD
28204 {
28205 if (temp3)
28206 delete arg3;
28207 }
28208 {
28209 if (temp4)
28210 delete arg4;
28211 }
28212 return resultobj;
28213 fail:
28214 {
28215 if (temp3)
28216 delete arg3;
28217 }
28218 {
28219 if (temp4)
28220 delete arg4;
28221 }
28222 return NULL;
28223}
28224
28225
2f4c0a16 28226static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28227 PyObject *resultobj;
28228 wxMenu *arg1 = (wxMenu *) 0 ;
28229 int arg2 ;
28230 wxString *arg3 = 0 ;
28231 wxString const &arg4_defvalue = wxPyEmptyString ;
28232 wxString *arg4 = (wxString *) &arg4_defvalue ;
2dbef272 28233 wxMenuItem *result;
423f194a
RD
28234 bool temp3 = False ;
28235 bool temp4 = False ;
d14a1e28 28236 PyObject * obj0 = 0 ;
8edf1c75 28237 PyObject * obj1 = 0 ;
d14a1e28
RD
28238 PyObject * obj2 = 0 ;
28239 PyObject * obj3 = 0 ;
28240 char *kwnames[] = {
0f774bef 28241 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28242 };
28243
8edf1c75 28244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
28245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28247 arg2 = (int) SWIG_AsInt(obj1);
28248 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28249 {
28250 arg3 = wxString_in_helper(obj2);
28251 if (arg3 == NULL) SWIG_fail;
423f194a 28252 temp3 = True;
d14a1e28
RD
28253 }
28254 if (obj3) {
28255 {
28256 arg4 = wxString_in_helper(obj3);
28257 if (arg4 == NULL) SWIG_fail;
423f194a 28258 temp4 = True;
d14a1e28
RD
28259 }
28260 }
28261 {
28262 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28263 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28264
28265 wxPyEndAllowThreads(__tstate);
28266 if (PyErr_Occurred()) SWIG_fail;
28267 }
2dbef272
RD
28268 {
28269 resultobj = wxPyMake_wxObject(result);
28270 }
d14a1e28
RD
28271 {
28272 if (temp3)
28273 delete arg3;
28274 }
28275 {
28276 if (temp4)
28277 delete arg4;
28278 }
28279 return resultobj;
28280 fail:
28281 {
28282 if (temp3)
28283 delete arg3;
28284 }
28285 {
28286 if (temp4)
28287 delete arg4;
28288 }
28289 return NULL;
28290}
28291
28292
2f4c0a16 28293static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28294 PyObject *resultobj;
28295 wxMenu *arg1 = (wxMenu *) 0 ;
28296 int arg2 ;
28297 wxString *arg3 = 0 ;
28298 wxMenu *arg4 = (wxMenu *) 0 ;
28299 wxString const &arg5_defvalue = wxPyEmptyString ;
28300 wxString *arg5 = (wxString *) &arg5_defvalue ;
2dbef272 28301 wxMenuItem *result;
423f194a
RD
28302 bool temp3 = False ;
28303 bool temp5 = False ;
d14a1e28 28304 PyObject * obj0 = 0 ;
8edf1c75 28305 PyObject * obj1 = 0 ;
d14a1e28
RD
28306 PyObject * obj2 = 0 ;
28307 PyObject * obj3 = 0 ;
28308 PyObject * obj4 = 0 ;
28309 char *kwnames[] = {
0f774bef 28310 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
28311 };
28312
8edf1c75 28313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28316 arg2 = (int) SWIG_AsInt(obj1);
28317 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28318 {
28319 arg3 = wxString_in_helper(obj2);
28320 if (arg3 == NULL) SWIG_fail;
423f194a 28321 temp3 = True;
d14a1e28 28322 }
2f4c0a16
RD
28323 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
28324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28325 if (obj4) {
28326 {
28327 arg5 = wxString_in_helper(obj4);
28328 if (arg5 == NULL) SWIG_fail;
423f194a 28329 temp5 = True;
d14a1e28
RD
28330 }
28331 }
28332 {
28333 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28334 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
28335
28336 wxPyEndAllowThreads(__tstate);
28337 if (PyErr_Occurred()) SWIG_fail;
28338 }
2dbef272
RD
28339 {
28340 resultobj = wxPyMake_wxObject(result);
28341 }
d14a1e28
RD
28342 {
28343 if (temp3)
28344 delete arg3;
28345 }
28346 {
28347 if (temp5)
28348 delete arg5;
28349 }
28350 return resultobj;
28351 fail:
28352 {
28353 if (temp3)
28354 delete arg3;
28355 }
28356 {
28357 if (temp5)
28358 delete arg5;
28359 }
28360 return NULL;
28361}
28362
28363
2f4c0a16 28364static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28365 PyObject *resultobj;
28366 wxMenu *arg1 = (wxMenu *) 0 ;
28367 int arg2 ;
28368 wxMenuItem *result;
28369 PyObject * obj0 = 0 ;
8edf1c75 28370 PyObject * obj1 = 0 ;
d14a1e28 28371 char *kwnames[] = {
0f774bef 28372 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28373 };
28374
8edf1c75 28375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28378 arg2 = (int) SWIG_AsInt(obj1);
28379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28380 {
28381 PyThreadState* __tstate = wxPyBeginAllowThreads();
28382 result = (wxMenuItem *)(arg1)->Remove(arg2);
28383
28384 wxPyEndAllowThreads(__tstate);
28385 if (PyErr_Occurred()) SWIG_fail;
28386 }
28387 {
28388 resultobj = wxPyMake_wxObject(result);
28389 }
28390 return resultobj;
28391 fail:
28392 return NULL;
28393}
28394
28395
2f4c0a16 28396static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28397 PyObject *resultobj;
28398 wxMenu *arg1 = (wxMenu *) 0 ;
28399 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28400 wxMenuItem *result;
28401 PyObject * obj0 = 0 ;
28402 PyObject * obj1 = 0 ;
28403 char *kwnames[] = {
28404 (char *) "self",(char *) "item", NULL
28405 };
28406
28407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28410 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28412 {
28413 PyThreadState* __tstate = wxPyBeginAllowThreads();
28414 result = (wxMenuItem *)(arg1)->Remove(arg2);
28415
28416 wxPyEndAllowThreads(__tstate);
28417 if (PyErr_Occurred()) SWIG_fail;
28418 }
28419 {
28420 resultobj = wxPyMake_wxObject(result);
28421 }
28422 return resultobj;
28423 fail:
28424 return NULL;
28425}
28426
28427
2f4c0a16 28428static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28429 PyObject *resultobj;
28430 wxMenu *arg1 = (wxMenu *) 0 ;
28431 int arg2 ;
28432 bool result;
28433 PyObject * obj0 = 0 ;
8edf1c75 28434 PyObject * obj1 = 0 ;
d14a1e28 28435 char *kwnames[] = {
0f774bef 28436 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28437 };
28438
8edf1c75 28439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28442 arg2 = (int) SWIG_AsInt(obj1);
28443 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28444 {
28445 PyThreadState* __tstate = wxPyBeginAllowThreads();
28446 result = (bool)(arg1)->Delete(arg2);
28447
28448 wxPyEndAllowThreads(__tstate);
28449 if (PyErr_Occurred()) SWIG_fail;
28450 }
02a34c4c 28451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28452 return resultobj;
28453 fail:
28454 return NULL;
28455}
28456
28457
2f4c0a16 28458static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28459 PyObject *resultobj;
28460 wxMenu *arg1 = (wxMenu *) 0 ;
28461 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28462 bool result;
28463 PyObject * obj0 = 0 ;
28464 PyObject * obj1 = 0 ;
28465 char *kwnames[] = {
28466 (char *) "self",(char *) "item", NULL
28467 };
28468
28469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28474 {
28475 PyThreadState* __tstate = wxPyBeginAllowThreads();
28476 result = (bool)(arg1)->Delete(arg2);
28477
28478 wxPyEndAllowThreads(__tstate);
28479 if (PyErr_Occurred()) SWIG_fail;
28480 }
02a34c4c 28481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28482 return resultobj;
28483 fail:
28484 return NULL;
28485}
28486
28487
2f4c0a16 28488static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28489 PyObject *resultobj;
28490 wxMenu *arg1 = (wxMenu *) 0 ;
28491 PyObject * obj0 = 0 ;
28492 char *kwnames[] = {
28493 (char *) "self", NULL
28494 };
28495
28496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28499 {
28500 PyThreadState* __tstate = wxPyBeginAllowThreads();
28501 wxMenu_Destroy(arg1);
28502
28503 wxPyEndAllowThreads(__tstate);
28504 if (PyErr_Occurred()) SWIG_fail;
28505 }
28506 Py_INCREF(Py_None); resultobj = Py_None;
28507 return resultobj;
28508 fail:
28509 return NULL;
28510}
28511
28512
2f4c0a16 28513static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28514 PyObject *resultobj;
28515 wxMenu *arg1 = (wxMenu *) 0 ;
28516 int arg2 ;
28517 bool result;
28518 PyObject * obj0 = 0 ;
8edf1c75 28519 PyObject * obj1 = 0 ;
d14a1e28 28520 char *kwnames[] = {
0f774bef 28521 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28522 };
28523
8edf1c75 28524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28527 arg2 = (int) SWIG_AsInt(obj1);
28528 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28529 {
28530 PyThreadState* __tstate = wxPyBeginAllowThreads();
28531 result = (bool)(arg1)->Destroy(arg2);
28532
28533 wxPyEndAllowThreads(__tstate);
28534 if (PyErr_Occurred()) SWIG_fail;
28535 }
02a34c4c 28536 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28537 return resultobj;
28538 fail:
28539 return NULL;
28540}
28541
28542
2f4c0a16 28543static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28544 PyObject *resultobj;
28545 wxMenu *arg1 = (wxMenu *) 0 ;
28546 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28547 bool result;
28548 PyObject * obj0 = 0 ;
28549 PyObject * obj1 = 0 ;
28550 char *kwnames[] = {
28551 (char *) "self",(char *) "item", NULL
28552 };
28553
28554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28557 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28559 {
28560 PyThreadState* __tstate = wxPyBeginAllowThreads();
28561 result = (bool)(arg1)->Destroy(arg2);
28562
28563 wxPyEndAllowThreads(__tstate);
28564 if (PyErr_Occurred()) SWIG_fail;
28565 }
02a34c4c 28566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28567 return resultobj;
28568 fail:
28569 return NULL;
28570}
28571
28572
2f4c0a16 28573static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28574 PyObject *resultobj;
28575 wxMenu *arg1 = (wxMenu *) 0 ;
28576 size_t result;
28577 PyObject * obj0 = 0 ;
28578 char *kwnames[] = {
28579 (char *) "self", NULL
28580 };
28581
28582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28585 {
28586 PyThreadState* __tstate = wxPyBeginAllowThreads();
28587 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
28588
28589 wxPyEndAllowThreads(__tstate);
28590 if (PyErr_Occurred()) SWIG_fail;
28591 }
2f4c0a16 28592 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
28593 return resultobj;
28594 fail:
28595 return NULL;
28596}
28597
28598
2f4c0a16 28599static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28600 PyObject *resultobj;
28601 wxMenu *arg1 = (wxMenu *) 0 ;
28602 PyObject *result;
28603 PyObject * obj0 = 0 ;
28604 char *kwnames[] = {
28605 (char *) "self", NULL
28606 };
28607
28608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28611 {
28612 PyThreadState* __tstate = wxPyBeginAllowThreads();
28613 result = (PyObject *)wxMenu_GetMenuItems(arg1);
28614
28615 wxPyEndAllowThreads(__tstate);
28616 if (PyErr_Occurred()) SWIG_fail;
28617 }
28618 resultobj = result;
28619 return resultobj;
28620 fail:
28621 return NULL;
28622}
28623
28624
2f4c0a16 28625static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28626 PyObject *resultobj;
28627 wxMenu *arg1 = (wxMenu *) 0 ;
28628 wxString *arg2 = 0 ;
28629 int result;
423f194a 28630 bool temp2 = False ;
d14a1e28
RD
28631 PyObject * obj0 = 0 ;
28632 PyObject * obj1 = 0 ;
28633 char *kwnames[] = {
28634 (char *) "self",(char *) "item", NULL
28635 };
28636
28637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28640 {
28641 arg2 = wxString_in_helper(obj1);
28642 if (arg2 == NULL) SWIG_fail;
423f194a 28643 temp2 = True;
d14a1e28
RD
28644 }
28645 {
28646 PyThreadState* __tstate = wxPyBeginAllowThreads();
28647 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
28648
28649 wxPyEndAllowThreads(__tstate);
28650 if (PyErr_Occurred()) SWIG_fail;
28651 }
2f4c0a16 28652 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
28653 {
28654 if (temp2)
28655 delete arg2;
28656 }
28657 return resultobj;
28658 fail:
28659 {
28660 if (temp2)
28661 delete arg2;
28662 }
28663 return NULL;
28664}
28665
28666
2f4c0a16 28667static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28668 PyObject *resultobj;
28669 wxMenu *arg1 = (wxMenu *) 0 ;
28670 int arg2 ;
28671 wxMenuItem *result;
28672 PyObject * obj0 = 0 ;
8edf1c75 28673 PyObject * obj1 = 0 ;
d14a1e28 28674 char *kwnames[] = {
0f774bef 28675 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28676 };
28677
8edf1c75 28678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28681 arg2 = (int) SWIG_AsInt(obj1);
28682 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28683 {
28684 PyThreadState* __tstate = wxPyBeginAllowThreads();
28685 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
28686
28687 wxPyEndAllowThreads(__tstate);
28688 if (PyErr_Occurred()) SWIG_fail;
28689 }
28690 {
28691 resultobj = wxPyMake_wxObject(result);
28692 }
28693 return resultobj;
28694 fail:
28695 return NULL;
28696}
28697
28698
2f4c0a16 28699static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28700 PyObject *resultobj;
28701 wxMenu *arg1 = (wxMenu *) 0 ;
28702 size_t arg2 ;
28703 wxMenuItem *result;
28704 PyObject * obj0 = 0 ;
28705 PyObject * obj1 = 0 ;
28706 char *kwnames[] = {
28707 (char *) "self",(char *) "position", NULL
28708 };
28709
28710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28713 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28714 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28715 {
28716 PyThreadState* __tstate = wxPyBeginAllowThreads();
28717 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
28718
28719 wxPyEndAllowThreads(__tstate);
28720 if (PyErr_Occurred()) SWIG_fail;
28721 }
28722 {
28723 resultobj = wxPyMake_wxObject(result);
28724 }
28725 return resultobj;
28726 fail:
28727 return NULL;
28728}
28729
28730
2f4c0a16 28731static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28732 PyObject *resultobj;
28733 wxMenu *arg1 = (wxMenu *) 0 ;
28734 int arg2 ;
28735 bool arg3 ;
28736 PyObject * obj0 = 0 ;
8edf1c75 28737 PyObject * obj1 = 0 ;
d14a1e28
RD
28738 PyObject * obj2 = 0 ;
28739 char *kwnames[] = {
0f774bef 28740 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
28741 };
28742
8edf1c75 28743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28746 arg2 = (int) SWIG_AsInt(obj1);
28747 if (PyErr_Occurred()) SWIG_fail;
28748 arg3 = (bool) SWIG_AsBool(obj2);
28749 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28750 {
28751 PyThreadState* __tstate = wxPyBeginAllowThreads();
28752 (arg1)->Enable(arg2,arg3);
28753
28754 wxPyEndAllowThreads(__tstate);
28755 if (PyErr_Occurred()) SWIG_fail;
28756 }
28757 Py_INCREF(Py_None); resultobj = Py_None;
28758 return resultobj;
28759 fail:
28760 return NULL;
28761}
28762
28763
2f4c0a16 28764static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28765 PyObject *resultobj;
28766 wxMenu *arg1 = (wxMenu *) 0 ;
28767 int arg2 ;
28768 bool result;
28769 PyObject * obj0 = 0 ;
8edf1c75 28770 PyObject * obj1 = 0 ;
d14a1e28 28771 char *kwnames[] = {
0f774bef 28772 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28773 };
28774
8edf1c75 28775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28778 arg2 = (int) SWIG_AsInt(obj1);
28779 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28780 {
28781 PyThreadState* __tstate = wxPyBeginAllowThreads();
28782 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
28783
28784 wxPyEndAllowThreads(__tstate);
28785 if (PyErr_Occurred()) SWIG_fail;
28786 }
02a34c4c 28787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28788 return resultobj;
28789 fail:
28790 return NULL;
28791}
28792
28793
2f4c0a16 28794static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28795 PyObject *resultobj;
28796 wxMenu *arg1 = (wxMenu *) 0 ;
28797 int arg2 ;
28798 bool arg3 ;
28799 PyObject * obj0 = 0 ;
8edf1c75 28800 PyObject * obj1 = 0 ;
d14a1e28
RD
28801 PyObject * obj2 = 0 ;
28802 char *kwnames[] = {
0f774bef 28803 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
28804 };
28805
8edf1c75 28806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28809 arg2 = (int) SWIG_AsInt(obj1);
28810 if (PyErr_Occurred()) SWIG_fail;
28811 arg3 = (bool) SWIG_AsBool(obj2);
28812 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28813 {
28814 PyThreadState* __tstate = wxPyBeginAllowThreads();
28815 (arg1)->Check(arg2,arg3);
28816
28817 wxPyEndAllowThreads(__tstate);
28818 if (PyErr_Occurred()) SWIG_fail;
28819 }
28820 Py_INCREF(Py_None); resultobj = Py_None;
28821 return resultobj;
28822 fail:
28823 return NULL;
28824}
28825
28826
2f4c0a16 28827static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28828 PyObject *resultobj;
28829 wxMenu *arg1 = (wxMenu *) 0 ;
28830 int arg2 ;
28831 bool result;
28832 PyObject * obj0 = 0 ;
8edf1c75 28833 PyObject * obj1 = 0 ;
d14a1e28 28834 char *kwnames[] = {
0f774bef 28835 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28836 };
28837
8edf1c75 28838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28841 arg2 = (int) SWIG_AsInt(obj1);
28842 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28843 {
28844 PyThreadState* __tstate = wxPyBeginAllowThreads();
28845 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
28846
28847 wxPyEndAllowThreads(__tstate);
28848 if (PyErr_Occurred()) SWIG_fail;
28849 }
02a34c4c 28850 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28851 return resultobj;
28852 fail:
28853 return NULL;
28854}
28855
28856
2f4c0a16 28857static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28858 PyObject *resultobj;
28859 wxMenu *arg1 = (wxMenu *) 0 ;
28860 int arg2 ;
28861 wxString *arg3 = 0 ;
423f194a 28862 bool temp3 = False ;
d14a1e28 28863 PyObject * obj0 = 0 ;
8edf1c75 28864 PyObject * obj1 = 0 ;
d14a1e28
RD
28865 PyObject * obj2 = 0 ;
28866 char *kwnames[] = {
0f774bef 28867 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
28868 };
28869
8edf1c75 28870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28873 arg2 = (int) SWIG_AsInt(obj1);
28874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28875 {
28876 arg3 = wxString_in_helper(obj2);
28877 if (arg3 == NULL) SWIG_fail;
423f194a 28878 temp3 = True;
d14a1e28
RD
28879 }
28880 {
28881 PyThreadState* __tstate = wxPyBeginAllowThreads();
28882 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
28883
28884 wxPyEndAllowThreads(__tstate);
28885 if (PyErr_Occurred()) SWIG_fail;
28886 }
28887 Py_INCREF(Py_None); resultobj = Py_None;
28888 {
28889 if (temp3)
28890 delete arg3;
28891 }
28892 return resultobj;
28893 fail:
28894 {
28895 if (temp3)
28896 delete arg3;
28897 }
28898 return NULL;
28899}
28900
28901
2f4c0a16 28902static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28903 PyObject *resultobj;
28904 wxMenu *arg1 = (wxMenu *) 0 ;
28905 int arg2 ;
28906 wxString result;
28907 PyObject * obj0 = 0 ;
8edf1c75 28908 PyObject * obj1 = 0 ;
d14a1e28 28909 char *kwnames[] = {
0f774bef 28910 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28911 };
28912
8edf1c75 28913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28916 arg2 = (int) SWIG_AsInt(obj1);
28917 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28918 {
28919 PyThreadState* __tstate = wxPyBeginAllowThreads();
28920 result = ((wxMenu const *)arg1)->GetLabel(arg2);
28921
28922 wxPyEndAllowThreads(__tstate);
28923 if (PyErr_Occurred()) SWIG_fail;
28924 }
28925 {
28926#if wxUSE_UNICODE
28927 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28928#else
28929 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28930#endif
28931 }
28932 return resultobj;
28933 fail:
28934 return NULL;
28935}
28936
28937
2f4c0a16 28938static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28939 PyObject *resultobj;
28940 wxMenu *arg1 = (wxMenu *) 0 ;
28941 int arg2 ;
28942 wxString *arg3 = 0 ;
423f194a 28943 bool temp3 = False ;
d14a1e28 28944 PyObject * obj0 = 0 ;
8edf1c75 28945 PyObject * obj1 = 0 ;
d14a1e28
RD
28946 PyObject * obj2 = 0 ;
28947 char *kwnames[] = {
0f774bef 28948 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
28949 };
28950
8edf1c75 28951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28954 arg2 = (int) SWIG_AsInt(obj1);
28955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28956 {
28957 arg3 = wxString_in_helper(obj2);
28958 if (arg3 == NULL) SWIG_fail;
423f194a 28959 temp3 = True;
d14a1e28
RD
28960 }
28961 {
28962 PyThreadState* __tstate = wxPyBeginAllowThreads();
28963 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
28964
28965 wxPyEndAllowThreads(__tstate);
28966 if (PyErr_Occurred()) SWIG_fail;
28967 }
28968 Py_INCREF(Py_None); resultobj = Py_None;
28969 {
28970 if (temp3)
28971 delete arg3;
28972 }
28973 return resultobj;
28974 fail:
28975 {
28976 if (temp3)
28977 delete arg3;
28978 }
28979 return NULL;
28980}
28981
28982
2f4c0a16 28983static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28984 PyObject *resultobj;
28985 wxMenu *arg1 = (wxMenu *) 0 ;
28986 int arg2 ;
28987 wxString result;
28988 PyObject * obj0 = 0 ;
8edf1c75 28989 PyObject * obj1 = 0 ;
d14a1e28 28990 char *kwnames[] = {
0f774bef 28991 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28992 };
28993
8edf1c75 28994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28997 arg2 = (int) SWIG_AsInt(obj1);
28998 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28999 {
29000 PyThreadState* __tstate = wxPyBeginAllowThreads();
29001 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
29002
29003 wxPyEndAllowThreads(__tstate);
29004 if (PyErr_Occurred()) SWIG_fail;
29005 }
29006 {
29007#if wxUSE_UNICODE
29008 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29009#else
29010 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29011#endif
29012 }
29013 return resultobj;
29014 fail:
29015 return NULL;
29016}
29017
29018
2f4c0a16 29019static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29020 PyObject *resultobj;
29021 wxMenu *arg1 = (wxMenu *) 0 ;
29022 wxString *arg2 = 0 ;
423f194a 29023 bool temp2 = False ;
d14a1e28
RD
29024 PyObject * obj0 = 0 ;
29025 PyObject * obj1 = 0 ;
29026 char *kwnames[] = {
29027 (char *) "self",(char *) "title", NULL
29028 };
29029
29030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29033 {
29034 arg2 = wxString_in_helper(obj1);
29035 if (arg2 == NULL) SWIG_fail;
423f194a 29036 temp2 = True;
d14a1e28
RD
29037 }
29038 {
29039 PyThreadState* __tstate = wxPyBeginAllowThreads();
29040 (arg1)->SetTitle((wxString const &)*arg2);
29041
29042 wxPyEndAllowThreads(__tstate);
29043 if (PyErr_Occurred()) SWIG_fail;
29044 }
29045 Py_INCREF(Py_None); resultobj = Py_None;
29046 {
29047 if (temp2)
29048 delete arg2;
29049 }
29050 return resultobj;
29051 fail:
29052 {
29053 if (temp2)
29054 delete arg2;
29055 }
29056 return NULL;
29057}
29058
29059
2f4c0a16 29060static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29061 PyObject *resultobj;
29062 wxMenu *arg1 = (wxMenu *) 0 ;
29063 wxString result;
29064 PyObject * obj0 = 0 ;
29065 char *kwnames[] = {
29066 (char *) "self", NULL
29067 };
29068
29069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29072 {
29073 PyThreadState* __tstate = wxPyBeginAllowThreads();
29074 result = ((wxMenu const *)arg1)->GetTitle();
29075
29076 wxPyEndAllowThreads(__tstate);
29077 if (PyErr_Occurred()) SWIG_fail;
29078 }
29079 {
29080#if wxUSE_UNICODE
29081 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29082#else
29083 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29084#endif
29085 }
29086 return resultobj;
29087 fail:
29088 return NULL;
29089}
29090
29091
2f4c0a16 29092static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29093 PyObject *resultobj;
29094 wxMenu *arg1 = (wxMenu *) 0 ;
29095 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
29096 PyObject * obj0 = 0 ;
29097 PyObject * obj1 = 0 ;
29098 char *kwnames[] = {
29099 (char *) "self",(char *) "handler", NULL
29100 };
29101
29102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29105 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
29106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29107 {
29108 PyThreadState* __tstate = wxPyBeginAllowThreads();
29109 (arg1)->SetEventHandler(arg2);
29110
29111 wxPyEndAllowThreads(__tstate);
29112 if (PyErr_Occurred()) SWIG_fail;
29113 }
29114 Py_INCREF(Py_None); resultobj = Py_None;
29115 return resultobj;
29116 fail:
29117 return NULL;
29118}
29119
29120
2f4c0a16 29121static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29122 PyObject *resultobj;
29123 wxMenu *arg1 = (wxMenu *) 0 ;
29124 wxEvtHandler *result;
29125 PyObject * obj0 = 0 ;
29126 char *kwnames[] = {
29127 (char *) "self", NULL
29128 };
29129
29130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29133 {
29134 PyThreadState* __tstate = wxPyBeginAllowThreads();
29135 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
29136
29137 wxPyEndAllowThreads(__tstate);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
29140 {
29141 resultobj = wxPyMake_wxObject(result);
29142 }
29143 return resultobj;
29144 fail:
29145 return NULL;
29146}
29147
29148
2f4c0a16 29149static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29150 PyObject *resultobj;
29151 wxMenu *arg1 = (wxMenu *) 0 ;
29152 wxWindow *arg2 = (wxWindow *) 0 ;
29153 PyObject * obj0 = 0 ;
29154 PyObject * obj1 = 0 ;
29155 char *kwnames[] = {
29156 (char *) "self",(char *) "win", NULL
29157 };
29158
29159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29164 {
29165 PyThreadState* __tstate = wxPyBeginAllowThreads();
29166 (arg1)->SetInvokingWindow(arg2);
29167
29168 wxPyEndAllowThreads(__tstate);
29169 if (PyErr_Occurred()) SWIG_fail;
29170 }
29171 Py_INCREF(Py_None); resultobj = Py_None;
29172 return resultobj;
29173 fail:
29174 return NULL;
29175}
29176
29177
2f4c0a16 29178static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29179 PyObject *resultobj;
29180 wxMenu *arg1 = (wxMenu *) 0 ;
29181 wxWindow *result;
29182 PyObject * obj0 = 0 ;
29183 char *kwnames[] = {
29184 (char *) "self", NULL
29185 };
29186
29187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29190 {
29191 PyThreadState* __tstate = wxPyBeginAllowThreads();
29192 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
29193
29194 wxPyEndAllowThreads(__tstate);
29195 if (PyErr_Occurred()) SWIG_fail;
29196 }
29197 {
29198 resultobj = wxPyMake_wxObject(result);
29199 }
29200 return resultobj;
29201 fail:
29202 return NULL;
29203}
29204
29205
2f4c0a16 29206static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29207 PyObject *resultobj;
29208 wxMenu *arg1 = (wxMenu *) 0 ;
29209 long result;
29210 PyObject * obj0 = 0 ;
29211 char *kwnames[] = {
29212 (char *) "self", NULL
29213 };
29214
29215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29218 {
29219 PyThreadState* __tstate = wxPyBeginAllowThreads();
29220 result = (long)((wxMenu const *)arg1)->GetStyle();
29221
29222 wxPyEndAllowThreads(__tstate);
29223 if (PyErr_Occurred()) SWIG_fail;
29224 }
2f4c0a16 29225 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
29226 return resultobj;
29227 fail:
29228 return NULL;
29229}
29230
29231
2f4c0a16 29232static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29233 PyObject *resultobj;
29234 wxMenu *arg1 = (wxMenu *) 0 ;
29235 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
29236 PyObject * obj0 = 0 ;
29237 PyObject * obj1 = 0 ;
29238 char *kwnames[] = {
29239 (char *) "self",(char *) "source", NULL
29240 };
29241
29242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 29245 if (obj1) {
2f4c0a16
RD
29246 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
29247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29248 }
29249 {
29250 PyThreadState* __tstate = wxPyBeginAllowThreads();
29251 (arg1)->UpdateUI(arg2);
29252
29253 wxPyEndAllowThreads(__tstate);
29254 if (PyErr_Occurred()) SWIG_fail;
29255 }
29256 Py_INCREF(Py_None); resultobj = Py_None;
29257 return resultobj;
29258 fail:
29259 return NULL;
29260}
29261
29262
2f4c0a16 29263static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29264 PyObject *resultobj;
29265 wxMenu *arg1 = (wxMenu *) 0 ;
29266 wxMenuBar *result;
29267 PyObject * obj0 = 0 ;
29268 char *kwnames[] = {
29269 (char *) "self", NULL
29270 };
29271
29272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29275 {
29276 PyThreadState* __tstate = wxPyBeginAllowThreads();
29277 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
29278
29279 wxPyEndAllowThreads(__tstate);
29280 if (PyErr_Occurred()) SWIG_fail;
29281 }
29282 {
29283 resultobj = wxPyMake_wxObject(result);
29284 }
29285 return resultobj;
29286 fail:
29287 return NULL;
29288}
29289
29290
2f4c0a16 29291static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29292 PyObject *resultobj;
29293 wxMenu *arg1 = (wxMenu *) 0 ;
29294 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
29295 PyObject * obj0 = 0 ;
29296 PyObject * obj1 = 0 ;
29297 char *kwnames[] = {
29298 (char *) "self",(char *) "menubar", NULL
29299 };
29300
29301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29304 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
29305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29306 {
29307 PyThreadState* __tstate = wxPyBeginAllowThreads();
29308 (arg1)->Attach(arg2);
29309
29310 wxPyEndAllowThreads(__tstate);
29311 if (PyErr_Occurred()) SWIG_fail;
29312 }
29313 Py_INCREF(Py_None); resultobj = Py_None;
29314 return resultobj;
29315 fail:
29316 return NULL;
29317}
29318
29319
2f4c0a16 29320static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29321 PyObject *resultobj;
29322 wxMenu *arg1 = (wxMenu *) 0 ;
29323 PyObject * obj0 = 0 ;
29324 char *kwnames[] = {
29325 (char *) "self", NULL
29326 };
29327
29328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29331 {
29332 PyThreadState* __tstate = wxPyBeginAllowThreads();
29333 (arg1)->Detach();
29334
29335 wxPyEndAllowThreads(__tstate);
29336 if (PyErr_Occurred()) SWIG_fail;
29337 }
29338 Py_INCREF(Py_None); resultobj = Py_None;
29339 return resultobj;
29340 fail:
29341 return NULL;
29342}
29343
29344
2f4c0a16 29345static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29346 PyObject *resultobj;
29347 wxMenu *arg1 = (wxMenu *) 0 ;
29348 bool result;
29349 PyObject * obj0 = 0 ;
29350 char *kwnames[] = {
29351 (char *) "self", NULL
29352 };
29353
29354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29357 {
29358 PyThreadState* __tstate = wxPyBeginAllowThreads();
29359 result = (bool)((wxMenu const *)arg1)->IsAttached();
29360
29361 wxPyEndAllowThreads(__tstate);
29362 if (PyErr_Occurred()) SWIG_fail;
29363 }
02a34c4c 29364 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29365 return resultobj;
29366 fail:
29367 return NULL;
29368}
29369
29370
2f4c0a16 29371static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29372 PyObject *resultobj;
29373 wxMenu *arg1 = (wxMenu *) 0 ;
29374 wxMenu *arg2 = (wxMenu *) 0 ;
29375 PyObject * obj0 = 0 ;
29376 PyObject * obj1 = 0 ;
29377 char *kwnames[] = {
29378 (char *) "self",(char *) "parent", NULL
29379 };
29380
29381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
29385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29386 {
29387 PyThreadState* __tstate = wxPyBeginAllowThreads();
29388 (arg1)->SetParent(arg2);
29389
29390 wxPyEndAllowThreads(__tstate);
29391 if (PyErr_Occurred()) SWIG_fail;
29392 }
29393 Py_INCREF(Py_None); resultobj = Py_None;
29394 return resultobj;
29395 fail:
29396 return NULL;
29397}
29398
29399
2f4c0a16 29400static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29401 PyObject *resultobj;
29402 wxMenu *arg1 = (wxMenu *) 0 ;
29403 wxMenu *result;
29404 PyObject * obj0 = 0 ;
29405 char *kwnames[] = {
29406 (char *) "self", NULL
29407 };
29408
29409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29412 {
29413 PyThreadState* __tstate = wxPyBeginAllowThreads();
29414 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
29415
29416 wxPyEndAllowThreads(__tstate);
29417 if (PyErr_Occurred()) SWIG_fail;
29418 }
29419 {
29420 resultobj = wxPyMake_wxObject(result);
29421 }
29422 return resultobj;
29423 fail:
29424 return NULL;
29425}
29426
29427
2f4c0a16 29428static PyObject * Menu_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
29429 PyObject *obj;
29430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29431 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
29432 Py_INCREF(obj);
29433 return Py_BuildValue((char *)"");
29434}
2f4c0a16 29435static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29436 PyObject *resultobj;
29437 long arg1 = (long) 0 ;
29438 wxMenuBar *result;
8edf1c75 29439 PyObject * obj0 = 0 ;
d14a1e28
RD
29440 char *kwnames[] = {
29441 (char *) "style", NULL
29442 };
29443
8edf1c75
RD
29444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
29445 if (obj0) {
2f4c0a16
RD
29446 arg1 = (long) SWIG_AsLong(obj0);
29447 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29448 }
d14a1e28
RD
29449 {
29450 PyThreadState* __tstate = wxPyBeginAllowThreads();
29451 result = (wxMenuBar *)new wxMenuBar(arg1);
29452
29453 wxPyEndAllowThreads(__tstate);
29454 if (PyErr_Occurred()) SWIG_fail;
29455 }
29456 {
29457 resultobj = wxPyMake_wxObject(result);
29458 }
29459 return resultobj;
29460 fail:
29461 return NULL;
29462}
29463
29464
2f4c0a16 29465static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29466 PyObject *resultobj;
29467 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29468 wxMenu *arg2 = (wxMenu *) 0 ;
29469 wxString *arg3 = 0 ;
29470 bool result;
423f194a 29471 bool temp3 = False ;
d14a1e28
RD
29472 PyObject * obj0 = 0 ;
29473 PyObject * obj1 = 0 ;
29474 PyObject * obj2 = 0 ;
29475 char *kwnames[] = {
29476 (char *) "self",(char *) "menu",(char *) "title", NULL
29477 };
29478
29479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29482 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
29483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29484 {
29485 arg3 = wxString_in_helper(obj2);
29486 if (arg3 == NULL) SWIG_fail;
423f194a 29487 temp3 = True;
d14a1e28
RD
29488 }
29489 {
29490 PyThreadState* __tstate = wxPyBeginAllowThreads();
29491 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
29492
29493 wxPyEndAllowThreads(__tstate);
29494 if (PyErr_Occurred()) SWIG_fail;
29495 }
02a34c4c 29496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29497 {
29498 if (temp3)
29499 delete arg3;
29500 }
29501 return resultobj;
29502 fail:
29503 {
29504 if (temp3)
29505 delete arg3;
29506 }
29507 return NULL;
29508}
29509
29510
2f4c0a16 29511static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29512 PyObject *resultobj;
29513 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29514 size_t arg2 ;
29515 wxMenu *arg3 = (wxMenu *) 0 ;
29516 wxString *arg4 = 0 ;
29517 bool result;
423f194a 29518 bool temp4 = False ;
d14a1e28
RD
29519 PyObject * obj0 = 0 ;
29520 PyObject * obj1 = 0 ;
29521 PyObject * obj2 = 0 ;
29522 PyObject * obj3 = 0 ;
29523 char *kwnames[] = {
29524 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29525 };
29526
29527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
29528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29530 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29531 if (PyErr_Occurred()) SWIG_fail;
29532 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
29533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29534 {
29535 arg4 = wxString_in_helper(obj3);
29536 if (arg4 == NULL) SWIG_fail;
423f194a 29537 temp4 = True;
d14a1e28
RD
29538 }
29539 {
29540 PyThreadState* __tstate = wxPyBeginAllowThreads();
29541 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
29542
29543 wxPyEndAllowThreads(__tstate);
29544 if (PyErr_Occurred()) SWIG_fail;
29545 }
02a34c4c 29546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29547 {
29548 if (temp4)
29549 delete arg4;
29550 }
29551 return resultobj;
29552 fail:
29553 {
29554 if (temp4)
29555 delete arg4;
29556 }
29557 return NULL;
29558}
29559
29560
2f4c0a16 29561static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29562 PyObject *resultobj;
29563 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29564 size_t result;
29565 PyObject * obj0 = 0 ;
29566 char *kwnames[] = {
29567 (char *) "self", NULL
29568 };
29569
29570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29573 {
29574 PyThreadState* __tstate = wxPyBeginAllowThreads();
29575 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
29576
29577 wxPyEndAllowThreads(__tstate);
29578 if (PyErr_Occurred()) SWIG_fail;
29579 }
2f4c0a16 29580 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
29581 return resultobj;
29582 fail:
29583 return NULL;
29584}
29585
29586
2f4c0a16 29587static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29588 PyObject *resultobj;
29589 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29590 size_t arg2 ;
29591 wxMenu *result;
29592 PyObject * obj0 = 0 ;
29593 PyObject * obj1 = 0 ;
29594 char *kwnames[] = {
29595 (char *) "self",(char *) "pos", NULL
29596 };
29597
29598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29601 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29602 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29603 {
29604 PyThreadState* __tstate = wxPyBeginAllowThreads();
29605 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
29606
29607 wxPyEndAllowThreads(__tstate);
29608 if (PyErr_Occurred()) SWIG_fail;
29609 }
29610 {
29611 resultobj = wxPyMake_wxObject(result);
29612 }
29613 return resultobj;
29614 fail:
29615 return NULL;
29616}
29617
29618
2f4c0a16 29619static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29620 PyObject *resultobj;
29621 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29622 size_t arg2 ;
29623 wxMenu *arg3 = (wxMenu *) 0 ;
29624 wxString *arg4 = 0 ;
29625 wxMenu *result;
423f194a 29626 bool temp4 = False ;
d14a1e28
RD
29627 PyObject * obj0 = 0 ;
29628 PyObject * obj1 = 0 ;
29629 PyObject * obj2 = 0 ;
29630 PyObject * obj3 = 0 ;
29631 char *kwnames[] = {
29632 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29633 };
29634
29635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
29636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29638 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29639 if (PyErr_Occurred()) SWIG_fail;
29640 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
29641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29642 {
29643 arg4 = wxString_in_helper(obj3);
29644 if (arg4 == NULL) SWIG_fail;
423f194a 29645 temp4 = True;
d14a1e28
RD
29646 }
29647 {
29648 PyThreadState* __tstate = wxPyBeginAllowThreads();
29649 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
29650
29651 wxPyEndAllowThreads(__tstate);
29652 if (PyErr_Occurred()) SWIG_fail;
29653 }
29654 {
29655 resultobj = wxPyMake_wxObject(result);
29656 }
29657 {
29658 if (temp4)
29659 delete arg4;
29660 }
29661 return resultobj;
29662 fail:
29663 {
29664 if (temp4)
29665 delete arg4;
29666 }
29667 return NULL;
29668}
29669
29670
2f4c0a16 29671static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29672 PyObject *resultobj;
29673 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29674 size_t arg2 ;
29675 wxMenu *result;
29676 PyObject * obj0 = 0 ;
29677 PyObject * obj1 = 0 ;
29678 char *kwnames[] = {
29679 (char *) "self",(char *) "pos", NULL
29680 };
29681
29682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29685 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29686 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29687 {
29688 PyThreadState* __tstate = wxPyBeginAllowThreads();
29689 result = (wxMenu *)(arg1)->Remove(arg2);
29690
29691 wxPyEndAllowThreads(__tstate);
29692 if (PyErr_Occurred()) SWIG_fail;
29693 }
29694 {
29695 resultobj = wxPyMake_wxObject(result);
29696 }
29697 return resultobj;
29698 fail:
29699 return NULL;
29700}
29701
29702
2f4c0a16 29703static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29704 PyObject *resultobj;
29705 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29706 size_t arg2 ;
29707 bool arg3 ;
29708 PyObject * obj0 = 0 ;
29709 PyObject * obj1 = 0 ;
29710 PyObject * obj2 = 0 ;
29711 char *kwnames[] = {
29712 (char *) "self",(char *) "pos",(char *) "enable", NULL
29713 };
29714
29715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29718 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29719 if (PyErr_Occurred()) SWIG_fail;
29720 arg3 = (bool) SWIG_AsBool(obj2);
29721 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29722 {
29723 PyThreadState* __tstate = wxPyBeginAllowThreads();
29724 (arg1)->EnableTop(arg2,arg3);
29725
29726 wxPyEndAllowThreads(__tstate);
29727 if (PyErr_Occurred()) SWIG_fail;
29728 }
29729 Py_INCREF(Py_None); resultobj = Py_None;
29730 return resultobj;
29731 fail:
29732 return NULL;
29733}
29734
29735
2f4c0a16 29736static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29737 PyObject *resultobj;
29738 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29739 size_t arg2 ;
29740 bool result;
29741 PyObject * obj0 = 0 ;
29742 PyObject * obj1 = 0 ;
29743 char *kwnames[] = {
29744 (char *) "self",(char *) "pos", NULL
29745 };
29746
29747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29750 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29751 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29752 {
29753 PyThreadState* __tstate = wxPyBeginAllowThreads();
29754 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
29755
29756 wxPyEndAllowThreads(__tstate);
29757 if (PyErr_Occurred()) SWIG_fail;
29758 }
02a34c4c 29759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29760 return resultobj;
29761 fail:
29762 return NULL;
29763}
29764
29765
2f4c0a16 29766static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29767 PyObject *resultobj;
29768 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29769 size_t arg2 ;
29770 wxString *arg3 = 0 ;
423f194a 29771 bool temp3 = False ;
d14a1e28
RD
29772 PyObject * obj0 = 0 ;
29773 PyObject * obj1 = 0 ;
29774 PyObject * obj2 = 0 ;
29775 char *kwnames[] = {
29776 (char *) "self",(char *) "pos",(char *) "label", NULL
29777 };
29778
29779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29782 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29783 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29784 {
29785 arg3 = wxString_in_helper(obj2);
29786 if (arg3 == NULL) SWIG_fail;
423f194a 29787 temp3 = True;
d14a1e28
RD
29788 }
29789 {
29790 PyThreadState* __tstate = wxPyBeginAllowThreads();
29791 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
29792
29793 wxPyEndAllowThreads(__tstate);
29794 if (PyErr_Occurred()) SWIG_fail;
29795 }
29796 Py_INCREF(Py_None); resultobj = Py_None;
29797 {
29798 if (temp3)
29799 delete arg3;
29800 }
29801 return resultobj;
29802 fail:
29803 {
29804 if (temp3)
29805 delete arg3;
29806 }
29807 return NULL;
29808}
29809
29810
2f4c0a16 29811static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29812 PyObject *resultobj;
29813 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29814 size_t arg2 ;
29815 wxString result;
29816 PyObject * obj0 = 0 ;
29817 PyObject * obj1 = 0 ;
29818 char *kwnames[] = {
29819 (char *) "self",(char *) "pos", NULL
29820 };
29821
29822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29825 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29826 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29827 {
29828 PyThreadState* __tstate = wxPyBeginAllowThreads();
29829 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
29830
29831 wxPyEndAllowThreads(__tstate);
29832 if (PyErr_Occurred()) SWIG_fail;
29833 }
29834 {
29835#if wxUSE_UNICODE
29836 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29837#else
29838 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29839#endif
29840 }
29841 return resultobj;
29842 fail:
29843 return NULL;
29844}
29845
29846
2f4c0a16 29847static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29848 PyObject *resultobj;
29849 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29850 wxString *arg2 = 0 ;
29851 wxString *arg3 = 0 ;
29852 int result;
423f194a
RD
29853 bool temp2 = False ;
29854 bool temp3 = False ;
d14a1e28
RD
29855 PyObject * obj0 = 0 ;
29856 PyObject * obj1 = 0 ;
29857 PyObject * obj2 = 0 ;
29858 char *kwnames[] = {
29859 (char *) "self",(char *) "menu",(char *) "item", NULL
29860 };
29861
29862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29865 {
29866 arg2 = wxString_in_helper(obj1);
29867 if (arg2 == NULL) SWIG_fail;
423f194a 29868 temp2 = True;
d14a1e28
RD
29869 }
29870 {
29871 arg3 = wxString_in_helper(obj2);
29872 if (arg3 == NULL) SWIG_fail;
423f194a 29873 temp3 = True;
d14a1e28
RD
29874 }
29875 {
29876 PyThreadState* __tstate = wxPyBeginAllowThreads();
29877 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
29878
29879 wxPyEndAllowThreads(__tstate);
29880 if (PyErr_Occurred()) SWIG_fail;
29881 }
2f4c0a16 29882 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
29883 {
29884 if (temp2)
29885 delete arg2;
29886 }
29887 {
29888 if (temp3)
29889 delete arg3;
29890 }
29891 return resultobj;
29892 fail:
29893 {
29894 if (temp2)
29895 delete arg2;
29896 }
29897 {
29898 if (temp3)
29899 delete arg3;
29900 }
29901 return NULL;
29902}
29903
29904
2f4c0a16 29905static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29906 PyObject *resultobj;
29907 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29908 int arg2 ;
29909 wxMenuItem *result;
29910 PyObject * obj0 = 0 ;
8edf1c75 29911 PyObject * obj1 = 0 ;
d14a1e28 29912 char *kwnames[] = {
0f774bef 29913 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29914 };
29915
8edf1c75 29916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29919 arg2 = (int) SWIG_AsInt(obj1);
29920 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29921 {
29922 PyThreadState* __tstate = wxPyBeginAllowThreads();
29923 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
29924
29925 wxPyEndAllowThreads(__tstate);
29926 if (PyErr_Occurred()) SWIG_fail;
29927 }
29928 {
29929 resultobj = wxPyMake_wxObject(result);
29930 }
29931 return resultobj;
29932 fail:
29933 return NULL;
29934}
29935
29936
2f4c0a16 29937static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29938 PyObject *resultobj;
29939 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29940 wxString *arg2 = 0 ;
29941 int result;
423f194a 29942 bool temp2 = False ;
d14a1e28
RD
29943 PyObject * obj0 = 0 ;
29944 PyObject * obj1 = 0 ;
29945 char *kwnames[] = {
29946 (char *) "self",(char *) "title", NULL
29947 };
29948
29949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29952 {
29953 arg2 = wxString_in_helper(obj1);
29954 if (arg2 == NULL) SWIG_fail;
423f194a 29955 temp2 = True;
d14a1e28
RD
29956 }
29957 {
29958 PyThreadState* __tstate = wxPyBeginAllowThreads();
29959 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
29960
29961 wxPyEndAllowThreads(__tstate);
29962 if (PyErr_Occurred()) SWIG_fail;
29963 }
2f4c0a16 29964 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
29965 {
29966 if (temp2)
29967 delete arg2;
29968 }
29969 return resultobj;
29970 fail:
29971 {
29972 if (temp2)
29973 delete arg2;
29974 }
29975 return NULL;
29976}
29977
29978
2f4c0a16 29979static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29980 PyObject *resultobj;
29981 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29982 int arg2 ;
29983 bool arg3 ;
29984 PyObject * obj0 = 0 ;
8edf1c75 29985 PyObject * obj1 = 0 ;
d14a1e28
RD
29986 PyObject * obj2 = 0 ;
29987 char *kwnames[] = {
0f774bef 29988 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
29989 };
29990
8edf1c75 29991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29994 arg2 = (int) SWIG_AsInt(obj1);
29995 if (PyErr_Occurred()) SWIG_fail;
29996 arg3 = (bool) SWIG_AsBool(obj2);
29997 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29998 {
29999 PyThreadState* __tstate = wxPyBeginAllowThreads();
30000 (arg1)->Enable(arg2,arg3);
30001
30002 wxPyEndAllowThreads(__tstate);
30003 if (PyErr_Occurred()) SWIG_fail;
30004 }
30005 Py_INCREF(Py_None); resultobj = Py_None;
30006 return resultobj;
30007 fail:
30008 return NULL;
30009}
30010
30011
2f4c0a16 30012static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30013 PyObject *resultobj;
30014 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30015 int arg2 ;
30016 bool arg3 ;
30017 PyObject * obj0 = 0 ;
8edf1c75 30018 PyObject * obj1 = 0 ;
d14a1e28
RD
30019 PyObject * obj2 = 0 ;
30020 char *kwnames[] = {
0f774bef 30021 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
30022 };
30023
8edf1c75 30024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30027 arg2 = (int) SWIG_AsInt(obj1);
30028 if (PyErr_Occurred()) SWIG_fail;
30029 arg3 = (bool) SWIG_AsBool(obj2);
30030 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30031 {
30032 PyThreadState* __tstate = wxPyBeginAllowThreads();
30033 (arg1)->Check(arg2,arg3);
30034
30035 wxPyEndAllowThreads(__tstate);
30036 if (PyErr_Occurred()) SWIG_fail;
30037 }
30038 Py_INCREF(Py_None); resultobj = Py_None;
30039 return resultobj;
30040 fail:
30041 return NULL;
30042}
30043
30044
2f4c0a16 30045static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30046 PyObject *resultobj;
30047 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30048 int arg2 ;
30049 bool result;
30050 PyObject * obj0 = 0 ;
8edf1c75 30051 PyObject * obj1 = 0 ;
d14a1e28 30052 char *kwnames[] = {
0f774bef 30053 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30054 };
30055
8edf1c75 30056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30059 arg2 = (int) SWIG_AsInt(obj1);
30060 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30061 {
30062 PyThreadState* __tstate = wxPyBeginAllowThreads();
30063 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
30064
30065 wxPyEndAllowThreads(__tstate);
30066 if (PyErr_Occurred()) SWIG_fail;
30067 }
02a34c4c 30068 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30069 return resultobj;
30070 fail:
30071 return NULL;
30072}
30073
30074
2f4c0a16 30075static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30076 PyObject *resultobj;
30077 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30078 int arg2 ;
30079 bool result;
30080 PyObject * obj0 = 0 ;
8edf1c75 30081 PyObject * obj1 = 0 ;
d14a1e28 30082 char *kwnames[] = {
0f774bef 30083 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30084 };
30085
8edf1c75 30086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30089 arg2 = (int) SWIG_AsInt(obj1);
30090 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30091 {
30092 PyThreadState* __tstate = wxPyBeginAllowThreads();
30093 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
30094
30095 wxPyEndAllowThreads(__tstate);
30096 if (PyErr_Occurred()) SWIG_fail;
30097 }
02a34c4c 30098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30099 return resultobj;
30100 fail:
30101 return NULL;
30102}
30103
30104
2f4c0a16 30105static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30106 PyObject *resultobj;
30107 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30108 int arg2 ;
30109 wxString *arg3 = 0 ;
423f194a 30110 bool temp3 = False ;
d14a1e28 30111 PyObject * obj0 = 0 ;
8edf1c75 30112 PyObject * obj1 = 0 ;
d14a1e28
RD
30113 PyObject * obj2 = 0 ;
30114 char *kwnames[] = {
0f774bef 30115 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
30116 };
30117
8edf1c75 30118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30121 arg2 = (int) SWIG_AsInt(obj1);
30122 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30123 {
30124 arg3 = wxString_in_helper(obj2);
30125 if (arg3 == NULL) SWIG_fail;
423f194a 30126 temp3 = True;
d14a1e28
RD
30127 }
30128 {
30129 PyThreadState* __tstate = wxPyBeginAllowThreads();
30130 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30131
30132 wxPyEndAllowThreads(__tstate);
30133 if (PyErr_Occurred()) SWIG_fail;
30134 }
30135 Py_INCREF(Py_None); resultobj = Py_None;
30136 {
30137 if (temp3)
30138 delete arg3;
30139 }
30140 return resultobj;
30141 fail:
30142 {
30143 if (temp3)
30144 delete arg3;
30145 }
30146 return NULL;
30147}
30148
30149
2f4c0a16 30150static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30151 PyObject *resultobj;
30152 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30153 int arg2 ;
30154 wxString result;
30155 PyObject * obj0 = 0 ;
8edf1c75 30156 PyObject * obj1 = 0 ;
d14a1e28 30157 char *kwnames[] = {
0f774bef 30158 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30159 };
30160
8edf1c75 30161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30164 arg2 = (int) SWIG_AsInt(obj1);
30165 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30166 {
30167 PyThreadState* __tstate = wxPyBeginAllowThreads();
30168 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
30169
30170 wxPyEndAllowThreads(__tstate);
30171 if (PyErr_Occurred()) SWIG_fail;
30172 }
30173 {
30174#if wxUSE_UNICODE
30175 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30176#else
30177 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30178#endif
30179 }
30180 return resultobj;
30181 fail:
30182 return NULL;
30183}
30184
30185
2f4c0a16 30186static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30187 PyObject *resultobj;
30188 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30189 int arg2 ;
30190 wxString *arg3 = 0 ;
423f194a 30191 bool temp3 = False ;
d14a1e28 30192 PyObject * obj0 = 0 ;
8edf1c75 30193 PyObject * obj1 = 0 ;
d14a1e28
RD
30194 PyObject * obj2 = 0 ;
30195 char *kwnames[] = {
0f774bef 30196 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
30197 };
30198
8edf1c75 30199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30202 arg2 = (int) SWIG_AsInt(obj1);
30203 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30204 {
30205 arg3 = wxString_in_helper(obj2);
30206 if (arg3 == NULL) SWIG_fail;
423f194a 30207 temp3 = True;
d14a1e28
RD
30208 }
30209 {
30210 PyThreadState* __tstate = wxPyBeginAllowThreads();
30211 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30212
30213 wxPyEndAllowThreads(__tstate);
30214 if (PyErr_Occurred()) SWIG_fail;
30215 }
30216 Py_INCREF(Py_None); resultobj = Py_None;
30217 {
30218 if (temp3)
30219 delete arg3;
30220 }
30221 return resultobj;
30222 fail:
30223 {
30224 if (temp3)
30225 delete arg3;
30226 }
30227 return NULL;
30228}
30229
30230
2f4c0a16 30231static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30232 PyObject *resultobj;
30233 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30234 int arg2 ;
30235 wxString result;
30236 PyObject * obj0 = 0 ;
8edf1c75 30237 PyObject * obj1 = 0 ;
d14a1e28 30238 char *kwnames[] = {
0f774bef 30239 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30240 };
30241
8edf1c75 30242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30245 arg2 = (int) SWIG_AsInt(obj1);
30246 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30247 {
30248 PyThreadState* __tstate = wxPyBeginAllowThreads();
30249 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
30250
30251 wxPyEndAllowThreads(__tstate);
30252 if (PyErr_Occurred()) SWIG_fail;
30253 }
30254 {
30255#if wxUSE_UNICODE
30256 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30257#else
30258 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30259#endif
30260 }
30261 return resultobj;
30262 fail:
30263 return NULL;
30264}
30265
30266
2f4c0a16 30267static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30268 PyObject *resultobj;
30269 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30270 wxFrame *result;
30271 PyObject * obj0 = 0 ;
30272 char *kwnames[] = {
30273 (char *) "self", NULL
30274 };
30275
30276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30279 {
30280 PyThreadState* __tstate = wxPyBeginAllowThreads();
30281 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
30282
30283 wxPyEndAllowThreads(__tstate);
30284 if (PyErr_Occurred()) SWIG_fail;
30285 }
30286 {
30287 resultobj = wxPyMake_wxObject(result);
30288 }
30289 return resultobj;
30290 fail:
30291 return NULL;
30292}
30293
30294
2f4c0a16 30295static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30296 PyObject *resultobj;
30297 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30298 bool result;
30299 PyObject * obj0 = 0 ;
30300 char *kwnames[] = {
30301 (char *) "self", NULL
30302 };
30303
30304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30307 {
30308 PyThreadState* __tstate = wxPyBeginAllowThreads();
30309 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
30310
30311 wxPyEndAllowThreads(__tstate);
30312 if (PyErr_Occurred()) SWIG_fail;
30313 }
02a34c4c 30314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30315 return resultobj;
30316 fail:
30317 return NULL;
30318}
30319
30320
2f4c0a16 30321static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30322 PyObject *resultobj;
30323 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30324 wxFrame *arg2 = (wxFrame *) 0 ;
30325 PyObject * obj0 = 0 ;
30326 PyObject * obj1 = 0 ;
30327 char *kwnames[] = {
30328 (char *) "self",(char *) "frame", NULL
30329 };
30330
30331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30334 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
30335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30336 {
30337 PyThreadState* __tstate = wxPyBeginAllowThreads();
30338 (arg1)->Attach(arg2);
30339
30340 wxPyEndAllowThreads(__tstate);
30341 if (PyErr_Occurred()) SWIG_fail;
30342 }
30343 Py_INCREF(Py_None); resultobj = Py_None;
30344 return resultobj;
30345 fail:
30346 return NULL;
30347}
30348
30349
2f4c0a16 30350static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30351 PyObject *resultobj;
30352 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30353 PyObject * obj0 = 0 ;
30354 char *kwnames[] = {
30355 (char *) "self", NULL
30356 };
30357
30358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30361 {
30362 PyThreadState* __tstate = wxPyBeginAllowThreads();
30363 (arg1)->Detach();
30364
30365 wxPyEndAllowThreads(__tstate);
30366 if (PyErr_Occurred()) SWIG_fail;
30367 }
30368 Py_INCREF(Py_None); resultobj = Py_None;
30369 return resultobj;
30370 fail:
30371 return NULL;
30372}
30373
30374
2f4c0a16 30375static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30376 PyObject *obj;
30377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30378 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
30379 Py_INCREF(obj);
30380 return Py_BuildValue((char *)"");
30381}
2f4c0a16 30382static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30383 PyObject *resultobj;
30384 wxMenu *arg1 = (wxMenu *) NULL ;
30385 int arg2 = (int) wxID_SEPARATOR ;
30386 wxString const &arg3_defvalue = wxPyEmptyString ;
30387 wxString *arg3 = (wxString *) &arg3_defvalue ;
30388 wxString const &arg4_defvalue = wxPyEmptyString ;
30389 wxString *arg4 = (wxString *) &arg4_defvalue ;
30390 int arg5 = (int) wxITEM_NORMAL ;
30391 wxMenu *arg6 = (wxMenu *) NULL ;
30392 wxMenuItem *result;
423f194a
RD
30393 bool temp3 = False ;
30394 bool temp4 = False ;
d14a1e28 30395 PyObject * obj0 = 0 ;
8edf1c75 30396 PyObject * obj1 = 0 ;
d14a1e28
RD
30397 PyObject * obj2 = 0 ;
30398 PyObject * obj3 = 0 ;
8edf1c75 30399 PyObject * obj4 = 0 ;
d14a1e28
RD
30400 PyObject * obj5 = 0 ;
30401 char *kwnames[] = {
30402 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30403 };
30404
8edf1c75 30405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 30406 if (obj0) {
2f4c0a16
RD
30407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30409 }
8edf1c75 30410 if (obj1) {
2f4c0a16
RD
30411 arg2 = (int) SWIG_AsInt(obj1);
30412 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30413 }
d14a1e28
RD
30414 if (obj2) {
30415 {
30416 arg3 = wxString_in_helper(obj2);
30417 if (arg3 == NULL) SWIG_fail;
423f194a 30418 temp3 = True;
d14a1e28
RD
30419 }
30420 }
30421 if (obj3) {
30422 {
30423 arg4 = wxString_in_helper(obj3);
30424 if (arg4 == NULL) SWIG_fail;
423f194a 30425 temp4 = True;
d14a1e28
RD
30426 }
30427 }
8edf1c75 30428 if (obj4) {
2f4c0a16
RD
30429 arg5 = (wxItemKind) SWIG_AsInt(obj4);
30430 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30431 }
d14a1e28 30432 if (obj5) {
2f4c0a16
RD
30433 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
30434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30435 }
30436 {
30437 PyThreadState* __tstate = wxPyBeginAllowThreads();
30438 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
30439
30440 wxPyEndAllowThreads(__tstate);
30441 if (PyErr_Occurred()) SWIG_fail;
30442 }
30443 {
30444 resultobj = wxPyMake_wxObject(result);
30445 }
30446 {
30447 if (temp3)
30448 delete arg3;
30449 }
30450 {
30451 if (temp4)
30452 delete arg4;
30453 }
30454 return resultobj;
30455 fail:
30456 {
30457 if (temp3)
30458 delete arg3;
30459 }
30460 {
30461 if (temp4)
30462 delete arg4;
30463 }
30464 return NULL;
30465}
30466
30467
2f4c0a16 30468static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30469 PyObject *resultobj;
30470 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30471 wxMenu *result;
30472 PyObject * obj0 = 0 ;
30473 char *kwnames[] = {
30474 (char *) "self", NULL
30475 };
30476
30477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30480 {
30481 PyThreadState* __tstate = wxPyBeginAllowThreads();
30482 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
30483
30484 wxPyEndAllowThreads(__tstate);
30485 if (PyErr_Occurred()) SWIG_fail;
30486 }
30487 {
30488 resultobj = wxPyMake_wxObject(result);
30489 }
30490 return resultobj;
30491 fail:
30492 return NULL;
30493}
30494
30495
2f4c0a16 30496static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30497 PyObject *resultobj;
30498 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30499 wxMenu *arg2 = (wxMenu *) 0 ;
30500 PyObject * obj0 = 0 ;
30501 PyObject * obj1 = 0 ;
30502 char *kwnames[] = {
30503 (char *) "self",(char *) "menu", NULL
30504 };
30505
30506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30511 {
30512 PyThreadState* __tstate = wxPyBeginAllowThreads();
30513 (arg1)->SetMenu(arg2);
30514
30515 wxPyEndAllowThreads(__tstate);
30516 if (PyErr_Occurred()) SWIG_fail;
30517 }
30518 Py_INCREF(Py_None); resultobj = Py_None;
30519 return resultobj;
30520 fail:
30521 return NULL;
30522}
30523
30524
2f4c0a16 30525static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30526 PyObject *resultobj;
30527 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30528 int arg2 ;
30529 PyObject * obj0 = 0 ;
8edf1c75 30530 PyObject * obj1 = 0 ;
d14a1e28 30531 char *kwnames[] = {
0f774bef 30532 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30533 };
30534
8edf1c75 30535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30538 arg2 = (int) SWIG_AsInt(obj1);
30539 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30540 {
30541 PyThreadState* __tstate = wxPyBeginAllowThreads();
30542 (arg1)->SetId(arg2);
30543
30544 wxPyEndAllowThreads(__tstate);
30545 if (PyErr_Occurred()) SWIG_fail;
30546 }
30547 Py_INCREF(Py_None); resultobj = Py_None;
30548 return resultobj;
30549 fail:
30550 return NULL;
30551}
30552
30553
2f4c0a16 30554static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30555 PyObject *resultobj;
30556 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30557 int result;
30558 PyObject * obj0 = 0 ;
30559 char *kwnames[] = {
30560 (char *) "self", NULL
30561 };
30562
30563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30566 {
30567 PyThreadState* __tstate = wxPyBeginAllowThreads();
30568 result = (int)((wxMenuItem const *)arg1)->GetId();
30569
30570 wxPyEndAllowThreads(__tstate);
30571 if (PyErr_Occurred()) SWIG_fail;
30572 }
2f4c0a16 30573 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
30574 return resultobj;
30575 fail:
30576 return NULL;
30577}
30578
30579
2f4c0a16 30580static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30581 PyObject *resultobj;
30582 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30583 bool result;
30584 PyObject * obj0 = 0 ;
30585 char *kwnames[] = {
30586 (char *) "self", NULL
30587 };
30588
30589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30592 {
30593 PyThreadState* __tstate = wxPyBeginAllowThreads();
30594 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
30595
30596 wxPyEndAllowThreads(__tstate);
30597 if (PyErr_Occurred()) SWIG_fail;
30598 }
02a34c4c 30599 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30600 return resultobj;
30601 fail:
30602 return NULL;
30603}
30604
30605
2f4c0a16 30606static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30607 PyObject *resultobj;
30608 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30609 wxString *arg2 = 0 ;
423f194a 30610 bool temp2 = False ;
d14a1e28
RD
30611 PyObject * obj0 = 0 ;
30612 PyObject * obj1 = 0 ;
30613 char *kwnames[] = {
30614 (char *) "self",(char *) "str", NULL
30615 };
30616
30617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30620 {
30621 arg2 = wxString_in_helper(obj1);
30622 if (arg2 == NULL) SWIG_fail;
423f194a 30623 temp2 = True;
d14a1e28
RD
30624 }
30625 {
30626 PyThreadState* __tstate = wxPyBeginAllowThreads();
30627 (arg1)->SetText((wxString const &)*arg2);
30628
30629 wxPyEndAllowThreads(__tstate);
30630 if (PyErr_Occurred()) SWIG_fail;
30631 }
30632 Py_INCREF(Py_None); resultobj = Py_None;
30633 {
30634 if (temp2)
30635 delete arg2;
30636 }
30637 return resultobj;
30638 fail:
30639 {
30640 if (temp2)
30641 delete arg2;
30642 }
30643 return NULL;
30644}
30645
30646
2f4c0a16 30647static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30648 PyObject *resultobj;
30649 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30650 wxString result;
30651 PyObject * obj0 = 0 ;
30652 char *kwnames[] = {
30653 (char *) "self", NULL
30654 };
30655
30656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30659 {
30660 PyThreadState* __tstate = wxPyBeginAllowThreads();
30661 result = ((wxMenuItem const *)arg1)->GetLabel();
30662
30663 wxPyEndAllowThreads(__tstate);
30664 if (PyErr_Occurred()) SWIG_fail;
30665 }
30666 {
30667#if wxUSE_UNICODE
30668 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30669#else
30670 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30671#endif
30672 }
30673 return resultobj;
30674 fail:
30675 return NULL;
30676}
30677
30678
2f4c0a16 30679static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30680 PyObject *resultobj;
30681 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30682 wxString *result;
30683 PyObject * obj0 = 0 ;
30684 char *kwnames[] = {
30685 (char *) "self", NULL
30686 };
30687
30688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30691 {
30692 PyThreadState* __tstate = wxPyBeginAllowThreads();
30693 {
30694 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
30695 result = (wxString *) &_result_ref;
30696 }
30697
30698 wxPyEndAllowThreads(__tstate);
30699 if (PyErr_Occurred()) SWIG_fail;
30700 }
0f774bef
RD
30701 {
30702#if wxUSE_UNICODE
30703 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30704#else
30705 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30706#endif
30707 }
d14a1e28
RD
30708 return resultobj;
30709 fail:
30710 return NULL;
30711}
30712
30713
2f4c0a16 30714static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30715 PyObject *resultobj;
30716 wxString *arg1 = 0 ;
30717 wxString result;
423f194a 30718 bool temp1 = False ;
d14a1e28
RD
30719 PyObject * obj0 = 0 ;
30720 char *kwnames[] = {
30721 (char *) "text", NULL
30722 };
30723
30724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
30725 {
30726 arg1 = wxString_in_helper(obj0);
30727 if (arg1 == NULL) SWIG_fail;
423f194a 30728 temp1 = True;
d14a1e28
RD
30729 }
30730 {
30731 PyThreadState* __tstate = wxPyBeginAllowThreads();
30732 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
30733
30734 wxPyEndAllowThreads(__tstate);
30735 if (PyErr_Occurred()) SWIG_fail;
30736 }
30737 {
30738#if wxUSE_UNICODE
30739 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30740#else
30741 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30742#endif
30743 }
30744 {
30745 if (temp1)
30746 delete arg1;
30747 }
30748 return resultobj;
30749 fail:
30750 {
30751 if (temp1)
30752 delete arg1;
30753 }
30754 return NULL;
30755}
30756
30757
2f4c0a16 30758static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30759 PyObject *resultobj;
30760 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30761 int result;
30762 PyObject * obj0 = 0 ;
30763 char *kwnames[] = {
30764 (char *) "self", NULL
30765 };
30766
30767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30770 {
30771 PyThreadState* __tstate = wxPyBeginAllowThreads();
30772 result = (int)((wxMenuItem const *)arg1)->GetKind();
30773
30774 wxPyEndAllowThreads(__tstate);
30775 if (PyErr_Occurred()) SWIG_fail;
30776 }
2f4c0a16 30777 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
30778 return resultobj;
30779 fail:
30780 return NULL;
30781}
30782
30783
2f4c0a16 30784static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30785 PyObject *resultobj;
30786 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30787 bool arg2 ;
30788 PyObject * obj0 = 0 ;
30789 PyObject * obj1 = 0 ;
30790 char *kwnames[] = {
30791 (char *) "self",(char *) "checkable", NULL
30792 };
30793
30794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30797 arg2 = (bool) SWIG_AsBool(obj1);
30798 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30799 {
30800 PyThreadState* __tstate = wxPyBeginAllowThreads();
30801 (arg1)->SetCheckable(arg2);
30802
30803 wxPyEndAllowThreads(__tstate);
30804 if (PyErr_Occurred()) SWIG_fail;
30805 }
30806 Py_INCREF(Py_None); resultobj = Py_None;
30807 return resultobj;
30808 fail:
30809 return NULL;
30810}
30811
30812
2f4c0a16 30813static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30814 PyObject *resultobj;
30815 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30816 bool result;
30817 PyObject * obj0 = 0 ;
30818 char *kwnames[] = {
30819 (char *) "self", NULL
30820 };
30821
30822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30825 {
30826 PyThreadState* __tstate = wxPyBeginAllowThreads();
30827 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
30828
30829 wxPyEndAllowThreads(__tstate);
30830 if (PyErr_Occurred()) SWIG_fail;
30831 }
02a34c4c 30832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30833 return resultobj;
30834 fail:
30835 return NULL;
30836}
30837
30838
2f4c0a16 30839static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30840 PyObject *resultobj;
30841 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30842 bool result;
30843 PyObject * obj0 = 0 ;
30844 char *kwnames[] = {
30845 (char *) "self", NULL
30846 };
30847
30848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30851 {
30852 PyThreadState* __tstate = wxPyBeginAllowThreads();
30853 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
30854
30855 wxPyEndAllowThreads(__tstate);
30856 if (PyErr_Occurred()) SWIG_fail;
30857 }
02a34c4c 30858 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30859 return resultobj;
30860 fail:
30861 return NULL;
30862}
30863
30864
2f4c0a16 30865static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30866 PyObject *resultobj;
30867 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30868 wxMenu *arg2 = (wxMenu *) 0 ;
30869 PyObject * obj0 = 0 ;
30870 PyObject * obj1 = 0 ;
30871 char *kwnames[] = {
30872 (char *) "self",(char *) "menu", NULL
30873 };
30874
30875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30878 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30880 {
30881 PyThreadState* __tstate = wxPyBeginAllowThreads();
30882 (arg1)->SetSubMenu(arg2);
30883
30884 wxPyEndAllowThreads(__tstate);
30885 if (PyErr_Occurred()) SWIG_fail;
30886 }
30887 Py_INCREF(Py_None); resultobj = Py_None;
30888 return resultobj;
30889 fail:
30890 return NULL;
30891}
30892
30893
2f4c0a16 30894static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30895 PyObject *resultobj;
30896 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30897 wxMenu *result;
30898 PyObject * obj0 = 0 ;
30899 char *kwnames[] = {
30900 (char *) "self", NULL
30901 };
30902
30903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30906 {
30907 PyThreadState* __tstate = wxPyBeginAllowThreads();
30908 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
30909
30910 wxPyEndAllowThreads(__tstate);
30911 if (PyErr_Occurred()) SWIG_fail;
30912 }
30913 {
30914 resultobj = wxPyMake_wxObject(result);
30915 }
30916 return resultobj;
30917 fail:
30918 return NULL;
30919}
30920
30921
2f4c0a16 30922static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30923 PyObject *resultobj;
30924 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 30925 bool arg2 = (bool) True ;
d14a1e28
RD
30926 PyObject * obj0 = 0 ;
30927 PyObject * obj1 = 0 ;
30928 char *kwnames[] = {
30929 (char *) "self",(char *) "enable", NULL
30930 };
30931
30932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30935 if (obj1) {
2f4c0a16
RD
30936 arg2 = (bool) SWIG_AsBool(obj1);
30937 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30938 }
30939 {
30940 PyThreadState* __tstate = wxPyBeginAllowThreads();
30941 (arg1)->Enable(arg2);
30942
30943 wxPyEndAllowThreads(__tstate);
30944 if (PyErr_Occurred()) SWIG_fail;
30945 }
30946 Py_INCREF(Py_None); resultobj = Py_None;
30947 return resultobj;
30948 fail:
30949 return NULL;
30950}
30951
30952
2f4c0a16 30953static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30954 PyObject *resultobj;
30955 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30956 bool result;
30957 PyObject * obj0 = 0 ;
30958 char *kwnames[] = {
30959 (char *) "self", NULL
30960 };
30961
30962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30965 {
30966 PyThreadState* __tstate = wxPyBeginAllowThreads();
30967 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
30968
30969 wxPyEndAllowThreads(__tstate);
30970 if (PyErr_Occurred()) SWIG_fail;
30971 }
02a34c4c 30972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30973 return resultobj;
30974 fail:
30975 return NULL;
30976}
30977
30978
2f4c0a16 30979static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30980 PyObject *resultobj;
30981 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 30982 bool arg2 = (bool) True ;
d14a1e28
RD
30983 PyObject * obj0 = 0 ;
30984 PyObject * obj1 = 0 ;
30985 char *kwnames[] = {
30986 (char *) "self",(char *) "check", NULL
30987 };
30988
30989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30992 if (obj1) {
2f4c0a16
RD
30993 arg2 = (bool) SWIG_AsBool(obj1);
30994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30995 }
30996 {
30997 PyThreadState* __tstate = wxPyBeginAllowThreads();
30998 (arg1)->Check(arg2);
30999
31000 wxPyEndAllowThreads(__tstate);
31001 if (PyErr_Occurred()) SWIG_fail;
31002 }
31003 Py_INCREF(Py_None); resultobj = Py_None;
31004 return resultobj;
31005 fail:
31006 return NULL;
31007}
31008
31009
2f4c0a16 31010static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31011 PyObject *resultobj;
31012 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31013 bool result;
31014 PyObject * obj0 = 0 ;
31015 char *kwnames[] = {
31016 (char *) "self", NULL
31017 };
31018
31019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31022 {
31023 PyThreadState* __tstate = wxPyBeginAllowThreads();
31024 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
31025
31026 wxPyEndAllowThreads(__tstate);
31027 if (PyErr_Occurred()) SWIG_fail;
31028 }
02a34c4c 31029 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
31030 return resultobj;
31031 fail:
31032 return NULL;
31033}
31034
31035
2f4c0a16 31036static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31037 PyObject *resultobj;
31038 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31039 PyObject * obj0 = 0 ;
31040 char *kwnames[] = {
31041 (char *) "self", NULL
31042 };
31043
31044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31047 {
31048 PyThreadState* __tstate = wxPyBeginAllowThreads();
31049 (arg1)->Toggle();
31050
31051 wxPyEndAllowThreads(__tstate);
31052 if (PyErr_Occurred()) SWIG_fail;
31053 }
31054 Py_INCREF(Py_None); resultobj = Py_None;
31055 return resultobj;
31056 fail:
31057 return NULL;
31058}
31059
31060
2f4c0a16 31061static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31062 PyObject *resultobj;
31063 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31064 wxString *arg2 = 0 ;
423f194a 31065 bool temp2 = False ;
d14a1e28
RD
31066 PyObject * obj0 = 0 ;
31067 PyObject * obj1 = 0 ;
31068 char *kwnames[] = {
31069 (char *) "self",(char *) "str", NULL
31070 };
31071
31072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31075 {
31076 arg2 = wxString_in_helper(obj1);
31077 if (arg2 == NULL) SWIG_fail;
423f194a 31078 temp2 = True;
d14a1e28
RD
31079 }
31080 {
31081 PyThreadState* __tstate = wxPyBeginAllowThreads();
31082 (arg1)->SetHelp((wxString const &)*arg2);
31083
31084 wxPyEndAllowThreads(__tstate);
31085 if (PyErr_Occurred()) SWIG_fail;
31086 }
31087 Py_INCREF(Py_None); resultobj = Py_None;
31088 {
31089 if (temp2)
31090 delete arg2;
31091 }
31092 return resultobj;
31093 fail:
31094 {
31095 if (temp2)
31096 delete arg2;
31097 }
31098 return NULL;
31099}
31100
31101
2f4c0a16 31102static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31103 PyObject *resultobj;
31104 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31105 wxString *result;
31106 PyObject * obj0 = 0 ;
31107 char *kwnames[] = {
31108 (char *) "self", NULL
31109 };
31110
31111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31114 {
31115 PyThreadState* __tstate = wxPyBeginAllowThreads();
31116 {
31117 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
31118 result = (wxString *) &_result_ref;
31119 }
31120
31121 wxPyEndAllowThreads(__tstate);
31122 if (PyErr_Occurred()) SWIG_fail;
31123 }
0f774bef
RD
31124 {
31125#if wxUSE_UNICODE
31126 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
31127#else
31128 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
31129#endif
31130 }
d14a1e28
RD
31131 return resultobj;
31132 fail:
31133 return NULL;
31134}
31135
31136
2f4c0a16 31137static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31138 PyObject *resultobj;
31139 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31140 wxAcceleratorEntry *result;
31141 PyObject * obj0 = 0 ;
31142 char *kwnames[] = {
31143 (char *) "self", NULL
31144 };
31145
31146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31149 {
31150 PyThreadState* __tstate = wxPyBeginAllowThreads();
31151 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
31152
31153 wxPyEndAllowThreads(__tstate);
31154 if (PyErr_Occurred()) SWIG_fail;
31155 }
2f4c0a16 31156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
31157 return resultobj;
31158 fail:
31159 return NULL;
31160}
31161
31162
2f4c0a16 31163static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31164 PyObject *resultobj;
31165 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31166 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
31167 PyObject * obj0 = 0 ;
31168 PyObject * obj1 = 0 ;
31169 char *kwnames[] = {
31170 (char *) "self",(char *) "accel", NULL
31171 };
31172
31173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31176 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
31177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31178 {
31179 PyThreadState* __tstate = wxPyBeginAllowThreads();
31180 (arg1)->SetAccel(arg2);
31181
31182 wxPyEndAllowThreads(__tstate);
31183 if (PyErr_Occurred()) SWIG_fail;
31184 }
31185 Py_INCREF(Py_None); resultobj = Py_None;
31186 return resultobj;
31187 fail:
31188 return NULL;
31189}
31190
31191
2f4c0a16 31192static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31193 PyObject *resultobj;
31194 int result;
31195 char *kwnames[] = {
31196 NULL
31197 };
31198
31199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
31200 {
31201 PyThreadState* __tstate = wxPyBeginAllowThreads();
31202 result = (int)MenuItem_GetDefaultMarginWidth();
31203
31204 wxPyEndAllowThreads(__tstate);
31205 if (PyErr_Occurred()) SWIG_fail;
31206 }
2f4c0a16 31207 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31208 return resultobj;
31209 fail:
31210 return NULL;
31211}
31212
31213
2f4c0a16 31214static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31215 PyObject *resultobj;
31216 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31217 wxBitmap *arg2 = 0 ;
31218 PyObject * obj0 = 0 ;
31219 PyObject * obj1 = 0 ;
31220 char *kwnames[] = {
31221 (char *) "self",(char *) "bitmap", NULL
31222 };
31223
31224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31228 SWIG_POINTER_EXCEPTION | 0)) == -1)
31229 SWIG_fail;
d14a1e28 31230 if (arg2 == NULL) {
2f4c0a16
RD
31231 PyErr_SetString(PyExc_TypeError,"null reference");
31232 SWIG_fail;
d14a1e28
RD
31233 }
31234 {
31235 PyThreadState* __tstate = wxPyBeginAllowThreads();
31236 (arg1)->SetBitmap((wxBitmap const &)*arg2);
31237
31238 wxPyEndAllowThreads(__tstate);
31239 if (PyErr_Occurred()) SWIG_fail;
31240 }
31241 Py_INCREF(Py_None); resultobj = Py_None;
31242 return resultobj;
31243 fail:
31244 return NULL;
31245}
31246
31247
2f4c0a16 31248static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31249 PyObject *resultobj;
31250 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31251 wxBitmap *result;
31252 PyObject * obj0 = 0 ;
31253 char *kwnames[] = {
31254 (char *) "self", NULL
31255 };
31256
31257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31258 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31259 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31260 {
31261 PyThreadState* __tstate = wxPyBeginAllowThreads();
31262 {
31263 wxBitmap const &_result_ref = (arg1)->GetBitmap();
31264 result = (wxBitmap *) &_result_ref;
31265 }
31266
31267 wxPyEndAllowThreads(__tstate);
31268 if (PyErr_Occurred()) SWIG_fail;
31269 }
ce7284bd
RD
31270 {
31271 wxBitmap* resultptr = new wxBitmap(*result);
31272 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
31273 }
d14a1e28
RD
31274 return resultobj;
31275 fail:
31276 return NULL;
31277}
31278
31279
2f4c0a16 31280static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
31281 PyObject *obj;
31282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31283 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
31284 Py_INCREF(obj);
31285 return Py_BuildValue((char *)"");
31286}
8edf1c75 31287static int _wrap_ControlNameStr_set(PyObject *) {
cbd72d4f
RD
31288 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
31289 return 1;
31290}
31291
31292
31293static PyObject *_wrap_ControlNameStr_get() {
31294 PyObject *pyobj;
31295
31296 {
31297#if wxUSE_UNICODE
31298 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
31299#else
31300 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
31301#endif
31302 }
31303 return pyobj;
31304}
31305
31306
2f4c0a16 31307static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31308 PyObject *resultobj;
31309 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 31310 int arg2 ;
d14a1e28
RD
31311 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31312 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31313 wxSize const &arg4_defvalue = wxDefaultSize ;
31314 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31315 long arg5 = (long) 0 ;
31316 wxValidator const &arg6_defvalue = wxDefaultValidator ;
31317 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
31318 wxString const &arg7_defvalue = wxPyControlNameStr ;
31319 wxString *arg7 = (wxString *) &arg7_defvalue ;
31320 wxControl *result;
31321 wxPoint temp3 ;
31322 wxSize temp4 ;
423f194a 31323 bool temp7 = False ;
d14a1e28 31324 PyObject * obj0 = 0 ;
8edf1c75 31325 PyObject * obj1 = 0 ;
d14a1e28
RD
31326 PyObject * obj2 = 0 ;
31327 PyObject * obj3 = 0 ;
8edf1c75 31328 PyObject * obj4 = 0 ;
d14a1e28
RD
31329 PyObject * obj5 = 0 ;
31330 PyObject * obj6 = 0 ;
31331 char *kwnames[] = {
31332 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31333 };
31334
8edf1c75 31335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
31336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
31337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31338 arg2 = (int) SWIG_AsInt(obj1);
31339 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31340 if (obj2) {
31341 {
31342 arg3 = &temp3;
31343 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31344 }
31345 }
31346 if (obj3) {
31347 {
31348 arg4 = &temp4;
31349 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31350 }
31351 }
8edf1c75 31352 if (obj4) {
2f4c0a16
RD
31353 arg5 = (long) SWIG_AsLong(obj4);
31354 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31355 }
d14a1e28 31356 if (obj5) {
2f4c0a16
RD
31357 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
31358 SWIG_POINTER_EXCEPTION | 0)) == -1)
31359 SWIG_fail;
d14a1e28 31360 if (arg6 == NULL) {
2f4c0a16
RD
31361 PyErr_SetString(PyExc_TypeError,"null reference");
31362 SWIG_fail;
d14a1e28
RD
31363 }
31364 }
31365 if (obj6) {
31366 {
31367 arg7 = wxString_in_helper(obj6);
31368 if (arg7 == NULL) SWIG_fail;
423f194a 31369 temp7 = True;
d14a1e28
RD
31370 }
31371 }
31372 {
31373 PyThreadState* __tstate = wxPyBeginAllowThreads();
31374 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
31375
31376 wxPyEndAllowThreads(__tstate);
31377 if (PyErr_Occurred()) SWIG_fail;
31378 }
31379 {
31380 resultobj = wxPyMake_wxObject(result);
31381 }
31382 {
31383 if (temp7)
31384 delete arg7;
31385 }
31386 return resultobj;
31387 fail:
31388 {
31389 if (temp7)
31390 delete arg7;
31391 }
31392 return NULL;
31393}
31394
31395
2f4c0a16 31396static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31397 PyObject *resultobj;
31398 wxControl *result;
31399 char *kwnames[] = {
31400 NULL
31401 };
31402
31403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
31404 {
31405 PyThreadState* __tstate = wxPyBeginAllowThreads();
31406 result = (wxControl *)new wxControl();
31407
31408 wxPyEndAllowThreads(__tstate);
31409 if (PyErr_Occurred()) SWIG_fail;
31410 }
31411 {
31412 resultobj = wxPyMake_wxObject(result);
31413 }
31414 return resultobj;
31415 fail:
31416 return NULL;
31417}
31418
31419
2f4c0a16 31420static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31421 PyObject *resultobj;
31422 wxControl *arg1 = (wxControl *) 0 ;
31423 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 31424 int arg3 ;
d14a1e28
RD
31425 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31426 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31427 wxSize const &arg5_defvalue = wxDefaultSize ;
31428 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31429 long arg6 = (long) 0 ;
31430 wxValidator const &arg7_defvalue = wxDefaultValidator ;
31431 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
31432 wxString const &arg8_defvalue = wxPyControlNameStr ;
31433 wxString *arg8 = (wxString *) &arg8_defvalue ;
31434 bool result;
31435 wxPoint temp4 ;
31436 wxSize temp5 ;
423f194a 31437 bool temp8 = False ;
d14a1e28
RD
31438 PyObject * obj0 = 0 ;
31439 PyObject * obj1 = 0 ;
8edf1c75 31440 PyObject * obj2 = 0 ;
d14a1e28
RD
31441 PyObject * obj3 = 0 ;
31442 PyObject * obj4 = 0 ;
8edf1c75 31443 PyObject * obj5 = 0 ;
d14a1e28
RD
31444 PyObject * obj6 = 0 ;
31445 PyObject * obj7 = 0 ;
31446 char *kwnames[] = {
31447 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31448 };
31449
8edf1c75 31450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
31451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31455 arg3 = (int) SWIG_AsInt(obj2);
31456 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31457 if (obj3) {
31458 {
31459 arg4 = &temp4;
31460 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31461 }
31462 }
31463 if (obj4) {
31464 {
31465 arg5 = &temp5;
31466 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31467 }
31468 }
8edf1c75 31469 if (obj5) {
2f4c0a16
RD
31470 arg6 = (long) SWIG_AsLong(obj5);
31471 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31472 }
d14a1e28 31473 if (obj6) {
2f4c0a16
RD
31474 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
31475 SWIG_POINTER_EXCEPTION | 0)) == -1)
31476 SWIG_fail;
d14a1e28 31477 if (arg7 == NULL) {
2f4c0a16
RD
31478 PyErr_SetString(PyExc_TypeError,"null reference");
31479 SWIG_fail;
d14a1e28
RD
31480 }
31481 }
31482 if (obj7) {
31483 {
31484 arg8 = wxString_in_helper(obj7);
31485 if (arg8 == NULL) SWIG_fail;
423f194a 31486 temp8 = True;
d14a1e28
RD
31487 }
31488 }
31489 {
31490 PyThreadState* __tstate = wxPyBeginAllowThreads();
31491 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
31492
31493 wxPyEndAllowThreads(__tstate);
31494 if (PyErr_Occurred()) SWIG_fail;
31495 }
02a34c4c 31496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
31497 {
31498 if (temp8)
31499 delete arg8;
31500 }
31501 return resultobj;
31502 fail:
31503 {
31504 if (temp8)
31505 delete arg8;
31506 }
31507 return NULL;
31508}
31509
31510
2f4c0a16 31511static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31512 PyObject *resultobj;
31513 wxControl *arg1 = (wxControl *) 0 ;
31514 wxCommandEvent *arg2 = 0 ;
31515 PyObject * obj0 = 0 ;
31516 PyObject * obj1 = 0 ;
31517 char *kwnames[] = {
31518 (char *) "self",(char *) "event", NULL
31519 };
31520
31521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31524 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
31525 SWIG_POINTER_EXCEPTION | 0)) == -1)
31526 SWIG_fail;
d14a1e28 31527 if (arg2 == NULL) {
2f4c0a16
RD
31528 PyErr_SetString(PyExc_TypeError,"null reference");
31529 SWIG_fail;
d14a1e28
RD
31530 }
31531 {
31532 PyThreadState* __tstate = wxPyBeginAllowThreads();
31533 (arg1)->Command(*arg2);
31534
31535 wxPyEndAllowThreads(__tstate);
31536 if (PyErr_Occurred()) SWIG_fail;
31537 }
31538 Py_INCREF(Py_None); resultobj = Py_None;
31539 return resultobj;
31540 fail:
31541 return NULL;
31542}
31543
31544
2f4c0a16 31545static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31546 PyObject *resultobj;
31547 wxControl *arg1 = (wxControl *) 0 ;
31548 wxString result;
31549 PyObject * obj0 = 0 ;
31550 char *kwnames[] = {
31551 (char *) "self", NULL
31552 };
31553
31554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31557 {
31558 PyThreadState* __tstate = wxPyBeginAllowThreads();
31559 result = (arg1)->GetLabel();
31560
31561 wxPyEndAllowThreads(__tstate);
31562 if (PyErr_Occurred()) SWIG_fail;
31563 }
31564 {
31565#if wxUSE_UNICODE
31566 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31567#else
31568 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31569#endif
31570 }
31571 return resultobj;
31572 fail:
31573 return NULL;
31574}
31575
31576
2f4c0a16 31577static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31578 PyObject *resultobj;
31579 wxControl *arg1 = (wxControl *) 0 ;
31580 wxString *arg2 = 0 ;
423f194a 31581 bool temp2 = False ;
d14a1e28
RD
31582 PyObject * obj0 = 0 ;
31583 PyObject * obj1 = 0 ;
31584 char *kwnames[] = {
31585 (char *) "self",(char *) "label", NULL
31586 };
31587
31588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31591 {
31592 arg2 = wxString_in_helper(obj1);
31593 if (arg2 == NULL) SWIG_fail;
423f194a 31594 temp2 = True;
d14a1e28
RD
31595 }
31596 {
31597 PyThreadState* __tstate = wxPyBeginAllowThreads();
31598 (arg1)->SetLabel((wxString const &)*arg2);
31599
31600 wxPyEndAllowThreads(__tstate);
31601 if (PyErr_Occurred()) SWIG_fail;
31602 }
31603 Py_INCREF(Py_None); resultobj = Py_None;
31604 {
31605 if (temp2)
31606 delete arg2;
31607 }
31608 return resultobj;
31609 fail:
31610 {
31611 if (temp2)
31612 delete arg2;
31613 }
31614 return NULL;
31615}
31616
31617
2f4c0a16 31618static PyObject * Control_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
31619 PyObject *obj;
31620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31621 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
31622 Py_INCREF(obj);
31623 return Py_BuildValue((char *)"");
31624}
2f4c0a16 31625static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31626 PyObject *resultobj;
31627 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31628 wxString *arg2 = 0 ;
31629 PyObject *arg3 = (PyObject *) NULL ;
31630 int result;
423f194a 31631 bool temp2 = False ;
d14a1e28
RD
31632 PyObject * obj0 = 0 ;
31633 PyObject * obj1 = 0 ;
31634 PyObject * obj2 = 0 ;
31635 char *kwnames[] = {
31636 (char *) "self",(char *) "item",(char *) "clientData", NULL
31637 };
31638
31639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
31641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31642 {
31643 arg2 = wxString_in_helper(obj1);
31644 if (arg2 == NULL) SWIG_fail;
423f194a 31645 temp2 = True;
d14a1e28
RD
31646 }
31647 if (obj2) {
31648 arg3 = obj2;
31649 }
31650 {
31651 PyThreadState* __tstate = wxPyBeginAllowThreads();
31652 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
31653
31654 wxPyEndAllowThreads(__tstate);
31655 if (PyErr_Occurred()) SWIG_fail;
31656 }
2f4c0a16 31657 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31658 {
31659 if (temp2)
31660 delete arg2;
31661 }
31662 return resultobj;
31663 fail:
31664 {
31665 if (temp2)
31666 delete arg2;
31667 }
31668 return NULL;
31669}
31670
31671
2f4c0a16 31672static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31673 PyObject *resultobj;
31674 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31675 wxArrayString *arg2 = 0 ;
0ffb2aa6 31676 bool temp2 = False ;
d14a1e28
RD
31677 PyObject * obj0 = 0 ;
31678 PyObject * obj1 = 0 ;
31679 char *kwnames[] = {
31680 (char *) "self",(char *) "strings", NULL
31681 };
31682
31683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
31685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31686 {
31687 if (! PySequence_Check(obj1)) {
31688 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
31689 SWIG_fail;
31690 }
31691 arg2 = new wxArrayString;
0ffb2aa6 31692 temp2 = True;
d14a1e28
RD
31693 int i, len=PySequence_Length(obj1);
31694 for (i=0; i<len; i++) {
31695 PyObject* item = PySequence_GetItem(obj1, i);
31696#if wxUSE_UNICODE
31697 PyObject* str = PyObject_Unicode(item);
31698#else
31699 PyObject* str = PyObject_Str(item);
31700#endif
31701 arg2->Add(Py2wxString(str));
31702 Py_DECREF(item);
31703 Py_DECREF(str);
31704 }
31705 }
31706 {
31707 PyThreadState* __tstate = wxPyBeginAllowThreads();
31708 (arg1)->Append((wxArrayString const &)*arg2);
31709
31710 wxPyEndAllowThreads(__tstate);
31711 if (PyErr_Occurred()) SWIG_fail;
31712 }
31713 Py_INCREF(Py_None); resultobj = Py_None;
31714 {
0ffb2aa6 31715 if (temp2) delete arg2;
d14a1e28
RD
31716 }
31717 return resultobj;
31718 fail:
31719 {
0ffb2aa6 31720 if (temp2) delete arg2;
d14a1e28
RD
31721 }
31722 return NULL;
31723}
31724
31725
2f4c0a16 31726static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31727 PyObject *resultobj;
31728 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31729 wxString *arg2 = 0 ;
31730 int arg3 ;
31731 PyObject *arg4 = (PyObject *) NULL ;
31732 int result;
423f194a 31733 bool temp2 = False ;
d14a1e28
RD
31734 PyObject * obj0 = 0 ;
31735 PyObject * obj1 = 0 ;
8edf1c75 31736 PyObject * obj2 = 0 ;
d14a1e28
RD
31737 PyObject * obj3 = 0 ;
31738 char *kwnames[] = {
31739 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
31740 };
31741
8edf1c75 31742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
31743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
31744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31745 {
31746 arg2 = wxString_in_helper(obj1);
31747 if (arg2 == NULL) SWIG_fail;
423f194a 31748 temp2 = True;
d14a1e28 31749 }
2f4c0a16
RD
31750 arg3 = (int) SWIG_AsInt(obj2);
31751 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31752 if (obj3) {
31753 arg4 = obj3;
31754 }
31755 {
31756 PyThreadState* __tstate = wxPyBeginAllowThreads();
31757 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
31758
31759 wxPyEndAllowThreads(__tstate);
31760 if (PyErr_Occurred()) SWIG_fail;
31761 }
2f4c0a16 31762 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31763 {
31764 if (temp2)
31765 delete arg2;
31766 }
31767 return resultobj;
31768 fail:
31769 {
31770 if (temp2)
31771 delete arg2;
31772 }
31773 return NULL;
31774}
31775
31776
2f4c0a16 31777static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31778 PyObject *resultobj;
31779 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31780 PyObject * obj0 = 0 ;
31781 char *kwnames[] = {
31782 (char *) "self", NULL
31783 };
31784
31785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
31787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31788 {
31789 PyThreadState* __tstate = wxPyBeginAllowThreads();
31790 (arg1)->Clear();
31791
31792 wxPyEndAllowThreads(__tstate);
31793 if (PyErr_Occurred()) SWIG_fail;
31794 }
31795 Py_INCREF(Py_None); resultobj = Py_None;
31796 return resultobj;
31797 fail:
31798 return NULL;
31799}
31800
31801
2f4c0a16 31802static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31803 PyObject *resultobj;
31804 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31805 int arg2 ;
31806 PyObject * obj0 = 0 ;
8edf1c75 31807 PyObject * obj1 = 0 ;
d14a1e28
RD
31808 char *kwnames[] = {
31809 (char *) "self",(char *) "n", NULL
31810 };
31811
8edf1c75 31812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
31814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31815 arg2 = (int) SWIG_AsInt(obj1);
31816 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31817 {
31818 PyThreadState* __tstate = wxPyBeginAllowThreads();
31819 (arg1)->Delete(arg2);
31820
31821 wxPyEndAllowThreads(__tstate);
31822 if (PyErr_Occurred()) SWIG_fail;
31823 }
31824 Py_INCREF(Py_None); resultobj = Py_None;
31825 return resultobj;
31826 fail:
31827 return NULL;
31828}
31829
31830
2f4c0a16 31831static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31832 PyObject *resultobj;
31833 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31834 int result;
31835 PyObject * obj0 = 0 ;
31836 char *kwnames[] = {
31837 (char *) "self", NULL
31838 };
31839
31840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
31842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31843 {
31844 PyThreadState* __tstate = wxPyBeginAllowThreads();
31845 result = (int)((wxItemContainer const *)arg1)->GetCount();
31846
31847 wxPyEndAllowThreads(__tstate);
31848 if (PyErr_Occurred()) SWIG_fail;
31849 }
2f4c0a16 31850 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31851 return resultobj;
31852 fail:
31853 return NULL;
31854}
31855
31856
2f4c0a16 31857static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31858 PyObject *resultobj;
31859 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31860 bool result;
31861 PyObject * obj0 = 0 ;
31862 char *kwnames[] = {
31863 (char *) "self", NULL
31864 };
31865
31866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
31868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31869 {
31870 PyThreadState* __tstate = wxPyBeginAllowThreads();
31871 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
31872
31873 wxPyEndAllowThreads(__tstate);
31874 if (PyErr_Occurred()) SWIG_fail;
31875 }
02a34c4c 31876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
31877 return resultobj;
31878 fail:
31879 return NULL;
31880}
31881
31882
2f4c0a16 31883static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31884 PyObject *resultobj;
31885 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31886 int arg2 ;
31887 wxString result;
31888 PyObject * obj0 = 0 ;
8edf1c75 31889 PyObject * obj1 = 0 ;
d14a1e28
RD
31890 char *kwnames[] = {
31891 (char *) "self",(char *) "n", NULL
31892 };
31893
8edf1c75 31894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
31896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31897 arg2 = (int) SWIG_AsInt(obj1);
31898 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31899 {
31900 PyThreadState* __tstate = wxPyBeginAllowThreads();
31901 result = ((wxItemContainer const *)arg1)->GetString(arg2);
31902
31903 wxPyEndAllowThreads(__tstate);
31904 if (PyErr_Occurred()) SWIG_fail;
31905 }
31906 {
31907#if wxUSE_UNICODE
31908 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31909#else
31910 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31911#endif
31912 }
31913 return resultobj;
31914 fail:
31915 return NULL;
31916}
31917
31918
2f4c0a16 31919static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31920 PyObject *resultobj;
31921 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31922 wxArrayString result;
31923 PyObject * obj0 = 0 ;
31924 char *kwnames[] = {
31925 (char *) "self", NULL
31926 };
31927
31928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
31930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31931 {
31932 PyThreadState* __tstate = wxPyBeginAllowThreads();
31933 result = ((wxItemContainer const *)arg1)->GetStrings();
31934
31935 wxPyEndAllowThreads(__tstate);
31936 if (PyErr_Occurred()) SWIG_fail;
31937 }
31938 {
31939 resultobj = wxArrayString2PyList_helper(result);
31940 }
31941 return resultobj;
31942 fail:
31943 return NULL;
31944}
31945
31946
2f4c0a16 31947static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31948 PyObject *resultobj;
31949 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31950 int arg2 ;
31951 wxString *arg3 = 0 ;
423f194a 31952 bool temp3 = False ;
d14a1e28 31953 PyObject * obj0 = 0 ;
8edf1c75 31954 PyObject * obj1 = 0 ;
d14a1e28
RD
31955 PyObject * obj2 = 0 ;
31956 char *kwnames[] = {
31957 (char *) "self",(char *) "n",(char *) "s", NULL
31958 };
31959
8edf1c75 31960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
31962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31963 arg2 = (int) SWIG_AsInt(obj1);
31964 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31965 {
31966 arg3 = wxString_in_helper(obj2);
31967 if (arg3 == NULL) SWIG_fail;
423f194a 31968 temp3 = True;
d14a1e28
RD
31969 }
31970 {
31971 PyThreadState* __tstate = wxPyBeginAllowThreads();
31972 (arg1)->SetString(arg2,(wxString const &)*arg3);
31973
31974 wxPyEndAllowThreads(__tstate);
31975 if (PyErr_Occurred()) SWIG_fail;
31976 }
31977 Py_INCREF(Py_None); resultobj = Py_None;
31978 {
31979 if (temp3)
31980 delete arg3;
31981 }
31982 return resultobj;
31983 fail:
31984 {
31985 if (temp3)
31986 delete arg3;
31987 }
31988 return NULL;
31989}
31990
31991
2f4c0a16 31992static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31993 PyObject *resultobj;
31994 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
31995 wxString *arg2 = 0 ;
31996 int result;
423f194a 31997 bool temp2 = False ;
d14a1e28
RD
31998 PyObject * obj0 = 0 ;
31999 PyObject * obj1 = 0 ;
32000 char *kwnames[] = {
32001 (char *) "self",(char *) "s", NULL
32002 };
32003
32004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32007 {
32008 arg2 = wxString_in_helper(obj1);
32009 if (arg2 == NULL) SWIG_fail;
423f194a 32010 temp2 = True;
d14a1e28
RD
32011 }
32012 {
32013 PyThreadState* __tstate = wxPyBeginAllowThreads();
32014 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
32015
32016 wxPyEndAllowThreads(__tstate);
32017 if (PyErr_Occurred()) SWIG_fail;
32018 }
2f4c0a16 32019 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32020 {
32021 if (temp2)
32022 delete arg2;
32023 }
32024 return resultobj;
32025 fail:
32026 {
32027 if (temp2)
32028 delete arg2;
32029 }
32030 return NULL;
32031}
32032
32033
2f4c0a16 32034static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32035 PyObject *resultobj;
32036 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32037 int arg2 ;
32038 PyObject * obj0 = 0 ;
8edf1c75 32039 PyObject * obj1 = 0 ;
d14a1e28
RD
32040 char *kwnames[] = {
32041 (char *) "self",(char *) "n", NULL
32042 };
32043
8edf1c75 32044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32047 arg2 = (int) SWIG_AsInt(obj1);
32048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32049 {
32050 PyThreadState* __tstate = wxPyBeginAllowThreads();
32051 (arg1)->Select(arg2);
32052
32053 wxPyEndAllowThreads(__tstate);
32054 if (PyErr_Occurred()) SWIG_fail;
32055 }
32056 Py_INCREF(Py_None); resultobj = Py_None;
32057 return resultobj;
32058 fail:
32059 return NULL;
32060}
32061
32062
2f4c0a16 32063static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32064 PyObject *resultobj;
32065 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32066 int result;
32067 PyObject * obj0 = 0 ;
32068 char *kwnames[] = {
32069 (char *) "self", NULL
32070 };
32071
32072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32075 {
32076 PyThreadState* __tstate = wxPyBeginAllowThreads();
32077 result = (int)((wxItemContainer const *)arg1)->GetSelection();
32078
32079 wxPyEndAllowThreads(__tstate);
32080 if (PyErr_Occurred()) SWIG_fail;
32081 }
2f4c0a16 32082 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32083 return resultobj;
32084 fail:
32085 return NULL;
32086}
32087
32088
2f4c0a16 32089static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32090 PyObject *resultobj;
32091 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32092 wxString result;
32093 PyObject * obj0 = 0 ;
32094 char *kwnames[] = {
32095 (char *) "self", NULL
32096 };
32097
32098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32101 {
32102 PyThreadState* __tstate = wxPyBeginAllowThreads();
32103 result = ((wxItemContainer const *)arg1)->GetStringSelection();
32104
32105 wxPyEndAllowThreads(__tstate);
32106 if (PyErr_Occurred()) SWIG_fail;
32107 }
32108 {
32109#if wxUSE_UNICODE
32110 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32111#else
32112 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32113#endif
32114 }
32115 return resultobj;
32116 fail:
32117 return NULL;
32118}
32119
32120
2f4c0a16 32121static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32122 PyObject *resultobj;
32123 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32124 int arg2 ;
32125 PyObject *result;
32126 PyObject * obj0 = 0 ;
8edf1c75 32127 PyObject * obj1 = 0 ;
d14a1e28
RD
32128 char *kwnames[] = {
32129 (char *) "self",(char *) "n", NULL
32130 };
32131
8edf1c75 32132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32135 arg2 = (int) SWIG_AsInt(obj1);
32136 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32137 {
32138 PyThreadState* __tstate = wxPyBeginAllowThreads();
32139 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
32140
32141 wxPyEndAllowThreads(__tstate);
32142 if (PyErr_Occurred()) SWIG_fail;
32143 }
32144 resultobj = result;
32145 return resultobj;
32146 fail:
32147 return NULL;
32148}
32149
32150
2f4c0a16 32151static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32152 PyObject *resultobj;
32153 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32154 int arg2 ;
32155 PyObject *arg3 = (PyObject *) 0 ;
32156 PyObject * obj0 = 0 ;
8edf1c75 32157 PyObject * obj1 = 0 ;
d14a1e28
RD
32158 PyObject * obj2 = 0 ;
32159 char *kwnames[] = {
32160 (char *) "self",(char *) "n",(char *) "clientData", NULL
32161 };
32162
8edf1c75 32163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32166 arg2 = (int) SWIG_AsInt(obj1);
32167 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32168 arg3 = obj2;
32169 {
32170 PyThreadState* __tstate = wxPyBeginAllowThreads();
32171 wxItemContainer_SetClientData(arg1,arg2,arg3);
32172
32173 wxPyEndAllowThreads(__tstate);
32174 if (PyErr_Occurred()) SWIG_fail;
32175 }
32176 Py_INCREF(Py_None); resultobj = Py_None;
32177 return resultobj;
32178 fail:
32179 return NULL;
32180}
32181
32182
2f4c0a16 32183static PyObject * ItemContainer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32184 PyObject *obj;
32185 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32186 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
32187 Py_INCREF(obj);
32188 return Py_BuildValue((char *)"");
32189}
2f4c0a16 32190static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32191 PyObject *obj;
32192 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32193 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
32194 Py_INCREF(obj);
32195 return Py_BuildValue((char *)"");
32196}
2f4c0a16 32197static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32198 PyObject *resultobj;
32199 wxSizerItem *result;
32200 char *kwnames[] = {
32201 NULL
32202 };
32203
32204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
32205 {
32206 PyThreadState* __tstate = wxPyBeginAllowThreads();
32207 result = (wxSizerItem *)new wxSizerItem();
32208
32209 wxPyEndAllowThreads(__tstate);
32210 if (PyErr_Occurred()) SWIG_fail;
32211 }
2f4c0a16 32212 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
32213 return resultobj;
32214 fail:
32215 return NULL;
32216}
32217
32218
2f4c0a16 32219static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32220 PyObject *resultobj;
32221 int arg1 ;
32222 int arg2 ;
32223 int arg3 ;
32224 int arg4 ;
32225 int arg5 ;
32226 wxObject *arg6 = (wxObject *) 0 ;
32227 wxSizerItem *result;
8edf1c75
RD
32228 PyObject * obj0 = 0 ;
32229 PyObject * obj1 = 0 ;
32230 PyObject * obj2 = 0 ;
32231 PyObject * obj3 = 0 ;
32232 PyObject * obj4 = 0 ;
d14a1e28
RD
32233 PyObject * obj5 = 0 ;
32234 char *kwnames[] = {
32235 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32236 };
32237
8edf1c75 32238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
32239 arg1 = (int) SWIG_AsInt(obj0);
32240 if (PyErr_Occurred()) SWIG_fail;
32241 arg2 = (int) SWIG_AsInt(obj1);
32242 if (PyErr_Occurred()) SWIG_fail;
32243 arg3 = (int) SWIG_AsInt(obj2);
32244 if (PyErr_Occurred()) SWIG_fail;
32245 arg4 = (int) SWIG_AsInt(obj3);
32246 if (PyErr_Occurred()) SWIG_fail;
32247 arg5 = (int) SWIG_AsInt(obj4);
32248 if (PyErr_Occurred()) SWIG_fail;
32249 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
32250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32251 {
32252 PyThreadState* __tstate = wxPyBeginAllowThreads();
32253 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
32254
32255 wxPyEndAllowThreads(__tstate);
32256 if (PyErr_Occurred()) SWIG_fail;
32257 }
2f4c0a16 32258 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
32259 return resultobj;
32260 fail:
32261 return NULL;
32262}
32263
32264
2f4c0a16 32265static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32266 PyObject *resultobj;
32267 wxWindow *arg1 = (wxWindow *) 0 ;
32268 int arg2 ;
32269 int arg3 ;
32270 int arg4 ;
32271 wxObject *arg5 = (wxObject *) 0 ;
32272 wxSizerItem *result;
32273 PyObject * obj0 = 0 ;
8edf1c75
RD
32274 PyObject * obj1 = 0 ;
32275 PyObject * obj2 = 0 ;
32276 PyObject * obj3 = 0 ;
d14a1e28
RD
32277 PyObject * obj4 = 0 ;
32278 char *kwnames[] = {
32279 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32280 };
32281
8edf1c75 32282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
32283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
32284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32285 arg2 = (int) SWIG_AsInt(obj1);
32286 if (PyErr_Occurred()) SWIG_fail;
32287 arg3 = (int) SWIG_AsInt(obj2);
32288 if (PyErr_Occurred()) SWIG_fail;
32289 arg4 = (int) SWIG_AsInt(obj3);
32290 if (PyErr_Occurred()) SWIG_fail;
32291 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
32292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32293 {
32294 PyThreadState* __tstate = wxPyBeginAllowThreads();
32295 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
32296
32297 wxPyEndAllowThreads(__tstate);
32298 if (PyErr_Occurred()) SWIG_fail;
32299 }
2f4c0a16 32300 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
32301 return resultobj;
32302 fail:
32303 return NULL;
32304}
32305
32306
2f4c0a16 32307static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32308 PyObject *resultobj;
32309 wxSizer *arg1 = (wxSizer *) 0 ;
32310 int arg2 ;
32311 int arg3 ;
32312 int arg4 ;
32313 wxObject *arg5 = (wxObject *) 0 ;
32314 wxSizerItem *result;
32315 PyObject * obj0 = 0 ;
8edf1c75
RD
32316 PyObject * obj1 = 0 ;
32317 PyObject * obj2 = 0 ;
32318 PyObject * obj3 = 0 ;
d14a1e28
RD
32319 PyObject * obj4 = 0 ;
32320 char *kwnames[] = {
32321 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32322 };
32323
8edf1c75 32324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
32325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
32326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32327 arg2 = (int) SWIG_AsInt(obj1);
32328 if (PyErr_Occurred()) SWIG_fail;
32329 arg3 = (int) SWIG_AsInt(obj2);
32330 if (PyErr_Occurred()) SWIG_fail;
32331 arg4 = (int) SWIG_AsInt(obj3);
32332 if (PyErr_Occurred()) SWIG_fail;
32333 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
32334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32335 {
32336 PyThreadState* __tstate = wxPyBeginAllowThreads();
32337 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
32338
32339 wxPyEndAllowThreads(__tstate);
32340 if (PyErr_Occurred()) SWIG_fail;
32341 }
2f4c0a16 32342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
32343 return resultobj;
32344 fail:
32345 return NULL;
32346}
32347
32348
2f4c0a16 32349static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32350 PyObject *resultobj;
32351 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32352 PyObject * obj0 = 0 ;
32353 char *kwnames[] = {
32354 (char *) "self", NULL
32355 };
32356
32357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32360 {
32361 PyThreadState* __tstate = wxPyBeginAllowThreads();
32362 (arg1)->DeleteWindows();
32363
32364 wxPyEndAllowThreads(__tstate);
32365 if (PyErr_Occurred()) SWIG_fail;
32366 }
32367 Py_INCREF(Py_None); resultobj = Py_None;
32368 return resultobj;
32369 fail:
32370 return NULL;
32371}
32372
32373
2f4c0a16 32374static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32375 PyObject *resultobj;
32376 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32377 PyObject * obj0 = 0 ;
32378 char *kwnames[] = {
32379 (char *) "self", NULL
32380 };
32381
32382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32385 {
32386 PyThreadState* __tstate = wxPyBeginAllowThreads();
32387 (arg1)->DetachSizer();
32388
32389 wxPyEndAllowThreads(__tstate);
32390 if (PyErr_Occurred()) SWIG_fail;
32391 }
32392 Py_INCREF(Py_None); resultobj = Py_None;
32393 return resultobj;
32394 fail:
32395 return NULL;
32396}
32397
32398
2f4c0a16 32399static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32400 PyObject *resultobj;
32401 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32402 wxSize result;
32403 PyObject * obj0 = 0 ;
32404 char *kwnames[] = {
32405 (char *) "self", NULL
32406 };
32407
32408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32411 {
32412 PyThreadState* __tstate = wxPyBeginAllowThreads();
32413 result = (arg1)->GetSize();
32414
32415 wxPyEndAllowThreads(__tstate);
32416 if (PyErr_Occurred()) SWIG_fail;
32417 }
32418 {
32419 wxSize * resultptr;
32420 resultptr = new wxSize((wxSize &) result);
2f4c0a16 32421 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32422 }
32423 return resultobj;
32424 fail:
32425 return NULL;
32426}
32427
32428
2f4c0a16 32429static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32430 PyObject *resultobj;
32431 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32432 wxSize result;
32433 PyObject * obj0 = 0 ;
32434 char *kwnames[] = {
32435 (char *) "self", NULL
32436 };
32437
32438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32441 {
32442 PyThreadState* __tstate = wxPyBeginAllowThreads();
32443 result = (arg1)->CalcMin();
32444
32445 wxPyEndAllowThreads(__tstate);
32446 if (PyErr_Occurred()) SWIG_fail;
32447 }
32448 {
32449 wxSize * resultptr;
32450 resultptr = new wxSize((wxSize &) result);
2f4c0a16 32451 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32452 }
32453 return resultobj;
32454 fail:
32455 return NULL;
32456}
32457
32458
2f4c0a16 32459static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32460 PyObject *resultobj;
32461 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32462 wxPoint arg2 ;
32463 wxSize arg3 ;
32464 wxPoint *argp2 ;
32465 wxSize *argp3 ;
32466 PyObject * obj0 = 0 ;
32467 PyObject * obj1 = 0 ;
32468 PyObject * obj2 = 0 ;
32469 char *kwnames[] = {
32470 (char *) "self",(char *) "pos",(char *) "size", NULL
32471 };
32472
32473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32476 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
32477 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32478 arg2 = *argp2;
32479 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
32480 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32481 arg3 = *argp3;
d14a1e28
RD
32482 {
32483 PyThreadState* __tstate = wxPyBeginAllowThreads();
32484 (arg1)->SetDimension(arg2,arg3);
32485
32486 wxPyEndAllowThreads(__tstate);
32487 if (PyErr_Occurred()) SWIG_fail;
32488 }
32489 Py_INCREF(Py_None); resultobj = Py_None;
32490 return resultobj;
32491 fail:
32492 return NULL;
32493}
32494
32495
2f4c0a16 32496static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32497 PyObject *resultobj;
32498 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32499 wxSize result;
32500 PyObject * obj0 = 0 ;
32501 char *kwnames[] = {
32502 (char *) "self", NULL
32503 };
32504
32505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32508 {
32509 PyThreadState* __tstate = wxPyBeginAllowThreads();
32510 result = (arg1)->GetMinSize();
32511
32512 wxPyEndAllowThreads(__tstate);
32513 if (PyErr_Occurred()) SWIG_fail;
32514 }
32515 {
32516 wxSize * resultptr;
32517 resultptr = new wxSize((wxSize &) result);
2f4c0a16 32518 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32519 }
32520 return resultobj;
32521 fail:
32522 return NULL;
32523}
32524
32525
2f4c0a16 32526static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32527 PyObject *resultobj;
32528 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32529 int arg2 ;
32530 int arg3 ;
32531 PyObject * obj0 = 0 ;
8edf1c75
RD
32532 PyObject * obj1 = 0 ;
32533 PyObject * obj2 = 0 ;
d14a1e28
RD
32534 char *kwnames[] = {
32535 (char *) "self",(char *) "x",(char *) "y", NULL
32536 };
32537
8edf1c75 32538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32541 arg2 = (int) SWIG_AsInt(obj1);
32542 if (PyErr_Occurred()) SWIG_fail;
32543 arg3 = (int) SWIG_AsInt(obj2);
32544 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32545 {
32546 PyThreadState* __tstate = wxPyBeginAllowThreads();
32547 (arg1)->SetInitSize(arg2,arg3);
32548
32549 wxPyEndAllowThreads(__tstate);
32550 if (PyErr_Occurred()) SWIG_fail;
32551 }
32552 Py_INCREF(Py_None); resultobj = Py_None;
32553 return resultobj;
32554 fail:
32555 return NULL;
32556}
32557
32558
2f4c0a16 32559static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32560 PyObject *resultobj;
32561 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32562 int arg2 ;
32563 int arg3 ;
32564 PyObject * obj0 = 0 ;
8edf1c75
RD
32565 PyObject * obj1 = 0 ;
32566 PyObject * obj2 = 0 ;
d14a1e28
RD
32567 char *kwnames[] = {
32568 (char *) "self",(char *) "width",(char *) "height", NULL
32569 };
32570
8edf1c75 32571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32574 arg2 = (int) SWIG_AsInt(obj1);
32575 if (PyErr_Occurred()) SWIG_fail;
32576 arg3 = (int) SWIG_AsInt(obj2);
32577 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32578 {
32579 PyThreadState* __tstate = wxPyBeginAllowThreads();
32580 (arg1)->SetRatio(arg2,arg3);
32581
32582 wxPyEndAllowThreads(__tstate);
32583 if (PyErr_Occurred()) SWIG_fail;
32584 }
32585 Py_INCREF(Py_None); resultobj = Py_None;
32586 return resultobj;
32587 fail:
32588 return NULL;
32589}
32590
32591
2f4c0a16 32592static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32593 PyObject *resultobj;
32594 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32595 wxSize arg2 ;
32596 wxSize *argp2 ;
32597 PyObject * obj0 = 0 ;
32598 PyObject * obj1 = 0 ;
32599 char *kwnames[] = {
32600 (char *) "self",(char *) "size", NULL
32601 };
32602
32603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32606 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
32607 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32608 arg2 = *argp2;
d14a1e28
RD
32609 {
32610 PyThreadState* __tstate = wxPyBeginAllowThreads();
32611 (arg1)->SetRatio(arg2);
32612
32613 wxPyEndAllowThreads(__tstate);
32614 if (PyErr_Occurred()) SWIG_fail;
32615 }
32616 Py_INCREF(Py_None); resultobj = Py_None;
32617 return resultobj;
32618 fail:
32619 return NULL;
32620}
32621
32622
2f4c0a16 32623static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32624 PyObject *resultobj;
32625 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32626 float arg2 ;
32627 PyObject * obj0 = 0 ;
8edf1c75 32628 PyObject * obj1 = 0 ;
d14a1e28
RD
32629 char *kwnames[] = {
32630 (char *) "self",(char *) "ratio", NULL
32631 };
32632
8edf1c75 32633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32636 arg2 = (float) SWIG_AsFloat(obj1);
32637 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32638 {
32639 PyThreadState* __tstate = wxPyBeginAllowThreads();
32640 (arg1)->SetRatio(arg2);
32641
32642 wxPyEndAllowThreads(__tstate);
32643 if (PyErr_Occurred()) SWIG_fail;
32644 }
32645 Py_INCREF(Py_None); resultobj = Py_None;
32646 return resultobj;
32647 fail:
32648 return NULL;
32649}
32650
32651
2f4c0a16 32652static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32653 PyObject *resultobj;
32654 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32655 float result;
32656 PyObject * obj0 = 0 ;
32657 char *kwnames[] = {
32658 (char *) "self", NULL
32659 };
32660
32661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32664 {
32665 PyThreadState* __tstate = wxPyBeginAllowThreads();
32666 result = (float)(arg1)->GetRatio();
32667
32668 wxPyEndAllowThreads(__tstate);
32669 if (PyErr_Occurred()) SWIG_fail;
32670 }
2f4c0a16 32671 resultobj = SWIG_FromFloat((float)result);
d14a1e28
RD
32672 return resultobj;
32673 fail:
32674 return NULL;
32675}
32676
32677
2f4c0a16 32678static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32679 PyObject *resultobj;
32680 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32681 bool result;
32682 PyObject * obj0 = 0 ;
32683 char *kwnames[] = {
32684 (char *) "self", NULL
32685 };
32686
32687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32690 {
32691 PyThreadState* __tstate = wxPyBeginAllowThreads();
32692 result = (bool)(arg1)->IsWindow();
32693
32694 wxPyEndAllowThreads(__tstate);
32695 if (PyErr_Occurred()) SWIG_fail;
32696 }
02a34c4c 32697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
32698 return resultobj;
32699 fail:
32700 return NULL;
32701}
32702
32703
2f4c0a16 32704static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32705 PyObject *resultobj;
32706 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32707 bool result;
32708 PyObject * obj0 = 0 ;
32709 char *kwnames[] = {
32710 (char *) "self", NULL
32711 };
32712
32713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32716 {
32717 PyThreadState* __tstate = wxPyBeginAllowThreads();
32718 result = (bool)(arg1)->IsSizer();
32719
32720 wxPyEndAllowThreads(__tstate);
32721 if (PyErr_Occurred()) SWIG_fail;
32722 }
02a34c4c 32723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
32724 return resultobj;
32725 fail:
32726 return NULL;
32727}
32728
32729
2f4c0a16 32730static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32731 PyObject *resultobj;
32732 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32733 bool result;
32734 PyObject * obj0 = 0 ;
32735 char *kwnames[] = {
32736 (char *) "self", NULL
32737 };
32738
32739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32742 {
32743 PyThreadState* __tstate = wxPyBeginAllowThreads();
32744 result = (bool)(arg1)->IsSpacer();
32745
32746 wxPyEndAllowThreads(__tstate);
32747 if (PyErr_Occurred()) SWIG_fail;
32748 }
02a34c4c 32749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
32750 return resultobj;
32751 fail:
32752 return NULL;
32753}
32754
32755
2f4c0a16 32756static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32757 PyObject *resultobj;
32758 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32759 int arg2 ;
32760 PyObject * obj0 = 0 ;
8edf1c75 32761 PyObject * obj1 = 0 ;
d14a1e28
RD
32762 char *kwnames[] = {
32763 (char *) "self",(char *) "proportion", NULL
32764 };
32765
8edf1c75 32766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32769 arg2 = (int) SWIG_AsInt(obj1);
32770 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32771 {
32772 PyThreadState* __tstate = wxPyBeginAllowThreads();
32773 (arg1)->SetProportion(arg2);
32774
32775 wxPyEndAllowThreads(__tstate);
32776 if (PyErr_Occurred()) SWIG_fail;
32777 }
32778 Py_INCREF(Py_None); resultobj = Py_None;
32779 return resultobj;
32780 fail:
32781 return NULL;
32782}
32783
32784
2f4c0a16 32785static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32786 PyObject *resultobj;
32787 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32788 int result;
32789 PyObject * obj0 = 0 ;
32790 char *kwnames[] = {
32791 (char *) "self", NULL
32792 };
32793
32794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32797 {
32798 PyThreadState* __tstate = wxPyBeginAllowThreads();
32799 result = (int)(arg1)->GetProportion();
32800
32801 wxPyEndAllowThreads(__tstate);
32802 if (PyErr_Occurred()) SWIG_fail;
32803 }
2f4c0a16 32804 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32805 return resultobj;
32806 fail:
32807 return NULL;
32808}
32809
32810
2f4c0a16 32811static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32812 PyObject *resultobj;
32813 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32814 int arg2 ;
32815 PyObject * obj0 = 0 ;
8edf1c75 32816 PyObject * obj1 = 0 ;
d14a1e28
RD
32817 char *kwnames[] = {
32818 (char *) "self",(char *) "flag", NULL
32819 };
32820
8edf1c75 32821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32824 arg2 = (int) SWIG_AsInt(obj1);
32825 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32826 {
32827 PyThreadState* __tstate = wxPyBeginAllowThreads();
32828 (arg1)->SetFlag(arg2);
32829
32830 wxPyEndAllowThreads(__tstate);
32831 if (PyErr_Occurred()) SWIG_fail;
32832 }
32833 Py_INCREF(Py_None); resultobj = Py_None;
32834 return resultobj;
32835 fail:
32836 return NULL;
32837}
32838
32839
2f4c0a16 32840static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32841 PyObject *resultobj;
32842 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32843 int result;
32844 PyObject * obj0 = 0 ;
32845 char *kwnames[] = {
32846 (char *) "self", NULL
32847 };
32848
32849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32852 {
32853 PyThreadState* __tstate = wxPyBeginAllowThreads();
32854 result = (int)(arg1)->GetFlag();
32855
32856 wxPyEndAllowThreads(__tstate);
32857 if (PyErr_Occurred()) SWIG_fail;
32858 }
2f4c0a16 32859 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32860 return resultobj;
32861 fail:
32862 return NULL;
32863}
32864
32865
2f4c0a16 32866static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32867 PyObject *resultobj;
32868 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32869 int arg2 ;
32870 PyObject * obj0 = 0 ;
8edf1c75 32871 PyObject * obj1 = 0 ;
d14a1e28
RD
32872 char *kwnames[] = {
32873 (char *) "self",(char *) "border", NULL
32874 };
32875
8edf1c75 32876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32879 arg2 = (int) SWIG_AsInt(obj1);
32880 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32881 {
32882 PyThreadState* __tstate = wxPyBeginAllowThreads();
32883 (arg1)->SetBorder(arg2);
32884
32885 wxPyEndAllowThreads(__tstate);
32886 if (PyErr_Occurred()) SWIG_fail;
32887 }
32888 Py_INCREF(Py_None); resultobj = Py_None;
32889 return resultobj;
32890 fail:
32891 return NULL;
32892}
32893
32894
2f4c0a16 32895static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32896 PyObject *resultobj;
32897 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32898 int result;
32899 PyObject * obj0 = 0 ;
32900 char *kwnames[] = {
32901 (char *) "self", NULL
32902 };
32903
32904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32907 {
32908 PyThreadState* __tstate = wxPyBeginAllowThreads();
32909 result = (int)(arg1)->GetBorder();
32910
32911 wxPyEndAllowThreads(__tstate);
32912 if (PyErr_Occurred()) SWIG_fail;
32913 }
2f4c0a16 32914 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32915 return resultobj;
32916 fail:
32917 return NULL;
32918}
32919
32920
2f4c0a16 32921static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32922 PyObject *resultobj;
32923 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32924 wxWindow *result;
32925 PyObject * obj0 = 0 ;
32926 char *kwnames[] = {
32927 (char *) "self", NULL
32928 };
32929
32930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32933 {
32934 PyThreadState* __tstate = wxPyBeginAllowThreads();
32935 result = (wxWindow *)(arg1)->GetWindow();
32936
32937 wxPyEndAllowThreads(__tstate);
32938 if (PyErr_Occurred()) SWIG_fail;
32939 }
32940 {
32941 resultobj = wxPyMake_wxObject(result);
32942 }
32943 return resultobj;
32944 fail:
32945 return NULL;
32946}
32947
32948
2f4c0a16 32949static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32950 PyObject *resultobj;
32951 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32952 wxWindow *arg2 = (wxWindow *) 0 ;
32953 PyObject * obj0 = 0 ;
32954 PyObject * obj1 = 0 ;
32955 char *kwnames[] = {
32956 (char *) "self",(char *) "window", NULL
32957 };
32958
32959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32962 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
32963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32964 {
32965 PyThreadState* __tstate = wxPyBeginAllowThreads();
32966 (arg1)->SetWindow(arg2);
32967
32968 wxPyEndAllowThreads(__tstate);
32969 if (PyErr_Occurred()) SWIG_fail;
32970 }
32971 Py_INCREF(Py_None); resultobj = Py_None;
32972 return resultobj;
32973 fail:
32974 return NULL;
32975}
32976
32977
2f4c0a16 32978static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32979 PyObject *resultobj;
32980 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32981 wxSizer *result;
32982 PyObject * obj0 = 0 ;
32983 char *kwnames[] = {
32984 (char *) "self", NULL
32985 };
32986
32987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32990 {
32991 PyThreadState* __tstate = wxPyBeginAllowThreads();
32992 result = (wxSizer *)(arg1)->GetSizer();
32993
32994 wxPyEndAllowThreads(__tstate);
32995 if (PyErr_Occurred()) SWIG_fail;
32996 }
32997 {
32998 resultobj = wxPyMake_wxSizer(result);
32999 }
33000 return resultobj;
33001 fail:
33002 return NULL;
33003}
33004
33005
2f4c0a16 33006static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33007 PyObject *resultobj;
33008 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33009 wxSizer *arg2 = (wxSizer *) 0 ;
33010 PyObject * obj0 = 0 ;
33011 PyObject * obj1 = 0 ;
33012 char *kwnames[] = {
33013 (char *) "self",(char *) "sizer", NULL
33014 };
33015
33016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33019 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
33020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33021 {
33022 PyThreadState* __tstate = wxPyBeginAllowThreads();
33023 (arg1)->SetSizer(arg2);
33024
33025 wxPyEndAllowThreads(__tstate);
33026 if (PyErr_Occurred()) SWIG_fail;
33027 }
33028 Py_INCREF(Py_None); resultobj = Py_None;
33029 return resultobj;
33030 fail:
33031 return NULL;
33032}
33033
33034
2f4c0a16 33035static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33036 PyObject *resultobj;
33037 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33038 wxSize *result;
33039 PyObject * obj0 = 0 ;
33040 char *kwnames[] = {
33041 (char *) "self", NULL
33042 };
33043
33044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33047 {
33048 PyThreadState* __tstate = wxPyBeginAllowThreads();
33049 {
33050 wxSize const &_result_ref = (arg1)->GetSpacer();
33051 result = (wxSize *) &_result_ref;
33052 }
33053
33054 wxPyEndAllowThreads(__tstate);
33055 if (PyErr_Occurred()) SWIG_fail;
33056 }
2f4c0a16 33057 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
33058 return resultobj;
33059 fail:
33060 return NULL;
33061}
33062
33063
2f4c0a16 33064static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33065 PyObject *resultobj;
33066 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33067 wxSize *arg2 = 0 ;
33068 wxSize temp2 ;
33069 PyObject * obj0 = 0 ;
33070 PyObject * obj1 = 0 ;
33071 char *kwnames[] = {
33072 (char *) "self",(char *) "size", NULL
33073 };
33074
33075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33078 {
33079 arg2 = &temp2;
33080 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33081 }
33082 {
33083 PyThreadState* __tstate = wxPyBeginAllowThreads();
33084 (arg1)->SetSpacer((wxSize const &)*arg2);
33085
33086 wxPyEndAllowThreads(__tstate);
33087 if (PyErr_Occurred()) SWIG_fail;
33088 }
33089 Py_INCREF(Py_None); resultobj = Py_None;
33090 return resultobj;
33091 fail:
33092 return NULL;
33093}
33094
33095
2f4c0a16 33096static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33097 PyObject *resultobj;
33098 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33099 bool arg2 ;
33100 PyObject * obj0 = 0 ;
33101 PyObject * obj1 = 0 ;
33102 char *kwnames[] = {
33103 (char *) "self",(char *) "show", NULL
33104 };
33105
33106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33109 arg2 = (bool) SWIG_AsBool(obj1);
33110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33111 {
33112 PyThreadState* __tstate = wxPyBeginAllowThreads();
33113 (arg1)->Show(arg2);
33114
33115 wxPyEndAllowThreads(__tstate);
33116 if (PyErr_Occurred()) SWIG_fail;
33117 }
33118 Py_INCREF(Py_None); resultobj = Py_None;
33119 return resultobj;
33120 fail:
33121 return NULL;
33122}
33123
33124
2f4c0a16 33125static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33126 PyObject *resultobj;
33127 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33128 bool result;
33129 PyObject * obj0 = 0 ;
33130 char *kwnames[] = {
33131 (char *) "self", NULL
33132 };
33133
33134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33137 {
33138 PyThreadState* __tstate = wxPyBeginAllowThreads();
33139 result = (bool)(arg1)->IsShown();
33140
33141 wxPyEndAllowThreads(__tstate);
33142 if (PyErr_Occurred()) SWIG_fail;
33143 }
02a34c4c 33144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
33145 return resultobj;
33146 fail:
33147 return NULL;
33148}
33149
33150
2f4c0a16 33151static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33152 PyObject *resultobj;
33153 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33154 wxPoint result;
33155 PyObject * obj0 = 0 ;
33156 char *kwnames[] = {
33157 (char *) "self", NULL
33158 };
33159
33160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33163 {
33164 PyThreadState* __tstate = wxPyBeginAllowThreads();
33165 result = (arg1)->GetPosition();
33166
33167 wxPyEndAllowThreads(__tstate);
33168 if (PyErr_Occurred()) SWIG_fail;
33169 }
33170 {
33171 wxPoint * resultptr;
33172 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 33173 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
33174 }
33175 return resultobj;
33176 fail:
33177 return NULL;
33178}
33179
33180
2f4c0a16 33181static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33182 PyObject *resultobj;
33183 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33184 PyObject *result;
33185 PyObject * obj0 = 0 ;
33186 char *kwnames[] = {
33187 (char *) "self", NULL
33188 };
33189
33190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33193 {
33194 PyThreadState* __tstate = wxPyBeginAllowThreads();
33195 result = (PyObject *)wxSizerItem_GetUserData(arg1);
33196
33197 wxPyEndAllowThreads(__tstate);
33198 if (PyErr_Occurred()) SWIG_fail;
33199 }
33200 resultobj = result;
33201 return resultobj;
33202 fail:
33203 return NULL;
33204}
33205
33206
2f4c0a16 33207static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33208 PyObject *obj;
33209 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33210 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
33211 Py_INCREF(obj);
33212 return Py_BuildValue((char *)"");
33213}
2f4c0a16 33214static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33215 PyObject *resultobj;
33216 wxSizer *arg1 = (wxSizer *) 0 ;
33217 PyObject *arg2 = (PyObject *) 0 ;
33218 PyObject * obj0 = 0 ;
33219 PyObject * obj1 = 0 ;
33220 char *kwnames[] = {
33221 (char *) "self",(char *) "_self", NULL
33222 };
33223
33224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33227 arg2 = obj1;
33228 {
33229 PyThreadState* __tstate = wxPyBeginAllowThreads();
33230 wxSizer__setOORInfo(arg1,arg2);
33231
33232 wxPyEndAllowThreads(__tstate);
33233 if (PyErr_Occurred()) SWIG_fail;
33234 }
33235 Py_INCREF(Py_None); resultobj = Py_None;
33236 return resultobj;
33237 fail:
33238 return NULL;
33239}
33240
33241
2f4c0a16 33242static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33243 PyObject *resultobj;
33244 wxSizer *arg1 = (wxSizer *) 0 ;
33245 PyObject *arg2 = (PyObject *) 0 ;
33246 int arg3 = (int) 0 ;
33247 int arg4 = (int) 0 ;
33248 int arg5 = (int) 0 ;
33249 PyObject *arg6 = (PyObject *) NULL ;
33250 PyObject * obj0 = 0 ;
33251 PyObject * obj1 = 0 ;
8edf1c75
RD
33252 PyObject * obj2 = 0 ;
33253 PyObject * obj3 = 0 ;
33254 PyObject * obj4 = 0 ;
d14a1e28
RD
33255 PyObject * obj5 = 0 ;
33256 char *kwnames[] = {
33257 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33258 };
33259
8edf1c75 33260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
33261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33263 arg2 = obj1;
8edf1c75 33264 if (obj2) {
2f4c0a16
RD
33265 arg3 = (int) SWIG_AsInt(obj2);
33266 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
33267 }
33268 if (obj3) {
2f4c0a16
RD
33269 arg4 = (int) SWIG_AsInt(obj3);
33270 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
33271 }
33272 if (obj4) {
2f4c0a16
RD
33273 arg5 = (int) SWIG_AsInt(obj4);
33274 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 33275 }
d14a1e28
RD
33276 if (obj5) {
33277 arg6 = obj5;
33278 }
33279 {
33280 PyThreadState* __tstate = wxPyBeginAllowThreads();
33281 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
33282
33283 wxPyEndAllowThreads(__tstate);
33284 if (PyErr_Occurred()) SWIG_fail;
33285 }
33286 Py_INCREF(Py_None); resultobj = Py_None;
33287 return resultobj;
33288 fail:
33289 return NULL;
33290}
33291
33292
2f4c0a16 33293static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33294 PyObject *resultobj;
33295 wxSizer *arg1 = (wxSizer *) 0 ;
33296 int arg2 ;
33297 PyObject *arg3 = (PyObject *) 0 ;
33298 int arg4 = (int) 0 ;
33299 int arg5 = (int) 0 ;
33300 int arg6 = (int) 0 ;
33301 PyObject *arg7 = (PyObject *) NULL ;
33302 PyObject * obj0 = 0 ;
8edf1c75 33303 PyObject * obj1 = 0 ;
d14a1e28 33304 PyObject * obj2 = 0 ;
8edf1c75
RD
33305 PyObject * obj3 = 0 ;
33306 PyObject * obj4 = 0 ;
33307 PyObject * obj5 = 0 ;
d14a1e28
RD
33308 PyObject * obj6 = 0 ;
33309 char *kwnames[] = {
33310 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33311 };
33312
8edf1c75 33313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
33314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33316 arg2 = (int) SWIG_AsInt(obj1);
33317 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33318 arg3 = obj2;
8edf1c75 33319 if (obj3) {
2f4c0a16
RD
33320 arg4 = (int) SWIG_AsInt(obj3);
33321 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
33322 }
33323 if (obj4) {
2f4c0a16
RD
33324 arg5 = (int) SWIG_AsInt(obj4);
33325 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
33326 }
33327 if (obj5) {
2f4c0a16
RD
33328 arg6 = (int) SWIG_AsInt(obj5);
33329 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 33330 }
d14a1e28
RD
33331 if (obj6) {
33332 arg7 = obj6;
33333 }
33334 {
33335 PyThreadState* __tstate = wxPyBeginAllowThreads();
33336 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
33337
33338 wxPyEndAllowThreads(__tstate);
33339 if (PyErr_Occurred()) SWIG_fail;
33340 }
33341 Py_INCREF(Py_None); resultobj = Py_None;
33342 return resultobj;
33343 fail:
33344 return NULL;
33345}
33346
33347
2f4c0a16 33348static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33349 PyObject *resultobj;
33350 wxSizer *arg1 = (wxSizer *) 0 ;
33351 PyObject *arg2 = (PyObject *) 0 ;
33352 int arg3 = (int) 0 ;
33353 int arg4 = (int) 0 ;
33354 int arg5 = (int) 0 ;
33355 PyObject *arg6 = (PyObject *) NULL ;
33356 PyObject * obj0 = 0 ;
33357 PyObject * obj1 = 0 ;
8edf1c75
RD
33358 PyObject * obj2 = 0 ;
33359 PyObject * obj3 = 0 ;
33360 PyObject * obj4 = 0 ;
d14a1e28
RD
33361 PyObject * obj5 = 0 ;
33362 char *kwnames[] = {
33363 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33364 };
33365
8edf1c75 33366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
33367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33369 arg2 = obj1;
8edf1c75 33370 if (obj2) {
2f4c0a16
RD
33371 arg3 = (int) SWIG_AsInt(obj2);
33372 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
33373 }
33374 if (obj3) {
2f4c0a16
RD
33375 arg4 = (int) SWIG_AsInt(obj3);
33376 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
33377 }
33378 if (obj4) {
2f4c0a16
RD
33379 arg5 = (int) SWIG_AsInt(obj4);
33380 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 33381 }
d14a1e28
RD
33382 if (obj5) {
33383 arg6 = obj5;
33384 }
33385 {
33386 PyThreadState* __tstate = wxPyBeginAllowThreads();
33387 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
33388
33389 wxPyEndAllowThreads(__tstate);
33390 if (PyErr_Occurred()) SWIG_fail;
33391 }
33392 Py_INCREF(Py_None); resultobj = Py_None;
33393 return resultobj;
33394 fail:
33395 return NULL;
33396}
33397
33398
2f4c0a16 33399static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33400 PyObject *resultobj;
33401 wxSizer *arg1 = (wxSizer *) 0 ;
33402 PyObject *arg2 = (PyObject *) 0 ;
33403 bool result;
33404 PyObject * obj0 = 0 ;
33405 PyObject * obj1 = 0 ;
33406 char *kwnames[] = {
33407 (char *) "self",(char *) "item", NULL
33408 };
33409
33410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33413 arg2 = obj1;
33414 {
33415 PyThreadState* __tstate = wxPyBeginAllowThreads();
33416 result = (bool)wxSizer_Remove(arg1,arg2);
33417
33418 wxPyEndAllowThreads(__tstate);
33419 if (PyErr_Occurred()) SWIG_fail;
33420 }
02a34c4c 33421 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
33422 return resultobj;
33423 fail:
33424 return NULL;
33425}
33426
33427
2f4c0a16 33428static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33429 PyObject *resultobj;
33430 wxSizer *arg1 = (wxSizer *) 0 ;
33431 PyObject *arg2 = (PyObject *) 0 ;
423f194a
RD
33432 wxSize *arg3 = 0 ;
33433 wxSize temp3 ;
d14a1e28
RD
33434 PyObject * obj0 = 0 ;
33435 PyObject * obj1 = 0 ;
33436 PyObject * obj2 = 0 ;
33437 char *kwnames[] = {
33438 (char *) "self",(char *) "item",(char *) "size", NULL
33439 };
33440
33441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
33442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33444 arg2 = obj1;
423f194a
RD
33445 {
33446 arg3 = &temp3;
33447 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
33448 }
d14a1e28
RD
33449 {
33450 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 33451 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
33452
33453 wxPyEndAllowThreads(__tstate);
33454 if (PyErr_Occurred()) SWIG_fail;
33455 }
33456 Py_INCREF(Py_None); resultobj = Py_None;
33457 return resultobj;
33458 fail:
33459 return NULL;
33460}
33461
33462
2f4c0a16 33463static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33464 PyObject *resultobj;
33465 wxSizer *arg1 = (wxSizer *) 0 ;
33466 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
33467 PyObject * obj0 = 0 ;
33468 PyObject * obj1 = 0 ;
33469 char *kwnames[] = {
33470 (char *) "self",(char *) "item", NULL
33471 };
33472
33473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33476 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
33477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33478 {
33479 PyThreadState* __tstate = wxPyBeginAllowThreads();
33480 (arg1)->Add(arg2);
33481
33482 wxPyEndAllowThreads(__tstate);
33483 if (PyErr_Occurred()) SWIG_fail;
33484 }
33485 Py_INCREF(Py_None); resultobj = Py_None;
33486 return resultobj;
33487 fail:
33488 return NULL;
33489}
33490
33491
2f4c0a16 33492static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33493 PyObject *resultobj;
33494 wxSizer *arg1 = (wxSizer *) 0 ;
33495 size_t arg2 ;
33496 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
33497 PyObject * obj0 = 0 ;
33498 PyObject * obj1 = 0 ;
33499 PyObject * obj2 = 0 ;
33500 char *kwnames[] = {
33501 (char *) "self",(char *) "index",(char *) "item", NULL
33502 };
33503
33504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
33505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33507 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
33508 if (PyErr_Occurred()) SWIG_fail;
33509 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
33510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33511 {
33512 PyThreadState* __tstate = wxPyBeginAllowThreads();
33513 (arg1)->Insert(arg2,arg3);
33514
33515 wxPyEndAllowThreads(__tstate);
33516 if (PyErr_Occurred()) SWIG_fail;
33517 }
33518 Py_INCREF(Py_None); resultobj = Py_None;
33519 return resultobj;
33520 fail:
33521 return NULL;
33522}
33523
33524
2f4c0a16 33525static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33526 PyObject *resultobj;
33527 wxSizer *arg1 = (wxSizer *) 0 ;
33528 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
33529 PyObject * obj0 = 0 ;
33530 PyObject * obj1 = 0 ;
33531 char *kwnames[] = {
33532 (char *) "self",(char *) "item", NULL
33533 };
33534
33535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33538 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
33539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33540 {
33541 PyThreadState* __tstate = wxPyBeginAllowThreads();
33542 (arg1)->Prepend(arg2);
33543
33544 wxPyEndAllowThreads(__tstate);
33545 if (PyErr_Occurred()) SWIG_fail;
33546 }
33547 Py_INCREF(Py_None); resultobj = Py_None;
33548 return resultobj;
33549 fail:
33550 return NULL;
33551}
33552
33553
2f4c0a16 33554static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33555 PyObject *resultobj;
33556 wxSizer *arg1 = (wxSizer *) 0 ;
33557 int arg2 ;
33558 int arg3 ;
33559 int arg4 ;
33560 int arg5 ;
33561 PyObject * obj0 = 0 ;
8edf1c75
RD
33562 PyObject * obj1 = 0 ;
33563 PyObject * obj2 = 0 ;
33564 PyObject * obj3 = 0 ;
33565 PyObject * obj4 = 0 ;
d14a1e28
RD
33566 char *kwnames[] = {
33567 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33568 };
33569
8edf1c75 33570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
33571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33573 arg2 = (int) SWIG_AsInt(obj1);
33574 if (PyErr_Occurred()) SWIG_fail;
33575 arg3 = (int) SWIG_AsInt(obj2);
33576 if (PyErr_Occurred()) SWIG_fail;
33577 arg4 = (int) SWIG_AsInt(obj3);
33578 if (PyErr_Occurred()) SWIG_fail;
33579 arg5 = (int) SWIG_AsInt(obj4);
33580 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33581 {
33582 PyThreadState* __tstate = wxPyBeginAllowThreads();
33583 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
33584
33585 wxPyEndAllowThreads(__tstate);
33586 if (PyErr_Occurred()) SWIG_fail;
33587 }
33588 Py_INCREF(Py_None); resultobj = Py_None;
33589 return resultobj;
33590 fail:
33591 return NULL;
33592}
33593
33594
2f4c0a16 33595static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33596 PyObject *resultobj;
33597 wxSizer *arg1 = (wxSizer *) 0 ;
41f1cec7
RD
33598 wxSize *arg2 = 0 ;
33599 wxSize temp2 ;
d14a1e28
RD
33600 PyObject * obj0 = 0 ;
33601 PyObject * obj1 = 0 ;
33602 char *kwnames[] = {
33603 (char *) "self",(char *) "size", NULL
33604 };
33605
33606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
33609 {
33610 arg2 = &temp2;
33611 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33612 }
d14a1e28
RD
33613 {
33614 PyThreadState* __tstate = wxPyBeginAllowThreads();
41f1cec7 33615 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
33616
33617 wxPyEndAllowThreads(__tstate);
33618 if (PyErr_Occurred()) SWIG_fail;
33619 }
33620 Py_INCREF(Py_None); resultobj = Py_None;
33621 return resultobj;
33622 fail:
33623 return NULL;
33624}
33625
33626
2f4c0a16 33627static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33628 PyObject *resultobj;
33629 wxSizer *arg1 = (wxSizer *) 0 ;
33630 wxSize result;
33631 PyObject * obj0 = 0 ;
33632 char *kwnames[] = {
33633 (char *) "self", NULL
33634 };
33635
33636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33639 {
33640 PyThreadState* __tstate = wxPyBeginAllowThreads();
33641 result = (arg1)->GetSize();
33642
33643 wxPyEndAllowThreads(__tstate);
33644 if (PyErr_Occurred()) SWIG_fail;
33645 }
33646 {
33647 wxSize * resultptr;
33648 resultptr = new wxSize((wxSize &) result);
2f4c0a16 33649 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33650 }
33651 return resultobj;
33652 fail:
33653 return NULL;
33654}
33655
33656
2f4c0a16 33657static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33658 PyObject *resultobj;
33659 wxSizer *arg1 = (wxSizer *) 0 ;
33660 wxPoint result;
33661 PyObject * obj0 = 0 ;
33662 char *kwnames[] = {
33663 (char *) "self", NULL
33664 };
33665
33666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33669 {
33670 PyThreadState* __tstate = wxPyBeginAllowThreads();
33671 result = (arg1)->GetPosition();
33672
33673 wxPyEndAllowThreads(__tstate);
33674 if (PyErr_Occurred()) SWIG_fail;
33675 }
33676 {
33677 wxPoint * resultptr;
33678 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 33679 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
33680 }
33681 return resultobj;
33682 fail:
33683 return NULL;
33684}
33685
33686
2f4c0a16 33687static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33688 PyObject *resultobj;
33689 wxSizer *arg1 = (wxSizer *) 0 ;
33690 wxSize result;
33691 PyObject * obj0 = 0 ;
33692 char *kwnames[] = {
33693 (char *) "self", NULL
33694 };
33695
33696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33699 {
33700 PyThreadState* __tstate = wxPyBeginAllowThreads();
33701 result = (arg1)->GetMinSize();
33702
33703 wxPyEndAllowThreads(__tstate);
33704 if (PyErr_Occurred()) SWIG_fail;
33705 }
33706 {
33707 wxSize * resultptr;
33708 resultptr = new wxSize((wxSize &) result);
2f4c0a16 33709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33710 }
33711 return resultobj;
33712 fail:
33713 return NULL;
33714}
33715
33716
2f4c0a16 33717static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33718 PyObject *resultobj;
33719 wxSizer *arg1 = (wxSizer *) 0 ;
33720 PyObject * obj0 = 0 ;
33721 char *kwnames[] = {
33722 (char *) "self", NULL
33723 };
33724
33725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33728 {
33729 PyThreadState* __tstate = wxPyBeginAllowThreads();
33730 (arg1)->RecalcSizes();
33731
33732 wxPyEndAllowThreads(__tstate);
33733 if (PyErr_Occurred()) SWIG_fail;
33734 }
33735 Py_INCREF(Py_None); resultobj = Py_None;
33736 return resultobj;
33737 fail:
33738 return NULL;
33739}
33740
33741
2f4c0a16 33742static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33743 PyObject *resultobj;
33744 wxSizer *arg1 = (wxSizer *) 0 ;
33745 wxSize result;
33746 PyObject * obj0 = 0 ;
33747 char *kwnames[] = {
33748 (char *) "self", NULL
33749 };
33750
33751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33754 {
33755 PyThreadState* __tstate = wxPyBeginAllowThreads();
33756 result = (arg1)->CalcMin();
33757
33758 wxPyEndAllowThreads(__tstate);
33759 if (PyErr_Occurred()) SWIG_fail;
33760 }
33761 {
33762 wxSize * resultptr;
33763 resultptr = new wxSize((wxSize &) result);
2f4c0a16 33764 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33765 }
33766 return resultobj;
33767 fail:
33768 return NULL;
33769}
33770
33771
2f4c0a16 33772static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33773 PyObject *resultobj;
33774 wxSizer *arg1 = (wxSizer *) 0 ;
33775 PyObject * obj0 = 0 ;
33776 char *kwnames[] = {
33777 (char *) "self", NULL
33778 };
33779
33780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33783 {
33784 PyThreadState* __tstate = wxPyBeginAllowThreads();
33785 (arg1)->Layout();
33786
33787 wxPyEndAllowThreads(__tstate);
33788 if (PyErr_Occurred()) SWIG_fail;
33789 }
33790 Py_INCREF(Py_None); resultobj = Py_None;
33791 return resultobj;
33792 fail:
33793 return NULL;
33794}
33795
33796
2f4c0a16 33797static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33798 PyObject *resultobj;
33799 wxSizer *arg1 = (wxSizer *) 0 ;
33800 wxWindow *arg2 = (wxWindow *) 0 ;
33801 wxSize result;
33802 PyObject * obj0 = 0 ;
33803 PyObject * obj1 = 0 ;
33804 char *kwnames[] = {
33805 (char *) "self",(char *) "window", NULL
33806 };
33807
33808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33811 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
33812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33813 {
33814 PyThreadState* __tstate = wxPyBeginAllowThreads();
33815 result = (arg1)->Fit(arg2);
33816
33817 wxPyEndAllowThreads(__tstate);
33818 if (PyErr_Occurred()) SWIG_fail;
33819 }
33820 {
33821 wxSize * resultptr;
33822 resultptr = new wxSize((wxSize &) result);
2f4c0a16 33823 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33824 }
33825 return resultobj;
33826 fail:
33827 return NULL;
33828}
33829
33830
2f4c0a16 33831static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33832 PyObject *resultobj;
33833 wxSizer *arg1 = (wxSizer *) 0 ;
33834 wxWindow *arg2 = (wxWindow *) 0 ;
33835 PyObject * obj0 = 0 ;
33836 PyObject * obj1 = 0 ;
33837 char *kwnames[] = {
33838 (char *) "self",(char *) "window", NULL
33839 };
33840
33841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
33845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33846 {
33847 PyThreadState* __tstate = wxPyBeginAllowThreads();
33848 (arg1)->FitInside(arg2);
33849
33850 wxPyEndAllowThreads(__tstate);
33851 if (PyErr_Occurred()) SWIG_fail;
33852 }
33853 Py_INCREF(Py_None); resultobj = Py_None;
33854 return resultobj;
33855 fail:
33856 return NULL;
33857}
33858
33859
2f4c0a16 33860static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33861 PyObject *resultobj;
33862 wxSizer *arg1 = (wxSizer *) 0 ;
33863 wxWindow *arg2 = (wxWindow *) 0 ;
33864 PyObject * obj0 = 0 ;
33865 PyObject * obj1 = 0 ;
33866 char *kwnames[] = {
33867 (char *) "self",(char *) "window", NULL
33868 };
33869
33870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
33874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33875 {
33876 PyThreadState* __tstate = wxPyBeginAllowThreads();
33877 (arg1)->SetSizeHints(arg2);
33878
33879 wxPyEndAllowThreads(__tstate);
33880 if (PyErr_Occurred()) SWIG_fail;
33881 }
33882 Py_INCREF(Py_None); resultobj = Py_None;
33883 return resultobj;
33884 fail:
33885 return NULL;
33886}
33887
33888
2f4c0a16 33889static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33890 PyObject *resultobj;
33891 wxSizer *arg1 = (wxSizer *) 0 ;
33892 wxWindow *arg2 = (wxWindow *) 0 ;
33893 PyObject * obj0 = 0 ;
33894 PyObject * obj1 = 0 ;
33895 char *kwnames[] = {
33896 (char *) "self",(char *) "window", NULL
33897 };
33898
33899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33902 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
33903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33904 {
33905 PyThreadState* __tstate = wxPyBeginAllowThreads();
33906 (arg1)->SetVirtualSizeHints(arg2);
33907
33908 wxPyEndAllowThreads(__tstate);
33909 if (PyErr_Occurred()) SWIG_fail;
33910 }
33911 Py_INCREF(Py_None); resultobj = Py_None;
33912 return resultobj;
33913 fail:
33914 return NULL;
33915}
33916
33917
2f4c0a16 33918static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33919 PyObject *resultobj;
33920 wxSizer *arg1 = (wxSizer *) 0 ;
423f194a 33921 bool arg2 = (bool) False ;
d14a1e28
RD
33922 PyObject * obj0 = 0 ;
33923 PyObject * obj1 = 0 ;
33924 char *kwnames[] = {
33925 (char *) "self",(char *) "delete_windows", NULL
33926 };
33927
33928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33931 if (obj1) {
2f4c0a16
RD
33932 arg2 = (bool) SWIG_AsBool(obj1);
33933 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33934 }
33935 {
33936 PyThreadState* __tstate = wxPyBeginAllowThreads();
33937 (arg1)->Clear(arg2);
33938
33939 wxPyEndAllowThreads(__tstate);
33940 if (PyErr_Occurred()) SWIG_fail;
33941 }
33942 Py_INCREF(Py_None); resultobj = Py_None;
33943 return resultobj;
33944 fail:
33945 return NULL;
33946}
33947
33948
2f4c0a16 33949static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33950 PyObject *resultobj;
33951 wxSizer *arg1 = (wxSizer *) 0 ;
33952 PyObject * obj0 = 0 ;
33953 char *kwnames[] = {
33954 (char *) "self", NULL
33955 };
33956
33957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33960 {
33961 PyThreadState* __tstate = wxPyBeginAllowThreads();
33962 (arg1)->DeleteWindows();
33963
33964 wxPyEndAllowThreads(__tstate);
33965 if (PyErr_Occurred()) SWIG_fail;
33966 }
33967 Py_INCREF(Py_None); resultobj = Py_None;
33968 return resultobj;
33969 fail:
33970 return NULL;
33971}
33972
33973
2f4c0a16 33974static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33975 PyObject *resultobj;
33976 wxSizer *arg1 = (wxSizer *) 0 ;
33977 PyObject *result;
33978 PyObject * obj0 = 0 ;
33979 char *kwnames[] = {
33980 (char *) "self", NULL
33981 };
33982
33983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33986 {
33987 PyThreadState* __tstate = wxPyBeginAllowThreads();
33988 result = (PyObject *)wxSizer_GetChildren(arg1);
33989
33990 wxPyEndAllowThreads(__tstate);
33991 if (PyErr_Occurred()) SWIG_fail;
33992 }
33993 resultobj = result;
33994 return resultobj;
33995 fail:
33996 return NULL;
33997}
33998
33999
2f4c0a16 34000static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34001 PyObject *resultobj;
34002 wxSizer *arg1 = (wxSizer *) 0 ;
34003 PyObject *arg2 = (PyObject *) 0 ;
423f194a 34004 bool arg3 = (bool) True ;
d14a1e28
RD
34005 PyObject * obj0 = 0 ;
34006 PyObject * obj1 = 0 ;
34007 PyObject * obj2 = 0 ;
34008 char *kwnames[] = {
34009 (char *) "self",(char *) "item",(char *) "show", NULL
34010 };
34011
34012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34015 arg2 = obj1;
34016 if (obj2) {
2f4c0a16
RD
34017 arg3 = (bool) SWIG_AsBool(obj2);
34018 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34019 }
34020 {
34021 PyThreadState* __tstate = wxPyBeginAllowThreads();
34022 wxSizer_Show(arg1,arg2,arg3);
34023
34024 wxPyEndAllowThreads(__tstate);
34025 if (PyErr_Occurred()) SWIG_fail;
34026 }
34027 Py_INCREF(Py_None); resultobj = Py_None;
34028 return resultobj;
34029 fail:
34030 return NULL;
34031}
34032
34033
2f4c0a16 34034static PyObject *_wrap_Sizer_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34035 PyObject *resultobj;
34036 wxSizer *arg1 = (wxSizer *) 0 ;
34037 PyObject *arg2 = (PyObject *) 0 ;
34038 PyObject * obj0 = 0 ;
34039 PyObject * obj1 = 0 ;
34040 char *kwnames[] = {
34041 (char *) "self",(char *) "item", NULL
34042 };
34043
34044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34047 arg2 = obj1;
34048 {
34049 PyThreadState* __tstate = wxPyBeginAllowThreads();
34050 wxSizer_Hide(arg1,arg2);
34051
34052 wxPyEndAllowThreads(__tstate);
34053 if (PyErr_Occurred()) SWIG_fail;
34054 }
34055 Py_INCREF(Py_None); resultobj = Py_None;
34056 return resultobj;
34057 fail:
34058 return NULL;
34059}
34060
34061
2f4c0a16 34062static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34063 PyObject *resultobj;
34064 wxSizer *arg1 = (wxSizer *) 0 ;
34065 PyObject *arg2 = (PyObject *) 0 ;
34066 bool result;
34067 PyObject * obj0 = 0 ;
34068 PyObject * obj1 = 0 ;
34069 char *kwnames[] = {
34070 (char *) "self",(char *) "item", NULL
34071 };
34072
34073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34076 arg2 = obj1;
34077 {
34078 PyThreadState* __tstate = wxPyBeginAllowThreads();
34079 result = (bool)wxSizer_IsShown(arg1,arg2);
34080
34081 wxPyEndAllowThreads(__tstate);
34082 if (PyErr_Occurred()) SWIG_fail;
34083 }
02a34c4c 34084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
34085 return resultobj;
34086 fail:
34087 return NULL;
34088}
34089
34090
2f4c0a16 34091static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34092 PyObject *resultobj;
34093 wxSizer *arg1 = (wxSizer *) 0 ;
34094 bool arg2 ;
34095 PyObject * obj0 = 0 ;
34096 PyObject * obj1 = 0 ;
34097 char *kwnames[] = {
34098 (char *) "self",(char *) "show", NULL
34099 };
34100
34101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34104 arg2 = (bool) SWIG_AsBool(obj1);
34105 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34106 {
34107 PyThreadState* __tstate = wxPyBeginAllowThreads();
34108 (arg1)->ShowItems(arg2);
34109
34110 wxPyEndAllowThreads(__tstate);
34111 if (PyErr_Occurred()) SWIG_fail;
34112 }
34113 Py_INCREF(Py_None); resultobj = Py_None;
34114 return resultobj;
34115 fail:
34116 return NULL;
34117}
34118
34119
2f4c0a16 34120static PyObject * Sizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34121 PyObject *obj;
34122 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34123 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
34124 Py_INCREF(obj);
34125 return Py_BuildValue((char *)"");
34126}
2f4c0a16 34127static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34128 PyObject *resultobj;
34129 wxPySizer *result;
34130 char *kwnames[] = {
34131 NULL
34132 };
34133
34134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
34135 {
34136 PyThreadState* __tstate = wxPyBeginAllowThreads();
34137 result = (wxPySizer *)new wxPySizer();
34138
34139 wxPyEndAllowThreads(__tstate);
34140 if (PyErr_Occurred()) SWIG_fail;
34141 }
2f4c0a16 34142 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
34143 return resultobj;
34144 fail:
34145 return NULL;
34146}
34147
34148
2f4c0a16 34149static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34150 PyObject *resultobj;
34151 wxPySizer *arg1 = (wxPySizer *) 0 ;
34152 PyObject *arg2 = (PyObject *) 0 ;
34153 PyObject *arg3 = (PyObject *) 0 ;
34154 PyObject * obj0 = 0 ;
34155 PyObject * obj1 = 0 ;
34156 PyObject * obj2 = 0 ;
34157 char *kwnames[] = {
34158 (char *) "self",(char *) "self",(char *) "_class", NULL
34159 };
34160
34161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
34163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34164 arg2 = obj1;
34165 arg3 = obj2;
34166 {
34167 PyThreadState* __tstate = wxPyBeginAllowThreads();
34168 (arg1)->_setCallbackInfo(arg2,arg3);
34169
34170 wxPyEndAllowThreads(__tstate);
34171 if (PyErr_Occurred()) SWIG_fail;
34172 }
34173 Py_INCREF(Py_None); resultobj = Py_None;
34174 return resultobj;
34175 fail:
34176 return NULL;
34177}
34178
34179
2f4c0a16 34180static PyObject * PySizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34181 PyObject *obj;
34182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34183 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
34184 Py_INCREF(obj);
34185 return Py_BuildValue((char *)"");
34186}
2f4c0a16 34187static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34188 PyObject *resultobj;
34189 int arg1 = (int) wxHORIZONTAL ;
34190 wxBoxSizer *result;
8edf1c75 34191 PyObject * obj0 = 0 ;
d14a1e28
RD
34192 char *kwnames[] = {
34193 (char *) "orient", NULL
34194 };
34195
8edf1c75
RD
34196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
34197 if (obj0) {
2f4c0a16
RD
34198 arg1 = (int) SWIG_AsInt(obj0);
34199 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34200 }
d14a1e28
RD
34201 {
34202 PyThreadState* __tstate = wxPyBeginAllowThreads();
34203 result = (wxBoxSizer *)new wxBoxSizer(arg1);
34204
34205 wxPyEndAllowThreads(__tstate);
34206 if (PyErr_Occurred()) SWIG_fail;
34207 }
2f4c0a16 34208 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
34209 return resultobj;
34210 fail:
34211 return NULL;
34212}
34213
34214
2f4c0a16 34215static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34216 PyObject *resultobj;
34217 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34218 int result;
34219 PyObject * obj0 = 0 ;
34220 char *kwnames[] = {
34221 (char *) "self", NULL
34222 };
34223
34224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34227 {
34228 PyThreadState* __tstate = wxPyBeginAllowThreads();
34229 result = (int)(arg1)->GetOrientation();
34230
34231 wxPyEndAllowThreads(__tstate);
34232 if (PyErr_Occurred()) SWIG_fail;
34233 }
2f4c0a16 34234 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34235 return resultobj;
34236 fail:
34237 return NULL;
34238}
34239
34240
2f4c0a16 34241static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34242 PyObject *resultobj;
34243 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34244 int arg2 ;
34245 PyObject * obj0 = 0 ;
8edf1c75 34246 PyObject * obj1 = 0 ;
d14a1e28
RD
34247 char *kwnames[] = {
34248 (char *) "self",(char *) "orient", NULL
34249 };
34250
8edf1c75 34251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34254 arg2 = (int) SWIG_AsInt(obj1);
34255 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34256 {
34257 PyThreadState* __tstate = wxPyBeginAllowThreads();
34258 (arg1)->SetOrientation(arg2);
34259
34260 wxPyEndAllowThreads(__tstate);
34261 if (PyErr_Occurred()) SWIG_fail;
34262 }
34263 Py_INCREF(Py_None); resultobj = Py_None;
34264 return resultobj;
34265 fail:
34266 return NULL;
34267}
34268
34269
2f4c0a16 34270static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34271 PyObject *resultobj;
34272 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34273 PyObject * obj0 = 0 ;
34274 char *kwnames[] = {
34275 (char *) "self", NULL
34276 };
34277
34278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34281 {
34282 PyThreadState* __tstate = wxPyBeginAllowThreads();
34283 (arg1)->RecalcSizes();
34284
34285 wxPyEndAllowThreads(__tstate);
34286 if (PyErr_Occurred()) SWIG_fail;
34287 }
34288 Py_INCREF(Py_None); resultobj = Py_None;
34289 return resultobj;
34290 fail:
34291 return NULL;
34292}
34293
34294
2f4c0a16 34295static PyObject *_wrap_BoxSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34296 PyObject *resultobj;
34297 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34298 wxSize result;
34299 PyObject * obj0 = 0 ;
34300 char *kwnames[] = {
34301 (char *) "self", NULL
34302 };
34303
34304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34307 {
34308 PyThreadState* __tstate = wxPyBeginAllowThreads();
34309 result = (arg1)->CalcMin();
34310
34311 wxPyEndAllowThreads(__tstate);
34312 if (PyErr_Occurred()) SWIG_fail;
34313 }
34314 {
34315 wxSize * resultptr;
34316 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34317 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34318 }
34319 return resultobj;
34320 fail:
34321 return NULL;
34322}
34323
34324
2f4c0a16 34325static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34326 PyObject *obj;
34327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34328 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
34329 Py_INCREF(obj);
34330 return Py_BuildValue((char *)"");
34331}
2f4c0a16 34332static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34333 PyObject *resultobj;
34334 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
34335 int arg2 = (int) wxHORIZONTAL ;
34336 wxStaticBoxSizer *result;
34337 PyObject * obj0 = 0 ;
8edf1c75 34338 PyObject * obj1 = 0 ;
d14a1e28
RD
34339 char *kwnames[] = {
34340 (char *) "box",(char *) "orient", NULL
34341 };
34342
8edf1c75 34343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
34345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 34346 if (obj1) {
2f4c0a16
RD
34347 arg2 = (int) SWIG_AsInt(obj1);
34348 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34349 }
d14a1e28
RD
34350 {
34351 PyThreadState* __tstate = wxPyBeginAllowThreads();
34352 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
34353
34354 wxPyEndAllowThreads(__tstate);
34355 if (PyErr_Occurred()) SWIG_fail;
34356 }
2f4c0a16 34357 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
34358 return resultobj;
34359 fail:
34360 return NULL;
34361}
34362
34363
2f4c0a16 34364static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34365 PyObject *resultobj;
34366 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34367 wxStaticBox *result;
34368 PyObject * obj0 = 0 ;
34369 char *kwnames[] = {
34370 (char *) "self", NULL
34371 };
34372
34373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
34375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34376 {
34377 PyThreadState* __tstate = wxPyBeginAllowThreads();
34378 result = (wxStaticBox *)(arg1)->GetStaticBox();
34379
34380 wxPyEndAllowThreads(__tstate);
34381 if (PyErr_Occurred()) SWIG_fail;
34382 }
34383 {
34384 resultobj = wxPyMake_wxObject(result);
34385 }
34386 return resultobj;
34387 fail:
34388 return NULL;
34389}
34390
34391
2f4c0a16 34392static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34393 PyObject *resultobj;
34394 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34395 PyObject * obj0 = 0 ;
34396 char *kwnames[] = {
34397 (char *) "self", NULL
34398 };
34399
34400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34401 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
34402 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34403 {
34404 PyThreadState* __tstate = wxPyBeginAllowThreads();
34405 (arg1)->RecalcSizes();
34406
34407 wxPyEndAllowThreads(__tstate);
34408 if (PyErr_Occurred()) SWIG_fail;
34409 }
34410 Py_INCREF(Py_None); resultobj = Py_None;
34411 return resultobj;
34412 fail:
34413 return NULL;
34414}
34415
34416
2f4c0a16 34417static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34418 PyObject *resultobj;
34419 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34420 wxSize result;
34421 PyObject * obj0 = 0 ;
34422 char *kwnames[] = {
34423 (char *) "self", NULL
34424 };
34425
34426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
34428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34429 {
34430 PyThreadState* __tstate = wxPyBeginAllowThreads();
34431 result = (arg1)->CalcMin();
34432
34433 wxPyEndAllowThreads(__tstate);
34434 if (PyErr_Occurred()) SWIG_fail;
34435 }
34436 {
34437 wxSize * resultptr;
34438 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34439 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34440 }
34441 return resultobj;
34442 fail:
34443 return NULL;
34444}
34445
34446
2f4c0a16 34447static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34448 PyObject *obj;
34449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34450 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
34451 Py_INCREF(obj);
34452 return Py_BuildValue((char *)"");
34453}
2f4c0a16 34454static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34455 PyObject *resultobj;
34456 int arg1 = (int) 1 ;
34457 int arg2 = (int) 0 ;
34458 int arg3 = (int) 0 ;
34459 int arg4 = (int) 0 ;
34460 wxGridSizer *result;
8edf1c75
RD
34461 PyObject * obj0 = 0 ;
34462 PyObject * obj1 = 0 ;
34463 PyObject * obj2 = 0 ;
34464 PyObject * obj3 = 0 ;
d14a1e28
RD
34465 char *kwnames[] = {
34466 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34467 };
34468
8edf1c75
RD
34469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34470 if (obj0) {
2f4c0a16
RD
34471 arg1 = (int) SWIG_AsInt(obj0);
34472 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34473 }
34474 if (obj1) {
2f4c0a16
RD
34475 arg2 = (int) SWIG_AsInt(obj1);
34476 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34477 }
34478 if (obj2) {
2f4c0a16
RD
34479 arg3 = (int) SWIG_AsInt(obj2);
34480 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34481 }
34482 if (obj3) {
2f4c0a16
RD
34483 arg4 = (int) SWIG_AsInt(obj3);
34484 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34485 }
d14a1e28
RD
34486 {
34487 PyThreadState* __tstate = wxPyBeginAllowThreads();
34488 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
34489
34490 wxPyEndAllowThreads(__tstate);
34491 if (PyErr_Occurred()) SWIG_fail;
34492 }
2f4c0a16 34493 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
34494 return resultobj;
34495 fail:
34496 return NULL;
34497}
34498
34499
2f4c0a16 34500static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34501 PyObject *resultobj;
34502 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34503 PyObject * obj0 = 0 ;
34504 char *kwnames[] = {
34505 (char *) "self", NULL
34506 };
34507
34508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34511 {
34512 PyThreadState* __tstate = wxPyBeginAllowThreads();
34513 (arg1)->RecalcSizes();
34514
34515 wxPyEndAllowThreads(__tstate);
34516 if (PyErr_Occurred()) SWIG_fail;
34517 }
34518 Py_INCREF(Py_None); resultobj = Py_None;
34519 return resultobj;
34520 fail:
34521 return NULL;
34522}
34523
34524
2f4c0a16 34525static PyObject *_wrap_GridSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34526 PyObject *resultobj;
34527 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34528 wxSize result;
34529 PyObject * obj0 = 0 ;
34530 char *kwnames[] = {
34531 (char *) "self", NULL
34532 };
34533
34534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34537 {
34538 PyThreadState* __tstate = wxPyBeginAllowThreads();
34539 result = (arg1)->CalcMin();
34540
34541 wxPyEndAllowThreads(__tstate);
34542 if (PyErr_Occurred()) SWIG_fail;
34543 }
34544 {
34545 wxSize * resultptr;
34546 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34547 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34548 }
34549 return resultobj;
34550 fail:
34551 return NULL;
34552}
34553
34554
2f4c0a16 34555static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34556 PyObject *resultobj;
34557 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34558 int arg2 ;
34559 PyObject * obj0 = 0 ;
8edf1c75 34560 PyObject * obj1 = 0 ;
d14a1e28
RD
34561 char *kwnames[] = {
34562 (char *) "self",(char *) "cols", NULL
34563 };
34564
8edf1c75 34565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34568 arg2 = (int) SWIG_AsInt(obj1);
34569 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34570 {
34571 PyThreadState* __tstate = wxPyBeginAllowThreads();
34572 (arg1)->SetCols(arg2);
34573
34574 wxPyEndAllowThreads(__tstate);
34575 if (PyErr_Occurred()) SWIG_fail;
34576 }
34577 Py_INCREF(Py_None); resultobj = Py_None;
34578 return resultobj;
34579 fail:
34580 return NULL;
34581}
34582
34583
2f4c0a16 34584static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34585 PyObject *resultobj;
34586 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34587 int arg2 ;
34588 PyObject * obj0 = 0 ;
8edf1c75 34589 PyObject * obj1 = 0 ;
d14a1e28
RD
34590 char *kwnames[] = {
34591 (char *) "self",(char *) "rows", NULL
34592 };
34593
8edf1c75 34594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34597 arg2 = (int) SWIG_AsInt(obj1);
34598 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34599 {
34600 PyThreadState* __tstate = wxPyBeginAllowThreads();
34601 (arg1)->SetRows(arg2);
34602
34603 wxPyEndAllowThreads(__tstate);
34604 if (PyErr_Occurred()) SWIG_fail;
34605 }
34606 Py_INCREF(Py_None); resultobj = Py_None;
34607 return resultobj;
34608 fail:
34609 return NULL;
34610}
34611
34612
2f4c0a16 34613static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34614 PyObject *resultobj;
34615 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34616 int arg2 ;
34617 PyObject * obj0 = 0 ;
8edf1c75 34618 PyObject * obj1 = 0 ;
d14a1e28
RD
34619 char *kwnames[] = {
34620 (char *) "self",(char *) "gap", NULL
34621 };
34622
8edf1c75 34623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34626 arg2 = (int) SWIG_AsInt(obj1);
34627 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34628 {
34629 PyThreadState* __tstate = wxPyBeginAllowThreads();
34630 (arg1)->SetVGap(arg2);
34631
34632 wxPyEndAllowThreads(__tstate);
34633 if (PyErr_Occurred()) SWIG_fail;
34634 }
34635 Py_INCREF(Py_None); resultobj = Py_None;
34636 return resultobj;
34637 fail:
34638 return NULL;
34639}
34640
34641
2f4c0a16 34642static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34643 PyObject *resultobj;
34644 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34645 int arg2 ;
34646 PyObject * obj0 = 0 ;
8edf1c75 34647 PyObject * obj1 = 0 ;
d14a1e28
RD
34648 char *kwnames[] = {
34649 (char *) "self",(char *) "gap", NULL
34650 };
34651
8edf1c75 34652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34655 arg2 = (int) SWIG_AsInt(obj1);
34656 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34657 {
34658 PyThreadState* __tstate = wxPyBeginAllowThreads();
34659 (arg1)->SetHGap(arg2);
34660
34661 wxPyEndAllowThreads(__tstate);
34662 if (PyErr_Occurred()) SWIG_fail;
34663 }
34664 Py_INCREF(Py_None); resultobj = Py_None;
34665 return resultobj;
34666 fail:
34667 return NULL;
34668}
34669
34670
2f4c0a16 34671static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34672 PyObject *resultobj;
34673 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34674 int result;
34675 PyObject * obj0 = 0 ;
34676 char *kwnames[] = {
34677 (char *) "self", NULL
34678 };
34679
34680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34681 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34683 {
34684 PyThreadState* __tstate = wxPyBeginAllowThreads();
34685 result = (int)(arg1)->GetCols();
34686
34687 wxPyEndAllowThreads(__tstate);
34688 if (PyErr_Occurred()) SWIG_fail;
34689 }
2f4c0a16 34690 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34691 return resultobj;
34692 fail:
34693 return NULL;
34694}
34695
34696
2f4c0a16 34697static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34698 PyObject *resultobj;
34699 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34700 int result;
34701 PyObject * obj0 = 0 ;
34702 char *kwnames[] = {
34703 (char *) "self", NULL
34704 };
34705
34706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34707 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34708 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34709 {
34710 PyThreadState* __tstate = wxPyBeginAllowThreads();
34711 result = (int)(arg1)->GetRows();
34712
34713 wxPyEndAllowThreads(__tstate);
34714 if (PyErr_Occurred()) SWIG_fail;
34715 }
2f4c0a16 34716 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34717 return resultobj;
34718 fail:
34719 return NULL;
34720}
34721
34722
2f4c0a16 34723static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34724 PyObject *resultobj;
34725 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34726 int result;
34727 PyObject * obj0 = 0 ;
34728 char *kwnames[] = {
34729 (char *) "self", NULL
34730 };
34731
34732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34735 {
34736 PyThreadState* __tstate = wxPyBeginAllowThreads();
34737 result = (int)(arg1)->GetVGap();
34738
34739 wxPyEndAllowThreads(__tstate);
34740 if (PyErr_Occurred()) SWIG_fail;
34741 }
2f4c0a16 34742 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34743 return resultobj;
34744 fail:
34745 return NULL;
34746}
34747
34748
2f4c0a16 34749static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34750 PyObject *resultobj;
34751 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34752 int result;
34753 PyObject * obj0 = 0 ;
34754 char *kwnames[] = {
34755 (char *) "self", NULL
34756 };
34757
34758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34761 {
34762 PyThreadState* __tstate = wxPyBeginAllowThreads();
34763 result = (int)(arg1)->GetHGap();
34764
34765 wxPyEndAllowThreads(__tstate);
34766 if (PyErr_Occurred()) SWIG_fail;
34767 }
2f4c0a16 34768 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34769 return resultobj;
34770 fail:
34771 return NULL;
34772}
34773
34774
2f4c0a16 34775static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34776 PyObject *obj;
34777 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34778 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
34779 Py_INCREF(obj);
34780 return Py_BuildValue((char *)"");
34781}
2f4c0a16 34782static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34783 PyObject *resultobj;
34784 int arg1 = (int) 1 ;
34785 int arg2 = (int) 0 ;
34786 int arg3 = (int) 0 ;
34787 int arg4 = (int) 0 ;
34788 wxFlexGridSizer *result;
8edf1c75
RD
34789 PyObject * obj0 = 0 ;
34790 PyObject * obj1 = 0 ;
34791 PyObject * obj2 = 0 ;
34792 PyObject * obj3 = 0 ;
d14a1e28
RD
34793 char *kwnames[] = {
34794 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34795 };
34796
8edf1c75
RD
34797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34798 if (obj0) {
2f4c0a16
RD
34799 arg1 = (int) SWIG_AsInt(obj0);
34800 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34801 }
34802 if (obj1) {
2f4c0a16
RD
34803 arg2 = (int) SWIG_AsInt(obj1);
34804 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34805 }
34806 if (obj2) {
2f4c0a16
RD
34807 arg3 = (int) SWIG_AsInt(obj2);
34808 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34809 }
34810 if (obj3) {
2f4c0a16
RD
34811 arg4 = (int) SWIG_AsInt(obj3);
34812 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34813 }
d14a1e28
RD
34814 {
34815 PyThreadState* __tstate = wxPyBeginAllowThreads();
34816 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
34817
34818 wxPyEndAllowThreads(__tstate);
34819 if (PyErr_Occurred()) SWIG_fail;
34820 }
2f4c0a16 34821 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
34822 return resultobj;
34823 fail:
34824 return NULL;
34825}
34826
34827
2f4c0a16 34828static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34829 PyObject *resultobj;
34830 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34831 PyObject * obj0 = 0 ;
34832 char *kwnames[] = {
34833 (char *) "self", NULL
34834 };
34835
34836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
34838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34839 {
34840 PyThreadState* __tstate = wxPyBeginAllowThreads();
34841 (arg1)->RecalcSizes();
34842
34843 wxPyEndAllowThreads(__tstate);
34844 if (PyErr_Occurred()) SWIG_fail;
34845 }
34846 Py_INCREF(Py_None); resultobj = Py_None;
34847 return resultobj;
34848 fail:
34849 return NULL;
34850}
34851
34852
2f4c0a16 34853static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34854 PyObject *resultobj;
34855 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34856 wxSize result;
34857 PyObject * obj0 = 0 ;
34858 char *kwnames[] = {
34859 (char *) "self", NULL
34860 };
34861
34862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
34864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34865 {
34866 PyThreadState* __tstate = wxPyBeginAllowThreads();
34867 result = (arg1)->CalcMin();
34868
34869 wxPyEndAllowThreads(__tstate);
34870 if (PyErr_Occurred()) SWIG_fail;
34871 }
34872 {
34873 wxSize * resultptr;
34874 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34875 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34876 }
34877 return resultobj;
34878 fail:
34879 return NULL;
34880}
34881
34882
2f4c0a16 34883static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34884 PyObject *resultobj;
34885 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34886 size_t arg2 ;
34887 int arg3 = (int) 0 ;
34888 PyObject * obj0 = 0 ;
34889 PyObject * obj1 = 0 ;
8edf1c75 34890 PyObject * obj2 = 0 ;
d14a1e28
RD
34891 char *kwnames[] = {
34892 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34893 };
34894
8edf1c75 34895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
34897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34898 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
34899 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34900 if (obj2) {
2f4c0a16
RD
34901 arg3 = (int) SWIG_AsInt(obj2);
34902 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34903 }
d14a1e28
RD
34904 {
34905 PyThreadState* __tstate = wxPyBeginAllowThreads();
34906 (arg1)->AddGrowableRow(arg2,arg3);
34907
34908 wxPyEndAllowThreads(__tstate);
34909 if (PyErr_Occurred()) SWIG_fail;
34910 }
34911 Py_INCREF(Py_None); resultobj = Py_None;
34912 return resultobj;
34913 fail:
34914 return NULL;
34915}
34916
34917
2f4c0a16 34918static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34919 PyObject *resultobj;
34920 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34921 size_t arg2 ;
34922 PyObject * obj0 = 0 ;
34923 PyObject * obj1 = 0 ;
34924 char *kwnames[] = {
34925 (char *) "self",(char *) "idx", NULL
34926 };
34927
34928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
34930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34931 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
34932 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34933 {
34934 PyThreadState* __tstate = wxPyBeginAllowThreads();
34935 (arg1)->RemoveGrowableRow(arg2);
34936
34937 wxPyEndAllowThreads(__tstate);
34938 if (PyErr_Occurred()) SWIG_fail;
34939 }
34940 Py_INCREF(Py_None); resultobj = Py_None;
34941 return resultobj;
34942 fail:
34943 return NULL;
34944}
34945
34946
2f4c0a16 34947static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34948 PyObject *resultobj;
34949 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34950 size_t arg2 ;
34951 int arg3 = (int) 0 ;
34952 PyObject * obj0 = 0 ;
34953 PyObject * obj1 = 0 ;
8edf1c75 34954 PyObject * obj2 = 0 ;
d14a1e28
RD
34955 char *kwnames[] = {
34956 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34957 };
34958
8edf1c75 34959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
34961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34962 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
34963 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34964 if (obj2) {
2f4c0a16
RD
34965 arg3 = (int) SWIG_AsInt(obj2);
34966 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34967 }
d14a1e28
RD
34968 {
34969 PyThreadState* __tstate = wxPyBeginAllowThreads();
34970 (arg1)->AddGrowableCol(arg2,arg3);
34971
34972 wxPyEndAllowThreads(__tstate);
34973 if (PyErr_Occurred()) SWIG_fail;
34974 }
34975 Py_INCREF(Py_None); resultobj = Py_None;
34976 return resultobj;
34977 fail:
34978 return NULL;
34979}
34980
34981
2f4c0a16 34982static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34983 PyObject *resultobj;
34984 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
34985 size_t arg2 ;
34986 PyObject * obj0 = 0 ;
34987 PyObject * obj1 = 0 ;
34988 char *kwnames[] = {
34989 (char *) "self",(char *) "idx", NULL
34990 };
34991
34992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
34994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34995 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
34996 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34997 {
34998 PyThreadState* __tstate = wxPyBeginAllowThreads();
34999 (arg1)->RemoveGrowableCol(arg2);
35000
35001 wxPyEndAllowThreads(__tstate);
35002 if (PyErr_Occurred()) SWIG_fail;
35003 }
35004 Py_INCREF(Py_None); resultobj = Py_None;
35005 return resultobj;
35006 fail:
35007 return NULL;
35008}
35009
35010
2f4c0a16 35011static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35012 PyObject *resultobj;
35013 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35014 int arg2 ;
35015 PyObject * obj0 = 0 ;
8edf1c75 35016 PyObject * obj1 = 0 ;
d14a1e28
RD
35017 char *kwnames[] = {
35018 (char *) "self",(char *) "direction", NULL
35019 };
35020
8edf1c75 35021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35024 arg2 = (int) SWIG_AsInt(obj1);
35025 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35026 {
35027 PyThreadState* __tstate = wxPyBeginAllowThreads();
35028 (arg1)->SetFlexibleDirection(arg2);
35029
35030 wxPyEndAllowThreads(__tstate);
35031 if (PyErr_Occurred()) SWIG_fail;
35032 }
35033 Py_INCREF(Py_None); resultobj = Py_None;
35034 return resultobj;
35035 fail:
35036 return NULL;
35037}
35038
35039
2f4c0a16 35040static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35041 PyObject *resultobj;
35042 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35043 int result;
35044 PyObject * obj0 = 0 ;
35045 char *kwnames[] = {
35046 (char *) "self", NULL
35047 };
35048
35049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35052 {
35053 PyThreadState* __tstate = wxPyBeginAllowThreads();
35054 result = (int)(arg1)->GetFlexibleDirection();
35055
35056 wxPyEndAllowThreads(__tstate);
35057 if (PyErr_Occurred()) SWIG_fail;
35058 }
2f4c0a16 35059 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35060 return resultobj;
35061 fail:
35062 return NULL;
35063}
35064
35065
2f4c0a16 35066static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35067 PyObject *resultobj;
35068 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35069 int arg2 ;
35070 PyObject * obj0 = 0 ;
8edf1c75 35071 PyObject * obj1 = 0 ;
d14a1e28
RD
35072 char *kwnames[] = {
35073 (char *) "self",(char *) "mode", NULL
35074 };
35075
8edf1c75 35076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35079 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
35080 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35081 {
35082 PyThreadState* __tstate = wxPyBeginAllowThreads();
35083 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
35084
35085 wxPyEndAllowThreads(__tstate);
35086 if (PyErr_Occurred()) SWIG_fail;
35087 }
35088 Py_INCREF(Py_None); resultobj = Py_None;
35089 return resultobj;
35090 fail:
35091 return NULL;
35092}
35093
35094
2f4c0a16 35095static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35096 PyObject *resultobj;
35097 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35098 int result;
35099 PyObject * obj0 = 0 ;
35100 char *kwnames[] = {
35101 (char *) "self", NULL
35102 };
35103
35104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35107 {
35108 PyThreadState* __tstate = wxPyBeginAllowThreads();
35109 result = (int)(arg1)->GetNonFlexibleGrowMode();
35110
35111 wxPyEndAllowThreads(__tstate);
35112 if (PyErr_Occurred()) SWIG_fail;
35113 }
2f4c0a16 35114 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35115 return resultobj;
35116 fail:
35117 return NULL;
35118}
35119
35120
2f4c0a16 35121static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) {
423f194a
RD
35122 PyObject *resultobj;
35123 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35124 wxArrayInt *result;
35125 PyObject * obj0 = 0 ;
35126 char *kwnames[] = {
35127 (char *) "self", NULL
35128 };
35129
35130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
35133 {
35134 PyThreadState* __tstate = wxPyBeginAllowThreads();
35135 {
35136 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
35137 result = (wxArrayInt *) &_result_ref;
35138 }
35139
35140 wxPyEndAllowThreads(__tstate);
35141 if (PyErr_Occurred()) SWIG_fail;
35142 }
35143 {
35144 resultobj = PyList_New(0);
35145 size_t idx;
35146 for (idx = 0; idx < result->GetCount(); idx += 1) {
35147 PyObject* val = PyInt_FromLong( result->Item(idx) );
35148 PyList_Append(resultobj, val);
35149 Py_DECREF(val);
35150 }
35151 }
35152 return resultobj;
35153 fail:
35154 return NULL;
35155}
35156
35157
2f4c0a16 35158static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) {
423f194a
RD
35159 PyObject *resultobj;
35160 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35161 wxArrayInt *result;
35162 PyObject * obj0 = 0 ;
35163 char *kwnames[] = {
35164 (char *) "self", NULL
35165 };
35166
35167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
35170 {
35171 PyThreadState* __tstate = wxPyBeginAllowThreads();
35172 {
35173 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
35174 result = (wxArrayInt *) &_result_ref;
35175 }
35176
35177 wxPyEndAllowThreads(__tstate);
35178 if (PyErr_Occurred()) SWIG_fail;
35179 }
35180 {
35181 resultobj = PyList_New(0);
35182 size_t idx;
35183 for (idx = 0; idx < result->GetCount(); idx += 1) {
35184 PyObject* val = PyInt_FromLong( result->Item(idx) );
35185 PyList_Append(resultobj, val);
35186 Py_DECREF(val);
35187 }
35188 }
35189 return resultobj;
35190 fail:
35191 return NULL;
35192}
35193
35194
2f4c0a16 35195static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
35196 PyObject *obj;
35197 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35198 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
35199 Py_INCREF(obj);
35200 return Py_BuildValue((char *)"");
35201}
2f4c0a16 35202static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35203 PyObject *resultobj;
35204 int arg1 = (int) 0 ;
35205 int arg2 = (int) 0 ;
35206 wxGBPosition *result;
8edf1c75
RD
35207 PyObject * obj0 = 0 ;
35208 PyObject * obj1 = 0 ;
d14a1e28
RD
35209 char *kwnames[] = {
35210 (char *) "row",(char *) "col", NULL
35211 };
35212
8edf1c75
RD
35213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
35214 if (obj0) {
2f4c0a16
RD
35215 arg1 = (int) SWIG_AsInt(obj0);
35216 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35217 }
35218 if (obj1) {
2f4c0a16
RD
35219 arg2 = (int) SWIG_AsInt(obj1);
35220 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35221 }
d14a1e28
RD
35222 {
35223 PyThreadState* __tstate = wxPyBeginAllowThreads();
35224 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
35225
35226 wxPyEndAllowThreads(__tstate);
35227 if (PyErr_Occurred()) SWIG_fail;
35228 }
2f4c0a16 35229 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
35230 return resultobj;
35231 fail:
35232 return NULL;
35233}
35234
35235
2f4c0a16 35236static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35237 PyObject *resultobj;
35238 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35239 int result;
35240 PyObject * obj0 = 0 ;
35241 char *kwnames[] = {
35242 (char *) "self", NULL
35243 };
35244
35245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35248 {
35249 PyThreadState* __tstate = wxPyBeginAllowThreads();
35250 result = (int)((wxGBPosition const *)arg1)->GetRow();
35251
35252 wxPyEndAllowThreads(__tstate);
35253 if (PyErr_Occurred()) SWIG_fail;
35254 }
2f4c0a16 35255 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35256 return resultobj;
35257 fail:
35258 return NULL;
35259}
35260
35261
2f4c0a16 35262static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35263 PyObject *resultobj;
35264 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35265 int result;
35266 PyObject * obj0 = 0 ;
35267 char *kwnames[] = {
35268 (char *) "self", NULL
35269 };
35270
35271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35274 {
35275 PyThreadState* __tstate = wxPyBeginAllowThreads();
35276 result = (int)((wxGBPosition const *)arg1)->GetCol();
35277
35278 wxPyEndAllowThreads(__tstate);
35279 if (PyErr_Occurred()) SWIG_fail;
35280 }
2f4c0a16 35281 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35282 return resultobj;
35283 fail:
35284 return NULL;
35285}
35286
35287
2f4c0a16 35288static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35289 PyObject *resultobj;
35290 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35291 int arg2 ;
35292 PyObject * obj0 = 0 ;
8edf1c75 35293 PyObject * obj1 = 0 ;
d14a1e28
RD
35294 char *kwnames[] = {
35295 (char *) "self",(char *) "row", NULL
35296 };
35297
8edf1c75 35298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35299 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35301 arg2 = (int) SWIG_AsInt(obj1);
35302 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35303 {
35304 PyThreadState* __tstate = wxPyBeginAllowThreads();
35305 (arg1)->SetRow(arg2);
35306
35307 wxPyEndAllowThreads(__tstate);
35308 if (PyErr_Occurred()) SWIG_fail;
35309 }
35310 Py_INCREF(Py_None); resultobj = Py_None;
35311 return resultobj;
35312 fail:
35313 return NULL;
35314}
35315
35316
2f4c0a16 35317static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35318 PyObject *resultobj;
35319 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35320 int arg2 ;
35321 PyObject * obj0 = 0 ;
8edf1c75 35322 PyObject * obj1 = 0 ;
d14a1e28
RD
35323 char *kwnames[] = {
35324 (char *) "self",(char *) "col", NULL
35325 };
35326
8edf1c75 35327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35330 arg2 = (int) SWIG_AsInt(obj1);
35331 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35332 {
35333 PyThreadState* __tstate = wxPyBeginAllowThreads();
35334 (arg1)->SetCol(arg2);
35335
35336 wxPyEndAllowThreads(__tstate);
35337 if (PyErr_Occurred()) SWIG_fail;
35338 }
35339 Py_INCREF(Py_None); resultobj = Py_None;
35340 return resultobj;
35341 fail:
35342 return NULL;
35343}
35344
35345
2f4c0a16 35346static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35347 PyObject *resultobj;
35348 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
38f59159 35349 wxGBPosition *arg2 = (wxGBPosition *) 0 ;
d14a1e28 35350 bool result;
d14a1e28
RD
35351 PyObject * obj0 = 0 ;
35352 PyObject * obj1 = 0 ;
35353 char *kwnames[] = {
38f59159 35354 (char *) "self",(char *) "other", NULL
d14a1e28
RD
35355 };
35356
35357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBPosition,
35361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35362 {
35363 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 35364 result = (bool)wxGBPosition___eq__(arg1,(wxGBPosition const *)arg2);
d14a1e28
RD
35365
35366 wxPyEndAllowThreads(__tstate);
35367 if (PyErr_Occurred()) SWIG_fail;
35368 }
02a34c4c 35369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35370 return resultobj;
35371 fail:
35372 return NULL;
35373}
35374
35375
2f4c0a16 35376static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35377 PyObject *resultobj;
35378 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
38f59159 35379 wxGBPosition *arg2 = (wxGBPosition *) 0 ;
d14a1e28 35380 bool result;
d14a1e28
RD
35381 PyObject * obj0 = 0 ;
35382 PyObject * obj1 = 0 ;
35383 char *kwnames[] = {
38f59159 35384 (char *) "self",(char *) "other", NULL
d14a1e28
RD
35385 };
35386
35387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBPosition,
35391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35392 {
35393 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 35394 result = (bool)wxGBPosition___ne__(arg1,(wxGBPosition const *)arg2);
d14a1e28
RD
35395
35396 wxPyEndAllowThreads(__tstate);
35397 if (PyErr_Occurred()) SWIG_fail;
35398 }
02a34c4c 35399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35400 return resultobj;
35401 fail:
35402 return NULL;
35403}
35404
35405
2f4c0a16 35406static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) {
423f194a
RD
35407 PyObject *resultobj;
35408 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35409 int arg2 = (int) 0 ;
35410 int arg3 = (int) 0 ;
35411 PyObject * obj0 = 0 ;
8edf1c75
RD
35412 PyObject * obj1 = 0 ;
35413 PyObject * obj2 = 0 ;
423f194a
RD
35414 char *kwnames[] = {
35415 (char *) "self",(char *) "row",(char *) "col", NULL
35416 };
35417
8edf1c75 35418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
35419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 35421 if (obj1) {
2f4c0a16
RD
35422 arg2 = (int) SWIG_AsInt(obj1);
35423 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35424 }
35425 if (obj2) {
2f4c0a16
RD
35426 arg3 = (int) SWIG_AsInt(obj2);
35427 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35428 }
423f194a
RD
35429 {
35430 PyThreadState* __tstate = wxPyBeginAllowThreads();
35431 wxGBPosition_Set(arg1,arg2,arg3);
35432
35433 wxPyEndAllowThreads(__tstate);
35434 if (PyErr_Occurred()) SWIG_fail;
35435 }
35436 Py_INCREF(Py_None); resultobj = Py_None;
35437 return resultobj;
35438 fail:
35439 return NULL;
35440}
35441
35442
2f4c0a16 35443static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35444 PyObject *resultobj;
35445 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35446 PyObject *result;
35447 PyObject * obj0 = 0 ;
35448 char *kwnames[] = {
35449 (char *) "self", NULL
35450 };
35451
423f194a 35452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35455 {
35456 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 35457 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
35458
35459 wxPyEndAllowThreads(__tstate);
35460 if (PyErr_Occurred()) SWIG_fail;
35461 }
35462 resultobj = result;
35463 return resultobj;
35464 fail:
35465 return NULL;
35466}
35467
35468
2f4c0a16 35469static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
35470 PyObject *obj;
35471 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35472 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
35473 Py_INCREF(obj);
35474 return Py_BuildValue((char *)"");
35475}
2f4c0a16 35476static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35477 PyObject *resultobj;
35478 int arg1 = (int) 1 ;
35479 int arg2 = (int) 1 ;
35480 wxGBSpan *result;
8edf1c75
RD
35481 PyObject * obj0 = 0 ;
35482 PyObject * obj1 = 0 ;
d14a1e28
RD
35483 char *kwnames[] = {
35484 (char *) "rowspan",(char *) "colspan", NULL
35485 };
35486
8edf1c75
RD
35487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
35488 if (obj0) {
2f4c0a16
RD
35489 arg1 = (int) SWIG_AsInt(obj0);
35490 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35491 }
35492 if (obj1) {
2f4c0a16
RD
35493 arg2 = (int) SWIG_AsInt(obj1);
35494 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35495 }
d14a1e28
RD
35496 {
35497 PyThreadState* __tstate = wxPyBeginAllowThreads();
35498 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
35499
35500 wxPyEndAllowThreads(__tstate);
35501 if (PyErr_Occurred()) SWIG_fail;
35502 }
2f4c0a16 35503 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
35504 return resultobj;
35505 fail:
35506 return NULL;
35507}
35508
35509
2f4c0a16 35510static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35511 PyObject *resultobj;
35512 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35513 int result;
35514 PyObject * obj0 = 0 ;
35515 char *kwnames[] = {
35516 (char *) "self", NULL
35517 };
35518
35519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35522 {
35523 PyThreadState* __tstate = wxPyBeginAllowThreads();
35524 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
35525
35526 wxPyEndAllowThreads(__tstate);
35527 if (PyErr_Occurred()) SWIG_fail;
35528 }
2f4c0a16 35529 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35530 return resultobj;
35531 fail:
35532 return NULL;
35533}
35534
35535
2f4c0a16 35536static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35537 PyObject *resultobj;
35538 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35539 int result;
35540 PyObject * obj0 = 0 ;
35541 char *kwnames[] = {
35542 (char *) "self", NULL
35543 };
35544
35545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35548 {
35549 PyThreadState* __tstate = wxPyBeginAllowThreads();
35550 result = (int)((wxGBSpan const *)arg1)->GetColspan();
35551
35552 wxPyEndAllowThreads(__tstate);
35553 if (PyErr_Occurred()) SWIG_fail;
35554 }
2f4c0a16 35555 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35556 return resultobj;
35557 fail:
35558 return NULL;
35559}
35560
35561
2f4c0a16 35562static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35563 PyObject *resultobj;
35564 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35565 int arg2 ;
35566 PyObject * obj0 = 0 ;
8edf1c75 35567 PyObject * obj1 = 0 ;
d14a1e28
RD
35568 char *kwnames[] = {
35569 (char *) "self",(char *) "rowspan", NULL
35570 };
35571
8edf1c75 35572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35575 arg2 = (int) SWIG_AsInt(obj1);
35576 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35577 {
35578 PyThreadState* __tstate = wxPyBeginAllowThreads();
35579 (arg1)->SetRowspan(arg2);
35580
35581 wxPyEndAllowThreads(__tstate);
35582 if (PyErr_Occurred()) SWIG_fail;
35583 }
35584 Py_INCREF(Py_None); resultobj = Py_None;
35585 return resultobj;
35586 fail:
35587 return NULL;
35588}
35589
35590
2f4c0a16 35591static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35592 PyObject *resultobj;
35593 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35594 int arg2 ;
35595 PyObject * obj0 = 0 ;
8edf1c75 35596 PyObject * obj1 = 0 ;
d14a1e28
RD
35597 char *kwnames[] = {
35598 (char *) "self",(char *) "colspan", NULL
35599 };
35600
8edf1c75 35601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35604 arg2 = (int) SWIG_AsInt(obj1);
35605 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35606 {
35607 PyThreadState* __tstate = wxPyBeginAllowThreads();
35608 (arg1)->SetColspan(arg2);
35609
35610 wxPyEndAllowThreads(__tstate);
35611 if (PyErr_Occurred()) SWIG_fail;
35612 }
35613 Py_INCREF(Py_None); resultobj = Py_None;
35614 return resultobj;
35615 fail:
35616 return NULL;
35617}
35618
35619
2f4c0a16 35620static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35621 PyObject *resultobj;
35622 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
38f59159 35623 wxGBSpan *arg2 = (wxGBSpan *) 0 ;
d14a1e28 35624 bool result;
d14a1e28
RD
35625 PyObject * obj0 = 0 ;
35626 PyObject * obj1 = 0 ;
35627 char *kwnames[] = {
38f59159 35628 (char *) "self",(char *) "other", NULL
d14a1e28
RD
35629 };
35630
35631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSpan,
35635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35636 {
35637 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 35638 result = (bool)wxGBSpan___eq__(arg1,(wxGBSpan const *)arg2);
d14a1e28
RD
35639
35640 wxPyEndAllowThreads(__tstate);
35641 if (PyErr_Occurred()) SWIG_fail;
35642 }
02a34c4c 35643 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35644 return resultobj;
35645 fail:
35646 return NULL;
35647}
35648
35649
2f4c0a16 35650static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35651 PyObject *resultobj;
35652 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
38f59159 35653 wxGBSpan *arg2 = (wxGBSpan *) 0 ;
d14a1e28 35654 bool result;
d14a1e28
RD
35655 PyObject * obj0 = 0 ;
35656 PyObject * obj1 = 0 ;
35657 char *kwnames[] = {
38f59159 35658 (char *) "self",(char *) "other", NULL
d14a1e28
RD
35659 };
35660
35661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSpan,
35665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35666 {
35667 PyThreadState* __tstate = wxPyBeginAllowThreads();
38f59159 35668 result = (bool)wxGBSpan___ne__(arg1,(wxGBSpan const *)arg2);
d14a1e28
RD
35669
35670 wxPyEndAllowThreads(__tstate);
35671 if (PyErr_Occurred()) SWIG_fail;
35672 }
02a34c4c 35673 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35674 return resultobj;
35675 fail:
35676 return NULL;
35677}
35678
35679
2f4c0a16 35680static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) {
423f194a
RD
35681 PyObject *resultobj;
35682 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35683 int arg2 = (int) 1 ;
35684 int arg3 = (int) 1 ;
35685 PyObject * obj0 = 0 ;
8edf1c75
RD
35686 PyObject * obj1 = 0 ;
35687 PyObject * obj2 = 0 ;
423f194a
RD
35688 char *kwnames[] = {
35689 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
35690 };
35691
8edf1c75 35692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
35693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 35695 if (obj1) {
2f4c0a16
RD
35696 arg2 = (int) SWIG_AsInt(obj1);
35697 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35698 }
35699 if (obj2) {
2f4c0a16
RD
35700 arg3 = (int) SWIG_AsInt(obj2);
35701 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35702 }
423f194a
RD
35703 {
35704 PyThreadState* __tstate = wxPyBeginAllowThreads();
35705 wxGBSpan_Set(arg1,arg2,arg3);
35706
35707 wxPyEndAllowThreads(__tstate);
35708 if (PyErr_Occurred()) SWIG_fail;
35709 }
35710 Py_INCREF(Py_None); resultobj = Py_None;
35711 return resultobj;
35712 fail:
35713 return NULL;
35714}
35715
35716
2f4c0a16 35717static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35718 PyObject *resultobj;
35719 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35720 PyObject *result;
35721 PyObject * obj0 = 0 ;
35722 char *kwnames[] = {
35723 (char *) "self", NULL
35724 };
35725
423f194a 35726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35729 {
35730 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 35731 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
35732
35733 wxPyEndAllowThreads(__tstate);
35734 if (PyErr_Occurred()) SWIG_fail;
35735 }
35736 resultobj = result;
35737 return resultobj;
35738 fail:
35739 return NULL;
35740}
35741
35742
2f4c0a16 35743static PyObject * GBSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
35744 PyObject *obj;
35745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35746 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
35747 Py_INCREF(obj);
35748 return Py_BuildValue((char *)"");
35749}
8edf1c75 35750static int _wrap_DefaultSpan_set(PyObject *) {
d14a1e28
RD
35751 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
35752 return 1;
35753}
35754
35755
35756static PyObject *_wrap_DefaultSpan_get() {
35757 PyObject *pyobj;
35758
2f4c0a16 35759 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
35760 return pyobj;
35761}
35762
35763
2f4c0a16 35764static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35765 PyObject *resultobj;
35766 wxGBSizerItem *result;
35767 char *kwnames[] = {
35768 NULL
35769 };
35770
35771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
35772 {
35773 PyThreadState* __tstate = wxPyBeginAllowThreads();
35774 result = (wxGBSizerItem *)new wxGBSizerItem();
35775
35776 wxPyEndAllowThreads(__tstate);
35777 if (PyErr_Occurred()) SWIG_fail;
35778 }
2f4c0a16 35779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
35780 return resultobj;
35781 fail:
35782 return NULL;
35783}
35784
35785
2f4c0a16 35786static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35787 PyObject *resultobj;
35788 wxWindow *arg1 = (wxWindow *) 0 ;
35789 wxGBPosition *arg2 = 0 ;
35790 wxGBSpan *arg3 = 0 ;
35791 int arg4 ;
35792 int arg5 ;
35793 wxObject *arg6 = (wxObject *) 0 ;
35794 wxGBSizerItem *result;
35795 wxGBPosition temp2 ;
35796 wxGBSpan temp3 ;
35797 PyObject * obj0 = 0 ;
35798 PyObject * obj1 = 0 ;
35799 PyObject * obj2 = 0 ;
8edf1c75
RD
35800 PyObject * obj3 = 0 ;
35801 PyObject * obj4 = 0 ;
d14a1e28
RD
35802 PyObject * obj5 = 0 ;
35803 char *kwnames[] = {
35804 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35805 };
35806
8edf1c75 35807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
35808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
35809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35810 {
35811 arg2 = &temp2;
35812 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
35813 }
35814 {
35815 arg3 = &temp3;
35816 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
35817 }
2f4c0a16
RD
35818 arg4 = (int) SWIG_AsInt(obj3);
35819 if (PyErr_Occurred()) SWIG_fail;
35820 arg5 = (int) SWIG_AsInt(obj4);
35821 if (PyErr_Occurred()) SWIG_fail;
35822 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
35823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35824 {
35825 PyThreadState* __tstate = wxPyBeginAllowThreads();
35826 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
35827
35828 wxPyEndAllowThreads(__tstate);
35829 if (PyErr_Occurred()) SWIG_fail;
35830 }
2f4c0a16 35831 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
35832 return resultobj;
35833 fail:
35834 return NULL;
35835}
35836
35837
2f4c0a16 35838static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35839 PyObject *resultobj;
35840 wxSizer *arg1 = (wxSizer *) 0 ;
35841 wxGBPosition *arg2 = 0 ;
35842 wxGBSpan *arg3 = 0 ;
35843 int arg4 ;
35844 int arg5 ;
35845 wxObject *arg6 = (wxObject *) 0 ;
35846 wxGBSizerItem *result;
35847 wxGBPosition temp2 ;
35848 wxGBSpan temp3 ;
35849 PyObject * obj0 = 0 ;
35850 PyObject * obj1 = 0 ;
35851 PyObject * obj2 = 0 ;
8edf1c75
RD
35852 PyObject * obj3 = 0 ;
35853 PyObject * obj4 = 0 ;
d14a1e28
RD
35854 PyObject * obj5 = 0 ;
35855 char *kwnames[] = {
35856 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35857 };
35858
8edf1c75 35859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
35860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35862 {
35863 arg2 = &temp2;
35864 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
35865 }
35866 {
35867 arg3 = &temp3;
35868 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
35869 }
2f4c0a16
RD
35870 arg4 = (int) SWIG_AsInt(obj3);
35871 if (PyErr_Occurred()) SWIG_fail;
35872 arg5 = (int) SWIG_AsInt(obj4);
35873 if (PyErr_Occurred()) SWIG_fail;
35874 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
35875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35876 {
35877 PyThreadState* __tstate = wxPyBeginAllowThreads();
35878 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
35879
35880 wxPyEndAllowThreads(__tstate);
35881 if (PyErr_Occurred()) SWIG_fail;
35882 }
2f4c0a16 35883 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
35884 return resultobj;
35885 fail:
35886 return NULL;
35887}
35888
35889
2f4c0a16 35890static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35891 PyObject *resultobj;
35892 int arg1 ;
35893 int arg2 ;
35894 wxGBPosition *arg3 = 0 ;
35895 wxGBSpan *arg4 = 0 ;
35896 int arg5 ;
35897 int arg6 ;
35898 wxObject *arg7 = (wxObject *) 0 ;
35899 wxGBSizerItem *result;
35900 wxGBPosition temp3 ;
35901 wxGBSpan temp4 ;
8edf1c75
RD
35902 PyObject * obj0 = 0 ;
35903 PyObject * obj1 = 0 ;
d14a1e28
RD
35904 PyObject * obj2 = 0 ;
35905 PyObject * obj3 = 0 ;
8edf1c75
RD
35906 PyObject * obj4 = 0 ;
35907 PyObject * obj5 = 0 ;
d14a1e28
RD
35908 PyObject * obj6 = 0 ;
35909 char *kwnames[] = {
35910 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35911 };
35912
8edf1c75 35913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
35914 arg1 = (int) SWIG_AsInt(obj0);
35915 if (PyErr_Occurred()) SWIG_fail;
35916 arg2 = (int) SWIG_AsInt(obj1);
35917 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35918 {
35919 arg3 = &temp3;
35920 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
35921 }
35922 {
35923 arg4 = &temp4;
35924 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
35925 }
2f4c0a16
RD
35926 arg5 = (int) SWIG_AsInt(obj4);
35927 if (PyErr_Occurred()) SWIG_fail;
35928 arg6 = (int) SWIG_AsInt(obj5);
35929 if (PyErr_Occurred()) SWIG_fail;
35930 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxObject,
35931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35932 {
35933 PyThreadState* __tstate = wxPyBeginAllowThreads();
35934 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
35935
35936 wxPyEndAllowThreads(__tstate);
35937 if (PyErr_Occurred()) SWIG_fail;
35938 }
2f4c0a16 35939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
35940 return resultobj;
35941 fail:
35942 return NULL;
35943}
35944
35945
2f4c0a16 35946static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35947 PyObject *resultobj;
35948 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
35949 wxGBPosition result;
35950 PyObject * obj0 = 0 ;
35951 char *kwnames[] = {
35952 (char *) "self", NULL
35953 };
35954
35955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
35957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35958 {
35959 PyThreadState* __tstate = wxPyBeginAllowThreads();
35960 result = ((wxGBSizerItem const *)arg1)->GetPos();
35961
35962 wxPyEndAllowThreads(__tstate);
35963 if (PyErr_Occurred()) SWIG_fail;
35964 }
35965 {
35966 wxGBPosition * resultptr;
35967 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 35968 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
35969 }
35970 return resultobj;
35971 fail:
35972 return NULL;
35973}
35974
35975
2f4c0a16 35976static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35977 PyObject *resultobj;
35978 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
35979 wxGBSpan result;
35980 PyObject * obj0 = 0 ;
35981 char *kwnames[] = {
35982 (char *) "self", NULL
35983 };
35984
35985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
35987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35988 {
35989 PyThreadState* __tstate = wxPyBeginAllowThreads();
35990 result = ((wxGBSizerItem const *)arg1)->GetSpan();
35991
35992 wxPyEndAllowThreads(__tstate);
35993 if (PyErr_Occurred()) SWIG_fail;
35994 }
35995 {
35996 wxGBSpan * resultptr;
35997 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 35998 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
35999 }
36000 return resultobj;
36001 fail:
36002 return NULL;
36003}
36004
36005
2f4c0a16 36006static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36007 PyObject *resultobj;
36008 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36009 wxGBPosition *arg2 = 0 ;
36010 bool result;
36011 wxGBPosition temp2 ;
36012 PyObject * obj0 = 0 ;
36013 PyObject * obj1 = 0 ;
36014 char *kwnames[] = {
36015 (char *) "self",(char *) "pos", NULL
36016 };
36017
36018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36021 {
36022 arg2 = &temp2;
36023 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36024 }
36025 {
36026 PyThreadState* __tstate = wxPyBeginAllowThreads();
36027 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
36028
36029 wxPyEndAllowThreads(__tstate);
36030 if (PyErr_Occurred()) SWIG_fail;
36031 }
02a34c4c 36032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36033 return resultobj;
36034 fail:
36035 return NULL;
36036}
36037
36038
2f4c0a16 36039static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36040 PyObject *resultobj;
36041 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36042 wxGBSpan *arg2 = 0 ;
36043 bool result;
36044 wxGBSpan temp2 ;
36045 PyObject * obj0 = 0 ;
36046 PyObject * obj1 = 0 ;
36047 char *kwnames[] = {
36048 (char *) "self",(char *) "span", NULL
36049 };
36050
36051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36054 {
36055 arg2 = &temp2;
36056 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36057 }
36058 {
36059 PyThreadState* __tstate = wxPyBeginAllowThreads();
36060 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
36061
36062 wxPyEndAllowThreads(__tstate);
36063 if (PyErr_Occurred()) SWIG_fail;
36064 }
02a34c4c 36065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36066 return resultobj;
36067 fail:
36068 return NULL;
36069}
36070
36071
2f4c0a16 36072static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
36073 PyObject *resultobj;
36074 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36075 wxGBSizerItem *arg2 = 0 ;
36076 bool result;
36077 PyObject * obj0 = 0 ;
36078 PyObject * obj1 = 0 ;
36079
36080 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
2f4c0a16
RD
36081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
36084 SWIG_POINTER_EXCEPTION | 0)) == -1)
36085 SWIG_fail;
d14a1e28 36086 if (arg2 == NULL) {
2f4c0a16
RD
36087 PyErr_SetString(PyExc_TypeError,"null reference");
36088 SWIG_fail;
d14a1e28
RD
36089 }
36090 {
36091 PyThreadState* __tstate = wxPyBeginAllowThreads();
36092 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
36093
36094 wxPyEndAllowThreads(__tstate);
36095 if (PyErr_Occurred()) SWIG_fail;
36096 }
02a34c4c 36097 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36098 return resultobj;
36099 fail:
36100 return NULL;
36101}
36102
36103
2f4c0a16 36104static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
36105 PyObject *resultobj;
36106 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36107 wxGBPosition *arg2 = 0 ;
36108 wxGBSpan *arg3 = 0 ;
36109 bool result;
36110 wxGBPosition temp2 ;
36111 wxGBSpan temp3 ;
36112 PyObject * obj0 = 0 ;
36113 PyObject * obj1 = 0 ;
36114 PyObject * obj2 = 0 ;
36115
36116 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36119 {
36120 arg2 = &temp2;
36121 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36122 }
36123 {
36124 arg3 = &temp3;
36125 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36126 }
36127 {
36128 PyThreadState* __tstate = wxPyBeginAllowThreads();
36129 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
36130
36131 wxPyEndAllowThreads(__tstate);
36132 if (PyErr_Occurred()) SWIG_fail;
36133 }
02a34c4c 36134 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36135 return resultobj;
36136 fail:
36137 return NULL;
36138}
36139
36140
36141static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
36142 int argc;
36143 PyObject *argv[4];
36144 int ii;
36145
36146 argc = PyObject_Length(args);
36147 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
36148 argv[ii] = PyTuple_GetItem(args,ii);
36149 }
36150 if (argc == 2) {
36151 int _v;
36152 {
36153 void *ptr;
2f4c0a16 36154 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
36155 _v = 0;
36156 PyErr_Clear();
36157 } else {
36158 _v = 1;
36159 }
36160 }
36161 if (_v) {
36162 {
36163 void *ptr;
2f4c0a16 36164 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
36165 _v = 0;
36166 PyErr_Clear();
36167 } else {
36168 _v = 1;
36169 }
36170 }
36171 if (_v) {
36172 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
36173 }
36174 }
36175 }
36176 if (argc == 3) {
36177 int _v;
36178 {
36179 void *ptr;
2f4c0a16 36180 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
36181 _v = 0;
36182 PyErr_Clear();
36183 } else {
36184 _v = 1;
36185 }
36186 }
36187 if (_v) {
36188 {
36189 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
36190 }
36191 if (_v) {
36192 {
36193 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
36194 }
36195 if (_v) {
36196 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
36197 }
36198 }
36199 }
36200 }
36201
36202 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
36203 return NULL;
36204}
36205
36206
2f4c0a16 36207static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36208 PyObject *resultobj;
36209 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36210 int *arg2 = 0 ;
36211 int *arg3 = 0 ;
36212 PyObject * obj0 = 0 ;
36213 PyObject * obj1 = 0 ;
36214 PyObject * obj2 = 0 ;
36215 char *kwnames[] = {
36216 (char *) "self",(char *) "row",(char *) "col", NULL
36217 };
36218
36219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36222 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,
36223 SWIG_POINTER_EXCEPTION | 0)) == -1)
36224 SWIG_fail;
d14a1e28 36225 if (arg2 == NULL) {
2f4c0a16
RD
36226 PyErr_SetString(PyExc_TypeError,"null reference");
36227 SWIG_fail;
d14a1e28 36228 }
2f4c0a16
RD
36229 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,
36230 SWIG_POINTER_EXCEPTION | 0)) == -1)
36231 SWIG_fail;
d14a1e28 36232 if (arg3 == NULL) {
2f4c0a16
RD
36233 PyErr_SetString(PyExc_TypeError,"null reference");
36234 SWIG_fail;
d14a1e28
RD
36235 }
36236 {
36237 PyThreadState* __tstate = wxPyBeginAllowThreads();
36238 (arg1)->GetEndPos(*arg2,*arg3);
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
2f4c0a16 36250static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36251 PyObject *resultobj;
36252 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36253 wxGridBagSizer *result;
36254 PyObject * obj0 = 0 ;
36255 char *kwnames[] = {
36256 (char *) "self", NULL
36257 };
36258
36259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36262 {
36263 PyThreadState* __tstate = wxPyBeginAllowThreads();
36264 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
36265
36266 wxPyEndAllowThreads(__tstate);
36267 if (PyErr_Occurred()) SWIG_fail;
36268 }
2f4c0a16 36269 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
36270 return resultobj;
36271 fail:
36272 return NULL;
36273}
36274
36275
2f4c0a16 36276static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36277 PyObject *resultobj;
36278 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36279 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
36280 PyObject * obj0 = 0 ;
36281 PyObject * obj1 = 0 ;
36282 char *kwnames[] = {
36283 (char *) "self",(char *) "sizer", NULL
36284 };
36285
36286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36289 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
36290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36291 {
36292 PyThreadState* __tstate = wxPyBeginAllowThreads();
36293 (arg1)->SetGBSizer(arg2);
36294
36295 wxPyEndAllowThreads(__tstate);
36296 if (PyErr_Occurred()) SWIG_fail;
36297 }
36298 Py_INCREF(Py_None); resultobj = Py_None;
36299 return resultobj;
36300 fail:
36301 return NULL;
36302}
36303
36304
2f4c0a16 36305static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36306 PyObject *obj;
36307 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36308 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
36309 Py_INCREF(obj);
36310 return Py_BuildValue((char *)"");
36311}
2f4c0a16 36312static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36313 PyObject *resultobj;
36314 int arg1 = (int) 0 ;
36315 int arg2 = (int) 0 ;
36316 wxGridBagSizer *result;
8edf1c75
RD
36317 PyObject * obj0 = 0 ;
36318 PyObject * obj1 = 0 ;
d14a1e28
RD
36319 char *kwnames[] = {
36320 (char *) "vgap",(char *) "hgap", NULL
36321 };
36322
8edf1c75
RD
36323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
36324 if (obj0) {
2f4c0a16
RD
36325 arg1 = (int) SWIG_AsInt(obj0);
36326 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36327 }
36328 if (obj1) {
2f4c0a16
RD
36329 arg2 = (int) SWIG_AsInt(obj1);
36330 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36331 }
d14a1e28
RD
36332 {
36333 PyThreadState* __tstate = wxPyBeginAllowThreads();
36334 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
36335
36336 wxPyEndAllowThreads(__tstate);
36337 if (PyErr_Occurred()) SWIG_fail;
36338 }
2f4c0a16 36339 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
36340 return resultobj;
36341 fail:
36342 return NULL;
36343}
36344
36345
2f4c0a16 36346static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36347 PyObject *resultobj;
36348 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36349 PyObject *arg2 = (PyObject *) 0 ;
36350 wxGBPosition *arg3 = 0 ;
36351 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
36352 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
36353 int arg5 = (int) 0 ;
36354 int arg6 = (int) 0 ;
36355 PyObject *arg7 = (PyObject *) NULL ;
36356 bool result;
36357 wxGBPosition temp3 ;
36358 wxGBSpan temp4 ;
36359 PyObject * obj0 = 0 ;
36360 PyObject * obj1 = 0 ;
36361 PyObject * obj2 = 0 ;
36362 PyObject * obj3 = 0 ;
8edf1c75
RD
36363 PyObject * obj4 = 0 ;
36364 PyObject * obj5 = 0 ;
d14a1e28
RD
36365 PyObject * obj6 = 0 ;
36366 char *kwnames[] = {
36367 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36368 };
36369
8edf1c75 36370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
36371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36373 arg2 = obj1;
36374 {
36375 arg3 = &temp3;
36376 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36377 }
36378 if (obj3) {
36379 {
36380 arg4 = &temp4;
36381 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
36382 }
36383 }
8edf1c75 36384 if (obj4) {
2f4c0a16
RD
36385 arg5 = (int) SWIG_AsInt(obj4);
36386 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36387 }
36388 if (obj5) {
2f4c0a16
RD
36389 arg6 = (int) SWIG_AsInt(obj5);
36390 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36391 }
d14a1e28
RD
36392 if (obj6) {
36393 arg7 = obj6;
36394 }
36395 {
36396 PyThreadState* __tstate = wxPyBeginAllowThreads();
36397 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
36398
36399 wxPyEndAllowThreads(__tstate);
36400 if (PyErr_Occurred()) SWIG_fail;
36401 }
02a34c4c 36402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36403 return resultobj;
36404 fail:
36405 return NULL;
36406}
36407
36408
2f4c0a16 36409static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36410 PyObject *resultobj;
36411 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36412 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
36413 bool result;
36414 PyObject * obj0 = 0 ;
36415 PyObject * obj1 = 0 ;
36416 char *kwnames[] = {
36417 (char *) "self",(char *) "item", NULL
36418 };
36419
36420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
36424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36425 {
36426 PyThreadState* __tstate = wxPyBeginAllowThreads();
36427 result = (bool)(arg1)->Add(arg2);
36428
36429 wxPyEndAllowThreads(__tstate);
36430 if (PyErr_Occurred()) SWIG_fail;
36431 }
02a34c4c 36432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36433 return resultobj;
36434 fail:
36435 return NULL;
36436}
36437
36438
2f4c0a16 36439static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36440 PyObject *resultobj;
36441 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36442 wxSize result;
36443 PyObject * obj0 = 0 ;
36444 char *kwnames[] = {
36445 (char *) "self", NULL
36446 };
36447
36448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36451 {
36452 PyThreadState* __tstate = wxPyBeginAllowThreads();
36453 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
36454
36455 wxPyEndAllowThreads(__tstate);
36456 if (PyErr_Occurred()) SWIG_fail;
36457 }
36458 {
36459 wxSize * resultptr;
36460 resultptr = new wxSize((wxSize &) result);
2f4c0a16 36461 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36462 }
36463 return resultobj;
36464 fail:
36465 return NULL;
36466}
36467
36468
2f4c0a16 36469static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36470 PyObject *resultobj;
36471 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36472 wxSize *arg2 = 0 ;
36473 wxSize temp2 ;
36474 PyObject * obj0 = 0 ;
36475 PyObject * obj1 = 0 ;
36476 char *kwnames[] = {
36477 (char *) "self",(char *) "sz", NULL
36478 };
36479
36480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36483 {
36484 arg2 = &temp2;
36485 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
36486 }
36487 {
36488 PyThreadState* __tstate = wxPyBeginAllowThreads();
36489 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
36490
36491 wxPyEndAllowThreads(__tstate);
36492 if (PyErr_Occurred()) SWIG_fail;
36493 }
36494 Py_INCREF(Py_None); resultobj = Py_None;
36495 return resultobj;
36496 fail:
36497 return NULL;
36498}
36499
36500
2f4c0a16 36501static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
36502 PyObject *resultobj;
36503 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36504 wxWindow *arg2 = (wxWindow *) 0 ;
36505 wxGBPosition result;
36506 PyObject * obj0 = 0 ;
36507 PyObject * obj1 = 0 ;
36508
36509 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
2f4c0a16
RD
36510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36514 {
36515 PyThreadState* __tstate = wxPyBeginAllowThreads();
36516 result = (arg1)->GetItemPosition(arg2);
36517
36518 wxPyEndAllowThreads(__tstate);
36519 if (PyErr_Occurred()) SWIG_fail;
36520 }
36521 {
36522 wxGBPosition * resultptr;
36523 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 36524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36525 }
36526 return resultobj;
36527 fail:
36528 return NULL;
36529}
36530
36531
2f4c0a16 36532static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
36533 PyObject *resultobj;
36534 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36535 wxSizer *arg2 = (wxSizer *) 0 ;
36536 wxGBPosition result;
36537 PyObject * obj0 = 0 ;
36538 PyObject * obj1 = 0 ;
36539
36540 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
2f4c0a16
RD
36541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
36544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36545 {
36546 PyThreadState* __tstate = wxPyBeginAllowThreads();
36547 result = (arg1)->GetItemPosition(arg2);
36548
36549 wxPyEndAllowThreads(__tstate);
36550 if (PyErr_Occurred()) SWIG_fail;
36551 }
36552 {
36553 wxGBPosition * resultptr;
36554 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 36555 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36556 }
36557 return resultobj;
36558 fail:
36559 return NULL;
36560}
36561
36562
2f4c0a16 36563static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
36564 PyObject *resultobj;
36565 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36566 size_t arg2 ;
36567 wxGBPosition result;
36568 PyObject * obj0 = 0 ;
36569 PyObject * obj1 = 0 ;
36570
36571 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
2f4c0a16
RD
36572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36574 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36575 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36576 {
36577 PyThreadState* __tstate = wxPyBeginAllowThreads();
36578 result = (arg1)->GetItemPosition(arg2);
36579
36580 wxPyEndAllowThreads(__tstate);
36581 if (PyErr_Occurred()) SWIG_fail;
36582 }
36583 {
36584 wxGBPosition * resultptr;
36585 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 36586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36587 }
36588 return resultobj;
36589 fail:
36590 return NULL;
36591}
36592
36593
36594static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
36595 int argc;
36596 PyObject *argv[3];
36597 int ii;
36598
36599 argc = PyObject_Length(args);
36600 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
36601 argv[ii] = PyTuple_GetItem(args,ii);
36602 }
36603 if (argc == 2) {
36604 int _v;
36605 {
36606 void *ptr;
2f4c0a16 36607 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
36608 _v = 0;
36609 PyErr_Clear();
36610 } else {
36611 _v = 1;
36612 }
36613 }
36614 if (_v) {
36615 {
36616 void *ptr;
2f4c0a16 36617 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
36618 _v = 0;
36619 PyErr_Clear();
36620 } else {
36621 _v = 1;
36622 }
36623 }
36624 if (_v) {
36625 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
36626 }
36627 }
36628 }
36629 if (argc == 2) {
36630 int _v;
36631 {
36632 void *ptr;
2f4c0a16 36633 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
36634 _v = 0;
36635 PyErr_Clear();
36636 } else {
36637 _v = 1;
36638 }
36639 }
36640 if (_v) {
36641 {
36642 void *ptr;
2f4c0a16 36643 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
36644 _v = 0;
36645 PyErr_Clear();
36646 } else {
36647 _v = 1;
36648 }
36649 }
36650 if (_v) {
36651 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
36652 }
36653 }
36654 }
36655 if (argc == 2) {
36656 int _v;
36657 {
36658 void *ptr;
2f4c0a16 36659 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
36660 _v = 0;
36661 PyErr_Clear();
36662 } else {
36663 _v = 1;
36664 }
36665 }
36666 if (_v) {
2f4c0a16 36667 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
36668 if (_v) {
36669 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
36670 }
36671 }
36672 }
36673
36674 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
36675 return NULL;
36676}
36677
36678
2f4c0a16 36679static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
36680 PyObject *resultobj;
36681 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36682 wxWindow *arg2 = (wxWindow *) 0 ;
36683 wxGBPosition *arg3 = 0 ;
36684 bool result;
36685 wxGBPosition temp3 ;
36686 PyObject * obj0 = 0 ;
36687 PyObject * obj1 = 0 ;
36688 PyObject * obj2 = 0 ;
36689
36690 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36695 {
36696 arg3 = &temp3;
36697 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36698 }
36699 {
36700 PyThreadState* __tstate = wxPyBeginAllowThreads();
36701 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
36702
36703 wxPyEndAllowThreads(__tstate);
36704 if (PyErr_Occurred()) SWIG_fail;
36705 }
02a34c4c 36706 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36707 return resultobj;
36708 fail:
36709 return NULL;
36710}
36711
36712
2f4c0a16 36713static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
36714 PyObject *resultobj;
36715 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36716 wxSizer *arg2 = (wxSizer *) 0 ;
36717 wxGBPosition *arg3 = 0 ;
36718 bool result;
36719 wxGBPosition temp3 ;
36720 PyObject * obj0 = 0 ;
36721 PyObject * obj1 = 0 ;
36722 PyObject * obj2 = 0 ;
36723
36724 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
36728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36729 {
36730 arg3 = &temp3;
36731 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36732 }
36733 {
36734 PyThreadState* __tstate = wxPyBeginAllowThreads();
36735 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
36736
36737 wxPyEndAllowThreads(__tstate);
36738 if (PyErr_Occurred()) SWIG_fail;
36739 }
02a34c4c 36740 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36741 return resultobj;
36742 fail:
36743 return NULL;
36744}
36745
36746
2f4c0a16 36747static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
36748 PyObject *resultobj;
36749 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36750 size_t arg2 ;
36751 wxGBPosition *arg3 = 0 ;
36752 bool result;
36753 wxGBPosition temp3 ;
36754 PyObject * obj0 = 0 ;
36755 PyObject * obj1 = 0 ;
36756 PyObject * obj2 = 0 ;
36757
36758 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36761 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36762 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36763 {
36764 arg3 = &temp3;
36765 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36766 }
36767 {
36768 PyThreadState* __tstate = wxPyBeginAllowThreads();
36769 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
36770
36771 wxPyEndAllowThreads(__tstate);
36772 if (PyErr_Occurred()) SWIG_fail;
36773 }
02a34c4c 36774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36775 return resultobj;
36776 fail:
36777 return NULL;
36778}
36779
36780
36781static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
36782 int argc;
36783 PyObject *argv[4];
36784 int ii;
36785
36786 argc = PyObject_Length(args);
36787 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
36788 argv[ii] = PyTuple_GetItem(args,ii);
36789 }
36790 if (argc == 3) {
36791 int _v;
36792 {
36793 void *ptr;
2f4c0a16 36794 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
36795 _v = 0;
36796 PyErr_Clear();
36797 } else {
36798 _v = 1;
36799 }
36800 }
36801 if (_v) {
36802 {
36803 void *ptr;
2f4c0a16 36804 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
36805 _v = 0;
36806 PyErr_Clear();
36807 } else {
36808 _v = 1;
36809 }
36810 }
36811 if (_v) {
36812 {
36813 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
36814 }
36815 if (_v) {
36816 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
36817 }
36818 }
36819 }
36820 }
36821 if (argc == 3) {
36822 int _v;
36823 {
36824 void *ptr;
2f4c0a16 36825 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
36826 _v = 0;
36827 PyErr_Clear();
36828 } else {
36829 _v = 1;
36830 }
36831 }
36832 if (_v) {
36833 {
36834 void *ptr;
2f4c0a16 36835 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
36836 _v = 0;
36837 PyErr_Clear();
36838 } else {
36839 _v = 1;
36840 }
36841 }
36842 if (_v) {
36843 {
36844 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
36845 }
36846 if (_v) {
36847 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
36848 }
36849 }
36850 }
36851 }
36852 if (argc == 3) {
36853 int _v;
36854 {
36855 void *ptr;
2f4c0a16 36856 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
36857 _v = 0;
36858 PyErr_Clear();
36859 } else {
36860 _v = 1;
36861 }
36862 }
36863 if (_v) {
2f4c0a16 36864 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
36865 if (_v) {
36866 {
36867 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
36868 }
36869 if (_v) {
36870 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
36871 }
36872 }
36873 }
36874 }
36875
36876 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
36877 return NULL;
36878}
36879
36880
2f4c0a16 36881static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
36882 PyObject *resultobj;
36883 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36884 wxWindow *arg2 = (wxWindow *) 0 ;
36885 wxGBSpan result;
36886 PyObject * obj0 = 0 ;
36887 PyObject * obj1 = 0 ;
36888
36889 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
2f4c0a16
RD
36890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36894 {
36895 PyThreadState* __tstate = wxPyBeginAllowThreads();
36896 result = (arg1)->GetItemSpan(arg2);
36897
36898 wxPyEndAllowThreads(__tstate);
36899 if (PyErr_Occurred()) SWIG_fail;
36900 }
36901 {
36902 wxGBSpan * resultptr;
36903 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 36904 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
36905 }
36906 return resultobj;
36907 fail:
36908 return NULL;
36909}
36910
36911
2f4c0a16 36912static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
36913 PyObject *resultobj;
36914 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36915 wxSizer *arg2 = (wxSizer *) 0 ;
36916 wxGBSpan result;
36917 PyObject * obj0 = 0 ;
36918 PyObject * obj1 = 0 ;
36919
36920 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
2f4c0a16
RD
36921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36923 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
36924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36925 {
36926 PyThreadState* __tstate = wxPyBeginAllowThreads();
36927 result = (arg1)->GetItemSpan(arg2);
36928
36929 wxPyEndAllowThreads(__tstate);
36930 if (PyErr_Occurred()) SWIG_fail;
36931 }
36932 {
36933 wxGBSpan * resultptr;
36934 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 36935 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
36936 }
36937 return resultobj;
36938 fail:
36939 return NULL;
36940}
36941
36942
2f4c0a16 36943static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
36944 PyObject *resultobj;
36945 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36946 size_t arg2 ;
36947 wxGBSpan result;
36948 PyObject * obj0 = 0 ;
36949 PyObject * obj1 = 0 ;
36950
36951 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
2f4c0a16
RD
36952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36954 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36956 {
36957 PyThreadState* __tstate = wxPyBeginAllowThreads();
36958 result = (arg1)->GetItemSpan(arg2);
36959
36960 wxPyEndAllowThreads(__tstate);
36961 if (PyErr_Occurred()) SWIG_fail;
36962 }
36963 {
36964 wxGBSpan * resultptr;
36965 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 36966 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
36967 }
36968 return resultobj;
36969 fail:
36970 return NULL;
36971}
36972
36973
36974static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
36975 int argc;
36976 PyObject *argv[3];
36977 int ii;
36978
36979 argc = PyObject_Length(args);
36980 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
36981 argv[ii] = PyTuple_GetItem(args,ii);
36982 }
36983 if (argc == 2) {
36984 int _v;
36985 {
36986 void *ptr;
2f4c0a16 36987 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
36988 _v = 0;
36989 PyErr_Clear();
36990 } else {
36991 _v = 1;
36992 }
36993 }
36994 if (_v) {
36995 {
36996 void *ptr;
2f4c0a16 36997 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
36998 _v = 0;
36999 PyErr_Clear();
37000 } else {
37001 _v = 1;
37002 }
37003 }
37004 if (_v) {
37005 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
37006 }
37007 }
37008 }
37009 if (argc == 2) {
37010 int _v;
37011 {
37012 void *ptr;
2f4c0a16 37013 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37014 _v = 0;
37015 PyErr_Clear();
37016 } else {
37017 _v = 1;
37018 }
37019 }
37020 if (_v) {
37021 {
37022 void *ptr;
2f4c0a16 37023 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37024 _v = 0;
37025 PyErr_Clear();
37026 } else {
37027 _v = 1;
37028 }
37029 }
37030 if (_v) {
37031 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
37032 }
37033 }
37034 }
37035 if (argc == 2) {
37036 int _v;
37037 {
37038 void *ptr;
2f4c0a16 37039 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37040 _v = 0;
37041 PyErr_Clear();
37042 } else {
37043 _v = 1;
37044 }
37045 }
37046 if (_v) {
2f4c0a16 37047 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
37048 if (_v) {
37049 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
37050 }
37051 }
37052 }
37053
37054 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37055 return NULL;
37056}
37057
37058
2f4c0a16 37059static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
37060 PyObject *resultobj;
37061 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37062 wxWindow *arg2 = (wxWindow *) 0 ;
37063 wxGBSpan *arg3 = 0 ;
37064 bool result;
37065 wxGBSpan temp3 ;
37066 PyObject * obj0 = 0 ;
37067 PyObject * obj1 = 0 ;
37068 PyObject * obj2 = 0 ;
37069
37070 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37073 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37075 {
37076 arg3 = &temp3;
37077 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37078 }
37079 {
37080 PyThreadState* __tstate = wxPyBeginAllowThreads();
37081 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
37082
37083 wxPyEndAllowThreads(__tstate);
37084 if (PyErr_Occurred()) SWIG_fail;
37085 }
02a34c4c 37086 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37087 return resultobj;
37088 fail:
37089 return NULL;
37090}
37091
37092
2f4c0a16 37093static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
37094 PyObject *resultobj;
37095 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37096 wxSizer *arg2 = (wxSizer *) 0 ;
37097 wxGBSpan *arg3 = 0 ;
37098 bool result;
37099 wxGBSpan temp3 ;
37100 PyObject * obj0 = 0 ;
37101 PyObject * obj1 = 0 ;
37102 PyObject * obj2 = 0 ;
37103
37104 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37107 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37109 {
37110 arg3 = &temp3;
37111 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37112 }
37113 {
37114 PyThreadState* __tstate = wxPyBeginAllowThreads();
37115 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
37116
37117 wxPyEndAllowThreads(__tstate);
37118 if (PyErr_Occurred()) SWIG_fail;
37119 }
02a34c4c 37120 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37121 return resultobj;
37122 fail:
37123 return NULL;
37124}
37125
37126
2f4c0a16 37127static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
37128 PyObject *resultobj;
37129 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37130 size_t arg2 ;
37131 wxGBSpan *arg3 = 0 ;
37132 bool result;
37133 wxGBSpan temp3 ;
37134 PyObject * obj0 = 0 ;
37135 PyObject * obj1 = 0 ;
37136 PyObject * obj2 = 0 ;
37137
37138 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37141 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37142 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37143 {
37144 arg3 = &temp3;
37145 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37146 }
37147 {
37148 PyThreadState* __tstate = wxPyBeginAllowThreads();
37149 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
37150
37151 wxPyEndAllowThreads(__tstate);
37152 if (PyErr_Occurred()) SWIG_fail;
37153 }
02a34c4c 37154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37155 return resultobj;
37156 fail:
37157 return NULL;
37158}
37159
37160
37161static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
37162 int argc;
37163 PyObject *argv[4];
37164 int ii;
37165
37166 argc = PyObject_Length(args);
37167 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
37168 argv[ii] = PyTuple_GetItem(args,ii);
37169 }
37170 if (argc == 3) {
37171 int _v;
37172 {
37173 void *ptr;
2f4c0a16 37174 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37175 _v = 0;
37176 PyErr_Clear();
37177 } else {
37178 _v = 1;
37179 }
37180 }
37181 if (_v) {
37182 {
37183 void *ptr;
2f4c0a16 37184 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37185 _v = 0;
37186 PyErr_Clear();
37187 } else {
37188 _v = 1;
37189 }
37190 }
37191 if (_v) {
37192 {
37193 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37194 }
37195 if (_v) {
37196 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
37197 }
37198 }
37199 }
37200 }
37201 if (argc == 3) {
37202 int _v;
37203 {
37204 void *ptr;
2f4c0a16 37205 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37206 _v = 0;
37207 PyErr_Clear();
37208 } else {
37209 _v = 1;
37210 }
37211 }
37212 if (_v) {
37213 {
37214 void *ptr;
2f4c0a16 37215 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37216 _v = 0;
37217 PyErr_Clear();
37218 } else {
37219 _v = 1;
37220 }
37221 }
37222 if (_v) {
37223 {
37224 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37225 }
37226 if (_v) {
37227 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
37228 }
37229 }
37230 }
37231 }
37232 if (argc == 3) {
37233 int _v;
37234 {
37235 void *ptr;
2f4c0a16 37236 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37237 _v = 0;
37238 PyErr_Clear();
37239 } else {
37240 _v = 1;
37241 }
37242 }
37243 if (_v) {
2f4c0a16 37244 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
37245 if (_v) {
37246 {
37247 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37248 }
37249 if (_v) {
37250 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
37251 }
37252 }
37253 }
37254 }
37255
37256 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37257 return NULL;
37258}
37259
37260
2f4c0a16 37261static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
37262 PyObject *resultobj;
37263 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37264 wxWindow *arg2 = (wxWindow *) 0 ;
37265 wxGBSizerItem *result;
37266 PyObject * obj0 = 0 ;
37267 PyObject * obj1 = 0 ;
37268
37269 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37272 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37274 {
37275 PyThreadState* __tstate = wxPyBeginAllowThreads();
37276 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
37277
37278 wxPyEndAllowThreads(__tstate);
37279 if (PyErr_Occurred()) SWIG_fail;
37280 }
2f4c0a16 37281 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
37282 return resultobj;
37283 fail:
37284 return NULL;
37285}
37286
37287
2f4c0a16 37288static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
37289 PyObject *resultobj;
37290 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37291 wxSizer *arg2 = (wxSizer *) 0 ;
37292 wxGBSizerItem *result;
37293 PyObject * obj0 = 0 ;
37294 PyObject * obj1 = 0 ;
37295
37296 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37299 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37300 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37301 {
37302 PyThreadState* __tstate = wxPyBeginAllowThreads();
37303 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
37304
37305 wxPyEndAllowThreads(__tstate);
37306 if (PyErr_Occurred()) SWIG_fail;
37307 }
2f4c0a16 37308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
37309 return resultobj;
37310 fail:
37311 return NULL;
37312}
37313
37314
37315static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
37316 int argc;
37317 PyObject *argv[3];
37318 int ii;
37319
37320 argc = PyObject_Length(args);
37321 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37322 argv[ii] = PyTuple_GetItem(args,ii);
37323 }
37324 if (argc == 2) {
37325 int _v;
37326 {
37327 void *ptr;
2f4c0a16 37328 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37329 _v = 0;
37330 PyErr_Clear();
37331 } else {
37332 _v = 1;
37333 }
37334 }
37335 if (_v) {
37336 {
37337 void *ptr;
2f4c0a16 37338 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37339 _v = 0;
37340 PyErr_Clear();
37341 } else {
37342 _v = 1;
37343 }
37344 }
37345 if (_v) {
37346 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
37347 }
37348 }
37349 }
37350 if (argc == 2) {
37351 int _v;
37352 {
37353 void *ptr;
2f4c0a16 37354 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37355 _v = 0;
37356 PyErr_Clear();
37357 } else {
37358 _v = 1;
37359 }
37360 }
37361 if (_v) {
37362 {
37363 void *ptr;
2f4c0a16 37364 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37365 _v = 0;
37366 PyErr_Clear();
37367 } else {
37368 _v = 1;
37369 }
37370 }
37371 if (_v) {
37372 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
37373 }
37374 }
37375 }
37376
37377 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
37378 return NULL;
37379}
37380
37381
2f4c0a16 37382static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37383 PyObject *resultobj;
37384 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37385 wxGBPosition *arg2 = 0 ;
37386 wxGBSizerItem *result;
37387 wxGBPosition temp2 ;
37388 PyObject * obj0 = 0 ;
37389 PyObject * obj1 = 0 ;
37390 char *kwnames[] = {
37391 (char *) "self",(char *) "pos", NULL
37392 };
37393
37394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37397 {
37398 arg2 = &temp2;
37399 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37400 }
37401 {
37402 PyThreadState* __tstate = wxPyBeginAllowThreads();
37403 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
37404
37405 wxPyEndAllowThreads(__tstate);
37406 if (PyErr_Occurred()) SWIG_fail;
37407 }
2f4c0a16 37408 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
37409 return resultobj;
37410 fail:
37411 return NULL;
37412}
37413
37414
2f4c0a16 37415static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
423f194a
RD
37416 PyObject *resultobj;
37417 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37418 wxPoint *arg2 = 0 ;
37419 wxGBSizerItem *result;
37420 wxPoint temp2 ;
37421 PyObject * obj0 = 0 ;
37422 PyObject * obj1 = 0 ;
37423 char *kwnames[] = {
37424 (char *) "self",(char *) "pt", NULL
37425 };
37426
37427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
37430 {
37431 arg2 = &temp2;
37432 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37433 }
37434 {
37435 PyThreadState* __tstate = wxPyBeginAllowThreads();
37436 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
37437
37438 wxPyEndAllowThreads(__tstate);
37439 if (PyErr_Occurred()) SWIG_fail;
37440 }
2f4c0a16 37441 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
423f194a
RD
37442 return resultobj;
37443 fail:
37444 return NULL;
37445}
37446
37447
2f4c0a16 37448static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37449 PyObject *resultobj;
37450 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37451 wxObject *arg2 = (wxObject *) 0 ;
37452 wxGBSizerItem *result;
37453 PyObject * obj0 = 0 ;
37454 PyObject * obj1 = 0 ;
37455 char *kwnames[] = {
37456 (char *) "self",(char *) "userData", NULL
37457 };
37458
37459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37462 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
37463 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37464 {
37465 PyThreadState* __tstate = wxPyBeginAllowThreads();
37466 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
37467
37468 wxPyEndAllowThreads(__tstate);
37469 if (PyErr_Occurred()) SWIG_fail;
37470 }
2f4c0a16 37471 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
37472 return resultobj;
37473 fail:
37474 return NULL;
37475}
37476
37477
2f4c0a16 37478static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37479 PyObject *resultobj;
37480 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37481 PyObject * obj0 = 0 ;
37482 char *kwnames[] = {
37483 (char *) "self", NULL
37484 };
37485
37486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37489 {
37490 PyThreadState* __tstate = wxPyBeginAllowThreads();
37491 (arg1)->RecalcSizes();
37492
37493 wxPyEndAllowThreads(__tstate);
37494 if (PyErr_Occurred()) SWIG_fail;
37495 }
37496 Py_INCREF(Py_None); resultobj = Py_None;
37497 return resultobj;
37498 fail:
37499 return NULL;
37500}
37501
37502
2f4c0a16 37503static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37504 PyObject *resultobj;
37505 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37506 wxSize result;
37507 PyObject * obj0 = 0 ;
37508 char *kwnames[] = {
37509 (char *) "self", NULL
37510 };
37511
37512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37515 {
37516 PyThreadState* __tstate = wxPyBeginAllowThreads();
37517 result = (arg1)->CalcMin();
37518
37519 wxPyEndAllowThreads(__tstate);
37520 if (PyErr_Occurred()) SWIG_fail;
37521 }
37522 {
37523 wxSize * resultptr;
37524 resultptr = new wxSize((wxSize &) result);
2f4c0a16 37525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
37526 }
37527 return resultobj;
37528 fail:
37529 return NULL;
37530}
37531
37532
2f4c0a16 37533static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
37534 PyObject *resultobj;
37535 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37536 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
37537 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
37538 bool result;
37539 PyObject * obj0 = 0 ;
37540 PyObject * obj1 = 0 ;
37541 PyObject * obj2 = 0 ;
37542
37543 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37546 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 37548 if (obj2) {
2f4c0a16
RD
37549 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
37550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37551 }
37552 {
37553 PyThreadState* __tstate = wxPyBeginAllowThreads();
37554 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
37555
37556 wxPyEndAllowThreads(__tstate);
37557 if (PyErr_Occurred()) SWIG_fail;
37558 }
02a34c4c 37559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37560 return resultobj;
37561 fail:
37562 return NULL;
37563}
37564
37565
2f4c0a16 37566static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
37567 PyObject *resultobj;
37568 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37569 wxGBPosition *arg2 = 0 ;
37570 wxGBSpan *arg3 = 0 ;
37571 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
37572 bool result;
37573 wxGBPosition temp2 ;
37574 wxGBSpan temp3 ;
37575 PyObject * obj0 = 0 ;
37576 PyObject * obj1 = 0 ;
37577 PyObject * obj2 = 0 ;
37578 PyObject * obj3 = 0 ;
37579
37580 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
37581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37583 {
37584 arg2 = &temp2;
37585 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37586 }
37587 {
37588 arg3 = &temp3;
37589 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37590 }
37591 if (obj3) {
2f4c0a16
RD
37592 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
37593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37594 }
37595 {
37596 PyThreadState* __tstate = wxPyBeginAllowThreads();
37597 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
37598
37599 wxPyEndAllowThreads(__tstate);
37600 if (PyErr_Occurred()) SWIG_fail;
37601 }
02a34c4c 37602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37603 return resultobj;
37604 fail:
37605 return NULL;
37606}
37607
37608
37609static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
37610 int argc;
37611 PyObject *argv[5];
37612 int ii;
37613
37614 argc = PyObject_Length(args);
37615 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
37616 argv[ii] = PyTuple_GetItem(args,ii);
37617 }
37618 if ((argc >= 2) && (argc <= 3)) {
37619 int _v;
37620 {
37621 void *ptr;
2f4c0a16 37622 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37623 _v = 0;
37624 PyErr_Clear();
37625 } else {
37626 _v = 1;
37627 }
37628 }
37629 if (_v) {
37630 {
37631 void *ptr;
2f4c0a16 37632 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
37633 _v = 0;
37634 PyErr_Clear();
37635 } else {
37636 _v = 1;
37637 }
37638 }
37639 if (_v) {
37640 if (argc <= 2) {
37641 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
37642 }
37643 {
37644 void *ptr;
2f4c0a16 37645 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
37646 _v = 0;
37647 PyErr_Clear();
37648 } else {
37649 _v = 1;
37650 }
37651 }
37652 if (_v) {
37653 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
37654 }
37655 }
37656 }
37657 }
37658 if ((argc >= 3) && (argc <= 4)) {
37659 int _v;
37660 {
37661 void *ptr;
2f4c0a16 37662 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37663 _v = 0;
37664 PyErr_Clear();
37665 } else {
37666 _v = 1;
37667 }
37668 }
37669 if (_v) {
37670 {
37671 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
37672 }
37673 if (_v) {
37674 {
37675 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37676 }
37677 if (_v) {
37678 if (argc <= 3) {
37679 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
37680 }
37681 {
37682 void *ptr;
2f4c0a16 37683 if (SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
37684 _v = 0;
37685 PyErr_Clear();
37686 } else {
37687 _v = 1;
37688 }
37689 }
37690 if (_v) {
37691 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
37692 }
37693 }
37694 }
37695 }
37696 }
37697
37698 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
37699 return NULL;
37700}
37701
37702
2f4c0a16 37703static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
37704 PyObject *obj;
37705 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37706 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
37707 Py_INCREF(obj);
37708 return Py_BuildValue((char *)"");
37709}
2f4c0a16 37710static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37711 PyObject *resultobj;
37712 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37713 int arg2 ;
37714 wxWindow *arg3 = (wxWindow *) 0 ;
37715 int arg4 ;
37716 int arg5 = (int) 0 ;
37717 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
37718 PyObject * obj0 = 0 ;
8edf1c75 37719 PyObject * obj1 = 0 ;
d14a1e28 37720 PyObject * obj2 = 0 ;
8edf1c75
RD
37721 PyObject * obj3 = 0 ;
37722 PyObject * obj4 = 0 ;
37723 PyObject * obj5 = 0 ;
d14a1e28
RD
37724 char *kwnames[] = {
37725 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
37726 };
37727
8edf1c75 37728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
37729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
37730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37731 arg2 = (wxRelationship) SWIG_AsInt(obj1);
37732 if (PyErr_Occurred()) SWIG_fail;
37733 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
37734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37735 arg4 = (wxEdge) SWIG_AsInt(obj3);
37736 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37737 if (obj4) {
2f4c0a16
RD
37738 arg5 = (int) SWIG_AsInt(obj4);
37739 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
37740 }
37741 if (obj5) {
2f4c0a16
RD
37742 arg6 = (int) SWIG_AsInt(obj5);
37743 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37744 }
d14a1e28
RD
37745 {
37746 PyThreadState* __tstate = wxPyBeginAllowThreads();
37747 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
37748
37749 wxPyEndAllowThreads(__tstate);
37750 if (PyErr_Occurred()) SWIG_fail;
37751 }
37752 Py_INCREF(Py_None); resultobj = Py_None;
37753 return resultobj;
37754 fail:
37755 return NULL;
37756}
37757
37758
2f4c0a16 37759static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37760 PyObject *resultobj;
37761 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37762 wxWindow *arg2 = (wxWindow *) 0 ;
37763 int arg3 = (int) 0 ;
37764 PyObject * obj0 = 0 ;
37765 PyObject * obj1 = 0 ;
8edf1c75 37766 PyObject * obj2 = 0 ;
d14a1e28
RD
37767 char *kwnames[] = {
37768 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37769 };
37770
8edf1c75 37771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
37773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37774 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 37776 if (obj2) {
2f4c0a16
RD
37777 arg3 = (int) SWIG_AsInt(obj2);
37778 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37779 }
d14a1e28
RD
37780 {
37781 PyThreadState* __tstate = wxPyBeginAllowThreads();
37782 (arg1)->LeftOf(arg2,arg3);
37783
37784 wxPyEndAllowThreads(__tstate);
37785 if (PyErr_Occurred()) SWIG_fail;
37786 }
37787 Py_INCREF(Py_None); resultobj = Py_None;
37788 return resultobj;
37789 fail:
37790 return NULL;
37791}
37792
37793
2f4c0a16 37794static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37795 PyObject *resultobj;
37796 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37797 wxWindow *arg2 = (wxWindow *) 0 ;
37798 int arg3 = (int) 0 ;
37799 PyObject * obj0 = 0 ;
37800 PyObject * obj1 = 0 ;
8edf1c75 37801 PyObject * obj2 = 0 ;
d14a1e28
RD
37802 char *kwnames[] = {
37803 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37804 };
37805
8edf1c75 37806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
37808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 37811 if (obj2) {
2f4c0a16
RD
37812 arg3 = (int) SWIG_AsInt(obj2);
37813 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37814 }
d14a1e28
RD
37815 {
37816 PyThreadState* __tstate = wxPyBeginAllowThreads();
37817 (arg1)->RightOf(arg2,arg3);
37818
37819 wxPyEndAllowThreads(__tstate);
37820 if (PyErr_Occurred()) SWIG_fail;
37821 }
37822 Py_INCREF(Py_None); resultobj = Py_None;
37823 return resultobj;
37824 fail:
37825 return NULL;
37826}
37827
37828
2f4c0a16 37829static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37830 PyObject *resultobj;
37831 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37832 wxWindow *arg2 = (wxWindow *) 0 ;
37833 int arg3 = (int) 0 ;
37834 PyObject * obj0 = 0 ;
37835 PyObject * obj1 = 0 ;
8edf1c75 37836 PyObject * obj2 = 0 ;
d14a1e28
RD
37837 char *kwnames[] = {
37838 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37839 };
37840
8edf1c75 37841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
37843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37844 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 37846 if (obj2) {
2f4c0a16
RD
37847 arg3 = (int) SWIG_AsInt(obj2);
37848 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37849 }
d14a1e28
RD
37850 {
37851 PyThreadState* __tstate = wxPyBeginAllowThreads();
37852 (arg1)->Above(arg2,arg3);
37853
37854 wxPyEndAllowThreads(__tstate);
37855 if (PyErr_Occurred()) SWIG_fail;
37856 }
37857 Py_INCREF(Py_None); resultobj = Py_None;
37858 return resultobj;
37859 fail:
37860 return NULL;
37861}
37862
37863
2f4c0a16 37864static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37865 PyObject *resultobj;
37866 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37867 wxWindow *arg2 = (wxWindow *) 0 ;
37868 int arg3 = (int) 0 ;
37869 PyObject * obj0 = 0 ;
37870 PyObject * obj1 = 0 ;
8edf1c75 37871 PyObject * obj2 = 0 ;
d14a1e28
RD
37872 char *kwnames[] = {
37873 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37874 };
37875
8edf1c75 37876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
37878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 37881 if (obj2) {
2f4c0a16
RD
37882 arg3 = (int) SWIG_AsInt(obj2);
37883 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37884 }
d14a1e28
RD
37885 {
37886 PyThreadState* __tstate = wxPyBeginAllowThreads();
37887 (arg1)->Below(arg2,arg3);
37888
37889 wxPyEndAllowThreads(__tstate);
37890 if (PyErr_Occurred()) SWIG_fail;
37891 }
37892 Py_INCREF(Py_None); resultobj = Py_None;
37893 return resultobj;
37894 fail:
37895 return NULL;
37896}
37897
37898
2f4c0a16 37899static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37900 PyObject *resultobj;
37901 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37902 wxWindow *arg2 = (wxWindow *) 0 ;
37903 int arg3 ;
37904 int arg4 = (int) 0 ;
37905 PyObject * obj0 = 0 ;
37906 PyObject * obj1 = 0 ;
8edf1c75
RD
37907 PyObject * obj2 = 0 ;
37908 PyObject * obj3 = 0 ;
d14a1e28
RD
37909 char *kwnames[] = {
37910 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
37911 };
37912
8edf1c75 37913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
37914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
37915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37916 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37918 arg3 = (wxEdge) SWIG_AsInt(obj2);
37919 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37920 if (obj3) {
2f4c0a16
RD
37921 arg4 = (int) SWIG_AsInt(obj3);
37922 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37923 }
d14a1e28
RD
37924 {
37925 PyThreadState* __tstate = wxPyBeginAllowThreads();
37926 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
37927
37928 wxPyEndAllowThreads(__tstate);
37929 if (PyErr_Occurred()) SWIG_fail;
37930 }
37931 Py_INCREF(Py_None); resultobj = Py_None;
37932 return resultobj;
37933 fail:
37934 return NULL;
37935}
37936
37937
2f4c0a16 37938static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37939 PyObject *resultobj;
37940 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37941 wxWindow *arg2 = (wxWindow *) 0 ;
37942 int arg3 ;
37943 int arg4 ;
37944 PyObject * obj0 = 0 ;
37945 PyObject * obj1 = 0 ;
8edf1c75
RD
37946 PyObject * obj2 = 0 ;
37947 PyObject * obj3 = 0 ;
d14a1e28
RD
37948 char *kwnames[] = {
37949 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
37950 };
37951
8edf1c75 37952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
37953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
37954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37955 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37957 arg3 = (wxEdge) SWIG_AsInt(obj2);
37958 if (PyErr_Occurred()) SWIG_fail;
37959 arg4 = (int) SWIG_AsInt(obj3);
37960 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37961 {
37962 PyThreadState* __tstate = wxPyBeginAllowThreads();
37963 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
37964
37965 wxPyEndAllowThreads(__tstate);
37966 if (PyErr_Occurred()) SWIG_fail;
37967 }
37968 Py_INCREF(Py_None); resultobj = Py_None;
37969 return resultobj;
37970 fail:
37971 return NULL;
37972}
37973
37974
2f4c0a16 37975static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37976 PyObject *resultobj;
37977 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
37978 int arg2 ;
37979 PyObject * obj0 = 0 ;
8edf1c75 37980 PyObject * obj1 = 0 ;
d14a1e28
RD
37981 char *kwnames[] = {
37982 (char *) "self",(char *) "val", NULL
37983 };
37984
8edf1c75 37985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
37987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37988 arg2 = (int) SWIG_AsInt(obj1);
37989 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37990 {
37991 PyThreadState* __tstate = wxPyBeginAllowThreads();
37992 (arg1)->Absolute(arg2);
37993
37994 wxPyEndAllowThreads(__tstate);
37995 if (PyErr_Occurred()) SWIG_fail;
37996 }
37997 Py_INCREF(Py_None); resultobj = Py_None;
37998 return resultobj;
37999 fail:
38000 return NULL;
38001}
38002
38003
2f4c0a16 38004static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38005 PyObject *resultobj;
38006 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38007 PyObject * obj0 = 0 ;
38008 char *kwnames[] = {
38009 (char *) "self", NULL
38010 };
38011
38012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38015 {
38016 PyThreadState* __tstate = wxPyBeginAllowThreads();
38017 (arg1)->Unconstrained();
38018
38019 wxPyEndAllowThreads(__tstate);
38020 if (PyErr_Occurred()) SWIG_fail;
38021 }
38022 Py_INCREF(Py_None); resultobj = Py_None;
38023 return resultobj;
38024 fail:
38025 return NULL;
38026}
38027
38028
2f4c0a16 38029static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38030 PyObject *resultobj;
38031 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38032 PyObject * obj0 = 0 ;
38033 char *kwnames[] = {
38034 (char *) "self", NULL
38035 };
38036
38037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38040 {
38041 PyThreadState* __tstate = wxPyBeginAllowThreads();
38042 (arg1)->AsIs();
38043
38044 wxPyEndAllowThreads(__tstate);
38045 if (PyErr_Occurred()) SWIG_fail;
38046 }
38047 Py_INCREF(Py_None); resultobj = Py_None;
38048 return resultobj;
38049 fail:
38050 return NULL;
38051}
38052
38053
2f4c0a16 38054static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38055 PyObject *resultobj;
38056 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38057 wxWindow *result;
38058 PyObject * obj0 = 0 ;
38059 char *kwnames[] = {
38060 (char *) "self", NULL
38061 };
38062
38063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38066 {
38067 PyThreadState* __tstate = wxPyBeginAllowThreads();
38068 result = (wxWindow *)(arg1)->GetOtherWindow();
38069
38070 wxPyEndAllowThreads(__tstate);
38071 if (PyErr_Occurred()) SWIG_fail;
38072 }
38073 {
38074 resultobj = wxPyMake_wxObject(result);
38075 }
38076 return resultobj;
38077 fail:
38078 return NULL;
38079}
38080
38081
2f4c0a16 38082static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38083 PyObject *resultobj;
38084 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38085 int result;
38086 PyObject * obj0 = 0 ;
38087 char *kwnames[] = {
38088 (char *) "self", NULL
38089 };
38090
38091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38094 {
38095 PyThreadState* __tstate = wxPyBeginAllowThreads();
38096 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
38097
38098 wxPyEndAllowThreads(__tstate);
38099 if (PyErr_Occurred()) SWIG_fail;
38100 }
2f4c0a16 38101 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38102 return resultobj;
38103 fail:
38104 return NULL;
38105}
38106
38107
2f4c0a16 38108static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38109 PyObject *resultobj;
38110 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38111 int arg2 ;
38112 PyObject * obj0 = 0 ;
8edf1c75 38113 PyObject * obj1 = 0 ;
d14a1e28
RD
38114 char *kwnames[] = {
38115 (char *) "self",(char *) "which", NULL
38116 };
38117
8edf1c75 38118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38121 arg2 = (wxEdge) SWIG_AsInt(obj1);
38122 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38123 {
38124 PyThreadState* __tstate = wxPyBeginAllowThreads();
38125 (arg1)->SetEdge((wxEdge )arg2);
38126
38127 wxPyEndAllowThreads(__tstate);
38128 if (PyErr_Occurred()) SWIG_fail;
38129 }
38130 Py_INCREF(Py_None); resultobj = Py_None;
38131 return resultobj;
38132 fail:
38133 return NULL;
38134}
38135
38136
2f4c0a16 38137static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38138 PyObject *resultobj;
38139 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38140 int arg2 ;
38141 PyObject * obj0 = 0 ;
8edf1c75 38142 PyObject * obj1 = 0 ;
d14a1e28
RD
38143 char *kwnames[] = {
38144 (char *) "self",(char *) "v", NULL
38145 };
38146
8edf1c75 38147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38150 arg2 = (int) SWIG_AsInt(obj1);
38151 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38152 {
38153 PyThreadState* __tstate = wxPyBeginAllowThreads();
38154 (arg1)->SetValue(arg2);
38155
38156 wxPyEndAllowThreads(__tstate);
38157 if (PyErr_Occurred()) SWIG_fail;
38158 }
38159 Py_INCREF(Py_None); resultobj = Py_None;
38160 return resultobj;
38161 fail:
38162 return NULL;
38163}
38164
38165
2f4c0a16 38166static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38167 PyObject *resultobj;
38168 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38169 int result;
38170 PyObject * obj0 = 0 ;
38171 char *kwnames[] = {
38172 (char *) "self", NULL
38173 };
38174
38175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38178 {
38179 PyThreadState* __tstate = wxPyBeginAllowThreads();
38180 result = (int)(arg1)->GetMargin();
38181
38182 wxPyEndAllowThreads(__tstate);
38183 if (PyErr_Occurred()) SWIG_fail;
38184 }
2f4c0a16 38185 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38186 return resultobj;
38187 fail:
38188 return NULL;
38189}
38190
38191
2f4c0a16 38192static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38193 PyObject *resultobj;
38194 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38195 int arg2 ;
38196 PyObject * obj0 = 0 ;
8edf1c75 38197 PyObject * obj1 = 0 ;
d14a1e28
RD
38198 char *kwnames[] = {
38199 (char *) "self",(char *) "m", NULL
38200 };
38201
8edf1c75 38202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38205 arg2 = (int) SWIG_AsInt(obj1);
38206 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38207 {
38208 PyThreadState* __tstate = wxPyBeginAllowThreads();
38209 (arg1)->SetMargin(arg2);
38210
38211 wxPyEndAllowThreads(__tstate);
38212 if (PyErr_Occurred()) SWIG_fail;
38213 }
38214 Py_INCREF(Py_None); resultobj = Py_None;
38215 return resultobj;
38216 fail:
38217 return NULL;
38218}
38219
38220
2f4c0a16 38221static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38222 PyObject *resultobj;
38223 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38224 int result;
38225 PyObject * obj0 = 0 ;
38226 char *kwnames[] = {
38227 (char *) "self", NULL
38228 };
38229
38230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38233 {
38234 PyThreadState* __tstate = wxPyBeginAllowThreads();
38235 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
38236
38237 wxPyEndAllowThreads(__tstate);
38238 if (PyErr_Occurred()) SWIG_fail;
38239 }
2f4c0a16 38240 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38241 return resultobj;
38242 fail:
38243 return NULL;
38244}
38245
38246
2f4c0a16 38247static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38248 PyObject *resultobj;
38249 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38250 int result;
38251 PyObject * obj0 = 0 ;
38252 char *kwnames[] = {
38253 (char *) "self", NULL
38254 };
38255
38256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38259 {
38260 PyThreadState* __tstate = wxPyBeginAllowThreads();
38261 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
38262
38263 wxPyEndAllowThreads(__tstate);
38264 if (PyErr_Occurred()) SWIG_fail;
38265 }
2f4c0a16 38266 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38267 return resultobj;
38268 fail:
38269 return NULL;
38270}
38271
38272
2f4c0a16 38273static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38274 PyObject *resultobj;
38275 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38276 int result;
38277 PyObject * obj0 = 0 ;
38278 char *kwnames[] = {
38279 (char *) "self", NULL
38280 };
38281
38282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38285 {
38286 PyThreadState* __tstate = wxPyBeginAllowThreads();
38287 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
38288
38289 wxPyEndAllowThreads(__tstate);
38290 if (PyErr_Occurred()) SWIG_fail;
38291 }
2f4c0a16 38292 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38293 return resultobj;
38294 fail:
38295 return NULL;
38296}
38297
38298
2f4c0a16 38299static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38300 PyObject *resultobj;
38301 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38302 bool result;
38303 PyObject * obj0 = 0 ;
38304 char *kwnames[] = {
38305 (char *) "self", NULL
38306 };
38307
38308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38311 {
38312 PyThreadState* __tstate = wxPyBeginAllowThreads();
38313 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
38314
38315 wxPyEndAllowThreads(__tstate);
38316 if (PyErr_Occurred()) SWIG_fail;
38317 }
02a34c4c 38318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38319 return resultobj;
38320 fail:
38321 return NULL;
38322}
38323
38324
2f4c0a16 38325static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38326 PyObject *resultobj;
38327 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38328 bool arg2 ;
38329 PyObject * obj0 = 0 ;
38330 PyObject * obj1 = 0 ;
38331 char *kwnames[] = {
38332 (char *) "self",(char *) "d", NULL
38333 };
38334
38335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38338 arg2 = (bool) SWIG_AsBool(obj1);
38339 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38340 {
38341 PyThreadState* __tstate = wxPyBeginAllowThreads();
38342 (arg1)->SetDone(arg2);
38343
38344 wxPyEndAllowThreads(__tstate);
38345 if (PyErr_Occurred()) SWIG_fail;
38346 }
38347 Py_INCREF(Py_None); resultobj = Py_None;
38348 return resultobj;
38349 fail:
38350 return NULL;
38351}
38352
38353
2f4c0a16 38354static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38355 PyObject *resultobj;
38356 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38357 int result;
38358 PyObject * obj0 = 0 ;
38359 char *kwnames[] = {
38360 (char *) "self", NULL
38361 };
38362
38363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38366 {
38367 PyThreadState* __tstate = wxPyBeginAllowThreads();
38368 result = (int)(arg1)->GetRelationship();
38369
38370 wxPyEndAllowThreads(__tstate);
38371 if (PyErr_Occurred()) SWIG_fail;
38372 }
2f4c0a16 38373 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38374 return resultobj;
38375 fail:
38376 return NULL;
38377}
38378
38379
2f4c0a16 38380static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38381 PyObject *resultobj;
38382 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38383 int arg2 ;
38384 PyObject * obj0 = 0 ;
8edf1c75 38385 PyObject * obj1 = 0 ;
d14a1e28
RD
38386 char *kwnames[] = {
38387 (char *) "self",(char *) "r", NULL
38388 };
38389
8edf1c75 38390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38393 arg2 = (wxRelationship) SWIG_AsInt(obj1);
38394 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38395 {
38396 PyThreadState* __tstate = wxPyBeginAllowThreads();
38397 (arg1)->SetRelationship((wxRelationship )arg2);
38398
38399 wxPyEndAllowThreads(__tstate);
38400 if (PyErr_Occurred()) SWIG_fail;
38401 }
38402 Py_INCREF(Py_None); resultobj = Py_None;
38403 return resultobj;
38404 fail:
38405 return NULL;
38406}
38407
38408
2f4c0a16 38409static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38410 PyObject *resultobj;
38411 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38412 wxWindow *arg2 = (wxWindow *) 0 ;
38413 bool result;
38414 PyObject * obj0 = 0 ;
38415 PyObject * obj1 = 0 ;
38416 char *kwnames[] = {
38417 (char *) "self",(char *) "otherW", NULL
38418 };
38419
38420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38423 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38425 {
38426 PyThreadState* __tstate = wxPyBeginAllowThreads();
38427 result = (bool)(arg1)->ResetIfWin(arg2);
38428
38429 wxPyEndAllowThreads(__tstate);
38430 if (PyErr_Occurred()) SWIG_fail;
38431 }
02a34c4c 38432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38433 return resultobj;
38434 fail:
38435 return NULL;
38436}
38437
38438
2f4c0a16 38439static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38440 PyObject *resultobj;
38441 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38442 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
38443 wxWindow *arg3 = (wxWindow *) 0 ;
38444 bool result;
38445 PyObject * obj0 = 0 ;
38446 PyObject * obj1 = 0 ;
38447 PyObject * obj2 = 0 ;
38448 char *kwnames[] = {
38449 (char *) "self",(char *) "constraints",(char *) "win", NULL
38450 };
38451
38452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38455 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
38456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38457 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38459 {
38460 PyThreadState* __tstate = wxPyBeginAllowThreads();
38461 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
38462
38463 wxPyEndAllowThreads(__tstate);
38464 if (PyErr_Occurred()) SWIG_fail;
38465 }
02a34c4c 38466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38467 return resultobj;
38468 fail:
38469 return NULL;
38470}
38471
38472
2f4c0a16 38473static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38474 PyObject *resultobj;
38475 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38476 int arg2 ;
38477 wxWindow *arg3 = (wxWindow *) 0 ;
38478 wxWindow *arg4 = (wxWindow *) 0 ;
38479 int result;
38480 PyObject * obj0 = 0 ;
8edf1c75 38481 PyObject * obj1 = 0 ;
d14a1e28
RD
38482 PyObject * obj2 = 0 ;
38483 PyObject * obj3 = 0 ;
38484 char *kwnames[] = {
38485 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38486 };
38487
8edf1c75 38488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
38489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38491 arg2 = (wxEdge) SWIG_AsInt(obj1);
38492 if (PyErr_Occurred()) SWIG_fail;
38493 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38494 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38495 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
38496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38497 {
38498 PyThreadState* __tstate = wxPyBeginAllowThreads();
38499 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
38500
38501 wxPyEndAllowThreads(__tstate);
38502 if (PyErr_Occurred()) SWIG_fail;
38503 }
2f4c0a16 38504 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38505 return resultobj;
38506 fail:
38507 return NULL;
38508}
38509
38510
2f4c0a16 38511static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
38512 PyObject *obj;
38513 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38514 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
38515 Py_INCREF(obj);
38516 return Py_BuildValue((char *)"");
38517}
2f4c0a16 38518static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38519 PyObject *resultobj;
38520 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38521 wxIndividualLayoutConstraint *result;
38522 PyObject * obj0 = 0 ;
38523 char *kwnames[] = {
38524 (char *) "self", NULL
38525 };
38526
38527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38530 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
38531
2f4c0a16 38532 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
38533 return resultobj;
38534 fail:
38535 return NULL;
38536}
38537
38538
2f4c0a16 38539static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38540 PyObject *resultobj;
38541 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38542 wxIndividualLayoutConstraint *result;
38543 PyObject * obj0 = 0 ;
38544 char *kwnames[] = {
38545 (char *) "self", NULL
38546 };
38547
38548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38551 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
38552
2f4c0a16 38553 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
38554 return resultobj;
38555 fail:
38556 return NULL;
38557}
38558
38559
2f4c0a16 38560static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38561 PyObject *resultobj;
38562 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38563 wxIndividualLayoutConstraint *result;
38564 PyObject * obj0 = 0 ;
38565 char *kwnames[] = {
38566 (char *) "self", NULL
38567 };
38568
38569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38572 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
38573
2f4c0a16 38574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
38575 return resultobj;
38576 fail:
38577 return NULL;
38578}
38579
38580
2f4c0a16 38581static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38582 PyObject *resultobj;
38583 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38584 wxIndividualLayoutConstraint *result;
38585 PyObject * obj0 = 0 ;
38586 char *kwnames[] = {
38587 (char *) "self", NULL
38588 };
38589
38590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38593 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
38594
2f4c0a16 38595 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
38596 return resultobj;
38597 fail:
38598 return NULL;
38599}
38600
38601
2f4c0a16 38602static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38603 PyObject *resultobj;
38604 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38605 wxIndividualLayoutConstraint *result;
38606 PyObject * obj0 = 0 ;
38607 char *kwnames[] = {
38608 (char *) "self", NULL
38609 };
38610
38611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38614 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
38615
2f4c0a16 38616 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
38617 return resultobj;
38618 fail:
38619 return NULL;
38620}
38621
38622
2f4c0a16 38623static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38624 PyObject *resultobj;
38625 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38626 wxIndividualLayoutConstraint *result;
38627 PyObject * obj0 = 0 ;
38628 char *kwnames[] = {
38629 (char *) "self", NULL
38630 };
38631
38632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38635 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
38636
2f4c0a16 38637 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
38638 return resultobj;
38639 fail:
38640 return NULL;
38641}
38642
38643
2f4c0a16 38644static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38645 PyObject *resultobj;
38646 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38647 wxIndividualLayoutConstraint *result;
38648 PyObject * obj0 = 0 ;
38649 char *kwnames[] = {
38650 (char *) "self", NULL
38651 };
38652
38653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38656 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
38657
2f4c0a16 38658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
38659 return resultobj;
38660 fail:
38661 return NULL;
38662}
38663
38664
2f4c0a16 38665static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38666 PyObject *resultobj;
38667 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38668 wxIndividualLayoutConstraint *result;
38669 PyObject * obj0 = 0 ;
38670 char *kwnames[] = {
38671 (char *) "self", NULL
38672 };
38673
38674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38677 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
38678
2f4c0a16 38679 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
38680 return resultobj;
38681 fail:
38682 return NULL;
38683}
38684
38685
2f4c0a16 38686static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38687 PyObject *resultobj;
38688 wxLayoutConstraints *result;
38689 char *kwnames[] = {
38690 NULL
38691 };
38692
38693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
38694 {
38695 PyThreadState* __tstate = wxPyBeginAllowThreads();
38696 result = (wxLayoutConstraints *)new wxLayoutConstraints();
38697
38698 wxPyEndAllowThreads(__tstate);
38699 if (PyErr_Occurred()) SWIG_fail;
38700 }
2f4c0a16 38701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
38702 return resultobj;
38703 fail:
38704 return NULL;
38705}
38706
38707
2f4c0a16 38708static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38709 PyObject *resultobj;
38710 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38711 wxWindow *arg2 = (wxWindow *) 0 ;
38712 int *arg3 = (int *) 0 ;
38713 bool result;
38714 int temp3 ;
38715 PyObject * obj0 = 0 ;
38716 PyObject * obj1 = 0 ;
38717 char *kwnames[] = {
38718 (char *) "self",(char *) "win", NULL
38719 };
38720
38721 arg3 = &temp3;
38722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38727 {
38728 PyThreadState* __tstate = wxPyBeginAllowThreads();
38729 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
38730
38731 wxPyEndAllowThreads(__tstate);
38732 if (PyErr_Occurred()) SWIG_fail;
38733 }
02a34c4c 38734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38735 {
38736 PyObject *o = PyInt_FromLong((long) (*arg3));
38737 resultobj = t_output_helper(resultobj,o);
38738 }
38739 return resultobj;
38740 fail:
38741 return NULL;
38742}
38743
38744
2f4c0a16 38745static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38746 PyObject *resultobj;
38747 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38748 bool result;
38749 PyObject * obj0 = 0 ;
38750 char *kwnames[] = {
38751 (char *) "self", NULL
38752 };
38753
38754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38757 {
38758 PyThreadState* __tstate = wxPyBeginAllowThreads();
38759 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
38760
38761 wxPyEndAllowThreads(__tstate);
38762 if (PyErr_Occurred()) SWIG_fail;
38763 }
02a34c4c 38764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38765 return resultobj;
38766 fail:
38767 return NULL;
38768}
38769
38770
2f4c0a16 38771static PyObject * LayoutConstraints_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
38772 PyObject *obj;
38773 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38774 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
38775 Py_INCREF(obj);
38776 return Py_BuildValue((char *)"");
38777}
38778static PyMethodDef SwigMethods[] = {
2f4c0a16
RD
38779 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS, NULL },
38780 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS, NULL },
38781 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
38782 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
38783 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS, NULL },
38784 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
38785 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
38786 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS, NULL },
38787 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
38788 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS, NULL },
38789 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS, NULL },
38790 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
38791 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
38792 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS, NULL },
38793 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
38794 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS, NULL },
38795 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS, NULL },
38796 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS, NULL },
38797 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
38798 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
38799 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
38800 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
38801 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS, NULL },
38802 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS, NULL },
38803 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
38804 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
38805 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
38806 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
38807 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL },
38808 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL },
38809 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
38810 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
38811 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS, NULL },
38812 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
38813 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS, NULL },
38814 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS, NULL },
38815 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS, NULL },
38816 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
38817 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
38818 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
38819 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
38820 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS, NULL },
38821 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS, NULL },
38822 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
38823 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
38824 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS, NULL },
38825 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
38826 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
38827 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
38828 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS, NULL },
38829 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS, NULL },
38830 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS, NULL },
38831 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
38832 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS, NULL },
38833 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS, NULL },
38834 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
38835 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
38836 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS, NULL },
38837 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
38838 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS, NULL },
38839 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
38840 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
38841 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
38842 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
38843 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
38844 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
38845 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
38846 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
38847 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
38848 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
38849 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
38850 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
38851 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS, NULL },
38852 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS, NULL },
38853 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS, NULL },
38854 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS, NULL },
38855 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS, NULL },
38856 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS, NULL },
38857 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS, NULL },
38858 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS, NULL },
38859 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS, NULL },
38860 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS, NULL },
38861 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS, NULL },
38862 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS, NULL },
38863 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS, NULL },
38864 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS, NULL },
38865 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
38866 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
38867 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
38868 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL },
38869 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS, NULL },
38870 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL },
38871 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
38872 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
38873 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
38874 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
38875 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
38876 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
38877 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS, NULL },
38878 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
38879 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS, NULL },
38880 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS, NULL },
38881 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS, NULL },
38882 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL },
38883 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS, NULL },
38884 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS, NULL },
38885 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
38886 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS, NULL },
38887 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS, NULL },
38888 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL },
38889 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL },
38890 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL },
38891 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL },
38892 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS, NULL },
38893 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS, NULL },
38894 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS, NULL },
38895 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS, NULL },
38896 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
38897 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
38898 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
38899 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
38900 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS, NULL },
38901 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
38902 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
38903 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
38904 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
38905 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
38906 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
38907 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS, NULL },
38908 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS, NULL },
38909 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS, NULL },
38910 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL },
38911 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS, NULL },
38912 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS, NULL },
38913 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS, NULL },
38914 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS, NULL },
38915 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS, NULL },
38916 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS, NULL },
38917 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS, NULL },
38918 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS, NULL },
38919 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS, NULL },
38920 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS, NULL },
38921 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS, NULL },
38922 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
38923 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS, NULL },
38924 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS, NULL },
38925 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS, NULL },
38926 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS, NULL },
38927 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS, NULL },
38928 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS, NULL },
38929 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS, NULL },
38930 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS, NULL },
38931 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS, NULL },
38932 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS, NULL },
38933 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
38934 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS, NULL },
38935 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
38936 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS, NULL },
38937 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS, NULL },
38938 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS, NULL },
38939 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS, NULL },
38940 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
38941 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
38942 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
38943 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
38944 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
38945 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS, NULL },
38946 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS, NULL },
38947 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
38948 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS, NULL },
38949 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS, NULL },
38950 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS, NULL },
38951 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
38952 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
38953 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS, NULL },
38954 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
38955 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
38956 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
38957 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
38958 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
38959 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS, NULL },
38960 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS, NULL },
38961 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS, NULL },
38962 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS, NULL },
38963 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
38964 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
38965 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
38966 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS, NULL },
38967 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
38968 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
38969 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
38970 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
38971 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
38972 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS, NULL },
38973 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS, NULL },
38974 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
38975 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS, NULL },
38976 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
38977 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS, NULL },
38978 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
38979 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
38980 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
38981 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
38982 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS, NULL },
38983 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
38984 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS, NULL },
38985 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
38986 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
38987 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
38988 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
38989 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL },
38990 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
38991 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
38992 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS, NULL },
38993 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS, NULL },
38994 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS, NULL },
38995 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL },
38996 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS, NULL },
38997 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS, NULL },
38998 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS, NULL },
38999 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS, NULL },
39000 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS, NULL },
39001 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS, NULL },
39002 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS, NULL },
39003 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
39004 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS, NULL },
39005 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS, NULL },
39006 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
39007 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS, NULL },
39008 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS, NULL },
39009 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS, NULL },
39010 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
39011 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS, NULL },
39012 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS, NULL },
39013 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS, NULL },
39014 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
39015 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
39016 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
39017 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL },
39018 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS, NULL },
39019 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
39020 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL },
39021 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
39022 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS, NULL },
39023 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
39024 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS, NULL },
39025 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS, NULL },
39026 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL },
39027 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS, NULL },
39028 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
39029 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
39030 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
39031 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS, NULL },
39032 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
39033 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
39034 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
39035 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
39036 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
39037 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
39038 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL },
39039 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL },
39040 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
39041 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
39042 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL },
39043 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS, NULL },
39044 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS, NULL },
39045 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS, NULL },
39046 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
39047 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS, NULL },
39048 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS, NULL },
39049 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL },
39050 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL },
39051 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
39052 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL },
39053 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
39054 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
39055 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
39056 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
39057 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
39058 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS, NULL },
39059 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS, NULL },
39060 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39061 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39062 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39063 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
39064 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
39065 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
39066 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS, NULL },
39067 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS, NULL },
39068 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39069 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS, NULL },
39070 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39071 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS, NULL },
39072 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39073 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS, NULL },
39074 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39075 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS, NULL },
39076 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39077 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS, NULL },
39078 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39079 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS, NULL },
39080 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39081 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS, NULL },
39082 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39083 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS, NULL },
39084 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39085 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS, NULL },
39086 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39087 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS, NULL },
39088 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39089 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS, NULL },
39090 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39091 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39092 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39093 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39094 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39095 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39096 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39097 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39098 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39099 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL },
39100 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS, NULL },
39101 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS, NULL },
39102 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
39103 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS, NULL },
39104 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS, NULL },
39105 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS, NULL },
39106 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS, NULL },
39107 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS, NULL },
39108 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS, NULL },
39109 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS, NULL },
39110 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
39111 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
39112 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
39113 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
39114 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39115 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS, NULL },
39116 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS, NULL },
39117 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS, NULL },
39118 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS, NULL },
39119 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS, NULL },
39120 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
39121 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS, NULL },
39122 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
39123 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
39124 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS, NULL },
39125 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL },
39126 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL },
39127 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS, NULL },
39128 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39129 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
39130 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
39131 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
39132 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
39133 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL },
39134 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL },
39135 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL },
39136 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS, NULL },
39137 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS, NULL },
39138 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
39139 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS, NULL },
39140 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39141 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL },
39142 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS, NULL },
39143 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS, NULL },
39144 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS, NULL },
39145 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39146 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
39147 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39148 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
39149 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39150 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS, NULL },
39151 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39152 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
39153 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39154 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
39155 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39156 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS, NULL },
39157 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39158 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
39159 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
39160 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS, NULL },
39161 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
39162 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS, NULL },
39163 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
39164 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS, NULL },
39165 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
39166 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
39167 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
39168 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
39169 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL },
39170 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL },
39171 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS, NULL },
39172 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS, NULL },
39173 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS, NULL },
39174 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS, NULL },
39175 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS, NULL },
39176 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS, NULL },
39177 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS, NULL },
39178 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
39179 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
39180 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
39181 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS, NULL },
39182 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS, NULL },
39183 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS, NULL },
39184 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS, NULL },
39185 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39186 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39187 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39188 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
39189 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
39190 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS, NULL },
39191 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS, NULL },
39192 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS, NULL },
39193 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS, NULL },
39194 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
39195 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
39196 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
39197 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
39198 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39199 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39200 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39201 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39202 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39203 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39204 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39205 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39206 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39207 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39208 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39209 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39210 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39211 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39212 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS, NULL },
39213 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS, NULL },
39214 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS, NULL },
39215 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS, NULL },
39216 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS, NULL },
39217 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS, NULL },
39218 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS, NULL },
39219 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39220 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
39221 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
39222 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
39223 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
39224 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS, NULL },
39225 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS, NULL },
39226 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39227 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
39228 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
39229 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
39230 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
39231 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS, NULL },
39232 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
39233 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS, NULL },
39234 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
39235 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS, NULL },
39236 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39237 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39238 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
39239 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
39240 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
39241 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
39242 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
39243 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
39244 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
39245 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
39246 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39247 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39248 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39249 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39250 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39251 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39252 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
39253 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
39254 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
39255 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
39256 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
39257 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
39258 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS, NULL },
39259 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS, NULL },
39260 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS, NULL },
39261 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39262 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
39263 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
39264 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
39265 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
39266 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS, NULL },
39267 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS, NULL },
39268 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL },
39269 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL },
39270 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS, NULL },
39271 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39272 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39273 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
39274 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
39275 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39276 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
39277 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
39278 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL },
39279 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL },
39280 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS, NULL },
39281 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39282 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS, NULL },
39283 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39284 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS, NULL },
39285 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39286 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
39287 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS, NULL },
39288 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39289 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39290 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39291 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS, NULL },
39292 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39293 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39294 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS, NULL },
39295 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39296 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS, NULL },
39297 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS, NULL },
39298 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39299 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS, NULL },
39300 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39301 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS, NULL },
39302 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS, NULL },
39303 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39304 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS, NULL },
39305 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39306 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL },
39307 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL },
39308 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL },
39309 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL },
39310 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL },
39311 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL },
39312 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL },
39313 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39314 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL },
39315 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS, NULL },
39316 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS, NULL },
39317 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39318 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS, NULL },
39319 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS, NULL },
39320 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39321 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS, NULL },
39322 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39323 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS, NULL },
39324 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS, NULL },
39325 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS, NULL },
39326 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39327 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS, NULL },
39328 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39329 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
39330 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS, NULL },
39331 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS, NULL },
39332 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39333 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS, NULL },
39334 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
39335 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
39336 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL },
39337 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL },
39338 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS, NULL },
39339 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS, NULL },
39340 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL },
39341 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL },
39342 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS, NULL },
39343 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39344 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS, NULL },
39345 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39346 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39347 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS, NULL },
39348 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39349 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS, NULL },
39350 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39351 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39352 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39353 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS, NULL },
39354 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39355 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL },
39356 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL },
39357 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS, NULL },
39358 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39359 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL },
39360 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS, NULL },
39361 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS, NULL },
39362 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS, NULL },
39363 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL },
39364 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL },
39365 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS, NULL },
39366 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39367 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39368 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS, NULL },
39369 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39370 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39371 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS, NULL },
39372 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39373 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39374 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39375 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS, NULL },
39376 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39377 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS, NULL },
39378 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS, NULL },
39379 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL },
39380 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL },
39381 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS, NULL },
39382 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL },
39383 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39384 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39385 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
39386 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
39387 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL },
39388 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39389 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39390 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
39391 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
39392 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL },
39393 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS, NULL },
39394 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS, NULL },
39395 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
39396 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
39397 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
39398 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
39399 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
39400 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
39401 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
39402 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS, NULL },
39403 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL },
39404 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS, NULL },
39405 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL },
39406 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS, NULL },
39407 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
39408 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS, NULL },
39409 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS, NULL },
39410 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL },
39411 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS, NULL },
39412 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS, NULL },
39413 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
39414 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39415 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39416 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL },
39417 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL },
39418 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL },
39419 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL },
39420 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
39421 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
39422 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL },
39423 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL },
39424 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL },
39425 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
39426 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
39427 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
39428 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL },
39429 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL },
39430 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
39431 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
39432 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
39433 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL },
39434 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS, NULL },
39435 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS, NULL },
39436 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS, NULL },
39437 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
39438 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS, NULL },
39439 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL },
39440 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS, NULL },
39441 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL },
39442 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS, NULL },
39443 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS, NULL },
39444 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS, NULL },
39445 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
39446 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
39447 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL },
39448 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
39449 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
39450 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
39451 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
39452 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
39453 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS, NULL },
39454 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
39455 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
39456 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
39457 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS, NULL },
39458 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS, NULL },
39459 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL },
39460 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39461 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS, NULL },
39462 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS, NULL },
39463 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
39464 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS, NULL },
39465 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS, NULL },
39466 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
39467 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
39468 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
39469 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
39470 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
39471 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
ce7284bd
RD
39472 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL },
39473 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
39474 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
39475 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
39476 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS, NULL },
39477 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS, NULL },
39478 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS, NULL },
39479 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
39480 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS, NULL },
39481 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
39482 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
39483 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS, NULL },
39484 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
39485 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS, NULL },
39486 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS, NULL },
39487 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
39488 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
39489 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
39490 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39491 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39492 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
39493 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39494 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
39495 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
39496 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39497 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
39498 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
39499 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
39500 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39501 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
39502 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS, NULL },
39503 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL },
39504 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS, NULL },
39505 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS, NULL },
39506 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS, NULL },
39507 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
39508 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
39509 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS, NULL },
39510 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
39511 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL },
39512 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL },
39513 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
39514 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
39515 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
39516 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
39517 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
39518 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
39519 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS, NULL },
39520 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
39521 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
39522 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS, NULL },
39523 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
39524 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39525 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
39526 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
39527 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
39528 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS, NULL },
39529 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL },
39530 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL },
39531 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL },
39532 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39533 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39534 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL },
39535 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS, NULL },
39536 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS, NULL },
39537 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
39538 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
39539 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
39540 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
39541 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
39542 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
39543 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
39544 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS, NULL },
39545 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS, NULL },
39546 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS, NULL },
39547 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
39548 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
39549 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL },
39550 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL },
39551 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39552 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39553 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39554 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39555 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39556 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS, NULL },
39557 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS, NULL },
39558 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
39559 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
39560 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL },
39561 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL },
39562 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS, NULL },
39563 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS, NULL },
39564 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS, NULL },
39565 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS, NULL },
39566 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS, NULL },
39567 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS, NULL },
39568 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS, NULL },
39569 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS, NULL },
39570 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS, NULL },
39571 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
39572 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS, NULL },
39573 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS, NULL },
39574 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS, NULL },
39575 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS, NULL },
39576 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS, NULL },
39577 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS, NULL },
39578 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS, NULL },
39579 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
39580 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS, NULL },
39581 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
39582 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS, NULL },
39583 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS, NULL },
ce7284bd 39584 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
39585 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
39586 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
39587 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
39588 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
39589 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
39590 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
39591 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
39592 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
39593 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS, NULL },
39594 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS, NULL },
39595 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
39596 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
39597 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
39598 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
39599 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS, NULL },
39600 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS, NULL },
39601 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS, NULL },
39602 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS, NULL },
39603 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
39604 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
39605 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS, NULL },
39606 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS, NULL },
39607 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS, NULL },
39608 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39609 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL },
39610 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
39611 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
39612 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL },
39613 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL },
39614 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS, NULL },
39615 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS, NULL },
39616 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39617 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
39618 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
39619 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS, NULL },
39620 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS, NULL },
39621 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS, NULL },
39622 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS, NULL },
39623 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS, NULL },
39624 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS, NULL },
39625 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS, NULL },
39626 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS, NULL },
39627 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
39628 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
39629 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
39630 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
39631 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
39632 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
39633 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL },
39634 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL },
39635 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
39636 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39637 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS, NULL },
39638 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39639 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39640 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39641 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS, NULL },
39642 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL },
39643 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL },
39644 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS, NULL },
39645 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS, NULL },
39646 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS, NULL },
39647 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
39648 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
39649 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39650 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39651 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39652 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39653 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS, NULL },
39654 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS, NULL },
39655 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS, NULL },
39656 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS, NULL },
39657 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
39658 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS, NULL },
39659 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS, NULL },
39660 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS, NULL },
39661 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
39662 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
39663 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
39664 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39665 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
39666 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS, NULL },
39667 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
39668 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
39669 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
39670 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
39671 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
39672 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39673 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
39674 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
39675 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
39676 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
39677 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
39678 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39679 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
39680 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS, NULL },
39681 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
39682 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
39683 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
39684 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS, NULL },
39685 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS, NULL },
39686 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
39687 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS, NULL },
39688 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
39689 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL },
39690 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39691 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
39692 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39693 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS, NULL },
39694 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
39695 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
39696 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
39697 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
39698 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
39699 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
39700 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
39701 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39702 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
39703 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39704 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39705 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
39706 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS, NULL },
39707 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
39708 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
39709 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
39710 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL },
39711 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS, NULL },
39712 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
39713 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS, NULL },
39714 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
39715 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS, NULL },
39716 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
39717 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS, NULL },
39718 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39719 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
39720 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
39721 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS, NULL },
39722 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS, NULL },
39723 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL },
39724 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL },
39725 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
39726 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL },
39727 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39728 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
39729 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS, NULL },
39730 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
39731 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39732 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
39733 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
39734 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
39735 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
39736 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
39737 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL },
39738 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
39739 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
39740 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS, NULL },
39741 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
39742 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39743 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39744 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
39745 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
39746 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
39747 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
39748 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
39749 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
39750 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS, NULL },
39751 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
39752 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS, NULL },
39753 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS, NULL },
39754 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39755 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39756 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
39757 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
39758 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
39759 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS, NULL },
39760 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
39761 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
39762 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
39763 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
39764 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL },
39765 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL },
39766 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL },
39767 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
39768 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
39769 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL },
39770 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL },
39771 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL },
39772 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS, NULL },
39773 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS, NULL },
39774 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
39775 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
39776 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS, NULL },
39777 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS, NULL },
39778 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS, NULL },
39779 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
39780 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
39781 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
39782 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
39783 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
39784 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
39785 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL },
39786 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
39787 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
39788 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS, NULL },
39789 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
39790 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
39791 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
39792 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
39793 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS, NULL },
39794 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS, NULL },
39795 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS, NULL },
39796 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
39797 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39798 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39799 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL },
39800 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39801 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
39802 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
39803 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
39804 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
39805 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS, NULL },
39806 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS, NULL },
39807 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS, NULL },
39808 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
39809 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
39810 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39811 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39812 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
39813 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
39814 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
39815 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL },
39816 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS, NULL },
39817 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
39818 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
39819 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39820 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39821 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39822 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39823 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
39824 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
39825 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS, NULL },
39826 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
39827 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39828 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL },
39829 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL },
39830 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
39831 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL },
39832 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
39833 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
39834 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
39835 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
39836 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
39837 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
39838 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
39839 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
39840 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
39841 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
39842 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39843 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
39844 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
39845 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
39846 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
39847 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS, NULL },
39848 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS, NULL },
39849 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
39850 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
39851 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
39852 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL },
39853 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
39854 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS, NULL },
39855 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
39856 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
39857 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS, NULL },
39858 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS, NULL },
39859 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS, NULL },
39860 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
39861 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS, NULL },
39862 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39863 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
39864 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
39865 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
39866 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
39867 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL },
39868 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39869 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
39870 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
39871 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
39872 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS, NULL },
39873 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39874 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
39875 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
39876 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS, NULL },
39877 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
39878 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS, NULL },
39879 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS, NULL },
39880 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS, NULL },
39881 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS, NULL },
39882 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS, NULL },
39883 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS, NULL },
39884 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS, NULL },
39885 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39886 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
39887 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
39888 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL },
39889 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL },
39890 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL },
39891 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL },
39892 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL },
39893 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL },
39894 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL },
39895 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL },
39896 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS, NULL },
39897 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS, NULL },
39898 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS, NULL },
39899 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39900 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS, NULL },
39901 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS, NULL },
39902 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS, NULL },
39903 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS, NULL },
39904 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
39905 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
39906 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS, NULL },
39907 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS, NULL },
39908 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS, NULL },
39909 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS, NULL },
39910 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS, NULL },
39911 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS, NULL },
39912 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS, NULL },
39913 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS, NULL },
39914 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
39915 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
39916 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS, NULL },
39917 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS, NULL },
39918 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS, NULL },
39919 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL },
39920 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39921 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39922 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
39923 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS, NULL },
39924 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS, NULL },
39925 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS, NULL },
39926 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS, NULL },
39927 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS, NULL },
39928 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS, NULL },
39929 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39930 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39931 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS, NULL },
39932 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS, NULL },
39933 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS, NULL },
39934 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
39935 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
39936 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
39937 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS, NULL },
39938 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS, NULL },
39939 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS, NULL },
39940 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS, NULL },
39941 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS, NULL },
39942 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS, NULL },
39943 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
39944 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS, NULL },
39945 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
39946 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
39947 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS, NULL },
39948 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS, NULL },
39949 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS, NULL },
39950 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS, NULL },
39951 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS, NULL },
39952 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS, NULL },
39953 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS, NULL },
39954 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS, NULL },
39955 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS, NULL },
39956 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS, NULL },
39957 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS, NULL },
39958 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS, NULL },
39959 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS, NULL },
39960 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS, NULL },
39961 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
39962 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
39963 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
39964 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
39965 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
39966 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS, NULL },
39967 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS, NULL },
39968 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS, NULL },
39969 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS, NULL },
39970 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS, NULL },
39971 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS, NULL },
39972 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS, NULL },
39973 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS, NULL },
39974 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
39975 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS, NULL },
39976 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS, NULL },
39977 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS, NULL },
39978 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS, NULL },
39979 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS, NULL },
39980 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
39981 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
39982 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS, NULL },
39983 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS, NULL },
39984 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
39985 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
39986 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS, NULL },
39987 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS, NULL },
39988 { NULL, NULL, 0, NULL }
d14a1e28
RD
39989};
39990
39991
39992/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39993
39994static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
39995 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
39996}
39997static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
39998 return (void *)((wxSizer *) ((wxBoxSizer *) x));
39999}
40000static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
40001 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
40002}
40003static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
40004 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
40005}
40006static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
40007 return (void *)((wxSizer *) ((wxGridSizer *) x));
40008}
40009static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
40010 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
40011}
40012static void *_p_wxPySizerTo_p_wxSizer(void *x) {
40013 return (void *)((wxSizer *) ((wxPySizer *) x));
40014}
40015static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
40016 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
40017}
40018static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
40019 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
40020}
40021static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
40022 return (void *)((wxEvent *) ((wxMenuEvent *) x));
40023}
40024static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
40025 return (void *)((wxEvent *) ((wxCloseEvent *) x));
40026}
40027static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
40028 return (void *)((wxEvent *) ((wxMouseEvent *) x));
40029}
40030static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
40031 return (void *)((wxEvent *) ((wxEraseEvent *) x));
40032}
40033static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
40034 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
40035}
40036static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
40037 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
40038}
40039static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
40040 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
40041}
40042static void *_p_wxPyEventTo_p_wxEvent(void *x) {
40043 return (void *)((wxEvent *) ((wxPyEvent *) x));
40044}
40045static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
40046 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
40047}
40048static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
40049 return (void *)((wxEvent *) ((wxIdleEvent *) x));
40050}
40051static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
40052 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
40053}
40054static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
40055 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
40056}
40057static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
40058 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
40059}
40060static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
40061 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
40062}
40063static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
40064 return (void *)((wxEvent *) ((wxActivateEvent *) x));
40065}
40066static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
40067 return (void *)((wxEvent *) ((wxSizeEvent *) x));
40068}
40069static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
40070 return (void *)((wxEvent *) ((wxMoveEvent *) x));
40071}
40072static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
40073 return (void *)((wxEvent *) ((wxPaintEvent *) x));
40074}
40075static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
40076 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
40077}
40078static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
40079 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
40080}
40081static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
40082 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
40083}
40084static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
40085 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
40086}
40087static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
40088 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
40089}
40090static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
40091 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
40092}
40093static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
40094 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
40095}
40096static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
40097 return (void *)((wxEvent *) ((wxFocusEvent *) x));
40098}
40099static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
40100 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
40101}
40102static void *_p_wxShowEventTo_p_wxEvent(void *x) {
40103 return (void *)((wxEvent *) ((wxShowEvent *) x));
40104}
40105static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
40106 return (void *)((wxEvent *) ((wxCommandEvent *) x));
40107}
40108static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
40109 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
40110}
40111static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
40112 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40113}
40114static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
40115 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
40116}
40117static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
40118 return (void *)((wxEvent *) ((wxKeyEvent *) x));
40119}
40120static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
40121 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
40122}
40123static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
40124 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
40125}
40126static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
40127 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
40128}
40129static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
40130 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
40131}
40132static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
40133 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
40134}
40135static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
40136 return (void *)((wxControl *) ((wxControlWithItems *) x));
40137}
40138static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
40139 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
40140}
40141static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
40142 return (void *)((wxEvtHandler *) ((wxWindow *) x));
40143}
40144static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
40145 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
40146}
40147static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
40148 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
40149}
40150static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
40151 return (void *)((wxEvtHandler *) ((wxValidator *) x));
40152}
40153static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
40154 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
40155}
40156static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
40157 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
40158}
40159static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
40160 return (void *)((wxEvtHandler *) ((wxMenu *) x));
40161}
40162static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
40163 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
40164}
40165static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
40166 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
40167}
40168static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
40169 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
40170}
40171static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
40172 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
40173}
40174static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
40175 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
40176}
40177static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
40178 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
40179}
40180static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
40181 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
40182}
40183static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
40184 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
40185}
40186static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
40187 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
40188}
40189static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
40190 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
40191}
40192static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
40193 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
40194}
40195static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
40196 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
40197}
40198static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
40199 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
40200}
40201static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
40202 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
40203}
40204static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
40205 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
40206}
40207static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
40208 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
40209}
40210static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
40211 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
40212}
40213static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
40214 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
40215}
40216static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
40217 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
40218}
40219static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
40220 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
40221}
40222static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
40223 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
40224}
40225static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
40226 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
40227}
40228static void *_p_wxMenuEventTo_p_wxObject(void *x) {
40229 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
40230}
40231static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
40232 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
40233}
40234static void *_p_wxEraseEventTo_p_wxObject(void *x) {
40235 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
40236}
40237static void *_p_wxMouseEventTo_p_wxObject(void *x) {
40238 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
40239}
40240static void *_p_wxCloseEventTo_p_wxObject(void *x) {
40241 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
40242}
40243static void *_p_wxValidatorTo_p_wxObject(void *x) {
40244 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
40245}
40246static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
40247 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
40248}
40249static void *_p_wxMenuBarTo_p_wxObject(void *x) {
40250 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
40251}
40252static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
40253 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
40254}
40255static void *_p_wxSizerTo_p_wxObject(void *x) {
40256 return (void *)((wxObject *) ((wxSizer *) x));
40257}
40258static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
40259 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
40260}
40261static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
40262 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
40263}
40264static void *_p_wxMenuTo_p_wxObject(void *x) {
40265 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
40266}
40267static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
40268 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
40269}
40270static void *_p_wxImageTo_p_wxObject(void *x) {
40271 return (void *)((wxObject *) ((wxImage *) x));
40272}
40273static void *_p_wxScrollEventTo_p_wxObject(void *x) {
40274 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
40275}
40276static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
40277 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
40278}
40279static void *_p_wxPyEventTo_p_wxObject(void *x) {
40280 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
40281}
40282static void *_p_wxWindowTo_p_wxObject(void *x) {
40283 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
40284}
40285static void *_p_wxControlTo_p_wxObject(void *x) {
40286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
40287}
41f1cec7
RD
40288static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
40289 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
40290}
d14a1e28
RD
40291static void *_p_wxGridSizerTo_p_wxObject(void *x) {
40292 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
40293}
40294static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
40295 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
40296}
40297static void *_p_wxPyAppTo_p_wxObject(void *x) {
40298 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
40299}
40300static void *_p_wxEventTo_p_wxObject(void *x) {
40301 return (void *)((wxObject *) ((wxEvent *) x));
40302}
40303static void *_p_wxActivateEventTo_p_wxObject(void *x) {
40304 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
40305}
40306static void *_p_wxMoveEventTo_p_wxObject(void *x) {
40307 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
40308}
40309static void *_p_wxSizeEventTo_p_wxObject(void *x) {
40310 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
40311}
40312static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
40313 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
40314}
40315static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
40316 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
40317}
40318static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
40319 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
40320}
40321static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
40322 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
40323}
40324static void *_p_wxIdleEventTo_p_wxObject(void *x) {
40325 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
40326}
40327static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
40328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
40329}
40330static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
40331 return (void *)((wxObject *) ((wxEvtHandler *) x));
40332}
40333static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
40334 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
40335}
40336static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
40337 return (void *)((wxObject *) ((wxImageHandler *) x));
40338}
40339static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
40340 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
40341}
40342static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
40343 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
40344}
40345static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
40346 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
40347}
40348static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
40349 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
40350}
40351static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
40352 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
40353}
40354static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
40355 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
40356}
40357static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
40358 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
40359}
40360static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
40361 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
40362}
40363static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
40364 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
40365}
40366static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
40367 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
40368}
40369static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
40370 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
40371}
40372static void *_p_wxPaintEventTo_p_wxObject(void *x) {
40373 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
40374}
40375static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
40376 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
40377}
40378static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
40379 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
40380}
40381static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
40382 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
40383}
40384static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
40385 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
40386}
40387static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
40388 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
40389}
40390static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
40391 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
40392}
40393static void *_p_wxFileSystemTo_p_wxObject(void *x) {
40394 return (void *)((wxObject *) ((wxFileSystem *) x));
40395}
40396static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
40397 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
40398}
40399static void *_p_wxFocusEventTo_p_wxObject(void *x) {
40400 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
40401}
40402static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
40403 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
40404}
40405static void *_p_wxSizerItemTo_p_wxObject(void *x) {
40406 return (void *)((wxObject *) ((wxSizerItem *) x));
40407}
40408static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
40409 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
40410}
40411static void *_p_wxShowEventTo_p_wxObject(void *x) {
40412 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
40413}
40414static void *_p_wxFSFileTo_p_wxObject(void *x) {
40415 return (void *)((wxObject *) ((wxFSFile *) x));
40416}
40417static void *_p_wxCommandEventTo_p_wxObject(void *x) {
40418 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
40419}
40420static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
40421 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
40422}
40423static void *_p_wxKeyEventTo_p_wxObject(void *x) {
40424 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
40425}
40426static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
40427 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
40428}
40429static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
40430 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40431}
40432static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
40433 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
40434}
40435static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
40436 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
40437}
40438static void *_p_wxMenuItemTo_p_wxObject(void *x) {
40439 return (void *)((wxObject *) ((wxMenuItem *) x));
40440}
40441static void *_p_wxPySizerTo_p_wxObject(void *x) {
40442 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
40443}
40444static void *_p_wxControlTo_p_wxWindow(void *x) {
40445 return (void *)((wxWindow *) ((wxControl *) x));
40446}
40447static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
40448 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
40449}
40450static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
40451 return (void *)((wxWindow *) ((wxMenuBar *) x));
40452}
40453static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
40454 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
40455}
40456static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
40457 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
40458}
40459static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
40460 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
40461}
40462static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
40463 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
40464}
40465static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
40466 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40467}
40468static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
40469 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
40470}
40471static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
40472 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
40473}
40474static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
40475 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
40476}
40477static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
40478 return (void *)((wxValidator *) ((wxPyValidator *) x));
40479}
2f4c0a16
RD
40480static 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}};
40481static 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}};
40482static 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}};
40483static 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}};
40484static 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}};
40485static 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}};
40486static 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}};
40487static 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}};
40488static 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}};
40489static 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}};
40490static 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}};
40491static 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}};
40492static 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}};
40493static 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}};
40494static 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}};
40495static 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}};
40496static 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}};
40497static 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}};
40498static 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}};
40499static 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}};
40500static 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}};
40501static 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}};
40502static 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}};
40503static 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}};
40504static 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}};
40505static 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}};
40506static 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}};
40507static 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}};
40508static 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}};
40509static 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}};
40510static 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}};
40511static 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}};
40512static 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}};
40513static 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}};
40514static 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}};
40515static 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}};
40516static 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}};
40517static 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}};
40518static 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}};
40519static 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}};
40520static 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}};
40521static 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}};
40522static 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}};
40523static 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}};
40524static 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}};
40525static 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}};
40526static 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}};
40527static 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}};
40528static 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}};
40529static 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}};
40530static 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}};
40531static 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}};
40532static 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}};
40533static 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}};
40534static 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}};
40535static 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}};
40536static 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}};
40537static 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}};
40538static 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}};
40539static 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}};
40540static 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}};
40541static 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}};
40542static 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}};
40543static 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}};
40544static 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}};
40545static 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}};
40546static 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}};
40547static 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}};
40548static 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}};
40549static 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}};
40550static 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}};
40551static 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}};
40552static 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}};
40553static 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}};
40554static 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}};
40555static 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}};
40556static 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}};
40557static 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}};
40558static 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}};
40559static 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}};
40560static 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}};
40561static 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}};
40562static 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}};
40563static 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}};
40564static 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}};
40565static 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}};
40566static 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}};
40567static 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}};
40568static 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}};
40569static 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}};
40570static 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}};
40571static 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}};
40572static 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}};
40573static 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}};
40574static 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}};
40575static 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}};
40576static 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}};
40577static 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}};
40578static 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}};
40579static 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}};
40580static 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}};
40581static 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}};
40582static 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}};
40583static 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}};
40584static 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}};
40585static 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}};
40586static 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}};
40587static 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}};
40588static 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}};
40589static 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}};
40590static 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}};
40591static 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}};
40592static 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}};
40593static 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
40594
40595static swig_type_info *swig_types_initial[] = {
40596_swigt__p_wxLayoutConstraints,
40597_swigt__p_wxRealPoint,
40598_swigt__p_wxSizerItem,
40599_swigt__p_wxGBSizerItem,
40600_swigt__p_wxScrollEvent,
40601_swigt__p_wxIndividualLayoutConstraint,
40602_swigt__p_wxSizer,
40603_swigt__p_wxBoxSizer,
40604_swigt__p_wxStaticBoxSizer,
40605_swigt__p_wxGridBagSizer,
40606_swigt__p_wxAcceleratorEntry,
40607_swigt__p_wxUpdateUIEvent,
40608_swigt__p_wxMenu,
40609_swigt__p_wxEvent,
40610_swigt__p_wxGridSizer,
40611_swigt__p_wxFlexGridSizer,
40612_swigt__p_wxInitDialogEvent,
40613_swigt__p_wxItemContainer,
40614_swigt__p_wxNcPaintEvent,
40615_swigt__p_wxPaintEvent,
40616_swigt__p_wxSysColourChangedEvent,
40617_swigt__p_wxMouseCaptureChangedEvent,
40618_swigt__p_wxDisplayChangedEvent,
40619_swigt__p_wxPaletteChangedEvent,
40620_swigt__p_wxControl,
40621_swigt__p_wxFont,
40622_swigt__p_wxMenuBarBase,
40623_swigt__p_wxSetCursorEvent,
40624_swigt__p_wxFSFile,
40625_swigt__p_wxCaret,
40626_swigt__p_wxRegion,
40627_swigt__p_wxPoint2D,
40628_swigt__p_int,
40629_swigt__p_wxSize,
40630_swigt__p_wxDC,
40631_swigt__p_wxPySizer,
40632_swigt__p_wxNotifyEvent,
40633_swigt__p_wxPyEvent,
40634_swigt__p_wxPropagationDisabler,
40635_swigt__p_wxAppTraits,
40636_swigt__p_wxArrayString,
40637_swigt__p_wxShowEvent,
40638_swigt__p_wxToolTip,
02a34c4c 40639_swigt__p_wxMaximizeEvent,
d14a1e28
RD
40640_swigt__p_wxIconizeEvent,
40641_swigt__p_wxActivateEvent,
40642_swigt__p_wxMoveEvent,
40643_swigt__p_wxSizeEvent,
40644_swigt__p_wxQueryNewPaletteEvent,
40645_swigt__p_wxWindowCreateEvent,
40646_swigt__p_wxIdleEvent,
40647_swigt__p_wxMenuItem,
40648_swigt__p_wxStaticBox,
40649_swigt__p_long,
40650_swigt__p_wxTIFFHandler,
40651_swigt__p_wxXPMHandler,
40652_swigt__p_wxPNMHandler,
40653_swigt__p_wxJPEGHandler,
40654_swigt__p_wxPCXHandler,
40655_swigt__p_wxGIFHandler,
40656_swigt__p_wxPNGHandler,
40657_swigt__p_wxANIHandler,
40658_swigt__p_wxMemoryFSHandler,
40659_swigt__p_wxEvtHandler,
40660_swigt__p_wxCURHandler,
40661_swigt__p_wxICOHandler,
40662_swigt__p_wxBMPHandler,
40663_swigt__p_wxImageHandler,
40664_swigt__p_wxFileSystemHandler,
40665_swigt__p_wxPyFileSystemHandler,
40666_swigt__p_wxInternetFSHandler,
02a34c4c 40667_swigt__p_wxZipFSHandler,
d14a1e28
RD
40668_swigt__p_wxRect,
40669_swigt__p_wxGBSpan,
40670_swigt__p_wxPropagateOnce,
40671_swigt__p_wxAcceleratorTable,
8edf1c75 40672_swigt__p_char,
d14a1e28
RD
40673_swigt__p_wxGBPosition,
40674_swigt__p_wxImage,
40675_swigt__p_wxFrame,
40676_swigt__p_wxScrollWinEvent,
40677_swigt__p_wxImageHistogram,
40678_swigt__p_byte,
40679_swigt__p_wxPoint,
40680_swigt__p_wxCursor,
40681_swigt__p_wxObject,
40682_swigt__p_wxPyInputStream,
40683_swigt__p_wxOutputStream,
40684_swigt__p_wxInputStream,
40685_swigt__p_wxDateTime,
40686_swigt__p_wxKeyEvent,
40687_swigt__p_wxNavigationKeyEvent,
40688_swigt__p_wxWindowDestroyEvent,
40689_swigt__p_wxWindow,
40690_swigt__p_wxMenuBar,
d14a1e28
RD
40691_swigt__p_wxFileSystem,
40692_swigt__p_wxBitmap,
40693_swigt__p_wxMenuEvent,
40694_swigt__p_wxContextMenuEvent,
40695_swigt__p_unsigned_char,
40696_swigt__p_wxCloseEvent,
40697_swigt__p_wxEraseEvent,
40698_swigt__p_wxMouseEvent,
40699_swigt__p_wxPyApp,
40700_swigt__p_wxCommandEvent,
40701_swigt__p_wxPyCommandEvent,
44127b65 40702_swigt__p_wxPyDropTarget,
d14a1e28
RD
40703_swigt__p_wxChildFocusEvent,
40704_swigt__p_wxFocusEvent,
40705_swigt__p_wxDropFilesEvent,
40706_swigt__p_wxControlWithItems,
40707_swigt__p_wxColour,
40708_swigt__p_wxValidator,
40709_swigt__p_wxPyValidator,
407100
40711};
40712
40713
40714/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40715
40716static swig_const_info swig_const_table[] = {
2f4c0a16 40717{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
40718
40719#ifdef __cplusplus
40720}
40721#endif
40722
40723#ifdef __cplusplus
40724extern "C"
40725#endif
40726SWIGEXPORT(void) SWIG_init(void) {
40727 static PyObject *SWIG_globals = 0;
40728 static int typeinit = 0;
40729 PyObject *m, *d;
40730 int i;
40731 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
40732 m = Py_InitModule((char *) SWIG_name, SwigMethods);
40733 d = PyModule_GetDict(m);
40734
40735 if (!typeinit) {
40736 for (i = 0; swig_types_initial[i]; i++) {
40737 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
40738 }
40739 typeinit = 1;
40740 }
40741 SWIG_InstallConstants(d,swig_const_table);
40742
40743
40744#ifndef wxPyUSE_EXPORT
40745 // Make our API structure a CObject so other modules can import it
40746 // from this module.
40747 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
40748 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
40749 Py_XDECREF(cobj);
40750#endif
40751
2f4c0a16
RD
40752 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
40753 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
40754 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
40755 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
40756 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
40757 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
40758 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
40759 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
40760 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
40761 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
40762 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
40763 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
40764 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
40765 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
40766 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
40767 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
40768 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
40769 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
40770 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
40771 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
40772 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
40773 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
40774 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
40775 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
40776 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
40777 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
40778 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
40779 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
40780 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
40781 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
40782 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
40783 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
40784 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
40785 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
40786 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
40787 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
40788 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
40789 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
40790 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
40791 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
40792 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
40793 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
40794 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
40795 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
40796 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
40797 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
40798 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
40799 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
40800 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
40801 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
40802 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
40803 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
40804 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
40805 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
40806 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
40807 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
40808 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
40809 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
40810 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
40811 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
40812 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
40813 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
40814 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
40815 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
40816 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
40817 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
40818 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
40819 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
40820 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
40821 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
40822 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
40823 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
40824 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
40825 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
40826 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
40827 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
40828 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
40829 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
40830 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
40831 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
40832 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
40833 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
40834 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
40835 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
40836 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
40837 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
40838 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
40839 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
40840 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
40841 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
40842 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
40843 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
40844 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
40845 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
40846 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
40847 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
40848 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
40849 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
40850 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
40851 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
40852 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
40853 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
40854 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
40855 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
40856 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
40857 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
40858 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
40859 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
40860 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
40861 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
40862 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
40863 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
40864 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
40865 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
40866 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
40867 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
40868 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
40869 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
40870 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
40871 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
40872 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
40873 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
40874 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
40875 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
40876 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
40877 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
40878 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
40879 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
40880 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
40881 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
40882 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
40883 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
40884 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
40885 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
40886 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
40887 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
40888 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
40889 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
40890 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
40891 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
40892 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
40893 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
40894 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
40895 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
40896 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
40897 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
40898 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
40899 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
40900 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
40901 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
40902 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
40903 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
40904 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
40905 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
40906 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
40907 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
40908 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
40909 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
40910 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
40911 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
40912 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
40913 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
40914 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
40915 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
40916 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
40917 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
40918 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
40919 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
40920 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
40921 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
40922 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
40923 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
40924 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
40925 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
40926 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
40927 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
40928 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
40929 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
40930 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
40931 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
40932 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
40933 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
40934 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
40935 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
40936 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
40937 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
40938 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
40939 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
40940 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
40941 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
40942 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
40943 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
40944 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
40945 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
40946 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
40947 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
40948 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
40949 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
40950 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
40951 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
40952 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
40953 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
40954 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
40955 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
40956 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
40957 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
40958 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
40959 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
40960 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
40961 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
40962 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
40963 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
40964 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
40965 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
40966 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
40967 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
40968 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
40969 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
40970 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
40971 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
40972 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
40973 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
40974 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
40975 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
40976 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
40977 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
40978 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
40979 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
40980 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
40981 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
40982 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
40983 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
40984 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
40985 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
40986 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
40987 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
40988 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
40989 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
40990 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
40991 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
40992 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
40993 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
40994 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
40995 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
40996 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
40997 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
40998 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
40999 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
41000 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
41001 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
41002 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
41003 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
41004 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
41005 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
41006 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
41007 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
41008 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
41009 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
41010 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
41011 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
41012 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
41013 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
41014 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
41015 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
41016 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
41017 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
41018 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
41019 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
41020 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
41021 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
41022 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
41023 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
41024 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
41025 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
41026 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
41027 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
41028 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
41029 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
41030 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
41031 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
41032 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
41033 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
41034 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
41035 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
41036 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
41037 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
41038 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
41039 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
41040 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
41041 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
41042 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
41043 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
41044 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
41045 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
41046 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
41047 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
41048 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
41049 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
41050 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
41051 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
41052 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
41053 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
41054 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
41055 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
41056 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
41057 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
41058 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
41059 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
41060 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
41061 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
41062 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
41063 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
41064 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
41065 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
41066 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
41067 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
41068 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
41069 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
41070 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
41071 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
41072 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
41073 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
41074 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
41075 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
41076 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
41077 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
41078 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
41079 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
41080 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
41081 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
41082 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
41083 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
41084 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
41085 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
41086 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
41087 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
41088 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
41089 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
41090 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
41091 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
41092 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
41093 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
41094 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
41095 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
41096 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
41097 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
41098 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
41099 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
41100 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
41101 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
41102 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
41103 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
41104 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
41105 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
41106 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
41107 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
41108 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
41109 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
41110 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
41111 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
41112 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
41113 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
41114 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
41115 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
41116 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
41117 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
41118 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
41119 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
41120 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
41121 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
41122 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
41123 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
41124 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
41125 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
41126 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
41127 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
41128 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
41129 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
41130 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
41131 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
41132 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
41133 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
41134 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
41135 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
41136 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
41137 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
41138 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
41139 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
41140 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
41141 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
41142 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
41143 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
41144 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
41145 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
41146 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
41147 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
41148 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
41149 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
41150 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
41151 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
41152 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
41153 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
41154 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
41155 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
41156 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
41157 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
41158 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
41159 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
41160 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
41161 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
41162 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
41163 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
41164 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
41165 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
41166 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
41167 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
41168 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
41169 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
41170 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
41171 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
41172 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
41173 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
41174 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
41175 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
41176 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
41177 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
41178 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
41179 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
41180 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
41181 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
41182 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
41183 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
41184 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
41185 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
41186 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
41187 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
41188 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
41189 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
41190 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
41191 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
41192 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
41193 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
41194 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
41195 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
41196 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
41197 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
41198 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
41199 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
41200 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
41201 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
41202 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
41203 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
41204 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
41205 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
41206 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
41207 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
41208 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
41209 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
41210 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
41211 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
41212 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
41213 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
41214 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
41215 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
41216 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
41217 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
41218 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
41219 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
41220 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
41221 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
41222 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
41223 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
41224 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
41225 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
41226 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
41227 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
41228 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
41229 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
41230 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
41231 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
41232 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
41233 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
41234 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
41235 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
41236 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
41237 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
41238 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
41239 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
41240 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
41241 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
41242 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
41243 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
41244 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
41245 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
41246 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
41247 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
41248 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
41249 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
41250 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
41251 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
41252 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
41253 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
41254 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
41255 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
41256 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
41257 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
41258 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
41259 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
41260 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
41261 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
41262 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
41263 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
41264 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
41265 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
41266 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
41267 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
41268 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
41269 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
41270 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
41271 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
41272 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
41273 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
41274 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
41275 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
41276 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
41277 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
41278 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
41279 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
41280 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
41281 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
41282 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
41283 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
41284 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
41285 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
41286 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
41287 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
41288 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
41289 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 41290 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
cbd72d4f 41291 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
2f4c0a16
RD
41292 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
41293 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
41294 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
41295 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
41296 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
41297 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
41298 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
41299 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
41300 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
41301 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
41302 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
41303 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
41304 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
41305 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
41306 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
41307 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
41308 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
41309 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
41310 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
41311 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
41312 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
41313 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
41314 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
41315 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
41316 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
41317 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
41318 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
41319 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
41320 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
41321 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
41322 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
41323 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
41324 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
41325 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
41326 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
41327 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
41328 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
41329 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
41330 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
41331 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
41332 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
41333 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
41334 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
41335 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
41336 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
41337 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
41338 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
41339 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
41340 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
41341 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
41342 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
d14a1e28
RD
41343 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
41344 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
2f4c0a16
RD
41345 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
41346 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
41347 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
d14a1e28
RD
41348
41349 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41350
41351
41352 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41353
41354 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
41355 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
41356 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
41357 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
41358 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
41359 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
2f4c0a16
RD
41360 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
41361 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
41362 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
41363 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
41364 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
41365 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
41366 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
41367 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
41368 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
41369 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
41370 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
41371 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
41372 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
41373 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
41374 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
41375 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
41376 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
41377 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
41378 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
41379 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
41380 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
41381 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
41382 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
41383 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
41384 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
41385 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
41386 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
41387 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
41388 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
41389 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
41390 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
41391 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
41392 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
41393 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
41394 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
41395 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
41396 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
41397 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
41398 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
41399 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
41400 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
41401 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
41402 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
41403 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
41404 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
41405 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
41406 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
41407 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
41408 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
41409 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
41410 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
41411 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
41412 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
41413 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
41414 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
41415 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
41416 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
41417 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
41418 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
41419 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
41420 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
41421 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
41422 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
41423 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
41424 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
41425 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
41426 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
41427 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
41428 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
41429 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
41430 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
41431 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
41432 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
41433 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
41434 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
41435 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
41436 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
41437 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
41438 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
41439 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
41440 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
41441 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
41442 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
41443 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
41444 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
41445 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
41446 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
41447 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
41448 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
41449 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
41450 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
41451 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
41452 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
41453 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
41454 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
41455 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
41456 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
41457 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
41458 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
41459 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
41460 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
41461 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
41462 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
41463 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
41464 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
41465 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
41466 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
41467 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
41468 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
41469 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
41470 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
41471 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
41472 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
41473 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
41474 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
41475 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
41476 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
41477 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
41478 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
41479 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
41480 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
41481 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
41482 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
41483 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
41484 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
41485 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
41486 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
2f4c0a16
RD
41487 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
41488 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
41489 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
41490 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
41491 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
41492 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
41493 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
41494 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
41495 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
41496 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
41497 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
41498 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
41499 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
41500 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
41501 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
41f1cec7 41502 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
423f194a 41503 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
ce7284bd
RD
41504 PyDict_SetItemString(d,"WINDOW_VARIANT_DEFAULT", SWIG_FromInt((int)wxWINDOW_VARIANT_DEFAULT));
41505 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
41506 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
41507 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
41508 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
d14a1e28 41509 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
cbd72d4f 41510 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
2f4c0a16
RD
41511 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
41512 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
41513 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
d14a1e28 41514 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
2f4c0a16
RD
41515 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
41516 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
41517 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
41518 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
41519 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
41520 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
41521 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
41522 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
41523 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
41524 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
41525 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
41526 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
41527 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
41528 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
41529 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
41530 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
41531 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
41532 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
41533 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
d14a1e28
RD
41534
41535 // Initialize threading, some globals and such
41536 __wxPyPreStart(d);
41537
41538
41539 // Although these are defined in __version__ they need to be here too so
41540 // that an assert can be done to ensure that the wxPython and the wxWindows
41541 // versions match.
41542 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
41543 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
41544 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
41545
41546}
41547