]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/core_wrap.cpp
Fixes so bg colors in a notebook on XP are visible again
[wxWidgets.git] / wxPython / src / gtk / core_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
a41e16b6 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
c9c7117a
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
cc6dd355
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
cc6dd355
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
cc6dd355 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
cc6dd355 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 {
cc6dd355 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
cc6dd355 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 *);
cc6dd355
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)
a41e16b6 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
994141e6 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
cc6dd355
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
9d1d5697 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]
4d5c3d91
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]
4d5c3d91
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]
994141e6
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]
4d5c3d91
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
15afbcd0 335/* Auxiliar swig macros */
994141e6 336
994141e6 337#ifdef __cplusplus
15afbcd0 338#define SWIGSTATICINLINE(a) static inline a
994141e6 339#define SWIGSTATIC(a) static a
15afbcd0
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)
994141e6 345
994141e6 346#ifdef HAVE_NUMERIC_CAST
15afbcd0 347#define swig_numeric_cast(type,a) numeric_cast<type>(a)
994141e6 348#else
15afbcd0 349#define swig_numeric_cast(type,a) static_cast<type>(a)
994141e6
RD
350#endif
351
15afbcd0
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 */
994141e6
RD
364
365
15afbcd0
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
994141e6
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
e811c8ce 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);
e811c8ce 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
196addbf 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
994141e6 604
15afbcd0
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{
69223c70
RD
635 if (PyNumber_Check(obj))
636 return PyInt_AsLong(obj);
637 else {
638 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
639 obj->ob_type->tp_name);
640 PyErr_SetObject(PyExc_TypeError, errmsg);
641 Py_DECREF(errmsg);
642 return 0;
643 }
15afbcd0
RD
644}
645
646
647#if INT_MAX != LONG_MAX
648SWIGSTATICINLINE(int)
649SWIG_AsInt(PyObject *obj)
994141e6 650{
15afbcd0
RD
651 return swig_numeric_cast(int,
652 SWIG_CheckLongInRange(SWIG_AsLong(obj),
653 "int", INT_MIN, INT_MAX));
654}
655#else
656#define SWIG_AsInt SWIG_AsLong
657#endif
658
659
660SWIGSTATICINLINE(int)
661SWIG_CheckInt(PyObject* obj)
662{
663 SWIG_AsInt(obj);
664 if (PyErr_Occurred()) {
665 PyErr_Clear();
666 return 0;
667 } else {
668 return 1;
669 }
994141e6
RD
670}
671
e811c8ce 672PyObject *wxSize_Get(wxSize *self){
4f89f6a3 673 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
674 PyObject* tup = PyTuple_New(2);
675 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
676 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
4f89f6a3 677 wxPyEndBlockThreads(blocked);
d14a1e28
RD
678 return tup;
679 }
994141e6 680
15afbcd0
RD
681SWIGSTATICINLINE(double)
682SWIG_AsDouble(PyObject *obj)
994141e6 683{
69223c70
RD
684 if (PyNumber_Check(obj))
685 return PyFloat_AsDouble(obj);
686 else {
687 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
688 obj->ob_type->tp_name);
689 PyErr_SetObject(PyExc_TypeError, errmsg);
690 Py_DECREF(errmsg);
691 return 0;
692 }
15afbcd0
RD
693}
694
695
696SWIGSTATICINLINE(int)
697SWIG_CheckDouble(PyObject* obj)
698{
699 SWIG_AsDouble(obj);
700 if (PyErr_Occurred()) {
701 PyErr_Clear();
702 return 0;
703 } else {
704 return 1;
705 }
994141e6
RD
706}
707
d14a1e28
RD
708void wxRealPoint_Set(wxRealPoint *self,double x,double y){
709 self->x = x;
710 self->y = y;
711 }
e811c8ce 712PyObject *wxRealPoint_Get(wxRealPoint *self){
4f89f6a3 713 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
714 PyObject* tup = PyTuple_New(2);
715 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
716 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
4f89f6a3 717 wxPyEndBlockThreads(blocked);
d14a1e28
RD
718 return tup;
719 }
994141e6 720
15afbcd0
RD
721SWIGSTATICINLINE(int)
722SWIG_CheckLong(PyObject* obj)
994141e6 723{
15afbcd0
RD
724 SWIG_AsLong(obj);
725 if (PyErr_Occurred()) {
726 PyErr_Clear();
727 return 0;
728 } else {
729 return 1;
730 }
994141e6
RD
731}
732
d14a1e28
RD
733void wxPoint_Set(wxPoint *self,long x,long y){
734 self->x = x;
735 self->y = y;
736 }
e811c8ce 737PyObject *wxPoint_Get(wxPoint *self){
4f89f6a3 738 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
739 PyObject* tup = PyTuple_New(2);
740 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
741 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
4f89f6a3 742 wxPyEndBlockThreads(blocked);
d14a1e28
RD
743 return tup;
744 }
745void wxRect_Set(wxRect *self,int x,int y,int width,int height){
746 self->x = x;
747 self->y = y;
748 self->width = width;
749 self->height = height;
750 }
e811c8ce 751PyObject *wxRect_Get(wxRect *self){
4f89f6a3 752 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
753 PyObject* tup = PyTuple_New(4);
754 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
755 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
756 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
757 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
4f89f6a3 758 wxPyEndBlockThreads(blocked);
d14a1e28
RD
759 return tup;
760 }
761
762 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
763 wxRegion reg1(*r1);
764 wxRegion reg2(*r2);
765 wxRect dest(0,0,0,0);
766 PyObject* obj;
767
768 reg1.Intersect(reg2);
769 dest = reg1.GetBox();
770
771 if (dest != wxRect(0,0,0,0)) {
4f89f6a3 772 bool blocked = wxPyBeginBlockThreads();
d14a1e28 773 wxRect* newRect = new wxRect(dest);
e811c8ce 774 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
4f89f6a3 775 wxPyEndBlockThreads(blocked);
d14a1e28
RD
776 return obj;
777 }
778 Py_INCREF(Py_None);
779 return Py_None;
780 }
781
782
783static PyObject* t_output_helper(PyObject* target, PyObject* o) {
784 PyObject* o2;
785 PyObject* o3;
786
787 if (!target) {
788 target = o;
789 } else if (target == Py_None) {
790 Py_DECREF(Py_None);
791 target = o;
792 } else {
793 if (!PyTuple_Check(target)) {
794 o2 = target;
795 target = PyTuple_New(1);
796 PyTuple_SetItem(target, 0, o2);
797 }
798 o3 = PyTuple_New(1);
799 PyTuple_SetItem(o3, 0, o);
800
801 o2 = target;
802 target = PySequence_Concat(o2, o3);
803 Py_DECREF(o2);
804 Py_DECREF(o3);
805 }
806 return target;
807}
808
809void wxPoint2D_Set(wxPoint2D *self,double x,double y){
810 self->m_x = x;
811 self->m_y = y;
812 }
e811c8ce 813PyObject *wxPoint2D_Get(wxPoint2D *self){
4f89f6a3 814 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
815 PyObject* tup = PyTuple_New(2);
816 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
817 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
4f89f6a3 818 wxPyEndBlockThreads(blocked);
d14a1e28
RD
819 return tup;
820 }
821
822#include "wx/wxPython/pyistream.h"
823
824wxPyInputStream *new_wxPyInputStream(PyObject *p){
825 wxInputStream* wxis = wxPyCBInputStream::create(p);
826 if (wxis)
827 return new wxPyInputStream(wxis);
828 else
829 return NULL;
830 }
994141e6 831
15afbcd0
RD
832SWIGSTATICINLINE(PyObject*)
833SWIG_FromChar(char c)
994141e6
RD
834{
835 return PyString_FromStringAndSize(&c,1);
836}
837
838
15afbcd0
RD
839SWIGSTATICINLINE(PyObject* )
840SWIG_FromUnsignedLong(unsigned long value)
841{
842 return (value > LONG_MAX) ?
843 PyLong_FromUnsignedLong(value)
844 : PyInt_FromLong(swig_numeric_cast(long,value));
845}
846
847
848/* returns '1' if the input is a raw char*, '0' if is a PyString */
849SWIGSTATIC(int)
850SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
994141e6 851{
15afbcd0
RD
852 static swig_type_info* pchar_info = 0;
853 int psize = 0;
854 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
855
856 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
857 PyErr_Clear();
858 PyString_AsStringAndSize(obj, cptr, &psize);
859 if (PyErr_Occurred()) {
860 PyErr_Clear();
861 PyErr_SetString(PyExc_TypeError,"a string is expected");
862 }
863 if (size) *size = psize;
864 return 0;
865 } else {
866 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
867 return 1;
868 }
994141e6
RD
869}
870
871
15afbcd0
RD
872SWIGSTATIC(void)
873SWIG_AsCharArray(PyObject *obj, char* carray, size_t size)
874{
875 char* cptr; size_t csize;
876 SWIG_AsCharPtrAndSize(obj, &cptr, &csize);
877 if (PyErr_Occurred()) {
878 PyErr_Clear();
879 PyObject *err =
880 PyString_FromFormat("a char array of size %d is expected", size);
881 PyErr_SetObject(PyExc_TypeError, err);
882 Py_DECREF(err);
883 } else {
884 /* in C (but not in C++) you can do:
885
886 char x[5] = "hello";
887
888 ie, assing the array using an extra '0' char.
889 */
890#ifndef __cplusplus
891 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
892#endif
893 if (csize > size) {
894 PyObject *err =
895 PyString_FromFormat("a char array of maximum size %d is expected",
896 size);
897 PyErr_SetObject(PyExc_TypeError, err);
898 Py_DECREF(err);
899 } else {
900 if (csize) memcpy(carray, cptr, csize);
901 if (csize < size) memset(carray + csize, 0, size - csize);
902 }
903 }
904}
905
906
907SWIGSTATICINLINE(char)
908SWIG_AsChar(PyObject *obj)
994141e6
RD
909{
910 char c = 0;
911 if (PyInt_Check(obj) || PyLong_Check(obj)) {
15afbcd0
RD
912 c = swig_numeric_cast(char,
913 SWIG_CheckLongInRange(SWIG_AsLong(obj),
914 "char", CHAR_MIN, CHAR_MAX));
994141e6 915 } else {
15afbcd0
RD
916 SWIG_AsCharArray(obj, &c, 1);
917 if (PyErr_Occurred()) {
918 PyErr_Clear();
994141e6
RD
919 PyErr_SetString(PyExc_TypeError, "a char is expected");
920 }
921 }
922 return c;
923}
924
15afbcd0
RD
925
926SWIGSTATICINLINE(int)
927SWIG_CheckChar(PyObject* obj)
928{
929 SWIG_AsChar(obj);
930 if (PyErr_Occurred()) {
931 PyErr_Clear();
932 return 0;
933 } else {
934 return 1;
935 }
936}
937
d14a1e28
RD
938void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
939 // We use only strings for the streams, not unicode
940 PyObject* str = PyObject_Str(obj);
941 if (! str) {
942 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
943 return;
944 }
945 self->Write(PyString_AS_STRING(str),
946 PyString_GET_SIZE(str));
947 Py_DECREF(str);
948 }
949
950#include "wx/wxPython/pyistream.h"
951
952
953class wxPyFileSystemHandler : public wxFileSystemHandler
954{
955public:
956 wxPyFileSystemHandler() : wxFileSystemHandler() {}
957
958 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
959 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
960 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
961 DEC_PYCALLBACK_STRING__pure(FindNext);
962
963 wxString GetProtocol(const wxString& location) {
964 return wxFileSystemHandler::GetProtocol(location);
965 }
966
967 wxString GetLeftLocation(const wxString& location) {
968 return wxFileSystemHandler::GetLeftLocation(location);
969 }
970
971 wxString GetAnchor(const wxString& location) {
972 return wxFileSystemHandler::GetAnchor(location);
973 }
974
975 wxString GetRightLocation(const wxString& location) {
976 return wxFileSystemHandler::GetRightLocation(location);
977 }
978
979 wxString GetMimeTypeFromExt(const wxString& location) {
980 return wxFileSystemHandler::GetMimeTypeFromExt(location);
981 }
982
983 PYPRIVATE;
984};
985
986
987IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
988IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
989IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
990IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
991
992
15afbcd0
RD
993SWIGSTATICINLINE(bool)
994SWIG_AsBool(PyObject *obj)
994141e6
RD
995{
996 return PyObject_IsTrue(obj) ? true : false;
997}
998
999
15afbcd0
RD
1000SWIGSTATICINLINE(int)
1001SWIG_CheckBool(PyObject* obj)
1002{
1003 SWIG_AsBool(obj);
1004 if (PyErr_Occurred()) {
1005 PyErr_Clear();
1006 return 0;
1007 } else {
1008 return 1;
1009 }
1010}
1011
1012
d14a1e28
RD
1013 wxString wxFileSystem_URLToFileName(const wxString& url) {
1014 wxFileName fname = wxFileSystem::URLToFileName(url);
1015 return fname.GetFullPath();
1016 }
1017
1018
1019 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1020 wxImage& image,
1021 long type) {
1022 wxMemoryFSHandler::AddFile(filename, image, type);
1023 }
1024
1025 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1026 const wxBitmap& bitmap,
1027 long type) {
1028 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1029 }
1030
1031 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1032 PyObject* data) {
1033 wxMemoryFSHandler::AddFile(filename,
1034 // TODO: Verify data type
1035 (void*)PyString_AsString(data),
1036 (size_t)PyString_Size(data));
1037 }
1038
1039
1040#include "wx/wxPython/pyistream.h"
1041
994141e6 1042
15afbcd0
RD
1043SWIGSTATICINLINE(unsigned long)
1044SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
1045 unsigned long max_value)
1046{
1047 if (!PyErr_Occurred()) {
1048 if (value > max_value) {
1049 PyObject *err =
1050 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1051 value, type, max_value);
1052 PyErr_SetObject(PyExc_OverflowError, err);
1053 Py_DECREF(err);
1054 }
1055 }
1056 return value;
1057}
1058
1059
1060SWIGSTATICINLINE(unsigned long)
1061SWIG_AsUnsignedLong(PyObject * obj)
1062{
1063 if (PyLong_Check(obj)) {
1064 return PyLong_AsUnsignedLong(obj);
1065 } else {
69223c70 1066 long i = SWIG_AsLong(obj);
15afbcd0 1067 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 1068 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
15afbcd0
RD
1069 }
1070 return i;
1071 }
1072}
1073
1074
1075SWIGSTATICINLINE(unsigned char)
1076SWIG_AsUnsignedChar(PyObject *obj)
994141e6 1077{
15afbcd0
RD
1078 return swig_numeric_cast(unsigned char,
1079 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1080 "unsigned char", UCHAR_MAX));
1081}
1082
1083
1084SWIGSTATICINLINE(int)
1085SWIG_CheckUnsignedChar(PyObject* obj)
1086{
1087 SWIG_AsUnsignedChar(obj);
1088 if (PyErr_Occurred()) {
1089 PyErr_Clear();
1090 return 0;
1091 } else {
1092 return 1;
1093 }
994141e6
RD
1094}
1095
d14a1e28
RD
1096wxImage *new_wxImage(int width,int height,bool clear){
1097 if (width > 0 && height > 0)
1098 return new wxImage(width, height, clear);
1099 else
1100 return new wxImage;
1101 }
1102wxImage *new_wxImage(wxBitmap const &bitmap){
1103 return new wxImage(bitmap.ConvertToImage());
1104 }
1105wxImage *new_wxImage(int width,int height,unsigned char *data){
1106 // Copy the source data so the wxImage can clean it up later
1107 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1108 if (copy == NULL) {
1109 PyErr_NoMemory();
1110 return NULL;
1111 }
1112 memcpy(copy, data, width*height*3);
e811c8ce 1113 return new wxImage(width, height, copy, False);
d14a1e28
RD
1114 }
1115PyObject *wxImage_GetData(wxImage *self){
1116 unsigned char* data = self->GetData();
1117 int len = self->GetWidth() * self->GetHeight() * 3;
1118 PyObject* rv;
1119 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1120 return rv;
1121 }
1122void wxImage_SetData(wxImage *self,PyObject *data){
1123 unsigned char* dataPtr;
1124
1125 if (! PyString_Check(data)) {
1126 PyErr_SetString(PyExc_TypeError, "Expected string object");
1127 return /* NULL */ ;
1128 }
1129
1130 size_t len = self->GetWidth() * self->GetHeight() * 3;
1131 dataPtr = (unsigned char*) malloc(len);
1132 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1133 self->SetData(dataPtr);
1134 // wxImage takes ownership of dataPtr...
1135 }
1136PyObject *wxImage_GetDataBuffer(wxImage *self){
1137 unsigned char* data = self->GetData();
1138 int len = self->GetWidth() * self->GetHeight() * 3;
1139 PyObject* rv;
1140 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1141 return rv;
1142 }
1143void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1144 unsigned char* buffer;
1145 int size;
1146
4f89f6a3 1147 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1148 if (!PyArg_Parse(data, "t#", &buffer, &size))
1149 goto done;
1150
1151 if (size != self->GetWidth() * self->GetHeight() * 3) {
1152 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1153 goto done;
1154 }
1155 self->SetData(buffer);
1156 done:
4f89f6a3 1157 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1158 }
1159PyObject *wxImage_GetAlphaData(wxImage *self){
1160 unsigned char* data = self->GetAlpha();
1161 if (! data) {
1162 RETURN_NONE();
1163 } else {
1164 int len = self->GetWidth() * self->GetHeight();
1165 PyObject* rv;
1166 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1167 return rv;
1168 }
1169 }
1170void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1171 unsigned char* dataPtr;
1172
1173 if (! PyString_Check(data)) {
1174 PyErr_SetString(PyExc_TypeError, "Expected string object");
1175 return /* NULL */ ;
1176 }
1177
1178 size_t len = self->GetWidth() * self->GetHeight();
1179 dataPtr = (unsigned char*) malloc(len);
1180 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1181 self->SetAlpha(dataPtr);
1182 // wxImage takes ownership of dataPtr...
1183 }
1184PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1185 unsigned char* data = self->GetAlpha();
1186 int len = self->GetWidth() * self->GetHeight();
1187 PyObject* rv;
1188 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1189 return rv;
1190 }
1191void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1192 unsigned char* buffer;
1193 int size;
1194
4f89f6a3 1195 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1196 if (!PyArg_Parse(data, "t#", &buffer, &size))
1197 goto done;
1198
1199 if (size != self->GetWidth() * self->GetHeight()) {
1200 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1201 goto done;
1202 }
1203 self->SetAlpha(buffer);
1204 done:
4f89f6a3 1205 wxPyEndBlockThreads(blocked);
d14a1e28 1206 }
15afbcd0
RD
1207
1208SWIGSTATICINLINE(int)
1209SWIG_CheckUnsignedLong(PyObject* obj)
1210{
1211 SWIG_AsUnsignedLong(obj);
1212 if (PyErr_Occurred()) {
1213 PyErr_Clear();
1214 return 0;
1215 } else {
1216 return 1;
1217 }
1218}
1219
d14a1e28
RD
1220wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1221 wxBitmap bitmap(*self);
1222 return bitmap;
1223 }
1224wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1225 wxImage mono = self->ConvertToMono( red, green, blue );
1226 wxBitmap bitmap( mono, 1 );
1227 return bitmap;
1228 }
1229 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1230 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1231 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1232 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1233 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1234void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1235 if (PyCallable_Check(func)) {
1236 self->Connect(id, lastId, eventType,
1237 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1238 new wxPyCallback(func));
1239 }
1240 else if (func == Py_None) {
1241 self->Disconnect(id, lastId, eventType,
1242 (wxObjectEventFunction)
1243 &wxPyCallback::EventThunker);
1244 }
1245 else {
1246 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
1247 }
1248 }
1249bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1250 return self->Disconnect(id, lastId, eventType,
1251 (wxObjectEventFunction)
1252 &wxPyCallback::EventThunker);
1253 }
1254void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1255 if (_self && _self != Py_None) {
1256 self->SetClientObject(new wxPyOORClientData(_self));
1257 }
1258 else {
1259 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1260 if (data) {
1261 self->SetClientObject(NULL); // This will delete it too
1262 }
1263 }
1264 }
1265int wxKeyEvent_GetUniChar(wxKeyEvent *self){
3b7224dc
RD
1266 #if wxUSE_UNICODE
1267 return self->m_uniChar;
1268 #else
d14a1e28 1269 return 0;
3b7224dc 1270 #endif
d14a1e28 1271 }
994141e6 1272
15afbcd0
RD
1273#if UINT_MAX < LONG_MAX
1274#define SWIG_FromUnsignedInt SWIG_FromLong
1275#else
1276#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1277#endif
994141e6
RD
1278
1279
15afbcd0
RD
1280#if UINT_MAX != ULONG_MAX
1281SWIGSTATICINLINE(unsigned int)
1282SWIG_AsUnsignedInt(PyObject *obj)
994141e6 1283{
15afbcd0
RD
1284 return swig_numeric_cast(unsigned int,
1285 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1286 "unsigned int", UINT_MAX));
1287}
1288#else
1289#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1290#endif
1291
1292
1293SWIGSTATICINLINE(int)
1294SWIG_CheckUnsignedInt(PyObject* obj)
1295{
1296 SWIG_AsUnsignedInt(obj);
1297 if (PyErr_Occurred()) {
1298 PyErr_Clear();
1299 return 0;
1300 } else {
1301 return 1;
1302 }
994141e6
RD
1303}
1304
d14a1e28
RD
1305void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1306 self->m_size = size;
1307 }
1308void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1309 self->m_pos = pos;
1310 }
1311PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1312 int count = self->GetNumberOfFiles();
1313 wxString* files = self->GetFiles();
1314 PyObject* list = PyList_New(count);
1315
1316 if (!list) {
1317 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1318 return NULL;
1319 }
1320
1321 for (int i=0; i<count; i++) {
1fc9204a 1322 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28
RD
1323 }
1324 return list;
1325 }
1326
1327
1328wxPyApp *new_wxPyApp(){
1329 wxPythonApp = new wxPyApp();
1330 return wxPythonApp;
1331 }
39f61e25 1332int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
d14a1e28
RD
1333
1334 void wxApp_CleanUp() {
1335 __wxPyCleanup();
1336 }
1337
1338
1339 wxPyApp* wxGetApp() {
1340 return (wxPyApp*)wxTheApp;
1341 }
1342
1343
1344
e811c8ce 1345 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
1346PyObject *wxWindow_GetChildren(wxWindow *self){
1347 wxWindowList& list = self->GetChildren();
1348 return wxPy_ConvertList(&list);
1349 }
1350bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
1351
1352
1353
e811c8ce 1354 return False;
d14a1e28
RD
1355
1356 }
1357bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1358
1359
1360
e811c8ce 1361 return False;
d14a1e28
RD
1362
1363 }
1364long wxWindow_GetHandle(wxWindow *self){
1365 return wxPyGetWinHandle(self);
1366 }
1367
1368wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1369 return wxWindow::FindWindowById(id, parent);
1370}
1371
1372wxWindow* wxFindWindowByName( const wxString& name,
1373 const wxWindow *parent = NULL ) {
1374 return wxWindow::FindWindowByName(name, parent);
1375}
1376
1377wxWindow* wxFindWindowByLabel( const wxString& label,
1378 const wxWindow *parent = NULL ) {
1379 return wxWindow::FindWindowByLabel(label, parent);
1380}
1381
1382
d14a1e28 1383#ifdef __WXMSW__
4276dc52
RD
1384#include <wx/msw/private.h> // to get wxGetWindowId
1385#endif
1386
1387
1388 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1389#ifdef __WXMSW__
1390 WXHWND hWnd = (WXHWND)_hWnd;
1391 long id = wxGetWindowId(hWnd);
d14a1e28 1392 wxWindow* win = new wxWindow;
4276dc52
RD
1393 parent->AddChild(win);
1394 win->SetEventHandler(win);
1395 win->SetHWND(hWnd);
1396 win->SetId(id);
1397 win->SubclassWin(hWnd);
1398 win->AdoptAttributesFromHWND();
1399 win->SetupColours();
d14a1e28
RD
1400 return win;
1401#else
39f61e25 1402 wxPyRaiseNotImplemented();
d14a1e28
RD
1403 return NULL;
1404#endif
1405 }
1406
1407
1408IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1409IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1410IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1411
1412IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1413
1414void wxMenu_Destroy(wxMenu *self){ delete self; }
1415PyObject *wxMenu_GetMenuItems(wxMenu *self){
1416 wxMenuItemList& list = self->GetMenuItems();
1417 return wxPy_ConvertList(&list);
1418 }
1419int MenuItem_GetDefaultMarginWidth(){ return 0; }
b2dc1044 1420 static const wxString wxPyControlNameStr(wxControlNameStr);
d14a1e28
RD
1421int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1422 if (clientData) {
1423 wxPyClientData* data = new wxPyClientData(clientData);
1424 return self->Append(item, data);
1425 } else
1426 return self->Append(item);
1427 }
1428int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1429 if (clientData) {
1430 wxPyClientData* data = new wxPyClientData(clientData);
1431 return self->Insert(item, pos, data);
1432 } else
1433 return self->Insert(item, pos);
1434 }
1435PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1436 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1437 if (data) {
1438 Py_INCREF(data->m_obj);
1439 return data->m_obj;
1440 } else {
1441 Py_INCREF(Py_None);
1442 return Py_None;
1443 }
1444 }
1445void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1446 wxPyClientData* data = new wxPyClientData(clientData);
1447 self->SetClientObject(n, data);
1448 }
1449
1450
994141e6 1451
15afbcd0
RD
1452#include <float.h>
1453
994141e6 1454SWIGSTATIC(float)
15afbcd0
RD
1455SWIG_FloatCast(double value)
1456{
1457 float f = 0;
1458 if (!PyErr_Occurred()) {
1459 if (value < FLT_MIN) {
1460 PyObject *err =
1461 PyString_FromFormat("value %g is less than float minimum %g",
1462 value, FLT_MIN);
1463 PyErr_SetObject(PyExc_OverflowError, err);
1464 Py_DECREF(err);
1465 } else if (value > FLT_MAX) {
1466 PyObject *err =
1467 PyString_FromFormat("value %g is greater than float maximum %g",
1468 value, FLT_MAX);
1469 PyErr_SetObject(PyExc_OverflowError, err);
1470 Py_DECREF(err);
1471 } else {
1472 f = swig_numeric_cast(float, value);
1473 }
1474 }
1475 return f;
1476}
1477
1478
1479SWIGSTATICINLINE(float)
1480SWIG_AsFloat(PyObject *obj)
994141e6 1481{
15afbcd0
RD
1482 return SWIG_FloatCast(SWIG_AsDouble(obj));
1483}
1484
1485
1486SWIGSTATICINLINE(int)
1487SWIG_CheckFloat(PyObject* obj)
1488{
1489 SWIG_AsFloat(obj);
1490 if (PyErr_Occurred()) {
1491 PyErr_Clear();
1492 return 0;
1493 } else {
1494 return 1;
1495 }
994141e6
RD
1496}
1497
d14a1e28
RD
1498PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1499 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1500 if (data) {
1501 Py_INCREF(data->m_obj);
1502 return data->m_obj;
1503 } else {
1504 Py_INCREF(Py_None);
1505 return Py_None;
1506 }
1507 }
1508
1509// Figure out the type of the sizer item
1510
1511struct wxPySizerItemInfo {
1512 wxPySizerItemInfo()
e811c8ce
RD
1513 : window(NULL), sizer(NULL), gotSize(False),
1514 size(wxDefaultSize), gotPos(False), pos(-1)
d14a1e28
RD
1515 {}
1516
1517 wxWindow* window;
1518 wxSizer* sizer;
1519 bool gotSize;
1520 wxSize size;
1521 bool gotPos;
1522 int pos;
1523};
1524
1525static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1526
1527 wxPySizerItemInfo info;
1528 wxSize size;
1529 wxSize* sizePtr = &size;
1530
1531 // Find out what the type of the item is
1532 // try wxWindow
1533 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1534 PyErr_Clear();
1535 info.window = NULL;
1536
1537 // try wxSizer
1538 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1539 PyErr_Clear();
1540 info.sizer = NULL;
1541
1542 // try wxSize or (w,h)
1543 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1544 info.size = *sizePtr;
e811c8ce 1545 info.gotSize = True;
d14a1e28
RD
1546 }
1547
1548 // or a single int
1549 if (checkIdx && PyInt_Check(item)) {
1550 info.pos = PyInt_AsLong(item);
e811c8ce 1551 info.gotPos = True;
d14a1e28
RD
1552 }
1553 }
1554 }
1555
1556 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1557 // no expected type, figure out what kind of error message to generate
1558 if ( !checkSize && !checkIdx )
1559 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1560 else if ( checkSize && !checkIdx )
1561 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1562 else if ( !checkSize && checkIdx)
1563 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1564 else
1565 // can this one happen?
1566 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1567 }
1568
1569 return info;
1570}
1571
1572void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1573 self->SetClientObject(new wxPyOORClientData(_self));
1574 }
1575void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1576
1577 wxPyUserData* data = NULL;
4f89f6a3 1578 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1579 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1580 if ( userData && (info.window || info.sizer || info.gotSize) )
1581 data = new wxPyUserData(userData);
4f89f6a3 1582 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1583
1584 // Now call the real Add method if a valid item type was found
1585 if ( info.window )
1586 self->Add(info.window, proportion, flag, border, data);
1587 else if ( info.sizer )
1588 self->Add(info.sizer, proportion, flag, border, data);
1589 else if (info.gotSize)
1590 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1591 proportion, flag, border, data);
1592 }
1593void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1594
1595 wxPyUserData* data = NULL;
4f89f6a3 1596 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1597 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1598 if ( userData && (info.window || info.sizer || info.gotSize) )
1599 data = new wxPyUserData(userData);
4f89f6a3 1600 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1601
1602 // Now call the real Insert method if a valid item type was found
1603 if ( info.window )
1604 self->Insert(before, info.window, proportion, flag, border, data);
1605 else if ( info.sizer )
1606 self->Insert(before, info.sizer, proportion, flag, border, data);
1607 else if (info.gotSize)
1608 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1609 proportion, flag, border, data);
1610 }
1611void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1612
1613 wxPyUserData* data = NULL;
4f89f6a3 1614 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1615 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1616 if ( userData && (info.window || info.sizer || info.gotSize) )
1617 data = new wxPyUserData(userData);
4f89f6a3 1618 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1619
1620 // Now call the real Prepend method if a valid item type was found
1621 if ( info.window )
1622 self->Prepend(info.window, proportion, flag, border, data);
1623 else if ( info.sizer )
1624 self->Prepend(info.sizer, proportion, flag, border, data);
1625 else if (info.gotSize)
1626 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1627 proportion, flag, border, data);
1628 }
1629bool wxSizer_Remove(wxSizer *self,PyObject *item){
4f89f6a3 1630 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1631 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
4f89f6a3 1632 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1633 if ( info.window )
1634 return self->Remove(info.window);
1635 else if ( info.sizer )
1636 return self->Remove(info.sizer);
1637 else if ( info.gotPos )
1638 return self->Remove(info.pos);
1639 else
e811c8ce 1640 return False;
d14a1e28 1641 }
e811c8ce 1642void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
4f89f6a3 1643 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1644 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
4f89f6a3 1645 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1646 if ( info.window )
1647 self->SetItemMinSize(info.window, size);
1648 else if ( info.sizer )
1649 self->SetItemMinSize(info.sizer, size);
1650 else if ( info.gotPos )
1651 self->SetItemMinSize(info.pos, size);
1652 }
1653PyObject *wxSizer_GetChildren(wxSizer *self){
1654 wxSizerItemList& list = self->GetChildren();
1655 return wxPy_ConvertList(&list);
1656 }
1657void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
e811c8ce 1658 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1659 if ( info.window )
1660 self->Show(info.window, show);
1661 else if ( info.sizer )
1662 self->Show(info.sizer, show);
1663 }
1664void wxSizer_Hide(wxSizer *self,PyObject *item){
e811c8ce 1665 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1666 if ( info.window )
1667 self->Hide(info.window);
1668 else if ( info.sizer )
1669 self->Hide(info.sizer);
1670 }
1671bool wxSizer_IsShown(wxSizer *self,PyObject *item){
e811c8ce 1672 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1673 if ( info.window )
1674 return self->IsShown(info.window);
1675 else if ( info.sizer )
1676 return self->IsShown(info.sizer);
1677 else
e811c8ce 1678 return False;
d14a1e28
RD
1679 }
1680
1681// See pyclasses.h
1682IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1683IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1684IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1685
1686
1687
1688
1689bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1690{
4f89f6a3
RD
1691 if (source == Py_None) {
1692 **obj = wxGBPosition(-1,-1);
1693 return True;
1694 }
d14a1e28
RD
1695 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1696}
1697
1698bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1699{
4f89f6a3
RD
1700 if (source == Py_None) {
1701 **obj = wxGBSpan(-1,-1);
1702 return True;
1703 }
d14a1e28
RD
1704 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1705}
1706
1707
e811c8ce
RD
1708void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1709 self->SetRow(row);
1710 self->SetCol(col);
1711 }
1712PyObject *wxGBPosition_Get(wxGBPosition *self){
4f89f6a3 1713 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1714 PyObject* tup = PyTuple_New(2);
1715 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1716 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
4f89f6a3 1717 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1718 return tup;
1719 }
e811c8ce
RD
1720void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1721 self->SetRowspan(rowspan);
1722 self->SetColspan(colspan);
1723 }
1724PyObject *wxGBSpan_Get(wxGBSpan *self){
4f89f6a3 1725 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1726 PyObject* tup = PyTuple_New(2);
1727 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1728 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
4f89f6a3 1729 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1730 return tup;
1731 }
1732bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1733
1734 wxPyUserData* data = NULL;
4f89f6a3 1735 bool blocked = wxPyBeginBlockThreads();
e811c8ce 1736 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1737 if ( userData && (info.window || info.sizer || info.gotSize) )
1738 data = new wxPyUserData(userData);
4f89f6a3 1739 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1740
1741 // Now call the real Add method if a valid item type was found
1742 if ( info.window )
1743 return self->Add(info.window, pos, span, flag, border, data);
1744 else if ( info.sizer )
1745 return self->Add(info.sizer, pos, span, flag, border, data);
1746 else if (info.gotSize)
1747 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1748 pos, span, flag, border, data);
e811c8ce 1749 return False;
d14a1e28
RD
1750 }
1751
1752
1753#ifdef __cplusplus
1754extern "C" {
1755#endif
196addbf
RD
1756static int _wrap_EmptyString_set(PyObject *_val) {
1757 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1758 return 1;
1759}
1760
1761
1762static PyObject *_wrap_EmptyString_get() {
1763 PyObject *pyobj;
1764
1765 {
1766#if wxUSE_UNICODE
1767 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1768#else
1769 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1770#endif
1771 }
1772 return pyobj;
1773}
1774
1775
d14a1e28
RD
1776static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1777 PyObject *resultobj;
1778 wxObject *arg1 = (wxObject *) 0 ;
1779 wxString result;
1780 PyObject * obj0 = 0 ;
1781 char *kwnames[] = {
1782 (char *) "self", NULL
1783 };
1784
1785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
1786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1788 {
1789 PyThreadState* __tstate = wxPyBeginAllowThreads();
1790 result = wxObject_GetClassName(arg1);
1791
1792 wxPyEndAllowThreads(__tstate);
1793 if (PyErr_Occurred()) SWIG_fail;
1794 }
1795 {
1796#if wxUSE_UNICODE
1797 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1798#else
1799 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1800#endif
1801 }
1802 return resultobj;
1803 fail:
1804 return NULL;
1805}
1806
1807
1808static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1809 PyObject *resultobj;
1810 wxObject *arg1 = (wxObject *) 0 ;
1811 PyObject * obj0 = 0 ;
1812 char *kwnames[] = {
1813 (char *) "self", NULL
1814 };
1815
1816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
1817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1819 {
1820 PyThreadState* __tstate = wxPyBeginAllowThreads();
1821 wxObject_Destroy(arg1);
1822
1823 wxPyEndAllowThreads(__tstate);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 }
1826 Py_INCREF(Py_None); resultobj = Py_None;
1827 return resultobj;
1828 fail:
1829 return NULL;
1830}
1831
1832
1833static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1834 PyObject *obj;
1835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1836 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1837 Py_INCREF(obj);
1838 return Py_BuildValue((char *)"");
1839}
1840static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1841 PyObject *resultobj;
1842 wxSize *arg1 = (wxSize *) 0 ;
1843 int arg2 ;
1844 PyObject * obj0 = 0 ;
994141e6 1845 PyObject * obj1 = 0 ;
d14a1e28
RD
1846 char *kwnames[] = {
1847 (char *) "self",(char *) "x", NULL
1848 };
1849
994141e6 1850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1853 arg2 = (int) SWIG_AsInt(obj1);
1854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1855 if (arg1) (arg1)->x = arg2;
1856
1857 Py_INCREF(Py_None); resultobj = Py_None;
1858 return resultobj;
1859 fail:
1860 return NULL;
1861}
1862
1863
1864static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1865 PyObject *resultobj;
1866 wxSize *arg1 = (wxSize *) 0 ;
1867 int result;
1868 PyObject * obj0 = 0 ;
1869 char *kwnames[] = {
1870 (char *) "self", NULL
1871 };
1872
1873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1876 result = (int) ((arg1)->x);
1877
15afbcd0 1878 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1879 return resultobj;
1880 fail:
1881 return NULL;
1882}
1883
1884
1885static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1886 PyObject *resultobj;
1887 wxSize *arg1 = (wxSize *) 0 ;
1888 int arg2 ;
1889 PyObject * obj0 = 0 ;
994141e6 1890 PyObject * obj1 = 0 ;
d14a1e28
RD
1891 char *kwnames[] = {
1892 (char *) "self",(char *) "y", NULL
1893 };
1894
994141e6 1895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
1896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1898 arg2 = (int) SWIG_AsInt(obj1);
1899 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1900 if (arg1) (arg1)->y = arg2;
1901
1902 Py_INCREF(Py_None); resultobj = Py_None;
1903 return resultobj;
1904 fail:
1905 return NULL;
1906}
1907
1908
1909static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1910 PyObject *resultobj;
1911 wxSize *arg1 = (wxSize *) 0 ;
1912 int result;
1913 PyObject * obj0 = 0 ;
1914 char *kwnames[] = {
1915 (char *) "self", NULL
1916 };
1917
1918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
1919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1921 result = (int) ((arg1)->y);
1922
15afbcd0 1923 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1924 return resultobj;
1925 fail:
1926 return NULL;
1927}
1928
1929
1930static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1931 PyObject *resultobj;
1932 int arg1 = (int) 0 ;
1933 int arg2 = (int) 0 ;
1934 wxSize *result;
994141e6
RD
1935 PyObject * obj0 = 0 ;
1936 PyObject * obj1 = 0 ;
d14a1e28
RD
1937 char *kwnames[] = {
1938 (char *) "w",(char *) "h", NULL
1939 };
1940
994141e6
RD
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
1942 if (obj0) {
15afbcd0
RD
1943 arg1 = (int) SWIG_AsInt(obj0);
1944 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
1945 }
1946 if (obj1) {
15afbcd0
RD
1947 arg2 = (int) SWIG_AsInt(obj1);
1948 if (PyErr_Occurred()) SWIG_fail;
994141e6 1949 }
d14a1e28
RD
1950 {
1951 PyThreadState* __tstate = wxPyBeginAllowThreads();
1952 result = (wxSize *)new wxSize(arg1,arg2);
1953
1954 wxPyEndAllowThreads(__tstate);
1955 if (PyErr_Occurred()) SWIG_fail;
1956 }
15afbcd0 1957 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1958 return resultobj;
1959 fail:
1960 return NULL;
1961}
1962
1963
1964static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1965 PyObject *resultobj;
1966 wxSize *arg1 = (wxSize *) 0 ;
1967 PyObject * obj0 = 0 ;
1968 char *kwnames[] = {
1969 (char *) "self", NULL
1970 };
1971
1972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
15afbcd0
RD
1973 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1974 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 delete arg1;
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 Py_INCREF(Py_None); resultobj = Py_None;
1983 return resultobj;
1984 fail:
1985 return NULL;
1986}
1987
1988
1989static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject *resultobj;
1991 wxSize *arg1 = (wxSize *) 0 ;
1992 wxSize *arg2 = 0 ;
1993 bool result;
1994 wxSize temp2 ;
1995 PyObject * obj0 = 0 ;
1996 PyObject * obj1 = 0 ;
1997 char *kwnames[] = {
1998 (char *) "self",(char *) "sz", NULL
1999 };
2000
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2004 {
2005 arg2 = &temp2;
2006 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2007 }
2008 {
2009 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2010 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
2011
2012 wxPyEndAllowThreads(__tstate);
2013 if (PyErr_Occurred()) SWIG_fail;
2014 }
4f89f6a3
RD
2015 {
2016 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2017 }
d14a1e28
RD
2018 return resultobj;
2019 fail:
2020 return NULL;
2021}
2022
2023
2024static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2025 PyObject *resultobj;
2026 wxSize *arg1 = (wxSize *) 0 ;
2027 wxSize *arg2 = 0 ;
2028 bool result;
2029 wxSize temp2 ;
2030 PyObject * obj0 = 0 ;
2031 PyObject * obj1 = 0 ;
2032 char *kwnames[] = {
2033 (char *) "self",(char *) "sz", NULL
2034 };
2035
2036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2039 {
2040 arg2 = &temp2;
2041 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2042 }
2043 {
2044 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2045 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
2046
2047 wxPyEndAllowThreads(__tstate);
2048 if (PyErr_Occurred()) SWIG_fail;
2049 }
4f89f6a3
RD
2050 {
2051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2052 }
d14a1e28
RD
2053 return resultobj;
2054 fail:
2055 return NULL;
2056}
2057
2058
2059static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2060 PyObject *resultobj;
2061 wxSize *arg1 = (wxSize *) 0 ;
2062 wxSize *arg2 = 0 ;
2063 wxSize result;
2064 wxSize temp2 ;
2065 PyObject * obj0 = 0 ;
2066 PyObject * obj1 = 0 ;
2067 char *kwnames[] = {
2068 (char *) "self",(char *) "sz", NULL
2069 };
2070
2071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2074 {
2075 arg2 = &temp2;
2076 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2077 }
2078 {
2079 PyThreadState* __tstate = wxPyBeginAllowThreads();
2080 result = (arg1)->operator +((wxSize const &)*arg2);
2081
2082 wxPyEndAllowThreads(__tstate);
2083 if (PyErr_Occurred()) SWIG_fail;
2084 }
2085 {
2086 wxSize * resultptr;
2087 resultptr = new wxSize((wxSize &) result);
15afbcd0 2088 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2089 }
2090 return resultobj;
2091 fail:
2092 return NULL;
2093}
2094
2095
2096static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2097 PyObject *resultobj;
2098 wxSize *arg1 = (wxSize *) 0 ;
2099 wxSize *arg2 = 0 ;
2100 wxSize result;
2101 wxSize temp2 ;
2102 PyObject * obj0 = 0 ;
2103 PyObject * obj1 = 0 ;
2104 char *kwnames[] = {
2105 (char *) "self",(char *) "sz", NULL
2106 };
2107
2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2111 {
2112 arg2 = &temp2;
2113 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2114 }
2115 {
2116 PyThreadState* __tstate = wxPyBeginAllowThreads();
2117 result = (arg1)->operator -((wxSize const &)*arg2);
2118
2119 wxPyEndAllowThreads(__tstate);
2120 if (PyErr_Occurred()) SWIG_fail;
2121 }
2122 {
2123 wxSize * resultptr;
2124 resultptr = new wxSize((wxSize &) result);
15afbcd0 2125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2126 }
2127 return resultobj;
2128 fail:
2129 return NULL;
2130}
2131
2132
2133static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2134 PyObject *resultobj;
2135 wxSize *arg1 = (wxSize *) 0 ;
2136 wxSize *arg2 = 0 ;
2137 wxSize temp2 ;
2138 PyObject * obj0 = 0 ;
2139 PyObject * obj1 = 0 ;
2140 char *kwnames[] = {
2141 (char *) "self",(char *) "sz", NULL
2142 };
2143
2144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2147 {
2148 arg2 = &temp2;
2149 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2150 }
2151 {
2152 PyThreadState* __tstate = wxPyBeginAllowThreads();
2153 (arg1)->IncTo((wxSize const &)*arg2);
2154
2155 wxPyEndAllowThreads(__tstate);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 }
2158 Py_INCREF(Py_None); resultobj = Py_None;
2159 return resultobj;
2160 fail:
2161 return NULL;
2162}
2163
2164
2165static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2166 PyObject *resultobj;
2167 wxSize *arg1 = (wxSize *) 0 ;
2168 wxSize *arg2 = 0 ;
2169 wxSize temp2 ;
2170 PyObject * obj0 = 0 ;
2171 PyObject * obj1 = 0 ;
2172 char *kwnames[] = {
2173 (char *) "self",(char *) "sz", NULL
2174 };
2175
2176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2179 {
2180 arg2 = &temp2;
2181 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2182 }
2183 {
2184 PyThreadState* __tstate = wxPyBeginAllowThreads();
2185 (arg1)->DecTo((wxSize const &)*arg2);
2186
2187 wxPyEndAllowThreads(__tstate);
2188 if (PyErr_Occurred()) SWIG_fail;
2189 }
2190 Py_INCREF(Py_None); resultobj = Py_None;
2191 return resultobj;
2192 fail:
2193 return NULL;
2194}
2195
2196
2197static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2198 PyObject *resultobj;
2199 wxSize *arg1 = (wxSize *) 0 ;
2200 int arg2 ;
2201 int arg3 ;
2202 PyObject * obj0 = 0 ;
994141e6
RD
2203 PyObject * obj1 = 0 ;
2204 PyObject * obj2 = 0 ;
d14a1e28 2205 char *kwnames[] = {
e811c8ce 2206 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
2207 };
2208
994141e6 2209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2212 arg2 = (int) SWIG_AsInt(obj1);
2213 if (PyErr_Occurred()) SWIG_fail;
2214 arg3 = (int) SWIG_AsInt(obj2);
2215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2216 {
2217 PyThreadState* __tstate = wxPyBeginAllowThreads();
2218 (arg1)->Set(arg2,arg3);
2219
2220 wxPyEndAllowThreads(__tstate);
2221 if (PyErr_Occurred()) SWIG_fail;
2222 }
2223 Py_INCREF(Py_None); resultobj = Py_None;
2224 return resultobj;
2225 fail:
2226 return NULL;
2227}
2228
2229
2230static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2231 PyObject *resultobj;
2232 wxSize *arg1 = (wxSize *) 0 ;
2233 int arg2 ;
2234 PyObject * obj0 = 0 ;
994141e6 2235 PyObject * obj1 = 0 ;
d14a1e28
RD
2236 char *kwnames[] = {
2237 (char *) "self",(char *) "w", NULL
2238 };
2239
994141e6 2240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2243 arg2 = (int) SWIG_AsInt(obj1);
2244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 (arg1)->SetWidth(arg2);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256}
2257
2258
2259static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxSize *arg1 = (wxSize *) 0 ;
2262 int arg2 ;
2263 PyObject * obj0 = 0 ;
994141e6 2264 PyObject * obj1 = 0 ;
d14a1e28
RD
2265 char *kwnames[] = {
2266 (char *) "self",(char *) "h", NULL
2267 };
2268
994141e6 2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2272 arg2 = (int) SWIG_AsInt(obj1);
2273 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2274 {
2275 PyThreadState* __tstate = wxPyBeginAllowThreads();
2276 (arg1)->SetHeight(arg2);
2277
2278 wxPyEndAllowThreads(__tstate);
2279 if (PyErr_Occurred()) SWIG_fail;
2280 }
2281 Py_INCREF(Py_None); resultobj = Py_None;
2282 return resultobj;
2283 fail:
2284 return NULL;
2285}
2286
2287
2288static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2289 PyObject *resultobj;
2290 wxSize *arg1 = (wxSize *) 0 ;
2291 int result;
2292 PyObject * obj0 = 0 ;
2293 char *kwnames[] = {
2294 (char *) "self", NULL
2295 };
2296
2297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
2298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2300 {
2301 PyThreadState* __tstate = wxPyBeginAllowThreads();
2302 result = (int)((wxSize const *)arg1)->GetWidth();
2303
2304 wxPyEndAllowThreads(__tstate);
2305 if (PyErr_Occurred()) SWIG_fail;
2306 }
15afbcd0 2307 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2308 return resultobj;
2309 fail:
2310 return NULL;
2311}
2312
2313
2314static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2315 PyObject *resultobj;
2316 wxSize *arg1 = (wxSize *) 0 ;
2317 int result;
2318 PyObject * obj0 = 0 ;
2319 char *kwnames[] = {
2320 (char *) "self", NULL
2321 };
2322
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
2324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2326 {
2327 PyThreadState* __tstate = wxPyBeginAllowThreads();
2328 result = (int)((wxSize const *)arg1)->GetHeight();
2329
2330 wxPyEndAllowThreads(__tstate);
2331 if (PyErr_Occurred()) SWIG_fail;
2332 }
15afbcd0 2333 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2334 return resultobj;
2335 fail:
2336 return NULL;
2337}
2338
2339
e811c8ce 2340static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2341 PyObject *resultobj;
2342 wxSize *arg1 = (wxSize *) 0 ;
2343 PyObject *result;
2344 PyObject * obj0 = 0 ;
2345 char *kwnames[] = {
2346 (char *) "self", NULL
2347 };
2348
e811c8ce 2349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2352 {
2353 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2354 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
2355
2356 wxPyEndAllowThreads(__tstate);
2357 if (PyErr_Occurred()) SWIG_fail;
2358 }
2359 resultobj = result;
2360 return resultobj;
2361 fail:
2362 return NULL;
2363}
2364
2365
2366static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
2367 PyObject *obj;
2368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2369 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2370 Py_INCREF(obj);
2371 return Py_BuildValue((char *)"");
2372}
2373static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2374 PyObject *resultobj;
2375 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2376 double arg2 ;
2377 PyObject * obj0 = 0 ;
994141e6 2378 PyObject * obj1 = 0 ;
d14a1e28
RD
2379 char *kwnames[] = {
2380 (char *) "self",(char *) "x", NULL
2381 };
2382
994141e6 2383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2386 arg2 = (double) SWIG_AsDouble(obj1);
2387 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2388 if (arg1) (arg1)->x = arg2;
2389
2390 Py_INCREF(Py_None); resultobj = Py_None;
2391 return resultobj;
2392 fail:
2393 return NULL;
2394}
2395
2396
2397static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2398 PyObject *resultobj;
2399 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2400 double result;
2401 PyObject * obj0 = 0 ;
2402 char *kwnames[] = {
2403 (char *) "self", NULL
2404 };
2405
2406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2409 result = (double) ((arg1)->x);
2410
15afbcd0 2411 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2412 return resultobj;
2413 fail:
2414 return NULL;
2415}
2416
2417
2418static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2419 PyObject *resultobj;
2420 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2421 double arg2 ;
2422 PyObject * obj0 = 0 ;
994141e6 2423 PyObject * obj1 = 0 ;
d14a1e28
RD
2424 char *kwnames[] = {
2425 (char *) "self",(char *) "y", NULL
2426 };
2427
994141e6 2428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2431 arg2 = (double) SWIG_AsDouble(obj1);
2432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2433 if (arg1) (arg1)->y = arg2;
2434
2435 Py_INCREF(Py_None); resultobj = Py_None;
2436 return resultobj;
2437 fail:
2438 return NULL;
2439}
2440
2441
2442static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2443 PyObject *resultobj;
2444 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2445 double result;
2446 PyObject * obj0 = 0 ;
2447 char *kwnames[] = {
2448 (char *) "self", NULL
2449 };
2450
2451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2454 result = (double) ((arg1)->y);
2455
15afbcd0 2456 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2457 return resultobj;
2458 fail:
2459 return NULL;
2460}
2461
2462
2463static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2464 PyObject *resultobj;
2465 double arg1 = (double) 0.0 ;
2466 double arg2 = (double) 0.0 ;
2467 wxRealPoint *result;
994141e6
RD
2468 PyObject * obj0 = 0 ;
2469 PyObject * obj1 = 0 ;
d14a1e28
RD
2470 char *kwnames[] = {
2471 (char *) "x",(char *) "y", NULL
2472 };
2473
994141e6
RD
2474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2475 if (obj0) {
15afbcd0
RD
2476 arg1 = (double) SWIG_AsDouble(obj0);
2477 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2478 }
2479 if (obj1) {
15afbcd0
RD
2480 arg2 = (double) SWIG_AsDouble(obj1);
2481 if (PyErr_Occurred()) SWIG_fail;
994141e6 2482 }
d14a1e28
RD
2483 {
2484 PyThreadState* __tstate = wxPyBeginAllowThreads();
2485 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2486
2487 wxPyEndAllowThreads(__tstate);
2488 if (PyErr_Occurred()) SWIG_fail;
2489 }
15afbcd0 2490 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
d14a1e28
RD
2491 return resultobj;
2492 fail:
2493 return NULL;
2494}
2495
2496
2497static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2498 PyObject *resultobj;
2499 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2500 PyObject * obj0 = 0 ;
2501 char *kwnames[] = {
2502 (char *) "self", NULL
2503 };
2504
2505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
15afbcd0
RD
2506 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2507 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2508 {
2509 PyThreadState* __tstate = wxPyBeginAllowThreads();
2510 delete arg1;
2511
2512 wxPyEndAllowThreads(__tstate);
2513 if (PyErr_Occurred()) SWIG_fail;
2514 }
2515 Py_INCREF(Py_None); resultobj = Py_None;
2516 return resultobj;
2517 fail:
2518 return NULL;
2519}
2520
2521
e811c8ce 2522static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2523 PyObject *resultobj;
2524 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2525 wxRealPoint *arg2 = 0 ;
e811c8ce 2526 bool result;
d14a1e28
RD
2527 wxRealPoint temp2 ;
2528 PyObject * obj0 = 0 ;
2529 PyObject * obj1 = 0 ;
2530 char *kwnames[] = {
2531 (char *) "self",(char *) "pt", NULL
2532 };
2533
e811c8ce 2534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2537 {
2538 arg2 = &temp2;
2539 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2540 }
2541 {
2542 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2543 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2544
2545 wxPyEndAllowThreads(__tstate);
2546 if (PyErr_Occurred()) SWIG_fail;
2547 }
4f89f6a3
RD
2548 {
2549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2550 }
d14a1e28
RD
2551 return resultobj;
2552 fail:
2553 return NULL;
2554}
2555
2556
e811c8ce 2557static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2558 PyObject *resultobj;
2559 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2560 wxRealPoint *arg2 = 0 ;
e811c8ce 2561 bool result;
d14a1e28
RD
2562 wxRealPoint temp2 ;
2563 PyObject * obj0 = 0 ;
2564 PyObject * obj1 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "self",(char *) "pt", NULL
2567 };
2568
e811c8ce 2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2572 {
2573 arg2 = &temp2;
2574 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2575 }
2576 {
2577 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2578 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2579
2580 wxPyEndAllowThreads(__tstate);
2581 if (PyErr_Occurred()) SWIG_fail;
2582 }
4f89f6a3
RD
2583 {
2584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2585 }
d14a1e28
RD
2586 return resultobj;
2587 fail:
2588 return NULL;
2589}
2590
2591
e811c8ce 2592static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2593 PyObject *resultobj;
2594 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2595 wxRealPoint *arg2 = 0 ;
e811c8ce 2596 wxRealPoint result;
d14a1e28
RD
2597 wxRealPoint temp2 ;
2598 PyObject * obj0 = 0 ;
2599 PyObject * obj1 = 0 ;
2600 char *kwnames[] = {
2601 (char *) "self",(char *) "pt", NULL
2602 };
2603
e811c8ce 2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2607 {
2608 arg2 = &temp2;
2609 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2610 }
2611 {
2612 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2613 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2614
2615 wxPyEndAllowThreads(__tstate);
2616 if (PyErr_Occurred()) SWIG_fail;
2617 }
e811c8ce
RD
2618 {
2619 wxRealPoint * resultptr;
2620 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 2621 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 2622 }
d14a1e28
RD
2623 return resultobj;
2624 fail:
2625 return NULL;
2626}
2627
2628
e811c8ce 2629static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2630 PyObject *resultobj;
2631 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2632 wxRealPoint *arg2 = 0 ;
e811c8ce 2633 wxRealPoint result;
d14a1e28
RD
2634 wxRealPoint temp2 ;
2635 PyObject * obj0 = 0 ;
2636 PyObject * obj1 = 0 ;
2637 char *kwnames[] = {
2638 (char *) "self",(char *) "pt", NULL
2639 };
2640
e811c8ce 2641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2644 {
2645 arg2 = &temp2;
2646 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2647 }
2648 {
2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2650 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2651
2652 wxPyEndAllowThreads(__tstate);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 }
e811c8ce
RD
2655 {
2656 wxRealPoint * resultptr;
2657 resultptr = new wxRealPoint((wxRealPoint &) result);
15afbcd0 2658 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
e811c8ce 2659 }
d14a1e28
RD
2660 return resultobj;
2661 fail:
2662 return NULL;
2663}
2664
2665
2666static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2667 PyObject *resultobj;
2668 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2669 double arg2 ;
2670 double arg3 ;
2671 PyObject * obj0 = 0 ;
994141e6
RD
2672 PyObject * obj1 = 0 ;
2673 PyObject * obj2 = 0 ;
d14a1e28
RD
2674 char *kwnames[] = {
2675 (char *) "self",(char *) "x",(char *) "y", NULL
2676 };
2677
994141e6 2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
2679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2681 arg2 = (double) SWIG_AsDouble(obj1);
2682 if (PyErr_Occurred()) SWIG_fail;
2683 arg3 = (double) SWIG_AsDouble(obj2);
2684 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 wxRealPoint_Set(arg1,arg2,arg3);
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 Py_INCREF(Py_None); resultobj = Py_None;
2693 return resultobj;
2694 fail:
2695 return NULL;
2696}
2697
2698
e811c8ce 2699static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2700 PyObject *resultobj;
2701 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2702 PyObject *result;
2703 PyObject * obj0 = 0 ;
2704 char *kwnames[] = {
2705 (char *) "self", NULL
2706 };
2707
e811c8ce 2708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2711 {
2712 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2713 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2714
2715 wxPyEndAllowThreads(__tstate);
2716 if (PyErr_Occurred()) SWIG_fail;
2717 }
2718 resultobj = result;
2719 return resultobj;
2720 fail:
2721 return NULL;
2722}
2723
2724
2725static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2726 PyObject *obj;
2727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2728 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2729 Py_INCREF(obj);
2730 return Py_BuildValue((char *)"");
2731}
2732static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2733 PyObject *resultobj;
2734 wxPoint *arg1 = (wxPoint *) 0 ;
2735 int arg2 ;
2736 PyObject * obj0 = 0 ;
994141e6 2737 PyObject * obj1 = 0 ;
d14a1e28
RD
2738 char *kwnames[] = {
2739 (char *) "self",(char *) "x", NULL
2740 };
2741
994141e6 2742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2745 arg2 = (int) SWIG_AsInt(obj1);
2746 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2747 if (arg1) (arg1)->x = arg2;
2748
2749 Py_INCREF(Py_None); resultobj = Py_None;
2750 return resultobj;
2751 fail:
2752 return NULL;
2753}
2754
2755
2756static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2757 PyObject *resultobj;
2758 wxPoint *arg1 = (wxPoint *) 0 ;
2759 int result;
2760 PyObject * obj0 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "self", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2768 result = (int) ((arg1)->x);
2769
15afbcd0 2770 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2771 return resultobj;
2772 fail:
2773 return NULL;
2774}
2775
2776
2777static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2778 PyObject *resultobj;
2779 wxPoint *arg1 = (wxPoint *) 0 ;
2780 int arg2 ;
2781 PyObject * obj0 = 0 ;
994141e6 2782 PyObject * obj1 = 0 ;
d14a1e28
RD
2783 char *kwnames[] = {
2784 (char *) "self",(char *) "y", NULL
2785 };
2786
994141e6 2787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2790 arg2 = (int) SWIG_AsInt(obj1);
2791 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2792 if (arg1) (arg1)->y = arg2;
2793
2794 Py_INCREF(Py_None); resultobj = Py_None;
2795 return resultobj;
2796 fail:
2797 return NULL;
2798}
2799
2800
2801static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2802 PyObject *resultobj;
2803 wxPoint *arg1 = (wxPoint *) 0 ;
2804 int result;
2805 PyObject * obj0 = 0 ;
2806 char *kwnames[] = {
2807 (char *) "self", NULL
2808 };
2809
2810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
2811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2813 result = (int) ((arg1)->y);
2814
15afbcd0 2815 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2816 return resultobj;
2817 fail:
2818 return NULL;
2819}
2820
2821
2822static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2823 PyObject *resultobj;
2824 int arg1 = (int) 0 ;
2825 int arg2 = (int) 0 ;
2826 wxPoint *result;
994141e6
RD
2827 PyObject * obj0 = 0 ;
2828 PyObject * obj1 = 0 ;
d14a1e28
RD
2829 char *kwnames[] = {
2830 (char *) "x",(char *) "y", NULL
2831 };
2832
994141e6
RD
2833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2834 if (obj0) {
15afbcd0
RD
2835 arg1 = (int) SWIG_AsInt(obj0);
2836 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
2837 }
2838 if (obj1) {
15afbcd0
RD
2839 arg2 = (int) SWIG_AsInt(obj1);
2840 if (PyErr_Occurred()) SWIG_fail;
994141e6 2841 }
d14a1e28
RD
2842 {
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
2844 result = (wxPoint *)new wxPoint(arg1,arg2);
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
15afbcd0 2849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2850 return resultobj;
2851 fail:
2852 return NULL;
2853}
2854
2855
2856static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2857 PyObject *resultobj;
2858 wxPoint *arg1 = (wxPoint *) 0 ;
2859 PyObject * obj0 = 0 ;
2860 char *kwnames[] = {
2861 (char *) "self", NULL
2862 };
2863
2864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
15afbcd0
RD
2865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2867 {
2868 PyThreadState* __tstate = wxPyBeginAllowThreads();
2869 delete arg1;
2870
2871 wxPyEndAllowThreads(__tstate);
2872 if (PyErr_Occurred()) SWIG_fail;
2873 }
2874 Py_INCREF(Py_None); resultobj = Py_None;
2875 return resultobj;
2876 fail:
2877 return NULL;
2878}
2879
2880
2881static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2882 PyObject *resultobj;
2883 wxPoint *arg1 = (wxPoint *) 0 ;
2884 wxPoint *arg2 = 0 ;
2885 bool result;
2886 wxPoint temp2 ;
2887 PyObject * obj0 = 0 ;
2888 PyObject * obj1 = 0 ;
2889 char *kwnames[] = {
e811c8ce 2890 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2891 };
2892
2893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2896 {
2897 arg2 = &temp2;
2898 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2899 }
2900 {
2901 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2902 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
2903
2904 wxPyEndAllowThreads(__tstate);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
4f89f6a3
RD
2907 {
2908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2909 }
d14a1e28
RD
2910 return resultobj;
2911 fail:
2912 return NULL;
2913}
2914
2915
2916static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2917 PyObject *resultobj;
2918 wxPoint *arg1 = (wxPoint *) 0 ;
2919 wxPoint *arg2 = 0 ;
2920 bool result;
2921 wxPoint temp2 ;
2922 PyObject * obj0 = 0 ;
2923 PyObject * obj1 = 0 ;
2924 char *kwnames[] = {
e811c8ce 2925 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2926 };
2927
2928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2931 {
2932 arg2 = &temp2;
2933 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2934 }
2935 {
2936 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2937 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
2938
2939 wxPyEndAllowThreads(__tstate);
2940 if (PyErr_Occurred()) SWIG_fail;
2941 }
4f89f6a3
RD
2942 {
2943 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2944 }
d14a1e28
RD
2945 return resultobj;
2946 fail:
2947 return NULL;
2948}
2949
2950
2951static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2952 PyObject *resultobj;
2953 wxPoint *arg1 = (wxPoint *) 0 ;
2954 wxPoint *arg2 = 0 ;
2955 wxPoint result;
2956 wxPoint temp2 ;
2957 PyObject * obj0 = 0 ;
2958 PyObject * obj1 = 0 ;
2959 char *kwnames[] = {
e811c8ce 2960 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2961 };
2962
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
2964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2966 {
2967 arg2 = &temp2;
2968 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2969 }
2970 {
2971 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 2972 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
2977 {
2978 wxPoint * resultptr;
2979 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 2980 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2981 }
2982 return resultobj;
2983 fail:
2984 return NULL;
2985}
2986
2987
2988static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2989 PyObject *resultobj;
2990 wxPoint *arg1 = (wxPoint *) 0 ;
2991 wxPoint *arg2 = 0 ;
2992 wxPoint result;
2993 wxPoint temp2 ;
2994 PyObject * obj0 = 0 ;
2995 PyObject * obj1 = 0 ;
2996 char *kwnames[] = {
e811c8ce 2997 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2998 };
2999
3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3003 {
3004 arg2 = &temp2;
3005 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3006 }
3007 {
3008 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3009 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
3010
3011 wxPyEndAllowThreads(__tstate);
3012 if (PyErr_Occurred()) SWIG_fail;
3013 }
3014 {
3015 wxPoint * resultptr;
3016 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3017 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3018 }
3019 return resultobj;
3020 fail:
3021 return NULL;
3022}
3023
3024
3025static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3026 PyObject *resultobj;
3027 wxPoint *arg1 = (wxPoint *) 0 ;
3028 wxPoint *arg2 = 0 ;
3029 wxPoint *result;
3030 wxPoint temp2 ;
3031 PyObject * obj0 = 0 ;
3032 PyObject * obj1 = 0 ;
3033 char *kwnames[] = {
e811c8ce 3034 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3035 };
3036
3037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3040 {
3041 arg2 = &temp2;
3042 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3043 }
3044 {
3045 PyThreadState* __tstate = wxPyBeginAllowThreads();
3046 {
3047 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3048 result = (wxPoint *) &_result_ref;
3049 }
3050
3051 wxPyEndAllowThreads(__tstate);
3052 if (PyErr_Occurred()) SWIG_fail;
3053 }
15afbcd0 3054 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3055 return resultobj;
3056 fail:
3057 return NULL;
3058}
3059
3060
3061static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3062 PyObject *resultobj;
3063 wxPoint *arg1 = (wxPoint *) 0 ;
3064 wxPoint *arg2 = 0 ;
3065 wxPoint *result;
3066 wxPoint temp2 ;
3067 PyObject * obj0 = 0 ;
3068 PyObject * obj1 = 0 ;
3069 char *kwnames[] = {
e811c8ce 3070 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3071 };
3072
3073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3076 {
3077 arg2 = &temp2;
3078 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3079 }
3080 {
3081 PyThreadState* __tstate = wxPyBeginAllowThreads();
3082 {
3083 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3084 result = (wxPoint *) &_result_ref;
3085 }
3086
3087 wxPyEndAllowThreads(__tstate);
3088 if (PyErr_Occurred()) SWIG_fail;
3089 }
15afbcd0 3090 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3091 return resultobj;
3092 fail:
3093 return NULL;
3094}
3095
3096
3097static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3098 PyObject *resultobj;
3099 wxPoint *arg1 = (wxPoint *) 0 ;
3100 long arg2 ;
3101 long arg3 ;
3102 PyObject * obj0 = 0 ;
994141e6
RD
3103 PyObject * obj1 = 0 ;
3104 PyObject * obj2 = 0 ;
d14a1e28
RD
3105 char *kwnames[] = {
3106 (char *) "self",(char *) "x",(char *) "y", NULL
3107 };
3108
994141e6 3109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
3110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3112 arg2 = (long) SWIG_AsLong(obj1);
3113 if (PyErr_Occurred()) SWIG_fail;
3114 arg3 = (long) SWIG_AsLong(obj2);
3115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3116 {
3117 PyThreadState* __tstate = wxPyBeginAllowThreads();
3118 wxPoint_Set(arg1,arg2,arg3);
3119
3120 wxPyEndAllowThreads(__tstate);
3121 if (PyErr_Occurred()) SWIG_fail;
3122 }
3123 Py_INCREF(Py_None); resultobj = Py_None;
3124 return resultobj;
3125 fail:
3126 return NULL;
3127}
3128
3129
e811c8ce 3130static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3131 PyObject *resultobj;
3132 wxPoint *arg1 = (wxPoint *) 0 ;
3133 PyObject *result;
3134 PyObject * obj0 = 0 ;
3135 char *kwnames[] = {
3136 (char *) "self", NULL
3137 };
3138
e811c8ce 3139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
3140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3142 {
3143 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 3144 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
3145
3146 wxPyEndAllowThreads(__tstate);
3147 if (PyErr_Occurred()) SWIG_fail;
3148 }
3149 resultobj = result;
3150 return resultobj;
3151 fail:
3152 return NULL;
3153}
3154
3155
3156static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
3157 PyObject *obj;
3158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3159 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3160 Py_INCREF(obj);
3161 return Py_BuildValue((char *)"");
3162}
3163static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3164 PyObject *resultobj;
3165 int arg1 = (int) 0 ;
3166 int arg2 = (int) 0 ;
3167 int arg3 = (int) 0 ;
3168 int arg4 = (int) 0 ;
3169 wxRect *result;
994141e6
RD
3170 PyObject * obj0 = 0 ;
3171 PyObject * obj1 = 0 ;
3172 PyObject * obj2 = 0 ;
3173 PyObject * obj3 = 0 ;
d14a1e28
RD
3174 char *kwnames[] = {
3175 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3176 };
3177
994141e6
RD
3178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3179 if (obj0) {
15afbcd0
RD
3180 arg1 = (int) SWIG_AsInt(obj0);
3181 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3182 }
3183 if (obj1) {
15afbcd0
RD
3184 arg2 = (int) SWIG_AsInt(obj1);
3185 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3186 }
3187 if (obj2) {
15afbcd0
RD
3188 arg3 = (int) SWIG_AsInt(obj2);
3189 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
3190 }
3191 if (obj3) {
15afbcd0
RD
3192 arg4 = (int) SWIG_AsInt(obj3);
3193 if (PyErr_Occurred()) SWIG_fail;
994141e6 3194 }
d14a1e28
RD
3195 {
3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
3197 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3198
3199 wxPyEndAllowThreads(__tstate);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 }
15afbcd0 3202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3203 return resultobj;
3204 fail:
3205 return NULL;
3206}
3207
3208
3209static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
3210 PyObject *resultobj;
3211 wxPoint *arg1 = 0 ;
3212 wxPoint *arg2 = 0 ;
3213 wxRect *result;
3214 wxPoint temp1 ;
3215 wxPoint temp2 ;
3216 PyObject * obj0 = 0 ;
3217 PyObject * obj1 = 0 ;
3218 char *kwnames[] = {
3219 (char *) "topLeft",(char *) "bottomRight", NULL
3220 };
3221
3222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3223 {
3224 arg1 = &temp1;
3225 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3226 }
3227 {
3228 arg2 = &temp2;
3229 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3230 }
3231 {
3232 PyThreadState* __tstate = wxPyBeginAllowThreads();
3233 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3234
3235 wxPyEndAllowThreads(__tstate);
3236 if (PyErr_Occurred()) SWIG_fail;
3237 }
15afbcd0 3238 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3239 return resultobj;
3240 fail:
3241 return NULL;
3242}
3243
3244
3245static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
3246 PyObject *resultobj;
3247 wxPoint *arg1 = 0 ;
3248 wxSize *arg2 = 0 ;
3249 wxRect *result;
3250 wxPoint temp1 ;
3251 wxSize temp2 ;
3252 PyObject * obj0 = 0 ;
3253 PyObject * obj1 = 0 ;
3254 char *kwnames[] = {
3255 (char *) "pos",(char *) "size", NULL
3256 };
3257
3258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3259 {
3260 arg1 = &temp1;
3261 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3262 }
3263 {
3264 arg2 = &temp2;
3265 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3266 }
3267 {
3268 PyThreadState* __tstate = wxPyBeginAllowThreads();
3269 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3270
3271 wxPyEndAllowThreads(__tstate);
3272 if (PyErr_Occurred()) SWIG_fail;
3273 }
15afbcd0 3274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3275 return resultobj;
3276 fail:
3277 return NULL;
3278}
3279
3280
3281static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3282 PyObject *resultobj;
3283 wxRect *arg1 = (wxRect *) 0 ;
3284 PyObject * obj0 = 0 ;
3285 char *kwnames[] = {
3286 (char *) "self", NULL
3287 };
3288
3289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
15afbcd0
RD
3290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3292 {
3293 PyThreadState* __tstate = wxPyBeginAllowThreads();
3294 delete arg1;
3295
3296 wxPyEndAllowThreads(__tstate);
3297 if (PyErr_Occurred()) SWIG_fail;
3298 }
3299 Py_INCREF(Py_None); resultobj = Py_None;
3300 return resultobj;
3301 fail:
3302 return NULL;
3303}
3304
3305
3306static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3307 PyObject *resultobj;
3308 wxRect *arg1 = (wxRect *) 0 ;
3309 int result;
3310 PyObject * obj0 = 0 ;
3311 char *kwnames[] = {
3312 (char *) "self", NULL
3313 };
3314
3315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
3316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3318 {
3319 PyThreadState* __tstate = wxPyBeginAllowThreads();
3320 result = (int)((wxRect const *)arg1)->GetX();
3321
3322 wxPyEndAllowThreads(__tstate);
3323 if (PyErr_Occurred()) SWIG_fail;
3324 }
15afbcd0 3325 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3326 return resultobj;
3327 fail:
3328 return NULL;
3329}
3330
3331
3332static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3333 PyObject *resultobj;
3334 wxRect *arg1 = (wxRect *) 0 ;
3335 int arg2 ;
3336 PyObject * obj0 = 0 ;
994141e6 3337 PyObject * obj1 = 0 ;
d14a1e28
RD
3338 char *kwnames[] = {
3339 (char *) "self",(char *) "x", NULL
3340 };
3341
994141e6 3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3345 arg2 = (int) SWIG_AsInt(obj1);
3346 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3347 {
3348 PyThreadState* __tstate = wxPyBeginAllowThreads();
3349 (arg1)->SetX(arg2);
3350
3351 wxPyEndAllowThreads(__tstate);
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 Py_INCREF(Py_None); resultobj = Py_None;
3355 return resultobj;
3356 fail:
3357 return NULL;
3358}
3359
3360
3361static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3362 PyObject *resultobj;
3363 wxRect *arg1 = (wxRect *) 0 ;
3364 int result;
3365 PyObject * obj0 = 0 ;
3366 char *kwnames[] = {
3367 (char *) "self", NULL
3368 };
3369
3370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
3371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3373 {
3374 PyThreadState* __tstate = wxPyBeginAllowThreads();
3375 result = (int)(arg1)->GetY();
3376
3377 wxPyEndAllowThreads(__tstate);
3378 if (PyErr_Occurred()) SWIG_fail;
3379 }
15afbcd0 3380 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3381 return resultobj;
3382 fail:
3383 return NULL;
3384}
3385
3386
3387static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3388 PyObject *resultobj;
3389 wxRect *arg1 = (wxRect *) 0 ;
3390 int arg2 ;
3391 PyObject * obj0 = 0 ;
994141e6 3392 PyObject * obj1 = 0 ;
d14a1e28
RD
3393 char *kwnames[] = {
3394 (char *) "self",(char *) "y", NULL
3395 };
3396
994141e6 3397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3400 arg2 = (int) SWIG_AsInt(obj1);
3401 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3402 {
3403 PyThreadState* __tstate = wxPyBeginAllowThreads();
3404 (arg1)->SetY(arg2);
3405
3406 wxPyEndAllowThreads(__tstate);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 Py_INCREF(Py_None); resultobj = Py_None;
3410 return resultobj;
3411 fail:
3412 return NULL;
3413}
3414
3415
3416static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3417 PyObject *resultobj;
3418 wxRect *arg1 = (wxRect *) 0 ;
3419 int result;
3420 PyObject * obj0 = 0 ;
3421 char *kwnames[] = {
3422 (char *) "self", NULL
3423 };
3424
3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
3426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3428 {
3429 PyThreadState* __tstate = wxPyBeginAllowThreads();
3430 result = (int)((wxRect const *)arg1)->GetWidth();
3431
3432 wxPyEndAllowThreads(__tstate);
3433 if (PyErr_Occurred()) SWIG_fail;
3434 }
15afbcd0 3435 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3436 return resultobj;
3437 fail:
3438 return NULL;
3439}
3440
3441
3442static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3443 PyObject *resultobj;
3444 wxRect *arg1 = (wxRect *) 0 ;
3445 int arg2 ;
3446 PyObject * obj0 = 0 ;
994141e6 3447 PyObject * obj1 = 0 ;
d14a1e28
RD
3448 char *kwnames[] = {
3449 (char *) "self",(char *) "w", NULL
3450 };
3451
994141e6 3452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3455 arg2 = (int) SWIG_AsInt(obj1);
3456 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3457 {
3458 PyThreadState* __tstate = wxPyBeginAllowThreads();
3459 (arg1)->SetWidth(arg2);
3460
3461 wxPyEndAllowThreads(__tstate);
3462 if (PyErr_Occurred()) SWIG_fail;
3463 }
3464 Py_INCREF(Py_None); resultobj = Py_None;
3465 return resultobj;
3466 fail:
3467 return NULL;
3468}
3469
3470
3471static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3472 PyObject *resultobj;
3473 wxRect *arg1 = (wxRect *) 0 ;
3474 int result;
3475 PyObject * obj0 = 0 ;
3476 char *kwnames[] = {
3477 (char *) "self", NULL
3478 };
3479
3480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3483 {
3484 PyThreadState* __tstate = wxPyBeginAllowThreads();
3485 result = (int)((wxRect const *)arg1)->GetHeight();
3486
3487 wxPyEndAllowThreads(__tstate);
3488 if (PyErr_Occurred()) SWIG_fail;
3489 }
15afbcd0 3490 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3491 return resultobj;
3492 fail:
3493 return NULL;
3494}
3495
3496
3497static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3498 PyObject *resultobj;
3499 wxRect *arg1 = (wxRect *) 0 ;
3500 int arg2 ;
3501 PyObject * obj0 = 0 ;
994141e6 3502 PyObject * obj1 = 0 ;
d14a1e28
RD
3503 char *kwnames[] = {
3504 (char *) "self",(char *) "h", NULL
3505 };
3506
994141e6 3507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3510 arg2 = (int) SWIG_AsInt(obj1);
3511 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 (arg1)->SetHeight(arg2);
3515
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 Py_INCREF(Py_None); resultobj = Py_None;
3520 return resultobj;
3521 fail:
3522 return NULL;
3523}
3524
3525
3526static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3527 PyObject *resultobj;
3528 wxRect *arg1 = (wxRect *) 0 ;
3529 wxPoint result;
3530 PyObject * obj0 = 0 ;
3531 char *kwnames[] = {
3532 (char *) "self", NULL
3533 };
3534
3535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
3536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3538 {
3539 PyThreadState* __tstate = wxPyBeginAllowThreads();
3540 result = ((wxRect const *)arg1)->GetPosition();
3541
3542 wxPyEndAllowThreads(__tstate);
3543 if (PyErr_Occurred()) SWIG_fail;
3544 }
3545 {
3546 wxPoint * resultptr;
3547 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3548 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3549 }
3550 return resultobj;
3551 fail:
3552 return NULL;
3553}
3554
3555
3556static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxRect *arg1 = (wxRect *) 0 ;
3559 wxPoint *arg2 = 0 ;
3560 wxPoint temp2 ;
3561 PyObject * obj0 = 0 ;
3562 PyObject * obj1 = 0 ;
3563 char *kwnames[] = {
3564 (char *) "self",(char *) "p", NULL
3565 };
3566
3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3570 {
3571 arg2 = &temp2;
3572 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3573 }
3574 {
3575 PyThreadState* __tstate = wxPyBeginAllowThreads();
3576 (arg1)->SetPosition((wxPoint const &)*arg2);
3577
3578 wxPyEndAllowThreads(__tstate);
3579 if (PyErr_Occurred()) SWIG_fail;
3580 }
3581 Py_INCREF(Py_None); resultobj = Py_None;
3582 return resultobj;
3583 fail:
3584 return NULL;
3585}
3586
3587
3588static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3589 PyObject *resultobj;
3590 wxRect *arg1 = (wxRect *) 0 ;
3591 wxSize result;
3592 PyObject * obj0 = 0 ;
3593 char *kwnames[] = {
3594 (char *) "self", NULL
3595 };
3596
3597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
3598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3600 {
3601 PyThreadState* __tstate = wxPyBeginAllowThreads();
3602 result = ((wxRect const *)arg1)->GetSize();
3603
3604 wxPyEndAllowThreads(__tstate);
3605 if (PyErr_Occurred()) SWIG_fail;
3606 }
3607 {
3608 wxSize * resultptr;
3609 resultptr = new wxSize((wxSize &) result);
15afbcd0 3610 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3611 }
3612 return resultobj;
3613 fail:
3614 return NULL;
3615}
3616
3617
3618static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3619 PyObject *resultobj;
3620 wxRect *arg1 = (wxRect *) 0 ;
3621 wxSize *arg2 = 0 ;
3622 wxSize temp2 ;
3623 PyObject * obj0 = 0 ;
3624 PyObject * obj1 = 0 ;
3625 char *kwnames[] = {
3626 (char *) "self",(char *) "s", NULL
3627 };
3628
3629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3632 {
3633 arg2 = &temp2;
3634 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3635 }
3636 {
3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
3638 (arg1)->SetSize((wxSize const &)*arg2);
3639
3640 wxPyEndAllowThreads(__tstate);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 }
3643 Py_INCREF(Py_None); resultobj = Py_None;
3644 return resultobj;
3645 fail:
3646 return NULL;
3647}
3648
3649
c9c7117a
RD
3650static PyObject *_wrap_Rect_GetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3651 PyObject *resultobj;
3652 wxRect *arg1 = (wxRect *) 0 ;
3653 wxPoint result;
3654 PyObject * obj0 = 0 ;
3655 char *kwnames[] = {
3656 (char *) "self", NULL
3657 };
3658
3659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
3660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3662 {
3663 PyThreadState* __tstate = wxPyBeginAllowThreads();
3664 result = ((wxRect const *)arg1)->GetTopLeft();
3665
3666 wxPyEndAllowThreads(__tstate);
3667 if (PyErr_Occurred()) SWIG_fail;
3668 }
3669 {
3670 wxPoint * resultptr;
3671 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3672 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
3673 }
3674 return resultobj;
3675 fail:
3676 return NULL;
3677}
3678
3679
3680static PyObject *_wrap_Rect_SetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3681 PyObject *resultobj;
3682 wxRect *arg1 = (wxRect *) 0 ;
3683 wxPoint *arg2 = 0 ;
3684 wxPoint temp2 ;
3685 PyObject * obj0 = 0 ;
3686 PyObject * obj1 = 0 ;
3687 char *kwnames[] = {
3688 (char *) "self",(char *) "p", NULL
3689 };
3690
3691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3694 {
3695 arg2 = &temp2;
3696 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3697 }
3698 {
3699 PyThreadState* __tstate = wxPyBeginAllowThreads();
3700 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3701
3702 wxPyEndAllowThreads(__tstate);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 Py_INCREF(Py_None); resultobj = Py_None;
3706 return resultobj;
3707 fail:
3708 return NULL;
3709}
3710
3711
3712static PyObject *_wrap_Rect_GetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3713 PyObject *resultobj;
3714 wxRect *arg1 = (wxRect *) 0 ;
3715 wxPoint result;
3716 PyObject * obj0 = 0 ;
3717 char *kwnames[] = {
3718 (char *) "self", NULL
3719 };
3720
3721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 result = ((wxRect const *)arg1)->GetBottomRight();
3727
3728 wxPyEndAllowThreads(__tstate);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 {
3732 wxPoint * resultptr;
3733 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 3734 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
c9c7117a
RD
3735 }
3736 return resultobj;
3737 fail:
3738 return NULL;
3739}
3740
3741
3742static PyObject *_wrap_Rect_SetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3743 PyObject *resultobj;
3744 wxRect *arg1 = (wxRect *) 0 ;
3745 wxPoint *arg2 = 0 ;
3746 wxPoint temp2 ;
3747 PyObject * obj0 = 0 ;
3748 PyObject * obj1 = 0 ;
3749 char *kwnames[] = {
3750 (char *) "self",(char *) "p", NULL
3751 };
3752
3753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
c9c7117a
RD
3756 {
3757 arg2 = &temp2;
3758 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3759 }
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 Py_INCREF(Py_None); resultobj = Py_None;
3768 return resultobj;
3769 fail:
3770 return NULL;
3771}
3772
3773
d14a1e28
RD
3774static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj;
3776 wxRect *arg1 = (wxRect *) 0 ;
3777 int result;
3778 PyObject * obj0 = 0 ;
3779 char *kwnames[] = {
3780 (char *) "self", NULL
3781 };
3782
3783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
15afbcd0
RD
3784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 result = (int)((wxRect const *)arg1)->GetLeft();
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
15afbcd0 3793 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3794 return resultobj;
3795 fail:
3796 return NULL;
3797}
3798
3799
3800static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3801 PyObject *resultobj;
3802 wxRect *arg1 = (wxRect *) 0 ;
3803 int result;
3804 PyObject * obj0 = 0 ;
3805 char *kwnames[] = {
3806 (char *) "self", NULL
3807 };
3808
3809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
15afbcd0
RD
3810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3812 {
3813 PyThreadState* __tstate = wxPyBeginAllowThreads();
3814 result = (int)((wxRect const *)arg1)->GetTop();
3815
3816 wxPyEndAllowThreads(__tstate);
3817 if (PyErr_Occurred()) SWIG_fail;
3818 }
15afbcd0 3819 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3820 return resultobj;
3821 fail:
3822 return NULL;
3823}
3824
3825
3826static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3827 PyObject *resultobj;
3828 wxRect *arg1 = (wxRect *) 0 ;
3829 int result;
3830 PyObject * obj0 = 0 ;
3831 char *kwnames[] = {
3832 (char *) "self", NULL
3833 };
3834
3835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
15afbcd0
RD
3836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (int)((wxRect const *)arg1)->GetBottom();
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
15afbcd0 3845 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3846 return resultobj;
3847 fail:
3848 return NULL;
3849}
3850
3851
3852static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj;
3854 wxRect *arg1 = (wxRect *) 0 ;
3855 int result;
3856 PyObject * obj0 = 0 ;
3857 char *kwnames[] = {
3858 (char *) "self", NULL
3859 };
3860
3861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
15afbcd0
RD
3862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3864 {
3865 PyThreadState* __tstate = wxPyBeginAllowThreads();
3866 result = (int)((wxRect const *)arg1)->GetRight();
3867
3868 wxPyEndAllowThreads(__tstate);
3869 if (PyErr_Occurred()) SWIG_fail;
3870 }
15afbcd0 3871 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3872 return resultobj;
3873 fail:
3874 return NULL;
3875}
3876
3877
3878static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3879 PyObject *resultobj;
3880 wxRect *arg1 = (wxRect *) 0 ;
3881 int arg2 ;
3882 PyObject * obj0 = 0 ;
994141e6 3883 PyObject * obj1 = 0 ;
d14a1e28
RD
3884 char *kwnames[] = {
3885 (char *) "self",(char *) "left", NULL
3886 };
3887
994141e6 3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3891 arg2 = (int) SWIG_AsInt(obj1);
3892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3893 {
3894 PyThreadState* __tstate = wxPyBeginAllowThreads();
3895 (arg1)->SetLeft(arg2);
3896
3897 wxPyEndAllowThreads(__tstate);
3898 if (PyErr_Occurred()) SWIG_fail;
3899 }
3900 Py_INCREF(Py_None); resultobj = Py_None;
3901 return resultobj;
3902 fail:
3903 return NULL;
3904}
3905
3906
3907static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3908 PyObject *resultobj;
3909 wxRect *arg1 = (wxRect *) 0 ;
3910 int arg2 ;
3911 PyObject * obj0 = 0 ;
994141e6 3912 PyObject * obj1 = 0 ;
d14a1e28
RD
3913 char *kwnames[] = {
3914 (char *) "self",(char *) "right", NULL
3915 };
3916
994141e6 3917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3920 arg2 = (int) SWIG_AsInt(obj1);
3921 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3922 {
3923 PyThreadState* __tstate = wxPyBeginAllowThreads();
3924 (arg1)->SetRight(arg2);
3925
3926 wxPyEndAllowThreads(__tstate);
3927 if (PyErr_Occurred()) SWIG_fail;
3928 }
3929 Py_INCREF(Py_None); resultobj = Py_None;
3930 return resultobj;
3931 fail:
3932 return NULL;
3933}
3934
3935
3936static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3937 PyObject *resultobj;
3938 wxRect *arg1 = (wxRect *) 0 ;
3939 int arg2 ;
3940 PyObject * obj0 = 0 ;
994141e6 3941 PyObject * obj1 = 0 ;
d14a1e28
RD
3942 char *kwnames[] = {
3943 (char *) "self",(char *) "top", NULL
3944 };
3945
994141e6 3946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3949 arg2 = (int) SWIG_AsInt(obj1);
3950 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3951 {
3952 PyThreadState* __tstate = wxPyBeginAllowThreads();
3953 (arg1)->SetTop(arg2);
3954
3955 wxPyEndAllowThreads(__tstate);
3956 if (PyErr_Occurred()) SWIG_fail;
3957 }
3958 Py_INCREF(Py_None); resultobj = Py_None;
3959 return resultobj;
3960 fail:
3961 return NULL;
3962}
3963
3964
3965static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3966 PyObject *resultobj;
3967 wxRect *arg1 = (wxRect *) 0 ;
3968 int arg2 ;
3969 PyObject * obj0 = 0 ;
994141e6 3970 PyObject * obj1 = 0 ;
d14a1e28
RD
3971 char *kwnames[] = {
3972 (char *) "self",(char *) "bottom", NULL
3973 };
3974
994141e6 3975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
3976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3978 arg2 = (int) SWIG_AsInt(obj1);
3979 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3980 {
3981 PyThreadState* __tstate = wxPyBeginAllowThreads();
3982 (arg1)->SetBottom(arg2);
3983
3984 wxPyEndAllowThreads(__tstate);
3985 if (PyErr_Occurred()) SWIG_fail;
3986 }
3987 Py_INCREF(Py_None); resultobj = Py_None;
3988 return resultobj;
3989 fail:
3990 return NULL;
3991}
3992
3993
3994static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3995 PyObject *resultobj;
3996 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
3997 int arg2 ;
3998 int arg3 ;
d14a1e28
RD
3999 wxRect *result;
4000 PyObject * obj0 = 0 ;
994141e6
RD
4001 PyObject * obj1 = 0 ;
4002 PyObject * obj2 = 0 ;
d14a1e28
RD
4003 char *kwnames[] = {
4004 (char *) "self",(char *) "dx",(char *) "dy", NULL
4005 };
4006
994141e6 4007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4010 arg2 = (int) SWIG_AsInt(obj1);
4011 if (PyErr_Occurred()) SWIG_fail;
4012 arg3 = (int) SWIG_AsInt(obj2);
4013 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4014 {
4015 PyThreadState* __tstate = wxPyBeginAllowThreads();
4016 {
4017 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4018 result = (wxRect *) &_result_ref;
4019 }
4020
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
15afbcd0 4024 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4025 return resultobj;
4026 fail:
4027 return NULL;
4028}
4029
4030
4031static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4032 PyObject *resultobj;
4033 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4034 int arg2 ;
4035 int arg3 ;
d14a1e28
RD
4036 wxRect *result;
4037 PyObject * obj0 = 0 ;
994141e6
RD
4038 PyObject * obj1 = 0 ;
4039 PyObject * obj2 = 0 ;
d14a1e28
RD
4040 char *kwnames[] = {
4041 (char *) "self",(char *) "dx",(char *) "dy", NULL
4042 };
4043
994141e6 4044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4047 arg2 = (int) SWIG_AsInt(obj1);
4048 if (PyErr_Occurred()) SWIG_fail;
4049 arg3 = (int) SWIG_AsInt(obj2);
4050 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4051 {
4052 PyThreadState* __tstate = wxPyBeginAllowThreads();
4053 {
4054 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4055 result = (wxRect *) &_result_ref;
4056 }
4057
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
15afbcd0 4061 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4062 return resultobj;
4063 fail:
4064 return NULL;
4065}
4066
4067
4068static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4069 PyObject *resultobj;
4070 wxRect *arg1 = (wxRect *) 0 ;
e811c8ce
RD
4071 int arg2 ;
4072 int arg3 ;
d14a1e28 4073 PyObject * obj0 = 0 ;
994141e6
RD
4074 PyObject * obj1 = 0 ;
4075 PyObject * obj2 = 0 ;
d14a1e28
RD
4076 char *kwnames[] = {
4077 (char *) "self",(char *) "dx",(char *) "dy", NULL
4078 };
4079
994141e6 4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4083 arg2 = (int) SWIG_AsInt(obj1);
4084 if (PyErr_Occurred()) SWIG_fail;
4085 arg3 = (int) SWIG_AsInt(obj2);
4086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4087 {
4088 PyThreadState* __tstate = wxPyBeginAllowThreads();
4089 (arg1)->Offset(arg2,arg3);
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
4094 Py_INCREF(Py_None); resultobj = Py_None;
4095 return resultobj;
4096 fail:
4097 return NULL;
4098}
4099
4100
4101static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
4102 PyObject *resultobj;
4103 wxRect *arg1 = (wxRect *) 0 ;
4104 wxPoint *arg2 = 0 ;
4105 wxPoint temp2 ;
4106 PyObject * obj0 = 0 ;
4107 PyObject * obj1 = 0 ;
4108 char *kwnames[] = {
4109 (char *) "self",(char *) "pt", NULL
4110 };
4111
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4115 {
4116 arg2 = &temp2;
4117 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4118 }
4119 {
4120 PyThreadState* __tstate = wxPyBeginAllowThreads();
4121 (arg1)->Offset((wxPoint const &)*arg2);
4122
4123 wxPyEndAllowThreads(__tstate);
4124 if (PyErr_Occurred()) SWIG_fail;
4125 }
4126 Py_INCREF(Py_None); resultobj = Py_None;
4127 return resultobj;
4128 fail:
4129 return NULL;
4130}
4131
4132
4133static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
4134 PyObject *resultobj;
4135 wxRect *arg1 = (wxRect *) 0 ;
4136 wxRect *arg2 = 0 ;
4137 wxRect *result;
4138 wxRect temp2 ;
4139 PyObject * obj0 = 0 ;
4140 PyObject * obj1 = 0 ;
4141 char *kwnames[] = {
4142 (char *) "self",(char *) "rect", NULL
4143 };
4144
4145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4148 {
4149 arg2 = &temp2;
4150 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4151 }
4152 {
4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4154 {
4155 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4156 result = (wxRect *) &_result_ref;
4157 }
4158
4159 wxPyEndAllowThreads(__tstate);
4160 if (PyErr_Occurred()) SWIG_fail;
4161 }
15afbcd0 4162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4163 return resultobj;
4164 fail:
4165 return NULL;
4166}
4167
4168
4169static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
4170 PyObject *resultobj;
4171 wxRect *arg1 = (wxRect *) 0 ;
4172 wxRect *arg2 = 0 ;
4173 wxRect result;
4174 wxRect temp2 ;
4175 PyObject * obj0 = 0 ;
4176 PyObject * obj1 = 0 ;
4177 char *kwnames[] = {
4178 (char *) "self",(char *) "rect", NULL
4179 };
4180
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4184 {
4185 arg2 = &temp2;
4186 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4187 }
4188 {
4189 PyThreadState* __tstate = wxPyBeginAllowThreads();
4190 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4191
4192 wxPyEndAllowThreads(__tstate);
4193 if (PyErr_Occurred()) SWIG_fail;
4194 }
4195 {
4196 wxRect * resultptr;
4197 resultptr = new wxRect((wxRect &) result);
15afbcd0 4198 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4199 }
4200 return resultobj;
4201 fail:
4202 return NULL;
4203}
4204
4205
4206static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4207 PyObject *resultobj;
4208 wxRect *arg1 = (wxRect *) 0 ;
4209 wxRect *arg2 = 0 ;
4210 wxRect *result;
4211 wxRect temp2 ;
4212 PyObject * obj0 = 0 ;
4213 PyObject * obj1 = 0 ;
4214 char *kwnames[] = {
4215 (char *) "self",(char *) "rect", NULL
4216 };
4217
4218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4221 {
4222 arg2 = &temp2;
4223 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4224 }
4225 {
4226 PyThreadState* __tstate = wxPyBeginAllowThreads();
4227 {
4228 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4229 result = (wxRect *) &_result_ref;
4230 }
4231
4232 wxPyEndAllowThreads(__tstate);
4233 if (PyErr_Occurred()) SWIG_fail;
4234 }
15afbcd0 4235 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4236 return resultobj;
4237 fail:
4238 return NULL;
4239}
4240
4241
4242static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj;
4244 wxRect *arg1 = (wxRect *) 0 ;
4245 wxRect *arg2 = 0 ;
4246 bool result;
4247 wxRect temp2 ;
4248 PyObject * obj0 = 0 ;
4249 PyObject * obj1 = 0 ;
4250 char *kwnames[] = {
4251 (char *) "self",(char *) "rect", NULL
4252 };
4253
4254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4257 {
4258 arg2 = &temp2;
4259 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4260 }
4261 {
4262 PyThreadState* __tstate = wxPyBeginAllowThreads();
4263 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4264
4265 wxPyEndAllowThreads(__tstate);
4266 if (PyErr_Occurred()) SWIG_fail;
4267 }
4f89f6a3
RD
4268 {
4269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4270 }
d14a1e28
RD
4271 return resultobj;
4272 fail:
4273 return NULL;
4274}
4275
4276
4277static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4278 PyObject *resultobj;
4279 wxRect *arg1 = (wxRect *) 0 ;
4280 wxRect *arg2 = 0 ;
4281 bool result;
4282 wxRect temp2 ;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj1 = 0 ;
4285 char *kwnames[] = {
4286 (char *) "self",(char *) "rect", NULL
4287 };
4288
4289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4292 {
4293 arg2 = &temp2;
4294 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4295 }
4296 {
4297 PyThreadState* __tstate = wxPyBeginAllowThreads();
4298 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4299
4300 wxPyEndAllowThreads(__tstate);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 }
4f89f6a3
RD
4303 {
4304 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4305 }
d14a1e28
RD
4306 return resultobj;
4307 fail:
4308 return NULL;
4309}
4310
4311
4312static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4313 PyObject *resultobj;
4314 wxRect *arg1 = (wxRect *) 0 ;
4315 int arg2 ;
4316 int arg3 ;
4317 bool result;
4318 PyObject * obj0 = 0 ;
994141e6
RD
4319 PyObject * obj1 = 0 ;
4320 PyObject * obj2 = 0 ;
d14a1e28
RD
4321 char *kwnames[] = {
4322 (char *) "self",(char *) "x",(char *) "y", NULL
4323 };
4324
994141e6 4325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
4326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4328 arg2 = (int) SWIG_AsInt(obj1);
4329 if (PyErr_Occurred()) SWIG_fail;
4330 arg3 = (int) SWIG_AsInt(obj2);
4331 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4335
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4f89f6a3
RD
4339 {
4340 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4341 }
d14a1e28
RD
4342 return resultobj;
4343 fail:
4344 return NULL;
4345}
4346
4347
4348static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
4349 PyObject *resultobj;
4350 wxRect *arg1 = (wxRect *) 0 ;
4351 wxPoint *arg2 = 0 ;
4352 bool result;
4353 wxPoint temp2 ;
4354 PyObject * obj0 = 0 ;
4355 PyObject * obj1 = 0 ;
4356 char *kwnames[] = {
4357 (char *) "self",(char *) "pt", NULL
4358 };
4359
4360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4363 {
4364 arg2 = &temp2;
4365 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4366 }
4367 {
4368 PyThreadState* __tstate = wxPyBeginAllowThreads();
4369 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4370
4371 wxPyEndAllowThreads(__tstate);
4372 if (PyErr_Occurred()) SWIG_fail;
4373 }
4f89f6a3
RD
4374 {
4375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4376 }
d14a1e28
RD
4377 return resultobj;
4378 fail:
4379 return NULL;
4380}
4381
4382
4383static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
4384 PyObject *resultobj;
4385 wxRect *arg1 = (wxRect *) 0 ;
4386 wxRect *arg2 = 0 ;
4387 bool result;
4388 wxRect temp2 ;
4389 PyObject * obj0 = 0 ;
4390 PyObject * obj1 = 0 ;
4391 char *kwnames[] = {
4392 (char *) "self",(char *) "rect", NULL
4393 };
4394
4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4398 {
4399 arg2 = &temp2;
4400 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4401 }
4402 {
4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
4404 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4405
4406 wxPyEndAllowThreads(__tstate);
4407 if (PyErr_Occurred()) SWIG_fail;
4408 }
4f89f6a3
RD
4409 {
4410 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4411 }
d14a1e28
RD
4412 return resultobj;
4413 fail:
4414 return NULL;
4415}
4416
4417
4418static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4419 PyObject *resultobj;
4420 wxRect *arg1 = (wxRect *) 0 ;
4421 int arg2 ;
4422 PyObject * obj0 = 0 ;
994141e6 4423 PyObject * obj1 = 0 ;
d14a1e28
RD
4424 char *kwnames[] = {
4425 (char *) "self",(char *) "x", NULL
4426 };
4427
994141e6 4428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4431 arg2 = (int) SWIG_AsInt(obj1);
4432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4433 if (arg1) (arg1)->x = arg2;
4434
4435 Py_INCREF(Py_None); resultobj = Py_None;
4436 return resultobj;
4437 fail:
4438 return NULL;
4439}
4440
4441
4442static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4443 PyObject *resultobj;
4444 wxRect *arg1 = (wxRect *) 0 ;
4445 int result;
4446 PyObject * obj0 = 0 ;
4447 char *kwnames[] = {
4448 (char *) "self", NULL
4449 };
4450
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4454 result = (int) ((arg1)->x);
4455
15afbcd0 4456 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4457 return resultobj;
4458 fail:
4459 return NULL;
4460}
4461
4462
4463static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4464 PyObject *resultobj;
4465 wxRect *arg1 = (wxRect *) 0 ;
4466 int arg2 ;
4467 PyObject * obj0 = 0 ;
994141e6 4468 PyObject * obj1 = 0 ;
d14a1e28
RD
4469 char *kwnames[] = {
4470 (char *) "self",(char *) "y", NULL
4471 };
4472
994141e6 4473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4475 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4476 arg2 = (int) SWIG_AsInt(obj1);
4477 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4478 if (arg1) (arg1)->y = arg2;
4479
4480 Py_INCREF(Py_None); resultobj = Py_None;
4481 return resultobj;
4482 fail:
4483 return NULL;
4484}
4485
4486
4487static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4488 PyObject *resultobj;
4489 wxRect *arg1 = (wxRect *) 0 ;
4490 int result;
4491 PyObject * obj0 = 0 ;
4492 char *kwnames[] = {
4493 (char *) "self", NULL
4494 };
4495
4496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4499 result = (int) ((arg1)->y);
4500
15afbcd0 4501 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4502 return resultobj;
4503 fail:
4504 return NULL;
4505}
4506
4507
4508static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4509 PyObject *resultobj;
4510 wxRect *arg1 = (wxRect *) 0 ;
4511 int arg2 ;
4512 PyObject * obj0 = 0 ;
994141e6 4513 PyObject * obj1 = 0 ;
d14a1e28
RD
4514 char *kwnames[] = {
4515 (char *) "self",(char *) "width", NULL
4516 };
4517
994141e6 4518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4521 arg2 = (int) SWIG_AsInt(obj1);
4522 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4523 if (arg1) (arg1)->width = arg2;
4524
4525 Py_INCREF(Py_None); resultobj = Py_None;
4526 return resultobj;
4527 fail:
4528 return NULL;
4529}
4530
4531
4532static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4533 PyObject *resultobj;
4534 wxRect *arg1 = (wxRect *) 0 ;
4535 int result;
4536 PyObject * obj0 = 0 ;
4537 char *kwnames[] = {
4538 (char *) "self", NULL
4539 };
4540
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4542 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4543 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4544 result = (int) ((arg1)->width);
4545
15afbcd0 4546 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4547 return resultobj;
4548 fail:
4549 return NULL;
4550}
4551
4552
4553static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4554 PyObject *resultobj;
4555 wxRect *arg1 = (wxRect *) 0 ;
4556 int arg2 ;
4557 PyObject * obj0 = 0 ;
994141e6 4558 PyObject * obj1 = 0 ;
d14a1e28
RD
4559 char *kwnames[] = {
4560 (char *) "self",(char *) "height", NULL
4561 };
4562
994141e6 4563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4566 arg2 = (int) SWIG_AsInt(obj1);
4567 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4568 if (arg1) (arg1)->height = arg2;
4569
4570 Py_INCREF(Py_None); resultobj = Py_None;
4571 return resultobj;
4572 fail:
4573 return NULL;
4574}
4575
4576
4577static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4578 PyObject *resultobj;
4579 wxRect *arg1 = (wxRect *) 0 ;
4580 int result;
4581 PyObject * obj0 = 0 ;
4582 char *kwnames[] = {
4583 (char *) "self", NULL
4584 };
4585
4586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4589 result = (int) ((arg1)->height);
4590
15afbcd0 4591 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4592 return resultobj;
4593 fail:
4594 return NULL;
4595}
4596
4597
4598static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4599 PyObject *resultobj;
4600 wxRect *arg1 = (wxRect *) 0 ;
4601 int arg2 = (int) 0 ;
4602 int arg3 = (int) 0 ;
4603 int arg4 = (int) 0 ;
4604 int arg5 = (int) 0 ;
4605 PyObject * obj0 = 0 ;
994141e6
RD
4606 PyObject * obj1 = 0 ;
4607 PyObject * obj2 = 0 ;
4608 PyObject * obj3 = 0 ;
4609 PyObject * obj4 = 0 ;
d14a1e28
RD
4610 char *kwnames[] = {
4611 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4612 };
4613
994141e6 4614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
4615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 4617 if (obj1) {
15afbcd0
RD
4618 arg2 = (int) SWIG_AsInt(obj1);
4619 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4620 }
4621 if (obj2) {
15afbcd0
RD
4622 arg3 = (int) SWIG_AsInt(obj2);
4623 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4624 }
4625 if (obj3) {
15afbcd0
RD
4626 arg4 = (int) SWIG_AsInt(obj3);
4627 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4628 }
4629 if (obj4) {
15afbcd0
RD
4630 arg5 = (int) SWIG_AsInt(obj4);
4631 if (PyErr_Occurred()) SWIG_fail;
994141e6 4632 }
d14a1e28
RD
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 Py_INCREF(Py_None); resultobj = Py_None;
4641 return resultobj;
4642 fail:
4643 return NULL;
4644}
4645
4646
e811c8ce 4647static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4648 PyObject *resultobj;
4649 wxRect *arg1 = (wxRect *) 0 ;
4650 PyObject *result;
4651 PyObject * obj0 = 0 ;
4652 char *kwnames[] = {
4653 (char *) "self", NULL
4654 };
4655
e811c8ce 4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
4657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4659 {
4660 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 4661 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
4662
4663 wxPyEndAllowThreads(__tstate);
4664 if (PyErr_Occurred()) SWIG_fail;
4665 }
4666 resultobj = result;
4667 return resultobj;
4668 fail:
4669 return NULL;
4670}
4671
4672
4673static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
4674 PyObject *obj;
4675 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4676 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4677 Py_INCREF(obj);
4678 return Py_BuildValue((char *)"");
4679}
4680static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4681 PyObject *resultobj;
4682 wxRect *arg1 = (wxRect *) 0 ;
4683 wxRect *arg2 = (wxRect *) 0 ;
4684 PyObject *result;
4685 PyObject * obj0 = 0 ;
4686 PyObject * obj1 = 0 ;
4687 char *kwnames[] = {
4688 (char *) "r1",(char *) "r2", NULL
4689 };
4690
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4694 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 result = (PyObject *)wxIntersectRect(arg1,arg2);
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
4703 resultobj = result;
4704 return resultobj;
4705 fail:
4706 return NULL;
4707}
4708
4709
4710static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
4711 PyObject *resultobj;
4712 double arg1 = (double) 0.0 ;
4713 double arg2 = (double) 0.0 ;
4714 wxPoint2D *result;
994141e6
RD
4715 PyObject * obj0 = 0 ;
4716 PyObject * obj1 = 0 ;
d14a1e28
RD
4717 char *kwnames[] = {
4718 (char *) "x",(char *) "y", NULL
4719 };
4720
994141e6
RD
4721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4722 if (obj0) {
15afbcd0
RD
4723 arg1 = (double) SWIG_AsDouble(obj0);
4724 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
4725 }
4726 if (obj1) {
15afbcd0
RD
4727 arg2 = (double) SWIG_AsDouble(obj1);
4728 if (PyErr_Occurred()) SWIG_fail;
994141e6 4729 }
d14a1e28
RD
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
15afbcd0 4737 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4738 return resultobj;
4739 fail:
4740 return NULL;
4741}
4742
4743
4744static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj;
4746 wxPoint2D *arg1 = 0 ;
4747 wxPoint2D *result;
4748 wxPoint2D temp1 ;
4749 PyObject * obj0 = 0 ;
4750 char *kwnames[] = {
4751 (char *) "pt", NULL
4752 };
4753
4754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4755 {
4756 arg1 = &temp1;
4757 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4758 }
4759 {
4760 PyThreadState* __tstate = wxPyBeginAllowThreads();
4761 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4762
4763 wxPyEndAllowThreads(__tstate);
4764 if (PyErr_Occurred()) SWIG_fail;
4765 }
15afbcd0 4766 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4767 return resultobj;
4768 fail:
4769 return NULL;
4770}
4771
4772
4773static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4774 PyObject *resultobj;
4775 wxPoint *arg1 = 0 ;
4776 wxPoint2D *result;
4777 wxPoint temp1 ;
4778 PyObject * obj0 = 0 ;
4779 char *kwnames[] = {
4780 (char *) "pt", NULL
4781 };
4782
4783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4784 {
4785 arg1 = &temp1;
4786 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4787 }
4788 {
4789 PyThreadState* __tstate = wxPyBeginAllowThreads();
4790 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4791
4792 wxPyEndAllowThreads(__tstate);
4793 if (PyErr_Occurred()) SWIG_fail;
4794 }
15afbcd0 4795 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4796 return resultobj;
4797 fail:
4798 return NULL;
4799}
4800
4801
4802static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
4803 PyObject *resultobj;
4804 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4805 int *arg2 = (int *) 0 ;
4806 int *arg3 = (int *) 0 ;
4807 int temp2 ;
4808 int temp3 ;
4809 PyObject * obj0 = 0 ;
4810 char *kwnames[] = {
4811 (char *) "self", NULL
4812 };
4813
4814 arg2 = &temp2;
4815 arg3 = &temp3;
4816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
15afbcd0
RD
4817 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4818 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4819 {
4820 PyThreadState* __tstate = wxPyBeginAllowThreads();
4821 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4822
4823 wxPyEndAllowThreads(__tstate);
4824 if (PyErr_Occurred()) SWIG_fail;
4825 }
4826 Py_INCREF(Py_None); resultobj = Py_None;
4827 {
4828 PyObject *o = PyInt_FromLong((long) (*arg2));
4829 resultobj = t_output_helper(resultobj,o);
4830 }
4831 {
4832 PyObject *o = PyInt_FromLong((long) (*arg3));
4833 resultobj = t_output_helper(resultobj,o);
4834 }
4835 return resultobj;
4836 fail:
4837 return NULL;
4838}
4839
4840
4841static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4844 int *arg2 = (int *) 0 ;
4845 int *arg3 = (int *) 0 ;
4846 int temp2 ;
4847 int temp3 ;
4848 PyObject * obj0 = 0 ;
4849 char *kwnames[] = {
4850 (char *) "self", NULL
4851 };
4852
4853 arg2 = &temp2;
4854 arg3 = &temp3;
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
15afbcd0
RD
4856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4858 {
4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
4860 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4861
4862 wxPyEndAllowThreads(__tstate);
4863 if (PyErr_Occurred()) SWIG_fail;
4864 }
4865 Py_INCREF(Py_None); resultobj = Py_None;
4866 {
4867 PyObject *o = PyInt_FromLong((long) (*arg2));
4868 resultobj = t_output_helper(resultobj,o);
4869 }
4870 {
4871 PyObject *o = PyInt_FromLong((long) (*arg3));
4872 resultobj = t_output_helper(resultobj,o);
4873 }
4874 return resultobj;
4875 fail:
4876 return NULL;
4877}
4878
4879
4880static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject *resultobj;
4882 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4883 double result;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
15afbcd0
RD
4890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4892 {
4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
4894 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4895
4896 wxPyEndAllowThreads(__tstate);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 }
15afbcd0 4899 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4900 return resultobj;
4901 fail:
4902 return NULL;
4903}
4904
4905
4906static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4907 PyObject *resultobj;
4908 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4909 double result;
4910 PyObject * obj0 = 0 ;
4911 char *kwnames[] = {
4912 (char *) "self", NULL
4913 };
4914
4915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
15afbcd0
RD
4916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4918 {
4919 PyThreadState* __tstate = wxPyBeginAllowThreads();
4920 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4921
4922 wxPyEndAllowThreads(__tstate);
4923 if (PyErr_Occurred()) SWIG_fail;
4924 }
15afbcd0 4925 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4926 return resultobj;
4927 fail:
4928 return NULL;
4929}
4930
4931
4932static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4933 PyObject *resultobj;
4934 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4935 double arg2 ;
4936 PyObject * obj0 = 0 ;
994141e6 4937 PyObject * obj1 = 0 ;
d14a1e28
RD
4938 char *kwnames[] = {
4939 (char *) "self",(char *) "length", NULL
4940 };
4941
994141e6 4942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4945 arg2 = (double) SWIG_AsDouble(obj1);
4946 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4947 {
4948 PyThreadState* __tstate = wxPyBeginAllowThreads();
4949 (arg1)->SetVectorLength(arg2);
4950
4951 wxPyEndAllowThreads(__tstate);
4952 if (PyErr_Occurred()) SWIG_fail;
4953 }
4954 Py_INCREF(Py_None); resultobj = Py_None;
4955 return resultobj;
4956 fail:
4957 return NULL;
4958}
4959
4960
4961static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4962 PyObject *resultobj;
4963 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4964 double arg2 ;
4965 PyObject * obj0 = 0 ;
994141e6 4966 PyObject * obj1 = 0 ;
d14a1e28
RD
4967 char *kwnames[] = {
4968 (char *) "self",(char *) "degrees", NULL
4969 };
4970
994141e6 4971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
4972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4974 arg2 = (double) SWIG_AsDouble(obj1);
4975 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4976 {
4977 PyThreadState* __tstate = wxPyBeginAllowThreads();
4978 (arg1)->SetVectorAngle(arg2);
4979
4980 wxPyEndAllowThreads(__tstate);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 Py_INCREF(Py_None); resultobj = Py_None;
4984 return resultobj;
4985 fail:
4986 return NULL;
4987}
4988
4989
4990static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4993 wxPoint2D *arg2 = 0 ;
4994 double result;
4995 wxPoint2D temp2 ;
4996 PyObject * obj0 = 0 ;
4997 PyObject * obj1 = 0 ;
4998 char *kwnames[] = {
4999 (char *) "self",(char *) "pt", NULL
5000 };
5001
5002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5005 {
5006 arg2 = &temp2;
5007 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5008 }
5009 {
5010 PyThreadState* __tstate = wxPyBeginAllowThreads();
5011 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5012
5013 wxPyEndAllowThreads(__tstate);
5014 if (PyErr_Occurred()) SWIG_fail;
5015 }
15afbcd0 5016 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5017 return resultobj;
5018 fail:
5019 return NULL;
5020}
5021
5022
5023static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5026 wxPoint2D *arg2 = 0 ;
5027 double result;
5028 wxPoint2D temp2 ;
5029 PyObject * obj0 = 0 ;
5030 PyObject * obj1 = 0 ;
5031 char *kwnames[] = {
5032 (char *) "self",(char *) "pt", NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5038 {
5039 arg2 = &temp2;
5040 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5041 }
5042 {
5043 PyThreadState* __tstate = wxPyBeginAllowThreads();
5044 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5045
5046 wxPyEndAllowThreads(__tstate);
5047 if (PyErr_Occurred()) SWIG_fail;
5048 }
15afbcd0 5049 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5050 return resultobj;
5051 fail:
5052 return NULL;
5053}
5054
5055
5056static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5057 PyObject *resultobj;
5058 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5059 wxPoint2D *arg2 = 0 ;
5060 double result;
5061 wxPoint2D temp2 ;
5062 PyObject * obj0 = 0 ;
5063 PyObject * obj1 = 0 ;
5064 char *kwnames[] = {
5065 (char *) "self",(char *) "vec", NULL
5066 };
5067
5068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5071 {
5072 arg2 = &temp2;
5073 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5074 }
5075 {
5076 PyThreadState* __tstate = wxPyBeginAllowThreads();
5077 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5078
5079 wxPyEndAllowThreads(__tstate);
5080 if (PyErr_Occurred()) SWIG_fail;
5081 }
15afbcd0 5082 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5083 return resultobj;
5084 fail:
5085 return NULL;
5086}
5087
5088
5089static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5090 PyObject *resultobj;
5091 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5092 wxPoint2D *arg2 = 0 ;
5093 double result;
5094 wxPoint2D temp2 ;
5095 PyObject * obj0 = 0 ;
5096 PyObject * obj1 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self",(char *) "vec", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5104 {
5105 arg2 = &temp2;
5106 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5107 }
5108 {
5109 PyThreadState* __tstate = wxPyBeginAllowThreads();
5110 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5111
5112 wxPyEndAllowThreads(__tstate);
5113 if (PyErr_Occurred()) SWIG_fail;
5114 }
15afbcd0 5115 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5116 return resultobj;
5117 fail:
5118 return NULL;
5119}
5120
5121
5122static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5125 wxPoint2D result;
5126 PyObject * obj0 = 0 ;
5127 char *kwnames[] = {
5128 (char *) "self", NULL
5129 };
5130
5131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
15afbcd0
RD
5132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5134 {
5135 PyThreadState* __tstate = wxPyBeginAllowThreads();
5136 result = (arg1)->operator -();
5137
5138 wxPyEndAllowThreads(__tstate);
5139 if (PyErr_Occurred()) SWIG_fail;
5140 }
5141 {
5142 wxPoint2D * resultptr;
5143 resultptr = new wxPoint2D((wxPoint2D &) result);
15afbcd0 5144 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5145 }
5146 return resultobj;
5147 fail:
5148 return NULL;
5149}
5150
5151
5152static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
5153 PyObject *resultobj;
5154 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5155 wxPoint2D *arg2 = 0 ;
5156 wxPoint2D *result;
5157 wxPoint2D temp2 ;
5158 PyObject * obj0 = 0 ;
5159 PyObject * obj1 = 0 ;
5160 char *kwnames[] = {
5161 (char *) "self",(char *) "pt", NULL
5162 };
5163
5164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5167 {
5168 arg2 = &temp2;
5169 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5170 }
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 {
5174 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5175 result = (wxPoint2D *) &_result_ref;
5176 }
5177
5178 wxPyEndAllowThreads(__tstate);
5179 if (PyErr_Occurred()) SWIG_fail;
5180 }
15afbcd0 5181 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5182 return resultobj;
5183 fail:
5184 return NULL;
5185}
5186
5187
5188static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
5189 PyObject *resultobj;
5190 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5191 wxPoint2D *arg2 = 0 ;
5192 wxPoint2D *result;
5193 wxPoint2D temp2 ;
5194 PyObject * obj0 = 0 ;
5195 PyObject * obj1 = 0 ;
5196 char *kwnames[] = {
5197 (char *) "self",(char *) "pt", NULL
5198 };
5199
5200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5201 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5202 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5203 {
5204 arg2 = &temp2;
5205 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5206 }
5207 {
5208 PyThreadState* __tstate = wxPyBeginAllowThreads();
5209 {
5210 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5211 result = (wxPoint2D *) &_result_ref;
5212 }
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
15afbcd0 5217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5218 return resultobj;
5219 fail:
5220 return NULL;
5221}
5222
5223
5224static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5227 wxPoint2D *arg2 = 0 ;
5228 wxPoint2D *result;
5229 wxPoint2D temp2 ;
5230 PyObject * obj0 = 0 ;
5231 PyObject * obj1 = 0 ;
5232 char *kwnames[] = {
5233 (char *) "self",(char *) "pt", NULL
5234 };
5235
5236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5239 {
5240 arg2 = &temp2;
5241 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5242 }
5243 {
5244 PyThreadState* __tstate = wxPyBeginAllowThreads();
5245 {
5246 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5247 result = (wxPoint2D *) &_result_ref;
5248 }
5249
5250 wxPyEndAllowThreads(__tstate);
5251 if (PyErr_Occurred()) SWIG_fail;
5252 }
15afbcd0 5253 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5254 return resultobj;
5255 fail:
5256 return NULL;
5257}
5258
5259
5260static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
5261 PyObject *resultobj;
5262 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5263 wxPoint2D *arg2 = 0 ;
5264 wxPoint2D *result;
5265 wxPoint2D temp2 ;
5266 PyObject * obj0 = 0 ;
5267 PyObject * obj1 = 0 ;
5268 char *kwnames[] = {
5269 (char *) "self",(char *) "pt", NULL
5270 };
5271
5272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5275 {
5276 arg2 = &temp2;
5277 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5278 }
5279 {
5280 PyThreadState* __tstate = wxPyBeginAllowThreads();
5281 {
5282 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5283 result = (wxPoint2D *) &_result_ref;
5284 }
5285
5286 wxPyEndAllowThreads(__tstate);
5287 if (PyErr_Occurred()) SWIG_fail;
5288 }
15afbcd0 5289 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5290 return resultobj;
5291 fail:
5292 return NULL;
5293}
5294
5295
5296static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
5297 PyObject *resultobj;
5298 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5299 wxPoint2D *arg2 = 0 ;
5300 bool result;
5301 wxPoint2D temp2 ;
5302 PyObject * obj0 = 0 ;
5303 PyObject * obj1 = 0 ;
5304 char *kwnames[] = {
5305 (char *) "self",(char *) "pt", NULL
5306 };
5307
5308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5311 {
5312 arg2 = &temp2;
5313 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5314 }
5315 {
5316 PyThreadState* __tstate = wxPyBeginAllowThreads();
5317 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5318
5319 wxPyEndAllowThreads(__tstate);
5320 if (PyErr_Occurred()) SWIG_fail;
5321 }
4f89f6a3
RD
5322 {
5323 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5324 }
d14a1e28
RD
5325 return resultobj;
5326 fail:
5327 return NULL;
5328}
5329
5330
5331static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
5332 PyObject *resultobj;
5333 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5334 wxPoint2D *arg2 = 0 ;
5335 bool result;
5336 wxPoint2D temp2 ;
5337 PyObject * obj0 = 0 ;
5338 PyObject * obj1 = 0 ;
5339 char *kwnames[] = {
5340 (char *) "self",(char *) "pt", NULL
5341 };
5342
5343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5346 {
5347 arg2 = &temp2;
5348 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5349 }
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
4f89f6a3
RD
5357 {
5358 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5359 }
d14a1e28
RD
5360 return resultobj;
5361 fail:
5362 return NULL;
5363}
5364
5365
d14a1e28
RD
5366static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5367 PyObject *resultobj;
5368 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5369 double arg2 ;
5370 PyObject * obj0 = 0 ;
994141e6 5371 PyObject * obj1 = 0 ;
d14a1e28
RD
5372 char *kwnames[] = {
5373 (char *) "self",(char *) "m_x", NULL
5374 };
5375
994141e6 5376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5379 arg2 = (double) SWIG_AsDouble(obj1);
5380 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5381 if (arg1) (arg1)->m_x = arg2;
5382
5383 Py_INCREF(Py_None); resultobj = Py_None;
5384 return resultobj;
5385 fail:
5386 return NULL;
5387}
5388
5389
5390static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5391 PyObject *resultobj;
5392 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5393 double result;
5394 PyObject * obj0 = 0 ;
5395 char *kwnames[] = {
5396 (char *) "self", NULL
5397 };
5398
5399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5402 result = (double) ((arg1)->m_x);
5403
15afbcd0 5404 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5405 return resultobj;
5406 fail:
5407 return NULL;
5408}
5409
5410
5411static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5412 PyObject *resultobj;
5413 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5414 double arg2 ;
5415 PyObject * obj0 = 0 ;
994141e6 5416 PyObject * obj1 = 0 ;
d14a1e28
RD
5417 char *kwnames[] = {
5418 (char *) "self",(char *) "m_y", NULL
5419 };
5420
994141e6 5421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5424 arg2 = (double) SWIG_AsDouble(obj1);
5425 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5426 if (arg1) (arg1)->m_y = arg2;
5427
5428 Py_INCREF(Py_None); resultobj = Py_None;
5429 return resultobj;
5430 fail:
5431 return NULL;
5432}
5433
5434
5435static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5436 PyObject *resultobj;
5437 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5438 double result;
5439 PyObject * obj0 = 0 ;
5440 char *kwnames[] = {
5441 (char *) "self", NULL
5442 };
5443
5444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5447 result = (double) ((arg1)->m_y);
5448
15afbcd0 5449 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5450 return resultobj;
5451 fail:
5452 return NULL;
5453}
5454
5455
5456static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5457 PyObject *resultobj;
5458 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5459 double arg2 = (double) 0 ;
5460 double arg3 = (double) 0 ;
5461 PyObject * obj0 = 0 ;
994141e6
RD
5462 PyObject * obj1 = 0 ;
5463 PyObject * obj2 = 0 ;
d14a1e28
RD
5464 char *kwnames[] = {
5465 (char *) "self",(char *) "x",(char *) "y", NULL
5466 };
5467
994141e6 5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5471 if (obj1) {
15afbcd0
RD
5472 arg2 = (double) SWIG_AsDouble(obj1);
5473 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
5474 }
5475 if (obj2) {
15afbcd0
RD
5476 arg3 = (double) SWIG_AsDouble(obj2);
5477 if (PyErr_Occurred()) SWIG_fail;
994141e6 5478 }
d14a1e28
RD
5479 {
5480 PyThreadState* __tstate = wxPyBeginAllowThreads();
5481 wxPoint2D_Set(arg1,arg2,arg3);
5482
5483 wxPyEndAllowThreads(__tstate);
5484 if (PyErr_Occurred()) SWIG_fail;
5485 }
5486 Py_INCREF(Py_None); resultobj = Py_None;
5487 return resultobj;
5488 fail:
5489 return NULL;
5490}
5491
5492
e811c8ce 5493static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5494 PyObject *resultobj;
5495 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5496 PyObject *result;
5497 PyObject * obj0 = 0 ;
5498 char *kwnames[] = {
5499 (char *) "self", NULL
5500 };
5501
e811c8ce 5502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
5503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 5507 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
5508
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 resultobj = result;
5513 return resultobj;
5514 fail:
5515 return NULL;
5516}
5517
5518
5519static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
5520 PyObject *obj;
5521 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5522 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5523 Py_INCREF(obj);
5524 return Py_BuildValue((char *)"");
5525}
5526static int _wrap_DefaultPosition_set(PyObject *_val) {
5527 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5528 return 1;
5529}
5530
5531
5532static PyObject *_wrap_DefaultPosition_get() {
5533 PyObject *pyobj;
5534
15afbcd0 5535 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
5536 return pyobj;
5537}
5538
5539
5540static int _wrap_DefaultSize_set(PyObject *_val) {
5541 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5542 return 1;
5543}
5544
5545
5546static PyObject *_wrap_DefaultSize_get() {
5547 PyObject *pyobj;
5548
15afbcd0 5549 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
5550 return pyobj;
5551}
5552
5553
5554static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5555 PyObject *resultobj;
5556 PyObject *arg1 = (PyObject *) 0 ;
5557 wxPyInputStream *result;
5558 PyObject * obj0 = 0 ;
5559 char *kwnames[] = {
5560 (char *) "p", NULL
5561 };
5562
5563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5564 arg1 = obj0;
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
15afbcd0 5572 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
d14a1e28
RD
5573 return resultobj;
5574 fail:
5575 return NULL;
5576}
5577
5578
5579static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
5580 PyObject *resultobj;
5581 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5582 PyObject * obj0 = 0 ;
5583 char *kwnames[] = {
5584 (char *) "self", NULL
5585 };
5586
5587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
15afbcd0
RD
5588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 (arg1)->close();
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 Py_INCREF(Py_None); resultobj = Py_None;
5598 return resultobj;
5599 fail:
5600 return NULL;
5601}
5602
5603
5604static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
5605 PyObject *resultobj;
5606 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5607 PyObject * obj0 = 0 ;
5608 char *kwnames[] = {
5609 (char *) "self", NULL
5610 };
5611
5612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
15afbcd0
RD
5613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5615 {
5616 PyThreadState* __tstate = wxPyBeginAllowThreads();
5617 (arg1)->flush();
5618
5619 wxPyEndAllowThreads(__tstate);
5620 if (PyErr_Occurred()) SWIG_fail;
5621 }
5622 Py_INCREF(Py_None); resultobj = Py_None;
5623 return resultobj;
5624 fail:
5625 return NULL;
5626}
5627
5628
5629static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5630 PyObject *resultobj;
5631 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5632 bool result;
5633 PyObject * obj0 = 0 ;
5634 char *kwnames[] = {
5635 (char *) "self", NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
5639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5641 {
5642 PyThreadState* __tstate = wxPyBeginAllowThreads();
5643 result = (bool)(arg1)->eof();
5644
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
4f89f6a3
RD
5648 {
5649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5650 }
d14a1e28
RD
5651 return resultobj;
5652 fail:
5653 return NULL;
5654}
5655
5656
5657static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
5658 PyObject *resultobj;
5659 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5660 int arg2 = (int) -1 ;
5661 PyObject *result;
5662 PyObject * obj0 = 0 ;
994141e6 5663 PyObject * obj1 = 0 ;
d14a1e28
RD
5664 char *kwnames[] = {
5665 (char *) "self",(char *) "size", NULL
5666 };
5667
994141e6 5668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5671 if (obj1) {
15afbcd0
RD
5672 arg2 = (int) SWIG_AsInt(obj1);
5673 if (PyErr_Occurred()) SWIG_fail;
994141e6 5674 }
d14a1e28
RD
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 result = (PyObject *)(arg1)->read(arg2);
5678
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
5682 resultobj = result;
5683 return resultobj;
5684 fail:
5685 return NULL;
5686}
5687
5688
5689static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
5690 PyObject *resultobj;
5691 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5692 int arg2 = (int) -1 ;
5693 PyObject *result;
5694 PyObject * obj0 = 0 ;
994141e6 5695 PyObject * obj1 = 0 ;
d14a1e28
RD
5696 char *kwnames[] = {
5697 (char *) "self",(char *) "size", NULL
5698 };
5699
994141e6 5700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5703 if (obj1) {
15afbcd0
RD
5704 arg2 = (int) SWIG_AsInt(obj1);
5705 if (PyErr_Occurred()) SWIG_fail;
994141e6 5706 }
d14a1e28
RD
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 result = (PyObject *)(arg1)->readline(arg2);
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 resultobj = result;
5715 return resultobj;
5716 fail:
5717 return NULL;
5718}
5719
5720
5721static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
5722 PyObject *resultobj;
5723 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5724 int arg2 = (int) -1 ;
5725 PyObject *result;
5726 PyObject * obj0 = 0 ;
994141e6 5727 PyObject * obj1 = 0 ;
d14a1e28
RD
5728 char *kwnames[] = {
5729 (char *) "self",(char *) "sizehint", NULL
5730 };
5731
994141e6 5732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 5735 if (obj1) {
15afbcd0
RD
5736 arg2 = (int) SWIG_AsInt(obj1);
5737 if (PyErr_Occurred()) SWIG_fail;
994141e6 5738 }
d14a1e28
RD
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 result = (PyObject *)(arg1)->readlines(arg2);
5742
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 resultobj = result;
5747 return resultobj;
5748 fail:
5749 return NULL;
5750}
5751
5752
5753static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj;
5755 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5756 int arg2 ;
5757 int arg3 = (int) 0 ;
5758 PyObject * obj0 = 0 ;
994141e6
RD
5759 PyObject * obj1 = 0 ;
5760 PyObject * obj2 = 0 ;
d14a1e28
RD
5761 char *kwnames[] = {
5762 (char *) "self",(char *) "offset",(char *) "whence", NULL
5763 };
5764
994141e6 5765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5768 arg2 = (int) SWIG_AsInt(obj1);
5769 if (PyErr_Occurred()) SWIG_fail;
994141e6 5770 if (obj2) {
15afbcd0
RD
5771 arg3 = (int) SWIG_AsInt(obj2);
5772 if (PyErr_Occurred()) SWIG_fail;
994141e6 5773 }
d14a1e28
RD
5774 {
5775 PyThreadState* __tstate = wxPyBeginAllowThreads();
5776 (arg1)->seek(arg2,arg3);
5777
5778 wxPyEndAllowThreads(__tstate);
5779 if (PyErr_Occurred()) SWIG_fail;
5780 }
5781 Py_INCREF(Py_None); resultobj = Py_None;
5782 return resultobj;
5783 fail:
5784 return NULL;
5785}
5786
5787
5788static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
5789 PyObject *resultobj;
5790 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5791 int result;
5792 PyObject * obj0 = 0 ;
5793 char *kwnames[] = {
5794 (char *) "self", NULL
5795 };
5796
5797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
15afbcd0
RD
5798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5800 {
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 result = (int)(arg1)->tell();
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
15afbcd0 5807 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5808 return resultobj;
5809 fail:
5810 return NULL;
5811}
5812
5813
5814static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
5815 PyObject *resultobj;
5816 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5817 char result;
5818 PyObject * obj0 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "self", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
15afbcd0
RD
5824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5826 {
5827 PyThreadState* __tstate = wxPyBeginAllowThreads();
5828 result = (char)(arg1)->Peek();
5829
5830 wxPyEndAllowThreads(__tstate);
5831 if (PyErr_Occurred()) SWIG_fail;
5832 }
15afbcd0 5833 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5834 return resultobj;
5835 fail:
5836 return NULL;
5837}
5838
5839
5840static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5841 PyObject *resultobj;
5842 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5843 char result;
5844 PyObject * obj0 = 0 ;
5845 char *kwnames[] = {
5846 (char *) "self", NULL
5847 };
5848
5849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
15afbcd0
RD
5850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5852 {
5853 PyThreadState* __tstate = wxPyBeginAllowThreads();
5854 result = (char)(arg1)->GetC();
5855
5856 wxPyEndAllowThreads(__tstate);
5857 if (PyErr_Occurred()) SWIG_fail;
5858 }
15afbcd0 5859 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5860 return resultobj;
5861 fail:
5862 return NULL;
5863}
5864
5865
5866static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5867 PyObject *resultobj;
5868 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5869 size_t result;
5870 PyObject * obj0 = 0 ;
5871 char *kwnames[] = {
5872 (char *) "self", NULL
5873 };
5874
5875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
5876 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5877 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5878 {
5879 PyThreadState* __tstate = wxPyBeginAllowThreads();
5880 result = (size_t)(arg1)->LastRead();
5881
5882 wxPyEndAllowThreads(__tstate);
5883 if (PyErr_Occurred()) SWIG_fail;
5884 }
15afbcd0 5885 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
5886 return resultobj;
5887 fail:
5888 return NULL;
5889}
5890
5891
5892static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5893 PyObject *resultobj;
5894 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5895 bool result;
5896 PyObject * obj0 = 0 ;
5897 char *kwnames[] = {
5898 (char *) "self", NULL
5899 };
5900
5901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
15afbcd0
RD
5902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 result = (bool)(arg1)->CanRead();
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
4f89f6a3
RD
5911 {
5912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5913 }
d14a1e28
RD
5914 return resultobj;
5915 fail:
5916 return NULL;
5917}
5918
5919
5920static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5921 PyObject *resultobj;
5922 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5923 bool result;
5924 PyObject * obj0 = 0 ;
5925 char *kwnames[] = {
5926 (char *) "self", NULL
5927 };
5928
5929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
15afbcd0
RD
5930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5932 {
5933 PyThreadState* __tstate = wxPyBeginAllowThreads();
5934 result = (bool)(arg1)->Eof();
5935
5936 wxPyEndAllowThreads(__tstate);
5937 if (PyErr_Occurred()) SWIG_fail;
5938 }
4f89f6a3
RD
5939 {
5940 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5941 }
d14a1e28
RD
5942 return resultobj;
5943 fail:
5944 return NULL;
5945}
5946
5947
5948static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
5949 PyObject *resultobj;
5950 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5951 char arg2 ;
5952 bool result;
5953 PyObject * obj0 = 0 ;
994141e6 5954 PyObject * obj1 = 0 ;
d14a1e28
RD
5955 char *kwnames[] = {
5956 (char *) "self",(char *) "c", NULL
5957 };
5958
994141e6 5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
5960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5962 arg2 = (char) SWIG_AsChar(obj1);
5963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 result = (bool)(arg1)->Ungetch(arg2);
5967
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
4f89f6a3
RD
5971 {
5972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5973 }
d14a1e28
RD
5974 return resultobj;
5975 fail:
5976 return NULL;
5977}
5978
5979
5980static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
5981 PyObject *resultobj;
5982 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5983 long arg2 ;
5984 int arg3 = (int) wxFromStart ;
5985 long result;
5986 PyObject * obj0 = 0 ;
994141e6
RD
5987 PyObject * obj1 = 0 ;
5988 PyObject * obj2 = 0 ;
d14a1e28
RD
5989 char *kwnames[] = {
5990 (char *) "self",(char *) "pos",(char *) "mode", NULL
5991 };
5992
994141e6 5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
5994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5996 arg2 = (long) SWIG_AsLong(obj1);
5997 if (PyErr_Occurred()) SWIG_fail;
994141e6 5998 if (obj2) {
15afbcd0
RD
5999 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
6000 if (PyErr_Occurred()) SWIG_fail;
994141e6 6001 }
d14a1e28
RD
6002 {
6003 PyThreadState* __tstate = wxPyBeginAllowThreads();
6004 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6005
6006 wxPyEndAllowThreads(__tstate);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 }
15afbcd0 6009 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6010 return resultobj;
6011 fail:
6012 return NULL;
6013}
6014
6015
6016static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
6017 PyObject *resultobj;
6018 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6019 long result;
6020 PyObject * obj0 = 0 ;
6021 char *kwnames[] = {
6022 (char *) "self", NULL
6023 };
6024
6025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
15afbcd0
RD
6026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6028 {
6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
6030 result = (long)(arg1)->TellI();
6031
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
15afbcd0 6035 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6036 return resultobj;
6037 fail:
6038 return NULL;
6039}
6040
6041
6042static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
6043 PyObject *obj;
6044 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6045 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6046 Py_INCREF(obj);
6047 return Py_BuildValue((char *)"");
6048}
6049static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
6050 PyObject *resultobj;
6051 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6052 PyObject *arg2 = (PyObject *) 0 ;
6053 PyObject * obj0 = 0 ;
6054 PyObject * obj1 = 0 ;
6055 char *kwnames[] = {
6056 (char *) "self",(char *) "obj", NULL
6057 };
6058
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6062 arg2 = obj1;
6063 {
6064 PyThreadState* __tstate = wxPyBeginAllowThreads();
6065 wxOutputStream_write(arg1,arg2);
6066
6067 wxPyEndAllowThreads(__tstate);
6068 if (PyErr_Occurred()) SWIG_fail;
6069 }
6070 Py_INCREF(Py_None); resultobj = Py_None;
6071 return resultobj;
6072 fail:
6073 return NULL;
6074}
6075
6076
6077static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
6078 PyObject *obj;
6079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6080 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6081 Py_INCREF(obj);
6082 return Py_BuildValue((char *)"");
6083}
6084static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6085 PyObject *resultobj;
6086 wxInputStream *arg1 = (wxInputStream *) 0 ;
6087 wxString *arg2 = 0 ;
6088 wxString *arg3 = 0 ;
6089 wxString *arg4 = 0 ;
6090 wxDateTime arg5 ;
6091 wxFSFile *result;
6092 wxPyInputStream *temp1 ;
6093 bool created1 ;
e811c8ce
RD
6094 bool temp2 = False ;
6095 bool temp3 = False ;
6096 bool temp4 = False ;
d14a1e28
RD
6097 wxDateTime *argp5 ;
6098 PyObject * obj0 = 0 ;
6099 PyObject * obj1 = 0 ;
6100 PyObject * obj2 = 0 ;
6101 PyObject * obj3 = 0 ;
6102 PyObject * obj4 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6108 {
6109 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6110 arg1 = temp1->m_wxis;
e811c8ce 6111 created1 = False;
d14a1e28
RD
6112 } else {
6113 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 6114 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
6115 if (arg1 == NULL) {
6116 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6117 SWIG_fail;
6118 }
e811c8ce 6119 created1 = True;
d14a1e28
RD
6120 }
6121 }
6122 {
6123 arg2 = wxString_in_helper(obj1);
6124 if (arg2 == NULL) SWIG_fail;
e811c8ce 6125 temp2 = True;
d14a1e28
RD
6126 }
6127 {
6128 arg3 = wxString_in_helper(obj2);
6129 if (arg3 == NULL) SWIG_fail;
e811c8ce 6130 temp3 = True;
d14a1e28
RD
6131 }
6132 {
6133 arg4 = wxString_in_helper(obj3);
6134 if (arg4 == NULL) SWIG_fail;
e811c8ce 6135 temp4 = True;
d14a1e28 6136 }
15afbcd0
RD
6137 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6138 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6139 arg5 = *argp5;
d14a1e28
RD
6140 {
6141 PyThreadState* __tstate = wxPyBeginAllowThreads();
6142 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6143
6144 wxPyEndAllowThreads(__tstate);
6145 if (PyErr_Occurred()) SWIG_fail;
6146 }
6147 {
6148 resultobj = wxPyMake_wxObject(result);
6149 }
6150 {
6151 if (created1)
6152 delete arg1;
6153 }
6154 {
6155 if (temp2)
6156 delete arg2;
6157 }
6158 {
6159 if (temp3)
6160 delete arg3;
6161 }
6162 {
6163 if (temp4)
6164 delete arg4;
6165 }
6166 return resultobj;
6167 fail:
6168 {
6169 if (created1)
6170 delete arg1;
6171 }
6172 {
6173 if (temp2)
6174 delete arg2;
6175 }
6176 {
6177 if (temp3)
6178 delete arg3;
6179 }
6180 {
6181 if (temp4)
6182 delete arg4;
6183 }
6184 return NULL;
6185}
6186
6187
6188static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6189 PyObject *resultobj;
6190 wxFSFile *arg1 = (wxFSFile *) 0 ;
6191 PyObject * obj0 = 0 ;
6192 char *kwnames[] = {
6193 (char *) "self", NULL
6194 };
6195
6196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
15afbcd0
RD
6197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6199 {
6200 PyThreadState* __tstate = wxPyBeginAllowThreads();
6201 delete arg1;
6202
6203 wxPyEndAllowThreads(__tstate);
6204 if (PyErr_Occurred()) SWIG_fail;
6205 }
6206 Py_INCREF(Py_None); resultobj = Py_None;
6207 return resultobj;
6208 fail:
6209 return NULL;
6210}
6211
6212
6213static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6214 PyObject *resultobj;
6215 wxFSFile *arg1 = (wxFSFile *) 0 ;
6216 wxInputStream *result;
6217 PyObject * obj0 = 0 ;
6218 char *kwnames[] = {
6219 (char *) "self", NULL
6220 };
6221
6222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
15afbcd0
RD
6223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6225 {
6226 PyThreadState* __tstate = wxPyBeginAllowThreads();
6227 result = (wxInputStream *)(arg1)->GetStream();
6228
6229 wxPyEndAllowThreads(__tstate);
6230 if (PyErr_Occurred()) SWIG_fail;
6231 }
6232 {
6233 wxPyInputStream * _ptr = NULL;
6234
6235 if (result) {
6236 _ptr = new wxPyInputStream(result);
6237 }
e811c8ce 6238 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
6239 }
6240 return resultobj;
6241 fail:
6242 return NULL;
6243}
6244
6245
6246static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
6247 PyObject *resultobj;
6248 wxFSFile *arg1 = (wxFSFile *) 0 ;
6249 wxString *result;
6250 PyObject * obj0 = 0 ;
6251 char *kwnames[] = {
6252 (char *) "self", NULL
6253 };
6254
6255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
6256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6258 {
6259 PyThreadState* __tstate = wxPyBeginAllowThreads();
6260 {
6261 wxString const &_result_ref = (arg1)->GetMimeType();
6262 result = (wxString *) &_result_ref;
6263 }
6264
6265 wxPyEndAllowThreads(__tstate);
6266 if (PyErr_Occurred()) SWIG_fail;
6267 }
cc6dd355
RD
6268 {
6269#if wxUSE_UNICODE
6270 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6271#else
6272 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6273#endif
6274 }
d14a1e28
RD
6275 return resultobj;
6276 fail:
6277 return NULL;
6278}
6279
6280
6281static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6282 PyObject *resultobj;
6283 wxFSFile *arg1 = (wxFSFile *) 0 ;
6284 wxString *result;
6285 PyObject * obj0 = 0 ;
6286 char *kwnames[] = {
6287 (char *) "self", NULL
6288 };
6289
6290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
15afbcd0
RD
6291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6293 {
6294 PyThreadState* __tstate = wxPyBeginAllowThreads();
6295 {
6296 wxString const &_result_ref = (arg1)->GetLocation();
6297 result = (wxString *) &_result_ref;
6298 }
6299
6300 wxPyEndAllowThreads(__tstate);
6301 if (PyErr_Occurred()) SWIG_fail;
6302 }
cc6dd355
RD
6303 {
6304#if wxUSE_UNICODE
6305 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6306#else
6307 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6308#endif
6309 }
d14a1e28
RD
6310 return resultobj;
6311 fail:
6312 return NULL;
6313}
6314
6315
6316static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6317 PyObject *resultobj;
6318 wxFSFile *arg1 = (wxFSFile *) 0 ;
6319 wxString *result;
6320 PyObject * obj0 = 0 ;
6321 char *kwnames[] = {
6322 (char *) "self", NULL
6323 };
6324
6325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
15afbcd0
RD
6326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6328 {
6329 PyThreadState* __tstate = wxPyBeginAllowThreads();
6330 {
6331 wxString const &_result_ref = (arg1)->GetAnchor();
6332 result = (wxString *) &_result_ref;
6333 }
6334
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
cc6dd355
RD
6338 {
6339#if wxUSE_UNICODE
6340 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6341#else
6342 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6343#endif
6344 }
d14a1e28
RD
6345 return resultobj;
6346 fail:
6347 return NULL;
6348}
6349
6350
6351static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6352 PyObject *resultobj;
6353 wxFSFile *arg1 = (wxFSFile *) 0 ;
6354 wxDateTime result;
6355 PyObject * obj0 = 0 ;
6356 char *kwnames[] = {
6357 (char *) "self", NULL
6358 };
6359
6360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
15afbcd0
RD
6361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6363 {
6364 PyThreadState* __tstate = wxPyBeginAllowThreads();
6365 result = (arg1)->GetModificationTime();
6366
6367 wxPyEndAllowThreads(__tstate);
6368 if (PyErr_Occurred()) SWIG_fail;
6369 }
6370 {
6371 wxDateTime * resultptr;
6372 resultptr = new wxDateTime((wxDateTime &) result);
15afbcd0 6373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
6374 }
6375 return resultobj;
6376 fail:
6377 return NULL;
6378}
6379
6380
6381static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
6382 PyObject *obj;
6383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6384 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6385 Py_INCREF(obj);
6386 return Py_BuildValue((char *)"");
6387}
6388static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6389 PyObject *obj;
6390 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6391 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6392 Py_INCREF(obj);
6393 return Py_BuildValue((char *)"");
6394}
6395static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6396 PyObject *resultobj;
6397 wxPyFileSystemHandler *result;
6398 char *kwnames[] = {
6399 NULL
6400 };
6401
6402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6403 {
6404 PyThreadState* __tstate = wxPyBeginAllowThreads();
6405 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6406
6407 wxPyEndAllowThreads(__tstate);
6408 if (PyErr_Occurred()) SWIG_fail;
6409 }
15afbcd0 6410 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
d14a1e28
RD
6411 return resultobj;
6412 fail:
6413 return NULL;
6414}
6415
6416
6417static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6418 PyObject *resultobj;
6419 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6420 PyObject *arg2 = (PyObject *) 0 ;
6421 PyObject *arg3 = (PyObject *) 0 ;
6422 PyObject * obj0 = 0 ;
6423 PyObject * obj1 = 0 ;
6424 PyObject * obj2 = 0 ;
6425 char *kwnames[] = {
6426 (char *) "self",(char *) "self",(char *) "_class", NULL
6427 };
6428
6429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6432 arg2 = obj1;
6433 arg3 = obj2;
6434 {
6435 PyThreadState* __tstate = wxPyBeginAllowThreads();
6436 (arg1)->_setCallbackInfo(arg2,arg3);
6437
6438 wxPyEndAllowThreads(__tstate);
6439 if (PyErr_Occurred()) SWIG_fail;
6440 }
6441 Py_INCREF(Py_None); resultobj = Py_None;
6442 return resultobj;
6443 fail:
6444 return NULL;
6445}
6446
6447
6448static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6449 PyObject *resultobj;
6450 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6451 wxString *arg2 = 0 ;
6452 bool result;
e811c8ce 6453 bool temp2 = False ;
d14a1e28
RD
6454 PyObject * obj0 = 0 ;
6455 PyObject * obj1 = 0 ;
6456 char *kwnames[] = {
6457 (char *) "self",(char *) "location", NULL
6458 };
6459
6460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6463 {
6464 arg2 = wxString_in_helper(obj1);
6465 if (arg2 == NULL) SWIG_fail;
e811c8ce 6466 temp2 = True;
d14a1e28
RD
6467 }
6468 {
6469 PyThreadState* __tstate = wxPyBeginAllowThreads();
6470 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6471
6472 wxPyEndAllowThreads(__tstate);
6473 if (PyErr_Occurred()) SWIG_fail;
6474 }
4f89f6a3
RD
6475 {
6476 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6477 }
d14a1e28
RD
6478 {
6479 if (temp2)
6480 delete arg2;
6481 }
6482 return resultobj;
6483 fail:
6484 {
6485 if (temp2)
6486 delete arg2;
6487 }
6488 return NULL;
6489}
6490
6491
6492static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6493 PyObject *resultobj;
6494 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6495 wxFileSystem *arg2 = 0 ;
6496 wxString *arg3 = 0 ;
6497 wxFSFile *result;
e811c8ce 6498 bool temp3 = False ;
d14a1e28
RD
6499 PyObject * obj0 = 0 ;
6500 PyObject * obj1 = 0 ;
6501 PyObject * obj2 = 0 ;
6502 char *kwnames[] = {
6503 (char *) "self",(char *) "fs",(char *) "location", NULL
6504 };
6505
6506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6509 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6510 SWIG_POINTER_EXCEPTION | 0)) == -1)
6511 SWIG_fail;
d14a1e28 6512 if (arg2 == NULL) {
15afbcd0
RD
6513 PyErr_SetString(PyExc_TypeError,"null reference");
6514 SWIG_fail;
d14a1e28
RD
6515 }
6516 {
6517 arg3 = wxString_in_helper(obj2);
6518 if (arg3 == NULL) SWIG_fail;
e811c8ce 6519 temp3 = True;
d14a1e28
RD
6520 }
6521 {
6522 PyThreadState* __tstate = wxPyBeginAllowThreads();
6523 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6524
6525 wxPyEndAllowThreads(__tstate);
6526 if (PyErr_Occurred()) SWIG_fail;
6527 }
6528 {
6529 resultobj = wxPyMake_wxObject(result);
6530 }
6531 {
6532 if (temp3)
6533 delete arg3;
6534 }
6535 return resultobj;
6536 fail:
6537 {
6538 if (temp3)
6539 delete arg3;
6540 }
6541 return NULL;
6542}
6543
6544
6545static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6546 PyObject *resultobj;
6547 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6548 wxString *arg2 = 0 ;
6549 int arg3 = (int) 0 ;
6550 wxString result;
e811c8ce 6551 bool temp2 = False ;
d14a1e28
RD
6552 PyObject * obj0 = 0 ;
6553 PyObject * obj1 = 0 ;
994141e6 6554 PyObject * obj2 = 0 ;
d14a1e28
RD
6555 char *kwnames[] = {
6556 (char *) "self",(char *) "spec",(char *) "flags", NULL
6557 };
6558
994141e6 6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6562 {
6563 arg2 = wxString_in_helper(obj1);
6564 if (arg2 == NULL) SWIG_fail;
e811c8ce 6565 temp2 = True;
d14a1e28 6566 }
994141e6 6567 if (obj2) {
15afbcd0
RD
6568 arg3 = (int) SWIG_AsInt(obj2);
6569 if (PyErr_Occurred()) SWIG_fail;
994141e6 6570 }
d14a1e28
RD
6571 {
6572 PyThreadState* __tstate = wxPyBeginAllowThreads();
6573 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6574
6575 wxPyEndAllowThreads(__tstate);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 {
6579#if wxUSE_UNICODE
6580 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6581#else
6582 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6583#endif
6584 }
6585 {
6586 if (temp2)
6587 delete arg2;
6588 }
6589 return resultobj;
6590 fail:
6591 {
6592 if (temp2)
6593 delete arg2;
6594 }
6595 return NULL;
6596}
6597
6598
6599static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj;
6601 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6602 wxString result;
6603 PyObject * obj0 = 0 ;
6604 char *kwnames[] = {
6605 (char *) "self", NULL
6606 };
6607
6608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
6609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 result = (arg1)->FindNext();
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 {
6619#if wxUSE_UNICODE
6620 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6621#else
6622 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6623#endif
6624 }
6625 return resultobj;
6626 fail:
6627 return NULL;
6628}
6629
6630
6631static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
6632 PyObject *resultobj;
6633 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6634 wxString *arg2 = 0 ;
6635 wxString result;
e811c8ce 6636 bool temp2 = False ;
d14a1e28
RD
6637 PyObject * obj0 = 0 ;
6638 PyObject * obj1 = 0 ;
6639 char *kwnames[] = {
6640 (char *) "self",(char *) "location", NULL
6641 };
6642
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6646 {
6647 arg2 = wxString_in_helper(obj1);
6648 if (arg2 == NULL) SWIG_fail;
e811c8ce 6649 temp2 = True;
d14a1e28
RD
6650 }
6651 {
6652 PyThreadState* __tstate = wxPyBeginAllowThreads();
6653 result = (arg1)->GetProtocol((wxString const &)*arg2);
6654
6655 wxPyEndAllowThreads(__tstate);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 {
6659#if wxUSE_UNICODE
6660 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6661#else
6662 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6663#endif
6664 }
6665 {
6666 if (temp2)
6667 delete arg2;
6668 }
6669 return resultobj;
6670 fail:
6671 {
6672 if (temp2)
6673 delete arg2;
6674 }
6675 return NULL;
6676}
6677
6678
6679static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6682 wxString *arg2 = 0 ;
6683 wxString result;
e811c8ce 6684 bool temp2 = False ;
d14a1e28
RD
6685 PyObject * obj0 = 0 ;
6686 PyObject * obj1 = 0 ;
6687 char *kwnames[] = {
6688 (char *) "self",(char *) "location", NULL
6689 };
6690
6691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6694 {
6695 arg2 = wxString_in_helper(obj1);
6696 if (arg2 == NULL) SWIG_fail;
e811c8ce 6697 temp2 = True;
d14a1e28
RD
6698 }
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 {
6707#if wxUSE_UNICODE
6708 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6709#else
6710 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6711#endif
6712 }
6713 {
6714 if (temp2)
6715 delete arg2;
6716 }
6717 return resultobj;
6718 fail:
6719 {
6720 if (temp2)
6721 delete arg2;
6722 }
6723 return NULL;
6724}
6725
6726
6727static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6728 PyObject *resultobj;
6729 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6730 wxString *arg2 = 0 ;
6731 wxString result;
e811c8ce 6732 bool temp2 = False ;
d14a1e28
RD
6733 PyObject * obj0 = 0 ;
6734 PyObject * obj1 = 0 ;
6735 char *kwnames[] = {
6736 (char *) "self",(char *) "location", NULL
6737 };
6738
6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6742 {
6743 arg2 = wxString_in_helper(obj1);
6744 if (arg2 == NULL) SWIG_fail;
e811c8ce 6745 temp2 = True;
d14a1e28
RD
6746 }
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 result = (arg1)->GetAnchor((wxString const &)*arg2);
6750
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
6754 {
6755#if wxUSE_UNICODE
6756 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6757#else
6758 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6759#endif
6760 }
6761 {
6762 if (temp2)
6763 delete arg2;
6764 }
6765 return resultobj;
6766 fail:
6767 {
6768 if (temp2)
6769 delete arg2;
6770 }
6771 return NULL;
6772}
6773
6774
6775static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj;
6777 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6778 wxString *arg2 = 0 ;
6779 wxString result;
e811c8ce 6780 bool temp2 = False ;
d14a1e28
RD
6781 PyObject * obj0 = 0 ;
6782 PyObject * obj1 = 0 ;
6783 char *kwnames[] = {
6784 (char *) "self",(char *) "location", NULL
6785 };
6786
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6790 {
6791 arg2 = wxString_in_helper(obj1);
6792 if (arg2 == NULL) SWIG_fail;
e811c8ce 6793 temp2 = True;
d14a1e28
RD
6794 }
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6798
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 {
6803#if wxUSE_UNICODE
6804 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6805#else
6806 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6807#endif
6808 }
6809 {
6810 if (temp2)
6811 delete arg2;
6812 }
6813 return resultobj;
6814 fail:
6815 {
6816 if (temp2)
6817 delete arg2;
6818 }
6819 return NULL;
6820}
6821
6822
6823static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
6824 PyObject *resultobj;
6825 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6826 wxString *arg2 = 0 ;
6827 wxString result;
e811c8ce 6828 bool temp2 = False ;
d14a1e28
RD
6829 PyObject * obj0 = 0 ;
6830 PyObject * obj1 = 0 ;
6831 char *kwnames[] = {
6832 (char *) "self",(char *) "location", NULL
6833 };
6834
6835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
6836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6838 {
6839 arg2 = wxString_in_helper(obj1);
6840 if (arg2 == NULL) SWIG_fail;
e811c8ce 6841 temp2 = True;
d14a1e28
RD
6842 }
6843 {
6844 PyThreadState* __tstate = wxPyBeginAllowThreads();
6845 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6846
6847 wxPyEndAllowThreads(__tstate);
6848 if (PyErr_Occurred()) SWIG_fail;
6849 }
6850 {
6851#if wxUSE_UNICODE
6852 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6853#else
6854 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6855#endif
6856 }
6857 {
6858 if (temp2)
6859 delete arg2;
6860 }
6861 return resultobj;
6862 fail:
6863 {
6864 if (temp2)
6865 delete arg2;
6866 }
6867 return NULL;
6868}
6869
6870
6871static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6872 PyObject *obj;
6873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6874 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
6875 Py_INCREF(obj);
6876 return Py_BuildValue((char *)"");
6877}
6878static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxFileSystem *result;
6881 char *kwnames[] = {
6882 NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
6886 {
6887 PyThreadState* __tstate = wxPyBeginAllowThreads();
6888 result = (wxFileSystem *)new wxFileSystem();
6889
6890 wxPyEndAllowThreads(__tstate);
6891 if (PyErr_Occurred()) SWIG_fail;
6892 }
6893 {
6894 resultobj = wxPyMake_wxObject(result);
6895 }
6896 return resultobj;
6897 fail:
6898 return NULL;
6899}
6900
6901
6902static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6903 PyObject *resultobj;
6904 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6905 PyObject * obj0 = 0 ;
6906 char *kwnames[] = {
6907 (char *) "self", NULL
6908 };
6909
6910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
15afbcd0
RD
6911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 delete arg1;
6916
6917 wxPyEndAllowThreads(__tstate);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 }
6920 Py_INCREF(Py_None); resultobj = Py_None;
6921 return resultobj;
6922 fail:
6923 return NULL;
6924}
6925
6926
6927static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
6928 PyObject *resultobj;
6929 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6930 wxString *arg2 = 0 ;
e811c8ce
RD
6931 bool arg3 = (bool) False ;
6932 bool temp2 = False ;
d14a1e28
RD
6933 PyObject * obj0 = 0 ;
6934 PyObject * obj1 = 0 ;
6935 PyObject * obj2 = 0 ;
6936 char *kwnames[] = {
6937 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6938 };
6939
6940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
6941 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6942 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6943 {
6944 arg2 = wxString_in_helper(obj1);
6945 if (arg2 == NULL) SWIG_fail;
e811c8ce 6946 temp2 = True;
d14a1e28
RD
6947 }
6948 if (obj2) {
15afbcd0
RD
6949 arg3 = (bool) SWIG_AsBool(obj2);
6950 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6951 }
6952 {
6953 PyThreadState* __tstate = wxPyBeginAllowThreads();
6954 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
6955
6956 wxPyEndAllowThreads(__tstate);
6957 if (PyErr_Occurred()) SWIG_fail;
6958 }
6959 Py_INCREF(Py_None); resultobj = Py_None;
6960 {
6961 if (temp2)
6962 delete arg2;
6963 }
6964 return resultobj;
6965 fail:
6966 {
6967 if (temp2)
6968 delete arg2;
6969 }
6970 return NULL;
6971}
6972
6973
6974static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
6975 PyObject *resultobj;
6976 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6977 wxString result;
6978 PyObject * obj0 = 0 ;
6979 char *kwnames[] = {
6980 (char *) "self", NULL
6981 };
6982
6983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
15afbcd0
RD
6984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6986 {
6987 PyThreadState* __tstate = wxPyBeginAllowThreads();
6988 result = (arg1)->GetPath();
6989
6990 wxPyEndAllowThreads(__tstate);
6991 if (PyErr_Occurred()) SWIG_fail;
6992 }
6993 {
6994#if wxUSE_UNICODE
6995 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6996#else
6997 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6998#endif
6999 }
7000 return resultobj;
7001 fail:
7002 return NULL;
7003}
7004
7005
7006static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7007 PyObject *resultobj;
7008 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7009 wxString *arg2 = 0 ;
7010 wxFSFile *result;
e811c8ce 7011 bool temp2 = False ;
d14a1e28
RD
7012 PyObject * obj0 = 0 ;
7013 PyObject * obj1 = 0 ;
7014 char *kwnames[] = {
7015 (char *) "self",(char *) "location", NULL
7016 };
7017
7018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
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;
e811c8ce 7024 temp2 = True;
d14a1e28
RD
7025 }
7026 {
7027 PyThreadState* __tstate = wxPyBeginAllowThreads();
7028 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7029
7030 wxPyEndAllowThreads(__tstate);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 }
7033 {
7034 resultobj = wxPyMake_wxObject(result);
7035 }
7036 {
7037 if (temp2)
7038 delete arg2;
7039 }
7040 return resultobj;
7041 fail:
7042 {
7043 if (temp2)
7044 delete arg2;
7045 }
7046 return NULL;
7047}
7048
7049
7050static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7051 PyObject *resultobj;
7052 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7053 wxString *arg2 = 0 ;
7054 int arg3 = (int) 0 ;
7055 wxString result;
e811c8ce 7056 bool temp2 = False ;
d14a1e28
RD
7057 PyObject * obj0 = 0 ;
7058 PyObject * obj1 = 0 ;
994141e6 7059 PyObject * obj2 = 0 ;
d14a1e28
RD
7060 char *kwnames[] = {
7061 (char *) "self",(char *) "spec",(char *) "flags", NULL
7062 };
7063
994141e6 7064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7067 {
7068 arg2 = wxString_in_helper(obj1);
7069 if (arg2 == NULL) SWIG_fail;
e811c8ce 7070 temp2 = True;
d14a1e28 7071 }
994141e6 7072 if (obj2) {
15afbcd0
RD
7073 arg3 = (int) SWIG_AsInt(obj2);
7074 if (PyErr_Occurred()) SWIG_fail;
994141e6 7075 }
d14a1e28
RD
7076 {
7077 PyThreadState* __tstate = wxPyBeginAllowThreads();
7078 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7079
7080 wxPyEndAllowThreads(__tstate);
7081 if (PyErr_Occurred()) SWIG_fail;
7082 }
7083 {
7084#if wxUSE_UNICODE
7085 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7086#else
7087 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7088#endif
7089 }
7090 {
7091 if (temp2)
7092 delete arg2;
7093 }
7094 return resultobj;
7095 fail:
7096 {
7097 if (temp2)
7098 delete arg2;
7099 }
7100 return NULL;
7101}
7102
7103
7104static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7107 wxString result;
7108 PyObject * obj0 = 0 ;
7109 char *kwnames[] = {
7110 (char *) "self", NULL
7111 };
7112
7113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7116 {
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 result = (arg1)->FindNext();
7119
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 }
7123 {
7124#if wxUSE_UNICODE
7125 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7126#else
7127 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7128#endif
7129 }
7130 return resultobj;
7131 fail:
7132 return NULL;
7133}
7134
7135
7136static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7137 PyObject *resultobj;
7138 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7139 PyObject * obj0 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "handler", NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
7145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7147 {
7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
7149 wxFileSystem::AddHandler(arg1);
7150
7151 wxPyEndAllowThreads(__tstate);
7152 if (PyErr_Occurred()) SWIG_fail;
7153 }
7154 Py_INCREF(Py_None); resultobj = Py_None;
7155 return resultobj;
7156 fail:
7157 return NULL;
7158}
7159
7160
7161static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
7162 PyObject *resultobj;
7163 char *kwnames[] = {
7164 NULL
7165 };
7166
7167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7168 {
7169 PyThreadState* __tstate = wxPyBeginAllowThreads();
7170 wxFileSystem::CleanUpHandlers();
7171
7172 wxPyEndAllowThreads(__tstate);
7173 if (PyErr_Occurred()) SWIG_fail;
7174 }
7175 Py_INCREF(Py_None); resultobj = Py_None;
7176 return resultobj;
7177 fail:
7178 return NULL;
7179}
7180
7181
7182static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
7183 PyObject *resultobj;
7184 wxString *arg1 = 0 ;
7185 wxString result;
e811c8ce 7186 bool temp1 = False ;
d14a1e28
RD
7187 PyObject * obj0 = 0 ;
7188 char *kwnames[] = {
7189 (char *) "filename", NULL
7190 };
7191
7192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7193 {
7194 arg1 = wxString_in_helper(obj0);
7195 if (arg1 == NULL) SWIG_fail;
e811c8ce 7196 temp1 = True;
d14a1e28
RD
7197 }
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7201
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 {
7206#if wxUSE_UNICODE
7207 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7208#else
7209 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7210#endif
7211 }
7212 {
7213 if (temp1)
7214 delete arg1;
7215 }
7216 return resultobj;
7217 fail:
7218 {
7219 if (temp1)
7220 delete arg1;
7221 }
7222 return NULL;
7223}
7224
7225
7226static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
7227 PyObject *obj;
7228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7229 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7230 Py_INCREF(obj);
7231 return Py_BuildValue((char *)"");
7232}
7233static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
7234 PyObject *resultobj;
7235 wxString *arg1 = 0 ;
7236 wxString result;
e811c8ce 7237 bool temp1 = False ;
d14a1e28
RD
7238 PyObject * obj0 = 0 ;
7239 char *kwnames[] = {
7240 (char *) "url", NULL
7241 };
7242
7243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7244 {
7245 arg1 = wxString_in_helper(obj0);
7246 if (arg1 == NULL) SWIG_fail;
e811c8ce 7247 temp1 = True;
d14a1e28
RD
7248 }
7249 {
7250 PyThreadState* __tstate = wxPyBeginAllowThreads();
7251 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7252
7253 wxPyEndAllowThreads(__tstate);
7254 if (PyErr_Occurred()) SWIG_fail;
7255 }
7256 {
7257#if wxUSE_UNICODE
7258 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7259#else
7260 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7261#endif
7262 }
7263 {
7264 if (temp1)
7265 delete arg1;
7266 }
7267 return resultobj;
7268 fail:
7269 {
7270 if (temp1)
7271 delete arg1;
7272 }
7273 return NULL;
7274}
7275
7276
7277static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7278 PyObject *resultobj;
7279 wxInternetFSHandler *result;
7280 char *kwnames[] = {
7281 NULL
7282 };
7283
7284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7285 {
7286 PyThreadState* __tstate = wxPyBeginAllowThreads();
7287 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7288
7289 wxPyEndAllowThreads(__tstate);
7290 if (PyErr_Occurred()) SWIG_fail;
7291 }
15afbcd0 7292 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
d14a1e28
RD
7293 return resultobj;
7294 fail:
7295 return NULL;
7296}
7297
7298
7299static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7300 PyObject *resultobj;
7301 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7302 wxString *arg2 = 0 ;
7303 bool result;
e811c8ce 7304 bool temp2 = False ;
d14a1e28
RD
7305 PyObject * obj0 = 0 ;
7306 PyObject * obj1 = 0 ;
7307 char *kwnames[] = {
7308 (char *) "self",(char *) "location", NULL
7309 };
7310
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7314 {
7315 arg2 = wxString_in_helper(obj1);
7316 if (arg2 == NULL) SWIG_fail;
e811c8ce 7317 temp2 = True;
d14a1e28
RD
7318 }
7319 {
7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7321 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7322
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
4f89f6a3
RD
7326 {
7327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7328 }
d14a1e28
RD
7329 {
7330 if (temp2)
7331 delete arg2;
7332 }
7333 return resultobj;
7334 fail:
7335 {
7336 if (temp2)
7337 delete arg2;
7338 }
7339 return NULL;
7340}
7341
7342
7343static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7344 PyObject *resultobj;
7345 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7346 wxFileSystem *arg2 = 0 ;
7347 wxString *arg3 = 0 ;
7348 wxFSFile *result;
e811c8ce 7349 bool temp3 = False ;
d14a1e28
RD
7350 PyObject * obj0 = 0 ;
7351 PyObject * obj1 = 0 ;
7352 PyObject * obj2 = 0 ;
7353 char *kwnames[] = {
7354 (char *) "self",(char *) "fs",(char *) "location", NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7361 SWIG_POINTER_EXCEPTION | 0)) == -1)
7362 SWIG_fail;
d14a1e28 7363 if (arg2 == NULL) {
15afbcd0
RD
7364 PyErr_SetString(PyExc_TypeError,"null reference");
7365 SWIG_fail;
d14a1e28
RD
7366 }
7367 {
7368 arg3 = wxString_in_helper(obj2);
7369 if (arg3 == NULL) SWIG_fail;
e811c8ce 7370 temp3 = True;
d14a1e28
RD
7371 }
7372 {
7373 PyThreadState* __tstate = wxPyBeginAllowThreads();
7374 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7375
7376 wxPyEndAllowThreads(__tstate);
7377 if (PyErr_Occurred()) SWIG_fail;
7378 }
7379 {
7380 resultobj = wxPyMake_wxObject(result);
7381 }
7382 {
7383 if (temp3)
7384 delete arg3;
7385 }
7386 return resultobj;
7387 fail:
7388 {
7389 if (temp3)
7390 delete arg3;
7391 }
7392 return NULL;
7393}
7394
7395
7396static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
7397 PyObject *obj;
7398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7399 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7400 Py_INCREF(obj);
7401 return Py_BuildValue((char *)"");
7402}
7403static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7404 PyObject *resultobj;
7405 wxZipFSHandler *result;
7406 char *kwnames[] = {
7407 NULL
7408 };
7409
7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 result = (wxZipFSHandler *)new wxZipFSHandler();
7414
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 }
15afbcd0 7418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
d14a1e28
RD
7419 return resultobj;
7420 fail:
7421 return NULL;
7422}
7423
7424
7425static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7426 PyObject *resultobj;
7427 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7428 wxString *arg2 = 0 ;
7429 bool result;
e811c8ce 7430 bool temp2 = False ;
d14a1e28
RD
7431 PyObject * obj0 = 0 ;
7432 PyObject * obj1 = 0 ;
7433 char *kwnames[] = {
7434 (char *) "self",(char *) "location", NULL
7435 };
7436
7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7440 {
7441 arg2 = wxString_in_helper(obj1);
7442 if (arg2 == NULL) SWIG_fail;
e811c8ce 7443 temp2 = True;
d14a1e28
RD
7444 }
7445 {
7446 PyThreadState* __tstate = wxPyBeginAllowThreads();
7447 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7448
7449 wxPyEndAllowThreads(__tstate);
7450 if (PyErr_Occurred()) SWIG_fail;
7451 }
4f89f6a3
RD
7452 {
7453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7454 }
d14a1e28
RD
7455 {
7456 if (temp2)
7457 delete arg2;
7458 }
7459 return resultobj;
7460 fail:
7461 {
7462 if (temp2)
7463 delete arg2;
7464 }
7465 return NULL;
7466}
7467
7468
7469static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7470 PyObject *resultobj;
7471 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7472 wxFileSystem *arg2 = 0 ;
7473 wxString *arg3 = 0 ;
7474 wxFSFile *result;
e811c8ce 7475 bool temp3 = False ;
d14a1e28
RD
7476 PyObject * obj0 = 0 ;
7477 PyObject * obj1 = 0 ;
7478 PyObject * obj2 = 0 ;
7479 char *kwnames[] = {
7480 (char *) "self",(char *) "fs",(char *) "location", NULL
7481 };
7482
7483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7486 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7487 SWIG_POINTER_EXCEPTION | 0)) == -1)
7488 SWIG_fail;
d14a1e28 7489 if (arg2 == NULL) {
15afbcd0
RD
7490 PyErr_SetString(PyExc_TypeError,"null reference");
7491 SWIG_fail;
d14a1e28
RD
7492 }
7493 {
7494 arg3 = wxString_in_helper(obj2);
7495 if (arg3 == NULL) SWIG_fail;
e811c8ce 7496 temp3 = True;
d14a1e28
RD
7497 }
7498 {
7499 PyThreadState* __tstate = wxPyBeginAllowThreads();
7500 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7501
7502 wxPyEndAllowThreads(__tstate);
7503 if (PyErr_Occurred()) SWIG_fail;
7504 }
7505 {
7506 resultobj = wxPyMake_wxObject(result);
7507 }
7508 {
7509 if (temp3)
7510 delete arg3;
7511 }
7512 return resultobj;
7513 fail:
7514 {
7515 if (temp3)
7516 delete arg3;
7517 }
7518 return NULL;
7519}
7520
7521
7522static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7523 PyObject *resultobj;
7524 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7525 wxString *arg2 = 0 ;
7526 int arg3 = (int) 0 ;
7527 wxString result;
e811c8ce 7528 bool temp2 = False ;
d14a1e28
RD
7529 PyObject * obj0 = 0 ;
7530 PyObject * obj1 = 0 ;
994141e6 7531 PyObject * obj2 = 0 ;
d14a1e28
RD
7532 char *kwnames[] = {
7533 (char *) "self",(char *) "spec",(char *) "flags", NULL
7534 };
7535
994141e6 7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7539 {
7540 arg2 = wxString_in_helper(obj1);
7541 if (arg2 == NULL) SWIG_fail;
e811c8ce 7542 temp2 = True;
d14a1e28 7543 }
994141e6 7544 if (obj2) {
15afbcd0
RD
7545 arg3 = (int) SWIG_AsInt(obj2);
7546 if (PyErr_Occurred()) SWIG_fail;
994141e6 7547 }
d14a1e28
RD
7548 {
7549 PyThreadState* __tstate = wxPyBeginAllowThreads();
7550 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7551
7552 wxPyEndAllowThreads(__tstate);
7553 if (PyErr_Occurred()) SWIG_fail;
7554 }
7555 {
7556#if wxUSE_UNICODE
7557 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7558#else
7559 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7560#endif
7561 }
7562 {
7563 if (temp2)
7564 delete arg2;
7565 }
7566 return resultobj;
7567 fail:
7568 {
7569 if (temp2)
7570 delete arg2;
7571 }
7572 return NULL;
7573}
7574
7575
7576static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7579 wxString result;
7580 PyObject * obj0 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7588 {
7589 PyThreadState* __tstate = wxPyBeginAllowThreads();
7590 result = (arg1)->FindNext();
7591
7592 wxPyEndAllowThreads(__tstate);
7593 if (PyErr_Occurred()) SWIG_fail;
7594 }
7595 {
7596#if wxUSE_UNICODE
7597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7598#else
7599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7600#endif
7601 }
7602 return resultobj;
7603 fail:
7604 return NULL;
7605}
7606
7607
7608static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
7609 PyObject *obj;
7610 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7611 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7612 Py_INCREF(obj);
7613 return Py_BuildValue((char *)"");
7614}
7615static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7616 PyObject *resultobj;
7617 wxString *arg1 = 0 ;
7618 wxImage *arg2 = 0 ;
7619 long arg3 ;
e811c8ce 7620 bool temp1 = False ;
d14a1e28
RD
7621 PyObject * obj0 = 0 ;
7622 PyObject * obj1 = 0 ;
994141e6 7623 PyObject * obj2 = 0 ;
d14a1e28
RD
7624 char *kwnames[] = {
7625 (char *) "filename",(char *) "image",(char *) "type", NULL
7626 };
7627
994141e6 7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7629 {
7630 arg1 = wxString_in_helper(obj0);
7631 if (arg1 == NULL) SWIG_fail;
e811c8ce 7632 temp1 = True;
d14a1e28 7633 }
15afbcd0
RD
7634 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
7635 SWIG_POINTER_EXCEPTION | 0)) == -1)
7636 SWIG_fail;
d14a1e28 7637 if (arg2 == NULL) {
15afbcd0
RD
7638 PyErr_SetString(PyExc_TypeError,"null reference");
7639 SWIG_fail;
994141e6 7640 }
15afbcd0
RD
7641 arg3 = (long) SWIG_AsLong(obj2);
7642 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7643 {
7644 PyThreadState* __tstate = wxPyBeginAllowThreads();
7645 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*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
7665static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7666 PyObject *resultobj;
7667 wxString *arg1 = 0 ;
7668 wxBitmap *arg2 = 0 ;
7669 long arg3 ;
e811c8ce 7670 bool temp1 = False ;
d14a1e28
RD
7671 PyObject * obj0 = 0 ;
7672 PyObject * obj1 = 0 ;
994141e6 7673 PyObject * obj2 = 0 ;
d14a1e28
RD
7674 char *kwnames[] = {
7675 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7676 };
7677
994141e6 7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7679 {
7680 arg1 = wxString_in_helper(obj0);
7681 if (arg1 == NULL) SWIG_fail;
e811c8ce 7682 temp1 = True;
d14a1e28 7683 }
15afbcd0
RD
7684 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7685 SWIG_POINTER_EXCEPTION | 0)) == -1)
7686 SWIG_fail;
d14a1e28 7687 if (arg2 == NULL) {
15afbcd0
RD
7688 PyErr_SetString(PyExc_TypeError,"null reference");
7689 SWIG_fail;
994141e6 7690 }
15afbcd0
RD
7691 arg3 = (long) SWIG_AsLong(obj2);
7692 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7693 {
7694 PyThreadState* __tstate = wxPyBeginAllowThreads();
7695 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7696
7697 wxPyEndAllowThreads(__tstate);
7698 if (PyErr_Occurred()) SWIG_fail;
7699 }
7700 Py_INCREF(Py_None); resultobj = Py_None;
7701 {
7702 if (temp1)
7703 delete arg1;
7704 }
7705 return resultobj;
7706 fail:
7707 {
7708 if (temp1)
7709 delete arg1;
7710 }
7711 return NULL;
7712}
7713
7714
7715static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
7716 PyObject *resultobj;
7717 wxString *arg1 = 0 ;
7718 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 7719 bool temp1 = False ;
d14a1e28
RD
7720 PyObject * obj0 = 0 ;
7721 PyObject * obj1 = 0 ;
7722 char *kwnames[] = {
7723 (char *) "filename",(char *) "data", NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7727 {
7728 arg1 = wxString_in_helper(obj0);
7729 if (arg1 == NULL) SWIG_fail;
e811c8ce 7730 temp1 = True;
d14a1e28
RD
7731 }
7732 arg2 = obj1;
7733 {
7734 PyThreadState* __tstate = wxPyBeginAllowThreads();
7735 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7736
7737 wxPyEndAllowThreads(__tstate);
7738 if (PyErr_Occurred()) SWIG_fail;
7739 }
7740 Py_INCREF(Py_None); resultobj = Py_None;
7741 {
7742 if (temp1)
7743 delete arg1;
7744 }
7745 return resultobj;
7746 fail:
7747 {
7748 if (temp1)
7749 delete arg1;
7750 }
7751 return NULL;
7752}
7753
7754
7755static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7756 PyObject *resultobj;
7757 wxMemoryFSHandler *result;
7758 char *kwnames[] = {
7759 NULL
7760 };
7761
7762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
15afbcd0 7770 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
d14a1e28
RD
7771 return resultobj;
7772 fail:
7773 return NULL;
7774}
7775
7776
7777static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7778 PyObject *resultobj;
7779 wxString *arg1 = 0 ;
e811c8ce 7780 bool temp1 = False ;
d14a1e28
RD
7781 PyObject * obj0 = 0 ;
7782 char *kwnames[] = {
7783 (char *) "filename", NULL
7784 };
7785
7786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7787 {
7788 arg1 = wxString_in_helper(obj0);
7789 if (arg1 == NULL) SWIG_fail;
e811c8ce 7790 temp1 = True;
d14a1e28
RD
7791 }
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 Py_INCREF(Py_None); resultobj = Py_None;
7800 {
7801 if (temp1)
7802 delete arg1;
7803 }
7804 return resultobj;
7805 fail:
7806 {
7807 if (temp1)
7808 delete arg1;
7809 }
7810 return NULL;
7811}
7812
7813
7814static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj;
7816 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7817 wxString *arg2 = 0 ;
7818 bool result;
e811c8ce 7819 bool temp2 = False ;
d14a1e28
RD
7820 PyObject * obj0 = 0 ;
7821 PyObject * obj1 = 0 ;
7822 char *kwnames[] = {
7823 (char *) "self",(char *) "location", NULL
7824 };
7825
7826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
7827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7829 {
7830 arg2 = wxString_in_helper(obj1);
7831 if (arg2 == NULL) SWIG_fail;
e811c8ce 7832 temp2 = True;
d14a1e28
RD
7833 }
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
4f89f6a3
RD
7841 {
7842 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7843 }
d14a1e28
RD
7844 {
7845 if (temp2)
7846 delete arg2;
7847 }
7848 return resultobj;
7849 fail:
7850 {
7851 if (temp2)
7852 delete arg2;
7853 }
7854 return NULL;
7855}
7856
7857
7858static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7861 wxFileSystem *arg2 = 0 ;
7862 wxString *arg3 = 0 ;
7863 wxFSFile *result;
e811c8ce 7864 bool temp3 = False ;
d14a1e28
RD
7865 PyObject * obj0 = 0 ;
7866 PyObject * obj1 = 0 ;
7867 PyObject * obj2 = 0 ;
7868 char *kwnames[] = {
7869 (char *) "self",(char *) "fs",(char *) "location", NULL
7870 };
7871
7872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7875 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7876 SWIG_POINTER_EXCEPTION | 0)) == -1)
7877 SWIG_fail;
d14a1e28 7878 if (arg2 == NULL) {
15afbcd0
RD
7879 PyErr_SetString(PyExc_TypeError,"null reference");
7880 SWIG_fail;
d14a1e28
RD
7881 }
7882 {
7883 arg3 = wxString_in_helper(obj2);
7884 if (arg3 == NULL) SWIG_fail;
e811c8ce 7885 temp3 = True;
d14a1e28
RD
7886 }
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 {
7895 resultobj = wxPyMake_wxObject(result);
7896 }
7897 {
7898 if (temp3)
7899 delete arg3;
7900 }
7901 return resultobj;
7902 fail:
7903 {
7904 if (temp3)
7905 delete arg3;
7906 }
7907 return NULL;
7908}
7909
7910
7911static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7912 PyObject *resultobj;
7913 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7914 wxString *arg2 = 0 ;
7915 int arg3 = (int) 0 ;
7916 wxString result;
e811c8ce 7917 bool temp2 = False ;
d14a1e28
RD
7918 PyObject * obj0 = 0 ;
7919 PyObject * obj1 = 0 ;
994141e6 7920 PyObject * obj2 = 0 ;
d14a1e28
RD
7921 char *kwnames[] = {
7922 (char *) "self",(char *) "spec",(char *) "flags", NULL
7923 };
7924
994141e6 7925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
7926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7928 {
7929 arg2 = wxString_in_helper(obj1);
7930 if (arg2 == NULL) SWIG_fail;
e811c8ce 7931 temp2 = True;
d14a1e28 7932 }
994141e6 7933 if (obj2) {
15afbcd0
RD
7934 arg3 = (int) SWIG_AsInt(obj2);
7935 if (PyErr_Occurred()) SWIG_fail;
994141e6 7936 }
d14a1e28
RD
7937 {
7938 PyThreadState* __tstate = wxPyBeginAllowThreads();
7939 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7940
7941 wxPyEndAllowThreads(__tstate);
7942 if (PyErr_Occurred()) SWIG_fail;
7943 }
7944 {
7945#if wxUSE_UNICODE
7946 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7947#else
7948 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7949#endif
7950 }
7951 {
7952 if (temp2)
7953 delete arg2;
7954 }
7955 return resultobj;
7956 fail:
7957 {
7958 if (temp2)
7959 delete arg2;
7960 }
7961 return NULL;
7962}
7963
7964
7965static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7966 PyObject *resultobj;
7967 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7968 wxString result;
7969 PyObject * obj0 = 0 ;
7970 char *kwnames[] = {
7971 (char *) "self", NULL
7972 };
7973
7974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
15afbcd0
RD
7975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 result = (arg1)->FindNext();
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 {
7985#if wxUSE_UNICODE
7986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7987#else
7988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7989#endif
7990 }
7991 return resultobj;
7992 fail:
7993 return NULL;
7994}
7995
7996
7997static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
7998 PyObject *obj;
7999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8000 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8001 Py_INCREF(obj);
8002 return Py_BuildValue((char *)"");
8003}
8004static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8005 PyObject *resultobj;
8006 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8007 wxString result;
8008 PyObject * obj0 = 0 ;
8009 char *kwnames[] = {
8010 (char *) "self", NULL
8011 };
8012
8013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
8014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8016 {
8017 PyThreadState* __tstate = wxPyBeginAllowThreads();
8018 result = (arg1)->GetName();
8019
8020 wxPyEndAllowThreads(__tstate);
8021 if (PyErr_Occurred()) SWIG_fail;
8022 }
8023 {
8024#if wxUSE_UNICODE
8025 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8026#else
8027 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8028#endif
8029 }
8030 return resultobj;
8031 fail:
8032 return NULL;
8033}
8034
8035
8036static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8039 wxString result;
8040 PyObject * obj0 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "self", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
15afbcd0
RD
8046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8048 {
8049 PyThreadState* __tstate = wxPyBeginAllowThreads();
8050 result = (arg1)->GetExtension();
8051
8052 wxPyEndAllowThreads(__tstate);
8053 if (PyErr_Occurred()) SWIG_fail;
8054 }
8055 {
8056#if wxUSE_UNICODE
8057 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8058#else
8059 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8060#endif
8061 }
8062 return resultobj;
8063 fail:
8064 return NULL;
8065}
8066
8067
8068static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8069 PyObject *resultobj;
8070 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8071 long result;
8072 PyObject * obj0 = 0 ;
8073 char *kwnames[] = {
8074 (char *) "self", NULL
8075 };
8076
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8080 {
8081 PyThreadState* __tstate = wxPyBeginAllowThreads();
8082 result = (long)(arg1)->GetType();
8083
8084 wxPyEndAllowThreads(__tstate);
8085 if (PyErr_Occurred()) SWIG_fail;
8086 }
15afbcd0 8087 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
8088 return resultobj;
8089 fail:
8090 return NULL;
8091}
8092
8093
8094static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8095 PyObject *resultobj;
8096 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8097 wxString result;
8098 PyObject * obj0 = 0 ;
8099 char *kwnames[] = {
8100 (char *) "self", NULL
8101 };
8102
8103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
15afbcd0
RD
8104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8106 {
8107 PyThreadState* __tstate = wxPyBeginAllowThreads();
8108 result = (arg1)->GetMimeType();
8109
8110 wxPyEndAllowThreads(__tstate);
8111 if (PyErr_Occurred()) SWIG_fail;
8112 }
8113 {
8114#if wxUSE_UNICODE
8115 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8116#else
8117 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8118#endif
8119 }
8120 return resultobj;
8121 fail:
8122 return NULL;
8123}
8124
8125
8126static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8127 PyObject *resultobj;
8128 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8129 wxString *arg2 = 0 ;
8130 bool result;
e811c8ce 8131 bool temp2 = False ;
d14a1e28
RD
8132 PyObject * obj0 = 0 ;
8133 PyObject * obj1 = 0 ;
8134 char *kwnames[] = {
8135 (char *) "self",(char *) "name", NULL
8136 };
8137
8138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8141 {
8142 arg2 = wxString_in_helper(obj1);
8143 if (arg2 == NULL) SWIG_fail;
e811c8ce 8144 temp2 = True;
d14a1e28
RD
8145 }
8146 {
8147 PyThreadState* __tstate = wxPyBeginAllowThreads();
8148 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8149
8150 wxPyEndAllowThreads(__tstate);
8151 if (PyErr_Occurred()) SWIG_fail;
8152 }
4f89f6a3
RD
8153 {
8154 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8155 }
d14a1e28
RD
8156 {
8157 if (temp2)
8158 delete arg2;
8159 }
8160 return resultobj;
8161 fail:
8162 {
8163 if (temp2)
8164 delete arg2;
8165 }
8166 return NULL;
8167}
8168
8169
8170static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8171 PyObject *resultobj;
8172 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8173 wxString *arg2 = 0 ;
e811c8ce 8174 bool temp2 = False ;
d14a1e28
RD
8175 PyObject * obj0 = 0 ;
8176 PyObject * obj1 = 0 ;
8177 char *kwnames[] = {
8178 (char *) "self",(char *) "name", NULL
8179 };
8180
8181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8184 {
8185 arg2 = wxString_in_helper(obj1);
8186 if (arg2 == NULL) SWIG_fail;
e811c8ce 8187 temp2 = True;
d14a1e28
RD
8188 }
8189 {
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 (arg1)->SetName((wxString const &)*arg2);
8192
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 Py_INCREF(Py_None); resultobj = Py_None;
8197 {
8198 if (temp2)
8199 delete arg2;
8200 }
8201 return resultobj;
8202 fail:
8203 {
8204 if (temp2)
8205 delete arg2;
8206 }
8207 return NULL;
8208}
8209
8210
8211static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8214 wxString *arg2 = 0 ;
e811c8ce 8215 bool temp2 = False ;
d14a1e28
RD
8216 PyObject * obj0 = 0 ;
8217 PyObject * obj1 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "extension", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8225 {
8226 arg2 = wxString_in_helper(obj1);
8227 if (arg2 == NULL) SWIG_fail;
e811c8ce 8228 temp2 = True;
d14a1e28
RD
8229 }
8230 {
8231 PyThreadState* __tstate = wxPyBeginAllowThreads();
8232 (arg1)->SetExtension((wxString const &)*arg2);
8233
8234 wxPyEndAllowThreads(__tstate);
8235 if (PyErr_Occurred()) SWIG_fail;
8236 }
8237 Py_INCREF(Py_None); resultobj = Py_None;
8238 {
8239 if (temp2)
8240 delete arg2;
8241 }
8242 return resultobj;
8243 fail:
8244 {
8245 if (temp2)
8246 delete arg2;
8247 }
8248 return NULL;
8249}
8250
8251
8252static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8253 PyObject *resultobj;
8254 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8255 long arg2 ;
8256 PyObject * obj0 = 0 ;
994141e6 8257 PyObject * obj1 = 0 ;
d14a1e28
RD
8258 char *kwnames[] = {
8259 (char *) "self",(char *) "type", NULL
8260 };
8261
994141e6 8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8265 arg2 = (long) SWIG_AsLong(obj1);
8266 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8267 {
8268 PyThreadState* __tstate = wxPyBeginAllowThreads();
8269 (arg1)->SetType(arg2);
8270
8271 wxPyEndAllowThreads(__tstate);
8272 if (PyErr_Occurred()) SWIG_fail;
8273 }
8274 Py_INCREF(Py_None); resultobj = Py_None;
8275 return resultobj;
8276 fail:
8277 return NULL;
8278}
8279
8280
8281static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8282 PyObject *resultobj;
8283 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8284 wxString *arg2 = 0 ;
e811c8ce 8285 bool temp2 = False ;
d14a1e28
RD
8286 PyObject * obj0 = 0 ;
8287 PyObject * obj1 = 0 ;
8288 char *kwnames[] = {
8289 (char *) "self",(char *) "mimetype", NULL
8290 };
8291
8292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
8293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8295 {
8296 arg2 = wxString_in_helper(obj1);
8297 if (arg2 == NULL) SWIG_fail;
e811c8ce 8298 temp2 = True;
d14a1e28
RD
8299 }
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 (arg1)->SetMimeType((wxString const &)*arg2);
8303
8304 wxPyEndAllowThreads(__tstate);
8305 if (PyErr_Occurred()) SWIG_fail;
8306 }
8307 Py_INCREF(Py_None); resultobj = Py_None;
8308 {
8309 if (temp2)
8310 delete arg2;
8311 }
8312 return resultobj;
8313 fail:
8314 {
8315 if (temp2)
8316 delete arg2;
8317 }
8318 return NULL;
8319}
8320
8321
8322static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
8323 PyObject *obj;
8324 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8325 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8326 Py_INCREF(obj);
8327 return Py_BuildValue((char *)"");
8328}
8329static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
8330 PyObject *resultobj;
8331 wxImageHistogram *result;
8332 char *kwnames[] = {
8333 NULL
8334 };
8335
8336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 result = (wxImageHistogram *)new wxImageHistogram();
8340
8341 wxPyEndAllowThreads(__tstate);
8342 if (PyErr_Occurred()) SWIG_fail;
8343 }
15afbcd0 8344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
d14a1e28
RD
8345 return resultobj;
8346 fail:
8347 return NULL;
8348}
8349
8350
8351static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
8352 PyObject *resultobj;
8353 unsigned char arg1 ;
8354 unsigned char arg2 ;
8355 unsigned char arg3 ;
8356 unsigned long result;
8357 PyObject * obj0 = 0 ;
8358 PyObject * obj1 = 0 ;
8359 PyObject * obj2 = 0 ;
8360 char *kwnames[] = {
8361 (char *) "r",(char *) "g",(char *) "b", NULL
8362 };
8363
8364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8365 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8366 if (PyErr_Occurred()) SWIG_fail;
8367 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8368 if (PyErr_Occurred()) SWIG_fail;
8369 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8370 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8374
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 }
15afbcd0 8378 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
8379 return resultobj;
8380 fail:
8381 return NULL;
8382}
8383
8384
8385static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8386 PyObject *resultobj;
8387 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8388 unsigned char *arg2 = (unsigned char *) 0 ;
8389 unsigned char *arg3 = (unsigned char *) 0 ;
8390 unsigned char *arg4 = (unsigned char *) 0 ;
8391 unsigned char arg5 = (unsigned char) 1 ;
8392 unsigned char arg6 = (unsigned char) 0 ;
8393 unsigned char arg7 = (unsigned char) 0 ;
8394 bool result;
8395 unsigned char temp2 ;
8396 unsigned char temp3 ;
8397 unsigned char temp4 ;
8398 PyObject * obj0 = 0 ;
8399 PyObject * obj1 = 0 ;
8400 PyObject * obj2 = 0 ;
8401 PyObject * obj3 = 0 ;
8402 char *kwnames[] = {
8403 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8404 };
8405
8406 arg2 = &temp2;
8407 arg3 = &temp3;
8408 arg4 = &temp4;
8409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
8410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8412 if (obj1) {
15afbcd0
RD
8413 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8414 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8415 }
8416 if (obj2) {
15afbcd0
RD
8417 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8419 }
8420 if (obj3) {
15afbcd0
RD
8421 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8423 }
8424 {
8425 PyThreadState* __tstate = wxPyBeginAllowThreads();
8426 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8427
8428 wxPyEndAllowThreads(__tstate);
8429 if (PyErr_Occurred()) SWIG_fail;
8430 }
4f89f6a3
RD
8431 {
8432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8433 }
d14a1e28
RD
8434 {
8435 PyObject *o = PyInt_FromLong((long) (*arg2));
8436 resultobj = t_output_helper(resultobj,o);
8437 }
8438 {
8439 PyObject *o = PyInt_FromLong((long) (*arg3));
8440 resultobj = t_output_helper(resultobj,o);
8441 }
8442 {
8443 PyObject *o = PyInt_FromLong((long) (*arg4));
8444 resultobj = t_output_helper(resultobj,o);
8445 }
8446 return resultobj;
8447 fail:
8448 return NULL;
8449}
8450
8451
8452static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
8453 PyObject *obj;
8454 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8455 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8456 Py_INCREF(obj);
8457 return Py_BuildValue((char *)"");
8458}
8459static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8460 PyObject *resultobj;
8461 wxString *arg1 = 0 ;
8462 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8463 int arg3 = (int) -1 ;
8464 wxImage *result;
e811c8ce 8465 bool temp1 = False ;
d14a1e28 8466 PyObject * obj0 = 0 ;
994141e6
RD
8467 PyObject * obj1 = 0 ;
8468 PyObject * obj2 = 0 ;
d14a1e28
RD
8469 char *kwnames[] = {
8470 (char *) "name",(char *) "type",(char *) "index", NULL
8471 };
8472
994141e6 8473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8474 {
8475 arg1 = wxString_in_helper(obj0);
8476 if (arg1 == NULL) SWIG_fail;
e811c8ce 8477 temp1 = True;
d14a1e28 8478 }
994141e6 8479 if (obj1) {
15afbcd0
RD
8480 arg2 = (long) SWIG_AsLong(obj1);
8481 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8482 }
8483 if (obj2) {
15afbcd0
RD
8484 arg3 = (int) SWIG_AsInt(obj2);
8485 if (PyErr_Occurred()) SWIG_fail;
994141e6 8486 }
d14a1e28
RD
8487 {
8488 PyThreadState* __tstate = wxPyBeginAllowThreads();
8489 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8490
8491 wxPyEndAllowThreads(__tstate);
8492 if (PyErr_Occurred()) SWIG_fail;
8493 }
15afbcd0 8494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8495 {
8496 if (temp1)
8497 delete arg1;
8498 }
8499 return resultobj;
8500 fail:
8501 {
8502 if (temp1)
8503 delete arg1;
8504 }
8505 return NULL;
8506}
8507
8508
8509static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8510 PyObject *resultobj;
8511 wxImage *arg1 = (wxImage *) 0 ;
8512 PyObject * obj0 = 0 ;
8513 char *kwnames[] = {
8514 (char *) "self", NULL
8515 };
8516
8517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
15afbcd0
RD
8518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 delete arg1;
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 Py_INCREF(Py_None); resultobj = Py_None;
8528 return resultobj;
8529 fail:
8530 return NULL;
8531}
8532
8533
8534static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8535 PyObject *resultobj;
8536 wxString *arg1 = 0 ;
8537 wxString *arg2 = 0 ;
8538 int arg3 = (int) -1 ;
8539 wxImage *result;
e811c8ce
RD
8540 bool temp1 = False ;
8541 bool temp2 = False ;
d14a1e28
RD
8542 PyObject * obj0 = 0 ;
8543 PyObject * obj1 = 0 ;
994141e6 8544 PyObject * obj2 = 0 ;
d14a1e28
RD
8545 char *kwnames[] = {
8546 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8547 };
8548
994141e6 8549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8550 {
8551 arg1 = wxString_in_helper(obj0);
8552 if (arg1 == NULL) SWIG_fail;
e811c8ce 8553 temp1 = True;
d14a1e28
RD
8554 }
8555 {
8556 arg2 = wxString_in_helper(obj1);
8557 if (arg2 == NULL) SWIG_fail;
e811c8ce 8558 temp2 = True;
d14a1e28 8559 }
994141e6 8560 if (obj2) {
15afbcd0
RD
8561 arg3 = (int) SWIG_AsInt(obj2);
8562 if (PyErr_Occurred()) SWIG_fail;
994141e6 8563 }
d14a1e28
RD
8564 {
8565 PyThreadState* __tstate = wxPyBeginAllowThreads();
8566 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8567
8568 wxPyEndAllowThreads(__tstate);
8569 if (PyErr_Occurred()) SWIG_fail;
8570 }
15afbcd0 8571 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8572 {
8573 if (temp1)
8574 delete arg1;
8575 }
8576 {
8577 if (temp2)
8578 delete arg2;
8579 }
8580 return resultobj;
8581 fail:
8582 {
8583 if (temp1)
8584 delete arg1;
8585 }
8586 {
8587 if (temp2)
8588 delete arg2;
8589 }
8590 return NULL;
8591}
8592
8593
8594static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8595 PyObject *resultobj;
8596 wxInputStream *arg1 = 0 ;
8597 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8598 int arg3 = (int) -1 ;
8599 wxImage *result;
8600 wxPyInputStream *temp1 ;
8601 bool created1 ;
8602 PyObject * obj0 = 0 ;
994141e6
RD
8603 PyObject * obj1 = 0 ;
8604 PyObject * obj2 = 0 ;
d14a1e28
RD
8605 char *kwnames[] = {
8606 (char *) "stream",(char *) "type",(char *) "index", NULL
8607 };
8608
994141e6 8609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8610 {
8611 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8612 arg1 = temp1->m_wxis;
e811c8ce 8613 created1 = False;
d14a1e28
RD
8614 } else {
8615 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8616 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8617 if (arg1 == NULL) {
8618 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8619 SWIG_fail;
8620 }
e811c8ce 8621 created1 = True;
d14a1e28
RD
8622 }
8623 }
994141e6 8624 if (obj1) {
15afbcd0
RD
8625 arg2 = (long) SWIG_AsLong(obj1);
8626 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8627 }
8628 if (obj2) {
15afbcd0
RD
8629 arg3 = (int) SWIG_AsInt(obj2);
8630 if (PyErr_Occurred()) SWIG_fail;
994141e6 8631 }
d14a1e28
RD
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
15afbcd0 8639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8640 {
8641 if (created1)
8642 delete arg1;
8643 }
8644 return resultobj;
8645 fail:
8646 {
8647 if (created1)
8648 delete arg1;
8649 }
8650 return NULL;
8651}
8652
8653
8654static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8655 PyObject *resultobj;
8656 wxInputStream *arg1 = 0 ;
8657 wxString *arg2 = 0 ;
8658 int arg3 = (int) -1 ;
8659 wxImage *result;
8660 wxPyInputStream *temp1 ;
8661 bool created1 ;
e811c8ce 8662 bool temp2 = False ;
d14a1e28
RD
8663 PyObject * obj0 = 0 ;
8664 PyObject * obj1 = 0 ;
994141e6 8665 PyObject * obj2 = 0 ;
d14a1e28
RD
8666 char *kwnames[] = {
8667 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8668 };
8669
994141e6 8670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8671 {
8672 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8673 arg1 = temp1->m_wxis;
e811c8ce 8674 created1 = False;
d14a1e28
RD
8675 } else {
8676 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 8677 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8678 if (arg1 == NULL) {
8679 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8680 SWIG_fail;
8681 }
e811c8ce 8682 created1 = True;
d14a1e28
RD
8683 }
8684 }
8685 {
8686 arg2 = wxString_in_helper(obj1);
8687 if (arg2 == NULL) SWIG_fail;
e811c8ce 8688 temp2 = True;
d14a1e28 8689 }
994141e6 8690 if (obj2) {
15afbcd0
RD
8691 arg3 = (int) SWIG_AsInt(obj2);
8692 if (PyErr_Occurred()) SWIG_fail;
994141e6 8693 }
d14a1e28
RD
8694 {
8695 PyThreadState* __tstate = wxPyBeginAllowThreads();
8696 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8697
8698 wxPyEndAllowThreads(__tstate);
8699 if (PyErr_Occurred()) SWIG_fail;
8700 }
15afbcd0 8701 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8702 {
8703 if (created1)
8704 delete arg1;
8705 }
8706 {
8707 if (temp2)
8708 delete arg2;
8709 }
8710 return resultobj;
8711 fail:
8712 {
8713 if (created1)
8714 delete arg1;
8715 }
8716 {
8717 if (temp2)
8718 delete arg2;
8719 }
8720 return NULL;
8721}
8722
8723
8724static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8725 PyObject *resultobj;
8726 int arg1 = (int) 0 ;
8727 int arg2 = (int) 0 ;
e811c8ce 8728 bool arg3 = (bool) True ;
d14a1e28 8729 wxImage *result;
994141e6
RD
8730 PyObject * obj0 = 0 ;
8731 PyObject * obj1 = 0 ;
d14a1e28
RD
8732 PyObject * obj2 = 0 ;
8733 char *kwnames[] = {
8734 (char *) "width",(char *) "height",(char *) "clear", NULL
8735 };
8736
994141e6
RD
8737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
8738 if (obj0) {
15afbcd0
RD
8739 arg1 = (int) SWIG_AsInt(obj0);
8740 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
8741 }
8742 if (obj1) {
15afbcd0
RD
8743 arg2 = (int) SWIG_AsInt(obj1);
8744 if (PyErr_Occurred()) SWIG_fail;
994141e6 8745 }
d14a1e28 8746 if (obj2) {
15afbcd0
RD
8747 arg3 = (bool) SWIG_AsBool(obj2);
8748 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8749 }
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
15afbcd0 8757 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8758 return resultobj;
8759 fail:
8760 return NULL;
8761}
8762
8763
8764static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj;
8766 wxBitmap *arg1 = 0 ;
8767 wxImage *result;
8768 PyObject * obj0 = 0 ;
8769 char *kwnames[] = {
8770 (char *) "bitmap", NULL
8771 };
8772
8773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
8774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8775 SWIG_POINTER_EXCEPTION | 0)) == -1)
8776 SWIG_fail;
d14a1e28 8777 if (arg1 == NULL) {
15afbcd0
RD
8778 PyErr_SetString(PyExc_TypeError,"null reference");
8779 SWIG_fail;
d14a1e28
RD
8780 }
8781 {
8782 PyThreadState* __tstate = wxPyBeginAllowThreads();
8783 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8784
8785 wxPyEndAllowThreads(__tstate);
8786 if (PyErr_Occurred()) SWIG_fail;
8787 }
15afbcd0 8788 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8789 return resultobj;
8790 fail:
8791 return NULL;
8792}
8793
8794
8795static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8796 PyObject *resultobj;
8797 int arg1 ;
8798 int arg2 ;
8799 unsigned char *arg3 = (unsigned char *) 0 ;
8800 wxImage *result;
994141e6
RD
8801 PyObject * obj0 = 0 ;
8802 PyObject * obj1 = 0 ;
d14a1e28
RD
8803 PyObject * obj2 = 0 ;
8804 char *kwnames[] = {
8805 (char *) "width",(char *) "height",(char *) "data", NULL
8806 };
8807
994141e6 8808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8809 arg1 = (int) SWIG_AsInt(obj0);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 arg2 = (int) SWIG_AsInt(obj1);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
15afbcd0 8822 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8823 return resultobj;
8824 fail:
8825 return NULL;
8826}
8827
8828
8829static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxImage *arg1 = (wxImage *) 0 ;
8832 int arg2 ;
8833 int arg3 ;
8834 PyObject * obj0 = 0 ;
994141e6
RD
8835 PyObject * obj1 = 0 ;
8836 PyObject * obj2 = 0 ;
d14a1e28
RD
8837 char *kwnames[] = {
8838 (char *) "self",(char *) "width",(char *) "height", NULL
8839 };
8840
994141e6 8841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8844 arg2 = (int) SWIG_AsInt(obj1);
8845 if (PyErr_Occurred()) SWIG_fail;
8846 arg3 = (int) SWIG_AsInt(obj2);
8847 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8848 {
8849 PyThreadState* __tstate = wxPyBeginAllowThreads();
8850 (arg1)->Create(arg2,arg3);
8851
8852 wxPyEndAllowThreads(__tstate);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 Py_INCREF(Py_None); resultobj = Py_None;
8856 return resultobj;
8857 fail:
8858 return NULL;
8859}
8860
8861
8862static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8863 PyObject *resultobj;
8864 wxImage *arg1 = (wxImage *) 0 ;
8865 PyObject * obj0 = 0 ;
8866 char *kwnames[] = {
8867 (char *) "self", NULL
8868 };
8869
8870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
8871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8873 {
8874 PyThreadState* __tstate = wxPyBeginAllowThreads();
8875 (arg1)->Destroy();
8876
8877 wxPyEndAllowThreads(__tstate);
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 Py_INCREF(Py_None); resultobj = Py_None;
8881 return resultobj;
8882 fail:
8883 return NULL;
8884}
8885
8886
8887static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
8888 PyObject *resultobj;
8889 wxImage *arg1 = (wxImage *) 0 ;
8890 int arg2 ;
8891 int arg3 ;
8892 SwigValueWrapper< wxImage > result;
8893 PyObject * obj0 = 0 ;
994141e6
RD
8894 PyObject * obj1 = 0 ;
8895 PyObject * obj2 = 0 ;
d14a1e28
RD
8896 char *kwnames[] = {
8897 (char *) "self",(char *) "width",(char *) "height", NULL
8898 };
8899
994141e6 8900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8903 arg2 = (int) SWIG_AsInt(obj1);
8904 if (PyErr_Occurred()) SWIG_fail;
8905 arg3 = (int) SWIG_AsInt(obj2);
8906 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8907 {
8908 PyThreadState* __tstate = wxPyBeginAllowThreads();
8909 result = (arg1)->Scale(arg2,arg3);
8910
8911 wxPyEndAllowThreads(__tstate);
8912 if (PyErr_Occurred()) SWIG_fail;
8913 }
8914 {
8915 wxImage * resultptr;
8916 resultptr = new wxImage((wxImage &) result);
15afbcd0 8917 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8918 }
8919 return resultobj;
8920 fail:
8921 return NULL;
8922}
8923
8924
8925static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
8926 PyObject *resultobj;
8927 wxImage *arg1 = (wxImage *) 0 ;
8928 int arg2 ;
8929 int arg3 ;
8930 SwigValueWrapper< wxImage > result;
8931 PyObject * obj0 = 0 ;
994141e6
RD
8932 PyObject * obj1 = 0 ;
8933 PyObject * obj2 = 0 ;
d14a1e28
RD
8934 char *kwnames[] = {
8935 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8936 };
8937
994141e6 8938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8941 arg2 = (int) SWIG_AsInt(obj1);
8942 if (PyErr_Occurred()) SWIG_fail;
8943 arg3 = (int) SWIG_AsInt(obj2);
8944 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8945 {
8946 PyThreadState* __tstate = wxPyBeginAllowThreads();
8947 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
8948
8949 wxPyEndAllowThreads(__tstate);
8950 if (PyErr_Occurred()) SWIG_fail;
8951 }
8952 {
8953 wxImage * resultptr;
8954 resultptr = new wxImage((wxImage &) result);
15afbcd0 8955 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8956 }
8957 return resultobj;
8958 fail:
8959 return NULL;
8960}
8961
8962
8963static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
8964 PyObject *resultobj;
8965 wxImage *arg1 = (wxImage *) 0 ;
8966 int arg2 ;
8967 int arg3 ;
8968 wxImage *result;
8969 PyObject * obj0 = 0 ;
994141e6
RD
8970 PyObject * obj1 = 0 ;
8971 PyObject * obj2 = 0 ;
d14a1e28
RD
8972 char *kwnames[] = {
8973 (char *) "self",(char *) "width",(char *) "height", NULL
8974 };
8975
994141e6 8976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
8977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8979 arg2 = (int) SWIG_AsInt(obj1);
8980 if (PyErr_Occurred()) SWIG_fail;
8981 arg3 = (int) SWIG_AsInt(obj2);
8982 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8983 {
8984 PyThreadState* __tstate = wxPyBeginAllowThreads();
8985 {
8986 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
8987 result = (wxImage *) &_result_ref;
8988 }
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
15afbcd0 8993 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
8994 return resultobj;
8995 fail:
8996 return NULL;
8997}
8998
8999
9000static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxImage *arg1 = (wxImage *) 0 ;
9003 int arg2 ;
9004 int arg3 ;
9005 unsigned char arg4 ;
9006 unsigned char arg5 ;
9007 unsigned char arg6 ;
9008 PyObject * obj0 = 0 ;
994141e6
RD
9009 PyObject * obj1 = 0 ;
9010 PyObject * obj2 = 0 ;
d14a1e28
RD
9011 PyObject * obj3 = 0 ;
9012 PyObject * obj4 = 0 ;
9013 PyObject * obj5 = 0 ;
9014 char *kwnames[] = {
9015 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9016 };
9017
994141e6 9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
9019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9021 arg2 = (int) SWIG_AsInt(obj1);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 arg3 = (int) SWIG_AsInt(obj2);
9024 if (PyErr_Occurred()) SWIG_fail;
9025 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9026 if (PyErr_Occurred()) SWIG_fail;
9027 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
9028 if (PyErr_Occurred()) SWIG_fail;
9029 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
9030 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9031 {
9032 PyThreadState* __tstate = wxPyBeginAllowThreads();
9033 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9034
9035 wxPyEndAllowThreads(__tstate);
9036 if (PyErr_Occurred()) SWIG_fail;
9037 }
9038 Py_INCREF(Py_None); resultobj = Py_None;
9039 return resultobj;
9040 fail:
9041 return NULL;
9042}
9043
9044
9045static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
9046 PyObject *resultobj;
9047 wxImage *arg1 = (wxImage *) 0 ;
9048 int arg2 ;
9049 int arg3 ;
9050 unsigned char result;
9051 PyObject * obj0 = 0 ;
994141e6
RD
9052 PyObject * obj1 = 0 ;
9053 PyObject * obj2 = 0 ;
d14a1e28
RD
9054 char *kwnames[] = {
9055 (char *) "self",(char *) "x",(char *) "y", NULL
9056 };
9057
994141e6 9058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9061 arg2 = (int) SWIG_AsInt(obj1);
9062 if (PyErr_Occurred()) SWIG_fail;
9063 arg3 = (int) SWIG_AsInt(obj2);
9064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
15afbcd0 9072 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9073 return resultobj;
9074 fail:
9075 return NULL;
9076}
9077
9078
9079static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9080 PyObject *resultobj;
9081 wxImage *arg1 = (wxImage *) 0 ;
9082 int arg2 ;
9083 int arg3 ;
9084 unsigned char result;
9085 PyObject * obj0 = 0 ;
994141e6
RD
9086 PyObject * obj1 = 0 ;
9087 PyObject * obj2 = 0 ;
d14a1e28
RD
9088 char *kwnames[] = {
9089 (char *) "self",(char *) "x",(char *) "y", NULL
9090 };
9091
994141e6 9092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9095 arg2 = (int) SWIG_AsInt(obj1);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 arg3 = (int) SWIG_AsInt(obj2);
9098 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9099 {
9100 PyThreadState* __tstate = wxPyBeginAllowThreads();
9101 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9102
9103 wxPyEndAllowThreads(__tstate);
9104 if (PyErr_Occurred()) SWIG_fail;
9105 }
15afbcd0 9106 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9107 return resultobj;
9108 fail:
9109 return NULL;
9110}
9111
9112
9113static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxImage *arg1 = (wxImage *) 0 ;
9116 int arg2 ;
9117 int arg3 ;
9118 unsigned char result;
9119 PyObject * obj0 = 0 ;
994141e6
RD
9120 PyObject * obj1 = 0 ;
9121 PyObject * obj2 = 0 ;
d14a1e28
RD
9122 char *kwnames[] = {
9123 (char *) "self",(char *) "x",(char *) "y", NULL
9124 };
9125
994141e6 9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9129 arg2 = (int) SWIG_AsInt(obj1);
9130 if (PyErr_Occurred()) SWIG_fail;
9131 arg3 = (int) SWIG_AsInt(obj2);
9132 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9133 {
9134 PyThreadState* __tstate = wxPyBeginAllowThreads();
9135 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9136
9137 wxPyEndAllowThreads(__tstate);
9138 if (PyErr_Occurred()) SWIG_fail;
9139 }
15afbcd0 9140 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9141 return resultobj;
9142 fail:
9143 return NULL;
9144}
9145
9146
9147static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9148 PyObject *resultobj;
9149 wxImage *arg1 = (wxImage *) 0 ;
9150 int arg2 ;
9151 int arg3 ;
9152 unsigned char arg4 ;
9153 PyObject * obj0 = 0 ;
994141e6
RD
9154 PyObject * obj1 = 0 ;
9155 PyObject * obj2 = 0 ;
d14a1e28
RD
9156 PyObject * obj3 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9159 };
9160
994141e6 9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9164 arg2 = (int) SWIG_AsInt(obj1);
9165 if (PyErr_Occurred()) SWIG_fail;
9166 arg3 = (int) SWIG_AsInt(obj2);
9167 if (PyErr_Occurred()) SWIG_fail;
9168 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9169 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 (arg1)->SetAlpha(arg2,arg3,arg4);
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 Py_INCREF(Py_None); resultobj = Py_None;
9178 return resultobj;
9179 fail:
9180 return NULL;
9181}
9182
9183
9184static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9185 PyObject *resultobj;
9186 wxImage *arg1 = (wxImage *) 0 ;
9187 int arg2 ;
9188 int arg3 ;
9189 unsigned char result;
9190 PyObject * obj0 = 0 ;
994141e6
RD
9191 PyObject * obj1 = 0 ;
9192 PyObject * obj2 = 0 ;
d14a1e28
RD
9193 char *kwnames[] = {
9194 (char *) "self",(char *) "x",(char *) "y", NULL
9195 };
9196
994141e6 9197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9200 arg2 = (int) SWIG_AsInt(obj1);
9201 if (PyErr_Occurred()) SWIG_fail;
9202 arg3 = (int) SWIG_AsInt(obj2);
9203 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9204 {
9205 PyThreadState* __tstate = wxPyBeginAllowThreads();
9206 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9207
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
15afbcd0 9211 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9212 return resultobj;
9213 fail:
9214 return NULL;
9215}
9216
9217
9218static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9219 PyObject *resultobj;
9220 wxImage *arg1 = (wxImage *) 0 ;
9221 bool result;
9222 PyObject * obj0 = 0 ;
9223 char *kwnames[] = {
9224 (char *) "self", NULL
9225 };
9226
9227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
15afbcd0
RD
9228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9230 {
9231 PyThreadState* __tstate = wxPyBeginAllowThreads();
9232 result = (bool)(arg1)->HasAlpha();
9233
9234 wxPyEndAllowThreads(__tstate);
9235 if (PyErr_Occurred()) SWIG_fail;
9236 }
4f89f6a3
RD
9237 {
9238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9239 }
d14a1e28
RD
9240 return resultobj;
9241 fail:
9242 return NULL;
9243}
9244
9245
9246static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9247 PyObject *resultobj;
9248 wxImage *arg1 = (wxImage *) 0 ;
9249 byte *arg2 = (byte *) 0 ;
9250 byte *arg3 = (byte *) 0 ;
9251 byte *arg4 = (byte *) 0 ;
9252 byte arg5 = (byte) 0 ;
9253 byte arg6 = (byte) 0 ;
9254 byte arg7 = (byte) 0 ;
9255 bool result;
9256 byte temp2 ;
9257 byte temp3 ;
9258 byte temp4 ;
9259 PyObject * obj0 = 0 ;
9260 PyObject * obj1 = 0 ;
9261 PyObject * obj2 = 0 ;
9262 PyObject * obj3 = 0 ;
9263 char *kwnames[] = {
9264 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9265 };
9266
9267 arg2 = &temp2;
9268 arg3 = &temp3;
9269 arg4 = &temp4;
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9273 if (obj1) {
15afbcd0
RD
9274 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9275 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9276 }
9277 if (obj2) {
15afbcd0
RD
9278 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9279 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9280 }
9281 if (obj3) {
15afbcd0
RD
9282 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9283 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9284 }
9285 {
9286 PyThreadState* __tstate = wxPyBeginAllowThreads();
9287 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9288
9289 wxPyEndAllowThreads(__tstate);
9290 if (PyErr_Occurred()) SWIG_fail;
9291 }
4f89f6a3
RD
9292 {
9293 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9294 }
d14a1e28
RD
9295 {
9296 PyObject *o = PyInt_FromLong((long) (*arg2));
9297 resultobj = t_output_helper(resultobj,o);
9298 }
9299 {
9300 PyObject *o = PyInt_FromLong((long) (*arg3));
9301 resultobj = t_output_helper(resultobj,o);
9302 }
9303 {
9304 PyObject *o = PyInt_FromLong((long) (*arg4));
9305 resultobj = t_output_helper(resultobj,o);
9306 }
9307 return resultobj;
9308 fail:
9309 return NULL;
9310}
9311
9312
9313static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9314 PyObject *resultobj;
9315 wxImage *arg1 = (wxImage *) 0 ;
9316 wxImage *arg2 = 0 ;
9317 byte arg3 ;
9318 byte arg4 ;
9319 byte arg5 ;
9320 bool result;
9321 PyObject * obj0 = 0 ;
9322 PyObject * obj1 = 0 ;
9323 PyObject * obj2 = 0 ;
9324 PyObject * obj3 = 0 ;
9325 PyObject * obj4 = 0 ;
9326 char *kwnames[] = {
9327 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9328 };
9329
9330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
9331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9333 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9334 SWIG_POINTER_EXCEPTION | 0)) == -1)
9335 SWIG_fail;
d14a1e28 9336 if (arg2 == NULL) {
15afbcd0
RD
9337 PyErr_SetString(PyExc_TypeError,"null reference");
9338 SWIG_fail;
a41e16b6 9339 }
15afbcd0
RD
9340 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9341 if (PyErr_Occurred()) SWIG_fail;
9342 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9343 if (PyErr_Occurred()) SWIG_fail;
9344 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9345 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9346 {
9347 PyThreadState* __tstate = wxPyBeginAllowThreads();
9348 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9349
9350 wxPyEndAllowThreads(__tstate);
9351 if (PyErr_Occurred()) SWIG_fail;
9352 }
4f89f6a3
RD
9353 {
9354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9355 }
d14a1e28
RD
9356 return resultobj;
9357 fail:
9358 return NULL;
9359}
9360
9361
9362static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj;
9364 wxString *arg1 = 0 ;
9365 bool result;
e811c8ce 9366 bool temp1 = False ;
d14a1e28
RD
9367 PyObject * obj0 = 0 ;
9368 char *kwnames[] = {
9369 (char *) "name", NULL
9370 };
9371
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9373 {
9374 arg1 = wxString_in_helper(obj0);
9375 if (arg1 == NULL) SWIG_fail;
e811c8ce 9376 temp1 = True;
d14a1e28
RD
9377 }
9378 {
9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
9380 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9381
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
4f89f6a3
RD
9385 {
9386 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9387 }
d14a1e28
RD
9388 {
9389 if (temp1)
9390 delete arg1;
9391 }
9392 return resultobj;
9393 fail:
9394 {
9395 if (temp1)
9396 delete arg1;
9397 }
9398 return NULL;
9399}
9400
9401
9402static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9403 PyObject *resultobj;
9404 wxString *arg1 = 0 ;
9405 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9406 int result;
e811c8ce 9407 bool temp1 = False ;
d14a1e28 9408 PyObject * obj0 = 0 ;
994141e6 9409 PyObject * obj1 = 0 ;
d14a1e28
RD
9410 char *kwnames[] = {
9411 (char *) "name",(char *) "type", NULL
9412 };
9413
994141e6 9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9415 {
9416 arg1 = wxString_in_helper(obj0);
9417 if (arg1 == NULL) SWIG_fail;
e811c8ce 9418 temp1 = True;
d14a1e28 9419 }
994141e6 9420 if (obj1) {
15afbcd0
RD
9421 arg2 = (long) SWIG_AsLong(obj1);
9422 if (PyErr_Occurred()) SWIG_fail;
994141e6 9423 }
d14a1e28
RD
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
15afbcd0 9431 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9432 {
9433 if (temp1)
9434 delete arg1;
9435 }
9436 return resultobj;
9437 fail:
9438 {
9439 if (temp1)
9440 delete arg1;
9441 }
9442 return NULL;
9443}
9444
9445
9446static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9447 PyObject *resultobj;
9448 wxImage *arg1 = (wxImage *) 0 ;
9449 wxString *arg2 = 0 ;
9450 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9451 int arg4 = (int) -1 ;
9452 bool result;
e811c8ce 9453 bool temp2 = False ;
d14a1e28
RD
9454 PyObject * obj0 = 0 ;
9455 PyObject * obj1 = 0 ;
994141e6
RD
9456 PyObject * obj2 = 0 ;
9457 PyObject * obj3 = 0 ;
d14a1e28
RD
9458 char *kwnames[] = {
9459 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9460 };
9461
994141e6 9462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9465 {
9466 arg2 = wxString_in_helper(obj1);
9467 if (arg2 == NULL) SWIG_fail;
e811c8ce 9468 temp2 = True;
d14a1e28 9469 }
994141e6 9470 if (obj2) {
15afbcd0
RD
9471 arg3 = (long) SWIG_AsLong(obj2);
9472 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9473 }
9474 if (obj3) {
15afbcd0
RD
9475 arg4 = (int) SWIG_AsInt(obj3);
9476 if (PyErr_Occurred()) SWIG_fail;
994141e6 9477 }
d14a1e28
RD
9478 {
9479 PyThreadState* __tstate = wxPyBeginAllowThreads();
9480 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9481
9482 wxPyEndAllowThreads(__tstate);
9483 if (PyErr_Occurred()) SWIG_fail;
9484 }
4f89f6a3
RD
9485 {
9486 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9487 }
d14a1e28
RD
9488 {
9489 if (temp2)
9490 delete arg2;
9491 }
9492 return resultobj;
9493 fail:
9494 {
9495 if (temp2)
9496 delete arg2;
9497 }
9498 return NULL;
9499}
9500
9501
9502static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9503 PyObject *resultobj;
9504 wxImage *arg1 = (wxImage *) 0 ;
9505 wxString *arg2 = 0 ;
9506 wxString *arg3 = 0 ;
9507 int arg4 = (int) -1 ;
9508 bool result;
e811c8ce
RD
9509 bool temp2 = False ;
9510 bool temp3 = False ;
d14a1e28
RD
9511 PyObject * obj0 = 0 ;
9512 PyObject * obj1 = 0 ;
9513 PyObject * obj2 = 0 ;
994141e6 9514 PyObject * obj3 = 0 ;
d14a1e28
RD
9515 char *kwnames[] = {
9516 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9517 };
9518
994141e6 9519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9522 {
9523 arg2 = wxString_in_helper(obj1);
9524 if (arg2 == NULL) SWIG_fail;
e811c8ce 9525 temp2 = True;
d14a1e28
RD
9526 }
9527 {
9528 arg3 = wxString_in_helper(obj2);
9529 if (arg3 == NULL) SWIG_fail;
e811c8ce 9530 temp3 = True;
d14a1e28 9531 }
994141e6 9532 if (obj3) {
15afbcd0
RD
9533 arg4 = (int) SWIG_AsInt(obj3);
9534 if (PyErr_Occurred()) SWIG_fail;
994141e6 9535 }
d14a1e28
RD
9536 {
9537 PyThreadState* __tstate = wxPyBeginAllowThreads();
9538 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9539
9540 wxPyEndAllowThreads(__tstate);
9541 if (PyErr_Occurred()) SWIG_fail;
9542 }
4f89f6a3
RD
9543 {
9544 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9545 }
d14a1e28
RD
9546 {
9547 if (temp2)
9548 delete arg2;
9549 }
9550 {
9551 if (temp3)
9552 delete arg3;
9553 }
9554 return resultobj;
9555 fail:
9556 {
9557 if (temp2)
9558 delete arg2;
9559 }
9560 {
9561 if (temp3)
9562 delete arg3;
9563 }
9564 return NULL;
9565}
9566
9567
9568static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9569 PyObject *resultobj;
9570 wxImage *arg1 = (wxImage *) 0 ;
9571 wxString *arg2 = 0 ;
9572 int arg3 ;
9573 bool result;
e811c8ce 9574 bool temp2 = False ;
d14a1e28
RD
9575 PyObject * obj0 = 0 ;
9576 PyObject * obj1 = 0 ;
994141e6 9577 PyObject * obj2 = 0 ;
d14a1e28
RD
9578 char *kwnames[] = {
9579 (char *) "self",(char *) "name",(char *) "type", NULL
9580 };
9581
994141e6 9582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9585 {
9586 arg2 = wxString_in_helper(obj1);
9587 if (arg2 == NULL) SWIG_fail;
e811c8ce 9588 temp2 = True;
d14a1e28 9589 }
15afbcd0
RD
9590 arg3 = (int) SWIG_AsInt(obj2);
9591 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9592 {
9593 PyThreadState* __tstate = wxPyBeginAllowThreads();
9594 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9595
9596 wxPyEndAllowThreads(__tstate);
9597 if (PyErr_Occurred()) SWIG_fail;
9598 }
4f89f6a3
RD
9599 {
9600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9601 }
d14a1e28
RD
9602 {
9603 if (temp2)
9604 delete arg2;
9605 }
9606 return resultobj;
9607 fail:
9608 {
9609 if (temp2)
9610 delete arg2;
9611 }
9612 return NULL;
9613}
9614
9615
9616static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9617 PyObject *resultobj;
9618 wxImage *arg1 = (wxImage *) 0 ;
9619 wxString *arg2 = 0 ;
9620 wxString *arg3 = 0 ;
9621 bool result;
e811c8ce
RD
9622 bool temp2 = False ;
9623 bool temp3 = False ;
d14a1e28
RD
9624 PyObject * obj0 = 0 ;
9625 PyObject * obj1 = 0 ;
9626 PyObject * obj2 = 0 ;
9627 char *kwnames[] = {
9628 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9629 };
9630
9631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
9632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9634 {
9635 arg2 = wxString_in_helper(obj1);
9636 if (arg2 == NULL) SWIG_fail;
e811c8ce 9637 temp2 = True;
d14a1e28
RD
9638 }
9639 {
9640 arg3 = wxString_in_helper(obj2);
9641 if (arg3 == NULL) SWIG_fail;
e811c8ce 9642 temp3 = True;
d14a1e28
RD
9643 }
9644 {
9645 PyThreadState* __tstate = wxPyBeginAllowThreads();
9646 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9647
9648 wxPyEndAllowThreads(__tstate);
9649 if (PyErr_Occurred()) SWIG_fail;
9650 }
4f89f6a3
RD
9651 {
9652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9653 }
d14a1e28
RD
9654 {
9655 if (temp2)
9656 delete arg2;
9657 }
9658 {
9659 if (temp3)
9660 delete arg3;
9661 }
9662 return resultobj;
9663 fail:
9664 {
9665 if (temp2)
9666 delete arg2;
9667 }
9668 {
9669 if (temp3)
9670 delete arg3;
9671 }
9672 return NULL;
9673}
9674
9675
9676static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9677 PyObject *resultobj;
9678 wxInputStream *arg1 = 0 ;
9679 bool result;
9680 wxPyInputStream *temp1 ;
9681 bool created1 ;
9682 PyObject * obj0 = 0 ;
9683 char *kwnames[] = {
9684 (char *) "stream", NULL
9685 };
9686
9687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9688 {
9689 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9690 arg1 = temp1->m_wxis;
e811c8ce 9691 created1 = False;
d14a1e28
RD
9692 } else {
9693 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9694 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
9695 if (arg1 == NULL) {
9696 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9697 SWIG_fail;
9698 }
e811c8ce 9699 created1 = True;
d14a1e28
RD
9700 }
9701 }
9702 {
9703 PyThreadState* __tstate = wxPyBeginAllowThreads();
9704 result = (bool)wxImage::CanRead(*arg1);
9705
9706 wxPyEndAllowThreads(__tstate);
9707 if (PyErr_Occurred()) SWIG_fail;
9708 }
4f89f6a3
RD
9709 {
9710 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9711 }
d14a1e28
RD
9712 {
9713 if (created1)
9714 delete arg1;
9715 }
9716 return resultobj;
9717 fail:
9718 {
9719 if (created1)
9720 delete arg1;
9721 }
9722 return NULL;
9723}
9724
9725
9726static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9727 PyObject *resultobj;
9728 wxImage *arg1 = (wxImage *) 0 ;
9729 wxInputStream *arg2 = 0 ;
9730 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9731 int arg4 = (int) -1 ;
9732 bool result;
9733 wxPyInputStream *temp2 ;
9734 bool created2 ;
9735 PyObject * obj0 = 0 ;
9736 PyObject * obj1 = 0 ;
994141e6
RD
9737 PyObject * obj2 = 0 ;
9738 PyObject * obj3 = 0 ;
d14a1e28
RD
9739 char *kwnames[] = {
9740 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9741 };
9742
994141e6 9743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9746 {
9747 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9748 arg2 = temp2->m_wxis;
e811c8ce 9749 created2 = False;
d14a1e28
RD
9750 } else {
9751 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9752 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9753 if (arg2 == NULL) {
9754 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9755 SWIG_fail;
9756 }
e811c8ce 9757 created2 = True;
d14a1e28
RD
9758 }
9759 }
994141e6 9760 if (obj2) {
15afbcd0
RD
9761 arg3 = (long) SWIG_AsLong(obj2);
9762 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
9763 }
9764 if (obj3) {
15afbcd0
RD
9765 arg4 = (int) SWIG_AsInt(obj3);
9766 if (PyErr_Occurred()) SWIG_fail;
994141e6 9767 }
d14a1e28
RD
9768 {
9769 PyThreadState* __tstate = wxPyBeginAllowThreads();
9770 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9771
9772 wxPyEndAllowThreads(__tstate);
9773 if (PyErr_Occurred()) SWIG_fail;
9774 }
4f89f6a3
RD
9775 {
9776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9777 }
d14a1e28
RD
9778 {
9779 if (created2)
9780 delete arg2;
9781 }
9782 return resultobj;
9783 fail:
9784 {
9785 if (created2)
9786 delete arg2;
9787 }
9788 return NULL;
9789}
9790
9791
9792static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj;
9794 wxImage *arg1 = (wxImage *) 0 ;
9795 wxInputStream *arg2 = 0 ;
9796 wxString *arg3 = 0 ;
9797 int arg4 = (int) -1 ;
9798 bool result;
9799 wxPyInputStream *temp2 ;
9800 bool created2 ;
e811c8ce 9801 bool temp3 = False ;
d14a1e28
RD
9802 PyObject * obj0 = 0 ;
9803 PyObject * obj1 = 0 ;
9804 PyObject * obj2 = 0 ;
994141e6 9805 PyObject * obj3 = 0 ;
d14a1e28
RD
9806 char *kwnames[] = {
9807 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9808 };
9809
994141e6 9810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
9811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9813 {
9814 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9815 arg2 = temp2->m_wxis;
e811c8ce 9816 created2 = False;
d14a1e28
RD
9817 } else {
9818 PyErr_Clear(); // clear the failure of the wxPyConvert above
e811c8ce 9819 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9820 if (arg2 == NULL) {
9821 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9822 SWIG_fail;
9823 }
e811c8ce 9824 created2 = True;
d14a1e28
RD
9825 }
9826 }
9827 {
9828 arg3 = wxString_in_helper(obj2);
9829 if (arg3 == NULL) SWIG_fail;
e811c8ce 9830 temp3 = True;
d14a1e28 9831 }
994141e6 9832 if (obj3) {
15afbcd0
RD
9833 arg4 = (int) SWIG_AsInt(obj3);
9834 if (PyErr_Occurred()) SWIG_fail;
994141e6 9835 }
d14a1e28
RD
9836 {
9837 PyThreadState* __tstate = wxPyBeginAllowThreads();
9838 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9839
9840 wxPyEndAllowThreads(__tstate);
9841 if (PyErr_Occurred()) SWIG_fail;
9842 }
4f89f6a3
RD
9843 {
9844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9845 }
d14a1e28
RD
9846 {
9847 if (created2)
9848 delete arg2;
9849 }
9850 {
9851 if (temp3)
9852 delete arg3;
9853 }
9854 return resultobj;
9855 fail:
9856 {
9857 if (created2)
9858 delete arg2;
9859 }
9860 {
9861 if (temp3)
9862 delete arg3;
9863 }
9864 return NULL;
9865}
9866
9867
9868static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
9869 PyObject *resultobj;
9870 wxImage *arg1 = (wxImage *) 0 ;
9871 bool result;
9872 PyObject * obj0 = 0 ;
9873 char *kwnames[] = {
9874 (char *) "self", NULL
9875 };
9876
9877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
9878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9880 {
9881 PyThreadState* __tstate = wxPyBeginAllowThreads();
9882 result = (bool)(arg1)->Ok();
9883
9884 wxPyEndAllowThreads(__tstate);
9885 if (PyErr_Occurred()) SWIG_fail;
9886 }
4f89f6a3
RD
9887 {
9888 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9889 }
d14a1e28
RD
9890 return resultobj;
9891 fail:
9892 return NULL;
9893}
9894
9895
9896static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9897 PyObject *resultobj;
9898 wxImage *arg1 = (wxImage *) 0 ;
9899 int result;
9900 PyObject * obj0 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "self", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
9906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9908 {
9909 PyThreadState* __tstate = wxPyBeginAllowThreads();
9910 result = (int)(arg1)->GetWidth();
9911
9912 wxPyEndAllowThreads(__tstate);
9913 if (PyErr_Occurred()) SWIG_fail;
9914 }
15afbcd0 9915 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9916 return resultobj;
9917 fail:
9918 return NULL;
9919}
9920
9921
9922static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
9923 PyObject *resultobj;
9924 wxImage *arg1 = (wxImage *) 0 ;
9925 int result;
9926 PyObject * obj0 = 0 ;
9927 char *kwnames[] = {
9928 (char *) "self", NULL
9929 };
9930
9931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
9932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 result = (int)(arg1)->GetHeight();
9937
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
15afbcd0 9941 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9942 return resultobj;
9943 fail:
9944 return NULL;
9945}
9946
9947
9948static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj;
9950 wxImage *arg1 = (wxImage *) 0 ;
9951 wxRect *arg2 = 0 ;
9952 SwigValueWrapper< wxImage > result;
9953 wxRect temp2 ;
9954 PyObject * obj0 = 0 ;
9955 PyObject * obj1 = 0 ;
9956 char *kwnames[] = {
9957 (char *) "self",(char *) "rect", NULL
9958 };
9959
9960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
9961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9963 {
9964 arg2 = &temp2;
9965 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9966 }
9967 {
9968 PyThreadState* __tstate = wxPyBeginAllowThreads();
9969 result = (arg1)->GetSubImage((wxRect const &)*arg2);
9970
9971 wxPyEndAllowThreads(__tstate);
9972 if (PyErr_Occurred()) SWIG_fail;
9973 }
9974 {
9975 wxImage * resultptr;
9976 resultptr = new wxImage((wxImage &) result);
15afbcd0 9977 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9978 }
9979 return resultobj;
9980 fail:
9981 return NULL;
9982}
9983
9984
9985static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9986 PyObject *resultobj;
9987 wxImage *arg1 = (wxImage *) 0 ;
9988 SwigValueWrapper< wxImage > result;
9989 PyObject * obj0 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
15afbcd0
RD
9995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9997 {
9998 PyThreadState* __tstate = wxPyBeginAllowThreads();
9999 result = (arg1)->Copy();
10000
10001 wxPyEndAllowThreads(__tstate);
10002 if (PyErr_Occurred()) SWIG_fail;
10003 }
10004 {
10005 wxImage * resultptr;
10006 resultptr = new wxImage((wxImage &) result);
15afbcd0 10007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10008 }
10009 return resultobj;
10010 fail:
10011 return NULL;
10012}
10013
10014
10015static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
10016 PyObject *resultobj;
10017 wxImage *arg1 = (wxImage *) 0 ;
10018 wxImage *arg2 = 0 ;
10019 int arg3 ;
10020 int arg4 ;
10021 PyObject * obj0 = 0 ;
10022 PyObject * obj1 = 0 ;
994141e6
RD
10023 PyObject * obj2 = 0 ;
10024 PyObject * obj3 = 0 ;
d14a1e28
RD
10025 char *kwnames[] = {
10026 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10027 };
10028
994141e6 10029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10033 SWIG_POINTER_EXCEPTION | 0)) == -1)
10034 SWIG_fail;
d14a1e28 10035 if (arg2 == NULL) {
15afbcd0
RD
10036 PyErr_SetString(PyExc_TypeError,"null reference");
10037 SWIG_fail;
994141e6 10038 }
15afbcd0
RD
10039 arg3 = (int) SWIG_AsInt(obj2);
10040 if (PyErr_Occurred()) SWIG_fail;
10041 arg4 = (int) SWIG_AsInt(obj3);
10042 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10043 {
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10046
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 Py_INCREF(Py_None); resultobj = Py_None;
10051 return resultobj;
10052 fail:
10053 return NULL;
10054}
10055
10056
10057static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10058 PyObject *resultobj;
10059 wxImage *arg1 = (wxImage *) 0 ;
10060 PyObject *result;
10061 PyObject * obj0 = 0 ;
10062 char *kwnames[] = {
10063 (char *) "self", NULL
10064 };
10065
10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 result = (PyObject *)wxImage_GetData(arg1);
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 resultobj = result;
10077 return resultobj;
10078 fail:
10079 return NULL;
10080}
10081
10082
10083static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxImage *arg1 = (wxImage *) 0 ;
10086 PyObject *arg2 = (PyObject *) 0 ;
10087 PyObject * obj0 = 0 ;
10088 PyObject * obj1 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self",(char *) "data", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10096 arg2 = obj1;
10097 {
10098 PyThreadState* __tstate = wxPyBeginAllowThreads();
10099 wxImage_SetData(arg1,arg2);
10100
10101 wxPyEndAllowThreads(__tstate);
10102 if (PyErr_Occurred()) SWIG_fail;
10103 }
10104 Py_INCREF(Py_None); resultobj = Py_None;
10105 return resultobj;
10106 fail:
10107 return NULL;
10108}
10109
10110
10111static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10112 PyObject *resultobj;
10113 wxImage *arg1 = (wxImage *) 0 ;
10114 PyObject *result;
10115 PyObject * obj0 = 0 ;
10116 char *kwnames[] = {
10117 (char *) "self", NULL
10118 };
10119
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10121 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10123 {
10124 PyThreadState* __tstate = wxPyBeginAllowThreads();
10125 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10126
10127 wxPyEndAllowThreads(__tstate);
10128 if (PyErr_Occurred()) SWIG_fail;
10129 }
10130 resultobj = result;
10131 return resultobj;
10132 fail:
10133 return NULL;
10134}
10135
10136
10137static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10138 PyObject *resultobj;
10139 wxImage *arg1 = (wxImage *) 0 ;
10140 PyObject *arg2 = (PyObject *) 0 ;
10141 PyObject * obj0 = 0 ;
10142 PyObject * obj1 = 0 ;
10143 char *kwnames[] = {
10144 (char *) "self",(char *) "data", NULL
10145 };
10146
10147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10150 arg2 = obj1;
10151 {
10152 PyThreadState* __tstate = wxPyBeginAllowThreads();
10153 wxImage_SetDataBuffer(arg1,arg2);
10154
10155 wxPyEndAllowThreads(__tstate);
10156 if (PyErr_Occurred()) SWIG_fail;
10157 }
10158 Py_INCREF(Py_None); resultobj = Py_None;
10159 return resultobj;
10160 fail:
10161 return NULL;
10162}
10163
10164
10165static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10166 PyObject *resultobj;
10167 wxImage *arg1 = (wxImage *) 0 ;
10168 PyObject *result;
10169 PyObject * obj0 = 0 ;
10170 char *kwnames[] = {
10171 (char *) "self", NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
15afbcd0
RD
10175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 result = (PyObject *)wxImage_GetAlphaData(arg1);
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 resultobj = result;
10185 return resultobj;
10186 fail:
10187 return NULL;
10188}
10189
10190
10191static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj;
10193 wxImage *arg1 = (wxImage *) 0 ;
10194 PyObject *arg2 = (PyObject *) 0 ;
10195 PyObject * obj0 = 0 ;
10196 PyObject * obj1 = 0 ;
10197 char *kwnames[] = {
10198 (char *) "self",(char *) "data", NULL
10199 };
10200
10201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10204 arg2 = obj1;
10205 {
10206 PyThreadState* __tstate = wxPyBeginAllowThreads();
10207 wxImage_SetAlphaData(arg1,arg2);
10208
10209 wxPyEndAllowThreads(__tstate);
10210 if (PyErr_Occurred()) SWIG_fail;
10211 }
10212 Py_INCREF(Py_None); resultobj = Py_None;
10213 return resultobj;
10214 fail:
10215 return NULL;
10216}
10217
10218
10219static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj;
10221 wxImage *arg1 = (wxImage *) 0 ;
10222 PyObject *result;
10223 PyObject * obj0 = 0 ;
10224 char *kwnames[] = {
10225 (char *) "self", NULL
10226 };
10227
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
15afbcd0
RD
10229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 resultobj = result;
10239 return resultobj;
10240 fail:
10241 return NULL;
10242}
10243
10244
10245static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxImage *arg1 = (wxImage *) 0 ;
10248 PyObject *arg2 = (PyObject *) 0 ;
10249 PyObject * obj0 = 0 ;
10250 PyObject * obj1 = 0 ;
10251 char *kwnames[] = {
10252 (char *) "self",(char *) "data", NULL
10253 };
10254
10255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10256 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10258 arg2 = obj1;
10259 {
10260 PyThreadState* __tstate = wxPyBeginAllowThreads();
10261 wxImage_SetAlphaBuffer(arg1,arg2);
10262
10263 wxPyEndAllowThreads(__tstate);
10264 if (PyErr_Occurred()) SWIG_fail;
10265 }
10266 Py_INCREF(Py_None); resultobj = Py_None;
10267 return resultobj;
10268 fail:
10269 return NULL;
10270}
10271
10272
10273static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10274 PyObject *resultobj;
10275 wxImage *arg1 = (wxImage *) 0 ;
10276 unsigned char arg2 ;
10277 unsigned char arg3 ;
10278 unsigned char arg4 ;
10279 PyObject * obj0 = 0 ;
10280 PyObject * obj1 = 0 ;
10281 PyObject * obj2 = 0 ;
10282 PyObject * obj3 = 0 ;
10283 char *kwnames[] = {
10284 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10285 };
10286
10287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10290 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10293 if (PyErr_Occurred()) SWIG_fail;
10294 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10295 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 (arg1)->SetMaskColour(arg2,arg3,arg4);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
10303 Py_INCREF(Py_None); resultobj = Py_None;
10304 return resultobj;
10305 fail:
10306 return NULL;
10307}
10308
10309
10310static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
10311 PyObject *resultobj;
10312 wxImage *arg1 = (wxImage *) 0 ;
10313 unsigned char result;
10314 PyObject * obj0 = 0 ;
10315 char *kwnames[] = {
10316 (char *) "self", NULL
10317 };
10318
10319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
15afbcd0
RD
10320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10322 {
10323 PyThreadState* __tstate = wxPyBeginAllowThreads();
10324 result = (unsigned char)(arg1)->GetMaskRed();
10325
10326 wxPyEndAllowThreads(__tstate);
10327 if (PyErr_Occurred()) SWIG_fail;
10328 }
15afbcd0 10329 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10330 return resultobj;
10331 fail:
10332 return NULL;
10333}
10334
10335
10336static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10337 PyObject *resultobj;
10338 wxImage *arg1 = (wxImage *) 0 ;
10339 unsigned char result;
10340 PyObject * obj0 = 0 ;
10341 char *kwnames[] = {
10342 (char *) "self", NULL
10343 };
10344
10345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
15afbcd0
RD
10346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10348 {
10349 PyThreadState* __tstate = wxPyBeginAllowThreads();
10350 result = (unsigned char)(arg1)->GetMaskGreen();
10351
10352 wxPyEndAllowThreads(__tstate);
10353 if (PyErr_Occurred()) SWIG_fail;
10354 }
15afbcd0 10355 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10356 return resultobj;
10357 fail:
10358 return NULL;
10359}
10360
10361
10362static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
10363 PyObject *resultobj;
10364 wxImage *arg1 = (wxImage *) 0 ;
10365 unsigned char result;
10366 PyObject * obj0 = 0 ;
10367 char *kwnames[] = {
10368 (char *) "self", NULL
10369 };
10370
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
15afbcd0
RD
10372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10374 {
10375 PyThreadState* __tstate = wxPyBeginAllowThreads();
10376 result = (unsigned char)(arg1)->GetMaskBlue();
10377
10378 wxPyEndAllowThreads(__tstate);
10379 if (PyErr_Occurred()) SWIG_fail;
10380 }
15afbcd0 10381 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10382 return resultobj;
10383 fail:
10384 return NULL;
10385}
10386
10387
10388static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10389 PyObject *resultobj;
10390 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10391 bool arg2 = (bool) True ;
d14a1e28
RD
10392 PyObject * obj0 = 0 ;
10393 PyObject * obj1 = 0 ;
10394 char *kwnames[] = {
10395 (char *) "self",(char *) "mask", NULL
10396 };
10397
10398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10401 if (obj1) {
15afbcd0
RD
10402 arg2 = (bool) SWIG_AsBool(obj1);
10403 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10404 }
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 (arg1)->SetMask(arg2);
10408
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 Py_INCREF(Py_None); resultobj = Py_None;
10413 return resultobj;
10414 fail:
10415 return NULL;
10416}
10417
10418
10419static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10420 PyObject *resultobj;
10421 wxImage *arg1 = (wxImage *) 0 ;
10422 bool result;
10423 PyObject * obj0 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "self", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
15afbcd0
RD
10429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 result = (bool)(arg1)->HasMask();
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
4f89f6a3
RD
10438 {
10439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10440 }
d14a1e28
RD
10441 return resultobj;
10442 fail:
10443 return NULL;
10444}
10445
10446
10447static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
10448 PyObject *resultobj;
10449 wxImage *arg1 = (wxImage *) 0 ;
10450 double arg2 ;
10451 wxPoint *arg3 = 0 ;
e811c8ce 10452 bool arg4 = (bool) True ;
d14a1e28
RD
10453 wxPoint *arg5 = (wxPoint *) NULL ;
10454 SwigValueWrapper< wxImage > result;
10455 wxPoint temp3 ;
10456 PyObject * obj0 = 0 ;
994141e6 10457 PyObject * obj1 = 0 ;
d14a1e28
RD
10458 PyObject * obj2 = 0 ;
10459 PyObject * obj3 = 0 ;
10460 PyObject * obj4 = 0 ;
10461 char *kwnames[] = {
10462 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10463 };
10464
994141e6 10465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
10466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10468 arg2 = (double) SWIG_AsDouble(obj1);
10469 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10470 {
10471 arg3 = &temp3;
10472 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10473 }
10474 if (obj3) {
15afbcd0
RD
10475 arg4 = (bool) SWIG_AsBool(obj3);
10476 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10477 }
10478 if (obj4) {
15afbcd0
RD
10479 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10481 }
10482 {
10483 PyThreadState* __tstate = wxPyBeginAllowThreads();
10484 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10485
10486 wxPyEndAllowThreads(__tstate);
10487 if (PyErr_Occurred()) SWIG_fail;
10488 }
10489 {
10490 wxImage * resultptr;
10491 resultptr = new wxImage((wxImage &) result);
15afbcd0 10492 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10493 }
10494 return resultobj;
10495 fail:
10496 return NULL;
10497}
10498
10499
10500static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
10501 PyObject *resultobj;
10502 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10503 bool arg2 = (bool) True ;
d14a1e28
RD
10504 SwigValueWrapper< wxImage > result;
10505 PyObject * obj0 = 0 ;
10506 PyObject * obj1 = 0 ;
10507 char *kwnames[] = {
10508 (char *) "self",(char *) "clockwise", NULL
10509 };
10510
10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10514 if (obj1) {
15afbcd0
RD
10515 arg2 = (bool) SWIG_AsBool(obj1);
10516 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10517 }
10518 {
10519 PyThreadState* __tstate = wxPyBeginAllowThreads();
10520 result = (arg1)->Rotate90(arg2);
10521
10522 wxPyEndAllowThreads(__tstate);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 }
10525 {
10526 wxImage * resultptr;
10527 resultptr = new wxImage((wxImage &) result);
15afbcd0 10528 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10529 }
10530 return resultobj;
10531 fail:
10532 return NULL;
10533}
10534
10535
10536static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
10537 PyObject *resultobj;
10538 wxImage *arg1 = (wxImage *) 0 ;
e811c8ce 10539 bool arg2 = (bool) True ;
d14a1e28
RD
10540 SwigValueWrapper< wxImage > result;
10541 PyObject * obj0 = 0 ;
10542 PyObject * obj1 = 0 ;
10543 char *kwnames[] = {
10544 (char *) "self",(char *) "horizontally", NULL
10545 };
10546
10547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10550 if (obj1) {
15afbcd0
RD
10551 arg2 = (bool) SWIG_AsBool(obj1);
10552 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10553 }
10554 {
10555 PyThreadState* __tstate = wxPyBeginAllowThreads();
10556 result = (arg1)->Mirror(arg2);
10557
10558 wxPyEndAllowThreads(__tstate);
10559 if (PyErr_Occurred()) SWIG_fail;
10560 }
10561 {
10562 wxImage * resultptr;
10563 resultptr = new wxImage((wxImage &) result);
15afbcd0 10564 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10565 }
10566 return resultobj;
10567 fail:
10568 return NULL;
10569}
10570
10571
10572static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10573 PyObject *resultobj;
10574 wxImage *arg1 = (wxImage *) 0 ;
10575 unsigned char arg2 ;
10576 unsigned char arg3 ;
10577 unsigned char arg4 ;
10578 unsigned char arg5 ;
10579 unsigned char arg6 ;
10580 unsigned char arg7 ;
10581 PyObject * obj0 = 0 ;
10582 PyObject * obj1 = 0 ;
10583 PyObject * obj2 = 0 ;
10584 PyObject * obj3 = 0 ;
10585 PyObject * obj4 = 0 ;
10586 PyObject * obj5 = 0 ;
10587 PyObject * obj6 = 0 ;
10588 char *kwnames[] = {
10589 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10590 };
10591
10592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
10593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10595 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10596 if (PyErr_Occurred()) SWIG_fail;
10597 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10598 if (PyErr_Occurred()) SWIG_fail;
10599 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10602 if (PyErr_Occurred()) SWIG_fail;
10603 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10604 if (PyErr_Occurred()) SWIG_fail;
10605 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10606 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10607 {
10608 PyThreadState* __tstate = wxPyBeginAllowThreads();
10609 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10610
10611 wxPyEndAllowThreads(__tstate);
10612 if (PyErr_Occurred()) SWIG_fail;
10613 }
10614 Py_INCREF(Py_None); resultobj = Py_None;
10615 return resultobj;
10616 fail:
10617 return NULL;
10618}
10619
10620
10621static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
10622 PyObject *resultobj;
10623 wxImage *arg1 = (wxImage *) 0 ;
10624 unsigned char arg2 ;
10625 unsigned char arg3 ;
10626 unsigned char arg4 ;
10627 SwigValueWrapper< wxImage > result;
10628 PyObject * obj0 = 0 ;
10629 PyObject * obj1 = 0 ;
10630 PyObject * obj2 = 0 ;
10631 PyObject * obj3 = 0 ;
10632 char *kwnames[] = {
10633 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10634 };
10635
10636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
10637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10639 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10644 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 {
10653 wxImage * resultptr;
10654 resultptr = new wxImage((wxImage &) result);
15afbcd0 10655 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10656 }
10657 return resultobj;
10658 fail:
10659 return NULL;
10660}
10661
10662
10663static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10664 PyObject *resultobj;
10665 wxImage *arg1 = (wxImage *) 0 ;
10666 wxString *arg2 = 0 ;
10667 wxString *arg3 = 0 ;
e811c8ce
RD
10668 bool temp2 = False ;
10669 bool temp3 = False ;
d14a1e28
RD
10670 PyObject * obj0 = 0 ;
10671 PyObject * obj1 = 0 ;
10672 PyObject * obj2 = 0 ;
10673 char *kwnames[] = {
10674 (char *) "self",(char *) "name",(char *) "value", NULL
10675 };
10676
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10680 {
10681 arg2 = wxString_in_helper(obj1);
10682 if (arg2 == NULL) SWIG_fail;
e811c8ce 10683 temp2 = True;
d14a1e28
RD
10684 }
10685 {
10686 arg3 = wxString_in_helper(obj2);
10687 if (arg3 == NULL) SWIG_fail;
e811c8ce 10688 temp3 = True;
d14a1e28
RD
10689 }
10690 {
10691 PyThreadState* __tstate = wxPyBeginAllowThreads();
10692 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10693
10694 wxPyEndAllowThreads(__tstate);
10695 if (PyErr_Occurred()) SWIG_fail;
10696 }
10697 Py_INCREF(Py_None); resultobj = Py_None;
10698 {
10699 if (temp2)
10700 delete arg2;
10701 }
10702 {
10703 if (temp3)
10704 delete arg3;
10705 }
10706 return resultobj;
10707 fail:
10708 {
10709 if (temp2)
10710 delete arg2;
10711 }
10712 {
10713 if (temp3)
10714 delete arg3;
10715 }
10716 return NULL;
10717}
10718
10719
10720static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10721 PyObject *resultobj;
10722 wxImage *arg1 = (wxImage *) 0 ;
10723 wxString *arg2 = 0 ;
10724 int arg3 ;
e811c8ce 10725 bool temp2 = False ;
d14a1e28
RD
10726 PyObject * obj0 = 0 ;
10727 PyObject * obj1 = 0 ;
994141e6 10728 PyObject * obj2 = 0 ;
d14a1e28
RD
10729 char *kwnames[] = {
10730 (char *) "self",(char *) "name",(char *) "value", NULL
10731 };
10732
994141e6 10733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
10734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10736 {
10737 arg2 = wxString_in_helper(obj1);
10738 if (arg2 == NULL) SWIG_fail;
e811c8ce 10739 temp2 = True;
d14a1e28 10740 }
15afbcd0
RD
10741 arg3 = (int) SWIG_AsInt(obj2);
10742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10743 {
10744 PyThreadState* __tstate = wxPyBeginAllowThreads();
10745 (arg1)->SetOption((wxString const &)*arg2,arg3);
10746
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 }
10750 Py_INCREF(Py_None); resultobj = Py_None;
10751 {
10752 if (temp2)
10753 delete arg2;
10754 }
10755 return resultobj;
10756 fail:
10757 {
10758 if (temp2)
10759 delete arg2;
10760 }
10761 return NULL;
10762}
10763
10764
10765static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10766 PyObject *resultobj;
10767 wxImage *arg1 = (wxImage *) 0 ;
10768 wxString *arg2 = 0 ;
10769 wxString result;
e811c8ce 10770 bool temp2 = False ;
d14a1e28
RD
10771 PyObject * obj0 = 0 ;
10772 PyObject * obj1 = 0 ;
10773 char *kwnames[] = {
10774 (char *) "self",(char *) "name", NULL
10775 };
10776
10777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10780 {
10781 arg2 = wxString_in_helper(obj1);
10782 if (arg2 == NULL) SWIG_fail;
e811c8ce 10783 temp2 = True;
d14a1e28
RD
10784 }
10785 {
10786 PyThreadState* __tstate = wxPyBeginAllowThreads();
10787 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10788
10789 wxPyEndAllowThreads(__tstate);
10790 if (PyErr_Occurred()) SWIG_fail;
10791 }
10792 {
10793#if wxUSE_UNICODE
10794 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10795#else
10796 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10797#endif
10798 }
10799 {
10800 if (temp2)
10801 delete arg2;
10802 }
10803 return resultobj;
10804 fail:
10805 {
10806 if (temp2)
10807 delete arg2;
10808 }
10809 return NULL;
10810}
10811
10812
10813static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10814 PyObject *resultobj;
10815 wxImage *arg1 = (wxImage *) 0 ;
10816 wxString *arg2 = 0 ;
10817 int result;
e811c8ce 10818 bool temp2 = False ;
d14a1e28
RD
10819 PyObject * obj0 = 0 ;
10820 PyObject * obj1 = 0 ;
10821 char *kwnames[] = {
10822 (char *) "self",(char *) "name", NULL
10823 };
10824
10825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10828 {
10829 arg2 = wxString_in_helper(obj1);
10830 if (arg2 == NULL) SWIG_fail;
e811c8ce 10831 temp2 = True;
d14a1e28
RD
10832 }
10833 {
10834 PyThreadState* __tstate = wxPyBeginAllowThreads();
10835 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
10836
10837 wxPyEndAllowThreads(__tstate);
10838 if (PyErr_Occurred()) SWIG_fail;
10839 }
15afbcd0 10840 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10841 {
10842 if (temp2)
10843 delete arg2;
10844 }
10845 return resultobj;
10846 fail:
10847 {
10848 if (temp2)
10849 delete arg2;
10850 }
10851 return NULL;
10852}
10853
10854
10855static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10856 PyObject *resultobj;
10857 wxImage *arg1 = (wxImage *) 0 ;
10858 wxString *arg2 = 0 ;
10859 bool result;
e811c8ce 10860 bool temp2 = False ;
d14a1e28
RD
10861 PyObject * obj0 = 0 ;
10862 PyObject * obj1 = 0 ;
10863 char *kwnames[] = {
10864 (char *) "self",(char *) "name", NULL
10865 };
10866
10867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10870 {
10871 arg2 = wxString_in_helper(obj1);
10872 if (arg2 == NULL) SWIG_fail;
e811c8ce 10873 temp2 = True;
d14a1e28
RD
10874 }
10875 {
10876 PyThreadState* __tstate = wxPyBeginAllowThreads();
10877 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
10878
10879 wxPyEndAllowThreads(__tstate);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
4f89f6a3
RD
10882 {
10883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10884 }
d14a1e28
RD
10885 {
10886 if (temp2)
10887 delete arg2;
10888 }
10889 return resultobj;
10890 fail:
10891 {
10892 if (temp2)
10893 delete arg2;
10894 }
10895 return NULL;
10896}
10897
10898
10899static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
10900 PyObject *resultobj;
10901 wxImage *arg1 = (wxImage *) 0 ;
10902 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
10903 unsigned long result;
10904 PyObject * obj0 = 0 ;
10905 PyObject * obj1 = 0 ;
10906 char *kwnames[] = {
10907 (char *) "self",(char *) "stopafter", NULL
10908 };
10909
10910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10913 if (obj1) {
15afbcd0
RD
10914 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
10915 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10916 }
10917 {
10918 PyThreadState* __tstate = wxPyBeginAllowThreads();
10919 result = (unsigned long)(arg1)->CountColours(arg2);
10920
10921 wxPyEndAllowThreads(__tstate);
10922 if (PyErr_Occurred()) SWIG_fail;
10923 }
15afbcd0 10924 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
10925 return resultobj;
10926 fail:
10927 return NULL;
10928}
10929
10930
10931static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj;
10933 wxImage *arg1 = (wxImage *) 0 ;
10934 wxImageHistogram *arg2 = 0 ;
10935 unsigned long result;
10936 PyObject * obj0 = 0 ;
10937 PyObject * obj1 = 0 ;
10938 char *kwnames[] = {
10939 (char *) "self",(char *) "h", NULL
10940 };
10941
10942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
10943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
10946 SWIG_POINTER_EXCEPTION | 0)) == -1)
10947 SWIG_fail;
d14a1e28 10948 if (arg2 == NULL) {
15afbcd0
RD
10949 PyErr_SetString(PyExc_TypeError,"null reference");
10950 SWIG_fail;
d14a1e28
RD
10951 }
10952 {
10953 PyThreadState* __tstate = wxPyBeginAllowThreads();
10954 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
10955
10956 wxPyEndAllowThreads(__tstate);
10957 if (PyErr_Occurred()) SWIG_fail;
10958 }
15afbcd0 10959 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
10960 return resultobj;
10961 fail:
10962 return NULL;
10963}
10964
10965
10966static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10967 PyObject *resultobj;
10968 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10969 PyObject * obj0 = 0 ;
10970 char *kwnames[] = {
10971 (char *) "handler", NULL
10972 };
10973
10974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
10975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
10976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10977 {
10978 PyThreadState* __tstate = wxPyBeginAllowThreads();
10979 wxImage::AddHandler(arg1);
10980
10981 wxPyEndAllowThreads(__tstate);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 }
10984 Py_INCREF(Py_None); resultobj = Py_None;
10985 return resultobj;
10986 fail:
10987 return NULL;
10988}
10989
10990
10991static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10992 PyObject *resultobj;
10993 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10994 PyObject * obj0 = 0 ;
10995 char *kwnames[] = {
10996 (char *) "handler", NULL
10997 };
10998
10999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11002 {
11003 PyThreadState* __tstate = wxPyBeginAllowThreads();
11004 wxImage::InsertHandler(arg1);
11005
11006 wxPyEndAllowThreads(__tstate);
11007 if (PyErr_Occurred()) SWIG_fail;
11008 }
11009 Py_INCREF(Py_None); resultobj = Py_None;
11010 return resultobj;
11011 fail:
11012 return NULL;
11013}
11014
11015
11016static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11017 PyObject *resultobj;
11018 wxString *arg1 = 0 ;
11019 bool result;
e811c8ce 11020 bool temp1 = False ;
d14a1e28
RD
11021 PyObject * obj0 = 0 ;
11022 char *kwnames[] = {
11023 (char *) "name", NULL
11024 };
11025
11026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11027 {
11028 arg1 = wxString_in_helper(obj0);
11029 if (arg1 == NULL) SWIG_fail;
e811c8ce 11030 temp1 = True;
d14a1e28
RD
11031 }
11032 {
11033 PyThreadState* __tstate = wxPyBeginAllowThreads();
11034 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11035
11036 wxPyEndAllowThreads(__tstate);
11037 if (PyErr_Occurred()) SWIG_fail;
11038 }
4f89f6a3
RD
11039 {
11040 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11041 }
d14a1e28
RD
11042 {
11043 if (temp1)
11044 delete arg1;
11045 }
11046 return resultobj;
11047 fail:
11048 {
11049 if (temp1)
11050 delete arg1;
11051 }
11052 return NULL;
11053}
11054
11055
11056static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11057 PyObject *resultobj;
11058 wxString result;
11059 char *kwnames[] = {
11060 NULL
11061 };
11062
11063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11064 {
11065 PyThreadState* __tstate = wxPyBeginAllowThreads();
11066 result = wxImage::GetImageExtWildcard();
11067
11068 wxPyEndAllowThreads(__tstate);
11069 if (PyErr_Occurred()) SWIG_fail;
11070 }
11071 {
11072#if wxUSE_UNICODE
11073 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11074#else
11075 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11076#endif
11077 }
11078 return resultobj;
11079 fail:
11080 return NULL;
11081}
11082
11083
11084static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj;
11086 wxImage *arg1 = (wxImage *) 0 ;
11087 wxBitmap result;
11088 PyObject * obj0 = 0 ;
11089 char *kwnames[] = {
11090 (char *) "self", NULL
11091 };
11092
11093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
11094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11096 {
11097 PyThreadState* __tstate = wxPyBeginAllowThreads();
11098 result = wxImage_ConvertToBitmap(arg1);
11099
11100 wxPyEndAllowThreads(__tstate);
11101 if (PyErr_Occurred()) SWIG_fail;
11102 }
11103 {
11104 wxBitmap * resultptr;
11105 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11106 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11107 }
11108 return resultobj;
11109 fail:
11110 return NULL;
11111}
11112
11113
11114static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11115 PyObject *resultobj;
11116 wxImage *arg1 = (wxImage *) 0 ;
11117 unsigned char arg2 ;
11118 unsigned char arg3 ;
11119 unsigned char arg4 ;
11120 wxBitmap result;
11121 PyObject * obj0 = 0 ;
11122 PyObject * obj1 = 0 ;
11123 PyObject * obj2 = 0 ;
11124 PyObject * obj3 = 0 ;
11125 char *kwnames[] = {
11126 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11127 };
11128
11129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11132 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11133 if (PyErr_Occurred()) SWIG_fail;
11134 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11135 if (PyErr_Occurred()) SWIG_fail;
11136 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11137 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11138 {
11139 PyThreadState* __tstate = wxPyBeginAllowThreads();
11140 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11141
11142 wxPyEndAllowThreads(__tstate);
11143 if (PyErr_Occurred()) SWIG_fail;
11144 }
11145 {
11146 wxBitmap * resultptr;
11147 resultptr = new wxBitmap((wxBitmap &) result);
15afbcd0 11148 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11149 }
11150 return resultobj;
11151 fail:
11152 return NULL;
11153}
11154
11155
11156static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
11157 PyObject *obj;
11158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11159 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11160 Py_INCREF(obj);
11161 return Py_BuildValue((char *)"");
11162}
11163static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
11164 PyObject *resultobj;
11165 char *kwnames[] = {
11166 NULL
11167 };
11168
11169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
11170 {
11171 PyThreadState* __tstate = wxPyBeginAllowThreads();
11172 wxInitAllImageHandlers();
11173
11174 wxPyEndAllowThreads(__tstate);
11175 if (PyErr_Occurred()) SWIG_fail;
11176 }
11177 Py_INCREF(Py_None); resultobj = Py_None;
11178 return resultobj;
11179 fail:
11180 return NULL;
11181}
11182
11183
11184static int _wrap_NullImage_set(PyObject *_val) {
11185 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11186 return 1;
11187}
11188
11189
11190static PyObject *_wrap_NullImage_get() {
11191 PyObject *pyobj;
11192
15afbcd0 11193 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11194 return pyobj;
11195}
11196
11197
11198static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
11199 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11200 return 1;
11201}
11202
11203
11204static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11205 PyObject *pyobj;
11206
11207 {
11208#if wxUSE_UNICODE
11209 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11210#else
11211 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11212#endif
11213 }
11214 return pyobj;
11215}
11216
11217
11218static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
11219 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11220 return 1;
11221}
11222
11223
11224static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11225 PyObject *pyobj;
11226
11227 {
11228#if wxUSE_UNICODE
11229 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11230#else
11231 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11232#endif
11233 }
11234 return pyobj;
11235}
11236
11237
11238static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
11239 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11240 return 1;
11241}
11242
11243
11244static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11245 PyObject *pyobj;
11246
11247 {
11248#if wxUSE_UNICODE
11249 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11250#else
11251 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11252#endif
11253 }
11254 return pyobj;
11255}
11256
11257
11258static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
11259 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11260 return 1;
11261}
11262
11263
11264static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11265 PyObject *pyobj;
11266
11267 {
11268#if wxUSE_UNICODE
11269 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11270#else
11271 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11272#endif
11273 }
11274 return pyobj;
11275}
11276
11277
11278static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
11279 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11280 return 1;
11281}
11282
11283
11284static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11285 PyObject *pyobj;
11286
11287 {
11288#if wxUSE_UNICODE
11289 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11290#else
11291 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11292#endif
11293 }
11294 return pyobj;
11295}
11296
11297
11298static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxBMPHandler *result;
11301 char *kwnames[] = {
11302 NULL
11303 };
11304
11305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 result = (wxBMPHandler *)new wxBMPHandler();
11309
11310 wxPyEndAllowThreads(__tstate);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
15afbcd0 11313 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
11314 return resultobj;
11315 fail:
11316 return NULL;
11317}
11318
11319
11320static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
11321 PyObject *obj;
11322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11323 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11324 Py_INCREF(obj);
11325 return Py_BuildValue((char *)"");
11326}
11327static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11328 PyObject *resultobj;
11329 wxICOHandler *result;
11330 char *kwnames[] = {
11331 NULL
11332 };
11333
11334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11335 {
11336 PyThreadState* __tstate = wxPyBeginAllowThreads();
11337 result = (wxICOHandler *)new wxICOHandler();
11338
11339 wxPyEndAllowThreads(__tstate);
11340 if (PyErr_Occurred()) SWIG_fail;
11341 }
15afbcd0 11342 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
11343 return resultobj;
11344 fail:
11345 return NULL;
11346}
11347
11348
11349static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
11350 PyObject *obj;
11351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11352 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11353 Py_INCREF(obj);
11354 return Py_BuildValue((char *)"");
11355}
11356static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11357 PyObject *resultobj;
11358 wxCURHandler *result;
11359 char *kwnames[] = {
11360 NULL
11361 };
11362
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11364 {
11365 PyThreadState* __tstate = wxPyBeginAllowThreads();
11366 result = (wxCURHandler *)new wxCURHandler();
11367
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
15afbcd0 11371 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
11372 return resultobj;
11373 fail:
11374 return NULL;
11375}
11376
11377
11378static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
11379 PyObject *obj;
11380 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11381 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11382 Py_INCREF(obj);
11383 return Py_BuildValue((char *)"");
11384}
11385static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11386 PyObject *resultobj;
11387 wxANIHandler *result;
11388 char *kwnames[] = {
11389 NULL
11390 };
11391
11392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11393 {
11394 PyThreadState* __tstate = wxPyBeginAllowThreads();
11395 result = (wxANIHandler *)new wxANIHandler();
11396
11397 wxPyEndAllowThreads(__tstate);
11398 if (PyErr_Occurred()) SWIG_fail;
11399 }
15afbcd0 11400 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
11401 return resultobj;
11402 fail:
11403 return NULL;
11404}
11405
11406
11407static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
11408 PyObject *obj;
11409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11410 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11411 Py_INCREF(obj);
11412 return Py_BuildValue((char *)"");
11413}
11414static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11415 PyObject *resultobj;
11416 wxPNGHandler *result;
11417 char *kwnames[] = {
11418 NULL
11419 };
11420
11421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11422 {
11423 PyThreadState* __tstate = wxPyBeginAllowThreads();
11424 result = (wxPNGHandler *)new wxPNGHandler();
11425
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
15afbcd0 11429 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
11430 return resultobj;
11431 fail:
11432 return NULL;
11433}
11434
11435
11436static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
11437 PyObject *obj;
11438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11439 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11440 Py_INCREF(obj);
11441 return Py_BuildValue((char *)"");
11442}
11443static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11444 PyObject *resultobj;
11445 wxGIFHandler *result;
11446 char *kwnames[] = {
11447 NULL
11448 };
11449
11450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (wxGIFHandler *)new wxGIFHandler();
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
15afbcd0 11458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
11459 return resultobj;
11460 fail:
11461 return NULL;
11462}
11463
11464
11465static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
11466 PyObject *obj;
11467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11468 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11469 Py_INCREF(obj);
11470 return Py_BuildValue((char *)"");
11471}
11472static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11473 PyObject *resultobj;
11474 wxPCXHandler *result;
11475 char *kwnames[] = {
11476 NULL
11477 };
11478
11479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
11482 result = (wxPCXHandler *)new wxPCXHandler();
11483
11484 wxPyEndAllowThreads(__tstate);
11485 if (PyErr_Occurred()) SWIG_fail;
11486 }
15afbcd0 11487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
11488 return resultobj;
11489 fail:
11490 return NULL;
11491}
11492
11493
11494static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
11495 PyObject *obj;
11496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11497 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11498 Py_INCREF(obj);
11499 return Py_BuildValue((char *)"");
11500}
11501static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11502 PyObject *resultobj;
11503 wxJPEGHandler *result;
11504 char *kwnames[] = {
11505 NULL
11506 };
11507
11508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11509 {
11510 PyThreadState* __tstate = wxPyBeginAllowThreads();
11511 result = (wxJPEGHandler *)new wxJPEGHandler();
11512
11513 wxPyEndAllowThreads(__tstate);
11514 if (PyErr_Occurred()) SWIG_fail;
11515 }
15afbcd0 11516 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
11517 return resultobj;
11518 fail:
11519 return NULL;
11520}
11521
11522
11523static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
11524 PyObject *obj;
11525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11526 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11527 Py_INCREF(obj);
11528 return Py_BuildValue((char *)"");
11529}
11530static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11531 PyObject *resultobj;
11532 wxPNMHandler *result;
11533 char *kwnames[] = {
11534 NULL
11535 };
11536
11537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 result = (wxPNMHandler *)new wxPNMHandler();
11541
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
15afbcd0 11545 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
11546 return resultobj;
11547 fail:
11548 return NULL;
11549}
11550
11551
11552static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
11553 PyObject *obj;
11554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11555 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11556 Py_INCREF(obj);
11557 return Py_BuildValue((char *)"");
11558}
11559static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11560 PyObject *resultobj;
11561 wxXPMHandler *result;
11562 char *kwnames[] = {
11563 NULL
11564 };
11565
11566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11567 {
11568 PyThreadState* __tstate = wxPyBeginAllowThreads();
11569 result = (wxXPMHandler *)new wxXPMHandler();
11570
11571 wxPyEndAllowThreads(__tstate);
11572 if (PyErr_Occurred()) SWIG_fail;
11573 }
15afbcd0 11574 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
11575 return resultobj;
11576 fail:
11577 return NULL;
11578}
11579
11580
11581static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
11582 PyObject *obj;
11583 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11584 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11585 Py_INCREF(obj);
11586 return Py_BuildValue((char *)"");
11587}
11588static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11589 PyObject *resultobj;
11590 wxTIFFHandler *result;
11591 char *kwnames[] = {
11592 NULL
11593 };
11594
11595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11596 {
11597 PyThreadState* __tstate = wxPyBeginAllowThreads();
11598 result = (wxTIFFHandler *)new wxTIFFHandler();
11599
11600 wxPyEndAllowThreads(__tstate);
11601 if (PyErr_Occurred()) SWIG_fail;
11602 }
15afbcd0 11603 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
11604 return resultobj;
11605 fail:
11606 return NULL;
11607}
11608
11609
11610static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
11611 PyObject *obj;
11612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11613 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11614 Py_INCREF(obj);
11615 return Py_BuildValue((char *)"");
11616}
11617static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj;
11619 wxEvtHandler *result;
11620 char *kwnames[] = {
11621 NULL
11622 };
11623
11624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11625 {
11626 PyThreadState* __tstate = wxPyBeginAllowThreads();
11627 result = (wxEvtHandler *)new wxEvtHandler();
11628
11629 wxPyEndAllowThreads(__tstate);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 {
11633 resultobj = wxPyMake_wxObject(result);
11634 }
11635 return resultobj;
11636 fail:
11637 return NULL;
11638}
11639
11640
11641static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11642 PyObject *resultobj;
11643 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11644 wxEvtHandler *result;
11645 PyObject * obj0 = 0 ;
11646 char *kwnames[] = {
11647 (char *) "self", NULL
11648 };
11649
11650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
11651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11653 {
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 {
11661 resultobj = wxPyMake_wxObject(result);
11662 }
11663 return resultobj;
11664 fail:
11665 return NULL;
11666}
11667
11668
11669static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11670 PyObject *resultobj;
11671 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11672 wxEvtHandler *result;
11673 PyObject * obj0 = 0 ;
11674 char *kwnames[] = {
11675 (char *) "self", NULL
11676 };
11677
11678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
15afbcd0
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 = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11684
11685 wxPyEndAllowThreads(__tstate);
11686 if (PyErr_Occurred()) SWIG_fail;
11687 }
11688 {
11689 resultobj = wxPyMake_wxObject(result);
11690 }
11691 return resultobj;
11692 fail:
11693 return NULL;
11694}
11695
11696
11697static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11698 PyObject *resultobj;
11699 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11700 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11701 PyObject * obj0 = 0 ;
11702 PyObject * obj1 = 0 ;
11703 char *kwnames[] = {
11704 (char *) "self",(char *) "handler", NULL
11705 };
11706
11707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11710 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11712 {
11713 PyThreadState* __tstate = wxPyBeginAllowThreads();
11714 (arg1)->SetNextHandler(arg2);
11715
11716 wxPyEndAllowThreads(__tstate);
11717 if (PyErr_Occurred()) SWIG_fail;
11718 }
11719 Py_INCREF(Py_None); resultobj = Py_None;
11720 return resultobj;
11721 fail:
11722 return NULL;
11723}
11724
11725
11726static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11727 PyObject *resultobj;
11728 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11729 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11730 PyObject * obj0 = 0 ;
11731 PyObject * obj1 = 0 ;
11732 char *kwnames[] = {
11733 (char *) "self",(char *) "handler", NULL
11734 };
11735
11736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11741 {
11742 PyThreadState* __tstate = wxPyBeginAllowThreads();
11743 (arg1)->SetPreviousHandler(arg2);
11744
11745 wxPyEndAllowThreads(__tstate);
11746 if (PyErr_Occurred()) SWIG_fail;
11747 }
11748 Py_INCREF(Py_None); resultobj = Py_None;
11749 return resultobj;
11750 fail:
11751 return NULL;
11752}
11753
11754
11755static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11756 PyObject *resultobj;
11757 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11758 bool result;
11759 PyObject * obj0 = 0 ;
11760 char *kwnames[] = {
11761 (char *) "self", NULL
11762 };
11763
11764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
11765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11767 {
11768 PyThreadState* __tstate = wxPyBeginAllowThreads();
11769 result = (bool)(arg1)->GetEvtHandlerEnabled();
11770
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
4f89f6a3
RD
11774 {
11775 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11776 }
d14a1e28
RD
11777 return resultobj;
11778 fail:
11779 return NULL;
11780}
11781
11782
11783static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11786 bool arg2 ;
11787 PyObject * obj0 = 0 ;
11788 PyObject * obj1 = 0 ;
11789 char *kwnames[] = {
11790 (char *) "self",(char *) "enabled", NULL
11791 };
11792
11793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11796 arg2 = (bool) SWIG_AsBool(obj1);
11797 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11798 {
11799 PyThreadState* __tstate = wxPyBeginAllowThreads();
11800 (arg1)->SetEvtHandlerEnabled(arg2);
11801
11802 wxPyEndAllowThreads(__tstate);
11803 if (PyErr_Occurred()) SWIG_fail;
11804 }
11805 Py_INCREF(Py_None); resultobj = Py_None;
11806 return resultobj;
11807 fail:
11808 return NULL;
11809}
11810
11811
11812static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11813 PyObject *resultobj;
11814 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11815 wxEvent *arg2 = 0 ;
11816 bool result;
11817 PyObject * obj0 = 0 ;
11818 PyObject * obj1 = 0 ;
11819 char *kwnames[] = {
11820 (char *) "self",(char *) "event", NULL
11821 };
11822
11823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11827 SWIG_POINTER_EXCEPTION | 0)) == -1)
11828 SWIG_fail;
d14a1e28 11829 if (arg2 == NULL) {
15afbcd0
RD
11830 PyErr_SetString(PyExc_TypeError,"null reference");
11831 SWIG_fail;
d14a1e28
RD
11832 }
11833 {
11834 PyThreadState* __tstate = wxPyBeginAllowThreads();
11835 result = (bool)(arg1)->ProcessEvent(*arg2);
11836
11837 wxPyEndAllowThreads(__tstate);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 }
4f89f6a3
RD
11840 {
11841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11842 }
d14a1e28
RD
11843 return resultobj;
11844 fail:
11845 return NULL;
11846}
11847
11848
11849static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11850 PyObject *resultobj;
11851 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11852 wxEvent *arg2 = 0 ;
11853 PyObject * obj0 = 0 ;
11854 PyObject * obj1 = 0 ;
11855 char *kwnames[] = {
11856 (char *) "self",(char *) "event", NULL
11857 };
11858
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
11860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11862 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11863 SWIG_POINTER_EXCEPTION | 0)) == -1)
11864 SWIG_fail;
d14a1e28 11865 if (arg2 == NULL) {
15afbcd0
RD
11866 PyErr_SetString(PyExc_TypeError,"null reference");
11867 SWIG_fail;
d14a1e28
RD
11868 }
11869 {
11870 PyThreadState* __tstate = wxPyBeginAllowThreads();
11871 (arg1)->AddPendingEvent(*arg2);
11872
11873 wxPyEndAllowThreads(__tstate);
11874 if (PyErr_Occurred()) SWIG_fail;
11875 }
11876 Py_INCREF(Py_None); resultobj = Py_None;
11877 return resultobj;
11878 fail:
11879 return NULL;
11880}
11881
11882
11883static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
11884 PyObject *resultobj;
11885 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11886 PyObject * obj0 = 0 ;
11887 char *kwnames[] = {
11888 (char *) "self", NULL
11889 };
11890
11891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
11892 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11894 {
11895 PyThreadState* __tstate = wxPyBeginAllowThreads();
11896 (arg1)->ProcessPendingEvents();
11897
11898 wxPyEndAllowThreads(__tstate);
11899 if (PyErr_Occurred()) SWIG_fail;
11900 }
11901 Py_INCREF(Py_None); resultobj = Py_None;
11902 return resultobj;
11903 fail:
11904 return NULL;
11905}
11906
11907
11908static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
11909 PyObject *resultobj;
11910 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11911 int arg2 ;
11912 int arg3 ;
11913 int arg4 ;
11914 PyObject *arg5 = (PyObject *) 0 ;
11915 PyObject * obj0 = 0 ;
994141e6
RD
11916 PyObject * obj1 = 0 ;
11917 PyObject * obj2 = 0 ;
11918 PyObject * obj3 = 0 ;
d14a1e28
RD
11919 PyObject * obj4 = 0 ;
11920 char *kwnames[] = {
11921 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11922 };
11923
994141e6 11924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
11925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11927 arg2 = (int) SWIG_AsInt(obj1);
11928 if (PyErr_Occurred()) SWIG_fail;
11929 arg3 = (int) SWIG_AsInt(obj2);
11930 if (PyErr_Occurred()) SWIG_fail;
11931 arg4 = (int) SWIG_AsInt(obj3);
11932 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11933 arg5 = obj4;
11934 {
11935 PyThreadState* __tstate = wxPyBeginAllowThreads();
11936 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
11937
11938 wxPyEndAllowThreads(__tstate);
11939 if (PyErr_Occurred()) SWIG_fail;
11940 }
11941 Py_INCREF(Py_None); resultobj = Py_None;
11942 return resultobj;
11943 fail:
11944 return NULL;
11945}
11946
11947
11948static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
11949 PyObject *resultobj;
11950 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11951 int arg2 ;
11952 int arg3 = (int) -1 ;
11953 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
11954 bool result;
11955 PyObject * obj0 = 0 ;
994141e6
RD
11956 PyObject * obj1 = 0 ;
11957 PyObject * obj2 = 0 ;
11958 PyObject * obj3 = 0 ;
d14a1e28
RD
11959 char *kwnames[] = {
11960 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11961 };
11962
994141e6 11963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
11964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11966 arg2 = (int) SWIG_AsInt(obj1);
11967 if (PyErr_Occurred()) SWIG_fail;
994141e6 11968 if (obj2) {
15afbcd0
RD
11969 arg3 = (int) SWIG_AsInt(obj2);
11970 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
11971 }
11972 if (obj3) {
15afbcd0
RD
11973 arg4 = (wxEventType) SWIG_AsInt(obj3);
11974 if (PyErr_Occurred()) SWIG_fail;
994141e6 11975 }
d14a1e28
RD
11976 {
11977 PyThreadState* __tstate = wxPyBeginAllowThreads();
11978 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
11979
11980 wxPyEndAllowThreads(__tstate);
11981 if (PyErr_Occurred()) SWIG_fail;
11982 }
4f89f6a3
RD
11983 {
11984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11985 }
d14a1e28
RD
11986 return resultobj;
11987 fail:
11988 return NULL;
11989}
11990
11991
11992static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11993 PyObject *resultobj;
11994 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11995 PyObject *arg2 = (PyObject *) 0 ;
11996 PyObject * obj0 = 0 ;
11997 PyObject * obj1 = 0 ;
11998 char *kwnames[] = {
11999 (char *) "self",(char *) "_self", NULL
12000 };
12001
12002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12005 arg2 = obj1;
12006 {
12007 PyThreadState* __tstate = wxPyBeginAllowThreads();
12008 wxEvtHandler__setOORInfo(arg1,arg2);
12009
12010 wxPyEndAllowThreads(__tstate);
12011 if (PyErr_Occurred()) SWIG_fail;
12012 }
12013 Py_INCREF(Py_None); resultobj = Py_None;
12014 return resultobj;
12015 fail:
12016 return NULL;
12017}
12018
12019
12020static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
12021 PyObject *obj;
12022 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12023 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12024 Py_INCREF(obj);
12025 return Py_BuildValue((char *)"");
12026}
12027static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12028 PyObject *resultobj;
12029 wxEventType result;
12030 char *kwnames[] = {
12031 NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12035 {
12036 PyThreadState* __tstate = wxPyBeginAllowThreads();
12037 result = (wxEventType)wxNewEventType();
12038
12039 wxPyEndAllowThreads(__tstate);
12040 if (PyErr_Occurred()) SWIG_fail;
12041 }
15afbcd0 12042 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12043 return resultobj;
12044 fail:
12045 return NULL;
12046}
12047
12048
12049static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
12050 PyObject *resultobj;
12051 wxEvent *arg1 = (wxEvent *) 0 ;
12052 PyObject * obj0 = 0 ;
12053 char *kwnames[] = {
12054 (char *) "self", NULL
12055 };
12056
12057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
15afbcd0
RD
12058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12060 {
12061 PyThreadState* __tstate = wxPyBeginAllowThreads();
12062 delete arg1;
12063
12064 wxPyEndAllowThreads(__tstate);
12065 if (PyErr_Occurred()) SWIG_fail;
12066 }
12067 Py_INCREF(Py_None); resultobj = Py_None;
12068 return resultobj;
12069 fail:
12070 return NULL;
12071}
12072
12073
12074static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12075 PyObject *resultobj;
12076 wxEvent *arg1 = (wxEvent *) 0 ;
12077 wxEventType arg2 ;
12078 PyObject * obj0 = 0 ;
994141e6 12079 PyObject * obj1 = 0 ;
d14a1e28
RD
12080 char *kwnames[] = {
12081 (char *) "self",(char *) "typ", NULL
12082 };
12083
994141e6 12084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12087 arg2 = (wxEventType) SWIG_AsInt(obj1);
12088 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12089 {
12090 PyThreadState* __tstate = wxPyBeginAllowThreads();
12091 (arg1)->SetEventType(arg2);
12092
12093 wxPyEndAllowThreads(__tstate);
12094 if (PyErr_Occurred()) SWIG_fail;
12095 }
12096 Py_INCREF(Py_None); resultobj = Py_None;
12097 return resultobj;
12098 fail:
12099 return NULL;
12100}
12101
12102
12103static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12104 PyObject *resultobj;
12105 wxEvent *arg1 = (wxEvent *) 0 ;
12106 wxEventType result;
12107 PyObject * obj0 = 0 ;
12108 char *kwnames[] = {
12109 (char *) "self", NULL
12110 };
12111
12112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
15afbcd0
RD
12113 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12114 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12118
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
15afbcd0 12122 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12123 return resultobj;
12124 fail:
12125 return NULL;
12126}
12127
12128
12129static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12130 PyObject *resultobj;
12131 wxEvent *arg1 = (wxEvent *) 0 ;
12132 wxObject *result;
12133 PyObject * obj0 = 0 ;
12134 char *kwnames[] = {
12135 (char *) "self", NULL
12136 };
12137
12138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
15afbcd0
RD
12139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12141 {
12142 PyThreadState* __tstate = wxPyBeginAllowThreads();
12143 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12144
12145 wxPyEndAllowThreads(__tstate);
12146 if (PyErr_Occurred()) SWIG_fail;
12147 }
12148 {
12149 resultobj = wxPyMake_wxObject(result);
12150 }
12151 return resultobj;
12152 fail:
12153 return NULL;
12154}
12155
12156
12157static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12158 PyObject *resultobj;
12159 wxEvent *arg1 = (wxEvent *) 0 ;
12160 wxObject *arg2 = (wxObject *) 0 ;
12161 PyObject * obj0 = 0 ;
12162 PyObject * obj1 = 0 ;
12163 char *kwnames[] = {
12164 (char *) "self",(char *) "obj", NULL
12165 };
12166
12167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12172 {
12173 PyThreadState* __tstate = wxPyBeginAllowThreads();
12174 (arg1)->SetEventObject(arg2);
12175
12176 wxPyEndAllowThreads(__tstate);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 }
12179 Py_INCREF(Py_None); resultobj = Py_None;
12180 return resultobj;
12181 fail:
12182 return NULL;
12183}
12184
12185
12186static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12187 PyObject *resultobj;
12188 wxEvent *arg1 = (wxEvent *) 0 ;
12189 long result;
12190 PyObject * obj0 = 0 ;
12191 char *kwnames[] = {
12192 (char *) "self", NULL
12193 };
12194
12195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
15afbcd0
RD
12196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12198 {
12199 PyThreadState* __tstate = wxPyBeginAllowThreads();
12200 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12201
12202 wxPyEndAllowThreads(__tstate);
12203 if (PyErr_Occurred()) SWIG_fail;
12204 }
15afbcd0 12205 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12206 return resultobj;
12207 fail:
12208 return NULL;
12209}
12210
12211
12212static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12213 PyObject *resultobj;
12214 wxEvent *arg1 = (wxEvent *) 0 ;
12215 long arg2 = (long) 0 ;
12216 PyObject * obj0 = 0 ;
994141e6 12217 PyObject * obj1 = 0 ;
d14a1e28
RD
12218 char *kwnames[] = {
12219 (char *) "self",(char *) "ts", NULL
12220 };
12221
994141e6 12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 12225 if (obj1) {
15afbcd0
RD
12226 arg2 = (long) SWIG_AsLong(obj1);
12227 if (PyErr_Occurred()) SWIG_fail;
994141e6 12228 }
d14a1e28
RD
12229 {
12230 PyThreadState* __tstate = wxPyBeginAllowThreads();
12231 (arg1)->SetTimestamp(arg2);
12232
12233 wxPyEndAllowThreads(__tstate);
12234 if (PyErr_Occurred()) SWIG_fail;
12235 }
12236 Py_INCREF(Py_None); resultobj = Py_None;
12237 return resultobj;
12238 fail:
12239 return NULL;
12240}
12241
12242
12243static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12244 PyObject *resultobj;
12245 wxEvent *arg1 = (wxEvent *) 0 ;
12246 int result;
12247 PyObject * obj0 = 0 ;
12248 char *kwnames[] = {
12249 (char *) "self", NULL
12250 };
12251
12252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
12253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 result = (int)((wxEvent const *)arg1)->GetId();
12258
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) SWIG_fail;
12261 }
15afbcd0 12262 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12263 return resultobj;
12264 fail:
12265 return NULL;
12266}
12267
12268
12269static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12270 PyObject *resultobj;
12271 wxEvent *arg1 = (wxEvent *) 0 ;
12272 int arg2 ;
12273 PyObject * obj0 = 0 ;
994141e6 12274 PyObject * obj1 = 0 ;
d14a1e28
RD
12275 char *kwnames[] = {
12276 (char *) "self",(char *) "Id", NULL
12277 };
12278
994141e6 12279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12282 arg2 = (int) SWIG_AsInt(obj1);
12283 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12284 {
12285 PyThreadState* __tstate = wxPyBeginAllowThreads();
12286 (arg1)->SetId(arg2);
12287
12288 wxPyEndAllowThreads(__tstate);
12289 if (PyErr_Occurred()) SWIG_fail;
12290 }
12291 Py_INCREF(Py_None); resultobj = Py_None;
12292 return resultobj;
12293 fail:
12294 return NULL;
12295}
12296
12297
12298static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12299 PyObject *resultobj;
12300 wxEvent *arg1 = (wxEvent *) 0 ;
12301 bool result;
12302 PyObject * obj0 = 0 ;
12303 char *kwnames[] = {
12304 (char *) "self", NULL
12305 };
12306
12307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
12308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12313
12314 wxPyEndAllowThreads(__tstate);
12315 if (PyErr_Occurred()) SWIG_fail;
12316 }
4f89f6a3
RD
12317 {
12318 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12319 }
d14a1e28
RD
12320 return resultobj;
12321 fail:
12322 return NULL;
12323}
12324
12325
12326static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
12327 PyObject *resultobj;
12328 wxEvent *arg1 = (wxEvent *) 0 ;
e811c8ce 12329 bool arg2 = (bool) True ;
d14a1e28
RD
12330 PyObject * obj0 = 0 ;
12331 PyObject * obj1 = 0 ;
12332 char *kwnames[] = {
12333 (char *) "self",(char *) "skip", NULL
12334 };
12335
12336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12339 if (obj1) {
15afbcd0
RD
12340 arg2 = (bool) SWIG_AsBool(obj1);
12341 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12342 }
12343 {
12344 PyThreadState* __tstate = wxPyBeginAllowThreads();
12345 (arg1)->Skip(arg2);
12346
12347 wxPyEndAllowThreads(__tstate);
12348 if (PyErr_Occurred()) SWIG_fail;
12349 }
12350 Py_INCREF(Py_None); resultobj = Py_None;
12351 return resultobj;
12352 fail:
12353 return NULL;
12354}
12355
12356
12357static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
12358 PyObject *resultobj;
12359 wxEvent *arg1 = (wxEvent *) 0 ;
12360 bool result;
12361 PyObject * obj0 = 0 ;
12362 char *kwnames[] = {
12363 (char *) "self", NULL
12364 };
12365
12366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
15afbcd0
RD
12367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12369 {
12370 PyThreadState* __tstate = wxPyBeginAllowThreads();
12371 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12372
12373 wxPyEndAllowThreads(__tstate);
12374 if (PyErr_Occurred()) SWIG_fail;
12375 }
4f89f6a3
RD
12376 {
12377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12378 }
d14a1e28
RD
12379 return resultobj;
12380 fail:
12381 return NULL;
12382}
12383
12384
12385static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
12386 PyObject *resultobj;
12387 wxEvent *arg1 = (wxEvent *) 0 ;
12388 bool result;
12389 PyObject * obj0 = 0 ;
12390 char *kwnames[] = {
12391 (char *) "self", NULL
12392 };
12393
12394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
15afbcd0
RD
12395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12397 {
12398 PyThreadState* __tstate = wxPyBeginAllowThreads();
12399 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12400
12401 wxPyEndAllowThreads(__tstate);
12402 if (PyErr_Occurred()) SWIG_fail;
12403 }
4f89f6a3
RD
12404 {
12405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12406 }
d14a1e28
RD
12407 return resultobj;
12408 fail:
12409 return NULL;
12410}
12411
12412
12413static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12414 PyObject *resultobj;
12415 wxEvent *arg1 = (wxEvent *) 0 ;
12416 int result;
12417 PyObject * obj0 = 0 ;
12418 char *kwnames[] = {
12419 (char *) "self", NULL
12420 };
12421
12422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
15afbcd0
RD
12423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 result = (int)(arg1)->StopPropagation();
12428
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
15afbcd0 12432 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12433 return resultobj;
12434 fail:
12435 return NULL;
12436}
12437
12438
12439static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12440 PyObject *resultobj;
12441 wxEvent *arg1 = (wxEvent *) 0 ;
12442 int arg2 ;
12443 PyObject * obj0 = 0 ;
994141e6 12444 PyObject * obj1 = 0 ;
d14a1e28
RD
12445 char *kwnames[] = {
12446 (char *) "self",(char *) "propagationLevel", NULL
12447 };
12448
994141e6 12449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12452 arg2 = (int) SWIG_AsInt(obj1);
12453 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 (arg1)->ResumePropagation(arg2);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 Py_INCREF(Py_None); resultobj = Py_None;
12462 return resultobj;
12463 fail:
12464 return NULL;
12465}
12466
12467
12468static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxEvent *arg1 = (wxEvent *) 0 ;
12471 wxEvent *result;
12472 PyObject * obj0 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self", NULL
12475 };
12476
12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
12478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12480 {
12481 PyThreadState* __tstate = wxPyBeginAllowThreads();
12482 result = (wxEvent *)(arg1)->Clone();
12483
12484 wxPyEndAllowThreads(__tstate);
12485 if (PyErr_Occurred()) SWIG_fail;
12486 }
15afbcd0 12487 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12488 return resultobj;
12489 fail:
12490 return NULL;
12491}
12492
12493
12494static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
12495 PyObject *obj;
12496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12497 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12498 Py_INCREF(obj);
12499 return Py_BuildValue((char *)"");
12500}
12501static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12502 PyObject *resultobj;
12503 wxEvent *arg1 = 0 ;
12504 wxPropagationDisabler *result;
12505 PyObject * obj0 = 0 ;
12506 char *kwnames[] = {
12507 (char *) "event", NULL
12508 };
12509
12510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12512 SWIG_POINTER_EXCEPTION | 0)) == -1)
12513 SWIG_fail;
d14a1e28 12514 if (arg1 == NULL) {
15afbcd0
RD
12515 PyErr_SetString(PyExc_TypeError,"null reference");
12516 SWIG_fail;
d14a1e28
RD
12517 }
12518 {
12519 PyThreadState* __tstate = wxPyBeginAllowThreads();
12520 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12521
12522 wxPyEndAllowThreads(__tstate);
12523 if (PyErr_Occurred()) SWIG_fail;
12524 }
15afbcd0 12525 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
12526 return resultobj;
12527 fail:
12528 return NULL;
12529}
12530
12531
12532static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12533 PyObject *resultobj;
12534 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12535 PyObject * obj0 = 0 ;
12536 char *kwnames[] = {
12537 (char *) "self", NULL
12538 };
12539
12540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
15afbcd0
RD
12541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12543 {
12544 PyThreadState* __tstate = wxPyBeginAllowThreads();
12545 delete arg1;
12546
12547 wxPyEndAllowThreads(__tstate);
12548 if (PyErr_Occurred()) SWIG_fail;
12549 }
12550 Py_INCREF(Py_None); resultobj = Py_None;
12551 return resultobj;
12552 fail:
12553 return NULL;
12554}
12555
12556
12557static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
12558 PyObject *obj;
12559 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12560 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12561 Py_INCREF(obj);
12562 return Py_BuildValue((char *)"");
12563}
12564static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12565 PyObject *resultobj;
12566 wxEvent *arg1 = 0 ;
12567 wxPropagateOnce *result;
12568 PyObject * obj0 = 0 ;
12569 char *kwnames[] = {
12570 (char *) "event", NULL
12571 };
12572
12573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
12574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12575 SWIG_POINTER_EXCEPTION | 0)) == -1)
12576 SWIG_fail;
d14a1e28 12577 if (arg1 == NULL) {
15afbcd0
RD
12578 PyErr_SetString(PyExc_TypeError,"null reference");
12579 SWIG_fail;
d14a1e28
RD
12580 }
12581 {
12582 PyThreadState* __tstate = wxPyBeginAllowThreads();
12583 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12584
12585 wxPyEndAllowThreads(__tstate);
12586 if (PyErr_Occurred()) SWIG_fail;
12587 }
15afbcd0 12588 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
12589 return resultobj;
12590 fail:
12591 return NULL;
12592}
12593
12594
12595static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12596 PyObject *resultobj;
12597 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12598 PyObject * obj0 = 0 ;
12599 char *kwnames[] = {
12600 (char *) "self", NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
15afbcd0
RD
12604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 delete arg1;
12609
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 Py_INCREF(Py_None); resultobj = Py_None;
12614 return resultobj;
12615 fail:
12616 return NULL;
12617}
12618
12619
12620static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
12621 PyObject *obj;
12622 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12623 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12624 Py_INCREF(obj);
12625 return Py_BuildValue((char *)"");
12626}
12627static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12628 PyObject *resultobj;
12629 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12630 int arg2 = (int) 0 ;
12631 wxCommandEvent *result;
994141e6
RD
12632 PyObject * obj0 = 0 ;
12633 PyObject * obj1 = 0 ;
d14a1e28
RD
12634 char *kwnames[] = {
12635 (char *) "commandType",(char *) "winid", NULL
12636 };
12637
994141e6
RD
12638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12639 if (obj0) {
15afbcd0
RD
12640 arg1 = (wxEventType) SWIG_AsInt(obj0);
12641 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12642 }
12643 if (obj1) {
15afbcd0
RD
12644 arg2 = (int) SWIG_AsInt(obj1);
12645 if (PyErr_Occurred()) SWIG_fail;
994141e6 12646 }
d14a1e28
RD
12647 {
12648 PyThreadState* __tstate = wxPyBeginAllowThreads();
12649 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12650
12651 wxPyEndAllowThreads(__tstate);
12652 if (PyErr_Occurred()) SWIG_fail;
12653 }
15afbcd0 12654 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
12655 return resultobj;
12656 fail:
12657 return NULL;
12658}
12659
12660
12661static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12662 PyObject *resultobj;
12663 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12664 int result;
12665 PyObject * obj0 = 0 ;
12666 char *kwnames[] = {
12667 (char *) "self", NULL
12668 };
12669
12670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12673 {
12674 PyThreadState* __tstate = wxPyBeginAllowThreads();
12675 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12676
12677 wxPyEndAllowThreads(__tstate);
12678 if (PyErr_Occurred()) SWIG_fail;
12679 }
15afbcd0 12680 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12681 return resultobj;
12682 fail:
12683 return NULL;
12684}
12685
12686
12687static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12688 PyObject *resultobj;
12689 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12690 wxString *arg2 = 0 ;
e811c8ce 12691 bool temp2 = False ;
d14a1e28
RD
12692 PyObject * obj0 = 0 ;
12693 PyObject * obj1 = 0 ;
12694 char *kwnames[] = {
12695 (char *) "self",(char *) "s", NULL
12696 };
12697
12698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12701 {
12702 arg2 = wxString_in_helper(obj1);
12703 if (arg2 == NULL) SWIG_fail;
e811c8ce 12704 temp2 = True;
d14a1e28
RD
12705 }
12706 {
12707 PyThreadState* __tstate = wxPyBeginAllowThreads();
12708 (arg1)->SetString((wxString const &)*arg2);
12709
12710 wxPyEndAllowThreads(__tstate);
12711 if (PyErr_Occurred()) SWIG_fail;
12712 }
12713 Py_INCREF(Py_None); resultobj = Py_None;
12714 {
12715 if (temp2)
12716 delete arg2;
12717 }
12718 return resultobj;
12719 fail:
12720 {
12721 if (temp2)
12722 delete arg2;
12723 }
12724 return NULL;
12725}
12726
12727
12728static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12729 PyObject *resultobj;
12730 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12731 wxString result;
12732 PyObject * obj0 = 0 ;
12733 char *kwnames[] = {
12734 (char *) "self", NULL
12735 };
12736
12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
15afbcd0
RD
12738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12740 {
12741 PyThreadState* __tstate = wxPyBeginAllowThreads();
12742 result = ((wxCommandEvent const *)arg1)->GetString();
12743
12744 wxPyEndAllowThreads(__tstate);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 }
12747 {
12748#if wxUSE_UNICODE
12749 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12750#else
12751 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12752#endif
12753 }
12754 return resultobj;
12755 fail:
12756 return NULL;
12757}
12758
12759
12760static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
12761 PyObject *resultobj;
12762 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12763 bool result;
12764 PyObject * obj0 = 0 ;
12765 char *kwnames[] = {
12766 (char *) "self", NULL
12767 };
12768
12769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
12770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12772 {
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
12774 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12775
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
4f89f6a3
RD
12779 {
12780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12781 }
d14a1e28
RD
12782 return resultobj;
12783 fail:
12784 return NULL;
12785}
12786
12787
12788static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12789 PyObject *resultobj;
12790 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12791 bool result;
12792 PyObject * obj0 = 0 ;
12793 char *kwnames[] = {
12794 (char *) "self", NULL
12795 };
12796
12797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
12798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12800 {
12801 PyThreadState* __tstate = wxPyBeginAllowThreads();
12802 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12803
12804 wxPyEndAllowThreads(__tstate);
12805 if (PyErr_Occurred()) SWIG_fail;
12806 }
4f89f6a3
RD
12807 {
12808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12809 }
d14a1e28
RD
12810 return resultobj;
12811 fail:
12812 return NULL;
12813}
12814
12815
12816static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12817 PyObject *resultobj;
12818 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12819 long arg2 ;
12820 PyObject * obj0 = 0 ;
994141e6 12821 PyObject * obj1 = 0 ;
d14a1e28
RD
12822 char *kwnames[] = {
12823 (char *) "self",(char *) "extraLong", NULL
12824 };
12825
994141e6 12826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12829 arg2 = (long) SWIG_AsLong(obj1);
12830 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12831 {
12832 PyThreadState* __tstate = wxPyBeginAllowThreads();
12833 (arg1)->SetExtraLong(arg2);
12834
12835 wxPyEndAllowThreads(__tstate);
12836 if (PyErr_Occurred()) SWIG_fail;
12837 }
12838 Py_INCREF(Py_None); resultobj = Py_None;
12839 return resultobj;
12840 fail:
12841 return NULL;
12842}
12843
12844
12845static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12846 PyObject *resultobj;
12847 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12848 long result;
12849 PyObject * obj0 = 0 ;
12850 char *kwnames[] = {
12851 (char *) "self", NULL
12852 };
12853
12854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
15afbcd0
RD
12855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12857 {
12858 PyThreadState* __tstate = wxPyBeginAllowThreads();
12859 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
12860
12861 wxPyEndAllowThreads(__tstate);
12862 if (PyErr_Occurred()) SWIG_fail;
12863 }
15afbcd0 12864 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12865 return resultobj;
12866 fail:
12867 return NULL;
12868}
12869
12870
12871static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
12872 PyObject *resultobj;
12873 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12874 int arg2 ;
12875 PyObject * obj0 = 0 ;
994141e6 12876 PyObject * obj1 = 0 ;
d14a1e28
RD
12877 char *kwnames[] = {
12878 (char *) "self",(char *) "i", NULL
12879 };
12880
994141e6 12881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
12882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12884 arg2 = (int) SWIG_AsInt(obj1);
12885 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12886 {
12887 PyThreadState* __tstate = wxPyBeginAllowThreads();
12888 (arg1)->SetInt(arg2);
12889
12890 wxPyEndAllowThreads(__tstate);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
12893 Py_INCREF(Py_None); resultobj = Py_None;
12894 return resultobj;
12895 fail:
12896 return NULL;
12897}
12898
12899
12900static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
12901 PyObject *resultobj;
12902 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12903 long result;
12904 PyObject * obj0 = 0 ;
12905 char *kwnames[] = {
12906 (char *) "self", NULL
12907 };
12908
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
15afbcd0
RD
12910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 result = (long)((wxCommandEvent const *)arg1)->GetInt();
12915
12916 wxPyEndAllowThreads(__tstate);
12917 if (PyErr_Occurred()) SWIG_fail;
12918 }
15afbcd0 12919 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12920 return resultobj;
12921 fail:
12922 return NULL;
12923}
12924
12925
12926static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12927 PyObject *resultobj;
12928 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12929 wxEvent *result;
12930 PyObject * obj0 = 0 ;
12931 char *kwnames[] = {
12932 (char *) "self", NULL
12933 };
12934
12935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
12936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12938 {
12939 PyThreadState* __tstate = wxPyBeginAllowThreads();
12940 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
12941
12942 wxPyEndAllowThreads(__tstate);
12943 if (PyErr_Occurred()) SWIG_fail;
12944 }
15afbcd0 12945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12946 return resultobj;
12947 fail:
12948 return NULL;
12949}
12950
12951
12952static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
12953 PyObject *obj;
12954 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12955 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
12956 Py_INCREF(obj);
12957 return Py_BuildValue((char *)"");
12958}
12959static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12960 PyObject *resultobj;
12961 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12962 int arg2 = (int) 0 ;
12963 wxNotifyEvent *result;
994141e6
RD
12964 PyObject * obj0 = 0 ;
12965 PyObject * obj1 = 0 ;
d14a1e28
RD
12966 char *kwnames[] = {
12967 (char *) "commandType",(char *) "winid", NULL
12968 };
12969
994141e6
RD
12970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
12971 if (obj0) {
15afbcd0
RD
12972 arg1 = (wxEventType) SWIG_AsInt(obj0);
12973 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
12974 }
12975 if (obj1) {
15afbcd0
RD
12976 arg2 = (int) SWIG_AsInt(obj1);
12977 if (PyErr_Occurred()) SWIG_fail;
994141e6 12978 }
d14a1e28
RD
12979 {
12980 PyThreadState* __tstate = wxPyBeginAllowThreads();
12981 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
12982
12983 wxPyEndAllowThreads(__tstate);
12984 if (PyErr_Occurred()) SWIG_fail;
12985 }
15afbcd0 12986 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
12987 return resultobj;
12988 fail:
12989 return NULL;
12990}
12991
12992
12993static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
12994 PyObject *resultobj;
12995 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
12996 PyObject * obj0 = 0 ;
12997 char *kwnames[] = {
12998 (char *) "self", NULL
12999 };
13000
13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
15afbcd0
RD
13002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13004 {
13005 PyThreadState* __tstate = wxPyBeginAllowThreads();
13006 (arg1)->Veto();
13007
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
13011 Py_INCREF(Py_None); resultobj = Py_None;
13012 return resultobj;
13013 fail:
13014 return NULL;
13015}
13016
13017
13018static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
13019 PyObject *resultobj;
13020 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13021 PyObject * obj0 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
15afbcd0
RD
13027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13029 {
13030 PyThreadState* __tstate = wxPyBeginAllowThreads();
13031 (arg1)->Allow();
13032
13033 wxPyEndAllowThreads(__tstate);
13034 if (PyErr_Occurred()) SWIG_fail;
13035 }
13036 Py_INCREF(Py_None); resultobj = Py_None;
13037 return resultobj;
13038 fail:
13039 return NULL;
13040}
13041
13042
13043static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
13044 PyObject *resultobj;
13045 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13046 bool result;
13047 PyObject * obj0 = 0 ;
13048 char *kwnames[] = {
13049 (char *) "self", NULL
13050 };
13051
13052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
15afbcd0
RD
13053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13055 {
13056 PyThreadState* __tstate = wxPyBeginAllowThreads();
13057 result = (bool)(arg1)->IsAllowed();
13058
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
4f89f6a3
RD
13062 {
13063 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13064 }
d14a1e28
RD
13065 return resultobj;
13066 fail:
13067 return NULL;
13068}
13069
13070
13071static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
13072 PyObject *obj;
13073 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13074 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13075 Py_INCREF(obj);
13076 return Py_BuildValue((char *)"");
13077}
13078static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13079 PyObject *resultobj;
13080 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13081 int arg2 = (int) 0 ;
13082 int arg3 = (int) 0 ;
13083 int arg4 = (int) 0 ;
13084 wxScrollEvent *result;
994141e6
RD
13085 PyObject * obj0 = 0 ;
13086 PyObject * obj1 = 0 ;
13087 PyObject * obj2 = 0 ;
13088 PyObject * obj3 = 0 ;
d14a1e28
RD
13089 char *kwnames[] = {
13090 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13091 };
13092
994141e6
RD
13093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13094 if (obj0) {
15afbcd0
RD
13095 arg1 = (wxEventType) SWIG_AsInt(obj0);
13096 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13097 }
13098 if (obj1) {
15afbcd0
RD
13099 arg2 = (int) SWIG_AsInt(obj1);
13100 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13101 }
13102 if (obj2) {
15afbcd0
RD
13103 arg3 = (int) SWIG_AsInt(obj2);
13104 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13105 }
13106 if (obj3) {
15afbcd0
RD
13107 arg4 = (int) SWIG_AsInt(obj3);
13108 if (PyErr_Occurred()) SWIG_fail;
994141e6 13109 }
d14a1e28
RD
13110 {
13111 PyThreadState* __tstate = wxPyBeginAllowThreads();
13112 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13113
13114 wxPyEndAllowThreads(__tstate);
13115 if (PyErr_Occurred()) SWIG_fail;
13116 }
15afbcd0 13117 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
13118 return resultobj;
13119 fail:
13120 return NULL;
13121}
13122
13123
13124static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13125 PyObject *resultobj;
13126 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13127 int result;
13128 PyObject * obj0 = 0 ;
13129 char *kwnames[] = {
13130 (char *) "self", NULL
13131 };
13132
13133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
15afbcd0 13143 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13144 return resultobj;
13145 fail:
13146 return NULL;
13147}
13148
13149
13150static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13151 PyObject *resultobj;
13152 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13153 int result;
13154 PyObject * obj0 = 0 ;
13155 char *kwnames[] = {
13156 (char *) "self", NULL
13157 };
13158
13159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13162 {
13163 PyThreadState* __tstate = wxPyBeginAllowThreads();
13164 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13165
13166 wxPyEndAllowThreads(__tstate);
13167 if (PyErr_Occurred()) SWIG_fail;
13168 }
15afbcd0 13169 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13170 return resultobj;
13171 fail:
13172 return NULL;
13173}
13174
13175
13176static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13177 PyObject *resultobj;
13178 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13179 int arg2 ;
13180 PyObject * obj0 = 0 ;
994141e6 13181 PyObject * obj1 = 0 ;
d14a1e28
RD
13182 char *kwnames[] = {
13183 (char *) "self",(char *) "orient", NULL
13184 };
13185
994141e6 13186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13189 arg2 = (int) SWIG_AsInt(obj1);
13190 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13191 {
13192 PyThreadState* __tstate = wxPyBeginAllowThreads();
13193 (arg1)->SetOrientation(arg2);
13194
13195 wxPyEndAllowThreads(__tstate);
13196 if (PyErr_Occurred()) SWIG_fail;
13197 }
13198 Py_INCREF(Py_None); resultobj = Py_None;
13199 return resultobj;
13200 fail:
13201 return NULL;
13202}
13203
13204
13205static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13206 PyObject *resultobj;
13207 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13208 int arg2 ;
13209 PyObject * obj0 = 0 ;
994141e6 13210 PyObject * obj1 = 0 ;
d14a1e28
RD
13211 char *kwnames[] = {
13212 (char *) "self",(char *) "pos", NULL
13213 };
13214
994141e6 13215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13218 arg2 = (int) SWIG_AsInt(obj1);
13219 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13220 {
13221 PyThreadState* __tstate = wxPyBeginAllowThreads();
13222 (arg1)->SetPosition(arg2);
13223
13224 wxPyEndAllowThreads(__tstate);
13225 if (PyErr_Occurred()) SWIG_fail;
13226 }
13227 Py_INCREF(Py_None); resultobj = Py_None;
13228 return resultobj;
13229 fail:
13230 return NULL;
13231}
13232
13233
13234static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
13235 PyObject *obj;
13236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13237 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13238 Py_INCREF(obj);
13239 return Py_BuildValue((char *)"");
13240}
13241static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13242 PyObject *resultobj;
13243 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13244 int arg2 = (int) 0 ;
13245 int arg3 = (int) 0 ;
13246 wxScrollWinEvent *result;
994141e6
RD
13247 PyObject * obj0 = 0 ;
13248 PyObject * obj1 = 0 ;
13249 PyObject * obj2 = 0 ;
d14a1e28
RD
13250 char *kwnames[] = {
13251 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13252 };
13253
994141e6
RD
13254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13255 if (obj0) {
15afbcd0
RD
13256 arg1 = (wxEventType) SWIG_AsInt(obj0);
13257 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13258 }
13259 if (obj1) {
15afbcd0
RD
13260 arg2 = (int) SWIG_AsInt(obj1);
13261 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
13262 }
13263 if (obj2) {
15afbcd0
RD
13264 arg3 = (int) SWIG_AsInt(obj2);
13265 if (PyErr_Occurred()) SWIG_fail;
994141e6 13266 }
d14a1e28
RD
13267 {
13268 PyThreadState* __tstate = wxPyBeginAllowThreads();
13269 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13270
13271 wxPyEndAllowThreads(__tstate);
13272 if (PyErr_Occurred()) SWIG_fail;
13273 }
15afbcd0 13274 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
13275 return resultobj;
13276 fail:
13277 return NULL;
13278}
13279
13280
13281static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13282 PyObject *resultobj;
13283 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13284 int result;
13285 PyObject * obj0 = 0 ;
13286 char *kwnames[] = {
13287 (char *) "self", NULL
13288 };
13289
13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
13291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13293 {
13294 PyThreadState* __tstate = wxPyBeginAllowThreads();
13295 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13296
13297 wxPyEndAllowThreads(__tstate);
13298 if (PyErr_Occurred()) SWIG_fail;
13299 }
15afbcd0 13300 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13301 return resultobj;
13302 fail:
13303 return NULL;
13304}
13305
13306
13307static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13308 PyObject *resultobj;
13309 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13310 int result;
13311 PyObject * obj0 = 0 ;
13312 char *kwnames[] = {
13313 (char *) "self", NULL
13314 };
13315
13316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
13317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13319 {
13320 PyThreadState* __tstate = wxPyBeginAllowThreads();
13321 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13322
13323 wxPyEndAllowThreads(__tstate);
13324 if (PyErr_Occurred()) SWIG_fail;
13325 }
15afbcd0 13326 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13327 return resultobj;
13328 fail:
13329 return NULL;
13330}
13331
13332
13333static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13334 PyObject *resultobj;
13335 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13336 int arg2 ;
13337 PyObject * obj0 = 0 ;
994141e6 13338 PyObject * obj1 = 0 ;
d14a1e28
RD
13339 char *kwnames[] = {
13340 (char *) "self",(char *) "orient", NULL
13341 };
13342
994141e6 13343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13346 arg2 = (int) SWIG_AsInt(obj1);
13347 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13348 {
13349 PyThreadState* __tstate = wxPyBeginAllowThreads();
13350 (arg1)->SetOrientation(arg2);
13351
13352 wxPyEndAllowThreads(__tstate);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 }
13355 Py_INCREF(Py_None); resultobj = Py_None;
13356 return resultobj;
13357 fail:
13358 return NULL;
13359}
13360
13361
13362static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13363 PyObject *resultobj;
13364 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13365 int arg2 ;
13366 PyObject * obj0 = 0 ;
994141e6 13367 PyObject * obj1 = 0 ;
d14a1e28
RD
13368 char *kwnames[] = {
13369 (char *) "self",(char *) "pos", NULL
13370 };
13371
994141e6 13372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13375 arg2 = (int) SWIG_AsInt(obj1);
13376 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13377 {
13378 PyThreadState* __tstate = wxPyBeginAllowThreads();
13379 (arg1)->SetPosition(arg2);
13380
13381 wxPyEndAllowThreads(__tstate);
13382 if (PyErr_Occurred()) SWIG_fail;
13383 }
13384 Py_INCREF(Py_None); resultobj = Py_None;
13385 return resultobj;
13386 fail:
13387 return NULL;
13388}
13389
13390
13391static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
13392 PyObject *obj;
13393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13394 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13395 Py_INCREF(obj);
13396 return Py_BuildValue((char *)"");
13397}
13398static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13399 PyObject *resultobj;
13400 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13401 wxMouseEvent *result;
994141e6 13402 PyObject * obj0 = 0 ;
d14a1e28
RD
13403 char *kwnames[] = {
13404 (char *) "mouseType", NULL
13405 };
13406
994141e6
RD
13407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13408 if (obj0) {
15afbcd0
RD
13409 arg1 = (wxEventType) SWIG_AsInt(obj0);
13410 if (PyErr_Occurred()) SWIG_fail;
994141e6 13411 }
d14a1e28
RD
13412 {
13413 PyThreadState* __tstate = wxPyBeginAllowThreads();
13414 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13415
13416 wxPyEndAllowThreads(__tstate);
13417 if (PyErr_Occurred()) SWIG_fail;
13418 }
13419 {
13420 resultobj = wxPyMake_wxObject(result);
13421 }
13422 return resultobj;
13423 fail:
13424 return NULL;
13425}
13426
13427
13428static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13429 PyObject *resultobj;
13430 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13431 bool result;
13432 PyObject * obj0 = 0 ;
13433 char *kwnames[] = {
13434 (char *) "self", NULL
13435 };
13436
13437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
4f89f6a3
RD
13447 {
13448 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13449 }
d14a1e28
RD
13450 return resultobj;
13451 fail:
13452 return NULL;
13453}
13454
13455
13456static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13457 PyObject *resultobj;
13458 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13459 int arg2 = (int) wxMOUSE_BTN_ANY ;
13460 bool result;
13461 PyObject * obj0 = 0 ;
994141e6 13462 PyObject * obj1 = 0 ;
d14a1e28
RD
13463 char *kwnames[] = {
13464 (char *) "self",(char *) "but", NULL
13465 };
13466
994141e6 13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13470 if (obj1) {
15afbcd0
RD
13471 arg2 = (int) SWIG_AsInt(obj1);
13472 if (PyErr_Occurred()) SWIG_fail;
994141e6 13473 }
d14a1e28
RD
13474 {
13475 PyThreadState* __tstate = wxPyBeginAllowThreads();
13476 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13477
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
4f89f6a3
RD
13481 {
13482 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13483 }
d14a1e28
RD
13484 return resultobj;
13485 fail:
13486 return NULL;
13487}
13488
13489
13490static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13491 PyObject *resultobj;
13492 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13493 int arg2 = (int) wxMOUSE_BTN_ANY ;
13494 bool result;
13495 PyObject * obj0 = 0 ;
994141e6 13496 PyObject * obj1 = 0 ;
d14a1e28
RD
13497 char *kwnames[] = {
13498 (char *) "self",(char *) "but", NULL
13499 };
13500
994141e6 13501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13504 if (obj1) {
15afbcd0
RD
13505 arg2 = (int) SWIG_AsInt(obj1);
13506 if (PyErr_Occurred()) SWIG_fail;
994141e6 13507 }
d14a1e28
RD
13508 {
13509 PyThreadState* __tstate = wxPyBeginAllowThreads();
13510 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13511
13512 wxPyEndAllowThreads(__tstate);
13513 if (PyErr_Occurred()) SWIG_fail;
13514 }
4f89f6a3
RD
13515 {
13516 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13517 }
d14a1e28
RD
13518 return resultobj;
13519 fail:
13520 return NULL;
13521}
13522
13523
13524static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13525 PyObject *resultobj;
13526 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13527 int arg2 = (int) wxMOUSE_BTN_ANY ;
13528 bool result;
13529 PyObject * obj0 = 0 ;
994141e6 13530 PyObject * obj1 = 0 ;
d14a1e28
RD
13531 char *kwnames[] = {
13532 (char *) "self",(char *) "but", NULL
13533 };
13534
994141e6 13535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 13538 if (obj1) {
15afbcd0
RD
13539 arg2 = (int) SWIG_AsInt(obj1);
13540 if (PyErr_Occurred()) SWIG_fail;
994141e6 13541 }
d14a1e28
RD
13542 {
13543 PyThreadState* __tstate = wxPyBeginAllowThreads();
13544 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13545
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) SWIG_fail;
13548 }
4f89f6a3
RD
13549 {
13550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13551 }
d14a1e28
RD
13552 return resultobj;
13553 fail:
13554 return NULL;
13555}
13556
13557
13558static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
13559 PyObject *resultobj;
13560 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13561 int arg2 ;
13562 bool result;
13563 PyObject * obj0 = 0 ;
994141e6 13564 PyObject * obj1 = 0 ;
d14a1e28
RD
13565 char *kwnames[] = {
13566 (char *) "self",(char *) "but", NULL
13567 };
13568
994141e6 13569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13572 arg2 = (int) SWIG_AsInt(obj1);
13573 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13574 {
13575 PyThreadState* __tstate = wxPyBeginAllowThreads();
13576 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13577
13578 wxPyEndAllowThreads(__tstate);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 }
4f89f6a3
RD
13581 {
13582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13583 }
d14a1e28
RD
13584 return resultobj;
13585 fail:
13586 return NULL;
13587}
13588
13589
13590static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13591 PyObject *resultobj;
13592 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13593 int arg2 ;
13594 bool result;
13595 PyObject * obj0 = 0 ;
994141e6 13596 PyObject * obj1 = 0 ;
d14a1e28
RD
13597 char *kwnames[] = {
13598 (char *) "self",(char *) "but", NULL
13599 };
13600
994141e6 13601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
13602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13604 arg2 = (int) SWIG_AsInt(obj1);
13605 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13606 {
13607 PyThreadState* __tstate = wxPyBeginAllowThreads();
13608 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13609
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
4f89f6a3
RD
13613 {
13614 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13615 }
d14a1e28
RD
13616 return resultobj;
13617 fail:
13618 return NULL;
13619}
13620
13621
13622static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13623 PyObject *resultobj;
13624 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13625 int result;
13626 PyObject * obj0 = 0 ;
13627 char *kwnames[] = {
13628 (char *) "self", NULL
13629 };
13630
13631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
15afbcd0
RD
13632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13637
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
15afbcd0 13641 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13642 return resultobj;
13643 fail:
13644 return NULL;
13645}
13646
13647
13648static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13649 PyObject *resultobj;
13650 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13651 bool result;
13652 PyObject * obj0 = 0 ;
13653 char *kwnames[] = {
13654 (char *) "self", NULL
13655 };
13656
13657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13660 {
13661 PyThreadState* __tstate = wxPyBeginAllowThreads();
13662 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13663
13664 wxPyEndAllowThreads(__tstate);
13665 if (PyErr_Occurred()) SWIG_fail;
13666 }
4f89f6a3
RD
13667 {
13668 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13669 }
d14a1e28
RD
13670 return resultobj;
13671 fail:
13672 return NULL;
13673}
13674
13675
13676static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13677 PyObject *resultobj;
13678 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13679 bool result;
13680 PyObject * obj0 = 0 ;
13681 char *kwnames[] = {
13682 (char *) "self", NULL
13683 };
13684
13685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13688 {
13689 PyThreadState* __tstate = wxPyBeginAllowThreads();
13690 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13691
13692 wxPyEndAllowThreads(__tstate);
13693 if (PyErr_Occurred()) SWIG_fail;
13694 }
4f89f6a3
RD
13695 {
13696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13697 }
d14a1e28
RD
13698 return resultobj;
13699 fail:
13700 return NULL;
13701}
13702
13703
13704static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13705 PyObject *resultobj;
13706 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13707 bool result;
13708 PyObject * obj0 = 0 ;
13709 char *kwnames[] = {
13710 (char *) "self", NULL
13711 };
13712
13713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13716 {
13717 PyThreadState* __tstate = wxPyBeginAllowThreads();
13718 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13719
13720 wxPyEndAllowThreads(__tstate);
13721 if (PyErr_Occurred()) SWIG_fail;
13722 }
4f89f6a3
RD
13723 {
13724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13725 }
d14a1e28
RD
13726 return resultobj;
13727 fail:
13728 return NULL;
13729}
13730
13731
13732static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13733 PyObject *resultobj;
13734 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13735 bool result;
13736 PyObject * obj0 = 0 ;
13737 char *kwnames[] = {
13738 (char *) "self", NULL
13739 };
13740
13741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13744 {
13745 PyThreadState* __tstate = wxPyBeginAllowThreads();
13746 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13747
13748 wxPyEndAllowThreads(__tstate);
13749 if (PyErr_Occurred()) SWIG_fail;
13750 }
4f89f6a3
RD
13751 {
13752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13753 }
d14a1e28
RD
13754 return resultobj;
13755 fail:
13756 return NULL;
13757}
13758
13759
13760static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13761 PyObject *resultobj;
13762 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13763 bool result;
13764 PyObject * obj0 = 0 ;
13765 char *kwnames[] = {
13766 (char *) "self", NULL
13767 };
13768
13769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13772 {
13773 PyThreadState* __tstate = wxPyBeginAllowThreads();
13774 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13775
13776 wxPyEndAllowThreads(__tstate);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
4f89f6a3
RD
13779 {
13780 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13781 }
d14a1e28
RD
13782 return resultobj;
13783 fail:
13784 return NULL;
13785}
13786
13787
13788static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13789 PyObject *resultobj;
13790 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13791 bool result;
13792 PyObject * obj0 = 0 ;
13793 char *kwnames[] = {
13794 (char *) "self", NULL
13795 };
13796
13797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13800 {
13801 PyThreadState* __tstate = wxPyBeginAllowThreads();
13802 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13803
13804 wxPyEndAllowThreads(__tstate);
13805 if (PyErr_Occurred()) SWIG_fail;
13806 }
4f89f6a3
RD
13807 {
13808 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13809 }
d14a1e28
RD
13810 return resultobj;
13811 fail:
13812 return NULL;
13813}
13814
13815
13816static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13817 PyObject *resultobj;
13818 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13819 bool result;
13820 PyObject * obj0 = 0 ;
13821 char *kwnames[] = {
13822 (char *) "self", NULL
13823 };
13824
13825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
13826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13828 {
13829 PyThreadState* __tstate = wxPyBeginAllowThreads();
13830 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
13831
13832 wxPyEndAllowThreads(__tstate);
13833 if (PyErr_Occurred()) SWIG_fail;
13834 }
4f89f6a3
RD
13835 {
13836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13837 }
d14a1e28
RD
13838 return resultobj;
13839 fail:
13840 return NULL;
13841}
13842
13843
13844static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
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_LeftUp",kwnames,&obj0)) goto fail;
15afbcd0
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)->LeftUp();
13859
13860 wxPyEndAllowThreads(__tstate);
13861 if (PyErr_Occurred()) SWIG_fail;
13862 }
4f89f6a3
RD
13863 {
13864 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13865 }
d14a1e28
RD
13866 return resultobj;
13867 fail:
13868 return NULL;
13869}
13870
13871
13872static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13873 PyObject *resultobj;
13874 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13875 bool result;
13876 PyObject * obj0 = 0 ;
13877 char *kwnames[] = {
13878 (char *) "self", NULL
13879 };
13880
13881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
13882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13884 {
13885 PyThreadState* __tstate = wxPyBeginAllowThreads();
13886 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
13887
13888 wxPyEndAllowThreads(__tstate);
13889 if (PyErr_Occurred()) SWIG_fail;
13890 }
4f89f6a3
RD
13891 {
13892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13893 }
d14a1e28
RD
13894 return resultobj;
13895 fail:
13896 return NULL;
13897}
13898
13899
13900static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13901 PyObject *resultobj;
13902 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13903 bool result;
13904 PyObject * obj0 = 0 ;
13905 char *kwnames[] = {
13906 (char *) "self", NULL
13907 };
13908
13909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
13910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13912 {
13913 PyThreadState* __tstate = wxPyBeginAllowThreads();
13914 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
13915
13916 wxPyEndAllowThreads(__tstate);
13917 if (PyErr_Occurred()) SWIG_fail;
13918 }
4f89f6a3
RD
13919 {
13920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13921 }
d14a1e28
RD
13922 return resultobj;
13923 fail:
13924 return NULL;
13925}
13926
13927
13928static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13929 PyObject *resultobj;
13930 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13931 bool result;
13932 PyObject * obj0 = 0 ;
13933 char *kwnames[] = {
13934 (char *) "self", NULL
13935 };
13936
13937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
13938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13940 {
13941 PyThreadState* __tstate = wxPyBeginAllowThreads();
13942 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
13943
13944 wxPyEndAllowThreads(__tstate);
13945 if (PyErr_Occurred()) SWIG_fail;
13946 }
4f89f6a3
RD
13947 {
13948 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13949 }
d14a1e28
RD
13950 return resultobj;
13951 fail:
13952 return NULL;
13953}
13954
13955
13956static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13957 PyObject *resultobj;
13958 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13959 bool result;
13960 PyObject * obj0 = 0 ;
13961 char *kwnames[] = {
13962 (char *) "self", NULL
13963 };
13964
13965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
13966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13968 {
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
13971
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
4f89f6a3
RD
13975 {
13976 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13977 }
d14a1e28
RD
13978 return resultobj;
13979 fail:
13980 return NULL;
13981}
13982
13983
13984static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13985 PyObject *resultobj;
13986 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13987 bool result;
13988 PyObject * obj0 = 0 ;
13989 char *kwnames[] = {
13990 (char *) "self", NULL
13991 };
13992
13993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
15afbcd0
RD
13994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13996 {
13997 PyThreadState* __tstate = wxPyBeginAllowThreads();
13998 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
13999
14000 wxPyEndAllowThreads(__tstate);
14001 if (PyErr_Occurred()) SWIG_fail;
14002 }
4f89f6a3
RD
14003 {
14004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14005 }
d14a1e28
RD
14006 return resultobj;
14007 fail:
14008 return NULL;
14009}
14010
14011
14012static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14013 PyObject *resultobj;
14014 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14015 bool result;
14016 PyObject * obj0 = 0 ;
14017 char *kwnames[] = {
14018 (char *) "self", NULL
14019 };
14020
14021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14024 {
14025 PyThreadState* __tstate = wxPyBeginAllowThreads();
14026 result = (bool)(arg1)->LeftIsDown();
14027
14028 wxPyEndAllowThreads(__tstate);
14029 if (PyErr_Occurred()) SWIG_fail;
14030 }
4f89f6a3
RD
14031 {
14032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14033 }
d14a1e28
RD
14034 return resultobj;
14035 fail:
14036 return NULL;
14037}
14038
14039
14040static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14041 PyObject *resultobj;
14042 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14043 bool result;
14044 PyObject * obj0 = 0 ;
14045 char *kwnames[] = {
14046 (char *) "self", NULL
14047 };
14048
14049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14052 {
14053 PyThreadState* __tstate = wxPyBeginAllowThreads();
14054 result = (bool)(arg1)->MiddleIsDown();
14055
14056 wxPyEndAllowThreads(__tstate);
14057 if (PyErr_Occurred()) SWIG_fail;
14058 }
4f89f6a3
RD
14059 {
14060 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14061 }
d14a1e28
RD
14062 return resultobj;
14063 fail:
14064 return NULL;
14065}
14066
14067
14068static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
14069 PyObject *resultobj;
14070 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14071 bool result;
14072 PyObject * obj0 = 0 ;
14073 char *kwnames[] = {
14074 (char *) "self", NULL
14075 };
14076
14077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
14078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14080 {
14081 PyThreadState* __tstate = wxPyBeginAllowThreads();
14082 result = (bool)(arg1)->RightIsDown();
14083
14084 wxPyEndAllowThreads(__tstate);
14085 if (PyErr_Occurred()) SWIG_fail;
14086 }
4f89f6a3
RD
14087 {
14088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14089 }
d14a1e28
RD
14090 return resultobj;
14091 fail:
14092 return NULL;
14093}
14094
14095
14096static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14099 bool result;
14100 PyObject * obj0 = 0 ;
14101 char *kwnames[] = {
14102 (char *) "self", NULL
14103 };
14104
14105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
15afbcd0
RD
14106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
4f89f6a3
RD
14115 {
14116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14117 }
d14a1e28
RD
14118 return resultobj;
14119 fail:
14120 return NULL;
14121}
14122
14123
14124static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
14125 PyObject *resultobj;
14126 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14127 bool result;
14128 PyObject * obj0 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
4f89f6a3
RD
14143 {
14144 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14145 }
d14a1e28
RD
14146 return resultobj;
14147 fail:
14148 return NULL;
14149}
14150
14151
14152static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
14153 PyObject *resultobj;
14154 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14155 bool result;
14156 PyObject * obj0 = 0 ;
14157 char *kwnames[] = {
14158 (char *) "self", NULL
14159 };
14160
14161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
15afbcd0
RD
14162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
4f89f6a3
RD
14171 {
14172 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14173 }
d14a1e28
RD
14174 return resultobj;
14175 fail:
14176 return NULL;
14177}
14178
14179
14180static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
14181 PyObject *resultobj;
14182 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14183 bool result;
14184 PyObject * obj0 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self", NULL
14187 };
14188
14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
15afbcd0
RD
14190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14192 {
14193 PyThreadState* __tstate = wxPyBeginAllowThreads();
14194 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14195
14196 wxPyEndAllowThreads(__tstate);
14197 if (PyErr_Occurred()) SWIG_fail;
14198 }
4f89f6a3
RD
14199 {
14200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14201 }
d14a1e28
RD
14202 return resultobj;
14203 fail:
14204 return NULL;
14205}
14206
14207
14208static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14209 PyObject *resultobj;
14210 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14211 wxPoint result;
14212 PyObject * obj0 = 0 ;
14213 char *kwnames[] = {
14214 (char *) "self", NULL
14215 };
14216
14217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
14218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14220 {
14221 PyThreadState* __tstate = wxPyBeginAllowThreads();
14222 result = (arg1)->GetPosition();
14223
14224 wxPyEndAllowThreads(__tstate);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 {
14228 wxPoint * resultptr;
14229 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14230 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14231 }
14232 return resultobj;
14233 fail:
14234 return NULL;
14235}
14236
14237
14238static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
14239 PyObject *resultobj;
14240 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14241 long *arg2 = (long *) 0 ;
14242 long *arg3 = (long *) 0 ;
14243 long temp2 ;
14244 long temp3 ;
14245 PyObject * obj0 = 0 ;
14246 char *kwnames[] = {
14247 (char *) "self", NULL
14248 };
14249
14250 arg2 = &temp2;
14251 arg3 = &temp3;
14252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
14253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 (arg1)->GetPosition(arg2,arg3);
14258
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 Py_INCREF(Py_None); resultobj = Py_None;
14263 {
14264 PyObject *o = PyInt_FromLong((long) (*arg2));
14265 resultobj = t_output_helper(resultobj,o);
14266 }
14267 {
14268 PyObject *o = PyInt_FromLong((long) (*arg3));
14269 resultobj = t_output_helper(resultobj,o);
14270 }
14271 return resultobj;
14272 fail:
14273 return NULL;
14274}
14275
14276
14277static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14278 PyObject *resultobj;
14279 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14280 wxDC *arg2 = 0 ;
14281 wxPoint result;
14282 PyObject * obj0 = 0 ;
14283 PyObject * obj1 = 0 ;
14284 char *kwnames[] = {
14285 (char *) "self",(char *) "dc", NULL
14286 };
14287
14288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14291 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14292 SWIG_POINTER_EXCEPTION | 0)) == -1)
14293 SWIG_fail;
d14a1e28 14294 if (arg2 == NULL) {
15afbcd0
RD
14295 PyErr_SetString(PyExc_TypeError,"null reference");
14296 SWIG_fail;
d14a1e28
RD
14297 }
14298 {
14299 PyThreadState* __tstate = wxPyBeginAllowThreads();
14300 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14301
14302 wxPyEndAllowThreads(__tstate);
14303 if (PyErr_Occurred()) SWIG_fail;
14304 }
14305 {
14306 wxPoint * resultptr;
14307 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 14308 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14309 }
14310 return resultobj;
14311 fail:
14312 return NULL;
14313}
14314
14315
14316static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14317 PyObject *resultobj;
14318 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14319 int result;
d14a1e28
RD
14320 PyObject * obj0 = 0 ;
14321 char *kwnames[] = {
14322 (char *) "self", NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
14326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14328 {
14329 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14330 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
14331
14332 wxPyEndAllowThreads(__tstate);
14333 if (PyErr_Occurred()) SWIG_fail;
14334 }
15afbcd0 14335 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14336 return resultobj;
14337 fail:
14338 return NULL;
14339}
14340
14341
14342static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj;
14344 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14345 int result;
d14a1e28
RD
14346 PyObject * obj0 = 0 ;
14347 char *kwnames[] = {
14348 (char *) "self", NULL
14349 };
14350
14351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
14352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 14356 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
15afbcd0 14361 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14362 return resultobj;
14363 fail:
14364 return NULL;
14365}
14366
14367
14368static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
14369 PyObject *resultobj;
14370 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14371 int result;
14372 PyObject * obj0 = 0 ;
14373 char *kwnames[] = {
14374 (char *) "self", NULL
14375 };
14376
14377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
15afbcd0
RD
14378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14380 {
14381 PyThreadState* __tstate = wxPyBeginAllowThreads();
14382 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14383
14384 wxPyEndAllowThreads(__tstate);
14385 if (PyErr_Occurred()) SWIG_fail;
14386 }
15afbcd0 14387 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14388 return resultobj;
14389 fail:
14390 return NULL;
14391}
14392
14393
14394static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
14395 PyObject *resultobj;
14396 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14397 int result;
14398 PyObject * obj0 = 0 ;
14399 char *kwnames[] = {
14400 (char *) "self", NULL
14401 };
14402
14403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
15afbcd0
RD
14404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14406 {
14407 PyThreadState* __tstate = wxPyBeginAllowThreads();
14408 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14409
14410 wxPyEndAllowThreads(__tstate);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
15afbcd0 14413 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14414 return resultobj;
14415 fail:
14416 return NULL;
14417}
14418
14419
14420static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
14421 PyObject *resultobj;
14422 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14423 int result;
14424 PyObject * obj0 = 0 ;
14425 char *kwnames[] = {
14426 (char *) "self", NULL
14427 };
14428
14429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
15afbcd0
RD
14430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14432 {
14433 PyThreadState* __tstate = wxPyBeginAllowThreads();
14434 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14435
14436 wxPyEndAllowThreads(__tstate);
14437 if (PyErr_Occurred()) SWIG_fail;
14438 }
15afbcd0 14439 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14440 return resultobj;
14441 fail:
14442 return NULL;
14443}
14444
14445
14446static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
14447 PyObject *resultobj;
14448 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14449 bool result;
14450 PyObject * obj0 = 0 ;
14451 char *kwnames[] = {
14452 (char *) "self", NULL
14453 };
14454
14455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
15afbcd0
RD
14456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14458 {
14459 PyThreadState* __tstate = wxPyBeginAllowThreads();
14460 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14461
14462 wxPyEndAllowThreads(__tstate);
14463 if (PyErr_Occurred()) SWIG_fail;
14464 }
4f89f6a3
RD
14465 {
14466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14467 }
d14a1e28
RD
14468 return resultobj;
14469 fail:
14470 return NULL;
14471}
14472
14473
14474static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14475 PyObject *resultobj;
14476 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14477 int arg2 ;
d14a1e28 14478 PyObject * obj0 = 0 ;
994141e6 14479 PyObject * obj1 = 0 ;
d14a1e28
RD
14480 char *kwnames[] = {
14481 (char *) "self",(char *) "m_x", NULL
14482 };
14483
994141e6 14484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14487 arg2 = (int) SWIG_AsInt(obj1);
14488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14489 if (arg1) (arg1)->m_x = arg2;
14490
14491 Py_INCREF(Py_None); resultobj = Py_None;
14492 return resultobj;
14493 fail:
14494 return NULL;
14495}
14496
14497
14498static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14499 PyObject *resultobj;
14500 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14501 int result;
d14a1e28
RD
14502 PyObject * obj0 = 0 ;
14503 char *kwnames[] = {
14504 (char *) "self", NULL
14505 };
14506
14507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 14510 result = (int) ((arg1)->m_x);
d14a1e28 14511
15afbcd0 14512 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14513 return resultobj;
14514 fail:
14515 return NULL;
14516}
14517
14518
14519static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14520 PyObject *resultobj;
14521 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14522 int arg2 ;
d14a1e28 14523 PyObject * obj0 = 0 ;
994141e6 14524 PyObject * obj1 = 0 ;
d14a1e28
RD
14525 char *kwnames[] = {
14526 (char *) "self",(char *) "m_y", NULL
14527 };
14528
994141e6 14529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14532 arg2 = (int) SWIG_AsInt(obj1);
14533 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14534 if (arg1) (arg1)->m_y = arg2;
14535
14536 Py_INCREF(Py_None); resultobj = Py_None;
14537 return resultobj;
14538 fail:
14539 return NULL;
14540}
14541
14542
14543static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14544 PyObject *resultobj;
14545 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
e811c8ce 14546 int result;
d14a1e28
RD
14547 PyObject * obj0 = 0 ;
14548 char *kwnames[] = {
14549 (char *) "self", NULL
14550 };
14551
14552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 14555 result = (int) ((arg1)->m_y);
d14a1e28 14556
15afbcd0 14557 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14558 return resultobj;
14559 fail:
14560 return NULL;
14561}
14562
14563
14564static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14565 PyObject *resultobj;
14566 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14567 bool arg2 ;
14568 PyObject * obj0 = 0 ;
14569 PyObject * obj1 = 0 ;
14570 char *kwnames[] = {
14571 (char *) "self",(char *) "m_leftDown", NULL
14572 };
14573
14574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14577 arg2 = (bool) SWIG_AsBool(obj1);
14578 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14579 if (arg1) (arg1)->m_leftDown = arg2;
14580
14581 Py_INCREF(Py_None); resultobj = Py_None;
14582 return resultobj;
14583 fail:
14584 return NULL;
14585}
14586
14587
14588static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14591 bool result;
14592 PyObject * obj0 = 0 ;
14593 char *kwnames[] = {
14594 (char *) "self", NULL
14595 };
14596
14597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14600 result = (bool) ((arg1)->m_leftDown);
14601
4f89f6a3
RD
14602 {
14603 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14604 }
d14a1e28
RD
14605 return resultobj;
14606 fail:
14607 return NULL;
14608}
14609
14610
14611static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14612 PyObject *resultobj;
14613 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14614 bool arg2 ;
14615 PyObject * obj0 = 0 ;
14616 PyObject * obj1 = 0 ;
14617 char *kwnames[] = {
14618 (char *) "self",(char *) "m_middleDown", NULL
14619 };
14620
14621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14624 arg2 = (bool) SWIG_AsBool(obj1);
14625 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14626 if (arg1) (arg1)->m_middleDown = arg2;
14627
14628 Py_INCREF(Py_None); resultobj = Py_None;
14629 return resultobj;
14630 fail:
14631 return NULL;
14632}
14633
14634
14635static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14636 PyObject *resultobj;
14637 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14638 bool result;
14639 PyObject * obj0 = 0 ;
14640 char *kwnames[] = {
14641 (char *) "self", NULL
14642 };
14643
14644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14647 result = (bool) ((arg1)->m_middleDown);
14648
4f89f6a3
RD
14649 {
14650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14651 }
d14a1e28
RD
14652 return resultobj;
14653 fail:
14654 return NULL;
14655}
14656
14657
14658static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14659 PyObject *resultobj;
14660 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14661 bool arg2 ;
14662 PyObject * obj0 = 0 ;
14663 PyObject * obj1 = 0 ;
14664 char *kwnames[] = {
14665 (char *) "self",(char *) "m_rightDown", NULL
14666 };
14667
14668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14671 arg2 = (bool) SWIG_AsBool(obj1);
14672 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14673 if (arg1) (arg1)->m_rightDown = arg2;
14674
14675 Py_INCREF(Py_None); resultobj = Py_None;
14676 return resultobj;
14677 fail:
14678 return NULL;
14679}
14680
14681
14682static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14683 PyObject *resultobj;
14684 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14685 bool result;
14686 PyObject * obj0 = 0 ;
14687 char *kwnames[] = {
14688 (char *) "self", NULL
14689 };
14690
14691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14694 result = (bool) ((arg1)->m_rightDown);
14695
4f89f6a3
RD
14696 {
14697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14698 }
d14a1e28
RD
14699 return resultobj;
14700 fail:
14701 return NULL;
14702}
14703
14704
14705static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14706 PyObject *resultobj;
14707 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14708 bool arg2 ;
14709 PyObject * obj0 = 0 ;
14710 PyObject * obj1 = 0 ;
14711 char *kwnames[] = {
14712 (char *) "self",(char *) "m_controlDown", NULL
14713 };
14714
14715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14718 arg2 = (bool) SWIG_AsBool(obj1);
14719 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14720 if (arg1) (arg1)->m_controlDown = arg2;
14721
14722 Py_INCREF(Py_None); resultobj = Py_None;
14723 return resultobj;
14724 fail:
14725 return NULL;
14726}
14727
14728
14729static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14730 PyObject *resultobj;
14731 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14732 bool result;
14733 PyObject * obj0 = 0 ;
14734 char *kwnames[] = {
14735 (char *) "self", NULL
14736 };
14737
14738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14741 result = (bool) ((arg1)->m_controlDown);
14742
4f89f6a3
RD
14743 {
14744 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14745 }
d14a1e28
RD
14746 return resultobj;
14747 fail:
14748 return NULL;
14749}
14750
14751
14752static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14753 PyObject *resultobj;
14754 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14755 bool arg2 ;
14756 PyObject * obj0 = 0 ;
14757 PyObject * obj1 = 0 ;
14758 char *kwnames[] = {
14759 (char *) "self",(char *) "m_shiftDown", NULL
14760 };
14761
14762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14765 arg2 = (bool) SWIG_AsBool(obj1);
14766 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14767 if (arg1) (arg1)->m_shiftDown = arg2;
14768
14769 Py_INCREF(Py_None); resultobj = Py_None;
14770 return resultobj;
14771 fail:
14772 return NULL;
14773}
14774
14775
14776static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14777 PyObject *resultobj;
14778 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14779 bool result;
14780 PyObject * obj0 = 0 ;
14781 char *kwnames[] = {
14782 (char *) "self", NULL
14783 };
14784
14785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14788 result = (bool) ((arg1)->m_shiftDown);
14789
4f89f6a3
RD
14790 {
14791 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14792 }
d14a1e28
RD
14793 return resultobj;
14794 fail:
14795 return NULL;
14796}
14797
14798
14799static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14800 PyObject *resultobj;
14801 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14802 bool arg2 ;
14803 PyObject * obj0 = 0 ;
14804 PyObject * obj1 = 0 ;
14805 char *kwnames[] = {
14806 (char *) "self",(char *) "m_altDown", NULL
14807 };
14808
14809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14812 arg2 = (bool) SWIG_AsBool(obj1);
14813 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14814 if (arg1) (arg1)->m_altDown = arg2;
14815
14816 Py_INCREF(Py_None); resultobj = Py_None;
14817 return resultobj;
14818 fail:
14819 return NULL;
14820}
14821
14822
14823static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14824 PyObject *resultobj;
14825 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14826 bool result;
14827 PyObject * obj0 = 0 ;
14828 char *kwnames[] = {
14829 (char *) "self", NULL
14830 };
14831
14832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14835 result = (bool) ((arg1)->m_altDown);
14836
4f89f6a3
RD
14837 {
14838 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14839 }
d14a1e28
RD
14840 return resultobj;
14841 fail:
14842 return NULL;
14843}
14844
14845
14846static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14847 PyObject *resultobj;
14848 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14849 bool arg2 ;
14850 PyObject * obj0 = 0 ;
14851 PyObject * obj1 = 0 ;
14852 char *kwnames[] = {
14853 (char *) "self",(char *) "m_metaDown", NULL
14854 };
14855
14856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14859 arg2 = (bool) SWIG_AsBool(obj1);
14860 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14861 if (arg1) (arg1)->m_metaDown = arg2;
14862
14863 Py_INCREF(Py_None); resultobj = Py_None;
14864 return resultobj;
14865 fail:
14866 return NULL;
14867}
14868
14869
14870static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14871 PyObject *resultobj;
14872 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14873 bool result;
14874 PyObject * obj0 = 0 ;
14875 char *kwnames[] = {
14876 (char *) "self", NULL
14877 };
14878
14879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14882 result = (bool) ((arg1)->m_metaDown);
14883
4f89f6a3
RD
14884 {
14885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14886 }
d14a1e28
RD
14887 return resultobj;
14888 fail:
14889 return NULL;
14890}
14891
14892
14893static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14894 PyObject *resultobj;
14895 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14896 int arg2 ;
14897 PyObject * obj0 = 0 ;
994141e6 14898 PyObject * obj1 = 0 ;
d14a1e28
RD
14899 char *kwnames[] = {
14900 (char *) "self",(char *) "m_wheelRotation", NULL
14901 };
14902
994141e6 14903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14906 arg2 = (int) SWIG_AsInt(obj1);
14907 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14908 if (arg1) (arg1)->m_wheelRotation = arg2;
14909
14910 Py_INCREF(Py_None); resultobj = Py_None;
14911 return resultobj;
14912 fail:
14913 return NULL;
14914}
14915
14916
14917static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14920 int result;
14921 PyObject * obj0 = 0 ;
14922 char *kwnames[] = {
14923 (char *) "self", NULL
14924 };
14925
14926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14929 result = (int) ((arg1)->m_wheelRotation);
14930
15afbcd0 14931 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14932 return resultobj;
14933 fail:
14934 return NULL;
14935}
14936
14937
14938static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14939 PyObject *resultobj;
14940 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14941 int arg2 ;
14942 PyObject * obj0 = 0 ;
994141e6 14943 PyObject * obj1 = 0 ;
d14a1e28
RD
14944 char *kwnames[] = {
14945 (char *) "self",(char *) "m_wheelDelta", NULL
14946 };
14947
994141e6 14948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14951 arg2 = (int) SWIG_AsInt(obj1);
14952 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14953 if (arg1) (arg1)->m_wheelDelta = arg2;
14954
14955 Py_INCREF(Py_None); resultobj = Py_None;
14956 return resultobj;
14957 fail:
14958 return NULL;
14959}
14960
14961
14962static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj;
14964 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14965 int result;
14966 PyObject * obj0 = 0 ;
14967 char *kwnames[] = {
14968 (char *) "self", NULL
14969 };
14970
14971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
14972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14974 result = (int) ((arg1)->m_wheelDelta);
14975
15afbcd0 14976 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14977 return resultobj;
14978 fail:
14979 return NULL;
14980}
14981
14982
14983static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14984 PyObject *resultobj;
14985 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14986 int arg2 ;
14987 PyObject * obj0 = 0 ;
994141e6 14988 PyObject * obj1 = 0 ;
d14a1e28
RD
14989 char *kwnames[] = {
14990 (char *) "self",(char *) "m_linesPerAction", NULL
14991 };
14992
994141e6 14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
14994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14996 arg2 = (int) SWIG_AsInt(obj1);
14997 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14998 if (arg1) (arg1)->m_linesPerAction = arg2;
14999
15000 Py_INCREF(Py_None); resultobj = Py_None;
15001 return resultobj;
15002 fail:
15003 return NULL;
15004}
15005
15006
15007static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15008 PyObject *resultobj;
15009 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15010 int result;
15011 PyObject * obj0 = 0 ;
15012 char *kwnames[] = {
15013 (char *) "self", NULL
15014 };
15015
15016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15019 result = (int) ((arg1)->m_linesPerAction);
15020
15afbcd0 15021 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15022 return resultobj;
15023 fail:
15024 return NULL;
15025}
15026
15027
15028static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
15029 PyObject *obj;
15030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15031 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15032 Py_INCREF(obj);
15033 return Py_BuildValue((char *)"");
15034}
15035static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15036 PyObject *resultobj;
e811c8ce
RD
15037 int arg1 = (int) 0 ;
15038 int arg2 = (int) 0 ;
d14a1e28 15039 wxSetCursorEvent *result;
994141e6
RD
15040 PyObject * obj0 = 0 ;
15041 PyObject * obj1 = 0 ;
d14a1e28
RD
15042 char *kwnames[] = {
15043 (char *) "x",(char *) "y", NULL
15044 };
15045
994141e6
RD
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15047 if (obj0) {
15afbcd0
RD
15048 arg1 = (int) SWIG_AsInt(obj0);
15049 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
15050 }
15051 if (obj1) {
15afbcd0
RD
15052 arg2 = (int) SWIG_AsInt(obj1);
15053 if (PyErr_Occurred()) SWIG_fail;
994141e6 15054 }
d14a1e28
RD
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15afbcd0 15062 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
15063 return resultobj;
15064 fail:
15065 return NULL;
15066}
15067
15068
15069static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15070 PyObject *resultobj;
15071 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15072 int result;
d14a1e28
RD
15073 PyObject * obj0 = 0 ;
15074 char *kwnames[] = {
15075 (char *) "self", NULL
15076 };
15077
15078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15081 {
15082 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15083 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
15084
15085 wxPyEndAllowThreads(__tstate);
15086 if (PyErr_Occurred()) SWIG_fail;
15087 }
15afbcd0 15088 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15089 return resultobj;
15090 fail:
15091 return NULL;
15092}
15093
15094
15095static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15096 PyObject *resultobj;
15097 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
e811c8ce 15098 int result;
d14a1e28
RD
15099 PyObject * obj0 = 0 ;
15100 char *kwnames[] = {
15101 (char *) "self", NULL
15102 };
15103
15104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15107 {
15108 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15109 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
15110
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15afbcd0 15114 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15115 return resultobj;
15116 fail:
15117 return NULL;
15118}
15119
15120
15121static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15122 PyObject *resultobj;
15123 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15124 wxCursor *arg2 = 0 ;
15125 PyObject * obj0 = 0 ;
15126 PyObject * obj1 = 0 ;
15127 char *kwnames[] = {
15128 (char *) "self",(char *) "cursor", NULL
15129 };
15130
15131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15134 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15135 SWIG_POINTER_EXCEPTION | 0)) == -1)
15136 SWIG_fail;
d14a1e28 15137 if (arg2 == NULL) {
15afbcd0
RD
15138 PyErr_SetString(PyExc_TypeError,"null reference");
15139 SWIG_fail;
d14a1e28
RD
15140 }
15141 {
15142 PyThreadState* __tstate = wxPyBeginAllowThreads();
15143 (arg1)->SetCursor((wxCursor const &)*arg2);
15144
15145 wxPyEndAllowThreads(__tstate);
15146 if (PyErr_Occurred()) SWIG_fail;
15147 }
15148 Py_INCREF(Py_None); resultobj = Py_None;
15149 return resultobj;
15150 fail:
15151 return NULL;
15152}
15153
15154
15155static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15156 PyObject *resultobj;
15157 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15158 wxCursor *result;
15159 PyObject * obj0 = 0 ;
15160 char *kwnames[] = {
15161 (char *) "self", NULL
15162 };
15163
15164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15167 {
15168 PyThreadState* __tstate = wxPyBeginAllowThreads();
15169 {
15170 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15171 result = (wxCursor *) &_result_ref;
15172 }
15173
15174 wxPyEndAllowThreads(__tstate);
15175 if (PyErr_Occurred()) SWIG_fail;
15176 }
4276dc52
RD
15177 {
15178 wxCursor* resultptr = new wxCursor(*result);
15179 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15180 }
d14a1e28
RD
15181 return resultobj;
15182 fail:
15183 return NULL;
15184}
15185
15186
15187static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15188 PyObject *resultobj;
15189 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15190 bool result;
15191 PyObject * obj0 = 0 ;
15192 char *kwnames[] = {
15193 (char *) "self", NULL
15194 };
15195
15196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
15197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15199 {
15200 PyThreadState* __tstate = wxPyBeginAllowThreads();
15201 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15202
15203 wxPyEndAllowThreads(__tstate);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
4f89f6a3
RD
15206 {
15207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15208 }
d14a1e28
RD
15209 return resultobj;
15210 fail:
15211 return NULL;
15212}
15213
15214
15215static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
15216 PyObject *obj;
15217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15218 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15219 Py_INCREF(obj);
15220 return Py_BuildValue((char *)"");
15221}
15222static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15223 PyObject *resultobj;
15224 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15225 wxKeyEvent *result;
994141e6 15226 PyObject * obj0 = 0 ;
d14a1e28
RD
15227 char *kwnames[] = {
15228 (char *) "keyType", NULL
15229 };
15230
994141e6
RD
15231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15232 if (obj0) {
15afbcd0
RD
15233 arg1 = (wxEventType) SWIG_AsInt(obj0);
15234 if (PyErr_Occurred()) SWIG_fail;
994141e6 15235 }
d14a1e28
RD
15236 {
15237 PyThreadState* __tstate = wxPyBeginAllowThreads();
15238 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15239
15240 wxPyEndAllowThreads(__tstate);
15241 if (PyErr_Occurred()) SWIG_fail;
15242 }
15afbcd0 15243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
15244 return resultobj;
15245 fail:
15246 return NULL;
15247}
15248
15249
15250static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15251 PyObject *resultobj;
15252 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15253 bool result;
15254 PyObject * obj0 = 0 ;
15255 char *kwnames[] = {
15256 (char *) "self", NULL
15257 };
15258
15259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
15264 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15265
15266 wxPyEndAllowThreads(__tstate);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 }
4f89f6a3
RD
15269 {
15270 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15271 }
d14a1e28
RD
15272 return resultobj;
15273 fail:
15274 return NULL;
15275}
15276
15277
15278static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15279 PyObject *resultobj;
15280 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15281 bool result;
15282 PyObject * obj0 = 0 ;
15283 char *kwnames[] = {
15284 (char *) "self", NULL
15285 };
15286
15287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15288 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15290 {
15291 PyThreadState* __tstate = wxPyBeginAllowThreads();
15292 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15293
15294 wxPyEndAllowThreads(__tstate);
15295 if (PyErr_Occurred()) SWIG_fail;
15296 }
4f89f6a3
RD
15297 {
15298 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15299 }
d14a1e28
RD
15300 return resultobj;
15301 fail:
15302 return NULL;
15303}
15304
15305
15306static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15307 PyObject *resultobj;
15308 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15309 bool result;
15310 PyObject * obj0 = 0 ;
15311 char *kwnames[] = {
15312 (char *) "self", NULL
15313 };
15314
15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15318 {
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
15320 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15321
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
4f89f6a3
RD
15325 {
15326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15327 }
d14a1e28
RD
15328 return resultobj;
15329 fail:
15330 return NULL;
15331}
15332
15333
15334static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15335 PyObject *resultobj;
15336 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15337 bool result;
15338 PyObject * obj0 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "self", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
15344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15346 {
15347 PyThreadState* __tstate = wxPyBeginAllowThreads();
15348 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15349
15350 wxPyEndAllowThreads(__tstate);
15351 if (PyErr_Occurred()) SWIG_fail;
15352 }
4f89f6a3
RD
15353 {
15354 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15355 }
d14a1e28
RD
15356 return resultobj;
15357 fail:
15358 return NULL;
15359}
15360
15361
15362static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
15363 PyObject *resultobj;
15364 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15365 bool result;
15366 PyObject * obj0 = 0 ;
15367 char *kwnames[] = {
15368 (char *) "self", NULL
15369 };
15370
15371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
15afbcd0
RD
15372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15374 {
15375 PyThreadState* __tstate = wxPyBeginAllowThreads();
15376 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15377
15378 wxPyEndAllowThreads(__tstate);
15379 if (PyErr_Occurred()) SWIG_fail;
15380 }
4f89f6a3
RD
15381 {
15382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15383 }
d14a1e28
RD
15384 return resultobj;
15385 fail:
15386 return NULL;
15387}
15388
15389
15390static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15393 int result;
15394 PyObject * obj0 = 0 ;
15395 char *kwnames[] = {
15396 (char *) "self", NULL
15397 };
15398
15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
15400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15402 {
15403 PyThreadState* __tstate = wxPyBeginAllowThreads();
15404 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15405
15406 wxPyEndAllowThreads(__tstate);
15407 if (PyErr_Occurred()) SWIG_fail;
15408 }
15afbcd0 15409 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15410 return resultobj;
15411 fail:
15412 return NULL;
15413}
15414
15415
15416static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
15417 PyObject *resultobj;
15418 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15419 int result;
15420 PyObject * obj0 = 0 ;
15421 char *kwnames[] = {
15422 (char *) "self", NULL
15423 };
15424
15425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
15afbcd0
RD
15426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15428 {
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 result = (int)wxKeyEvent_GetUniChar(arg1);
15431
15432 wxPyEndAllowThreads(__tstate);
15433 if (PyErr_Occurred()) SWIG_fail;
15434 }
15afbcd0 15435 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15436 return resultobj;
15437 fail:
15438 return NULL;
15439}
15440
15441
15442static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj;
15444 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15445 unsigned int result;
d14a1e28
RD
15446 PyObject * obj0 = 0 ;
15447 char *kwnames[] = {
15448 (char *) "self", NULL
15449 };
15450
15451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
15452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15454 {
15455 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15456 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
15457
15458 wxPyEndAllowThreads(__tstate);
15459 if (PyErr_Occurred()) SWIG_fail;
15460 }
15afbcd0 15461 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15462 return resultobj;
15463 fail:
15464 return NULL;
15465}
15466
15467
15468static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
15469 PyObject *resultobj;
15470 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15471 unsigned int result;
d14a1e28
RD
15472 PyObject * obj0 = 0 ;
15473 char *kwnames[] = {
15474 (char *) "self", NULL
15475 };
15476
15477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
15478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15480 {
15481 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15482 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
15483
15484 wxPyEndAllowThreads(__tstate);
15485 if (PyErr_Occurred()) SWIG_fail;
15486 }
15afbcd0 15487 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15488 return resultobj;
15489 fail:
15490 return NULL;
15491}
15492
15493
15494static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15495 PyObject *resultobj;
15496 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15497 wxPoint result;
15498 PyObject * obj0 = 0 ;
15499 char *kwnames[] = {
15500 (char *) "self", NULL
15501 };
15502
15503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
15504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15506 {
15507 PyThreadState* __tstate = wxPyBeginAllowThreads();
15508 result = (arg1)->GetPosition();
15509
15510 wxPyEndAllowThreads(__tstate);
15511 if (PyErr_Occurred()) SWIG_fail;
15512 }
15513 {
15514 wxPoint * resultptr;
15515 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 15516 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
15517 }
15518 return resultobj;
15519 fail:
15520 return NULL;
15521}
15522
15523
15524static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
15525 PyObject *resultobj;
15526 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15527 long *arg2 = (long *) 0 ;
15528 long *arg3 = (long *) 0 ;
15529 long temp2 ;
15530 long temp3 ;
15531 PyObject * obj0 = 0 ;
15532 char *kwnames[] = {
15533 (char *) "self", NULL
15534 };
15535
15536 arg2 = &temp2;
15537 arg3 = &temp3;
15538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
15539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15541 {
15542 PyThreadState* __tstate = wxPyBeginAllowThreads();
15543 (arg1)->GetPosition(arg2,arg3);
15544
15545 wxPyEndAllowThreads(__tstate);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
15548 Py_INCREF(Py_None); resultobj = Py_None;
15549 {
15550 PyObject *o = PyInt_FromLong((long) (*arg2));
15551 resultobj = t_output_helper(resultobj,o);
15552 }
15553 {
15554 PyObject *o = PyInt_FromLong((long) (*arg3));
15555 resultobj = t_output_helper(resultobj,o);
15556 }
15557 return resultobj;
15558 fail:
15559 return NULL;
15560}
15561
15562
15563static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15564 PyObject *resultobj;
15565 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15566 int result;
d14a1e28
RD
15567 PyObject * obj0 = 0 ;
15568 char *kwnames[] = {
15569 (char *) "self", NULL
15570 };
15571
15572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
15afbcd0
RD
15573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15575 {
15576 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15577 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
15578
15579 wxPyEndAllowThreads(__tstate);
15580 if (PyErr_Occurred()) SWIG_fail;
15581 }
15afbcd0 15582 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15583 return resultobj;
15584 fail:
15585 return NULL;
15586}
15587
15588
15589static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15590 PyObject *resultobj;
15591 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15592 int result;
d14a1e28
RD
15593 PyObject * obj0 = 0 ;
15594 char *kwnames[] = {
15595 (char *) "self", NULL
15596 };
15597
15598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
15afbcd0
RD
15599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15601 {
15602 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 15603 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
15604
15605 wxPyEndAllowThreads(__tstate);
15606 if (PyErr_Occurred()) SWIG_fail;
15607 }
15afbcd0 15608 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15609 return resultobj;
15610 fail:
15611 return NULL;
15612}
15613
15614
15615static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15616 PyObject *resultobj;
15617 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15618 int arg2 ;
d14a1e28 15619 PyObject * obj0 = 0 ;
994141e6 15620 PyObject * obj1 = 0 ;
d14a1e28
RD
15621 char *kwnames[] = {
15622 (char *) "self",(char *) "m_x", NULL
15623 };
15624
994141e6 15625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15628 arg2 = (int) SWIG_AsInt(obj1);
15629 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15630 if (arg1) (arg1)->m_x = arg2;
15631
15632 Py_INCREF(Py_None); resultobj = Py_None;
15633 return resultobj;
15634 fail:
15635 return NULL;
15636}
15637
15638
15639static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15640 PyObject *resultobj;
15641 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15642 int result;
d14a1e28
RD
15643 PyObject * obj0 = 0 ;
15644 char *kwnames[] = {
15645 (char *) "self", NULL
15646 };
15647
15648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15651 result = (int) ((arg1)->m_x);
d14a1e28 15652
15afbcd0 15653 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15654 return resultobj;
15655 fail:
15656 return NULL;
15657}
15658
15659
15660static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15661 PyObject *resultobj;
15662 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15663 int arg2 ;
d14a1e28 15664 PyObject * obj0 = 0 ;
994141e6 15665 PyObject * obj1 = 0 ;
d14a1e28
RD
15666 char *kwnames[] = {
15667 (char *) "self",(char *) "m_y", NULL
15668 };
15669
994141e6 15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15673 arg2 = (int) SWIG_AsInt(obj1);
15674 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15675 if (arg1) (arg1)->m_y = arg2;
15676
15677 Py_INCREF(Py_None); resultobj = Py_None;
15678 return resultobj;
15679 fail:
15680 return NULL;
15681}
15682
15683
15684static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15685 PyObject *resultobj;
15686 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15687 int result;
d14a1e28
RD
15688 PyObject * obj0 = 0 ;
15689 char *kwnames[] = {
15690 (char *) "self", NULL
15691 };
15692
15693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 15696 result = (int) ((arg1)->m_y);
d14a1e28 15697
15afbcd0 15698 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15699 return resultobj;
15700 fail:
15701 return NULL;
15702}
15703
15704
15705static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15706 PyObject *resultobj;
15707 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15708 long arg2 ;
15709 PyObject * obj0 = 0 ;
994141e6 15710 PyObject * obj1 = 0 ;
d14a1e28
RD
15711 char *kwnames[] = {
15712 (char *) "self",(char *) "m_keyCode", NULL
15713 };
15714
994141e6 15715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15718 arg2 = (long) SWIG_AsLong(obj1);
15719 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15720 if (arg1) (arg1)->m_keyCode = arg2;
15721
15722 Py_INCREF(Py_None); resultobj = Py_None;
15723 return resultobj;
15724 fail:
15725 return NULL;
15726}
15727
15728
15729static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15730 PyObject *resultobj;
15731 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15732 long result;
15733 PyObject * obj0 = 0 ;
15734 char *kwnames[] = {
15735 (char *) "self", NULL
15736 };
15737
15738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15741 result = (long) ((arg1)->m_keyCode);
15742
15afbcd0 15743 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15744 return resultobj;
15745 fail:
15746 return NULL;
15747}
15748
15749
15750static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15751 PyObject *resultobj;
15752 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15753 bool arg2 ;
15754 PyObject * obj0 = 0 ;
15755 PyObject * obj1 = 0 ;
15756 char *kwnames[] = {
15757 (char *) "self",(char *) "m_controlDown", NULL
15758 };
15759
15760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15763 arg2 = (bool) SWIG_AsBool(obj1);
15764 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15765 if (arg1) (arg1)->m_controlDown = arg2;
15766
15767 Py_INCREF(Py_None); resultobj = Py_None;
15768 return resultobj;
15769 fail:
15770 return NULL;
15771}
15772
15773
15774static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15775 PyObject *resultobj;
15776 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15777 bool result;
15778 PyObject * obj0 = 0 ;
15779 char *kwnames[] = {
15780 (char *) "self", NULL
15781 };
15782
15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15786 result = (bool) ((arg1)->m_controlDown);
15787
4f89f6a3
RD
15788 {
15789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15790 }
d14a1e28
RD
15791 return resultobj;
15792 fail:
15793 return NULL;
15794}
15795
15796
15797static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15798 PyObject *resultobj;
15799 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15800 bool arg2 ;
15801 PyObject * obj0 = 0 ;
15802 PyObject * obj1 = 0 ;
15803 char *kwnames[] = {
15804 (char *) "self",(char *) "m_shiftDown", NULL
15805 };
15806
15807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15810 arg2 = (bool) SWIG_AsBool(obj1);
15811 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15812 if (arg1) (arg1)->m_shiftDown = arg2;
15813
15814 Py_INCREF(Py_None); resultobj = Py_None;
15815 return resultobj;
15816 fail:
15817 return NULL;
15818}
15819
15820
15821static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15822 PyObject *resultobj;
15823 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15824 bool result;
15825 PyObject * obj0 = 0 ;
15826 char *kwnames[] = {
15827 (char *) "self", NULL
15828 };
15829
15830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15833 result = (bool) ((arg1)->m_shiftDown);
15834
4f89f6a3
RD
15835 {
15836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15837 }
d14a1e28
RD
15838 return resultobj;
15839 fail:
15840 return NULL;
15841}
15842
15843
15844static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj;
15846 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15847 bool arg2 ;
15848 PyObject * obj0 = 0 ;
15849 PyObject * obj1 = 0 ;
15850 char *kwnames[] = {
15851 (char *) "self",(char *) "m_altDown", NULL
15852 };
15853
15854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15857 arg2 = (bool) SWIG_AsBool(obj1);
15858 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15859 if (arg1) (arg1)->m_altDown = arg2;
15860
15861 Py_INCREF(Py_None); resultobj = Py_None;
15862 return resultobj;
15863 fail:
15864 return NULL;
15865}
15866
15867
15868static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15869 PyObject *resultobj;
15870 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15871 bool result;
15872 PyObject * obj0 = 0 ;
15873 char *kwnames[] = {
15874 (char *) "self", NULL
15875 };
15876
15877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15880 result = (bool) ((arg1)->m_altDown);
15881
4f89f6a3
RD
15882 {
15883 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15884 }
d14a1e28
RD
15885 return resultobj;
15886 fail:
15887 return NULL;
15888}
15889
15890
15891static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15892 PyObject *resultobj;
15893 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15894 bool arg2 ;
15895 PyObject * obj0 = 0 ;
15896 PyObject * obj1 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self",(char *) "m_metaDown", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15902 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15904 arg2 = (bool) SWIG_AsBool(obj1);
15905 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15906 if (arg1) (arg1)->m_metaDown = arg2;
15907
15908 Py_INCREF(Py_None); resultobj = Py_None;
15909 return resultobj;
15910 fail:
15911 return NULL;
15912}
15913
15914
15915static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15916 PyObject *resultobj;
15917 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15918 bool result;
15919 PyObject * obj0 = 0 ;
15920 char *kwnames[] = {
15921 (char *) "self", NULL
15922 };
15923
15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15927 result = (bool) ((arg1)->m_metaDown);
15928
4f89f6a3
RD
15929 {
15930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15931 }
d14a1e28
RD
15932 return resultobj;
15933 fail:
15934 return NULL;
15935}
15936
15937
15938static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15939 PyObject *resultobj;
15940 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15941 bool arg2 ;
15942 PyObject * obj0 = 0 ;
15943 PyObject * obj1 = 0 ;
15944 char *kwnames[] = {
15945 (char *) "self",(char *) "m_scanCode", NULL
15946 };
15947
15948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15951 arg2 = (bool) SWIG_AsBool(obj1);
15952 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15953 if (arg1) (arg1)->m_scanCode = arg2;
15954
15955 Py_INCREF(Py_None); resultobj = Py_None;
15956 return resultobj;
15957 fail:
15958 return NULL;
15959}
15960
15961
15962static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15963 PyObject *resultobj;
15964 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15965 bool result;
15966 PyObject * obj0 = 0 ;
15967 char *kwnames[] = {
15968 (char *) "self", NULL
15969 };
15970
15971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
15972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15974 result = (bool) ((arg1)->m_scanCode);
15975
4f89f6a3
RD
15976 {
15977 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15978 }
d14a1e28
RD
15979 return resultobj;
15980 fail:
15981 return NULL;
15982}
15983
15984
15985static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15986 PyObject *resultobj;
15987 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 15988 unsigned int arg2 ;
d14a1e28
RD
15989 PyObject * obj0 = 0 ;
15990 PyObject * obj1 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "self",(char *) "m_rawCode", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
15996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15998 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
15999 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16000 if (arg1) (arg1)->m_rawCode = arg2;
16001
16002 Py_INCREF(Py_None); resultobj = Py_None;
16003 return resultobj;
16004 fail:
16005 return NULL;
16006}
16007
16008
16009static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16010 PyObject *resultobj;
16011 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16012 unsigned int result;
d14a1e28
RD
16013 PyObject * obj0 = 0 ;
16014 char *kwnames[] = {
16015 (char *) "self", NULL
16016 };
16017
16018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16021 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 16022
15afbcd0 16023 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16024 return resultobj;
16025 fail:
16026 return NULL;
16027}
16028
16029
16030static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16031 PyObject *resultobj;
16032 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16033 unsigned int arg2 ;
d14a1e28
RD
16034 PyObject * obj0 = 0 ;
16035 PyObject * obj1 = 0 ;
16036 char *kwnames[] = {
16037 (char *) "self",(char *) "m_rawFlags", NULL
16038 };
16039
16040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16043 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16044 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16045 if (arg1) (arg1)->m_rawFlags = arg2;
16046
16047 Py_INCREF(Py_None); resultobj = Py_None;
16048 return resultobj;
16049 fail:
16050 return NULL;
16051}
16052
16053
16054static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16055 PyObject *resultobj;
16056 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
e811c8ce 16057 unsigned int result;
d14a1e28
RD
16058 PyObject * obj0 = 0 ;
16059 char *kwnames[] = {
16060 (char *) "self", NULL
16061 };
16062
16063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce 16066 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 16067
15afbcd0 16068 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16069 return resultobj;
16070 fail:
16071 return NULL;
16072}
16073
16074
16075static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
16076 PyObject *obj;
16077 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16078 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16079 Py_INCREF(obj);
16080 return Py_BuildValue((char *)"");
16081}
16082static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16083 PyObject *resultobj;
16084 wxSize const &arg1_defvalue = wxDefaultSize ;
16085 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16086 int arg2 = (int) 0 ;
16087 wxSizeEvent *result;
16088 wxSize temp1 ;
16089 PyObject * obj0 = 0 ;
994141e6 16090 PyObject * obj1 = 0 ;
d14a1e28
RD
16091 char *kwnames[] = {
16092 (char *) "sz",(char *) "winid", NULL
16093 };
16094
994141e6 16095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16096 if (obj0) {
16097 {
16098 arg1 = &temp1;
16099 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16100 }
16101 }
994141e6 16102 if (obj1) {
15afbcd0
RD
16103 arg2 = (int) SWIG_AsInt(obj1);
16104 if (PyErr_Occurred()) SWIG_fail;
994141e6 16105 }
d14a1e28
RD
16106 {
16107 PyThreadState* __tstate = wxPyBeginAllowThreads();
16108 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16109
16110 wxPyEndAllowThreads(__tstate);
16111 if (PyErr_Occurred()) SWIG_fail;
16112 }
15afbcd0 16113 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
16114 return resultobj;
16115 fail:
16116 return NULL;
16117}
16118
16119
16120static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16121 PyObject *resultobj;
16122 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16123 wxSize result;
16124 PyObject * obj0 = 0 ;
16125 char *kwnames[] = {
16126 (char *) "self", NULL
16127 };
16128
16129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
16130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16132 {
16133 PyThreadState* __tstate = wxPyBeginAllowThreads();
16134 result = ((wxSizeEvent const *)arg1)->GetSize();
16135
16136 wxPyEndAllowThreads(__tstate);
16137 if (PyErr_Occurred()) SWIG_fail;
16138 }
16139 {
16140 wxSize * resultptr;
16141 resultptr = new wxSize((wxSize &) result);
15afbcd0 16142 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16143 }
16144 return resultobj;
16145 fail:
16146 return NULL;
16147}
16148
16149
16150static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16151 PyObject *resultobj;
16152 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16153 wxRect result;
16154 PyObject * obj0 = 0 ;
16155 char *kwnames[] = {
16156 (char *) "self", NULL
16157 };
16158
16159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16162 {
16163 PyThreadState* __tstate = wxPyBeginAllowThreads();
16164 result = ((wxSizeEvent const *)arg1)->GetRect();
16165
16166 wxPyEndAllowThreads(__tstate);
16167 if (PyErr_Occurred()) SWIG_fail;
16168 }
16169 {
16170 wxRect * resultptr;
16171 resultptr = new wxRect((wxRect &) result);
15afbcd0 16172 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16173 }
16174 return resultobj;
16175 fail:
16176 return NULL;
16177}
16178
16179
16180static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16181 PyObject *resultobj;
16182 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16183 wxRect arg2 ;
16184 wxRect *argp2 ;
16185 PyObject * obj0 = 0 ;
16186 PyObject * obj1 = 0 ;
16187 char *kwnames[] = {
16188 (char *) "self",(char *) "rect", NULL
16189 };
16190
16191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16194 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16195 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16196 arg2 = *argp2;
d14a1e28
RD
16197 {
16198 PyThreadState* __tstate = wxPyBeginAllowThreads();
16199 (arg1)->SetRect(arg2);
16200
16201 wxPyEndAllowThreads(__tstate);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 Py_INCREF(Py_None); resultobj = Py_None;
16205 return resultobj;
16206 fail:
16207 return NULL;
16208}
16209
16210
16211static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16214 wxSize arg2 ;
16215 wxSize *argp2 ;
16216 PyObject * obj0 = 0 ;
16217 PyObject * obj1 = 0 ;
16218 char *kwnames[] = {
16219 (char *) "self",(char *) "size", NULL
16220 };
16221
16222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16225 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16226 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16227 arg2 = *argp2;
d14a1e28
RD
16228 {
16229 PyThreadState* __tstate = wxPyBeginAllowThreads();
16230 wxSizeEvent_SetSize(arg1,arg2);
16231
16232 wxPyEndAllowThreads(__tstate);
16233 if (PyErr_Occurred()) SWIG_fail;
16234 }
16235 Py_INCREF(Py_None); resultobj = Py_None;
16236 return resultobj;
16237 fail:
16238 return NULL;
16239}
16240
16241
16242static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16243 PyObject *resultobj;
16244 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16245 wxSize *arg2 = (wxSize *) 0 ;
16246 PyObject * obj0 = 0 ;
16247 PyObject * obj1 = 0 ;
16248 char *kwnames[] = {
16249 (char *) "self",(char *) "m_size", NULL
16250 };
16251
16252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16255 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16257 if (arg1) (arg1)->m_size = *arg2;
16258
16259 Py_INCREF(Py_None); resultobj = Py_None;
16260 return resultobj;
16261 fail:
16262 return NULL;
16263}
16264
16265
16266static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16267 PyObject *resultobj;
16268 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16269 wxSize *result;
16270 PyObject * obj0 = 0 ;
16271 char *kwnames[] = {
16272 (char *) "self", NULL
16273 };
16274
16275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16278 result = (wxSize *)& ((arg1)->m_size);
16279
15afbcd0 16280 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
16281 return resultobj;
16282 fail:
16283 return NULL;
16284}
16285
16286
16287static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16288 PyObject *resultobj;
16289 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16290 wxRect *arg2 = (wxRect *) 0 ;
16291 PyObject * obj0 = 0 ;
16292 PyObject * obj1 = 0 ;
16293 char *kwnames[] = {
16294 (char *) "self",(char *) "m_rect", NULL
16295 };
16296
16297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16300 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16302 if (arg1) (arg1)->m_rect = *arg2;
16303
16304 Py_INCREF(Py_None); resultobj = Py_None;
16305 return resultobj;
16306 fail:
16307 return NULL;
16308}
16309
16310
16311static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16312 PyObject *resultobj;
16313 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16314 wxRect *result;
16315 PyObject * obj0 = 0 ;
16316 char *kwnames[] = {
16317 (char *) "self", NULL
16318 };
16319
16320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16323 result = (wxRect *)& ((arg1)->m_rect);
16324
15afbcd0 16325 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16326 return resultobj;
16327 fail:
16328 return NULL;
16329}
16330
16331
16332static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
16333 PyObject *obj;
16334 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16335 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16336 Py_INCREF(obj);
16337 return Py_BuildValue((char *)"");
16338}
16339static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16340 PyObject *resultobj;
16341 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16342 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16343 int arg2 = (int) 0 ;
16344 wxMoveEvent *result;
16345 wxPoint temp1 ;
16346 PyObject * obj0 = 0 ;
994141e6 16347 PyObject * obj1 = 0 ;
d14a1e28
RD
16348 char *kwnames[] = {
16349 (char *) "pos",(char *) "winid", NULL
16350 };
16351
994141e6 16352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16353 if (obj0) {
16354 {
16355 arg1 = &temp1;
16356 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16357 }
16358 }
994141e6 16359 if (obj1) {
15afbcd0
RD
16360 arg2 = (int) SWIG_AsInt(obj1);
16361 if (PyErr_Occurred()) SWIG_fail;
994141e6 16362 }
d14a1e28
RD
16363 {
16364 PyThreadState* __tstate = wxPyBeginAllowThreads();
16365 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16366
16367 wxPyEndAllowThreads(__tstate);
16368 if (PyErr_Occurred()) SWIG_fail;
16369 }
15afbcd0 16370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
16371 return resultobj;
16372 fail:
16373 return NULL;
16374}
16375
16376
16377static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16378 PyObject *resultobj;
16379 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16380 wxPoint result;
16381 PyObject * obj0 = 0 ;
16382 char *kwnames[] = {
16383 (char *) "self", NULL
16384 };
16385
16386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
16387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16389 {
16390 PyThreadState* __tstate = wxPyBeginAllowThreads();
16391 result = ((wxMoveEvent const *)arg1)->GetPosition();
16392
16393 wxPyEndAllowThreads(__tstate);
16394 if (PyErr_Occurred()) SWIG_fail;
16395 }
16396 {
16397 wxPoint * resultptr;
16398 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 16399 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16400 }
16401 return resultobj;
16402 fail:
16403 return NULL;
16404}
16405
16406
16407static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16408 PyObject *resultobj;
16409 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16410 wxRect result;
16411 PyObject * obj0 = 0 ;
16412 char *kwnames[] = {
16413 (char *) "self", NULL
16414 };
16415
16416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
16417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16419 {
16420 PyThreadState* __tstate = wxPyBeginAllowThreads();
16421 result = ((wxMoveEvent const *)arg1)->GetRect();
16422
16423 wxPyEndAllowThreads(__tstate);
16424 if (PyErr_Occurred()) SWIG_fail;
16425 }
16426 {
16427 wxRect * resultptr;
16428 resultptr = new wxRect((wxRect &) result);
15afbcd0 16429 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16430 }
16431 return resultobj;
16432 fail:
16433 return NULL;
16434}
16435
16436
16437static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16438 PyObject *resultobj;
16439 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16440 wxRect arg2 ;
16441 wxRect *argp2 ;
16442 PyObject * obj0 = 0 ;
16443 PyObject * obj1 = 0 ;
16444 char *kwnames[] = {
16445 (char *) "self",(char *) "rect", NULL
16446 };
16447
16448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16451 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16452 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16453 arg2 = *argp2;
d14a1e28
RD
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 (arg1)->SetRect(arg2);
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 Py_INCREF(Py_None); resultobj = Py_None;
16462 return resultobj;
16463 fail:
16464 return NULL;
16465}
16466
16467
16468static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj;
16470 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16471 wxPoint arg2 ;
16472 wxPoint *argp2 ;
16473 PyObject * obj0 = 0 ;
16474 PyObject * obj1 = 0 ;
16475 char *kwnames[] = {
16476 (char *) "self",(char *) "pos", NULL
16477 };
16478
16479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16482 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16483 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16484 arg2 = *argp2;
d14a1e28
RD
16485 {
16486 PyThreadState* __tstate = wxPyBeginAllowThreads();
16487 wxMoveEvent_SetPosition(arg1,arg2);
16488
16489 wxPyEndAllowThreads(__tstate);
16490 if (PyErr_Occurred()) SWIG_fail;
16491 }
16492 Py_INCREF(Py_None); resultobj = Py_None;
16493 return resultobj;
16494 fail:
16495 return NULL;
16496}
16497
16498
16499static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16500 PyObject *resultobj;
16501 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16502 wxPoint *arg2 = (wxPoint *) 0 ;
16503 PyObject * obj0 = 0 ;
16504 PyObject * obj1 = 0 ;
16505 char *kwnames[] = {
16506 (char *) "self",(char *) "m_pos", NULL
16507 };
16508
16509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16510 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16511 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16512 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16514 if (arg1) (arg1)->m_pos = *arg2;
16515
16516 Py_INCREF(Py_None); resultobj = Py_None;
16517 return resultobj;
16518 fail:
16519 return NULL;
16520}
16521
16522
16523static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16524 PyObject *resultobj;
16525 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16526 wxPoint *result;
16527 PyObject * obj0 = 0 ;
16528 char *kwnames[] = {
16529 (char *) "self", NULL
16530 };
16531
16532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16535 result = (wxPoint *)& ((arg1)->m_pos);
16536
15afbcd0 16537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
16538 return resultobj;
16539 fail:
16540 return NULL;
16541}
16542
16543
16544static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16545 PyObject *resultobj;
16546 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16547 wxRect *arg2 = (wxRect *) 0 ;
16548 PyObject * obj0 = 0 ;
16549 PyObject * obj1 = 0 ;
16550 char *kwnames[] = {
16551 (char *) "self",(char *) "m_rect", NULL
16552 };
16553
16554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16555 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16556 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16557 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16559 if (arg1) (arg1)->m_rect = *arg2;
16560
16561 Py_INCREF(Py_None); resultobj = Py_None;
16562 return resultobj;
16563 fail:
16564 return NULL;
16565}
16566
16567
16568static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16569 PyObject *resultobj;
16570 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16571 wxRect *result;
16572 PyObject * obj0 = 0 ;
16573 char *kwnames[] = {
16574 (char *) "self", NULL
16575 };
16576
16577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
16578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16580 result = (wxRect *)& ((arg1)->m_rect);
16581
15afbcd0 16582 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16583 return resultobj;
16584 fail:
16585 return NULL;
16586}
16587
16588
16589static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
16590 PyObject *obj;
16591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16592 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16593 Py_INCREF(obj);
16594 return Py_BuildValue((char *)"");
16595}
16596static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj;
16598 int arg1 = (int) 0 ;
16599 wxPaintEvent *result;
994141e6 16600 PyObject * obj0 = 0 ;
d14a1e28
RD
16601 char *kwnames[] = {
16602 (char *) "Id", NULL
16603 };
16604
994141e6
RD
16605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16606 if (obj0) {
15afbcd0
RD
16607 arg1 = (int) SWIG_AsInt(obj0);
16608 if (PyErr_Occurred()) SWIG_fail;
994141e6 16609 }
d14a1e28
RD
16610 {
16611 PyThreadState* __tstate = wxPyBeginAllowThreads();
16612 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16613
16614 wxPyEndAllowThreads(__tstate);
16615 if (PyErr_Occurred()) SWIG_fail;
16616 }
15afbcd0 16617 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
16618 return resultobj;
16619 fail:
16620 return NULL;
16621}
16622
16623
16624static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
16625 PyObject *obj;
16626 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16627 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16628 Py_INCREF(obj);
16629 return Py_BuildValue((char *)"");
16630}
16631static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16632 PyObject *resultobj;
16633 int arg1 = (int) 0 ;
16634 wxNcPaintEvent *result;
994141e6 16635 PyObject * obj0 = 0 ;
d14a1e28
RD
16636 char *kwnames[] = {
16637 (char *) "winid", NULL
16638 };
16639
994141e6
RD
16640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16641 if (obj0) {
15afbcd0
RD
16642 arg1 = (int) SWIG_AsInt(obj0);
16643 if (PyErr_Occurred()) SWIG_fail;
994141e6 16644 }
d14a1e28
RD
16645 {
16646 PyThreadState* __tstate = wxPyBeginAllowThreads();
16647 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16648
16649 wxPyEndAllowThreads(__tstate);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 }
15afbcd0 16652 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
16653 return resultobj;
16654 fail:
16655 return NULL;
16656}
16657
16658
16659static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
16660 PyObject *obj;
16661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16662 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16663 Py_INCREF(obj);
16664 return Py_BuildValue((char *)"");
16665}
16666static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16667 PyObject *resultobj;
16668 int arg1 = (int) 0 ;
16669 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16670 wxEraseEvent *result;
994141e6 16671 PyObject * obj0 = 0 ;
d14a1e28
RD
16672 PyObject * obj1 = 0 ;
16673 char *kwnames[] = {
16674 (char *) "Id",(char *) "dc", NULL
16675 };
16676
994141e6
RD
16677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16678 if (obj0) {
15afbcd0
RD
16679 arg1 = (int) SWIG_AsInt(obj0);
16680 if (PyErr_Occurred()) SWIG_fail;
994141e6 16681 }
d14a1e28 16682 if (obj1) {
15afbcd0
RD
16683 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16685 }
16686 {
16687 PyThreadState* __tstate = wxPyBeginAllowThreads();
16688 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16689
16690 wxPyEndAllowThreads(__tstate);
16691 if (PyErr_Occurred()) SWIG_fail;
16692 }
15afbcd0 16693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
16694 return resultobj;
16695 fail:
16696 return NULL;
16697}
16698
16699
16700static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj;
16702 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16703 wxDC *result;
16704 PyObject * obj0 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "self", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
15afbcd0
RD
16710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16712 {
16713 PyThreadState* __tstate = wxPyBeginAllowThreads();
16714 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16715
16716 wxPyEndAllowThreads(__tstate);
16717 if (PyErr_Occurred()) SWIG_fail;
16718 }
16719 {
16720 resultobj = wxPyMake_wxObject(result);
16721 }
16722 return resultobj;
16723 fail:
16724 return NULL;
16725}
16726
16727
16728static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
16729 PyObject *obj;
16730 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16731 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16732 Py_INCREF(obj);
16733 return Py_BuildValue((char *)"");
16734}
16735static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16736 PyObject *resultobj;
16737 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16738 int arg2 = (int) 0 ;
16739 wxFocusEvent *result;
994141e6
RD
16740 PyObject * obj0 = 0 ;
16741 PyObject * obj1 = 0 ;
d14a1e28
RD
16742 char *kwnames[] = {
16743 (char *) "type",(char *) "winid", NULL
16744 };
16745
994141e6
RD
16746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16747 if (obj0) {
15afbcd0
RD
16748 arg1 = (wxEventType) SWIG_AsInt(obj0);
16749 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16750 }
16751 if (obj1) {
15afbcd0
RD
16752 arg2 = (int) SWIG_AsInt(obj1);
16753 if (PyErr_Occurred()) SWIG_fail;
994141e6 16754 }
d14a1e28
RD
16755 {
16756 PyThreadState* __tstate = wxPyBeginAllowThreads();
16757 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16758
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
15afbcd0 16762 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
16763 return resultobj;
16764 fail:
16765 return NULL;
16766}
16767
16768
16769static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16770 PyObject *resultobj;
16771 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16772 wxWindow *result;
16773 PyObject * obj0 = 0 ;
16774 char *kwnames[] = {
16775 (char *) "self", NULL
16776 };
16777
16778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16781 {
16782 PyThreadState* __tstate = wxPyBeginAllowThreads();
16783 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16784
16785 wxPyEndAllowThreads(__tstate);
16786 if (PyErr_Occurred()) SWIG_fail;
16787 }
16788 {
16789 resultobj = wxPyMake_wxObject(result);
16790 }
16791 return resultobj;
16792 fail:
16793 return NULL;
16794}
16795
16796
16797static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16798 PyObject *resultobj;
16799 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16800 wxWindow *arg2 = (wxWindow *) 0 ;
16801 PyObject * obj0 = 0 ;
16802 PyObject * obj1 = 0 ;
16803 char *kwnames[] = {
16804 (char *) "self",(char *) "win", NULL
16805 };
16806
16807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
16808 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16809 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16810 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16812 {
16813 PyThreadState* __tstate = wxPyBeginAllowThreads();
16814 (arg1)->SetWindow(arg2);
16815
16816 wxPyEndAllowThreads(__tstate);
16817 if (PyErr_Occurred()) SWIG_fail;
16818 }
16819 Py_INCREF(Py_None); resultobj = Py_None;
16820 return resultobj;
16821 fail:
16822 return NULL;
16823}
16824
16825
16826static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
16827 PyObject *obj;
16828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16829 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
16830 Py_INCREF(obj);
16831 return Py_BuildValue((char *)"");
16832}
16833static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj;
16835 wxWindow *arg1 = (wxWindow *) NULL ;
16836 wxChildFocusEvent *result;
16837 PyObject * obj0 = 0 ;
16838 char *kwnames[] = {
16839 (char *) "win", NULL
16840 };
16841
16842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
16843 if (obj0) {
15afbcd0
RD
16844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16846 }
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
16850
16851 wxPyEndAllowThreads(__tstate);
16852 if (PyErr_Occurred()) SWIG_fail;
16853 }
15afbcd0 16854 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
16855 return resultobj;
16856 fail:
16857 return NULL;
16858}
16859
16860
16861static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16862 PyObject *resultobj;
16863 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
16864 wxWindow *result;
16865 PyObject * obj0 = 0 ;
16866 char *kwnames[] = {
16867 (char *) "self", NULL
16868 };
16869
16870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
16871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
16872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16873 {
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
16876
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 {
16881 resultobj = wxPyMake_wxObject(result);
16882 }
16883 return resultobj;
16884 fail:
16885 return NULL;
16886}
16887
16888
16889static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
16890 PyObject *obj;
16891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16892 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
16893 Py_INCREF(obj);
16894 return Py_BuildValue((char *)"");
16895}
16896static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16897 PyObject *resultobj;
16898 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 16899 bool arg2 = (bool) True ;
d14a1e28
RD
16900 int arg3 = (int) 0 ;
16901 wxActivateEvent *result;
994141e6 16902 PyObject * obj0 = 0 ;
d14a1e28 16903 PyObject * obj1 = 0 ;
994141e6 16904 PyObject * obj2 = 0 ;
d14a1e28
RD
16905 char *kwnames[] = {
16906 (char *) "type",(char *) "active",(char *) "Id", NULL
16907 };
16908
994141e6
RD
16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
16910 if (obj0) {
15afbcd0
RD
16911 arg1 = (wxEventType) SWIG_AsInt(obj0);
16912 if (PyErr_Occurred()) SWIG_fail;
994141e6 16913 }
d14a1e28 16914 if (obj1) {
15afbcd0
RD
16915 arg2 = (bool) SWIG_AsBool(obj1);
16916 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
16917 }
16918 if (obj2) {
15afbcd0
RD
16919 arg3 = (int) SWIG_AsInt(obj2);
16920 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16921 }
16922 {
16923 PyThreadState* __tstate = wxPyBeginAllowThreads();
16924 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
16925
16926 wxPyEndAllowThreads(__tstate);
16927 if (PyErr_Occurred()) SWIG_fail;
16928 }
15afbcd0 16929 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
16930 return resultobj;
16931 fail:
16932 return NULL;
16933}
16934
16935
16936static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
16937 PyObject *resultobj;
16938 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
16939 bool result;
16940 PyObject * obj0 = 0 ;
16941 char *kwnames[] = {
16942 (char *) "self", NULL
16943 };
16944
16945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
16946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
16947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16948 {
16949 PyThreadState* __tstate = wxPyBeginAllowThreads();
16950 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
16951
16952 wxPyEndAllowThreads(__tstate);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 }
4f89f6a3
RD
16955 {
16956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16957 }
d14a1e28
RD
16958 return resultobj;
16959 fail:
16960 return NULL;
16961}
16962
16963
16964static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
16965 PyObject *obj;
16966 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16967 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
16968 Py_INCREF(obj);
16969 return Py_BuildValue((char *)"");
16970}
16971static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16972 PyObject *resultobj;
16973 int arg1 = (int) 0 ;
16974 wxInitDialogEvent *result;
994141e6 16975 PyObject * obj0 = 0 ;
d14a1e28
RD
16976 char *kwnames[] = {
16977 (char *) "Id", NULL
16978 };
16979
994141e6
RD
16980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
16981 if (obj0) {
15afbcd0
RD
16982 arg1 = (int) SWIG_AsInt(obj0);
16983 if (PyErr_Occurred()) SWIG_fail;
994141e6 16984 }
d14a1e28
RD
16985 {
16986 PyThreadState* __tstate = wxPyBeginAllowThreads();
16987 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
16988
16989 wxPyEndAllowThreads(__tstate);
16990 if (PyErr_Occurred()) SWIG_fail;
16991 }
15afbcd0 16992 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
16993 return resultobj;
16994 fail:
16995 return NULL;
16996}
16997
16998
16999static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
17000 PyObject *obj;
17001 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17002 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17003 Py_INCREF(obj);
17004 return Py_BuildValue((char *)"");
17005}
17006static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17007 PyObject *resultobj;
17008 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17009 int arg2 = (int) 0 ;
17010 wxMenu *arg3 = (wxMenu *) NULL ;
17011 wxMenuEvent *result;
994141e6
RD
17012 PyObject * obj0 = 0 ;
17013 PyObject * obj1 = 0 ;
d14a1e28
RD
17014 PyObject * obj2 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "type",(char *) "winid",(char *) "menu", NULL
17017 };
17018
994141e6
RD
17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17020 if (obj0) {
15afbcd0
RD
17021 arg1 = (wxEventType) SWIG_AsInt(obj0);
17022 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17023 }
17024 if (obj1) {
15afbcd0
RD
17025 arg2 = (int) SWIG_AsInt(obj1);
17026 if (PyErr_Occurred()) SWIG_fail;
994141e6 17027 }
d14a1e28 17028 if (obj2) {
15afbcd0
RD
17029 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17031 }
17032 {
17033 PyThreadState* __tstate = wxPyBeginAllowThreads();
17034 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17035
17036 wxPyEndAllowThreads(__tstate);
17037 if (PyErr_Occurred()) SWIG_fail;
17038 }
15afbcd0 17039 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
17040 return resultobj;
17041 fail:
17042 return NULL;
17043}
17044
17045
17046static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
17047 PyObject *resultobj;
17048 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17049 int result;
17050 PyObject * obj0 = 0 ;
17051 char *kwnames[] = {
17052 (char *) "self", NULL
17053 };
17054
17055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
15afbcd0
RD
17056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17058 {
17059 PyThreadState* __tstate = wxPyBeginAllowThreads();
17060 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17061
17062 wxPyEndAllowThreads(__tstate);
17063 if (PyErr_Occurred()) SWIG_fail;
17064 }
15afbcd0 17065 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17066 return resultobj;
17067 fail:
17068 return NULL;
17069}
17070
17071
17072static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
17073 PyObject *resultobj;
17074 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17075 bool result;
17076 PyObject * obj0 = 0 ;
17077 char *kwnames[] = {
17078 (char *) "self", NULL
17079 };
17080
17081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
15afbcd0
RD
17082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17087
17088 wxPyEndAllowThreads(__tstate);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
4f89f6a3
RD
17091 {
17092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17093 }
d14a1e28
RD
17094 return resultobj;
17095 fail:
17096 return NULL;
17097}
17098
17099
17100static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
17101 PyObject *resultobj;
17102 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17103 wxMenu *result;
17104 PyObject * obj0 = 0 ;
17105 char *kwnames[] = {
17106 (char *) "self", NULL
17107 };
17108
17109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
17110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17112 {
17113 PyThreadState* __tstate = wxPyBeginAllowThreads();
17114 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17115
17116 wxPyEndAllowThreads(__tstate);
17117 if (PyErr_Occurred()) SWIG_fail;
17118 }
17119 {
17120 resultobj = wxPyMake_wxObject(result);
17121 }
17122 return resultobj;
17123 fail:
17124 return NULL;
17125}
17126
17127
17128static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
17129 PyObject *obj;
17130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17131 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17132 Py_INCREF(obj);
17133 return Py_BuildValue((char *)"");
17134}
17135static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj;
17137 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17138 int arg2 = (int) 0 ;
17139 wxCloseEvent *result;
994141e6
RD
17140 PyObject * obj0 = 0 ;
17141 PyObject * obj1 = 0 ;
d14a1e28
RD
17142 char *kwnames[] = {
17143 (char *) "type",(char *) "winid", NULL
17144 };
17145
994141e6
RD
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17147 if (obj0) {
15afbcd0
RD
17148 arg1 = (wxEventType) SWIG_AsInt(obj0);
17149 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
17150 }
17151 if (obj1) {
15afbcd0
RD
17152 arg2 = (int) SWIG_AsInt(obj1);
17153 if (PyErr_Occurred()) SWIG_fail;
994141e6 17154 }
d14a1e28
RD
17155 {
17156 PyThreadState* __tstate = wxPyBeginAllowThreads();
17157 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17158
17159 wxPyEndAllowThreads(__tstate);
17160 if (PyErr_Occurred()) SWIG_fail;
17161 }
15afbcd0 17162 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
17163 return resultobj;
17164 fail:
17165 return NULL;
17166}
17167
17168
17169static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17170 PyObject *resultobj;
17171 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17172 bool arg2 ;
17173 PyObject * obj0 = 0 ;
17174 PyObject * obj1 = 0 ;
17175 char *kwnames[] = {
17176 (char *) "self",(char *) "logOff", NULL
17177 };
17178
17179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17182 arg2 = (bool) SWIG_AsBool(obj1);
17183 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17184 {
17185 PyThreadState* __tstate = wxPyBeginAllowThreads();
17186 (arg1)->SetLoggingOff(arg2);
17187
17188 wxPyEndAllowThreads(__tstate);
17189 if (PyErr_Occurred()) SWIG_fail;
17190 }
17191 Py_INCREF(Py_None); resultobj = Py_None;
17192 return resultobj;
17193 fail:
17194 return NULL;
17195}
17196
17197
17198static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
17199 PyObject *resultobj;
17200 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17201 bool result;
17202 PyObject * obj0 = 0 ;
17203 char *kwnames[] = {
17204 (char *) "self", NULL
17205 };
17206
17207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
15afbcd0
RD
17208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17210 {
17211 PyThreadState* __tstate = wxPyBeginAllowThreads();
17212 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17213
17214 wxPyEndAllowThreads(__tstate);
17215 if (PyErr_Occurred()) SWIG_fail;
17216 }
4f89f6a3
RD
17217 {
17218 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17219 }
d14a1e28
RD
17220 return resultobj;
17221 fail:
17222 return NULL;
17223}
17224
17225
17226static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
17227 PyObject *resultobj;
17228 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
e811c8ce 17229 bool arg2 = (bool) True ;
d14a1e28
RD
17230 PyObject * obj0 = 0 ;
17231 PyObject * obj1 = 0 ;
17232 char *kwnames[] = {
17233 (char *) "self",(char *) "veto", NULL
17234 };
17235
17236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 17239 if (obj1) {
15afbcd0
RD
17240 arg2 = (bool) SWIG_AsBool(obj1);
17241 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17242 }
17243 {
17244 PyThreadState* __tstate = wxPyBeginAllowThreads();
17245 (arg1)->Veto(arg2);
17246
17247 wxPyEndAllowThreads(__tstate);
17248 if (PyErr_Occurred()) SWIG_fail;
17249 }
17250 Py_INCREF(Py_None); resultobj = Py_None;
17251 return resultobj;
17252 fail:
17253 return NULL;
17254}
17255
17256
17257static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj;
17259 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17260 bool arg2 ;
17261 PyObject * obj0 = 0 ;
17262 PyObject * obj1 = 0 ;
17263 char *kwnames[] = {
17264 (char *) "self",(char *) "canVeto", NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17268 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17270 arg2 = (bool) SWIG_AsBool(obj1);
17271 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17272 {
17273 PyThreadState* __tstate = wxPyBeginAllowThreads();
17274 (arg1)->SetCanVeto(arg2);
17275
17276 wxPyEndAllowThreads(__tstate);
17277 if (PyErr_Occurred()) SWIG_fail;
17278 }
17279 Py_INCREF(Py_None); resultobj = Py_None;
17280 return resultobj;
17281 fail:
17282 return NULL;
17283}
17284
17285
17286static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17287 PyObject *resultobj;
17288 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17289 bool result;
17290 PyObject * obj0 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17296 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17298 {
17299 PyThreadState* __tstate = wxPyBeginAllowThreads();
17300 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17301
17302 wxPyEndAllowThreads(__tstate);
17303 if (PyErr_Occurred()) SWIG_fail;
17304 }
4f89f6a3
RD
17305 {
17306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17307 }
d14a1e28
RD
17308 return resultobj;
17309 fail:
17310 return NULL;
17311}
17312
17313
17314static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17315 PyObject *resultobj;
17316 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17317 bool result;
17318 PyObject * obj0 = 0 ;
17319 char *kwnames[] = {
17320 (char *) "self", NULL
17321 };
17322
17323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
15afbcd0
RD
17324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
17328 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17329
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
4f89f6a3
RD
17333 {
17334 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17335 }
d14a1e28
RD
17336 return resultobj;
17337 fail:
17338 return NULL;
17339}
17340
17341
17342static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
17343 PyObject *obj;
17344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17345 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17346 Py_INCREF(obj);
17347 return Py_BuildValue((char *)"");
17348}
17349static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17350 PyObject *resultobj;
17351 int arg1 = (int) 0 ;
e811c8ce 17352 bool arg2 = (bool) False ;
d14a1e28 17353 wxShowEvent *result;
994141e6 17354 PyObject * obj0 = 0 ;
d14a1e28
RD
17355 PyObject * obj1 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "winid",(char *) "show", NULL
17358 };
17359
994141e6
RD
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17361 if (obj0) {
15afbcd0
RD
17362 arg1 = (int) SWIG_AsInt(obj0);
17363 if (PyErr_Occurred()) SWIG_fail;
994141e6 17364 }
d14a1e28 17365 if (obj1) {
15afbcd0
RD
17366 arg2 = (bool) SWIG_AsBool(obj1);
17367 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17368 }
17369 {
17370 PyThreadState* __tstate = wxPyBeginAllowThreads();
17371 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17372
17373 wxPyEndAllowThreads(__tstate);
17374 if (PyErr_Occurred()) SWIG_fail;
17375 }
15afbcd0 17376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
17377 return resultobj;
17378 fail:
17379 return NULL;
17380}
17381
17382
17383static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17384 PyObject *resultobj;
17385 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17386 bool arg2 ;
17387 PyObject * obj0 = 0 ;
17388 PyObject * obj1 = 0 ;
17389 char *kwnames[] = {
17390 (char *) "self",(char *) "show", NULL
17391 };
17392
17393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17396 arg2 = (bool) SWIG_AsBool(obj1);
17397 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 (arg1)->SetShow(arg2);
17401
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 Py_INCREF(Py_None); resultobj = Py_None;
17406 return resultobj;
17407 fail:
17408 return NULL;
17409}
17410
17411
17412static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj;
17414 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17415 bool result;
17416 PyObject * obj0 = 0 ;
17417 char *kwnames[] = {
17418 (char *) "self", NULL
17419 };
17420
17421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
15afbcd0
RD
17422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17424 {
17425 PyThreadState* __tstate = wxPyBeginAllowThreads();
17426 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17427
17428 wxPyEndAllowThreads(__tstate);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
4f89f6a3
RD
17431 {
17432 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17433 }
d14a1e28
RD
17434 return resultobj;
17435 fail:
17436 return NULL;
17437}
17438
17439
17440static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
17441 PyObject *obj;
17442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17443 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17444 Py_INCREF(obj);
17445 return Py_BuildValue((char *)"");
17446}
17447static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17448 PyObject *resultobj;
17449 int arg1 = (int) 0 ;
e811c8ce 17450 bool arg2 = (bool) True ;
d14a1e28 17451 wxIconizeEvent *result;
994141e6 17452 PyObject * obj0 = 0 ;
d14a1e28
RD
17453 PyObject * obj1 = 0 ;
17454 char *kwnames[] = {
17455 (char *) "id",(char *) "iconized", NULL
17456 };
17457
994141e6
RD
17458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17459 if (obj0) {
15afbcd0
RD
17460 arg1 = (int) SWIG_AsInt(obj0);
17461 if (PyErr_Occurred()) SWIG_fail;
994141e6 17462 }
d14a1e28 17463 if (obj1) {
15afbcd0
RD
17464 arg2 = (bool) SWIG_AsBool(obj1);
17465 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17466 }
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
15afbcd0 17474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
17475 return resultobj;
17476 fail:
17477 return NULL;
17478}
17479
17480
17481static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17484 bool result;
17485 PyObject * obj0 = 0 ;
17486 char *kwnames[] = {
17487 (char *) "self", NULL
17488 };
17489
17490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
15afbcd0
RD
17491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17493 {
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 result = (bool)(arg1)->Iconized();
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
4f89f6a3
RD
17500 {
17501 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17502 }
d14a1e28
RD
17503 return resultobj;
17504 fail:
17505 return NULL;
17506}
17507
17508
17509static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
17510 PyObject *obj;
17511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17512 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17513 Py_INCREF(obj);
17514 return Py_BuildValue((char *)"");
17515}
17516static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17517 PyObject *resultobj;
17518 int arg1 = (int) 0 ;
17519 wxMaximizeEvent *result;
994141e6 17520 PyObject * obj0 = 0 ;
d14a1e28
RD
17521 char *kwnames[] = {
17522 (char *) "id", NULL
17523 };
17524
994141e6
RD
17525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17526 if (obj0) {
15afbcd0
RD
17527 arg1 = (int) SWIG_AsInt(obj0);
17528 if (PyErr_Occurred()) SWIG_fail;
994141e6 17529 }
d14a1e28
RD
17530 {
17531 PyThreadState* __tstate = wxPyBeginAllowThreads();
17532 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17533
17534 wxPyEndAllowThreads(__tstate);
17535 if (PyErr_Occurred()) SWIG_fail;
17536 }
15afbcd0 17537 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
17538 return resultobj;
17539 fail:
17540 return NULL;
17541}
17542
17543
17544static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
17545 PyObject *obj;
17546 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17547 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17548 Py_INCREF(obj);
17549 return Py_BuildValue((char *)"");
17550}
17551static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17552 PyObject *resultobj;
17553 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17554 wxPoint result;
17555 PyObject * obj0 = 0 ;
17556 char *kwnames[] = {
17557 (char *) "self", NULL
17558 };
17559
17560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
17561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17563 {
17564 PyThreadState* __tstate = wxPyBeginAllowThreads();
17565 result = (arg1)->GetPosition();
17566
17567 wxPyEndAllowThreads(__tstate);
17568 if (PyErr_Occurred()) SWIG_fail;
17569 }
17570 {
17571 wxPoint * resultptr;
17572 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 17573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
17574 }
17575 return resultobj;
17576 fail:
17577 return NULL;
17578}
17579
17580
17581static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17582 PyObject *resultobj;
17583 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17584 int result;
17585 PyObject * obj0 = 0 ;
17586 char *kwnames[] = {
17587 (char *) "self", NULL
17588 };
17589
17590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
17591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17593 {
17594 PyThreadState* __tstate = wxPyBeginAllowThreads();
17595 result = (int)(arg1)->GetNumberOfFiles();
17596
17597 wxPyEndAllowThreads(__tstate);
17598 if (PyErr_Occurred()) SWIG_fail;
17599 }
15afbcd0 17600 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17601 return resultobj;
17602 fail:
17603 return NULL;
17604}
17605
17606
17607static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17608 PyObject *resultobj;
17609 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17610 PyObject *result;
17611 PyObject * obj0 = 0 ;
17612 char *kwnames[] = {
17613 (char *) "self", NULL
17614 };
17615
17616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
15afbcd0
RD
17617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17619 {
17620 PyThreadState* __tstate = wxPyBeginAllowThreads();
17621 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17622
17623 wxPyEndAllowThreads(__tstate);
17624 if (PyErr_Occurred()) SWIG_fail;
17625 }
17626 resultobj = result;
17627 return resultobj;
17628 fail:
17629 return NULL;
17630}
17631
17632
17633static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
17634 PyObject *obj;
17635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17636 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17637 Py_INCREF(obj);
17638 return Py_BuildValue((char *)"");
17639}
17640static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17641 PyObject *resultobj;
e811c8ce 17642 int arg1 = (int) 0 ;
d14a1e28 17643 wxUpdateUIEvent *result;
994141e6 17644 PyObject * obj0 = 0 ;
d14a1e28
RD
17645 char *kwnames[] = {
17646 (char *) "commandId", NULL
17647 };
17648
994141e6
RD
17649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17650 if (obj0) {
15afbcd0
RD
17651 arg1 = (int) SWIG_AsInt(obj0);
17652 if (PyErr_Occurred()) SWIG_fail;
994141e6 17653 }
d14a1e28
RD
17654 {
17655 PyThreadState* __tstate = wxPyBeginAllowThreads();
17656 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17657
17658 wxPyEndAllowThreads(__tstate);
17659 if (PyErr_Occurred()) SWIG_fail;
17660 }
15afbcd0 17661 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
17662 return resultobj;
17663 fail:
17664 return NULL;
17665}
17666
17667
17668static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17669 PyObject *resultobj;
17670 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17671 bool result;
17672 PyObject * obj0 = 0 ;
17673 char *kwnames[] = {
17674 (char *) "self", NULL
17675 };
17676
17677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
17678 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17679 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17680 {
17681 PyThreadState* __tstate = wxPyBeginAllowThreads();
17682 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17683
17684 wxPyEndAllowThreads(__tstate);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
4f89f6a3
RD
17687 {
17688 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17689 }
d14a1e28
RD
17690 return resultobj;
17691 fail:
17692 return NULL;
17693}
17694
17695
17696static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17697 PyObject *resultobj;
17698 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17699 bool result;
17700 PyObject * obj0 = 0 ;
17701 char *kwnames[] = {
17702 (char *) "self", NULL
17703 };
17704
17705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
17706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
4f89f6a3
RD
17715 {
17716 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17717 }
d14a1e28
RD
17718 return resultobj;
17719 fail:
17720 return NULL;
17721}
17722
17723
17724static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17725 PyObject *resultobj;
17726 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17727 wxString result;
17728 PyObject * obj0 = 0 ;
17729 char *kwnames[] = {
17730 (char *) "self", NULL
17731 };
17732
17733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
17734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17736 {
17737 PyThreadState* __tstate = wxPyBeginAllowThreads();
17738 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17739
17740 wxPyEndAllowThreads(__tstate);
17741 if (PyErr_Occurred()) SWIG_fail;
17742 }
17743 {
17744#if wxUSE_UNICODE
17745 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17746#else
17747 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17748#endif
17749 }
17750 return resultobj;
17751 fail:
17752 return NULL;
17753}
17754
17755
17756static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17757 PyObject *resultobj;
17758 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17759 bool result;
17760 PyObject * obj0 = 0 ;
17761 char *kwnames[] = {
17762 (char *) "self", NULL
17763 };
17764
17765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
17766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17771
17772 wxPyEndAllowThreads(__tstate);
17773 if (PyErr_Occurred()) SWIG_fail;
17774 }
4f89f6a3
RD
17775 {
17776 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17777 }
d14a1e28
RD
17778 return resultobj;
17779 fail:
17780 return NULL;
17781}
17782
17783
17784static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17785 PyObject *resultobj;
17786 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17787 bool result;
17788 PyObject * obj0 = 0 ;
17789 char *kwnames[] = {
17790 (char *) "self", NULL
17791 };
17792
17793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
17794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17796 {
17797 PyThreadState* __tstate = wxPyBeginAllowThreads();
17798 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
17799
17800 wxPyEndAllowThreads(__tstate);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
4f89f6a3
RD
17803 {
17804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17805 }
d14a1e28
RD
17806 return resultobj;
17807 fail:
17808 return NULL;
17809}
17810
17811
17812static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj;
17814 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17815 bool result;
17816 PyObject * obj0 = 0 ;
17817 char *kwnames[] = {
17818 (char *) "self", NULL
17819 };
17820
17821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
17822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17824 {
17825 PyThreadState* __tstate = wxPyBeginAllowThreads();
17826 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
17827
17828 wxPyEndAllowThreads(__tstate);
17829 if (PyErr_Occurred()) SWIG_fail;
17830 }
4f89f6a3
RD
17831 {
17832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17833 }
d14a1e28
RD
17834 return resultobj;
17835 fail:
17836 return NULL;
17837}
17838
17839
17840static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
17841 PyObject *resultobj;
17842 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17843 bool arg2 ;
17844 PyObject * obj0 = 0 ;
17845 PyObject * obj1 = 0 ;
17846 char *kwnames[] = {
17847 (char *) "self",(char *) "check", NULL
17848 };
17849
17850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17851 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17852 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17853 arg2 = (bool) SWIG_AsBool(obj1);
17854 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 (arg1)->Check(arg2);
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 Py_INCREF(Py_None); resultobj = Py_None;
17863 return resultobj;
17864 fail:
17865 return NULL;
17866}
17867
17868
17869static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
17870 PyObject *resultobj;
17871 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17872 bool arg2 ;
17873 PyObject * obj0 = 0 ;
17874 PyObject * obj1 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self",(char *) "enable", NULL
17877 };
17878
17879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17882 arg2 = (bool) SWIG_AsBool(obj1);
17883 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 (arg1)->Enable(arg2);
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 Py_INCREF(Py_None); resultobj = Py_None;
17892 return resultobj;
17893 fail:
17894 return NULL;
17895}
17896
17897
17898static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17899 PyObject *resultobj;
17900 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17901 wxString *arg2 = 0 ;
e811c8ce 17902 bool temp2 = False ;
d14a1e28
RD
17903 PyObject * obj0 = 0 ;
17904 PyObject * obj1 = 0 ;
17905 char *kwnames[] = {
17906 (char *) "self",(char *) "text", NULL
17907 };
17908
17909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
17910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17912 {
17913 arg2 = wxString_in_helper(obj1);
17914 if (arg2 == NULL) SWIG_fail;
e811c8ce 17915 temp2 = True;
d14a1e28
RD
17916 }
17917 {
17918 PyThreadState* __tstate = wxPyBeginAllowThreads();
17919 (arg1)->SetText((wxString const &)*arg2);
17920
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 Py_INCREF(Py_None); resultobj = Py_None;
17925 {
17926 if (temp2)
17927 delete arg2;
17928 }
17929 return resultobj;
17930 fail:
17931 {
17932 if (temp2)
17933 delete arg2;
17934 }
17935 return NULL;
17936}
17937
17938
17939static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
17940 PyObject *resultobj;
17941 long arg1 ;
994141e6 17942 PyObject * obj0 = 0 ;
d14a1e28
RD
17943 char *kwnames[] = {
17944 (char *) "updateInterval", NULL
17945 };
17946
994141e6 17947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
15afbcd0
RD
17948 arg1 = (long) SWIG_AsLong(obj0);
17949 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17950 {
17951 PyThreadState* __tstate = wxPyBeginAllowThreads();
17952 wxUpdateUIEvent::SetUpdateInterval(arg1);
17953
17954 wxPyEndAllowThreads(__tstate);
17955 if (PyErr_Occurred()) SWIG_fail;
17956 }
17957 Py_INCREF(Py_None); resultobj = Py_None;
17958 return resultobj;
17959 fail:
17960 return NULL;
17961}
17962
17963
17964static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
17965 PyObject *resultobj;
17966 long result;
17967 char *kwnames[] = {
17968 NULL
17969 };
17970
17971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
17972 {
17973 PyThreadState* __tstate = wxPyBeginAllowThreads();
17974 result = (long)wxUpdateUIEvent::GetUpdateInterval();
17975
17976 wxPyEndAllowThreads(__tstate);
17977 if (PyErr_Occurred()) SWIG_fail;
17978 }
15afbcd0 17979 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
17980 return resultobj;
17981 fail:
17982 return NULL;
17983}
17984
17985
17986static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
17987 PyObject *resultobj;
17988 wxWindow *arg1 = (wxWindow *) 0 ;
17989 bool result;
17990 PyObject * obj0 = 0 ;
17991 char *kwnames[] = {
17992 (char *) "win", NULL
17993 };
17994
17995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
15afbcd0
RD
17996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17998 {
17999 PyThreadState* __tstate = wxPyBeginAllowThreads();
18000 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18001
18002 wxPyEndAllowThreads(__tstate);
18003 if (PyErr_Occurred()) SWIG_fail;
18004 }
4f89f6a3
RD
18005 {
18006 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18007 }
d14a1e28
RD
18008 return resultobj;
18009 fail:
18010 return NULL;
18011}
18012
18013
18014static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
18015 PyObject *resultobj;
18016 char *kwnames[] = {
18017 NULL
18018 };
18019
18020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18021 {
18022 PyThreadState* __tstate = wxPyBeginAllowThreads();
18023 wxUpdateUIEvent::ResetUpdateTime();
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 Py_INCREF(Py_None); resultobj = Py_None;
18029 return resultobj;
18030 fail:
18031 return NULL;
18032}
18033
18034
18035static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj;
18037 int arg1 ;
994141e6 18038 PyObject * obj0 = 0 ;
d14a1e28
RD
18039 char *kwnames[] = {
18040 (char *) "mode", NULL
18041 };
18042
994141e6 18043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
18044 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
18045 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18046 {
18047 PyThreadState* __tstate = wxPyBeginAllowThreads();
18048 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18049
18050 wxPyEndAllowThreads(__tstate);
18051 if (PyErr_Occurred()) SWIG_fail;
18052 }
18053 Py_INCREF(Py_None); resultobj = Py_None;
18054 return resultobj;
18055 fail:
18056 return NULL;
18057}
18058
18059
18060static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18061 PyObject *resultobj;
18062 int result;
18063 char *kwnames[] = {
18064 NULL
18065 };
18066
18067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18068 {
18069 PyThreadState* __tstate = wxPyBeginAllowThreads();
18070 result = (int)wxUpdateUIEvent::GetMode();
18071
18072 wxPyEndAllowThreads(__tstate);
18073 if (PyErr_Occurred()) SWIG_fail;
18074 }
15afbcd0 18075 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18076 return resultobj;
18077 fail:
18078 return NULL;
18079}
18080
18081
18082static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
18083 PyObject *obj;
18084 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18085 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18086 Py_INCREF(obj);
18087 return Py_BuildValue((char *)"");
18088}
18089static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18090 PyObject *resultobj;
18091 wxSysColourChangedEvent *result;
18092 char *kwnames[] = {
18093 NULL
18094 };
18095
18096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18097 {
18098 PyThreadState* __tstate = wxPyBeginAllowThreads();
18099 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18100
18101 wxPyEndAllowThreads(__tstate);
18102 if (PyErr_Occurred()) SWIG_fail;
18103 }
15afbcd0 18104 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
18105 return resultobj;
18106 fail:
18107 return NULL;
18108}
18109
18110
18111static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
18112 PyObject *obj;
18113 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18114 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18115 Py_INCREF(obj);
18116 return Py_BuildValue((char *)"");
18117}
18118static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18119 PyObject *resultobj;
e811c8ce 18120 int arg1 = (int) 0 ;
d14a1e28
RD
18121 wxWindow *arg2 = (wxWindow *) NULL ;
18122 wxMouseCaptureChangedEvent *result;
994141e6 18123 PyObject * obj0 = 0 ;
d14a1e28
RD
18124 PyObject * obj1 = 0 ;
18125 char *kwnames[] = {
18126 (char *) "winid",(char *) "gainedCapture", NULL
18127 };
18128
994141e6
RD
18129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18130 if (obj0) {
15afbcd0
RD
18131 arg1 = (int) SWIG_AsInt(obj0);
18132 if (PyErr_Occurred()) SWIG_fail;
994141e6 18133 }
d14a1e28 18134 if (obj1) {
15afbcd0
RD
18135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18137 }
18138 {
18139 PyThreadState* __tstate = wxPyBeginAllowThreads();
18140 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18141
18142 wxPyEndAllowThreads(__tstate);
18143 if (PyErr_Occurred()) SWIG_fail;
18144 }
15afbcd0 18145 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
18146 return resultobj;
18147 fail:
18148 return NULL;
18149}
18150
18151
18152static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18153 PyObject *resultobj;
18154 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18155 wxWindow *result;
18156 PyObject * obj0 = 0 ;
18157 char *kwnames[] = {
18158 (char *) "self", NULL
18159 };
18160
18161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18164 {
18165 PyThreadState* __tstate = wxPyBeginAllowThreads();
18166 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18167
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 {
18172 resultobj = wxPyMake_wxObject(result);
18173 }
18174 return resultobj;
18175 fail:
18176 return NULL;
18177}
18178
18179
18180static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
18181 PyObject *obj;
18182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18183 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18184 Py_INCREF(obj);
18185 return Py_BuildValue((char *)"");
18186}
18187static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18188 PyObject *resultobj;
18189 wxDisplayChangedEvent *result;
18190 char *kwnames[] = {
18191 NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18195 {
18196 PyThreadState* __tstate = wxPyBeginAllowThreads();
18197 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18198
18199 wxPyEndAllowThreads(__tstate);
18200 if (PyErr_Occurred()) SWIG_fail;
18201 }
15afbcd0 18202 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
18203 return resultobj;
18204 fail:
18205 return NULL;
18206}
18207
18208
18209static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
18210 PyObject *obj;
18211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18212 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18213 Py_INCREF(obj);
18214 return Py_BuildValue((char *)"");
18215}
18216static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18217 PyObject *resultobj;
e811c8ce 18218 int arg1 = (int) 0 ;
d14a1e28 18219 wxPaletteChangedEvent *result;
994141e6 18220 PyObject * obj0 = 0 ;
d14a1e28
RD
18221 char *kwnames[] = {
18222 (char *) "id", NULL
18223 };
18224
994141e6
RD
18225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18226 if (obj0) {
15afbcd0
RD
18227 arg1 = (int) SWIG_AsInt(obj0);
18228 if (PyErr_Occurred()) SWIG_fail;
994141e6 18229 }
d14a1e28
RD
18230 {
18231 PyThreadState* __tstate = wxPyBeginAllowThreads();
18232 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18233
18234 wxPyEndAllowThreads(__tstate);
18235 if (PyErr_Occurred()) SWIG_fail;
18236 }
15afbcd0 18237 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
18238 return resultobj;
18239 fail:
18240 return NULL;
18241}
18242
18243
18244static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18245 PyObject *resultobj;
18246 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18247 wxWindow *arg2 = (wxWindow *) 0 ;
18248 PyObject * obj0 = 0 ;
18249 PyObject * obj1 = 0 ;
18250 char *kwnames[] = {
18251 (char *) "self",(char *) "win", NULL
18252 };
18253
18254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18257 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 (arg1)->SetChangedWindow(arg2);
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 Py_INCREF(Py_None); resultobj = Py_None;
18267 return resultobj;
18268 fail:
18269 return NULL;
18270}
18271
18272
18273static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18274 PyObject *resultobj;
18275 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18276 wxWindow *result;
18277 PyObject * obj0 = 0 ;
18278 char *kwnames[] = {
18279 (char *) "self", NULL
18280 };
18281
18282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18285 {
18286 PyThreadState* __tstate = wxPyBeginAllowThreads();
18287 result = (wxWindow *)(arg1)->GetChangedWindow();
18288
18289 wxPyEndAllowThreads(__tstate);
18290 if (PyErr_Occurred()) SWIG_fail;
18291 }
18292 {
18293 resultobj = wxPyMake_wxObject(result);
18294 }
18295 return resultobj;
18296 fail:
18297 return NULL;
18298}
18299
18300
18301static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
18302 PyObject *obj;
18303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18304 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18305 Py_INCREF(obj);
18306 return Py_BuildValue((char *)"");
18307}
18308static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18309 PyObject *resultobj;
e811c8ce 18310 int arg1 = (int) 0 ;
d14a1e28 18311 wxQueryNewPaletteEvent *result;
994141e6 18312 PyObject * obj0 = 0 ;
d14a1e28
RD
18313 char *kwnames[] = {
18314 (char *) "winid", NULL
18315 };
18316
994141e6
RD
18317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18318 if (obj0) {
15afbcd0
RD
18319 arg1 = (int) SWIG_AsInt(obj0);
18320 if (PyErr_Occurred()) SWIG_fail;
994141e6 18321 }
d14a1e28
RD
18322 {
18323 PyThreadState* __tstate = wxPyBeginAllowThreads();
18324 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18325
18326 wxPyEndAllowThreads(__tstate);
18327 if (PyErr_Occurred()) SWIG_fail;
18328 }
15afbcd0 18329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
18330 return resultobj;
18331 fail:
18332 return NULL;
18333}
18334
18335
18336static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18337 PyObject *resultobj;
18338 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18339 bool arg2 ;
18340 PyObject * obj0 = 0 ;
18341 PyObject * obj1 = 0 ;
18342 char *kwnames[] = {
18343 (char *) "self",(char *) "realized", NULL
18344 };
18345
18346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18349 arg2 = (bool) SWIG_AsBool(obj1);
18350 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18351 {
18352 PyThreadState* __tstate = wxPyBeginAllowThreads();
18353 (arg1)->SetPaletteRealized(arg2);
18354
18355 wxPyEndAllowThreads(__tstate);
18356 if (PyErr_Occurred()) SWIG_fail;
18357 }
18358 Py_INCREF(Py_None); resultobj = Py_None;
18359 return resultobj;
18360 fail:
18361 return NULL;
18362}
18363
18364
18365static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18366 PyObject *resultobj;
18367 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18368 bool result;
18369 PyObject * obj0 = 0 ;
18370 char *kwnames[] = {
18371 (char *) "self", NULL
18372 };
18373
18374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
15afbcd0
RD
18375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18377 {
18378 PyThreadState* __tstate = wxPyBeginAllowThreads();
18379 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18380
18381 wxPyEndAllowThreads(__tstate);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 }
4f89f6a3
RD
18384 {
18385 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18386 }
d14a1e28
RD
18387 return resultobj;
18388 fail:
18389 return NULL;
18390}
18391
18392
18393static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
18394 PyObject *obj;
18395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18396 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18397 Py_INCREF(obj);
18398 return Py_BuildValue((char *)"");
18399}
18400static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18401 PyObject *resultobj;
18402 wxNavigationKeyEvent *result;
18403 char *kwnames[] = {
18404 NULL
18405 };
18406
18407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18408 {
18409 PyThreadState* __tstate = wxPyBeginAllowThreads();
18410 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18411
18412 wxPyEndAllowThreads(__tstate);
18413 if (PyErr_Occurred()) SWIG_fail;
18414 }
15afbcd0 18415 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
18416 return resultobj;
18417 fail:
18418 return NULL;
18419}
18420
18421
18422static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18423 PyObject *resultobj;
18424 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18425 bool result;
18426 PyObject * obj0 = 0 ;
18427 char *kwnames[] = {
18428 (char *) "self", NULL
18429 };
18430
18431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
18432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18434 {
18435 PyThreadState* __tstate = wxPyBeginAllowThreads();
18436 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18437
18438 wxPyEndAllowThreads(__tstate);
18439 if (PyErr_Occurred()) SWIG_fail;
18440 }
4f89f6a3
RD
18441 {
18442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18443 }
d14a1e28
RD
18444 return resultobj;
18445 fail:
18446 return NULL;
18447}
18448
18449
18450static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj;
18452 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18453 bool arg2 ;
18454 PyObject * obj0 = 0 ;
18455 PyObject * obj1 = 0 ;
18456 char *kwnames[] = {
18457 (char *) "self",(char *) "bForward", NULL
18458 };
18459
18460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18463 arg2 = (bool) SWIG_AsBool(obj1);
18464 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18465 {
18466 PyThreadState* __tstate = wxPyBeginAllowThreads();
18467 (arg1)->SetDirection(arg2);
18468
18469 wxPyEndAllowThreads(__tstate);
18470 if (PyErr_Occurred()) SWIG_fail;
18471 }
18472 Py_INCREF(Py_None); resultobj = Py_None;
18473 return resultobj;
18474 fail:
18475 return NULL;
18476}
18477
18478
18479static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18480 PyObject *resultobj;
18481 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18482 bool result;
18483 PyObject * obj0 = 0 ;
18484 char *kwnames[] = {
18485 (char *) "self", NULL
18486 };
18487
18488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
15afbcd0
RD
18489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18491 {
18492 PyThreadState* __tstate = wxPyBeginAllowThreads();
18493 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18494
18495 wxPyEndAllowThreads(__tstate);
18496 if (PyErr_Occurred()) SWIG_fail;
18497 }
4f89f6a3
RD
18498 {
18499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18500 }
d14a1e28
RD
18501 return resultobj;
18502 fail:
18503 return NULL;
18504}
18505
18506
18507static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18508 PyObject *resultobj;
18509 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18510 bool arg2 ;
18511 PyObject * obj0 = 0 ;
18512 PyObject * obj1 = 0 ;
18513 char *kwnames[] = {
18514 (char *) "self",(char *) "bIs", NULL
18515 };
18516
18517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18520 arg2 = (bool) SWIG_AsBool(obj1);
18521 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18522 {
18523 PyThreadState* __tstate = wxPyBeginAllowThreads();
18524 (arg1)->SetWindowChange(arg2);
18525
18526 wxPyEndAllowThreads(__tstate);
18527 if (PyErr_Occurred()) SWIG_fail;
18528 }
18529 Py_INCREF(Py_None); resultobj = Py_None;
18530 return resultobj;
18531 fail:
18532 return NULL;
18533}
18534
18535
18536static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18537 PyObject *resultobj;
18538 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18539 wxWindow *result;
18540 PyObject * obj0 = 0 ;
18541 char *kwnames[] = {
18542 (char *) "self", NULL
18543 };
18544
18545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
18546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18548 {
18549 PyThreadState* __tstate = wxPyBeginAllowThreads();
18550 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18551
18552 wxPyEndAllowThreads(__tstate);
18553 if (PyErr_Occurred()) SWIG_fail;
18554 }
18555 {
18556 resultobj = wxPyMake_wxObject(result);
18557 }
18558 return resultobj;
18559 fail:
18560 return NULL;
18561}
18562
18563
18564static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18565 PyObject *resultobj;
18566 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18567 wxWindow *arg2 = (wxWindow *) 0 ;
18568 PyObject * obj0 = 0 ;
18569 PyObject * obj1 = 0 ;
18570 char *kwnames[] = {
18571 (char *) "self",(char *) "win", NULL
18572 };
18573
18574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18577 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18579 {
18580 PyThreadState* __tstate = wxPyBeginAllowThreads();
18581 (arg1)->SetCurrentFocus(arg2);
18582
18583 wxPyEndAllowThreads(__tstate);
18584 if (PyErr_Occurred()) SWIG_fail;
18585 }
18586 Py_INCREF(Py_None); resultobj = Py_None;
18587 return resultobj;
18588 fail:
18589 return NULL;
18590}
18591
18592
18593static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
18594 PyObject *obj;
18595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18596 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18597 Py_INCREF(obj);
18598 return Py_BuildValue((char *)"");
18599}
18600static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18601 PyObject *resultobj;
18602 wxWindow *arg1 = (wxWindow *) NULL ;
18603 wxWindowCreateEvent *result;
18604 PyObject * obj0 = 0 ;
18605 char *kwnames[] = {
18606 (char *) "win", NULL
18607 };
18608
18609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18610 if (obj0) {
15afbcd0
RD
18611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18613 }
18614 {
18615 PyThreadState* __tstate = wxPyBeginAllowThreads();
18616 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18617
18618 wxPyEndAllowThreads(__tstate);
18619 if (PyErr_Occurred()) SWIG_fail;
18620 }
15afbcd0 18621 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
18622 return resultobj;
18623 fail:
18624 return NULL;
18625}
18626
18627
18628static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18629 PyObject *resultobj;
18630 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18631 wxWindow *result;
18632 PyObject * obj0 = 0 ;
18633 char *kwnames[] = {
18634 (char *) "self", NULL
18635 };
18636
18637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18640 {
18641 PyThreadState* __tstate = wxPyBeginAllowThreads();
18642 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18643
18644 wxPyEndAllowThreads(__tstate);
18645 if (PyErr_Occurred()) SWIG_fail;
18646 }
18647 {
18648 resultobj = wxPyMake_wxObject(result);
18649 }
18650 return resultobj;
18651 fail:
18652 return NULL;
18653}
18654
18655
18656static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
18657 PyObject *obj;
18658 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18659 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18660 Py_INCREF(obj);
18661 return Py_BuildValue((char *)"");
18662}
18663static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18664 PyObject *resultobj;
18665 wxWindow *arg1 = (wxWindow *) NULL ;
18666 wxWindowDestroyEvent *result;
18667 PyObject * obj0 = 0 ;
18668 char *kwnames[] = {
18669 (char *) "win", NULL
18670 };
18671
18672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18673 if (obj0) {
15afbcd0
RD
18674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18676 }
18677 {
18678 PyThreadState* __tstate = wxPyBeginAllowThreads();
18679 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18680
18681 wxPyEndAllowThreads(__tstate);
18682 if (PyErr_Occurred()) SWIG_fail;
18683 }
15afbcd0 18684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
18685 return resultobj;
18686 fail:
18687 return NULL;
18688}
18689
18690
18691static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18692 PyObject *resultobj;
18693 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18694 wxWindow *result;
18695 PyObject * obj0 = 0 ;
18696 char *kwnames[] = {
18697 (char *) "self", NULL
18698 };
18699
18700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
18701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18703 {
18704 PyThreadState* __tstate = wxPyBeginAllowThreads();
18705 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18706
18707 wxPyEndAllowThreads(__tstate);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
18710 {
18711 resultobj = wxPyMake_wxObject(result);
18712 }
18713 return resultobj;
18714 fail:
18715 return NULL;
18716}
18717
18718
18719static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
18720 PyObject *obj;
18721 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18722 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18723 Py_INCREF(obj);
18724 return Py_BuildValue((char *)"");
18725}
18726static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18727 PyObject *resultobj;
18728 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 18729 int arg2 = (int) 0 ;
d14a1e28
RD
18730 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18731 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18732 wxContextMenuEvent *result;
18733 wxPoint temp3 ;
994141e6
RD
18734 PyObject * obj0 = 0 ;
18735 PyObject * obj1 = 0 ;
d14a1e28
RD
18736 PyObject * obj2 = 0 ;
18737 char *kwnames[] = {
18738 (char *) "type",(char *) "winid",(char *) "pt", NULL
18739 };
18740
994141e6
RD
18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18742 if (obj0) {
15afbcd0
RD
18743 arg1 = (wxEventType) SWIG_AsInt(obj0);
18744 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
18745 }
18746 if (obj1) {
15afbcd0
RD
18747 arg2 = (int) SWIG_AsInt(obj1);
18748 if (PyErr_Occurred()) SWIG_fail;
994141e6 18749 }
d14a1e28
RD
18750 if (obj2) {
18751 {
18752 arg3 = &temp3;
18753 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18754 }
18755 }
18756 {
18757 PyThreadState* __tstate = wxPyBeginAllowThreads();
18758 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18759
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
15afbcd0 18763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
18764 return resultobj;
18765 fail:
18766 return NULL;
18767}
18768
18769
18770static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18771 PyObject *resultobj;
18772 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18773 wxPoint *result;
18774 PyObject * obj0 = 0 ;
18775 char *kwnames[] = {
18776 (char *) "self", NULL
18777 };
18778
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
18780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18782 {
18783 PyThreadState* __tstate = wxPyBeginAllowThreads();
18784 {
18785 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
18786 result = (wxPoint *) &_result_ref;
18787 }
18788
18789 wxPyEndAllowThreads(__tstate);
18790 if (PyErr_Occurred()) SWIG_fail;
18791 }
15afbcd0 18792 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
18793 return resultobj;
18794 fail:
18795 return NULL;
18796}
18797
18798
18799static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18800 PyObject *resultobj;
18801 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18802 wxPoint *arg2 = 0 ;
18803 wxPoint temp2 ;
18804 PyObject * obj0 = 0 ;
18805 PyObject * obj1 = 0 ;
18806 char *kwnames[] = {
18807 (char *) "self",(char *) "pos", NULL
18808 };
18809
18810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18811 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18812 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18813 {
18814 arg2 = &temp2;
18815 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18816 }
18817 {
18818 PyThreadState* __tstate = wxPyBeginAllowThreads();
18819 (arg1)->SetPosition((wxPoint const &)*arg2);
18820
18821 wxPyEndAllowThreads(__tstate);
18822 if (PyErr_Occurred()) SWIG_fail;
18823 }
18824 Py_INCREF(Py_None); resultobj = Py_None;
18825 return resultobj;
18826 fail:
18827 return NULL;
18828}
18829
18830
18831static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
18832 PyObject *obj;
18833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18834 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
18835 Py_INCREF(obj);
18836 return Py_BuildValue((char *)"");
18837}
18838static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18839 PyObject *resultobj;
18840 wxIdleEvent *result;
18841 char *kwnames[] = {
18842 NULL
18843 };
18844
18845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
18846 {
18847 PyThreadState* __tstate = wxPyBeginAllowThreads();
18848 result = (wxIdleEvent *)new wxIdleEvent();
18849
18850 wxPyEndAllowThreads(__tstate);
18851 if (PyErr_Occurred()) SWIG_fail;
18852 }
15afbcd0 18853 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
18854 return resultobj;
18855 fail:
18856 return NULL;
18857}
18858
18859
18860static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
18861 PyObject *resultobj;
18862 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
e811c8ce 18863 bool arg2 = (bool) True ;
d14a1e28
RD
18864 PyObject * obj0 = 0 ;
18865 PyObject * obj1 = 0 ;
18866 char *kwnames[] = {
18867 (char *) "self",(char *) "needMore", NULL
18868 };
18869
18870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
18871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
18872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 18873 if (obj1) {
15afbcd0
RD
18874 arg2 = (bool) SWIG_AsBool(obj1);
18875 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18876 }
18877 {
18878 PyThreadState* __tstate = wxPyBeginAllowThreads();
18879 (arg1)->RequestMore(arg2);
18880
18881 wxPyEndAllowThreads(__tstate);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 }
18884 Py_INCREF(Py_None); resultobj = Py_None;
18885 return resultobj;
18886 fail:
18887 return NULL;
18888}
18889
18890
18891static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
18892 PyObject *resultobj;
18893 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
18894 bool result;
18895 PyObject * obj0 = 0 ;
18896 char *kwnames[] = {
18897 (char *) "self", NULL
18898 };
18899
18900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
15afbcd0
RD
18901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
18902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18903 {
18904 PyThreadState* __tstate = wxPyBeginAllowThreads();
18905 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
18906
18907 wxPyEndAllowThreads(__tstate);
18908 if (PyErr_Occurred()) SWIG_fail;
18909 }
4f89f6a3
RD
18910 {
18911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18912 }
d14a1e28
RD
18913 return resultobj;
18914 fail:
18915 return NULL;
18916}
18917
18918
18919static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18920 PyObject *resultobj;
18921 int arg1 ;
994141e6 18922 PyObject * obj0 = 0 ;
d14a1e28
RD
18923 char *kwnames[] = {
18924 (char *) "mode", NULL
18925 };
18926
994141e6 18927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
18928 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
18929 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18930 {
18931 PyThreadState* __tstate = wxPyBeginAllowThreads();
18932 wxIdleEvent::SetMode((wxIdleMode )arg1);
18933
18934 wxPyEndAllowThreads(__tstate);
18935 if (PyErr_Occurred()) SWIG_fail;
18936 }
18937 Py_INCREF(Py_None); resultobj = Py_None;
18938 return resultobj;
18939 fail:
18940 return NULL;
18941}
18942
18943
18944static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18945 PyObject *resultobj;
18946 int result;
18947 char *kwnames[] = {
18948 NULL
18949 };
18950
18951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
18952 {
18953 PyThreadState* __tstate = wxPyBeginAllowThreads();
18954 result = (int)wxIdleEvent::GetMode();
18955
18956 wxPyEndAllowThreads(__tstate);
18957 if (PyErr_Occurred()) SWIG_fail;
18958 }
15afbcd0 18959 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18960 return resultobj;
18961 fail:
18962 return NULL;
18963}
18964
18965
18966static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
18967 PyObject *resultobj;
18968 wxWindow *arg1 = (wxWindow *) 0 ;
18969 bool result;
18970 PyObject * obj0 = 0 ;
18971 char *kwnames[] = {
18972 (char *) "win", NULL
18973 };
18974
18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
15afbcd0
RD
18976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 result = (bool)wxIdleEvent::CanSend(arg1);
18981
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
4f89f6a3
RD
18985 {
18986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18987 }
d14a1e28
RD
18988 return resultobj;
18989 fail:
18990 return NULL;
18991}
18992
18993
18994static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
18995 PyObject *obj;
18996 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18997 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
18998 Py_INCREF(obj);
18999 return Py_BuildValue((char *)"");
19000}
19001static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19002 PyObject *resultobj;
19003 int arg1 = (int) 0 ;
19004 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19005 wxPyEvent *result;
994141e6
RD
19006 PyObject * obj0 = 0 ;
19007 PyObject * obj1 = 0 ;
d14a1e28
RD
19008 char *kwnames[] = {
19009 (char *) "winid",(char *) "commandType", NULL
19010 };
19011
994141e6
RD
19012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19013 if (obj0) {
15afbcd0
RD
19014 arg1 = (int) SWIG_AsInt(obj0);
19015 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19016 }
19017 if (obj1) {
15afbcd0
RD
19018 arg2 = (wxEventType) SWIG_AsInt(obj1);
19019 if (PyErr_Occurred()) SWIG_fail;
994141e6 19020 }
d14a1e28
RD
19021 {
19022 PyThreadState* __tstate = wxPyBeginAllowThreads();
19023 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19024
19025 wxPyEndAllowThreads(__tstate);
19026 if (PyErr_Occurred()) SWIG_fail;
19027 }
15afbcd0 19028 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
19029 return resultobj;
19030 fail:
19031 return NULL;
19032}
19033
19034
19035static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19036 PyObject *resultobj;
19037 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19038 PyObject * obj0 = 0 ;
19039 char *kwnames[] = {
19040 (char *) "self", NULL
19041 };
19042
19043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
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
19060static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19061 PyObject *resultobj;
19062 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19063 PyObject *arg2 = (PyObject *) 0 ;
19064 PyObject * obj0 = 0 ;
19065 PyObject * obj1 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self",(char *) "self", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19073 arg2 = obj1;
19074 {
19075 PyThreadState* __tstate = wxPyBeginAllowThreads();
19076 (arg1)->SetSelf(arg2);
19077
19078 wxPyEndAllowThreads(__tstate);
19079 if (PyErr_Occurred()) SWIG_fail;
19080 }
19081 Py_INCREF(Py_None); resultobj = Py_None;
19082 return resultobj;
19083 fail:
19084 return NULL;
19085}
19086
19087
19088static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19089 PyObject *resultobj;
19090 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19091 PyObject *result;
19092 PyObject * obj0 = 0 ;
19093 char *kwnames[] = {
19094 (char *) "self", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 result = (PyObject *)(arg1)->GetSelf();
19103
19104 wxPyEndAllowThreads(__tstate);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 resultobj = result;
19108 return resultobj;
19109 fail:
19110 return NULL;
19111}
19112
19113
19114static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
19115 PyObject *obj;
19116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19117 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19118 Py_INCREF(obj);
19119 return Py_BuildValue((char *)"");
19120}
19121static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19122 PyObject *resultobj;
19123 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19124 int arg2 = (int) 0 ;
19125 wxPyCommandEvent *result;
994141e6
RD
19126 PyObject * obj0 = 0 ;
19127 PyObject * obj1 = 0 ;
d14a1e28
RD
19128 char *kwnames[] = {
19129 (char *) "commandType",(char *) "id", NULL
19130 };
19131
994141e6
RD
19132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19133 if (obj0) {
15afbcd0
RD
19134 arg1 = (wxEventType) SWIG_AsInt(obj0);
19135 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
19136 }
19137 if (obj1) {
15afbcd0
RD
19138 arg2 = (int) SWIG_AsInt(obj1);
19139 if (PyErr_Occurred()) SWIG_fail;
994141e6 19140 }
d14a1e28
RD
19141 {
19142 PyThreadState* __tstate = wxPyBeginAllowThreads();
19143 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19144
19145 wxPyEndAllowThreads(__tstate);
19146 if (PyErr_Occurred()) SWIG_fail;
19147 }
15afbcd0 19148 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
19149 return resultobj;
19150 fail:
19151 return NULL;
19152}
19153
19154
19155static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19156 PyObject *resultobj;
19157 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19158 PyObject * obj0 = 0 ;
19159 char *kwnames[] = {
19160 (char *) "self", NULL
19161 };
19162
19163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
15afbcd0
RD
19164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19166 {
19167 PyThreadState* __tstate = wxPyBeginAllowThreads();
19168 delete arg1;
19169
19170 wxPyEndAllowThreads(__tstate);
19171 if (PyErr_Occurred()) SWIG_fail;
19172 }
19173 Py_INCREF(Py_None); resultobj = Py_None;
19174 return resultobj;
19175 fail:
19176 return NULL;
19177}
19178
19179
19180static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19181 PyObject *resultobj;
19182 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19183 PyObject *arg2 = (PyObject *) 0 ;
19184 PyObject * obj0 = 0 ;
19185 PyObject * obj1 = 0 ;
19186 char *kwnames[] = {
19187 (char *) "self",(char *) "self", NULL
19188 };
19189
19190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19193 arg2 = obj1;
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 (arg1)->SetSelf(arg2);
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 Py_INCREF(Py_None); resultobj = Py_None;
19202 return resultobj;
19203 fail:
19204 return NULL;
19205}
19206
19207
19208static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
19209 PyObject *resultobj;
19210 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19211 PyObject *result;
19212 PyObject * obj0 = 0 ;
19213 char *kwnames[] = {
19214 (char *) "self", NULL
19215 };
19216
19217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
15afbcd0
RD
19218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 result = (PyObject *)(arg1)->GetSelf();
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 resultobj = result;
19228 return resultobj;
19229 fail:
19230 return NULL;
19231}
19232
19233
19234static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
19235 PyObject *obj;
19236 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19237 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19238 Py_INCREF(obj);
19239 return Py_BuildValue((char *)"");
19240}
19241static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19242 PyObject *resultobj;
19243 wxPyApp *result;
19244 char *kwnames[] = {
19245 NULL
19246 };
19247
19248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19249 {
19250 PyThreadState* __tstate = wxPyBeginAllowThreads();
19251 result = (wxPyApp *)new_wxPyApp();
19252
19253 wxPyEndAllowThreads(__tstate);
19254 if (PyErr_Occurred()) SWIG_fail;
19255 }
19256 {
19257 resultobj = wxPyMake_wxObject(result);
19258 }
19259 return resultobj;
19260 fail:
19261 return NULL;
19262}
19263
19264
19265static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19266 PyObject *resultobj;
19267 wxPyApp *arg1 = (wxPyApp *) 0 ;
19268 PyObject * obj0 = 0 ;
19269 char *kwnames[] = {
19270 (char *) "self", NULL
19271 };
19272
19273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
19274 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19275 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19276 {
19277 PyThreadState* __tstate = wxPyBeginAllowThreads();
19278 delete arg1;
19279
19280 wxPyEndAllowThreads(__tstate);
19281 if (PyErr_Occurred()) SWIG_fail;
19282 }
19283 Py_INCREF(Py_None); resultobj = Py_None;
19284 return resultobj;
19285 fail:
19286 return NULL;
19287}
19288
19289
19290static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19291 PyObject *resultobj;
19292 wxPyApp *arg1 = (wxPyApp *) 0 ;
19293 PyObject *arg2 = (PyObject *) 0 ;
19294 PyObject *arg3 = (PyObject *) 0 ;
19295 PyObject * obj0 = 0 ;
19296 PyObject * obj1 = 0 ;
19297 PyObject * obj2 = 0 ;
19298 char *kwnames[] = {
19299 (char *) "self",(char *) "self",(char *) "_class", NULL
19300 };
19301
19302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19305 arg2 = obj1;
19306 arg3 = obj2;
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 (arg1)->_setCallbackInfo(arg2,arg3);
19310
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 Py_INCREF(Py_None); resultobj = Py_None;
19315 return resultobj;
19316 fail:
19317 return NULL;
19318}
19319
19320
19321static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19322 PyObject *resultobj;
19323 wxPyApp *arg1 = (wxPyApp *) 0 ;
19324 wxString result;
19325 PyObject * obj0 = 0 ;
19326 char *kwnames[] = {
19327 (char *) "self", NULL
19328 };
19329
19330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19333 {
19334 PyThreadState* __tstate = wxPyBeginAllowThreads();
19335 result = ((wxPyApp const *)arg1)->GetAppName();
19336
19337 wxPyEndAllowThreads(__tstate);
19338 if (PyErr_Occurred()) SWIG_fail;
19339 }
19340 {
19341#if wxUSE_UNICODE
19342 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19343#else
19344 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19345#endif
19346 }
19347 return resultobj;
19348 fail:
19349 return NULL;
19350}
19351
19352
19353static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19354 PyObject *resultobj;
19355 wxPyApp *arg1 = (wxPyApp *) 0 ;
19356 wxString *arg2 = 0 ;
e811c8ce 19357 bool temp2 = False ;
d14a1e28
RD
19358 PyObject * obj0 = 0 ;
19359 PyObject * obj1 = 0 ;
19360 char *kwnames[] = {
19361 (char *) "self",(char *) "name", NULL
19362 };
19363
19364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19367 {
19368 arg2 = wxString_in_helper(obj1);
19369 if (arg2 == NULL) SWIG_fail;
e811c8ce 19370 temp2 = True;
d14a1e28
RD
19371 }
19372 {
19373 PyThreadState* __tstate = wxPyBeginAllowThreads();
19374 (arg1)->SetAppName((wxString const &)*arg2);
19375
19376 wxPyEndAllowThreads(__tstate);
19377 if (PyErr_Occurred()) SWIG_fail;
19378 }
19379 Py_INCREF(Py_None); resultobj = Py_None;
19380 {
19381 if (temp2)
19382 delete arg2;
19383 }
19384 return resultobj;
19385 fail:
19386 {
19387 if (temp2)
19388 delete arg2;
19389 }
19390 return NULL;
19391}
19392
19393
19394static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19395 PyObject *resultobj;
19396 wxPyApp *arg1 = (wxPyApp *) 0 ;
19397 wxString result;
19398 PyObject * obj0 = 0 ;
19399 char *kwnames[] = {
19400 (char *) "self", NULL
19401 };
19402
19403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19406 {
19407 PyThreadState* __tstate = wxPyBeginAllowThreads();
19408 result = ((wxPyApp const *)arg1)->GetClassName();
19409
19410 wxPyEndAllowThreads(__tstate);
19411 if (PyErr_Occurred()) SWIG_fail;
19412 }
19413 {
19414#if wxUSE_UNICODE
19415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19416#else
19417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19418#endif
19419 }
19420 return resultobj;
19421 fail:
19422 return NULL;
19423}
19424
19425
19426static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19427 PyObject *resultobj;
19428 wxPyApp *arg1 = (wxPyApp *) 0 ;
19429 wxString *arg2 = 0 ;
e811c8ce 19430 bool temp2 = False ;
d14a1e28
RD
19431 PyObject * obj0 = 0 ;
19432 PyObject * obj1 = 0 ;
19433 char *kwnames[] = {
19434 (char *) "self",(char *) "name", NULL
19435 };
19436
19437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19440 {
19441 arg2 = wxString_in_helper(obj1);
19442 if (arg2 == NULL) SWIG_fail;
e811c8ce 19443 temp2 = True;
d14a1e28
RD
19444 }
19445 {
19446 PyThreadState* __tstate = wxPyBeginAllowThreads();
19447 (arg1)->SetClassName((wxString const &)*arg2);
19448
19449 wxPyEndAllowThreads(__tstate);
19450 if (PyErr_Occurred()) SWIG_fail;
19451 }
19452 Py_INCREF(Py_None); resultobj = Py_None;
19453 {
19454 if (temp2)
19455 delete arg2;
19456 }
19457 return resultobj;
19458 fail:
19459 {
19460 if (temp2)
19461 delete arg2;
19462 }
19463 return NULL;
19464}
19465
19466
19467static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19468 PyObject *resultobj;
19469 wxPyApp *arg1 = (wxPyApp *) 0 ;
19470 wxString *result;
19471 PyObject * obj0 = 0 ;
19472 char *kwnames[] = {
19473 (char *) "self", NULL
19474 };
19475
19476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
15afbcd0
RD
19477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19479 {
19480 PyThreadState* __tstate = wxPyBeginAllowThreads();
19481 {
19482 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19483 result = (wxString *) &_result_ref;
19484 }
19485
19486 wxPyEndAllowThreads(__tstate);
19487 if (PyErr_Occurred()) SWIG_fail;
19488 }
cc6dd355
RD
19489 {
19490#if wxUSE_UNICODE
19491 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19492#else
19493 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19494#endif
19495 }
d14a1e28
RD
19496 return resultobj;
19497 fail:
19498 return NULL;
19499}
19500
19501
19502static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19503 PyObject *resultobj;
19504 wxPyApp *arg1 = (wxPyApp *) 0 ;
19505 wxString *arg2 = 0 ;
e811c8ce 19506 bool temp2 = False ;
d14a1e28
RD
19507 PyObject * obj0 = 0 ;
19508 PyObject * obj1 = 0 ;
19509 char *kwnames[] = {
19510 (char *) "self",(char *) "name", NULL
19511 };
19512
19513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19516 {
19517 arg2 = wxString_in_helper(obj1);
19518 if (arg2 == NULL) SWIG_fail;
e811c8ce 19519 temp2 = True;
d14a1e28
RD
19520 }
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 (arg1)->SetVendorName((wxString const &)*arg2);
19524
19525 wxPyEndAllowThreads(__tstate);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 Py_INCREF(Py_None); resultobj = Py_None;
19529 {
19530 if (temp2)
19531 delete arg2;
19532 }
19533 return resultobj;
19534 fail:
19535 {
19536 if (temp2)
19537 delete arg2;
19538 }
19539 return NULL;
19540}
19541
19542
19543static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
19544 PyObject *resultobj;
19545 wxPyApp *arg1 = (wxPyApp *) 0 ;
19546 wxAppTraits *result;
19547 PyObject * obj0 = 0 ;
19548 char *kwnames[] = {
19549 (char *) "self", NULL
19550 };
19551
19552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
15afbcd0
RD
19553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19555 {
19556 PyThreadState* __tstate = wxPyBeginAllowThreads();
19557 result = (wxAppTraits *)(arg1)->GetTraits();
19558
19559 wxPyEndAllowThreads(__tstate);
19560 if (PyErr_Occurred()) SWIG_fail;
19561 }
15afbcd0 19562 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
19563 return resultobj;
19564 fail:
19565 return NULL;
19566}
19567
19568
19569static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19570 PyObject *resultobj;
19571 wxPyApp *arg1 = (wxPyApp *) 0 ;
19572 PyObject * obj0 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
15afbcd0
RD
19578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
19582 (arg1)->ProcessPendingEvents();
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 Py_INCREF(Py_None); resultobj = Py_None;
19588 return resultobj;
19589 fail:
19590 return NULL;
19591}
19592
19593
19594static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj;
19596 wxPyApp *arg1 = (wxPyApp *) 0 ;
e811c8ce 19597 bool arg2 = (bool) False ;
d14a1e28
RD
19598 bool result;
19599 PyObject * obj0 = 0 ;
19600 PyObject * obj1 = 0 ;
19601 char *kwnames[] = {
19602 (char *) "self",(char *) "onlyIfNeeded", NULL
19603 };
19604
19605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19608 if (obj1) {
15afbcd0
RD
19609 arg2 = (bool) SWIG_AsBool(obj1);
19610 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19611 }
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 result = (bool)(arg1)->Yield(arg2);
19615
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
4f89f6a3
RD
19619 {
19620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19621 }
d14a1e28
RD
19622 return resultobj;
19623 fail:
19624 return NULL;
19625}
19626
19627
19628static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19629 PyObject *resultobj;
19630 wxPyApp *arg1 = (wxPyApp *) 0 ;
19631 PyObject * obj0 = 0 ;
19632 char *kwnames[] = {
19633 (char *) "self", NULL
19634 };
19635
19636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
19637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19639 {
19640 PyThreadState* __tstate = wxPyBeginAllowThreads();
19641 (arg1)->WakeUpIdle();
19642
19643 wxPyEndAllowThreads(__tstate);
19644 if (PyErr_Occurred()) SWIG_fail;
19645 }
19646 Py_INCREF(Py_None); resultobj = Py_None;
19647 return resultobj;
19648 fail:
19649 return NULL;
19650}
19651
19652
19653static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19654 PyObject *resultobj;
19655 wxPyApp *arg1 = (wxPyApp *) 0 ;
19656 int result;
19657 PyObject * obj0 = 0 ;
19658 char *kwnames[] = {
19659 (char *) "self", NULL
19660 };
19661
19662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
19663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19665 {
19666 PyThreadState* __tstate = wxPyBeginAllowThreads();
19667 result = (int)(arg1)->MainLoop();
19668
19669 wxPyEndAllowThreads(__tstate);
19670 if (PyErr_Occurred()) SWIG_fail;
19671 }
15afbcd0 19672 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19673 return resultobj;
19674 fail:
19675 return NULL;
19676}
19677
19678
19679static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19680 PyObject *resultobj;
19681 wxPyApp *arg1 = (wxPyApp *) 0 ;
19682 PyObject * obj0 = 0 ;
19683 char *kwnames[] = {
19684 (char *) "self", NULL
19685 };
19686
19687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
15afbcd0
RD
19688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19690 {
19691 PyThreadState* __tstate = wxPyBeginAllowThreads();
19692 (arg1)->Exit();
19693
19694 wxPyEndAllowThreads(__tstate);
19695 if (PyErr_Occurred()) SWIG_fail;
19696 }
19697 Py_INCREF(Py_None); resultobj = Py_None;
19698 return resultobj;
19699 fail:
19700 return NULL;
19701}
19702
19703
19704static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19705 PyObject *resultobj;
19706 wxPyApp *arg1 = (wxPyApp *) 0 ;
19707 PyObject * obj0 = 0 ;
19708 char *kwnames[] = {
19709 (char *) "self", NULL
19710 };
19711
19712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
15afbcd0
RD
19713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19715 {
19716 PyThreadState* __tstate = wxPyBeginAllowThreads();
19717 (arg1)->ExitMainLoop();
19718
19719 wxPyEndAllowThreads(__tstate);
19720 if (PyErr_Occurred()) SWIG_fail;
19721 }
19722 Py_INCREF(Py_None); resultobj = Py_None;
19723 return resultobj;
19724 fail:
19725 return NULL;
19726}
19727
19728
19729static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
19730 PyObject *resultobj;
19731 wxPyApp *arg1 = (wxPyApp *) 0 ;
19732 bool result;
19733 PyObject * obj0 = 0 ;
19734 char *kwnames[] = {
19735 (char *) "self", NULL
19736 };
19737
19738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
15afbcd0
RD
19739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19741 {
19742 PyThreadState* __tstate = wxPyBeginAllowThreads();
19743 result = (bool)(arg1)->Pending();
19744
19745 wxPyEndAllowThreads(__tstate);
19746 if (PyErr_Occurred()) SWIG_fail;
19747 }
4f89f6a3
RD
19748 {
19749 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19750 }
d14a1e28
RD
19751 return resultobj;
19752 fail:
19753 return NULL;
19754}
19755
19756
19757static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
19758 PyObject *resultobj;
19759 wxPyApp *arg1 = (wxPyApp *) 0 ;
19760 bool result;
19761 PyObject * obj0 = 0 ;
19762 char *kwnames[] = {
19763 (char *) "self", NULL
19764 };
19765
19766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
15afbcd0
RD
19767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19769 {
19770 PyThreadState* __tstate = wxPyBeginAllowThreads();
19771 result = (bool)(arg1)->Dispatch();
19772
19773 wxPyEndAllowThreads(__tstate);
19774 if (PyErr_Occurred()) SWIG_fail;
19775 }
4f89f6a3
RD
19776 {
19777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19778 }
d14a1e28
RD
19779 return resultobj;
19780 fail:
19781 return NULL;
19782}
19783
19784
19785static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19786 PyObject *resultobj;
19787 wxPyApp *arg1 = (wxPyApp *) 0 ;
19788 bool result;
19789 PyObject * obj0 = 0 ;
19790 char *kwnames[] = {
19791 (char *) "self", NULL
19792 };
19793
19794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
15afbcd0
RD
19795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19797 {
19798 PyThreadState* __tstate = wxPyBeginAllowThreads();
19799 result = (bool)(arg1)->ProcessIdle();
19800
19801 wxPyEndAllowThreads(__tstate);
19802 if (PyErr_Occurred()) SWIG_fail;
19803 }
4f89f6a3
RD
19804 {
19805 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19806 }
d14a1e28
RD
19807 return resultobj;
19808 fail:
19809 return NULL;
19810}
19811
19812
19813static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19814 PyObject *resultobj;
19815 wxPyApp *arg1 = (wxPyApp *) 0 ;
19816 wxWindow *arg2 = (wxWindow *) 0 ;
19817 wxIdleEvent *arg3 = 0 ;
19818 bool result;
19819 PyObject * obj0 = 0 ;
19820 PyObject * obj1 = 0 ;
19821 PyObject * obj2 = 0 ;
19822 char *kwnames[] = {
19823 (char *) "self",(char *) "win",(char *) "event", NULL
19824 };
19825
19826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
19827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19829 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19831 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
19832 SWIG_POINTER_EXCEPTION | 0)) == -1)
19833 SWIG_fail;
d14a1e28 19834 if (arg3 == NULL) {
15afbcd0
RD
19835 PyErr_SetString(PyExc_TypeError,"null reference");
19836 SWIG_fail;
d14a1e28
RD
19837 }
19838 {
19839 PyThreadState* __tstate = wxPyBeginAllowThreads();
19840 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
19841
19842 wxPyEndAllowThreads(__tstate);
19843 if (PyErr_Occurred()) SWIG_fail;
19844 }
4f89f6a3
RD
19845 {
19846 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19847 }
d14a1e28
RD
19848 return resultobj;
19849 fail:
19850 return NULL;
19851}
19852
19853
d14a1e28
RD
19854static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
19855 PyObject *resultobj;
19856 wxPyApp *arg1 = (wxPyApp *) 0 ;
19857 bool result;
19858 PyObject * obj0 = 0 ;
19859 char *kwnames[] = {
19860 (char *) "self", NULL
19861 };
19862
19863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
15afbcd0
RD
19864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19866 {
19867 PyThreadState* __tstate = wxPyBeginAllowThreads();
19868 result = (bool)((wxPyApp const *)arg1)->IsActive();
19869
19870 wxPyEndAllowThreads(__tstate);
19871 if (PyErr_Occurred()) SWIG_fail;
19872 }
4f89f6a3
RD
19873 {
19874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19875 }
d14a1e28
RD
19876 return resultobj;
19877 fail:
19878 return NULL;
19879}
19880
19881
19882static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19883 PyObject *resultobj;
19884 wxPyApp *arg1 = (wxPyApp *) 0 ;
19885 wxWindow *arg2 = (wxWindow *) 0 ;
19886 PyObject * obj0 = 0 ;
19887 PyObject * obj1 = 0 ;
19888 char *kwnames[] = {
19889 (char *) "self",(char *) "win", NULL
19890 };
19891
19892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19895 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19897 {
19898 PyThreadState* __tstate = wxPyBeginAllowThreads();
19899 (arg1)->SetTopWindow(arg2);
19900
19901 wxPyEndAllowThreads(__tstate);
19902 if (PyErr_Occurred()) SWIG_fail;
19903 }
19904 Py_INCREF(Py_None); resultobj = Py_None;
19905 return resultobj;
19906 fail:
19907 return NULL;
19908}
19909
19910
19911static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19912 PyObject *resultobj;
19913 wxPyApp *arg1 = (wxPyApp *) 0 ;
19914 wxWindow *result;
19915 PyObject * obj0 = 0 ;
19916 char *kwnames[] = {
19917 (char *) "self", NULL
19918 };
19919
19920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
19921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
19926
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 {
19931 resultobj = wxPyMake_wxObject(result);
19932 }
19933 return resultobj;
19934 fail:
19935 return NULL;
19936}
19937
19938
19939static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
19940 PyObject *resultobj;
19941 wxPyApp *arg1 = (wxPyApp *) 0 ;
19942 bool arg2 ;
19943 PyObject * obj0 = 0 ;
19944 PyObject * obj1 = 0 ;
19945 char *kwnames[] = {
19946 (char *) "self",(char *) "flag", NULL
19947 };
19948
19949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
19950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19952 arg2 = (bool) SWIG_AsBool(obj1);
19953 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19954 {
19955 PyThreadState* __tstate = wxPyBeginAllowThreads();
19956 (arg1)->SetExitOnFrameDelete(arg2);
19957
19958 wxPyEndAllowThreads(__tstate);
19959 if (PyErr_Occurred()) SWIG_fail;
19960 }
19961 Py_INCREF(Py_None); resultobj = Py_None;
19962 return resultobj;
19963 fail:
19964 return NULL;
19965}
19966
19967
19968static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
19969 PyObject *resultobj;
19970 wxPyApp *arg1 = (wxPyApp *) 0 ;
19971 bool result;
19972 PyObject * obj0 = 0 ;
19973 char *kwnames[] = {
19974 (char *) "self", NULL
19975 };
19976
19977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
15afbcd0
RD
19978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19980 {
19981 PyThreadState* __tstate = wxPyBeginAllowThreads();
19982 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
19983
19984 wxPyEndAllowThreads(__tstate);
19985 if (PyErr_Occurred()) SWIG_fail;
19986 }
4f89f6a3
RD
19987 {
19988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19989 }
d14a1e28
RD
19990 return resultobj;
19991 fail:
19992 return NULL;
19993}
19994
19995
19996static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
19997 PyObject *resultobj;
19998 wxPyApp *arg1 = (wxPyApp *) 0 ;
19999 bool arg2 ;
20000 PyObject * obj0 = 0 ;
20001 PyObject * obj1 = 0 ;
20002 char *kwnames[] = {
20003 (char *) "self",(char *) "flag", NULL
20004 };
20005
20006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20009 arg2 = (bool) SWIG_AsBool(obj1);
20010 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20011 {
20012 PyThreadState* __tstate = wxPyBeginAllowThreads();
20013 (arg1)->SetUseBestVisual(arg2);
20014
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
20018 Py_INCREF(Py_None); resultobj = Py_None;
20019 return resultobj;
20020 fail:
20021 return NULL;
20022}
20023
20024
20025static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
20026 PyObject *resultobj;
20027 wxPyApp *arg1 = (wxPyApp *) 0 ;
20028 bool result;
20029 PyObject * obj0 = 0 ;
20030 char *kwnames[] = {
20031 (char *) "self", NULL
20032 };
20033
20034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
15afbcd0
RD
20035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20037 {
20038 PyThreadState* __tstate = wxPyBeginAllowThreads();
20039 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20040
20041 wxPyEndAllowThreads(__tstate);
20042 if (PyErr_Occurred()) SWIG_fail;
20043 }
4f89f6a3
RD
20044 {
20045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20046 }
d14a1e28
RD
20047 return resultobj;
20048 fail:
20049 return NULL;
20050}
20051
20052
20053static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20054 PyObject *resultobj;
20055 wxPyApp *arg1 = (wxPyApp *) 0 ;
20056 int arg2 ;
20057 PyObject * obj0 = 0 ;
994141e6 20058 PyObject * obj1 = 0 ;
d14a1e28
RD
20059 char *kwnames[] = {
20060 (char *) "self",(char *) "mode", NULL
20061 };
20062
994141e6 20063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20066 arg2 = (int) SWIG_AsInt(obj1);
20067 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20068 {
20069 PyThreadState* __tstate = wxPyBeginAllowThreads();
20070 (arg1)->SetPrintMode(arg2);
20071
20072 wxPyEndAllowThreads(__tstate);
20073 if (PyErr_Occurred()) SWIG_fail;
20074 }
20075 Py_INCREF(Py_None); resultobj = Py_None;
20076 return resultobj;
20077 fail:
20078 return NULL;
20079}
20080
20081
20082static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
20083 PyObject *resultobj;
20084 wxPyApp *arg1 = (wxPyApp *) 0 ;
20085 int result;
20086 PyObject * obj0 = 0 ;
20087 char *kwnames[] = {
20088 (char *) "self", NULL
20089 };
20090
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
15afbcd0 20101 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20102 return resultobj;
20103 fail:
20104 return NULL;
20105}
20106
20107
6c3b4aae 20108static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20109 PyObject *resultobj;
20110 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20111 int arg2 ;
d14a1e28 20112 PyObject * obj0 = 0 ;
994141e6 20113 PyObject * obj1 = 0 ;
d14a1e28 20114 char *kwnames[] = {
6c3b4aae 20115 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
20116 };
20117
994141e6 20118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20121 arg2 = (int) SWIG_AsInt(obj1);
20122 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20125 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
20126
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
6c3b4aae 20130 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
20131 return resultobj;
20132 fail:
20133 return NULL;
20134}
20135
20136
6c3b4aae 20137static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20138 PyObject *resultobj;
20139 wxPyApp *arg1 = (wxPyApp *) 0 ;
6c3b4aae 20140 int result;
d14a1e28
RD
20141 PyObject * obj0 = 0 ;
20142 char *kwnames[] = {
6c3b4aae 20143 (char *) "self", NULL
d14a1e28
RD
20144 };
20145
6c3b4aae 20146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20149 {
20150 PyThreadState* __tstate = wxPyBeginAllowThreads();
6c3b4aae 20151 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
20152
20153 wxPyEndAllowThreads(__tstate);
20154 if (PyErr_Occurred()) SWIG_fail;
20155 }
15afbcd0 20156 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20157 return resultobj;
20158 fail:
20159 return NULL;
20160}
20161
20162
20163static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20164 PyObject *resultobj;
20165 bool result;
20166 char *kwnames[] = {
20167 NULL
20168 };
20169
20170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
20173 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
4f89f6a3
RD
20178 {
20179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20180 }
d14a1e28
RD
20181 return resultobj;
20182 fail:
20183 return NULL;
20184}
20185
20186
20187static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20188 PyObject *resultobj;
20189 long result;
20190 char *kwnames[] = {
20191 NULL
20192 };
20193
20194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20195 {
20196 PyThreadState* __tstate = wxPyBeginAllowThreads();
20197 result = (long)wxPyApp::GetMacAboutMenuItemId();
20198
20199 wxPyEndAllowThreads(__tstate);
20200 if (PyErr_Occurred()) SWIG_fail;
20201 }
15afbcd0 20202 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20203 return resultobj;
20204 fail:
20205 return NULL;
20206}
20207
20208
20209static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20210 PyObject *resultobj;
20211 long result;
20212 char *kwnames[] = {
20213 NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
15afbcd0 20224 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20225 return resultobj;
20226 fail:
20227 return NULL;
20228}
20229
20230
20231static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj;
20233 long result;
20234 char *kwnames[] = {
20235 NULL
20236 };
20237
20238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20239 {
20240 PyThreadState* __tstate = wxPyBeginAllowThreads();
20241 result = (long)wxPyApp::GetMacExitMenuItemId();
20242
20243 wxPyEndAllowThreads(__tstate);
20244 if (PyErr_Occurred()) SWIG_fail;
20245 }
15afbcd0 20246 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20247 return resultobj;
20248 fail:
20249 return NULL;
20250}
20251
20252
20253static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20254 PyObject *resultobj;
20255 wxString result;
20256 char *kwnames[] = {
20257 NULL
20258 };
20259
20260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20261 {
20262 PyThreadState* __tstate = wxPyBeginAllowThreads();
20263 result = wxPyApp::GetMacHelpMenuTitleName();
20264
20265 wxPyEndAllowThreads(__tstate);
20266 if (PyErr_Occurred()) SWIG_fail;
20267 }
20268 {
20269#if wxUSE_UNICODE
20270 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20271#else
20272 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20273#endif
20274 }
20275 return resultobj;
20276 fail:
20277 return NULL;
20278}
20279
20280
20281static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20282 PyObject *resultobj;
20283 bool arg1 ;
20284 PyObject * obj0 = 0 ;
20285 char *kwnames[] = {
20286 (char *) "val", NULL
20287 };
20288
20289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
15afbcd0
RD
20290 arg1 = (bool) SWIG_AsBool(obj0);
20291 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20292 {
20293 PyThreadState* __tstate = wxPyBeginAllowThreads();
20294 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20295
20296 wxPyEndAllowThreads(__tstate);
20297 if (PyErr_Occurred()) SWIG_fail;
20298 }
20299 Py_INCREF(Py_None); resultobj = Py_None;
20300 return resultobj;
20301 fail:
20302 return NULL;
20303}
20304
20305
20306static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20307 PyObject *resultobj;
20308 long arg1 ;
994141e6 20309 PyObject * obj0 = 0 ;
d14a1e28
RD
20310 char *kwnames[] = {
20311 (char *) "val", NULL
20312 };
20313
994141e6 20314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20315 arg1 = (long) SWIG_AsLong(obj0);
20316 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20317 {
20318 PyThreadState* __tstate = wxPyBeginAllowThreads();
20319 wxPyApp::SetMacAboutMenuItemId(arg1);
20320
20321 wxPyEndAllowThreads(__tstate);
20322 if (PyErr_Occurred()) SWIG_fail;
20323 }
20324 Py_INCREF(Py_None); resultobj = Py_None;
20325 return resultobj;
20326 fail:
20327 return NULL;
20328}
20329
20330
20331static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20332 PyObject *resultobj;
20333 long arg1 ;
994141e6 20334 PyObject * obj0 = 0 ;
d14a1e28
RD
20335 char *kwnames[] = {
20336 (char *) "val", NULL
20337 };
20338
994141e6 20339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20340 arg1 = (long) SWIG_AsLong(obj0);
20341 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20342 {
20343 PyThreadState* __tstate = wxPyBeginAllowThreads();
20344 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20345
20346 wxPyEndAllowThreads(__tstate);
20347 if (PyErr_Occurred()) SWIG_fail;
20348 }
20349 Py_INCREF(Py_None); resultobj = Py_None;
20350 return resultobj;
20351 fail:
20352 return NULL;
20353}
20354
20355
20356static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20357 PyObject *resultobj;
20358 long arg1 ;
994141e6 20359 PyObject * obj0 = 0 ;
d14a1e28
RD
20360 char *kwnames[] = {
20361 (char *) "val", NULL
20362 };
20363
994141e6 20364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
15afbcd0
RD
20365 arg1 = (long) SWIG_AsLong(obj0);
20366 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20367 {
20368 PyThreadState* __tstate = wxPyBeginAllowThreads();
20369 wxPyApp::SetMacExitMenuItemId(arg1);
20370
20371 wxPyEndAllowThreads(__tstate);
20372 if (PyErr_Occurred()) SWIG_fail;
20373 }
20374 Py_INCREF(Py_None); resultobj = Py_None;
20375 return resultobj;
20376 fail:
20377 return NULL;
20378}
20379
20380
20381static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20382 PyObject *resultobj;
20383 wxString *arg1 = 0 ;
e811c8ce 20384 bool temp1 = False ;
d14a1e28
RD
20385 PyObject * obj0 = 0 ;
20386 char *kwnames[] = {
20387 (char *) "val", NULL
20388 };
20389
20390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20391 {
20392 arg1 = wxString_in_helper(obj0);
20393 if (arg1 == NULL) SWIG_fail;
e811c8ce 20394 temp1 = True;
d14a1e28
RD
20395 }
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 Py_INCREF(Py_None); resultobj = Py_None;
20404 {
20405 if (temp1)
20406 delete arg1;
20407 }
20408 return resultobj;
20409 fail:
20410 {
20411 if (temp1)
20412 delete arg1;
20413 }
20414 return NULL;
20415}
20416
20417
20418static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20419 PyObject *resultobj;
20420 wxPyApp *arg1 = (wxPyApp *) 0 ;
20421 PyObject * obj0 = 0 ;
20422 char *kwnames[] = {
20423 (char *) "self", NULL
20424 };
20425
20426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
15afbcd0
RD
20427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20429 {
20430 PyThreadState* __tstate = wxPyBeginAllowThreads();
20431 (arg1)->_BootstrapApp();
20432
20433 wxPyEndAllowThreads(__tstate);
20434 if (PyErr_Occurred()) SWIG_fail;
20435 }
20436 Py_INCREF(Py_None); resultobj = Py_None;
20437 return resultobj;
20438 fail:
20439 return NULL;
20440}
20441
20442
20443static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
20444 PyObject *resultobj;
20445 int result;
20446 char *kwnames[] = {
20447 NULL
20448 };
20449
20450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20451 {
20452 PyThreadState* __tstate = wxPyBeginAllowThreads();
20453 result = (int)PyApp_GetComCtl32Version();
20454
20455 wxPyEndAllowThreads(__tstate);
20456 if (PyErr_Occurred()) SWIG_fail;
20457 }
15afbcd0 20458 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20459 return resultobj;
20460 fail:
20461 return NULL;
20462}
20463
20464
20465static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
20466 PyObject *obj;
20467 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20468 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20469 Py_INCREF(obj);
20470 return Py_BuildValue((char *)"");
20471}
20472static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
20473 PyObject *resultobj;
20474 char *kwnames[] = {
20475 NULL
20476 };
20477
20478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20479 {
20480 PyThreadState* __tstate = wxPyBeginAllowThreads();
20481 wxExit();
20482
20483 wxPyEndAllowThreads(__tstate);
20484 if (PyErr_Occurred()) SWIG_fail;
20485 }
20486 Py_INCREF(Py_None); resultobj = Py_None;
20487 return resultobj;
20488 fail:
20489 return NULL;
20490}
20491
20492
20493static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
20494 PyObject *resultobj;
20495 bool result;
20496 char *kwnames[] = {
20497 NULL
20498 };
20499
20500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20501 {
20502 PyThreadState* __tstate = wxPyBeginAllowThreads();
20503 result = (bool)wxYield();
20504
20505 wxPyEndAllowThreads(__tstate);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 }
4f89f6a3
RD
20508 {
20509 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20510 }
d14a1e28
RD
20511 return resultobj;
20512 fail:
20513 return NULL;
20514}
20515
20516
20517static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
20518 PyObject *resultobj;
20519 bool result;
20520 char *kwnames[] = {
20521 NULL
20522 };
20523
20524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20525 {
20526 PyThreadState* __tstate = wxPyBeginAllowThreads();
20527 result = (bool)wxYieldIfNeeded();
20528
20529 wxPyEndAllowThreads(__tstate);
20530 if (PyErr_Occurred()) SWIG_fail;
20531 }
4f89f6a3
RD
20532 {
20533 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20534 }
d14a1e28
RD
20535 return resultobj;
20536 fail:
20537 return NULL;
20538}
20539
20540
20541static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
20542 PyObject *resultobj;
20543 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 20544 bool arg2 = (bool) False ;
d14a1e28
RD
20545 bool result;
20546 PyObject * obj0 = 0 ;
20547 PyObject * obj1 = 0 ;
20548 char *kwnames[] = {
20549 (char *) "win",(char *) "onlyIfNeeded", NULL
20550 };
20551
20552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20553 if (obj0) {
15afbcd0
RD
20554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20556 }
20557 if (obj1) {
15afbcd0
RD
20558 arg2 = (bool) SWIG_AsBool(obj1);
20559 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20560 }
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 result = (bool)wxSafeYield(arg1,arg2);
20564
20565 wxPyEndAllowThreads(__tstate);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
4f89f6a3
RD
20568 {
20569 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20570 }
d14a1e28
RD
20571 return resultobj;
20572 fail:
20573 return NULL;
20574}
20575
20576
20577static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20578 PyObject *resultobj;
20579 char *kwnames[] = {
20580 NULL
20581 };
20582
20583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20584 {
20585 PyThreadState* __tstate = wxPyBeginAllowThreads();
20586 wxWakeUpIdle();
20587
20588 wxPyEndAllowThreads(__tstate);
20589 if (PyErr_Occurred()) SWIG_fail;
20590 }
20591 Py_INCREF(Py_None); resultobj = Py_None;
20592 return resultobj;
20593 fail:
20594 return NULL;
20595}
20596
20597
20598static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20599 PyObject *resultobj;
20600 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20601 wxEvent *arg2 = 0 ;
20602 PyObject * obj0 = 0 ;
20603 PyObject * obj1 = 0 ;
20604 char *kwnames[] = {
20605 (char *) "dest",(char *) "event", NULL
20606 };
20607
20608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20609 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20610 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20611 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20612 SWIG_POINTER_EXCEPTION | 0)) == -1)
20613 SWIG_fail;
d14a1e28 20614 if (arg2 == NULL) {
15afbcd0
RD
20615 PyErr_SetString(PyExc_TypeError,"null reference");
20616 SWIG_fail;
d14a1e28
RD
20617 }
20618 {
20619 PyThreadState* __tstate = wxPyBeginAllowThreads();
20620 wxPostEvent(arg1,*arg2);
20621
20622 wxPyEndAllowThreads(__tstate);
20623 if (PyErr_Occurred()) SWIG_fail;
20624 }
20625 Py_INCREF(Py_None); resultobj = Py_None;
20626 return resultobj;
20627 fail:
20628 return NULL;
20629}
20630
20631
20632static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
20633 PyObject *resultobj;
20634 char *kwnames[] = {
20635 NULL
20636 };
20637
20638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20639 {
20640 PyThreadState* __tstate = wxPyBeginAllowThreads();
20641 wxApp_CleanUp();
20642
20643 wxPyEndAllowThreads(__tstate);
20644 if (PyErr_Occurred()) SWIG_fail;
20645 }
20646 Py_INCREF(Py_None); resultobj = Py_None;
20647 return resultobj;
20648 fail:
20649 return NULL;
20650}
20651
20652
20653static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20654 PyObject *resultobj;
20655 wxPyApp *result;
20656 char *kwnames[] = {
20657 NULL
20658 };
20659
20660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 result = (wxPyApp *)wxGetApp();
20664
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 {
20669 resultobj = wxPyMake_wxObject(result);
20670 }
20671 return resultobj;
20672 fail:
20673 return NULL;
20674}
20675
20676
1e0c8722
RD
20677static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20678 PyObject *resultobj;
20679 int arg1 = (int) 0 ;
20680 int arg2 = (int) 0 ;
20681 int arg3 = (int) 0 ;
20682 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
20683 wxAcceleratorEntry *result;
994141e6
RD
20684 PyObject * obj0 = 0 ;
20685 PyObject * obj1 = 0 ;
20686 PyObject * obj2 = 0 ;
1e0c8722
RD
20687 PyObject * obj3 = 0 ;
20688 char *kwnames[] = {
20689 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20690 };
20691
994141e6
RD
20692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20693 if (obj0) {
15afbcd0
RD
20694 arg1 = (int) SWIG_AsInt(obj0);
20695 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20696 }
20697 if (obj1) {
15afbcd0
RD
20698 arg2 = (int) SWIG_AsInt(obj1);
20699 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
20700 }
20701 if (obj2) {
15afbcd0
RD
20702 arg3 = (int) SWIG_AsInt(obj2);
20703 if (PyErr_Occurred()) SWIG_fail;
994141e6 20704 }
1e0c8722 20705 if (obj3) {
15afbcd0
RD
20706 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenuItem,
20707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20708 }
20709 {
20710 PyThreadState* __tstate = wxPyBeginAllowThreads();
20711 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
20712
20713 wxPyEndAllowThreads(__tstate);
20714 if (PyErr_Occurred()) SWIG_fail;
20715 }
15afbcd0 20716 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
1e0c8722
RD
20717 return resultobj;
20718 fail:
20719 return NULL;
20720}
20721
20722
20723static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20724 PyObject *resultobj;
20725 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20726 PyObject * obj0 = 0 ;
20727 char *kwnames[] = {
20728 (char *) "self", NULL
20729 };
20730
20731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
15afbcd0
RD
20732 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20733 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 delete arg1;
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 Py_INCREF(Py_None); resultobj = Py_None;
20742 return resultobj;
20743 fail:
20744 return NULL;
20745}
20746
20747
20748static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
20749 PyObject *resultobj;
20750 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20751 int arg2 ;
20752 int arg3 ;
20753 int arg4 ;
20754 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
20755 PyObject * obj0 = 0 ;
994141e6
RD
20756 PyObject * obj1 = 0 ;
20757 PyObject * obj2 = 0 ;
20758 PyObject * obj3 = 0 ;
1e0c8722
RD
20759 PyObject * obj4 = 0 ;
20760 char *kwnames[] = {
20761 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20762 };
20763
994141e6 20764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
20765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20767 arg2 = (int) SWIG_AsInt(obj1);
20768 if (PyErr_Occurred()) SWIG_fail;
20769 arg3 = (int) SWIG_AsInt(obj2);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 arg4 = (int) SWIG_AsInt(obj3);
20772 if (PyErr_Occurred()) SWIG_fail;
1e0c8722 20773 if (obj4) {
15afbcd0
RD
20774 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenuItem,
20775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20776 }
20777 {
20778 PyThreadState* __tstate = wxPyBeginAllowThreads();
20779 (arg1)->Set(arg2,arg3,arg4,arg5);
20780
20781 wxPyEndAllowThreads(__tstate);
20782 if (PyErr_Occurred()) SWIG_fail;
20783 }
20784 Py_INCREF(Py_None); resultobj = Py_None;
20785 return resultobj;
20786 fail:
20787 return NULL;
20788}
20789
20790
20791static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20792 PyObject *resultobj;
20793 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20794 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
20795 PyObject * obj0 = 0 ;
20796 PyObject * obj1 = 0 ;
20797 char *kwnames[] = {
20798 (char *) "self",(char *) "item", NULL
20799 };
20800
20801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
20802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
20805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20806 {
20807 PyThreadState* __tstate = wxPyBeginAllowThreads();
20808 (arg1)->SetMenuItem(arg2);
20809
20810 wxPyEndAllowThreads(__tstate);
20811 if (PyErr_Occurred()) SWIG_fail;
20812 }
20813 Py_INCREF(Py_None); resultobj = Py_None;
20814 return resultobj;
20815 fail:
20816 return NULL;
20817}
20818
20819
20820static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20821 PyObject *resultobj;
20822 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20823 wxMenuItem *result;
20824 PyObject * obj0 = 0 ;
20825 char *kwnames[] = {
20826 (char *) "self", NULL
20827 };
20828
20829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
20830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20832 {
20833 PyThreadState* __tstate = wxPyBeginAllowThreads();
20834 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
20835
20836 wxPyEndAllowThreads(__tstate);
20837 if (PyErr_Occurred()) SWIG_fail;
20838 }
20839 {
20840 resultobj = wxPyMake_wxObject(result);
20841 }
20842 return resultobj;
20843 fail:
20844 return NULL;
20845}
20846
20847
20848static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
20849 PyObject *resultobj;
20850 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20851 int result;
20852 PyObject * obj0 = 0 ;
20853 char *kwnames[] = {
20854 (char *) "self", NULL
20855 };
20856
20857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
15afbcd0
RD
20858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20860 {
20861 PyThreadState* __tstate = wxPyBeginAllowThreads();
20862 result = (int)(arg1)->GetFlags();
20863
20864 wxPyEndAllowThreads(__tstate);
20865 if (PyErr_Occurred()) SWIG_fail;
20866 }
15afbcd0 20867 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
20868 return resultobj;
20869 fail:
20870 return NULL;
20871}
20872
20873
20874static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20875 PyObject *resultobj;
20876 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20877 int result;
20878 PyObject * obj0 = 0 ;
20879 char *kwnames[] = {
20880 (char *) "self", NULL
20881 };
20882
20883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
15afbcd0
RD
20884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20886 {
20887 PyThreadState* __tstate = wxPyBeginAllowThreads();
20888 result = (int)(arg1)->GetKeyCode();
20889
20890 wxPyEndAllowThreads(__tstate);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 }
15afbcd0 20893 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
20894 return resultobj;
20895 fail:
20896 return NULL;
20897}
20898
20899
20900static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
20901 PyObject *resultobj;
20902 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20903 int result;
20904 PyObject * obj0 = 0 ;
20905 char *kwnames[] = {
20906 (char *) "self", NULL
20907 };
20908
20909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
15afbcd0
RD
20910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20912 {
20913 PyThreadState* __tstate = wxPyBeginAllowThreads();
20914 result = (int)(arg1)->GetCommand();
20915
20916 wxPyEndAllowThreads(__tstate);
20917 if (PyErr_Occurred()) SWIG_fail;
20918 }
15afbcd0 20919 resultobj = SWIG_FromInt((int)result);
1e0c8722
RD
20920 return resultobj;
20921 fail:
20922 return NULL;
20923}
20924
20925
20926static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
20927 PyObject *obj;
20928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20929 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
20930 Py_INCREF(obj);
20931 return Py_BuildValue((char *)"");
20932}
20933static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
20934 PyObject *resultobj;
20935 int arg1 ;
20936 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
20937 wxAcceleratorTable *result;
20938 PyObject * obj0 = 0 ;
20939 char *kwnames[] = {
20940 (char *) "n", NULL
20941 };
20942
20943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
20944 {
20945 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
20946 if (arg2) arg1 = PyList_Size(obj0);
20947 else arg1 = 0;
20948 }
20949 {
20950 PyThreadState* __tstate = wxPyBeginAllowThreads();
20951 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
20952
20953 wxPyEndAllowThreads(__tstate);
20954 if (PyErr_Occurred()) SWIG_fail;
20955 }
15afbcd0 20956 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
1e0c8722
RD
20957 {
20958 delete [] arg2;
20959 }
20960 return resultobj;
20961 fail:
20962 {
20963 delete [] arg2;
20964 }
20965 return NULL;
20966}
20967
20968
20969static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
20970 PyObject *resultobj;
20971 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
20972 PyObject * obj0 = 0 ;
20973 char *kwnames[] = {
20974 (char *) "self", NULL
20975 };
20976
20977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
20978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
20979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
20980 {
20981 PyThreadState* __tstate = wxPyBeginAllowThreads();
20982 delete arg1;
20983
20984 wxPyEndAllowThreads(__tstate);
20985 if (PyErr_Occurred()) SWIG_fail;
20986 }
20987 Py_INCREF(Py_None); resultobj = Py_None;
20988 return resultobj;
20989 fail:
20990 return NULL;
20991}
20992
20993
20994static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20995 PyObject *resultobj;
20996 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
20997 bool result;
20998 PyObject * obj0 = 0 ;
20999 char *kwnames[] = {
21000 (char *) "self", NULL
21001 };
21002
21003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
15afbcd0
RD
21004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1e0c8722
RD
21006 {
21007 PyThreadState* __tstate = wxPyBeginAllowThreads();
21008 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21009
21010 wxPyEndAllowThreads(__tstate);
21011 if (PyErr_Occurred()) SWIG_fail;
21012 }
4f89f6a3
RD
21013 {
21014 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21015 }
1e0c8722
RD
21016 return resultobj;
21017 fail:
21018 return NULL;
21019}
21020
21021
21022static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
21023 PyObject *obj;
21024 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21025 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21026 Py_INCREF(obj);
21027 return Py_BuildValue((char *)"");
21028}
21029static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
21030 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21031 return 1;
21032}
21033
21034
21035static PyObject *_wrap_NullAcceleratorTable_get() {
21036 PyObject *pyobj;
21037
15afbcd0 21038 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
1e0c8722
RD
21039 return pyobj;
21040}
21041
21042
21043static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
21044 PyObject *resultobj;
21045 wxString *arg1 = 0 ;
21046 wxAcceleratorEntry *result;
21047 bool temp1 = False ;
21048 PyObject * obj0 = 0 ;
21049 char *kwnames[] = {
21050 (char *) "label", NULL
21051 };
21052
21053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21054 {
21055 arg1 = wxString_in_helper(obj0);
21056 if (arg1 == NULL) SWIG_fail;
21057 temp1 = True;
21058 }
21059 {
21060 PyThreadState* __tstate = wxPyBeginAllowThreads();
21061 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21062
21063 wxPyEndAllowThreads(__tstate);
21064 if (PyErr_Occurred()) SWIG_fail;
21065 }
15afbcd0 21066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
1e0c8722
RD
21067 {
21068 if (temp1)
21069 delete arg1;
21070 }
21071 return resultobj;
21072 fail:
21073 {
21074 if (temp1)
21075 delete arg1;
21076 }
21077 return NULL;
21078}
21079
21080
e811c8ce
RD
21081static int _wrap_PanelNameStr_set(PyObject *_val) {
21082 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21083 return 1;
21084}
21085
21086
21087static PyObject *_wrap_PanelNameStr_get() {
21088 PyObject *pyobj;
21089
21090 {
21091#if wxUSE_UNICODE
21092 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21093#else
21094 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21095#endif
21096 }
21097 return pyobj;
21098}
21099
21100
d14a1e28
RD
21101static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
21102 PyObject *resultobj;
21103 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21104 int arg2 ;
d14a1e28
RD
21105 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21106 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21107 wxSize const &arg4_defvalue = wxDefaultSize ;
21108 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21109 long arg5 = (long) 0 ;
21110 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21111 wxString *arg6 = (wxString *) &arg6_defvalue ;
21112 wxWindow *result;
21113 wxPoint temp3 ;
21114 wxSize temp4 ;
e811c8ce 21115 bool temp6 = False ;
d14a1e28 21116 PyObject * obj0 = 0 ;
994141e6 21117 PyObject * obj1 = 0 ;
d14a1e28
RD
21118 PyObject * obj2 = 0 ;
21119 PyObject * obj3 = 0 ;
994141e6 21120 PyObject * obj4 = 0 ;
d14a1e28
RD
21121 PyObject * obj5 = 0 ;
21122 char *kwnames[] = {
21123 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21124 };
21125
994141e6 21126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
21127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21129 arg2 = (int const) SWIG_AsInt(obj1);
21130 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21131 if (obj2) {
21132 {
21133 arg3 = &temp3;
21134 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21135 }
21136 }
21137 if (obj3) {
21138 {
21139 arg4 = &temp4;
21140 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21141 }
21142 }
994141e6 21143 if (obj4) {
15afbcd0
RD
21144 arg5 = (long) SWIG_AsLong(obj4);
21145 if (PyErr_Occurred()) SWIG_fail;
994141e6 21146 }
d14a1e28
RD
21147 if (obj5) {
21148 {
21149 arg6 = wxString_in_helper(obj5);
21150 if (arg6 == NULL) SWIG_fail;
e811c8ce 21151 temp6 = True;
d14a1e28
RD
21152 }
21153 }
21154 {
21155 PyThreadState* __tstate = wxPyBeginAllowThreads();
21156 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21157
21158 wxPyEndAllowThreads(__tstate);
21159 if (PyErr_Occurred()) SWIG_fail;
21160 }
21161 {
21162 resultobj = wxPyMake_wxObject(result);
21163 }
21164 {
21165 if (temp6)
21166 delete arg6;
21167 }
21168 return resultobj;
21169 fail:
21170 {
21171 if (temp6)
21172 delete arg6;
21173 }
21174 return NULL;
21175}
21176
21177
21178static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
21179 PyObject *resultobj;
21180 wxWindow *result;
21181 char *kwnames[] = {
21182 NULL
21183 };
21184
21185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
21186 {
21187 PyThreadState* __tstate = wxPyBeginAllowThreads();
21188 result = (wxWindow *)new wxWindow();
21189
21190 wxPyEndAllowThreads(__tstate);
21191 if (PyErr_Occurred()) SWIG_fail;
21192 }
21193 {
21194 resultobj = wxPyMake_wxObject(result);
21195 }
21196 return resultobj;
21197 fail:
21198 return NULL;
21199}
21200
21201
21202static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
21203 PyObject *resultobj;
21204 wxWindow *arg1 = (wxWindow *) 0 ;
21205 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 21206 int arg3 ;
d14a1e28
RD
21207 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21208 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21209 wxSize const &arg5_defvalue = wxDefaultSize ;
21210 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21211 long arg6 = (long) 0 ;
21212 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21213 wxString *arg7 = (wxString *) &arg7_defvalue ;
21214 bool result;
21215 wxPoint temp4 ;
21216 wxSize temp5 ;
e811c8ce 21217 bool temp7 = False ;
d14a1e28
RD
21218 PyObject * obj0 = 0 ;
21219 PyObject * obj1 = 0 ;
994141e6 21220 PyObject * obj2 = 0 ;
d14a1e28
RD
21221 PyObject * obj3 = 0 ;
21222 PyObject * obj4 = 0 ;
994141e6 21223 PyObject * obj5 = 0 ;
d14a1e28
RD
21224 PyObject * obj6 = 0 ;
21225 char *kwnames[] = {
21226 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21227 };
21228
994141e6 21229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
21230 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21231 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21232 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21233 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21234 arg3 = (int const) SWIG_AsInt(obj2);
21235 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21236 if (obj3) {
21237 {
21238 arg4 = &temp4;
21239 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21240 }
21241 }
21242 if (obj4) {
21243 {
21244 arg5 = &temp5;
21245 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21246 }
21247 }
994141e6 21248 if (obj5) {
15afbcd0
RD
21249 arg6 = (long) SWIG_AsLong(obj5);
21250 if (PyErr_Occurred()) SWIG_fail;
994141e6 21251 }
d14a1e28
RD
21252 if (obj6) {
21253 {
21254 arg7 = wxString_in_helper(obj6);
21255 if (arg7 == NULL) SWIG_fail;
e811c8ce 21256 temp7 = True;
d14a1e28
RD
21257 }
21258 }
21259 {
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21262
21263 wxPyEndAllowThreads(__tstate);
21264 if (PyErr_Occurred()) SWIG_fail;
21265 }
4f89f6a3
RD
21266 {
21267 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21268 }
d14a1e28
RD
21269 {
21270 if (temp7)
21271 delete arg7;
21272 }
21273 return resultobj;
21274 fail:
21275 {
21276 if (temp7)
21277 delete arg7;
21278 }
21279 return NULL;
21280}
21281
21282
21283static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
21284 PyObject *resultobj;
21285 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21286 bool arg2 = (bool) False ;
d14a1e28
RD
21287 bool result;
21288 PyObject * obj0 = 0 ;
21289 PyObject * obj1 = 0 ;
21290 char *kwnames[] = {
21291 (char *) "self",(char *) "force", NULL
21292 };
21293
21294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21297 if (obj1) {
15afbcd0
RD
21298 arg2 = (bool) SWIG_AsBool(obj1);
21299 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21300 }
21301 {
21302 PyThreadState* __tstate = wxPyBeginAllowThreads();
21303 result = (bool)(arg1)->Close(arg2);
21304
21305 wxPyEndAllowThreads(__tstate);
21306 if (PyErr_Occurred()) SWIG_fail;
21307 }
4f89f6a3
RD
21308 {
21309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21310 }
d14a1e28
RD
21311 return resultobj;
21312 fail:
21313 return NULL;
21314}
21315
21316
21317static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
21318 PyObject *resultobj;
21319 wxWindow *arg1 = (wxWindow *) 0 ;
21320 bool result;
21321 PyObject * obj0 = 0 ;
21322 char *kwnames[] = {
21323 (char *) "self", NULL
21324 };
21325
21326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
21327 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21329 {
21330 PyThreadState* __tstate = wxPyBeginAllowThreads();
21331 result = (bool)(arg1)->Destroy();
21332
21333 wxPyEndAllowThreads(__tstate);
21334 if (PyErr_Occurred()) SWIG_fail;
21335 }
4f89f6a3
RD
21336 {
21337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21338 }
d14a1e28
RD
21339 return resultobj;
21340 fail:
21341 return NULL;
21342}
21343
21344
21345static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21346 PyObject *resultobj;
21347 wxWindow *arg1 = (wxWindow *) 0 ;
21348 bool result;
21349 PyObject * obj0 = 0 ;
21350 char *kwnames[] = {
21351 (char *) "self", NULL
21352 };
21353
21354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
21355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21357 {
21358 PyThreadState* __tstate = wxPyBeginAllowThreads();
21359 result = (bool)(arg1)->DestroyChildren();
21360
21361 wxPyEndAllowThreads(__tstate);
21362 if (PyErr_Occurred()) SWIG_fail;
21363 }
4f89f6a3
RD
21364 {
21365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21366 }
d14a1e28
RD
21367 return resultobj;
21368 fail:
21369 return NULL;
21370}
21371
21372
21373static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
21374 PyObject *resultobj;
21375 wxWindow *arg1 = (wxWindow *) 0 ;
21376 bool result;
21377 PyObject * obj0 = 0 ;
21378 char *kwnames[] = {
21379 (char *) "self", NULL
21380 };
21381
21382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
15afbcd0
RD
21383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21385 {
21386 PyThreadState* __tstate = wxPyBeginAllowThreads();
21387 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21388
21389 wxPyEndAllowThreads(__tstate);
21390 if (PyErr_Occurred()) SWIG_fail;
21391 }
4f89f6a3
RD
21392 {
21393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21394 }
d14a1e28
RD
21395 return resultobj;
21396 fail:
21397 return NULL;
21398}
21399
21400
21401static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21402 PyObject *resultobj;
21403 wxWindow *arg1 = (wxWindow *) 0 ;
21404 wxString *arg2 = 0 ;
e811c8ce 21405 bool temp2 = False ;
d14a1e28
RD
21406 PyObject * obj0 = 0 ;
21407 PyObject * obj1 = 0 ;
21408 char *kwnames[] = {
21409 (char *) "self",(char *) "title", NULL
21410 };
21411
21412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21415 {
21416 arg2 = wxString_in_helper(obj1);
21417 if (arg2 == NULL) SWIG_fail;
e811c8ce 21418 temp2 = True;
d14a1e28
RD
21419 }
21420 {
21421 PyThreadState* __tstate = wxPyBeginAllowThreads();
21422 (arg1)->SetTitle((wxString const &)*arg2);
21423
21424 wxPyEndAllowThreads(__tstate);
21425 if (PyErr_Occurred()) SWIG_fail;
21426 }
21427 Py_INCREF(Py_None); resultobj = Py_None;
21428 {
21429 if (temp2)
21430 delete arg2;
21431 }
21432 return resultobj;
21433 fail:
21434 {
21435 if (temp2)
21436 delete arg2;
21437 }
21438 return NULL;
21439}
21440
21441
21442static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21443 PyObject *resultobj;
21444 wxWindow *arg1 = (wxWindow *) 0 ;
21445 wxString result;
21446 PyObject * obj0 = 0 ;
21447 char *kwnames[] = {
21448 (char *) "self", NULL
21449 };
21450
21451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
21452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 result = ((wxWindow const *)arg1)->GetTitle();
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 {
21462#if wxUSE_UNICODE
21463 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21464#else
21465 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21466#endif
21467 }
21468 return resultobj;
21469 fail:
21470 return NULL;
21471}
21472
21473
21474static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21475 PyObject *resultobj;
21476 wxWindow *arg1 = (wxWindow *) 0 ;
21477 wxString *arg2 = 0 ;
e811c8ce 21478 bool temp2 = False ;
d14a1e28
RD
21479 PyObject * obj0 = 0 ;
21480 PyObject * obj1 = 0 ;
21481 char *kwnames[] = {
21482 (char *) "self",(char *) "label", NULL
21483 };
21484
21485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21488 {
21489 arg2 = wxString_in_helper(obj1);
21490 if (arg2 == NULL) SWIG_fail;
e811c8ce 21491 temp2 = True;
d14a1e28
RD
21492 }
21493 {
21494 PyThreadState* __tstate = wxPyBeginAllowThreads();
21495 (arg1)->SetLabel((wxString const &)*arg2);
21496
21497 wxPyEndAllowThreads(__tstate);
21498 if (PyErr_Occurred()) SWIG_fail;
21499 }
21500 Py_INCREF(Py_None); resultobj = Py_None;
21501 {
21502 if (temp2)
21503 delete arg2;
21504 }
21505 return resultobj;
21506 fail:
21507 {
21508 if (temp2)
21509 delete arg2;
21510 }
21511 return NULL;
21512}
21513
21514
21515static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21516 PyObject *resultobj;
21517 wxWindow *arg1 = (wxWindow *) 0 ;
21518 wxString result;
21519 PyObject * obj0 = 0 ;
21520 char *kwnames[] = {
21521 (char *) "self", NULL
21522 };
21523
21524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
21525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21527 {
21528 PyThreadState* __tstate = wxPyBeginAllowThreads();
21529 result = ((wxWindow const *)arg1)->GetLabel();
21530
21531 wxPyEndAllowThreads(__tstate);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 {
21535#if wxUSE_UNICODE
21536 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21537#else
21538 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21539#endif
21540 }
21541 return resultobj;
21542 fail:
21543 return NULL;
21544}
21545
21546
21547static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21548 PyObject *resultobj;
21549 wxWindow *arg1 = (wxWindow *) 0 ;
21550 wxString *arg2 = 0 ;
e811c8ce 21551 bool temp2 = False ;
d14a1e28
RD
21552 PyObject * obj0 = 0 ;
21553 PyObject * obj1 = 0 ;
21554 char *kwnames[] = {
21555 (char *) "self",(char *) "name", NULL
21556 };
21557
21558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21561 {
21562 arg2 = wxString_in_helper(obj1);
21563 if (arg2 == NULL) SWIG_fail;
e811c8ce 21564 temp2 = True;
d14a1e28
RD
21565 }
21566 {
21567 PyThreadState* __tstate = wxPyBeginAllowThreads();
21568 (arg1)->SetName((wxString const &)*arg2);
21569
21570 wxPyEndAllowThreads(__tstate);
21571 if (PyErr_Occurred()) SWIG_fail;
21572 }
21573 Py_INCREF(Py_None); resultobj = Py_None;
21574 {
21575 if (temp2)
21576 delete arg2;
21577 }
21578 return resultobj;
21579 fail:
21580 {
21581 if (temp2)
21582 delete arg2;
21583 }
21584 return NULL;
21585}
21586
21587
21588static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21589 PyObject *resultobj;
21590 wxWindow *arg1 = (wxWindow *) 0 ;
21591 wxString result;
21592 PyObject * obj0 = 0 ;
21593 char *kwnames[] = {
21594 (char *) "self", NULL
21595 };
21596
21597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
15afbcd0
RD
21598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21600 {
21601 PyThreadState* __tstate = wxPyBeginAllowThreads();
21602 result = ((wxWindow const *)arg1)->GetName();
21603
21604 wxPyEndAllowThreads(__tstate);
21605 if (PyErr_Occurred()) SWIG_fail;
21606 }
21607 {
21608#if wxUSE_UNICODE
21609 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21610#else
21611 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21612#endif
21613 }
21614 return resultobj;
21615 fail:
21616 return NULL;
21617}
21618
21619
4276dc52
RD
21620static PyObject *_wrap_Window_SetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21621 PyObject *resultobj;
21622 wxWindow *arg1 = (wxWindow *) 0 ;
21623 int arg2 ;
21624 PyObject * obj0 = 0 ;
21625 PyObject * obj1 = 0 ;
21626 char *kwnames[] = {
21627 (char *) "self",(char *) "variant", NULL
21628 };
21629
21630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
21631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21633 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 {
21636 PyThreadState* __tstate = wxPyBeginAllowThreads();
21637 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
21638
21639 wxPyEndAllowThreads(__tstate);
21640 if (PyErr_Occurred()) SWIG_fail;
21641 }
21642 Py_INCREF(Py_None); resultobj = Py_None;
21643 return resultobj;
21644 fail:
21645 return NULL;
21646}
21647
21648
21649static PyObject *_wrap_Window_GetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21650 PyObject *resultobj;
21651 wxWindow *arg1 = (wxWindow *) 0 ;
21652 int result;
21653 PyObject * obj0 = 0 ;
21654 char *kwnames[] = {
21655 (char *) "self", NULL
21656 };
21657
21658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
21659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21661 {
21662 PyThreadState* __tstate = wxPyBeginAllowThreads();
21663 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
21664
21665 wxPyEndAllowThreads(__tstate);
21666 if (PyErr_Occurred()) SWIG_fail;
21667 }
21668 resultobj = SWIG_FromInt((int)result);
21669 return resultobj;
21670 fail:
21671 return NULL;
21672}
21673
21674
d14a1e28
RD
21675static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21676 PyObject *resultobj;
21677 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21678 int arg2 ;
d14a1e28 21679 PyObject * obj0 = 0 ;
994141e6 21680 PyObject * obj1 = 0 ;
d14a1e28
RD
21681 char *kwnames[] = {
21682 (char *) "self",(char *) "winid", NULL
21683 };
21684
994141e6 21685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21688 arg2 = (int) SWIG_AsInt(obj1);
21689 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21690 {
21691 PyThreadState* __tstate = wxPyBeginAllowThreads();
21692 (arg1)->SetId(arg2);
21693
21694 wxPyEndAllowThreads(__tstate);
21695 if (PyErr_Occurred()) SWIG_fail;
21696 }
21697 Py_INCREF(Py_None); resultobj = Py_None;
21698 return resultobj;
21699 fail:
21700 return NULL;
21701}
21702
21703
21704static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21705 PyObject *resultobj;
21706 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 21707 int result;
d14a1e28
RD
21708 PyObject * obj0 = 0 ;
21709 char *kwnames[] = {
21710 (char *) "self", NULL
21711 };
21712
21713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
21714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21716 {
21717 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 21718 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
21719
21720 wxPyEndAllowThreads(__tstate);
21721 if (PyErr_Occurred()) SWIG_fail;
21722 }
15afbcd0 21723 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21724 return resultobj;
21725 fail:
21726 return NULL;
21727}
21728
21729
21730static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21731 PyObject *resultobj;
21732 int result;
21733 char *kwnames[] = {
21734 NULL
21735 };
21736
21737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
21738 {
21739 PyThreadState* __tstate = wxPyBeginAllowThreads();
21740 result = (int)wxWindow::NewControlId();
21741
21742 wxPyEndAllowThreads(__tstate);
21743 if (PyErr_Occurred()) SWIG_fail;
21744 }
15afbcd0 21745 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21746 return resultobj;
21747 fail:
21748 return NULL;
21749}
21750
21751
21752static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21753 PyObject *resultobj;
21754 int arg1 ;
21755 int result;
994141e6 21756 PyObject * obj0 = 0 ;
d14a1e28
RD
21757 char *kwnames[] = {
21758 (char *) "winid", NULL
21759 };
21760
994141e6 21761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
15afbcd0
RD
21762 arg1 = (int) SWIG_AsInt(obj0);
21763 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21764 {
21765 PyThreadState* __tstate = wxPyBeginAllowThreads();
21766 result = (int)wxWindow::NextControlId(arg1);
21767
21768 wxPyEndAllowThreads(__tstate);
21769 if (PyErr_Occurred()) SWIG_fail;
21770 }
15afbcd0 21771 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21772 return resultobj;
21773 fail:
21774 return NULL;
21775}
21776
21777
21778static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21779 PyObject *resultobj;
21780 int arg1 ;
21781 int result;
994141e6 21782 PyObject * obj0 = 0 ;
d14a1e28
RD
21783 char *kwnames[] = {
21784 (char *) "winid", NULL
21785 };
21786
994141e6 21787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
15afbcd0
RD
21788 arg1 = (int) SWIG_AsInt(obj0);
21789 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21790 {
21791 PyThreadState* __tstate = wxPyBeginAllowThreads();
21792 result = (int)wxWindow::PrevControlId(arg1);
21793
21794 wxPyEndAllowThreads(__tstate);
21795 if (PyErr_Occurred()) SWIG_fail;
21796 }
15afbcd0 21797 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21798 return resultobj;
21799 fail:
21800 return NULL;
21801}
21802
21803
21804static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21805 PyObject *resultobj;
21806 wxWindow *arg1 = (wxWindow *) 0 ;
21807 wxSize *arg2 = 0 ;
21808 wxSize temp2 ;
21809 PyObject * obj0 = 0 ;
21810 PyObject * obj1 = 0 ;
21811 char *kwnames[] = {
21812 (char *) "self",(char *) "size", NULL
21813 };
21814
21815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
21816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21818 {
21819 arg2 = &temp2;
21820 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21821 }
21822 {
21823 PyThreadState* __tstate = wxPyBeginAllowThreads();
21824 (arg1)->SetSize((wxSize const &)*arg2);
21825
21826 wxPyEndAllowThreads(__tstate);
21827 if (PyErr_Occurred()) SWIG_fail;
21828 }
21829 Py_INCREF(Py_None); resultobj = Py_None;
21830 return resultobj;
21831 fail:
21832 return NULL;
21833}
21834
21835
21836static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
21837 PyObject *resultobj;
21838 wxWindow *arg1 = (wxWindow *) 0 ;
21839 int arg2 ;
21840 int arg3 ;
21841 int arg4 ;
21842 int arg5 ;
21843 int arg6 = (int) wxSIZE_AUTO ;
21844 PyObject * obj0 = 0 ;
994141e6
RD
21845 PyObject * obj1 = 0 ;
21846 PyObject * obj2 = 0 ;
21847 PyObject * obj3 = 0 ;
21848 PyObject * obj4 = 0 ;
21849 PyObject * obj5 = 0 ;
d14a1e28
RD
21850 char *kwnames[] = {
21851 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21852 };
21853
994141e6 21854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
21855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21857 arg2 = (int) SWIG_AsInt(obj1);
21858 if (PyErr_Occurred()) SWIG_fail;
21859 arg3 = (int) SWIG_AsInt(obj2);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 arg4 = (int) SWIG_AsInt(obj3);
21862 if (PyErr_Occurred()) SWIG_fail;
21863 arg5 = (int) SWIG_AsInt(obj4);
21864 if (PyErr_Occurred()) SWIG_fail;
994141e6 21865 if (obj5) {
15afbcd0
RD
21866 arg6 = (int) SWIG_AsInt(obj5);
21867 if (PyErr_Occurred()) SWIG_fail;
994141e6 21868 }
d14a1e28
RD
21869 {
21870 PyThreadState* __tstate = wxPyBeginAllowThreads();
21871 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
21872
21873 wxPyEndAllowThreads(__tstate);
21874 if (PyErr_Occurred()) SWIG_fail;
21875 }
21876 Py_INCREF(Py_None); resultobj = Py_None;
21877 return resultobj;
21878 fail:
21879 return NULL;
21880}
21881
21882
21883static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21884 PyObject *resultobj;
21885 wxWindow *arg1 = (wxWindow *) 0 ;
21886 wxRect *arg2 = 0 ;
21887 int arg3 = (int) wxSIZE_AUTO ;
21888 wxRect temp2 ;
21889 PyObject * obj0 = 0 ;
21890 PyObject * obj1 = 0 ;
994141e6 21891 PyObject * obj2 = 0 ;
d14a1e28
RD
21892 char *kwnames[] = {
21893 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21894 };
21895
994141e6 21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21899 {
21900 arg2 = &temp2;
21901 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21902 }
994141e6 21903 if (obj2) {
15afbcd0
RD
21904 arg3 = (int) SWIG_AsInt(obj2);
21905 if (PyErr_Occurred()) SWIG_fail;
994141e6 21906 }
d14a1e28
RD
21907 {
21908 PyThreadState* __tstate = wxPyBeginAllowThreads();
21909 (arg1)->SetSize((wxRect const &)*arg2,arg3);
21910
21911 wxPyEndAllowThreads(__tstate);
21912 if (PyErr_Occurred()) SWIG_fail;
21913 }
21914 Py_INCREF(Py_None); resultobj = Py_None;
21915 return resultobj;
21916 fail:
21917 return NULL;
21918}
21919
21920
21921static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
21922 PyObject *resultobj;
21923 wxWindow *arg1 = (wxWindow *) 0 ;
21924 int arg2 ;
21925 int arg3 ;
21926 PyObject * obj0 = 0 ;
994141e6
RD
21927 PyObject * obj1 = 0 ;
21928 PyObject * obj2 = 0 ;
d14a1e28
RD
21929 char *kwnames[] = {
21930 (char *) "self",(char *) "width",(char *) "height", NULL
21931 };
21932
994141e6 21933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21936 arg2 = (int) SWIG_AsInt(obj1);
21937 if (PyErr_Occurred()) SWIG_fail;
21938 arg3 = (int) SWIG_AsInt(obj2);
21939 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21940 {
21941 PyThreadState* __tstate = wxPyBeginAllowThreads();
21942 (arg1)->SetSize(arg2,arg3);
21943
21944 wxPyEndAllowThreads(__tstate);
21945 if (PyErr_Occurred()) SWIG_fail;
21946 }
21947 Py_INCREF(Py_None); resultobj = Py_None;
21948 return resultobj;
21949 fail:
21950 return NULL;
21951}
21952
21953
21954static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
21955 PyObject *resultobj;
21956 wxWindow *arg1 = (wxWindow *) 0 ;
21957 wxPoint *arg2 = 0 ;
21958 int arg3 = (int) wxSIZE_USE_EXISTING ;
21959 wxPoint temp2 ;
21960 PyObject * obj0 = 0 ;
21961 PyObject * obj1 = 0 ;
994141e6 21962 PyObject * obj2 = 0 ;
d14a1e28
RD
21963 char *kwnames[] = {
21964 (char *) "self",(char *) "pt",(char *) "flags", NULL
21965 };
21966
994141e6 21967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
21968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21970 {
21971 arg2 = &temp2;
21972 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21973 }
994141e6 21974 if (obj2) {
15afbcd0
RD
21975 arg3 = (int) SWIG_AsInt(obj2);
21976 if (PyErr_Occurred()) SWIG_fail;
994141e6 21977 }
d14a1e28
RD
21978 {
21979 PyThreadState* __tstate = wxPyBeginAllowThreads();
21980 (arg1)->Move((wxPoint const &)*arg2,arg3);
21981
21982 wxPyEndAllowThreads(__tstate);
21983 if (PyErr_Occurred()) SWIG_fail;
21984 }
21985 Py_INCREF(Py_None); resultobj = Py_None;
21986 return resultobj;
21987 fail:
21988 return NULL;
21989}
21990
21991
21992static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
21993 PyObject *resultobj;
21994 wxWindow *arg1 = (wxWindow *) 0 ;
21995 int arg2 ;
21996 int arg3 ;
21997 int arg4 = (int) wxSIZE_USE_EXISTING ;
21998 PyObject * obj0 = 0 ;
994141e6
RD
21999 PyObject * obj1 = 0 ;
22000 PyObject * obj2 = 0 ;
22001 PyObject * obj3 = 0 ;
d14a1e28
RD
22002 char *kwnames[] = {
22003 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22004 };
22005
994141e6 22006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
22007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22009 arg2 = (int) SWIG_AsInt(obj1);
22010 if (PyErr_Occurred()) SWIG_fail;
22011 arg3 = (int) SWIG_AsInt(obj2);
22012 if (PyErr_Occurred()) SWIG_fail;
994141e6 22013 if (obj3) {
15afbcd0
RD
22014 arg4 = (int) SWIG_AsInt(obj3);
22015 if (PyErr_Occurred()) SWIG_fail;
994141e6 22016 }
d14a1e28
RD
22017 {
22018 PyThreadState* __tstate = wxPyBeginAllowThreads();
22019 (arg1)->Move(arg2,arg3,arg4);
22020
22021 wxPyEndAllowThreads(__tstate);
22022 if (PyErr_Occurred()) SWIG_fail;
22023 }
22024 Py_INCREF(Py_None); resultobj = Py_None;
22025 return resultobj;
22026 fail:
22027 return NULL;
22028}
22029
22030
22031static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
22032 PyObject *resultobj;
22033 wxWindow *arg1 = (wxWindow *) 0 ;
22034 PyObject * obj0 = 0 ;
22035 char *kwnames[] = {
22036 (char *) "self", NULL
22037 };
22038
22039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
15afbcd0
RD
22040 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22041 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 (arg1)->Raise();
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 Py_INCREF(Py_None); resultobj = Py_None;
22050 return resultobj;
22051 fail:
22052 return NULL;
22053}
22054
22055
22056static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
22057 PyObject *resultobj;
22058 wxWindow *arg1 = (wxWindow *) 0 ;
22059 PyObject * obj0 = 0 ;
22060 char *kwnames[] = {
22061 (char *) "self", NULL
22062 };
22063
22064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
15afbcd0
RD
22065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22067 {
22068 PyThreadState* __tstate = wxPyBeginAllowThreads();
22069 (arg1)->Lower();
22070
22071 wxPyEndAllowThreads(__tstate);
22072 if (PyErr_Occurred()) SWIG_fail;
22073 }
22074 Py_INCREF(Py_None); resultobj = Py_None;
22075 return resultobj;
22076 fail:
22077 return NULL;
22078}
22079
22080
22081static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22082 PyObject *resultobj;
22083 wxWindow *arg1 = (wxWindow *) 0 ;
22084 wxSize *arg2 = 0 ;
22085 wxSize temp2 ;
22086 PyObject * obj0 = 0 ;
22087 PyObject * obj1 = 0 ;
22088 char *kwnames[] = {
22089 (char *) "self",(char *) "size", NULL
22090 };
22091
22092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22095 {
22096 arg2 = &temp2;
22097 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22098 }
22099 {
22100 PyThreadState* __tstate = wxPyBeginAllowThreads();
22101 (arg1)->SetClientSize((wxSize const &)*arg2);
22102
22103 wxPyEndAllowThreads(__tstate);
22104 if (PyErr_Occurred()) SWIG_fail;
22105 }
22106 Py_INCREF(Py_None); resultobj = Py_None;
22107 return resultobj;
22108 fail:
22109 return NULL;
22110}
22111
22112
22113static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22114 PyObject *resultobj;
22115 wxWindow *arg1 = (wxWindow *) 0 ;
22116 int arg2 ;
22117 int arg3 ;
22118 PyObject * obj0 = 0 ;
994141e6
RD
22119 PyObject * obj1 = 0 ;
22120 PyObject * obj2 = 0 ;
d14a1e28
RD
22121 char *kwnames[] = {
22122 (char *) "self",(char *) "width",(char *) "height", NULL
22123 };
22124
994141e6 22125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22128 arg2 = (int) SWIG_AsInt(obj1);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 arg3 = (int) SWIG_AsInt(obj2);
22131 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22132 {
22133 PyThreadState* __tstate = wxPyBeginAllowThreads();
22134 (arg1)->SetClientSize(arg2,arg3);
22135
22136 wxPyEndAllowThreads(__tstate);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 }
22139 Py_INCREF(Py_None); resultobj = Py_None;
22140 return resultobj;
22141 fail:
22142 return NULL;
22143}
22144
22145
22146static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22147 PyObject *resultobj;
22148 wxWindow *arg1 = (wxWindow *) 0 ;
22149 wxRect *arg2 = 0 ;
22150 wxRect temp2 ;
22151 PyObject * obj0 = 0 ;
22152 PyObject * obj1 = 0 ;
22153 char *kwnames[] = {
22154 (char *) "self",(char *) "rect", NULL
22155 };
22156
22157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22160 {
22161 arg2 = &temp2;
22162 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22163 }
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 (arg1)->SetClientSize((wxRect const &)*arg2);
22167
22168 wxPyEndAllowThreads(__tstate);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
22171 Py_INCREF(Py_None); resultobj = Py_None;
22172 return resultobj;
22173 fail:
22174 return NULL;
22175}
22176
22177
22178static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
22179 PyObject *resultobj;
22180 wxWindow *arg1 = (wxWindow *) 0 ;
22181 wxPoint result;
22182 PyObject * obj0 = 0 ;
22183 char *kwnames[] = {
22184 (char *) "self", NULL
22185 };
22186
22187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
22188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22192 result = (arg1)->GetPosition();
d14a1e28
RD
22193
22194 wxPyEndAllowThreads(__tstate);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
22197 {
22198 wxPoint * resultptr;
22199 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22200 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22201 }
22202 return resultobj;
22203 fail:
22204 return NULL;
22205}
22206
22207
22208static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22209 PyObject *resultobj;
22210 wxWindow *arg1 = (wxWindow *) 0 ;
22211 int *arg2 = (int *) 0 ;
22212 int *arg3 = (int *) 0 ;
22213 int temp2 ;
22214 int temp3 ;
22215 PyObject * obj0 = 0 ;
22216 char *kwnames[] = {
22217 (char *) "self", NULL
22218 };
22219
22220 arg2 = &temp2;
22221 arg3 = &temp3;
22222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22225 {
22226 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 22227 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
22228
22229 wxPyEndAllowThreads(__tstate);
22230 if (PyErr_Occurred()) SWIG_fail;
22231 }
22232 Py_INCREF(Py_None); resultobj = Py_None;
22233 {
22234 PyObject *o = PyInt_FromLong((long) (*arg2));
22235 resultobj = t_output_helper(resultobj,o);
22236 }
22237 {
22238 PyObject *o = PyInt_FromLong((long) (*arg3));
22239 resultobj = t_output_helper(resultobj,o);
22240 }
22241 return resultobj;
22242 fail:
22243 return NULL;
22244}
22245
22246
22247static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22248 PyObject *resultobj;
22249 wxWindow *arg1 = (wxWindow *) 0 ;
22250 wxSize result;
22251 PyObject * obj0 = 0 ;
22252 char *kwnames[] = {
22253 (char *) "self", NULL
22254 };
22255
22256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22259 {
22260 PyThreadState* __tstate = wxPyBeginAllowThreads();
22261 result = ((wxWindow const *)arg1)->GetSize();
22262
22263 wxPyEndAllowThreads(__tstate);
22264 if (PyErr_Occurred()) SWIG_fail;
22265 }
22266 {
22267 wxSize * resultptr;
22268 resultptr = new wxSize((wxSize &) result);
15afbcd0 22269 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22270 }
22271 return resultobj;
22272 fail:
22273 return NULL;
22274}
22275
22276
22277static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22278 PyObject *resultobj;
22279 wxWindow *arg1 = (wxWindow *) 0 ;
22280 int *arg2 = (int *) 0 ;
22281 int *arg3 = (int *) 0 ;
22282 int temp2 ;
22283 int temp3 ;
22284 PyObject * obj0 = 0 ;
22285 char *kwnames[] = {
22286 (char *) "self", NULL
22287 };
22288
22289 arg2 = &temp2;
22290 arg3 = &temp3;
22291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22294 {
22295 PyThreadState* __tstate = wxPyBeginAllowThreads();
22296 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22297
22298 wxPyEndAllowThreads(__tstate);
22299 if (PyErr_Occurred()) SWIG_fail;
22300 }
22301 Py_INCREF(Py_None); resultobj = Py_None;
22302 {
22303 PyObject *o = PyInt_FromLong((long) (*arg2));
22304 resultobj = t_output_helper(resultobj,o);
22305 }
22306 {
22307 PyObject *o = PyInt_FromLong((long) (*arg3));
22308 resultobj = t_output_helper(resultobj,o);
22309 }
22310 return resultobj;
22311 fail:
22312 return NULL;
22313}
22314
22315
22316static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22317 PyObject *resultobj;
22318 wxWindow *arg1 = (wxWindow *) 0 ;
22319 wxRect result;
22320 PyObject * obj0 = 0 ;
22321 char *kwnames[] = {
22322 (char *) "self", NULL
22323 };
22324
22325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
22330 result = ((wxWindow const *)arg1)->GetRect();
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 {
22336 wxRect * resultptr;
22337 resultptr = new wxRect((wxRect &) result);
15afbcd0 22338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22339 }
22340 return resultobj;
22341 fail:
22342 return NULL;
22343}
22344
22345
22346static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22347 PyObject *resultobj;
22348 wxWindow *arg1 = (wxWindow *) 0 ;
22349 wxSize result;
22350 PyObject * obj0 = 0 ;
22351 char *kwnames[] = {
22352 (char *) "self", NULL
22353 };
22354
22355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22358 {
22359 PyThreadState* __tstate = wxPyBeginAllowThreads();
22360 result = ((wxWindow const *)arg1)->GetClientSize();
22361
22362 wxPyEndAllowThreads(__tstate);
22363 if (PyErr_Occurred()) SWIG_fail;
22364 }
22365 {
22366 wxSize * resultptr;
22367 resultptr = new wxSize((wxSize &) result);
15afbcd0 22368 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22369 }
22370 return resultobj;
22371 fail:
22372 return NULL;
22373}
22374
22375
22376static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22377 PyObject *resultobj;
22378 wxWindow *arg1 = (wxWindow *) 0 ;
22379 int *arg2 = (int *) 0 ;
22380 int *arg3 = (int *) 0 ;
22381 int temp2 ;
22382 int temp3 ;
22383 PyObject * obj0 = 0 ;
22384 char *kwnames[] = {
22385 (char *) "self", NULL
22386 };
22387
22388 arg2 = &temp2;
22389 arg3 = &temp3;
22390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22393 {
22394 PyThreadState* __tstate = wxPyBeginAllowThreads();
22395 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22396
22397 wxPyEndAllowThreads(__tstate);
22398 if (PyErr_Occurred()) SWIG_fail;
22399 }
22400 Py_INCREF(Py_None); resultobj = Py_None;
22401 {
22402 PyObject *o = PyInt_FromLong((long) (*arg2));
22403 resultobj = t_output_helper(resultobj,o);
22404 }
22405 {
22406 PyObject *o = PyInt_FromLong((long) (*arg3));
22407 resultobj = t_output_helper(resultobj,o);
22408 }
22409 return resultobj;
22410 fail:
22411 return NULL;
22412}
22413
22414
22415static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
22416 PyObject *resultobj;
22417 wxWindow *arg1 = (wxWindow *) 0 ;
22418 wxPoint result;
22419 PyObject * obj0 = 0 ;
22420 char *kwnames[] = {
22421 (char *) "self", NULL
22422 };
22423
22424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
15afbcd0
RD
22425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22427 {
22428 PyThreadState* __tstate = wxPyBeginAllowThreads();
22429 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22430
22431 wxPyEndAllowThreads(__tstate);
22432 if (PyErr_Occurred()) SWIG_fail;
22433 }
22434 {
22435 wxPoint * resultptr;
22436 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 22437 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22438 }
22439 return resultobj;
22440 fail:
22441 return NULL;
22442}
22443
22444
22445static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22446 PyObject *resultobj;
22447 wxWindow *arg1 = (wxWindow *) 0 ;
22448 wxRect result;
22449 PyObject * obj0 = 0 ;
22450 char *kwnames[] = {
22451 (char *) "self", NULL
22452 };
22453
22454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
22455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22457 {
22458 PyThreadState* __tstate = wxPyBeginAllowThreads();
22459 result = ((wxWindow const *)arg1)->GetClientRect();
22460
22461 wxPyEndAllowThreads(__tstate);
22462 if (PyErr_Occurred()) SWIG_fail;
22463 }
22464 {
22465 wxRect * resultptr;
22466 resultptr = new wxRect((wxRect &) result);
15afbcd0 22467 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22468 }
22469 return resultobj;
22470 fail:
22471 return NULL;
22472}
22473
22474
22475static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22476 PyObject *resultobj;
22477 wxWindow *arg1 = (wxWindow *) 0 ;
22478 wxSize result;
22479 PyObject * obj0 = 0 ;
22480 char *kwnames[] = {
22481 (char *) "self", NULL
22482 };
22483
22484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22487 {
22488 PyThreadState* __tstate = wxPyBeginAllowThreads();
22489 result = ((wxWindow const *)arg1)->GetBestSize();
22490
22491 wxPyEndAllowThreads(__tstate);
22492 if (PyErr_Occurred()) SWIG_fail;
22493 }
22494 {
22495 wxSize * resultptr;
22496 resultptr = new wxSize((wxSize &) result);
15afbcd0 22497 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22498 }
22499 return resultobj;
22500 fail:
22501 return NULL;
22502}
22503
22504
22505static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22506 PyObject *resultobj;
22507 wxWindow *arg1 = (wxWindow *) 0 ;
22508 int *arg2 = (int *) 0 ;
22509 int *arg3 = (int *) 0 ;
22510 int temp2 ;
22511 int temp3 ;
22512 PyObject * obj0 = 0 ;
22513 char *kwnames[] = {
22514 (char *) "self", NULL
22515 };
22516
22517 arg2 = &temp2;
22518 arg3 = &temp3;
22519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
22520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22522 {
22523 PyThreadState* __tstate = wxPyBeginAllowThreads();
22524 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22525
22526 wxPyEndAllowThreads(__tstate);
22527 if (PyErr_Occurred()) SWIG_fail;
22528 }
22529 Py_INCREF(Py_None); resultobj = Py_None;
22530 {
22531 PyObject *o = PyInt_FromLong((long) (*arg2));
22532 resultobj = t_output_helper(resultobj,o);
22533 }
22534 {
22535 PyObject *o = PyInt_FromLong((long) (*arg3));
22536 resultobj = t_output_helper(resultobj,o);
22537 }
22538 return resultobj;
22539 fail:
22540 return NULL;
22541}
22542
22543
22544static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22545 PyObject *resultobj;
22546 wxWindow *arg1 = (wxWindow *) 0 ;
22547 wxSize result;
22548 PyObject * obj0 = 0 ;
22549 char *kwnames[] = {
22550 (char *) "self", NULL
22551 };
22552
22553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22556 {
22557 PyThreadState* __tstate = wxPyBeginAllowThreads();
22558 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
22559
22560 wxPyEndAllowThreads(__tstate);
22561 if (PyErr_Occurred()) SWIG_fail;
22562 }
22563 {
22564 wxSize * resultptr;
22565 resultptr = new wxSize((wxSize &) result);
15afbcd0 22566 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22567 }
22568 return resultobj;
22569 fail:
22570 return NULL;
22571}
22572
22573
22574static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
22575 PyObject *resultobj;
22576 wxWindow *arg1 = (wxWindow *) 0 ;
22577 int arg2 = (int) wxBOTH ;
22578 PyObject * obj0 = 0 ;
994141e6 22579 PyObject * obj1 = 0 ;
d14a1e28
RD
22580 char *kwnames[] = {
22581 (char *) "self",(char *) "direction", NULL
22582 };
22583
994141e6 22584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22587 if (obj1) {
15afbcd0
RD
22588 arg2 = (int) SWIG_AsInt(obj1);
22589 if (PyErr_Occurred()) SWIG_fail;
994141e6 22590 }
d14a1e28
RD
22591 {
22592 PyThreadState* __tstate = wxPyBeginAllowThreads();
22593 (arg1)->Center(arg2);
22594
22595 wxPyEndAllowThreads(__tstate);
22596 if (PyErr_Occurred()) SWIG_fail;
22597 }
22598 Py_INCREF(Py_None); resultobj = Py_None;
22599 return resultobj;
22600 fail:
22601 return NULL;
22602}
22603
22604
22605static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22606 PyObject *resultobj;
22607 wxWindow *arg1 = (wxWindow *) 0 ;
22608 int arg2 = (int) wxBOTH ;
22609 PyObject * obj0 = 0 ;
994141e6 22610 PyObject * obj1 = 0 ;
d14a1e28
RD
22611 char *kwnames[] = {
22612 (char *) "self",(char *) "dir", NULL
22613 };
22614
994141e6 22615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22618 if (obj1) {
15afbcd0
RD
22619 arg2 = (int) SWIG_AsInt(obj1);
22620 if (PyErr_Occurred()) SWIG_fail;
994141e6 22621 }
d14a1e28
RD
22622 {
22623 PyThreadState* __tstate = wxPyBeginAllowThreads();
22624 (arg1)->CenterOnScreen(arg2);
22625
22626 wxPyEndAllowThreads(__tstate);
22627 if (PyErr_Occurred()) SWIG_fail;
22628 }
22629 Py_INCREF(Py_None); resultobj = Py_None;
22630 return resultobj;
22631 fail:
22632 return NULL;
22633}
22634
22635
22636static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22637 PyObject *resultobj;
22638 wxWindow *arg1 = (wxWindow *) 0 ;
22639 int arg2 = (int) wxBOTH ;
22640 PyObject * obj0 = 0 ;
994141e6 22641 PyObject * obj1 = 0 ;
d14a1e28
RD
22642 char *kwnames[] = {
22643 (char *) "self",(char *) "dir", NULL
22644 };
22645
994141e6 22646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 22649 if (obj1) {
15afbcd0
RD
22650 arg2 = (int) SWIG_AsInt(obj1);
22651 if (PyErr_Occurred()) SWIG_fail;
994141e6 22652 }
d14a1e28
RD
22653 {
22654 PyThreadState* __tstate = wxPyBeginAllowThreads();
22655 (arg1)->CenterOnParent(arg2);
22656
22657 wxPyEndAllowThreads(__tstate);
22658 if (PyErr_Occurred()) SWIG_fail;
22659 }
22660 Py_INCREF(Py_None); resultobj = Py_None;
22661 return resultobj;
22662 fail:
22663 return NULL;
22664}
22665
22666
22667static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
22668 PyObject *resultobj;
22669 wxWindow *arg1 = (wxWindow *) 0 ;
22670 PyObject * obj0 = 0 ;
22671 char *kwnames[] = {
22672 (char *) "self", NULL
22673 };
22674
22675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
15afbcd0
RD
22676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 (arg1)->Fit();
22681
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 Py_INCREF(Py_None); resultobj = Py_None;
22686 return resultobj;
22687 fail:
22688 return NULL;
22689}
22690
22691
22692static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxWindow *arg1 = (wxWindow *) 0 ;
22695 PyObject * obj0 = 0 ;
22696 char *kwnames[] = {
22697 (char *) "self", NULL
22698 };
22699
22700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
15afbcd0
RD
22701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 (arg1)->FitInside();
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 Py_INCREF(Py_None); resultobj = Py_None;
22711 return resultobj;
22712 fail:
22713 return NULL;
22714}
22715
22716
22717static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
22718 PyObject *resultobj;
22719 wxWindow *arg1 = (wxWindow *) 0 ;
22720 int arg2 ;
22721 int arg3 ;
22722 int arg4 = (int) -1 ;
22723 int arg5 = (int) -1 ;
22724 int arg6 = (int) -1 ;
22725 int arg7 = (int) -1 ;
22726 PyObject * obj0 = 0 ;
994141e6
RD
22727 PyObject * obj1 = 0 ;
22728 PyObject * obj2 = 0 ;
22729 PyObject * obj3 = 0 ;
22730 PyObject * obj4 = 0 ;
22731 PyObject * obj5 = 0 ;
22732 PyObject * obj6 = 0 ;
d14a1e28
RD
22733 char *kwnames[] = {
22734 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22735 };
22736
994141e6 22737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
22738 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22740 arg2 = (int) SWIG_AsInt(obj1);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 arg3 = (int) SWIG_AsInt(obj2);
22743 if (PyErr_Occurred()) SWIG_fail;
994141e6 22744 if (obj3) {
15afbcd0
RD
22745 arg4 = (int) SWIG_AsInt(obj3);
22746 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22747 }
22748 if (obj4) {
15afbcd0
RD
22749 arg5 = (int) SWIG_AsInt(obj4);
22750 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22751 }
22752 if (obj5) {
15afbcd0
RD
22753 arg6 = (int) SWIG_AsInt(obj5);
22754 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22755 }
22756 if (obj6) {
15afbcd0
RD
22757 arg7 = (int) SWIG_AsInt(obj6);
22758 if (PyErr_Occurred()) SWIG_fail;
994141e6 22759 }
d14a1e28
RD
22760 {
22761 PyThreadState* __tstate = wxPyBeginAllowThreads();
22762 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
22763
22764 wxPyEndAllowThreads(__tstate);
22765 if (PyErr_Occurred()) SWIG_fail;
22766 }
22767 Py_INCREF(Py_None); resultobj = Py_None;
22768 return resultobj;
22769 fail:
22770 return NULL;
22771}
22772
22773
22774static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
22775 PyObject *resultobj;
22776 wxWindow *arg1 = (wxWindow *) 0 ;
22777 int arg2 ;
22778 int arg3 ;
22779 int arg4 = (int) -1 ;
22780 int arg5 = (int) -1 ;
22781 PyObject * obj0 = 0 ;
994141e6
RD
22782 PyObject * obj1 = 0 ;
22783 PyObject * obj2 = 0 ;
22784 PyObject * obj3 = 0 ;
22785 PyObject * obj4 = 0 ;
d14a1e28
RD
22786 char *kwnames[] = {
22787 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22788 };
22789
994141e6 22790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
22791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22793 arg2 = (int) SWIG_AsInt(obj1);
22794 if (PyErr_Occurred()) SWIG_fail;
22795 arg3 = (int) SWIG_AsInt(obj2);
22796 if (PyErr_Occurred()) SWIG_fail;
994141e6 22797 if (obj3) {
15afbcd0
RD
22798 arg4 = (int) SWIG_AsInt(obj3);
22799 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
22800 }
22801 if (obj4) {
15afbcd0
RD
22802 arg5 = (int) SWIG_AsInt(obj4);
22803 if (PyErr_Occurred()) SWIG_fail;
994141e6 22804 }
d14a1e28
RD
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
22808
22809 wxPyEndAllowThreads(__tstate);
22810 if (PyErr_Occurred()) SWIG_fail;
22811 }
22812 Py_INCREF(Py_None); resultobj = Py_None;
22813 return resultobj;
22814 fail:
22815 return NULL;
22816}
22817
22818
22819static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22820 PyObject *resultobj;
22821 wxWindow *arg1 = (wxWindow *) 0 ;
22822 int result;
22823 PyObject * obj0 = 0 ;
22824 char *kwnames[] = {
22825 (char *) "self", NULL
22826 };
22827
22828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
22829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22831 {
22832 PyThreadState* __tstate = wxPyBeginAllowThreads();
22833 result = (int)((wxWindow const *)arg1)->GetMinWidth();
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
15afbcd0 22838 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22839 return resultobj;
22840 fail:
22841 return NULL;
22842}
22843
22844
22845static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22846 PyObject *resultobj;
22847 wxWindow *arg1 = (wxWindow *) 0 ;
22848 int result;
22849 PyObject * obj0 = 0 ;
22850 char *kwnames[] = {
22851 (char *) "self", NULL
22852 };
22853
22854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
22855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22857 {
22858 PyThreadState* __tstate = wxPyBeginAllowThreads();
22859 result = (int)((wxWindow const *)arg1)->GetMinHeight();
22860
22861 wxPyEndAllowThreads(__tstate);
22862 if (PyErr_Occurred()) SWIG_fail;
22863 }
15afbcd0 22864 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22865 return resultobj;
22866 fail:
22867 return NULL;
22868}
22869
22870
22871static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22872 PyObject *resultobj;
22873 wxWindow *arg1 = (wxWindow *) 0 ;
22874 int result;
22875 PyObject * obj0 = 0 ;
22876 char *kwnames[] = {
22877 (char *) "self", NULL
22878 };
22879
22880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
22881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22883 {
22884 PyThreadState* __tstate = wxPyBeginAllowThreads();
22885 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
22886
22887 wxPyEndAllowThreads(__tstate);
22888 if (PyErr_Occurred()) SWIG_fail;
22889 }
15afbcd0 22890 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22891 return resultobj;
22892 fail:
22893 return NULL;
22894}
22895
22896
22897static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22898 PyObject *resultobj;
22899 wxWindow *arg1 = (wxWindow *) 0 ;
22900 int result;
22901 PyObject * obj0 = 0 ;
22902 char *kwnames[] = {
22903 (char *) "self", NULL
22904 };
22905
22906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
22907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22909 {
22910 PyThreadState* __tstate = wxPyBeginAllowThreads();
22911 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
22912
22913 wxPyEndAllowThreads(__tstate);
22914 if (PyErr_Occurred()) SWIG_fail;
22915 }
15afbcd0 22916 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22917 return resultobj;
22918 fail:
22919 return NULL;
22920}
22921
22922
22923static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22924 PyObject *resultobj;
22925 wxWindow *arg1 = (wxWindow *) 0 ;
22926 wxSize result;
22927 PyObject * obj0 = 0 ;
22928 char *kwnames[] = {
22929 (char *) "self", NULL
22930 };
22931
22932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
22933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22935 {
22936 PyThreadState* __tstate = wxPyBeginAllowThreads();
22937 result = ((wxWindow const *)arg1)->GetMaxSize();
22938
22939 wxPyEndAllowThreads(__tstate);
22940 if (PyErr_Occurred()) SWIG_fail;
22941 }
22942 {
22943 wxSize * resultptr;
22944 resultptr = new wxSize((wxSize &) result);
15afbcd0 22945 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22946 }
22947 return resultobj;
22948 fail:
22949 return NULL;
22950}
22951
22952
22953static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22954 PyObject *resultobj;
22955 wxWindow *arg1 = (wxWindow *) 0 ;
22956 wxSize *arg2 = 0 ;
22957 wxSize temp2 ;
22958 PyObject * obj0 = 0 ;
22959 PyObject * obj1 = 0 ;
22960 char *kwnames[] = {
22961 (char *) "self",(char *) "size", NULL
22962 };
22963
22964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
22965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22967 {
22968 arg2 = &temp2;
22969 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22970 }
22971 {
22972 PyThreadState* __tstate = wxPyBeginAllowThreads();
22973 (arg1)->SetVirtualSize((wxSize const &)*arg2);
22974
22975 wxPyEndAllowThreads(__tstate);
22976 if (PyErr_Occurred()) SWIG_fail;
22977 }
22978 Py_INCREF(Py_None); resultobj = Py_None;
22979 return resultobj;
22980 fail:
22981 return NULL;
22982}
22983
22984
22985static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22986 PyObject *resultobj;
22987 wxWindow *arg1 = (wxWindow *) 0 ;
22988 int arg2 ;
22989 int arg3 ;
22990 PyObject * obj0 = 0 ;
994141e6
RD
22991 PyObject * obj1 = 0 ;
22992 PyObject * obj2 = 0 ;
d14a1e28
RD
22993 char *kwnames[] = {
22994 (char *) "self",(char *) "w",(char *) "h", NULL
22995 };
22996
994141e6 22997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
22998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23000 arg2 = (int) SWIG_AsInt(obj1);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 arg3 = (int) SWIG_AsInt(obj2);
23003 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23004 {
23005 PyThreadState* __tstate = wxPyBeginAllowThreads();
23006 (arg1)->SetVirtualSize(arg2,arg3);
23007
23008 wxPyEndAllowThreads(__tstate);
23009 if (PyErr_Occurred()) SWIG_fail;
23010 }
23011 Py_INCREF(Py_None); resultobj = Py_None;
23012 return resultobj;
23013 fail:
23014 return NULL;
23015}
23016
23017
23018static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23019 PyObject *resultobj;
23020 wxWindow *arg1 = (wxWindow *) 0 ;
23021 wxSize result;
23022 PyObject * obj0 = 0 ;
23023 char *kwnames[] = {
23024 (char *) "self", NULL
23025 };
23026
23027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23030 {
23031 PyThreadState* __tstate = wxPyBeginAllowThreads();
23032 result = ((wxWindow const *)arg1)->GetVirtualSize();
23033
23034 wxPyEndAllowThreads(__tstate);
23035 if (PyErr_Occurred()) SWIG_fail;
23036 }
23037 {
23038 wxSize * resultptr;
23039 resultptr = new wxSize((wxSize &) result);
15afbcd0 23040 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23041 }
23042 return resultobj;
23043 fail:
23044 return NULL;
23045}
23046
23047
23048static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
23049 PyObject *resultobj;
23050 wxWindow *arg1 = (wxWindow *) 0 ;
23051 int *arg2 = (int *) 0 ;
23052 int *arg3 = (int *) 0 ;
23053 int temp2 ;
23054 int temp3 ;
23055 PyObject * obj0 = 0 ;
23056 char *kwnames[] = {
23057 (char *) "self", NULL
23058 };
23059
23060 arg2 = &temp2;
23061 arg3 = &temp3;
23062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
15afbcd0
RD
23063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23065 {
23066 PyThreadState* __tstate = wxPyBeginAllowThreads();
23067 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
23068
23069 wxPyEndAllowThreads(__tstate);
23070 if (PyErr_Occurred()) SWIG_fail;
23071 }
23072 Py_INCREF(Py_None); resultobj = Py_None;
23073 {
23074 PyObject *o = PyInt_FromLong((long) (*arg2));
23075 resultobj = t_output_helper(resultobj,o);
23076 }
23077 {
23078 PyObject *o = PyInt_FromLong((long) (*arg3));
23079 resultobj = t_output_helper(resultobj,o);
23080 }
23081 return resultobj;
23082 fail:
23083 return NULL;
23084}
23085
23086
23087static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23088 PyObject *resultobj;
23089 wxWindow *arg1 = (wxWindow *) 0 ;
23090 wxSize result;
23091 PyObject * obj0 = 0 ;
23092 char *kwnames[] = {
23093 (char *) "self", NULL
23094 };
23095
23096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
23097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23099 {
23100 PyThreadState* __tstate = wxPyBeginAllowThreads();
23101 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
23102
23103 wxPyEndAllowThreads(__tstate);
23104 if (PyErr_Occurred()) SWIG_fail;
23105 }
23106 {
23107 wxSize * resultptr;
23108 resultptr = new wxSize((wxSize &) result);
15afbcd0 23109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23110 }
23111 return resultobj;
23112 fail:
23113 return NULL;
23114}
23115
23116
23117static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
23118 PyObject *resultobj;
23119 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23120 bool arg2 = (bool) True ;
d14a1e28
RD
23121 bool result;
23122 PyObject * obj0 = 0 ;
23123 PyObject * obj1 = 0 ;
23124 char *kwnames[] = {
23125 (char *) "self",(char *) "show", NULL
23126 };
23127
23128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23131 if (obj1) {
15afbcd0
RD
23132 arg2 = (bool) SWIG_AsBool(obj1);
23133 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23134 }
23135 {
23136 PyThreadState* __tstate = wxPyBeginAllowThreads();
23137 result = (bool)(arg1)->Show(arg2);
23138
23139 wxPyEndAllowThreads(__tstate);
23140 if (PyErr_Occurred()) SWIG_fail;
23141 }
4f89f6a3
RD
23142 {
23143 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23144 }
d14a1e28
RD
23145 return resultobj;
23146 fail:
23147 return NULL;
23148}
23149
23150
23151static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
23152 PyObject *resultobj;
23153 wxWindow *arg1 = (wxWindow *) 0 ;
23154 bool result;
23155 PyObject * obj0 = 0 ;
23156 char *kwnames[] = {
23157 (char *) "self", NULL
23158 };
23159
23160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
15afbcd0
RD
23161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23163 {
23164 PyThreadState* __tstate = wxPyBeginAllowThreads();
23165 result = (bool)(arg1)->Hide();
23166
23167 wxPyEndAllowThreads(__tstate);
23168 if (PyErr_Occurred()) SWIG_fail;
23169 }
4f89f6a3
RD
23170 {
23171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23172 }
d14a1e28
RD
23173 return resultobj;
23174 fail:
23175 return NULL;
23176}
23177
23178
23179static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
23180 PyObject *resultobj;
23181 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23182 bool arg2 = (bool) True ;
d14a1e28
RD
23183 bool result;
23184 PyObject * obj0 = 0 ;
23185 PyObject * obj1 = 0 ;
23186 char *kwnames[] = {
23187 (char *) "self",(char *) "enable", NULL
23188 };
23189
23190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23193 if (obj1) {
15afbcd0
RD
23194 arg2 = (bool) SWIG_AsBool(obj1);
23195 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23196 }
23197 {
23198 PyThreadState* __tstate = wxPyBeginAllowThreads();
23199 result = (bool)(arg1)->Enable(arg2);
23200
23201 wxPyEndAllowThreads(__tstate);
23202 if (PyErr_Occurred()) SWIG_fail;
23203 }
4f89f6a3
RD
23204 {
23205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23206 }
d14a1e28
RD
23207 return resultobj;
23208 fail:
23209 return NULL;
23210}
23211
23212
23213static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
23214 PyObject *resultobj;
23215 wxWindow *arg1 = (wxWindow *) 0 ;
23216 bool result;
23217 PyObject * obj0 = 0 ;
23218 char *kwnames[] = {
23219 (char *) "self", NULL
23220 };
23221
23222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
15afbcd0
RD
23223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23225 {
23226 PyThreadState* __tstate = wxPyBeginAllowThreads();
23227 result = (bool)(arg1)->Disable();
23228
23229 wxPyEndAllowThreads(__tstate);
23230 if (PyErr_Occurred()) SWIG_fail;
23231 }
4f89f6a3
RD
23232 {
23233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23234 }
d14a1e28
RD
23235 return resultobj;
23236 fail:
23237 return NULL;
23238}
23239
23240
23241static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
23242 PyObject *resultobj;
23243 wxWindow *arg1 = (wxWindow *) 0 ;
23244 bool result;
23245 PyObject * obj0 = 0 ;
23246 char *kwnames[] = {
23247 (char *) "self", NULL
23248 };
23249
23250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
23251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23253 {
23254 PyThreadState* __tstate = wxPyBeginAllowThreads();
23255 result = (bool)((wxWindow const *)arg1)->IsShown();
23256
23257 wxPyEndAllowThreads(__tstate);
23258 if (PyErr_Occurred()) SWIG_fail;
23259 }
4f89f6a3
RD
23260 {
23261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23262 }
d14a1e28
RD
23263 return resultobj;
23264 fail:
23265 return NULL;
23266}
23267
23268
23269static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23270 PyObject *resultobj;
23271 wxWindow *arg1 = (wxWindow *) 0 ;
23272 bool result;
23273 PyObject * obj0 = 0 ;
23274 char *kwnames[] = {
23275 (char *) "self", NULL
23276 };
23277
23278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
23279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23281 {
23282 PyThreadState* __tstate = wxPyBeginAllowThreads();
23283 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23284
23285 wxPyEndAllowThreads(__tstate);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 }
4f89f6a3
RD
23288 {
23289 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23290 }
d14a1e28
RD
23291 return resultobj;
23292 fail:
23293 return NULL;
23294}
23295
23296
23297static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23298 PyObject *resultobj;
23299 wxWindow *arg1 = (wxWindow *) 0 ;
23300 long arg2 ;
23301 PyObject * obj0 = 0 ;
994141e6 23302 PyObject * obj1 = 0 ;
d14a1e28
RD
23303 char *kwnames[] = {
23304 (char *) "self",(char *) "style", NULL
23305 };
23306
994141e6 23307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23310 arg2 = (long) SWIG_AsLong(obj1);
23311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23312 {
23313 PyThreadState* __tstate = wxPyBeginAllowThreads();
23314 (arg1)->SetWindowStyleFlag(arg2);
23315
23316 wxPyEndAllowThreads(__tstate);
23317 if (PyErr_Occurred()) SWIG_fail;
23318 }
23319 Py_INCREF(Py_None); resultobj = Py_None;
23320 return resultobj;
23321 fail:
23322 return NULL;
23323}
23324
23325
23326static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23327 PyObject *resultobj;
23328 wxWindow *arg1 = (wxWindow *) 0 ;
23329 long result;
23330 PyObject * obj0 = 0 ;
23331 char *kwnames[] = {
23332 (char *) "self", NULL
23333 };
23334
23335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
23336 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23337 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23338 {
23339 PyThreadState* __tstate = wxPyBeginAllowThreads();
23340 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
23341
23342 wxPyEndAllowThreads(__tstate);
23343 if (PyErr_Occurred()) SWIG_fail;
23344 }
15afbcd0 23345 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23346 return resultobj;
23347 fail:
23348 return NULL;
23349}
23350
23351
23352static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23353 PyObject *resultobj;
23354 wxWindow *arg1 = (wxWindow *) 0 ;
23355 int arg2 ;
23356 bool result;
23357 PyObject * obj0 = 0 ;
994141e6 23358 PyObject * obj1 = 0 ;
d14a1e28
RD
23359 char *kwnames[] = {
23360 (char *) "self",(char *) "flag", NULL
23361 };
23362
994141e6 23363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23366 arg2 = (int) SWIG_AsInt(obj1);
23367 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23368 {
23369 PyThreadState* __tstate = wxPyBeginAllowThreads();
23370 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
23371
23372 wxPyEndAllowThreads(__tstate);
23373 if (PyErr_Occurred()) SWIG_fail;
23374 }
4f89f6a3
RD
23375 {
23376 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23377 }
d14a1e28
RD
23378 return resultobj;
23379 fail:
23380 return NULL;
23381}
23382
23383
23384static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
23385 PyObject *resultobj;
23386 wxWindow *arg1 = (wxWindow *) 0 ;
23387 bool result;
23388 PyObject * obj0 = 0 ;
23389 char *kwnames[] = {
23390 (char *) "self", NULL
23391 };
23392
23393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
15afbcd0
RD
23394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23396 {
23397 PyThreadState* __tstate = wxPyBeginAllowThreads();
23398 result = (bool)((wxWindow const *)arg1)->IsRetained();
23399
23400 wxPyEndAllowThreads(__tstate);
23401 if (PyErr_Occurred()) SWIG_fail;
23402 }
4f89f6a3
RD
23403 {
23404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23405 }
d14a1e28
RD
23406 return resultobj;
23407 fail:
23408 return NULL;
23409}
23410
23411
23412static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
23413 PyObject *resultobj;
23414 wxWindow *arg1 = (wxWindow *) 0 ;
23415 long arg2 ;
23416 PyObject * obj0 = 0 ;
994141e6 23417 PyObject * obj1 = 0 ;
d14a1e28
RD
23418 char *kwnames[] = {
23419 (char *) "self",(char *) "exStyle", NULL
23420 };
23421
994141e6 23422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23425 arg2 = (long) SWIG_AsLong(obj1);
23426 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23427 {
23428 PyThreadState* __tstate = wxPyBeginAllowThreads();
23429 (arg1)->SetExtraStyle(arg2);
23430
23431 wxPyEndAllowThreads(__tstate);
23432 if (PyErr_Occurred()) SWIG_fail;
23433 }
23434 Py_INCREF(Py_None); resultobj = Py_None;
23435 return resultobj;
23436 fail:
23437 return NULL;
23438}
23439
23440
23441static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
23442 PyObject *resultobj;
23443 wxWindow *arg1 = (wxWindow *) 0 ;
23444 long result;
23445 PyObject * obj0 = 0 ;
23446 char *kwnames[] = {
23447 (char *) "self", NULL
23448 };
23449
23450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
23451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23453 {
23454 PyThreadState* __tstate = wxPyBeginAllowThreads();
23455 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
23456
23457 wxPyEndAllowThreads(__tstate);
23458 if (PyErr_Occurred()) SWIG_fail;
23459 }
15afbcd0 23460 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23461 return resultobj;
23462 fail:
23463 return NULL;
23464}
23465
23466
23467static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
23468 PyObject *resultobj;
23469 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23470 bool arg2 = (bool) True ;
d14a1e28
RD
23471 PyObject * obj0 = 0 ;
23472 PyObject * obj1 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self",(char *) "modal", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23478 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23479 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23480 if (obj1) {
15afbcd0
RD
23481 arg2 = (bool) SWIG_AsBool(obj1);
23482 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23483 }
23484 {
23485 PyThreadState* __tstate = wxPyBeginAllowThreads();
23486 (arg1)->MakeModal(arg2);
23487
23488 wxPyEndAllowThreads(__tstate);
23489 if (PyErr_Occurred()) SWIG_fail;
23490 }
23491 Py_INCREF(Py_None); resultobj = Py_None;
23492 return resultobj;
23493 fail:
23494 return NULL;
23495}
23496
23497
23498static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23499 PyObject *resultobj;
23500 wxWindow *arg1 = (wxWindow *) 0 ;
23501 bool arg2 ;
23502 PyObject * obj0 = 0 ;
23503 PyObject * obj1 = 0 ;
23504 char *kwnames[] = {
23505 (char *) "self",(char *) "enableTheme", NULL
23506 };
23507
23508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23511 arg2 = (bool) SWIG_AsBool(obj1);
23512 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23513 {
23514 PyThreadState* __tstate = wxPyBeginAllowThreads();
23515 (arg1)->SetThemeEnabled(arg2);
23516
23517 wxPyEndAllowThreads(__tstate);
23518 if (PyErr_Occurred()) SWIG_fail;
23519 }
23520 Py_INCREF(Py_None); resultobj = Py_None;
23521 return resultobj;
23522 fail:
23523 return NULL;
23524}
23525
23526
23527static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23528 PyObject *resultobj;
23529 wxWindow *arg1 = (wxWindow *) 0 ;
23530 bool result;
23531 PyObject * obj0 = 0 ;
23532 char *kwnames[] = {
23533 (char *) "self", NULL
23534 };
23535
23536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
23537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23539 {
23540 PyThreadState* __tstate = wxPyBeginAllowThreads();
23541 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
23542
23543 wxPyEndAllowThreads(__tstate);
23544 if (PyErr_Occurred()) SWIG_fail;
23545 }
4f89f6a3
RD
23546 {
23547 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23548 }
d14a1e28
RD
23549 return resultobj;
23550 fail:
23551 return NULL;
23552}
23553
23554
d14a1e28
RD
23555static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
23556 PyObject *resultobj;
23557 wxWindow *arg1 = (wxWindow *) 0 ;
23558 PyObject * obj0 = 0 ;
23559 char *kwnames[] = {
23560 (char *) "self", NULL
23561 };
23562
23563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
23564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23566 {
23567 PyThreadState* __tstate = wxPyBeginAllowThreads();
23568 (arg1)->SetFocus();
23569
23570 wxPyEndAllowThreads(__tstate);
23571 if (PyErr_Occurred()) SWIG_fail;
23572 }
23573 Py_INCREF(Py_None); resultobj = Py_None;
23574 return resultobj;
23575 fail:
23576 return NULL;
23577}
23578
23579
23580static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
23581 PyObject *resultobj;
23582 wxWindow *arg1 = (wxWindow *) 0 ;
23583 PyObject * obj0 = 0 ;
23584 char *kwnames[] = {
23585 (char *) "self", NULL
23586 };
23587
23588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
15afbcd0
RD
23589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23591 {
23592 PyThreadState* __tstate = wxPyBeginAllowThreads();
23593 (arg1)->SetFocusFromKbd();
23594
23595 wxPyEndAllowThreads(__tstate);
23596 if (PyErr_Occurred()) SWIG_fail;
23597 }
23598 Py_INCREF(Py_None); resultobj = Py_None;
23599 return resultobj;
23600 fail:
23601 return NULL;
23602}
23603
23604
23605static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
23606 PyObject *resultobj;
23607 wxWindow *result;
23608 char *kwnames[] = {
23609 NULL
23610 };
23611
23612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
23613 {
23614 PyThreadState* __tstate = wxPyBeginAllowThreads();
23615 result = (wxWindow *)wxWindow::FindFocus();
23616
23617 wxPyEndAllowThreads(__tstate);
23618 if (PyErr_Occurred()) SWIG_fail;
23619 }
23620 {
23621 resultobj = wxPyMake_wxObject(result);
23622 }
23623 return resultobj;
23624 fail:
23625 return NULL;
23626}
23627
23628
23629static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
23630 PyObject *resultobj;
23631 wxWindow *arg1 = (wxWindow *) 0 ;
23632 bool result;
23633 PyObject * obj0 = 0 ;
23634 char *kwnames[] = {
23635 (char *) "self", NULL
23636 };
23637
23638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
15afbcd0
RD
23639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
23644
23645 wxPyEndAllowThreads(__tstate);
23646 if (PyErr_Occurred()) SWIG_fail;
23647 }
4f89f6a3
RD
23648 {
23649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23650 }
d14a1e28
RD
23651 return resultobj;
23652 fail:
23653 return NULL;
23654}
23655
23656
23657static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
23658 PyObject *resultobj;
23659 wxWindow *arg1 = (wxWindow *) 0 ;
23660 bool result;
23661 PyObject * obj0 = 0 ;
23662 char *kwnames[] = {
23663 (char *) "self", NULL
23664 };
23665
23666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15afbcd0
RD
23667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23669 {
23670 PyThreadState* __tstate = wxPyBeginAllowThreads();
23671 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
23672
23673 wxPyEndAllowThreads(__tstate);
23674 if (PyErr_Occurred()) SWIG_fail;
23675 }
4f89f6a3
RD
23676 {
23677 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23678 }
d14a1e28
RD
23679 return resultobj;
23680 fail:
23681 return NULL;
23682}
23683
23684
23685static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23686 PyObject *resultobj;
23687 wxWindow *arg1 = (wxWindow *) 0 ;
23688 wxWindow *result;
23689 PyObject * obj0 = 0 ;
23690 char *kwnames[] = {
23691 (char *) "self", NULL
23692 };
23693
23694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
15afbcd0
RD
23695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23697 {
23698 PyThreadState* __tstate = wxPyBeginAllowThreads();
23699 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
23700
23701 wxPyEndAllowThreads(__tstate);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 {
23705 resultobj = wxPyMake_wxObject(result);
23706 }
23707 return resultobj;
23708 fail:
23709 return NULL;
23710}
23711
23712
23713static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23714 PyObject *resultobj;
23715 wxWindow *arg1 = (wxWindow *) 0 ;
23716 wxWindow *arg2 = (wxWindow *) 0 ;
23717 wxWindow *result;
23718 PyObject * obj0 = 0 ;
23719 PyObject * obj1 = 0 ;
23720 char *kwnames[] = {
23721 (char *) "self",(char *) "child", NULL
23722 };
23723
23724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23727 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23729 {
23730 PyThreadState* __tstate = wxPyBeginAllowThreads();
23731 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
23732
23733 wxPyEndAllowThreads(__tstate);
23734 if (PyErr_Occurred()) SWIG_fail;
23735 }
23736 {
23737 resultobj = wxPyMake_wxObject(result);
23738 }
23739 return resultobj;
23740 fail:
23741 return NULL;
23742}
23743
23744
23745static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23746 PyObject *resultobj;
23747 wxWindow *arg1 = (wxWindow *) 0 ;
23748 wxWindow *arg2 = (wxWindow *) 0 ;
23749 PyObject * obj0 = 0 ;
23750 PyObject * obj1 = 0 ;
23751 char *kwnames[] = {
23752 (char *) "self",(char *) "win", NULL
23753 };
23754
23755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23760 {
23761 PyThreadState* __tstate = wxPyBeginAllowThreads();
23762 (arg1)->SetTmpDefaultItem(arg2);
23763
23764 wxPyEndAllowThreads(__tstate);
23765 if (PyErr_Occurred()) SWIG_fail;
23766 }
23767 Py_INCREF(Py_None); resultobj = Py_None;
23768 return resultobj;
23769 fail:
23770 return NULL;
23771}
23772
23773
23774static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23775 PyObject *resultobj;
23776 wxWindow *arg1 = (wxWindow *) 0 ;
23777 PyObject *result;
23778 PyObject * obj0 = 0 ;
23779 char *kwnames[] = {
23780 (char *) "self", NULL
23781 };
23782
23783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
23784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23786 {
23787 PyThreadState* __tstate = wxPyBeginAllowThreads();
23788 result = (PyObject *)wxWindow_GetChildren(arg1);
23789
23790 wxPyEndAllowThreads(__tstate);
23791 if (PyErr_Occurred()) SWIG_fail;
23792 }
23793 resultobj = result;
23794 return resultobj;
23795 fail:
23796 return NULL;
23797}
23798
23799
23800static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
23801 PyObject *resultobj;
23802 wxWindow *arg1 = (wxWindow *) 0 ;
23803 wxWindow *result;
23804 PyObject * obj0 = 0 ;
23805 char *kwnames[] = {
23806 (char *) "self", NULL
23807 };
23808
23809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
23810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23812 {
23813 PyThreadState* __tstate = wxPyBeginAllowThreads();
23814 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
23815
23816 wxPyEndAllowThreads(__tstate);
23817 if (PyErr_Occurred()) SWIG_fail;
23818 }
23819 {
23820 resultobj = wxPyMake_wxObject(result);
23821 }
23822 return resultobj;
23823 fail:
23824 return NULL;
23825}
23826
23827
23828static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
23829 PyObject *resultobj;
23830 wxWindow *arg1 = (wxWindow *) 0 ;
23831 wxWindow *result;
23832 PyObject * obj0 = 0 ;
23833 char *kwnames[] = {
23834 (char *) "self", NULL
23835 };
23836
23837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
23838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23840 {
23841 PyThreadState* __tstate = wxPyBeginAllowThreads();
23842 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
23843
23844 wxPyEndAllowThreads(__tstate);
23845 if (PyErr_Occurred()) SWIG_fail;
23846 }
23847 {
23848 resultobj = wxPyMake_wxObject(result);
23849 }
23850 return resultobj;
23851 fail:
23852 return NULL;
23853}
23854
23855
23856static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
23857 PyObject *resultobj;
23858 wxWindow *arg1 = (wxWindow *) 0 ;
23859 bool result;
23860 PyObject * obj0 = 0 ;
23861 char *kwnames[] = {
23862 (char *) "self", NULL
23863 };
23864
23865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
15afbcd0
RD
23866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23868 {
23869 PyThreadState* __tstate = wxPyBeginAllowThreads();
23870 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
23871
23872 wxPyEndAllowThreads(__tstate);
23873 if (PyErr_Occurred()) SWIG_fail;
23874 }
4f89f6a3
RD
23875 {
23876 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23877 }
d14a1e28
RD
23878 return resultobj;
23879 fail:
23880 return NULL;
23881}
23882
23883
23884static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
23885 PyObject *resultobj;
23886 wxWindow *arg1 = (wxWindow *) 0 ;
23887 wxWindow *arg2 = (wxWindow *) 0 ;
23888 bool result;
23889 PyObject * obj0 = 0 ;
23890 PyObject * obj1 = 0 ;
23891 char *kwnames[] = {
23892 (char *) "self",(char *) "newParent", NULL
23893 };
23894
23895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23896 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23897 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23898 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23900 {
23901 PyThreadState* __tstate = wxPyBeginAllowThreads();
23902 result = (bool)(arg1)->Reparent(arg2);
23903
23904 wxPyEndAllowThreads(__tstate);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 }
4f89f6a3
RD
23907 {
23908 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23909 }
d14a1e28
RD
23910 return resultobj;
23911 fail:
23912 return NULL;
23913}
23914
23915
23916static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23917 PyObject *resultobj;
23918 wxWindow *arg1 = (wxWindow *) 0 ;
23919 wxWindow *arg2 = (wxWindow *) 0 ;
23920 PyObject * obj0 = 0 ;
23921 PyObject * obj1 = 0 ;
23922 char *kwnames[] = {
23923 (char *) "self",(char *) "child", NULL
23924 };
23925
23926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23929 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23931 {
23932 PyThreadState* __tstate = wxPyBeginAllowThreads();
23933 (arg1)->AddChild(arg2);
23934
23935 wxPyEndAllowThreads(__tstate);
23936 if (PyErr_Occurred()) SWIG_fail;
23937 }
23938 Py_INCREF(Py_None); resultobj = Py_None;
23939 return resultobj;
23940 fail:
23941 return NULL;
23942}
23943
23944
23945static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23946 PyObject *resultobj;
23947 wxWindow *arg1 = (wxWindow *) 0 ;
23948 wxWindow *arg2 = (wxWindow *) 0 ;
23949 PyObject * obj0 = 0 ;
23950 PyObject * obj1 = 0 ;
23951 char *kwnames[] = {
23952 (char *) "self",(char *) "child", NULL
23953 };
23954
23955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23958 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23960 {
23961 PyThreadState* __tstate = wxPyBeginAllowThreads();
23962 (arg1)->RemoveChild(arg2);
23963
23964 wxPyEndAllowThreads(__tstate);
23965 if (PyErr_Occurred()) SWIG_fail;
23966 }
23967 Py_INCREF(Py_None); resultobj = Py_None;
23968 return resultobj;
23969 fail:
23970 return NULL;
23971}
23972
23973
23974static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
23975 PyObject *resultobj;
23976 wxWindow *arg1 = (wxWindow *) 0 ;
23977 long arg2 ;
23978 wxWindow *result;
23979 PyObject * obj0 = 0 ;
994141e6 23980 PyObject * obj1 = 0 ;
d14a1e28
RD
23981 char *kwnames[] = {
23982 (char *) "self",(char *) "winid", NULL
23983 };
23984
994141e6 23985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
23986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23988 arg2 = (long) SWIG_AsLong(obj1);
23989 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23990 {
23991 PyThreadState* __tstate = wxPyBeginAllowThreads();
23992 result = (wxWindow *)(arg1)->FindWindow(arg2);
23993
23994 wxPyEndAllowThreads(__tstate);
23995 if (PyErr_Occurred()) SWIG_fail;
23996 }
23997 {
23998 resultobj = wxPyMake_wxObject(result);
23999 }
24000 return resultobj;
24001 fail:
24002 return NULL;
24003}
24004
24005
24006static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
24007 PyObject *resultobj;
24008 wxWindow *arg1 = (wxWindow *) 0 ;
24009 wxString *arg2 = 0 ;
24010 wxWindow *result;
e811c8ce 24011 bool temp2 = False ;
d14a1e28
RD
24012 PyObject * obj0 = 0 ;
24013 PyObject * obj1 = 0 ;
24014 char *kwnames[] = {
24015 (char *) "self",(char *) "name", NULL
24016 };
24017
24018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24021 {
24022 arg2 = wxString_in_helper(obj1);
24023 if (arg2 == NULL) SWIG_fail;
e811c8ce 24024 temp2 = True;
d14a1e28
RD
24025 }
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
24029
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
24033 {
24034 resultobj = wxPyMake_wxObject(result);
24035 }
24036 {
24037 if (temp2)
24038 delete arg2;
24039 }
24040 return resultobj;
24041 fail:
24042 {
24043 if (temp2)
24044 delete arg2;
24045 }
24046 return NULL;
24047}
24048
24049
24050static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24051 PyObject *resultobj;
24052 wxWindow *arg1 = (wxWindow *) 0 ;
24053 wxEvtHandler *result;
24054 PyObject * obj0 = 0 ;
24055 char *kwnames[] = {
24056 (char *) "self", NULL
24057 };
24058
24059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
24060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24062 {
24063 PyThreadState* __tstate = wxPyBeginAllowThreads();
24064 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
24065
24066 wxPyEndAllowThreads(__tstate);
24067 if (PyErr_Occurred()) SWIG_fail;
24068 }
24069 {
24070 resultobj = wxPyMake_wxObject(result);
24071 }
24072 return resultobj;
24073 fail:
24074 return NULL;
24075}
24076
24077
24078static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24079 PyObject *resultobj;
24080 wxWindow *arg1 = (wxWindow *) 0 ;
24081 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24082 PyObject * obj0 = 0 ;
24083 PyObject * obj1 = 0 ;
24084 char *kwnames[] = {
24085 (char *) "self",(char *) "handler", NULL
24086 };
24087
24088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24091 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24093 {
24094 PyThreadState* __tstate = wxPyBeginAllowThreads();
24095 (arg1)->SetEventHandler(arg2);
24096
24097 wxPyEndAllowThreads(__tstate);
24098 if (PyErr_Occurred()) SWIG_fail;
24099 }
24100 Py_INCREF(Py_None); resultobj = Py_None;
24101 return resultobj;
24102 fail:
24103 return NULL;
24104}
24105
24106
24107static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24108 PyObject *resultobj;
24109 wxWindow *arg1 = (wxWindow *) 0 ;
24110 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24111 PyObject * obj0 = 0 ;
24112 PyObject * obj1 = 0 ;
24113 char *kwnames[] = {
24114 (char *) "self",(char *) "handler", NULL
24115 };
24116
24117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24120 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24122 {
24123 PyThreadState* __tstate = wxPyBeginAllowThreads();
24124 (arg1)->PushEventHandler(arg2);
24125
24126 wxPyEndAllowThreads(__tstate);
24127 if (PyErr_Occurred()) SWIG_fail;
24128 }
24129 Py_INCREF(Py_None); resultobj = Py_None;
24130 return resultobj;
24131 fail:
24132 return NULL;
24133}
24134
24135
24136static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24137 PyObject *resultobj;
24138 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24139 bool arg2 = (bool) False ;
d14a1e28
RD
24140 wxEvtHandler *result;
24141 PyObject * obj0 = 0 ;
24142 PyObject * obj1 = 0 ;
24143 char *kwnames[] = {
24144 (char *) "self",(char *) "deleteHandler", NULL
24145 };
24146
24147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24150 if (obj1) {
15afbcd0
RD
24151 arg2 = (bool) SWIG_AsBool(obj1);
24152 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24153 }
24154 {
24155 PyThreadState* __tstate = wxPyBeginAllowThreads();
24156 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
24157
24158 wxPyEndAllowThreads(__tstate);
24159 if (PyErr_Occurred()) SWIG_fail;
24160 }
24161 {
24162 resultobj = wxPyMake_wxObject(result);
24163 }
24164 return resultobj;
24165 fail:
24166 return NULL;
24167}
24168
24169
24170static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
24171 PyObject *resultobj;
24172 wxWindow *arg1 = (wxWindow *) 0 ;
24173 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24174 bool result;
24175 PyObject * obj0 = 0 ;
24176 PyObject * obj1 = 0 ;
24177 char *kwnames[] = {
24178 (char *) "self",(char *) "handler", NULL
24179 };
24180
24181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24184 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24186 {
24187 PyThreadState* __tstate = wxPyBeginAllowThreads();
24188 result = (bool)(arg1)->RemoveEventHandler(arg2);
24189
24190 wxPyEndAllowThreads(__tstate);
24191 if (PyErr_Occurred()) SWIG_fail;
24192 }
4f89f6a3
RD
24193 {
24194 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24195 }
d14a1e28
RD
24196 return resultobj;
24197 fail:
24198 return NULL;
24199}
24200
24201
24202static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24203 PyObject *resultobj;
24204 wxWindow *arg1 = (wxWindow *) 0 ;
24205 wxValidator *arg2 = 0 ;
24206 PyObject * obj0 = 0 ;
24207 PyObject * obj1 = 0 ;
24208 char *kwnames[] = {
24209 (char *) "self",(char *) "validator", NULL
24210 };
24211
24212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24215 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
24216 SWIG_POINTER_EXCEPTION | 0)) == -1)
24217 SWIG_fail;
d14a1e28 24218 if (arg2 == NULL) {
15afbcd0
RD
24219 PyErr_SetString(PyExc_TypeError,"null reference");
24220 SWIG_fail;
d14a1e28
RD
24221 }
24222 {
24223 PyThreadState* __tstate = wxPyBeginAllowThreads();
24224 (arg1)->SetValidator((wxValidator const &)*arg2);
24225
24226 wxPyEndAllowThreads(__tstate);
24227 if (PyErr_Occurred()) SWIG_fail;
24228 }
24229 Py_INCREF(Py_None); resultobj = Py_None;
24230 return resultobj;
24231 fail:
24232 return NULL;
24233}
24234
24235
24236static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
24237 PyObject *resultobj;
24238 wxWindow *arg1 = (wxWindow *) 0 ;
24239 wxValidator *result;
24240 PyObject * obj0 = 0 ;
24241 char *kwnames[] = {
24242 (char *) "self", NULL
24243 };
24244
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
15afbcd0
RD
24246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24248 {
24249 PyThreadState* __tstate = wxPyBeginAllowThreads();
24250 result = (wxValidator *)(arg1)->GetValidator();
24251
24252 wxPyEndAllowThreads(__tstate);
24253 if (PyErr_Occurred()) SWIG_fail;
24254 }
24255 {
24256 resultobj = wxPyMake_wxObject(result);
24257 }
24258 return resultobj;
24259 fail:
24260 return NULL;
24261}
24262
24263
24264static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
24265 PyObject *resultobj;
24266 wxWindow *arg1 = (wxWindow *) 0 ;
24267 wxAcceleratorTable *arg2 = 0 ;
24268 PyObject * obj0 = 0 ;
24269 PyObject * obj1 = 0 ;
24270 char *kwnames[] = {
24271 (char *) "self",(char *) "accel", NULL
24272 };
24273
24274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24277 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
24278 SWIG_POINTER_EXCEPTION | 0)) == -1)
24279 SWIG_fail;
d14a1e28 24280 if (arg2 == NULL) {
15afbcd0
RD
24281 PyErr_SetString(PyExc_TypeError,"null reference");
24282 SWIG_fail;
d14a1e28
RD
24283 }
24284 {
24285 PyThreadState* __tstate = wxPyBeginAllowThreads();
24286 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
24287
24288 wxPyEndAllowThreads(__tstate);
24289 if (PyErr_Occurred()) SWIG_fail;
24290 }
24291 Py_INCREF(Py_None); resultobj = Py_None;
24292 return resultobj;
24293 fail:
24294 return NULL;
24295}
24296
24297
24298static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
24299 PyObject *resultobj;
24300 wxWindow *arg1 = (wxWindow *) 0 ;
24301 wxAcceleratorTable *result;
24302 PyObject * obj0 = 0 ;
24303 char *kwnames[] = {
24304 (char *) "self", NULL
24305 };
24306
24307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
15afbcd0
RD
24308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24310 {
24311 PyThreadState* __tstate = wxPyBeginAllowThreads();
24312 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
24313
24314 wxPyEndAllowThreads(__tstate);
24315 if (PyErr_Occurred()) SWIG_fail;
24316 }
15afbcd0 24317 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
24318 return resultobj;
24319 fail:
24320 return NULL;
24321}
24322
24323
24324static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
24325 PyObject *resultobj;
24326 wxWindow *arg1 = (wxWindow *) 0 ;
24327 int arg2 ;
24328 int arg3 ;
24329 int arg4 ;
24330 bool result;
24331 PyObject * obj0 = 0 ;
994141e6
RD
24332 PyObject * obj1 = 0 ;
24333 PyObject * obj2 = 0 ;
24334 PyObject * obj3 = 0 ;
d14a1e28
RD
24335 char *kwnames[] = {
24336 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24337 };
24338
994141e6 24339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
24340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24342 arg2 = (int) SWIG_AsInt(obj1);
24343 if (PyErr_Occurred()) SWIG_fail;
24344 arg3 = (int) SWIG_AsInt(obj2);
24345 if (PyErr_Occurred()) SWIG_fail;
24346 arg4 = (int) SWIG_AsInt(obj3);
24347 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24348 {
24349 PyThreadState* __tstate = wxPyBeginAllowThreads();
24350 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
24351
24352 wxPyEndAllowThreads(__tstate);
24353 if (PyErr_Occurred()) SWIG_fail;
24354 }
4f89f6a3
RD
24355 {
24356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24357 }
d14a1e28
RD
24358 return resultobj;
24359 fail:
24360 return NULL;
24361}
24362
24363
24364static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
24365 PyObject *resultobj;
24366 wxWindow *arg1 = (wxWindow *) 0 ;
24367 int arg2 ;
24368 bool result;
24369 PyObject * obj0 = 0 ;
994141e6 24370 PyObject * obj1 = 0 ;
d14a1e28
RD
24371 char *kwnames[] = {
24372 (char *) "self",(char *) "hotkeyId", NULL
24373 };
24374
994141e6 24375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24376 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24377 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24378 arg2 = (int) SWIG_AsInt(obj1);
24379 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24380 {
24381 PyThreadState* __tstate = wxPyBeginAllowThreads();
24382 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
24383
24384 wxPyEndAllowThreads(__tstate);
24385 if (PyErr_Occurred()) SWIG_fail;
24386 }
4f89f6a3
RD
24387 {
24388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24389 }
d14a1e28
RD
24390 return resultobj;
24391 fail:
24392 return NULL;
24393}
24394
24395
24396static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
24397 PyObject *resultobj;
24398 wxWindow *arg1 = (wxWindow *) 0 ;
24399 wxPoint *arg2 = 0 ;
24400 wxPoint result;
24401 wxPoint temp2 ;
24402 PyObject * obj0 = 0 ;
24403 PyObject * obj1 = 0 ;
24404 char *kwnames[] = {
24405 (char *) "self",(char *) "pt", NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24409 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24411 {
24412 arg2 = &temp2;
24413 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24414 }
24415 {
24416 PyThreadState* __tstate = wxPyBeginAllowThreads();
24417 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
24418
24419 wxPyEndAllowThreads(__tstate);
24420 if (PyErr_Occurred()) SWIG_fail;
24421 }
24422 {
24423 wxPoint * resultptr;
24424 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 24425 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24426 }
24427 return resultobj;
24428 fail:
24429 return NULL;
24430}
24431
24432
24433static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
24434 PyObject *resultobj;
24435 wxWindow *arg1 = (wxWindow *) 0 ;
24436 wxSize *arg2 = 0 ;
24437 wxSize result;
24438 wxSize temp2 ;
24439 PyObject * obj0 = 0 ;
24440 PyObject * obj1 = 0 ;
24441 char *kwnames[] = {
24442 (char *) "self",(char *) "sz", NULL
24443 };
24444
24445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24448 {
24449 arg2 = &temp2;
24450 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24451 }
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 {
24460 wxSize * resultptr;
24461 resultptr = new wxSize((wxSize &) result);
15afbcd0 24462 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24463 }
24464 return resultobj;
24465 fail:
24466 return NULL;
24467}
24468
24469
24470static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
24471 PyObject *resultobj;
24472 wxWindow *arg1 = (wxWindow *) 0 ;
24473 wxPoint *arg2 = 0 ;
24474 wxPoint result;
24475 wxPoint temp2 ;
24476 PyObject * obj0 = 0 ;
24477 PyObject * obj1 = 0 ;
24478 char *kwnames[] = {
24479 (char *) "self",(char *) "pt", NULL
24480 };
24481
24482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24485 {
24486 arg2 = &temp2;
24487 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24488 }
24489 {
24490 PyThreadState* __tstate = wxPyBeginAllowThreads();
24491 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
24492
24493 wxPyEndAllowThreads(__tstate);
24494 if (PyErr_Occurred()) SWIG_fail;
24495 }
24496 {
24497 wxPoint * resultptr;
24498 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 24499 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24500 }
24501 return resultobj;
24502 fail:
24503 return NULL;
24504}
24505
24506
24507static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
24508 PyObject *resultobj;
24509 wxWindow *arg1 = (wxWindow *) 0 ;
24510 wxSize *arg2 = 0 ;
24511 wxSize result;
24512 wxSize temp2 ;
24513 PyObject * obj0 = 0 ;
24514 PyObject * obj1 = 0 ;
24515 char *kwnames[] = {
24516 (char *) "self",(char *) "sz", NULL
24517 };
24518
24519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24522 {
24523 arg2 = &temp2;
24524 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24525 }
24526 {
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
24529
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
24533 {
24534 wxSize * resultptr;
24535 resultptr = new wxSize((wxSize &) result);
15afbcd0 24536 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24537 }
24538 return resultobj;
24539 fail:
24540 return NULL;
24541}
24542
24543
24544static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24545 PyObject *resultobj;
24546 wxWindow *arg1 = (wxWindow *) 0 ;
24547 wxPoint *arg2 = 0 ;
24548 wxPoint result;
24549 wxPoint temp2 ;
24550 PyObject * obj0 = 0 ;
24551 PyObject * obj1 = 0 ;
24552 char *kwnames[] = {
24553 (char *) "self",(char *) "pt", NULL
24554 };
24555
24556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24559 {
24560 arg2 = &temp2;
24561 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24562 }
24563 {
24564 PyThreadState* __tstate = wxPyBeginAllowThreads();
24565 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
24566
24567 wxPyEndAllowThreads(__tstate);
24568 if (PyErr_Occurred()) SWIG_fail;
24569 }
24570 {
24571 wxPoint * resultptr;
24572 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 24573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24574 }
24575 return resultobj;
24576 fail:
24577 return NULL;
24578}
24579
24580
24581static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj;
24583 wxWindow *arg1 = (wxWindow *) 0 ;
24584 wxSize *arg2 = 0 ;
24585 wxSize result;
24586 wxSize temp2 ;
24587 PyObject * obj0 = 0 ;
24588 PyObject * obj1 = 0 ;
24589 char *kwnames[] = {
24590 (char *) "self",(char *) "sz", NULL
24591 };
24592
24593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24596 {
24597 arg2 = &temp2;
24598 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24599 }
24600 {
24601 PyThreadState* __tstate = wxPyBeginAllowThreads();
24602 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
24603
24604 wxPyEndAllowThreads(__tstate);
24605 if (PyErr_Occurred()) SWIG_fail;
24606 }
24607 {
24608 wxSize * resultptr;
24609 resultptr = new wxSize((wxSize &) result);
15afbcd0 24610 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24611 }
24612 return resultobj;
24613 fail:
24614 return NULL;
24615}
24616
24617
24618static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
24619 PyObject *resultobj;
24620 wxWindow *arg1 = (wxWindow *) 0 ;
24621 int arg2 ;
24622 int arg3 ;
24623 PyObject * obj0 = 0 ;
994141e6
RD
24624 PyObject * obj1 = 0 ;
24625 PyObject * obj2 = 0 ;
d14a1e28
RD
24626 char *kwnames[] = {
24627 (char *) "self",(char *) "x",(char *) "y", NULL
24628 };
24629
994141e6 24630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24633 arg2 = (int) SWIG_AsInt(obj1);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 arg3 = (int) SWIG_AsInt(obj2);
24636 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24637 {
24638 PyThreadState* __tstate = wxPyBeginAllowThreads();
24639 (arg1)->WarpPointer(arg2,arg3);
24640
24641 wxPyEndAllowThreads(__tstate);
24642 if (PyErr_Occurred()) SWIG_fail;
24643 }
24644 Py_INCREF(Py_None); resultobj = Py_None;
24645 return resultobj;
24646 fail:
24647 return NULL;
24648}
24649
24650
24651static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
24652 PyObject *resultobj;
24653 wxWindow *arg1 = (wxWindow *) 0 ;
24654 PyObject * obj0 = 0 ;
24655 char *kwnames[] = {
24656 (char *) "self", NULL
24657 };
24658
24659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
24660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24662 {
24663 PyThreadState* __tstate = wxPyBeginAllowThreads();
24664 (arg1)->CaptureMouse();
24665
24666 wxPyEndAllowThreads(__tstate);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 Py_INCREF(Py_None); resultobj = Py_None;
24670 return resultobj;
24671 fail:
24672 return NULL;
24673}
24674
24675
24676static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
24677 PyObject *resultobj;
24678 wxWindow *arg1 = (wxWindow *) 0 ;
24679 PyObject * obj0 = 0 ;
24680 char *kwnames[] = {
24681 (char *) "self", NULL
24682 };
24683
24684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
15afbcd0
RD
24685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 (arg1)->ReleaseMouse();
24690
24691 wxPyEndAllowThreads(__tstate);
24692 if (PyErr_Occurred()) SWIG_fail;
24693 }
24694 Py_INCREF(Py_None); resultobj = Py_None;
24695 return resultobj;
24696 fail:
24697 return NULL;
24698}
24699
24700
24701static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
24702 PyObject *resultobj;
24703 wxWindow *result;
24704 char *kwnames[] = {
24705 NULL
24706 };
24707
24708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
24709 {
24710 PyThreadState* __tstate = wxPyBeginAllowThreads();
24711 result = (wxWindow *)wxWindow::GetCapture();
24712
24713 wxPyEndAllowThreads(__tstate);
24714 if (PyErr_Occurred()) SWIG_fail;
24715 }
24716 {
24717 resultobj = wxPyMake_wxObject(result);
24718 }
24719 return resultobj;
24720 fail:
24721 return NULL;
24722}
24723
24724
24725static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
24726 PyObject *resultobj;
24727 wxWindow *arg1 = (wxWindow *) 0 ;
24728 bool result;
24729 PyObject * obj0 = 0 ;
24730 char *kwnames[] = {
24731 (char *) "self", NULL
24732 };
24733
24734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
15afbcd0
RD
24735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24737 {
24738 PyThreadState* __tstate = wxPyBeginAllowThreads();
24739 result = (bool)((wxWindow const *)arg1)->HasCapture();
24740
24741 wxPyEndAllowThreads(__tstate);
24742 if (PyErr_Occurred()) SWIG_fail;
24743 }
4f89f6a3
RD
24744 {
24745 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24746 }
d14a1e28
RD
24747 return resultobj;
24748 fail:
24749 return NULL;
24750}
24751
24752
24753static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
24754 PyObject *resultobj;
24755 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24756 bool arg2 = (bool) True ;
d14a1e28
RD
24757 wxRect *arg3 = (wxRect *) NULL ;
24758 PyObject * obj0 = 0 ;
24759 PyObject * obj1 = 0 ;
24760 PyObject * obj2 = 0 ;
24761 char *kwnames[] = {
24762 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24763 };
24764
24765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
24766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24768 if (obj1) {
15afbcd0
RD
24769 arg2 = (bool) SWIG_AsBool(obj1);
24770 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24771 }
24772 if (obj2) {
15afbcd0
RD
24773 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
24774 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24775 }
24776 {
24777 PyThreadState* __tstate = wxPyBeginAllowThreads();
24778 (arg1)->Refresh(arg2,(wxRect const *)arg3);
24779
24780 wxPyEndAllowThreads(__tstate);
24781 if (PyErr_Occurred()) SWIG_fail;
24782 }
24783 Py_INCREF(Py_None); resultobj = Py_None;
24784 return resultobj;
24785 fail:
24786 return NULL;
24787}
24788
24789
24790static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
24791 PyObject *resultobj;
24792 wxWindow *arg1 = (wxWindow *) 0 ;
24793 wxRect *arg2 = 0 ;
24794 wxRect temp2 ;
24795 PyObject * obj0 = 0 ;
24796 PyObject * obj1 = 0 ;
24797 char *kwnames[] = {
24798 (char *) "self",(char *) "rect", NULL
24799 };
24800
24801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24804 {
24805 arg2 = &temp2;
24806 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
24807 }
24808 {
24809 PyThreadState* __tstate = wxPyBeginAllowThreads();
24810 (arg1)->RefreshRect((wxRect const &)*arg2);
24811
24812 wxPyEndAllowThreads(__tstate);
24813 if (PyErr_Occurred()) SWIG_fail;
24814 }
24815 Py_INCREF(Py_None); resultobj = Py_None;
24816 return resultobj;
24817 fail:
24818 return NULL;
24819}
24820
24821
24822static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
24823 PyObject *resultobj;
24824 wxWindow *arg1 = (wxWindow *) 0 ;
24825 PyObject * obj0 = 0 ;
24826 char *kwnames[] = {
24827 (char *) "self", NULL
24828 };
24829
24830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
15afbcd0
RD
24831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24833 {
24834 PyThreadState* __tstate = wxPyBeginAllowThreads();
24835 (arg1)->Update();
24836
24837 wxPyEndAllowThreads(__tstate);
24838 if (PyErr_Occurred()) SWIG_fail;
24839 }
24840 Py_INCREF(Py_None); resultobj = Py_None;
24841 return resultobj;
24842 fail:
24843 return NULL;
24844}
24845
24846
24847static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
24848 PyObject *resultobj;
24849 wxWindow *arg1 = (wxWindow *) 0 ;
24850 PyObject * obj0 = 0 ;
24851 char *kwnames[] = {
24852 (char *) "self", NULL
24853 };
24854
24855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
15afbcd0
RD
24856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24858 {
24859 PyThreadState* __tstate = wxPyBeginAllowThreads();
24860 (arg1)->ClearBackground();
24861
24862 wxPyEndAllowThreads(__tstate);
24863 if (PyErr_Occurred()) SWIG_fail;
24864 }
24865 Py_INCREF(Py_None); resultobj = Py_None;
24866 return resultobj;
24867 fail:
24868 return NULL;
24869}
24870
24871
24872static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
24873 PyObject *resultobj;
24874 wxWindow *arg1 = (wxWindow *) 0 ;
24875 PyObject * obj0 = 0 ;
24876 char *kwnames[] = {
24877 (char *) "self", NULL
24878 };
24879
24880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
15afbcd0
RD
24881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24883 {
24884 PyThreadState* __tstate = wxPyBeginAllowThreads();
24885 (arg1)->Freeze();
24886
24887 wxPyEndAllowThreads(__tstate);
24888 if (PyErr_Occurred()) SWIG_fail;
24889 }
24890 Py_INCREF(Py_None); resultobj = Py_None;
24891 return resultobj;
24892 fail:
24893 return NULL;
24894}
24895
24896
24897static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
24898 PyObject *resultobj;
24899 wxWindow *arg1 = (wxWindow *) 0 ;
24900 PyObject * obj0 = 0 ;
24901 char *kwnames[] = {
24902 (char *) "self", NULL
24903 };
24904
24905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
15afbcd0
RD
24906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24908 {
24909 PyThreadState* __tstate = wxPyBeginAllowThreads();
24910 (arg1)->Thaw();
24911
24912 wxPyEndAllowThreads(__tstate);
24913 if (PyErr_Occurred()) SWIG_fail;
24914 }
24915 Py_INCREF(Py_None); resultobj = Py_None;
24916 return resultobj;
24917 fail:
24918 return NULL;
24919}
24920
24921
24922static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
24923 PyObject *resultobj;
24924 wxWindow *arg1 = (wxWindow *) 0 ;
24925 wxDC *arg2 = 0 ;
24926 PyObject * obj0 = 0 ;
24927 PyObject * obj1 = 0 ;
24928 char *kwnames[] = {
24929 (char *) "self",(char *) "dc", NULL
24930 };
24931
24932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
24933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24935 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24936 SWIG_POINTER_EXCEPTION | 0)) == -1)
24937 SWIG_fail;
d14a1e28 24938 if (arg2 == NULL) {
15afbcd0
RD
24939 PyErr_SetString(PyExc_TypeError,"null reference");
24940 SWIG_fail;
d14a1e28
RD
24941 }
24942 {
24943 PyThreadState* __tstate = wxPyBeginAllowThreads();
24944 (arg1)->PrepareDC(*arg2);
24945
24946 wxPyEndAllowThreads(__tstate);
24947 if (PyErr_Occurred()) SWIG_fail;
24948 }
24949 Py_INCREF(Py_None); resultobj = Py_None;
24950 return resultobj;
24951 fail:
24952 return NULL;
24953}
24954
24955
24956static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
24957 PyObject *resultobj;
24958 wxWindow *arg1 = (wxWindow *) 0 ;
24959 wxRegion *result;
24960 PyObject * obj0 = 0 ;
24961 char *kwnames[] = {
24962 (char *) "self", NULL
24963 };
24964
24965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
15afbcd0
RD
24966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24968 {
24969 PyThreadState* __tstate = wxPyBeginAllowThreads();
24970 {
24971 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
24972 result = (wxRegion *) &_result_ref;
24973 }
24974
24975 wxPyEndAllowThreads(__tstate);
24976 if (PyErr_Occurred()) SWIG_fail;
24977 }
15afbcd0 24978 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
24979 return resultobj;
24980 fail:
24981 return NULL;
24982}
24983
24984
24985static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
24986 PyObject *resultobj;
24987 wxWindow *arg1 = (wxWindow *) 0 ;
24988 wxRect result;
24989 PyObject * obj0 = 0 ;
24990 char *kwnames[] = {
24991 (char *) "self", NULL
24992 };
24993
24994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
15afbcd0
RD
24995 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24996 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24997 {
24998 PyThreadState* __tstate = wxPyBeginAllowThreads();
24999 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
25000
25001 wxPyEndAllowThreads(__tstate);
25002 if (PyErr_Occurred()) SWIG_fail;
25003 }
25004 {
25005 wxRect * resultptr;
25006 resultptr = new wxRect((wxRect &) result);
15afbcd0 25007 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
25008 }
25009 return resultobj;
25010 fail:
25011 return NULL;
25012}
25013
25014
25015static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
25016 PyObject *resultobj;
25017 wxWindow *arg1 = (wxWindow *) 0 ;
25018 int arg2 ;
25019 int arg3 ;
25020 int arg4 = (int) 1 ;
25021 int arg5 = (int) 1 ;
25022 bool result;
25023 PyObject * obj0 = 0 ;
994141e6
RD
25024 PyObject * obj1 = 0 ;
25025 PyObject * obj2 = 0 ;
25026 PyObject * obj3 = 0 ;
25027 PyObject * obj4 = 0 ;
d14a1e28
RD
25028 char *kwnames[] = {
25029 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25030 };
25031
994141e6 25032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
25033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25035 arg2 = (int) SWIG_AsInt(obj1);
25036 if (PyErr_Occurred()) SWIG_fail;
25037 arg3 = (int) SWIG_AsInt(obj2);
25038 if (PyErr_Occurred()) SWIG_fail;
994141e6 25039 if (obj3) {
15afbcd0
RD
25040 arg4 = (int) SWIG_AsInt(obj3);
25041 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
25042 }
25043 if (obj4) {
15afbcd0
RD
25044 arg5 = (int) SWIG_AsInt(obj4);
25045 if (PyErr_Occurred()) SWIG_fail;
994141e6 25046 }
d14a1e28
RD
25047 {
25048 PyThreadState* __tstate = wxPyBeginAllowThreads();
25049 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
25050
25051 wxPyEndAllowThreads(__tstate);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
4f89f6a3
RD
25054 {
25055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25056 }
d14a1e28
RD
25057 return resultobj;
25058 fail:
25059 return NULL;
25060}
25061
25062
25063static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
25064 PyObject *resultobj;
25065 wxWindow *arg1 = (wxWindow *) 0 ;
25066 wxPoint *arg2 = 0 ;
25067 bool result;
25068 wxPoint temp2 ;
25069 PyObject * obj0 = 0 ;
25070 PyObject * obj1 = 0 ;
25071 char *kwnames[] = {
25072 (char *) "self",(char *) "pt", NULL
25073 };
25074
25075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25078 {
25079 arg2 = &temp2;
25080 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25081 }
25082 {
25083 PyThreadState* __tstate = wxPyBeginAllowThreads();
25084 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
25085
25086 wxPyEndAllowThreads(__tstate);
25087 if (PyErr_Occurred()) SWIG_fail;
25088 }
4f89f6a3
RD
25089 {
25090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25091 }
d14a1e28
RD
25092 return resultobj;
25093 fail:
25094 return NULL;
25095}
25096
25097
4276dc52 25098static PyObject *_wrap_Window_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25099 PyObject *resultobj;
25100 wxWindow *arg1 = (wxWindow *) 0 ;
25101 wxRect *arg2 = 0 ;
25102 bool result;
25103 wxRect temp2 ;
25104 PyObject * obj0 = 0 ;
25105 PyObject * obj1 = 0 ;
25106 char *kwnames[] = {
25107 (char *) "self",(char *) "rect", NULL
25108 };
25109
4276dc52 25110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25111 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25112 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25113 {
25114 arg2 = &temp2;
25115 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25116 }
25117 {
25118 PyThreadState* __tstate = wxPyBeginAllowThreads();
25119 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
25120
25121 wxPyEndAllowThreads(__tstate);
25122 if (PyErr_Occurred()) SWIG_fail;
25123 }
4f89f6a3
RD
25124 {
25125 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25126 }
d14a1e28
RD
25127 return resultobj;
25128 fail:
25129 return NULL;
25130}
25131
25132
25133static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25134 PyObject *resultobj;
25135 wxWindow *arg1 = (wxWindow *) 0 ;
25136 wxColour *arg2 = 0 ;
25137 bool result;
25138 wxColour temp2 ;
25139 PyObject * obj0 = 0 ;
25140 PyObject * obj1 = 0 ;
25141 char *kwnames[] = {
25142 (char *) "self",(char *) "colour", NULL
25143 };
25144
25145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25148 {
25149 arg2 = &temp2;
25150 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25151 }
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25155
25156 wxPyEndAllowThreads(__tstate);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 }
4f89f6a3
RD
25159 {
25160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25161 }
d14a1e28
RD
25162 return resultobj;
25163 fail:
25164 return NULL;
25165}
25166
25167
25168static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25169 PyObject *resultobj;
25170 wxWindow *arg1 = (wxWindow *) 0 ;
25171 wxColour *arg2 = 0 ;
25172 bool result;
25173 wxColour temp2 ;
25174 PyObject * obj0 = 0 ;
25175 PyObject * obj1 = 0 ;
25176 char *kwnames[] = {
25177 (char *) "self",(char *) "colour", NULL
25178 };
25179
25180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25183 {
25184 arg2 = &temp2;
25185 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25186 }
25187 {
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
25190
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
4f89f6a3
RD
25194 {
25195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25196 }
d14a1e28
RD
25197 return resultobj;
25198 fail:
25199 return NULL;
25200}
25201
25202
25203static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25204 PyObject *resultobj;
25205 wxWindow *arg1 = (wxWindow *) 0 ;
25206 wxColour result;
25207 PyObject * obj0 = 0 ;
25208 char *kwnames[] = {
25209 (char *) "self", NULL
25210 };
25211
25212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
25213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25215 {
25216 PyThreadState* __tstate = wxPyBeginAllowThreads();
25217 result = ((wxWindow const *)arg1)->GetBackgroundColour();
25218
25219 wxPyEndAllowThreads(__tstate);
25220 if (PyErr_Occurred()) SWIG_fail;
25221 }
25222 {
25223 wxColour * resultptr;
25224 resultptr = new wxColour((wxColour &) result);
15afbcd0 25225 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25226 }
25227 return resultobj;
25228 fail:
25229 return NULL;
25230}
25231
25232
25233static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
25234 PyObject *resultobj;
25235 wxWindow *arg1 = (wxWindow *) 0 ;
25236 wxColour result;
25237 PyObject * obj0 = 0 ;
25238 char *kwnames[] = {
25239 (char *) "self", NULL
25240 };
25241
25242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
15afbcd0
RD
25243 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25244 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25245 {
25246 PyThreadState* __tstate = wxPyBeginAllowThreads();
25247 result = ((wxWindow const *)arg1)->GetForegroundColour();
25248
25249 wxPyEndAllowThreads(__tstate);
25250 if (PyErr_Occurred()) SWIG_fail;
25251 }
25252 {
25253 wxColour * resultptr;
25254 resultptr = new wxColour((wxColour &) result);
15afbcd0 25255 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
25256 }
25257 return resultobj;
25258 fail:
25259 return NULL;
25260}
25261
25262
25263static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25264 PyObject *resultobj;
25265 wxWindow *arg1 = (wxWindow *) 0 ;
25266 wxCursor *arg2 = 0 ;
25267 bool result;
25268 PyObject * obj0 = 0 ;
25269 PyObject * obj1 = 0 ;
25270 char *kwnames[] = {
25271 (char *) "self",(char *) "cursor", NULL
25272 };
25273
25274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25277 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
25278 SWIG_POINTER_EXCEPTION | 0)) == -1)
25279 SWIG_fail;
d14a1e28 25280 if (arg2 == NULL) {
15afbcd0
RD
25281 PyErr_SetString(PyExc_TypeError,"null reference");
25282 SWIG_fail;
d14a1e28
RD
25283 }
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
25287
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
4f89f6a3
RD
25291 {
25292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25293 }
d14a1e28
RD
25294 return resultobj;
25295 fail:
25296 return NULL;
25297}
25298
25299
25300static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
25301 PyObject *resultobj;
25302 wxWindow *arg1 = (wxWindow *) 0 ;
25303 wxCursor *result;
25304 PyObject * obj0 = 0 ;
25305 char *kwnames[] = {
25306 (char *) "self", NULL
25307 };
25308
25309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
15afbcd0
RD
25310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25312 {
25313 PyThreadState* __tstate = wxPyBeginAllowThreads();
25314 {
25315 wxCursor &_result_ref = (arg1)->GetCursor();
25316 result = (wxCursor *) &_result_ref;
25317 }
25318
25319 wxPyEndAllowThreads(__tstate);
25320 if (PyErr_Occurred()) SWIG_fail;
25321 }
4276dc52
RD
25322 {
25323 wxCursor* resultptr = new wxCursor(*result);
25324 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
25325 }
d14a1e28
RD
25326 return resultobj;
25327 fail:
25328 return NULL;
25329}
25330
25331
25332static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25333 PyObject *resultobj;
25334 wxWindow *arg1 = (wxWindow *) 0 ;
25335 wxFont *arg2 = 0 ;
25336 bool result;
25337 PyObject * obj0 = 0 ;
25338 PyObject * obj1 = 0 ;
25339 char *kwnames[] = {
25340 (char *) "self",(char *) "font", NULL
25341 };
25342
25343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25344 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25345 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25346 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
25347 SWIG_POINTER_EXCEPTION | 0)) == -1)
25348 SWIG_fail;
d14a1e28 25349 if (arg2 == NULL) {
15afbcd0
RD
25350 PyErr_SetString(PyExc_TypeError,"null reference");
25351 SWIG_fail;
d14a1e28
RD
25352 }
25353 {
25354 PyThreadState* __tstate = wxPyBeginAllowThreads();
25355 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
25356
25357 wxPyEndAllowThreads(__tstate);
25358 if (PyErr_Occurred()) SWIG_fail;
25359 }
4f89f6a3
RD
25360 {
25361 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25362 }
d14a1e28
RD
25363 return resultobj;
25364 fail:
25365 return NULL;
25366}
25367
25368
25369static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25370 PyObject *resultobj;
25371 wxWindow *arg1 = (wxWindow *) 0 ;
25372 wxFont *result;
25373 PyObject * obj0 = 0 ;
25374 char *kwnames[] = {
25375 (char *) "self", NULL
25376 };
25377
25378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
15afbcd0
RD
25379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25381 {
25382 PyThreadState* __tstate = wxPyBeginAllowThreads();
25383 {
25384 wxFont &_result_ref = (arg1)->GetFont();
25385 result = (wxFont *) &_result_ref;
25386 }
25387
25388 wxPyEndAllowThreads(__tstate);
25389 if (PyErr_Occurred()) SWIG_fail;
25390 }
4276dc52
RD
25391 {
25392 wxFont* resultptr = new wxFont(*result);
25393 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
25394 }
d14a1e28
RD
25395 return resultobj;
25396 fail:
25397 return NULL;
25398}
25399
25400
25401static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
25402 PyObject *resultobj;
25403 wxWindow *arg1 = (wxWindow *) 0 ;
25404 wxCaret *arg2 = (wxCaret *) 0 ;
25405 PyObject * obj0 = 0 ;
25406 PyObject * obj1 = 0 ;
25407 char *kwnames[] = {
25408 (char *) "self",(char *) "caret", NULL
25409 };
25410
25411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
25415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25416 {
25417 PyThreadState* __tstate = wxPyBeginAllowThreads();
25418 (arg1)->SetCaret(arg2);
25419
25420 wxPyEndAllowThreads(__tstate);
25421 if (PyErr_Occurred()) SWIG_fail;
25422 }
25423 Py_INCREF(Py_None); resultobj = Py_None;
25424 return resultobj;
25425 fail:
25426 return NULL;
25427}
25428
25429
25430static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
25431 PyObject *resultobj;
25432 wxWindow *arg1 = (wxWindow *) 0 ;
25433 wxCaret *result;
25434 PyObject * obj0 = 0 ;
25435 char *kwnames[] = {
25436 (char *) "self", NULL
25437 };
25438
25439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
15afbcd0
RD
25440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25442 {
25443 PyThreadState* __tstate = wxPyBeginAllowThreads();
25444 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
25445
25446 wxPyEndAllowThreads(__tstate);
25447 if (PyErr_Occurred()) SWIG_fail;
25448 }
15afbcd0 25449 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
25450 return resultobj;
25451 fail:
25452 return NULL;
25453}
25454
25455
25456static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
25457 PyObject *resultobj;
25458 wxWindow *arg1 = (wxWindow *) 0 ;
25459 int result;
25460 PyObject * obj0 = 0 ;
25461 char *kwnames[] = {
25462 (char *) "self", NULL
25463 };
25464
25465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
15afbcd0
RD
25466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25468 {
25469 PyThreadState* __tstate = wxPyBeginAllowThreads();
25470 result = (int)((wxWindow const *)arg1)->GetCharHeight();
25471
25472 wxPyEndAllowThreads(__tstate);
25473 if (PyErr_Occurred()) SWIG_fail;
25474 }
15afbcd0 25475 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25476 return resultobj;
25477 fail:
25478 return NULL;
25479}
25480
25481
25482static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
25483 PyObject *resultobj;
25484 wxWindow *arg1 = (wxWindow *) 0 ;
25485 int result;
25486 PyObject * obj0 = 0 ;
25487 char *kwnames[] = {
25488 (char *) "self", NULL
25489 };
25490
25491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
15afbcd0
RD
25492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25494 {
25495 PyThreadState* __tstate = wxPyBeginAllowThreads();
25496 result = (int)((wxWindow const *)arg1)->GetCharWidth();
25497
25498 wxPyEndAllowThreads(__tstate);
25499 if (PyErr_Occurred()) SWIG_fail;
25500 }
15afbcd0 25501 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25502 return resultobj;
25503 fail:
25504 return NULL;
25505}
25506
25507
25508static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
25509 PyObject *resultobj;
25510 wxWindow *arg1 = (wxWindow *) 0 ;
25511 wxString *arg2 = 0 ;
25512 int *arg3 = (int *) 0 ;
25513 int *arg4 = (int *) 0 ;
e811c8ce 25514 bool temp2 = False ;
d14a1e28
RD
25515 int temp3 ;
25516 int temp4 ;
25517 PyObject * obj0 = 0 ;
25518 PyObject * obj1 = 0 ;
25519 char *kwnames[] = {
25520 (char *) "self",(char *) "string", NULL
25521 };
25522
25523 arg3 = &temp3;
25524 arg4 = &temp4;
25525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25528 {
25529 arg2 = wxString_in_helper(obj1);
25530 if (arg2 == NULL) SWIG_fail;
e811c8ce 25531 temp2 = True;
d14a1e28
RD
25532 }
25533 {
25534 PyThreadState* __tstate = wxPyBeginAllowThreads();
25535 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
25536
25537 wxPyEndAllowThreads(__tstate);
25538 if (PyErr_Occurred()) SWIG_fail;
25539 }
25540 Py_INCREF(Py_None); resultobj = Py_None;
25541 {
25542 PyObject *o = PyInt_FromLong((long) (*arg3));
25543 resultobj = t_output_helper(resultobj,o);
25544 }
25545 {
25546 PyObject *o = PyInt_FromLong((long) (*arg4));
25547 resultobj = t_output_helper(resultobj,o);
25548 }
25549 {
25550 if (temp2)
25551 delete arg2;
25552 }
25553 return resultobj;
25554 fail:
25555 {
25556 if (temp2)
25557 delete arg2;
25558 }
25559 return NULL;
25560}
25561
25562
25563static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
25564 PyObject *resultobj;
25565 wxWindow *arg1 = (wxWindow *) 0 ;
25566 wxString *arg2 = 0 ;
25567 int *arg3 = (int *) 0 ;
25568 int *arg4 = (int *) 0 ;
25569 int *arg5 = (int *) 0 ;
25570 int *arg6 = (int *) 0 ;
25571 wxFont *arg7 = (wxFont *) NULL ;
e811c8ce 25572 bool temp2 = False ;
d14a1e28
RD
25573 int temp3 ;
25574 int temp4 ;
25575 int temp5 ;
25576 int temp6 ;
25577 PyObject * obj0 = 0 ;
25578 PyObject * obj1 = 0 ;
25579 PyObject * obj2 = 0 ;
25580 char *kwnames[] = {
25581 (char *) "self",(char *) "string",(char *) "font", NULL
25582 };
25583
25584 arg3 = &temp3;
25585 arg4 = &temp4;
25586 arg5 = &temp5;
25587 arg6 = &temp6;
25588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25591 {
25592 arg2 = wxString_in_helper(obj1);
25593 if (arg2 == NULL) SWIG_fail;
e811c8ce 25594 temp2 = True;
d14a1e28
RD
25595 }
25596 if (obj2) {
15afbcd0
RD
25597 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
25598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25599 }
25600 {
25601 PyThreadState* __tstate = wxPyBeginAllowThreads();
25602 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
25603
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 Py_INCREF(Py_None); resultobj = Py_None;
25608 {
25609 PyObject *o = PyInt_FromLong((long) (*arg3));
25610 resultobj = t_output_helper(resultobj,o);
25611 }
25612 {
25613 PyObject *o = PyInt_FromLong((long) (*arg4));
25614 resultobj = t_output_helper(resultobj,o);
25615 }
25616 {
25617 PyObject *o = PyInt_FromLong((long) (*arg5));
25618 resultobj = t_output_helper(resultobj,o);
25619 }
25620 {
25621 PyObject *o = PyInt_FromLong((long) (*arg6));
25622 resultobj = t_output_helper(resultobj,o);
25623 }
25624 {
25625 if (temp2)
25626 delete arg2;
25627 }
25628 return resultobj;
25629 fail:
25630 {
25631 if (temp2)
25632 delete arg2;
25633 }
25634 return NULL;
25635}
25636
25637
25638static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
25639 PyObject *resultobj;
25640 wxWindow *arg1 = (wxWindow *) 0 ;
25641 int *arg2 = (int *) 0 ;
25642 int *arg3 = (int *) 0 ;
25643 int temp2 ;
25644 int temp3 ;
25645 PyObject * obj0 = 0 ;
25646 PyObject * obj1 = 0 ;
25647 PyObject * obj2 = 0 ;
25648 char *kwnames[] = {
25649 (char *) "self",(char *) "x",(char *) "y", NULL
25650 };
25651
25652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25655 {
25656 temp2 = PyInt_AsLong(obj1);
25657 if (PyErr_Occurred()) SWIG_fail;
25658 arg2 = &temp2;
25659 }
25660 {
25661 temp3 = PyInt_AsLong(obj2);
25662 if (PyErr_Occurred()) SWIG_fail;
25663 arg3 = &temp3;
25664 }
25665 {
25666 PyThreadState* __tstate = wxPyBeginAllowThreads();
25667 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
25668
25669 wxPyEndAllowThreads(__tstate);
25670 if (PyErr_Occurred()) SWIG_fail;
25671 }
25672 Py_INCREF(Py_None); resultobj = Py_None;
25673 {
25674 PyObject *o = PyInt_FromLong((long) (*arg2));
25675 resultobj = t_output_helper(resultobj,o);
25676 }
25677 {
25678 PyObject *o = PyInt_FromLong((long) (*arg3));
25679 resultobj = t_output_helper(resultobj,o);
25680 }
25681 return resultobj;
25682 fail:
25683 return NULL;
25684}
25685
25686
25687static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
25688 PyObject *resultobj;
25689 wxWindow *arg1 = (wxWindow *) 0 ;
25690 int *arg2 = (int *) 0 ;
25691 int *arg3 = (int *) 0 ;
25692 int temp2 ;
25693 int temp3 ;
25694 PyObject * obj0 = 0 ;
25695 PyObject * obj1 = 0 ;
25696 PyObject * obj2 = 0 ;
25697 char *kwnames[] = {
25698 (char *) "self",(char *) "x",(char *) "y", NULL
25699 };
25700
25701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25704 {
25705 temp2 = PyInt_AsLong(obj1);
25706 if (PyErr_Occurred()) SWIG_fail;
25707 arg2 = &temp2;
25708 }
25709 {
25710 temp3 = PyInt_AsLong(obj2);
25711 if (PyErr_Occurred()) SWIG_fail;
25712 arg3 = &temp3;
25713 }
25714 {
25715 PyThreadState* __tstate = wxPyBeginAllowThreads();
25716 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
25717
25718 wxPyEndAllowThreads(__tstate);
25719 if (PyErr_Occurred()) SWIG_fail;
25720 }
25721 Py_INCREF(Py_None); resultobj = Py_None;
25722 {
25723 PyObject *o = PyInt_FromLong((long) (*arg2));
25724 resultobj = t_output_helper(resultobj,o);
25725 }
25726 {
25727 PyObject *o = PyInt_FromLong((long) (*arg3));
25728 resultobj = t_output_helper(resultobj,o);
25729 }
25730 return resultobj;
25731 fail:
25732 return NULL;
25733}
25734
25735
25736static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
25737 PyObject *resultobj;
25738 wxWindow *arg1 = (wxWindow *) 0 ;
25739 wxPoint *arg2 = 0 ;
25740 wxPoint result;
25741 wxPoint temp2 ;
25742 PyObject * obj0 = 0 ;
25743 PyObject * obj1 = 0 ;
25744 char *kwnames[] = {
25745 (char *) "self",(char *) "pt", NULL
25746 };
25747
25748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25751 {
25752 arg2 = &temp2;
25753 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25754 }
25755 {
25756 PyThreadState* __tstate = wxPyBeginAllowThreads();
25757 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
25758
25759 wxPyEndAllowThreads(__tstate);
25760 if (PyErr_Occurred()) SWIG_fail;
25761 }
25762 {
25763 wxPoint * resultptr;
25764 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25766 }
25767 return resultobj;
25768 fail:
25769 return NULL;
25770}
25771
25772
25773static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
25774 PyObject *resultobj;
25775 wxWindow *arg1 = (wxWindow *) 0 ;
25776 wxPoint *arg2 = 0 ;
25777 wxPoint result;
25778 wxPoint temp2 ;
25779 PyObject * obj0 = 0 ;
25780 PyObject * obj1 = 0 ;
25781 char *kwnames[] = {
25782 (char *) "self",(char *) "pt", NULL
25783 };
25784
25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25788 {
25789 arg2 = &temp2;
25790 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25791 }
25792 {
25793 PyThreadState* __tstate = wxPyBeginAllowThreads();
25794 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
25795
25796 wxPyEndAllowThreads(__tstate);
25797 if (PyErr_Occurred()) SWIG_fail;
25798 }
25799 {
25800 wxPoint * resultptr;
25801 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 25802 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25803 }
25804 return resultobj;
25805 fail:
25806 return NULL;
25807}
25808
25809
25810static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
25811 PyObject *resultobj;
25812 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce
RD
25813 int arg2 ;
25814 int arg3 ;
d14a1e28
RD
25815 int result;
25816 PyObject * obj0 = 0 ;
994141e6
RD
25817 PyObject * obj1 = 0 ;
25818 PyObject * obj2 = 0 ;
d14a1e28
RD
25819 char *kwnames[] = {
25820 (char *) "self",(char *) "x",(char *) "y", NULL
25821 };
25822
994141e6 25823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
25824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25826 arg2 = (int) SWIG_AsInt(obj1);
25827 if (PyErr_Occurred()) SWIG_fail;
25828 arg3 = (int) SWIG_AsInt(obj2);
25829 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25830 {
25831 PyThreadState* __tstate = wxPyBeginAllowThreads();
25832 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
25833
25834 wxPyEndAllowThreads(__tstate);
25835 if (PyErr_Occurred()) SWIG_fail;
25836 }
15afbcd0 25837 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25838 return resultobj;
25839 fail:
25840 return NULL;
25841}
25842
25843
25844static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
25845 PyObject *resultobj;
25846 wxWindow *arg1 = (wxWindow *) 0 ;
25847 wxPoint *arg2 = 0 ;
25848 int result;
25849 wxPoint temp2 ;
25850 PyObject * obj0 = 0 ;
25851 PyObject * obj1 = 0 ;
25852 char *kwnames[] = {
25853 (char *) "self",(char *) "pt", NULL
25854 };
25855
25856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25859 {
25860 arg2 = &temp2;
25861 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25862 }
25863 {
25864 PyThreadState* __tstate = wxPyBeginAllowThreads();
25865 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
25866
25867 wxPyEndAllowThreads(__tstate);
25868 if (PyErr_Occurred()) SWIG_fail;
25869 }
15afbcd0 25870 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25871 return resultobj;
25872 fail:
25873 return NULL;
25874}
25875
25876
15afbcd0 25877static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
25878 PyObject *resultobj;
25879 wxWindow *arg1 = (wxWindow *) 0 ;
25880 long arg2 ;
25881 int result;
25882 PyObject * obj0 = 0 ;
994141e6 25883 PyObject * obj1 = 0 ;
d14a1e28 25884
15afbcd0
RD
25885 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
25886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25888 arg2 = (long) SWIG_AsLong(obj1);
25889 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25890 {
25891 PyThreadState* __tstate = wxPyBeginAllowThreads();
25892 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
25893
25894 wxPyEndAllowThreads(__tstate);
25895 if (PyErr_Occurred()) SWIG_fail;
25896 }
15afbcd0 25897 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25898 return resultobj;
25899 fail:
25900 return NULL;
25901}
25902
25903
15afbcd0 25904static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
25905 PyObject *resultobj;
25906 wxWindow *arg1 = (wxWindow *) 0 ;
25907 int result;
25908 PyObject * obj0 = 0 ;
d14a1e28 25909
15afbcd0
RD
25910 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
25911 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25912 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25913 {
25914 PyThreadState* __tstate = wxPyBeginAllowThreads();
25915 result = (int)((wxWindow const *)arg1)->GetBorder();
25916
25917 wxPyEndAllowThreads(__tstate);
25918 if (PyErr_Occurred()) SWIG_fail;
25919 }
15afbcd0 25920 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25921 return resultobj;
25922 fail:
25923 return NULL;
25924}
25925
25926
15afbcd0
RD
25927static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
25928 int argc;
25929 PyObject *argv[3];
25930 int ii;
25931
25932 argc = PyObject_Length(args);
25933 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
25934 argv[ii] = PyTuple_GetItem(args,ii);
25935 }
25936 if (argc == 1) {
25937 int _v;
25938 {
25939 void *ptr;
25940 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
25941 _v = 0;
25942 PyErr_Clear();
25943 } else {
25944 _v = 1;
25945 }
25946 }
25947 if (_v) {
25948 return _wrap_Window_GetBorder__SWIG_1(self,args);
25949 }
25950 }
25951 if (argc == 2) {
25952 int _v;
25953 {
25954 void *ptr;
25955 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
25956 _v = 0;
25957 PyErr_Clear();
25958 } else {
25959 _v = 1;
25960 }
25961 }
25962 if (_v) {
25963 _v = SWIG_CheckLong(argv[1]);
25964 if (_v) {
25965 return _wrap_Window_GetBorder__SWIG_0(self,args);
25966 }
25967 }
25968 }
25969
25970 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
25971 return NULL;
25972}
25973
25974
d14a1e28
RD
25975static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
25976 PyObject *resultobj;
25977 wxWindow *arg1 = (wxWindow *) 0 ;
25978 long arg2 = (long) wxUPDATE_UI_NONE ;
25979 PyObject * obj0 = 0 ;
994141e6 25980 PyObject * obj1 = 0 ;
d14a1e28
RD
25981 char *kwnames[] = {
25982 (char *) "self",(char *) "flags", NULL
25983 };
25984
994141e6 25985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
25986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 25988 if (obj1) {
15afbcd0
RD
25989 arg2 = (long) SWIG_AsLong(obj1);
25990 if (PyErr_Occurred()) SWIG_fail;
994141e6 25991 }
d14a1e28
RD
25992 {
25993 PyThreadState* __tstate = wxPyBeginAllowThreads();
25994 (arg1)->UpdateWindowUI(arg2);
25995
25996 wxPyEndAllowThreads(__tstate);
25997 if (PyErr_Occurred()) SWIG_fail;
25998 }
25999 Py_INCREF(Py_None); resultobj = Py_None;
26000 return resultobj;
26001 fail:
26002 return NULL;
26003}
26004
26005
26006static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
26007 PyObject *resultobj;
26008 wxWindow *arg1 = (wxWindow *) 0 ;
26009 wxMenu *arg2 = (wxMenu *) 0 ;
26010 int arg3 ;
26011 int arg4 ;
26012 bool result;
26013 PyObject * obj0 = 0 ;
26014 PyObject * obj1 = 0 ;
994141e6
RD
26015 PyObject * obj2 = 0 ;
26016 PyObject * obj3 = 0 ;
d14a1e28
RD
26017 char *kwnames[] = {
26018 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26019 };
26020
994141e6 26021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26024 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26026 arg3 = (int) SWIG_AsInt(obj2);
26027 if (PyErr_Occurred()) SWIG_fail;
26028 arg4 = (int) SWIG_AsInt(obj3);
26029 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26030 {
26031 PyThreadState* __tstate = wxPyBeginAllowThreads();
26032 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
26033
26034 wxPyEndAllowThreads(__tstate);
26035 if (PyErr_Occurred()) SWIG_fail;
26036 }
4f89f6a3
RD
26037 {
26038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26039 }
d14a1e28
RD
26040 return resultobj;
26041 fail:
26042 return NULL;
26043}
26044
26045
26046static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
26047 PyObject *resultobj;
26048 wxWindow *arg1 = (wxWindow *) 0 ;
26049 wxMenu *arg2 = (wxMenu *) 0 ;
26050 wxPoint *arg3 = 0 ;
26051 bool result;
26052 wxPoint temp3 ;
26053 PyObject * obj0 = 0 ;
26054 PyObject * obj1 = 0 ;
26055 PyObject * obj2 = 0 ;
26056 char *kwnames[] = {
26057 (char *) "self",(char *) "menu",(char *) "pos", NULL
26058 };
26059
26060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26063 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26065 {
26066 arg3 = &temp3;
26067 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26068 }
26069 {
26070 PyThreadState* __tstate = wxPyBeginAllowThreads();
26071 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
26072
26073 wxPyEndAllowThreads(__tstate);
26074 if (PyErr_Occurred()) SWIG_fail;
26075 }
4f89f6a3
RD
26076 {
26077 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26078 }
d14a1e28
RD
26079 return resultobj;
26080 fail:
26081 return NULL;
26082}
26083
26084
26085static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
26086 PyObject *resultobj;
26087 wxWindow *arg1 = (wxWindow *) 0 ;
26088 long result;
26089 PyObject * obj0 = 0 ;
26090 char *kwnames[] = {
26091 (char *) "self", NULL
26092 };
26093
26094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
15afbcd0
RD
26095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26097 {
26098 PyThreadState* __tstate = wxPyBeginAllowThreads();
26099 result = (long)wxWindow_GetHandle(arg1);
26100
26101 wxPyEndAllowThreads(__tstate);
26102 if (PyErr_Occurred()) SWIG_fail;
26103 }
15afbcd0 26104 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
26105 return resultobj;
26106 fail:
26107 return NULL;
26108}
26109
26110
26111static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
26112 PyObject *resultobj;
26113 wxWindow *arg1 = (wxWindow *) 0 ;
26114 int arg2 ;
26115 bool result;
26116 PyObject * obj0 = 0 ;
994141e6 26117 PyObject * obj1 = 0 ;
d14a1e28
RD
26118 char *kwnames[] = {
26119 (char *) "self",(char *) "orient", NULL
26120 };
26121
994141e6 26122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26125 arg2 = (int) SWIG_AsInt(obj1);
26126 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26127 {
26128 PyThreadState* __tstate = wxPyBeginAllowThreads();
26129 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
26130
26131 wxPyEndAllowThreads(__tstate);
26132 if (PyErr_Occurred()) SWIG_fail;
26133 }
4f89f6a3
RD
26134 {
26135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26136 }
d14a1e28
RD
26137 return resultobj;
26138 fail:
26139 return NULL;
26140}
26141
26142
26143static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
26144 PyObject *resultobj;
26145 wxWindow *arg1 = (wxWindow *) 0 ;
26146 int arg2 ;
26147 int arg3 ;
26148 int arg4 ;
26149 int arg5 ;
e811c8ce 26150 bool arg6 = (bool) True ;
d14a1e28 26151 PyObject * obj0 = 0 ;
994141e6
RD
26152 PyObject * obj1 = 0 ;
26153 PyObject * obj2 = 0 ;
26154 PyObject * obj3 = 0 ;
26155 PyObject * obj4 = 0 ;
d14a1e28
RD
26156 PyObject * obj5 = 0 ;
26157 char *kwnames[] = {
15afbcd0 26158 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
26159 };
26160
994141e6 26161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
26162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26164 arg2 = (int) SWIG_AsInt(obj1);
26165 if (PyErr_Occurred()) SWIG_fail;
26166 arg3 = (int) SWIG_AsInt(obj2);
26167 if (PyErr_Occurred()) SWIG_fail;
26168 arg4 = (int) SWIG_AsInt(obj3);
26169 if (PyErr_Occurred()) SWIG_fail;
26170 arg5 = (int) SWIG_AsInt(obj4);
26171 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26172 if (obj5) {
15afbcd0
RD
26173 arg6 = (bool) SWIG_AsBool(obj5);
26174 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26175 }
26176 {
26177 PyThreadState* __tstate = wxPyBeginAllowThreads();
26178 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
26179
26180 wxPyEndAllowThreads(__tstate);
26181 if (PyErr_Occurred()) SWIG_fail;
26182 }
26183 Py_INCREF(Py_None); resultobj = Py_None;
26184 return resultobj;
26185 fail:
26186 return NULL;
26187}
26188
26189
26190static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
26191 PyObject *resultobj;
26192 wxWindow *arg1 = (wxWindow *) 0 ;
26193 int arg2 ;
26194 int arg3 ;
e811c8ce 26195 bool arg4 = (bool) True ;
d14a1e28 26196 PyObject * obj0 = 0 ;
994141e6
RD
26197 PyObject * obj1 = 0 ;
26198 PyObject * obj2 = 0 ;
d14a1e28
RD
26199 PyObject * obj3 = 0 ;
26200 char *kwnames[] = {
15afbcd0 26201 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
26202 };
26203
994141e6 26204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26207 arg2 = (int) SWIG_AsInt(obj1);
26208 if (PyErr_Occurred()) SWIG_fail;
26209 arg3 = (int) SWIG_AsInt(obj2);
26210 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26211 if (obj3) {
15afbcd0
RD
26212 arg4 = (bool) SWIG_AsBool(obj3);
26213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26214 }
26215 {
26216 PyThreadState* __tstate = wxPyBeginAllowThreads();
26217 (arg1)->SetScrollPos(arg2,arg3,arg4);
26218
26219 wxPyEndAllowThreads(__tstate);
26220 if (PyErr_Occurred()) SWIG_fail;
26221 }
26222 Py_INCREF(Py_None); resultobj = Py_None;
26223 return resultobj;
26224 fail:
26225 return NULL;
26226}
26227
26228
26229static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
26230 PyObject *resultobj;
26231 wxWindow *arg1 = (wxWindow *) 0 ;
26232 int arg2 ;
26233 int result;
26234 PyObject * obj0 = 0 ;
994141e6 26235 PyObject * obj1 = 0 ;
d14a1e28 26236 char *kwnames[] = {
15afbcd0 26237 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
26238 };
26239
994141e6 26240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26243 arg2 = (int) SWIG_AsInt(obj1);
26244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26245 {
26246 PyThreadState* __tstate = wxPyBeginAllowThreads();
26247 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
26248
26249 wxPyEndAllowThreads(__tstate);
26250 if (PyErr_Occurred()) SWIG_fail;
26251 }
15afbcd0 26252 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26253 return resultobj;
26254 fail:
26255 return NULL;
26256}
26257
26258
26259static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
26260 PyObject *resultobj;
26261 wxWindow *arg1 = (wxWindow *) 0 ;
26262 int arg2 ;
26263 int result;
26264 PyObject * obj0 = 0 ;
994141e6 26265 PyObject * obj1 = 0 ;
d14a1e28 26266 char *kwnames[] = {
15afbcd0 26267 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
26268 };
26269
994141e6 26270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26273 arg2 = (int) SWIG_AsInt(obj1);
26274 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26275 {
26276 PyThreadState* __tstate = wxPyBeginAllowThreads();
26277 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
26278
26279 wxPyEndAllowThreads(__tstate);
26280 if (PyErr_Occurred()) SWIG_fail;
26281 }
15afbcd0 26282 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26283 return resultobj;
26284 fail:
26285 return NULL;
26286}
26287
26288
26289static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
26290 PyObject *resultobj;
26291 wxWindow *arg1 = (wxWindow *) 0 ;
26292 int arg2 ;
26293 int result;
26294 PyObject * obj0 = 0 ;
994141e6 26295 PyObject * obj1 = 0 ;
d14a1e28 26296 char *kwnames[] = {
15afbcd0 26297 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
26298 };
26299
994141e6 26300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26301 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26302 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26303 arg2 = (int) SWIG_AsInt(obj1);
26304 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26305 {
26306 PyThreadState* __tstate = wxPyBeginAllowThreads();
26307 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
26308
26309 wxPyEndAllowThreads(__tstate);
26310 if (PyErr_Occurred()) SWIG_fail;
26311 }
15afbcd0 26312 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26313 return resultobj;
26314 fail:
26315 return NULL;
26316}
26317
26318
26319static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26320 PyObject *resultobj;
26321 wxWindow *arg1 = (wxWindow *) 0 ;
26322 int arg2 ;
26323 int arg3 ;
26324 wxRect *arg4 = (wxRect *) NULL ;
26325 PyObject * obj0 = 0 ;
994141e6
RD
26326 PyObject * obj1 = 0 ;
26327 PyObject * obj2 = 0 ;
d14a1e28
RD
26328 PyObject * obj3 = 0 ;
26329 char *kwnames[] = {
26330 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
26331 };
26332
994141e6 26333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
26334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26336 arg2 = (int) SWIG_AsInt(obj1);
26337 if (PyErr_Occurred()) SWIG_fail;
26338 arg3 = (int) SWIG_AsInt(obj2);
26339 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26340 if (obj3) {
15afbcd0
RD
26341 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
26342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26343 }
26344 {
26345 PyThreadState* __tstate = wxPyBeginAllowThreads();
26346 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
26347
26348 wxPyEndAllowThreads(__tstate);
26349 if (PyErr_Occurred()) SWIG_fail;
26350 }
26351 Py_INCREF(Py_None); resultobj = Py_None;
26352 return resultobj;
26353 fail:
26354 return NULL;
26355}
26356
26357
26358static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
26359 PyObject *resultobj;
26360 wxWindow *arg1 = (wxWindow *) 0 ;
26361 int arg2 ;
26362 bool result;
26363 PyObject * obj0 = 0 ;
994141e6 26364 PyObject * obj1 = 0 ;
d14a1e28
RD
26365 char *kwnames[] = {
26366 (char *) "self",(char *) "lines", NULL
26367 };
26368
994141e6 26369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26372 arg2 = (int) SWIG_AsInt(obj1);
26373 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26374 {
26375 PyThreadState* __tstate = wxPyBeginAllowThreads();
26376 result = (bool)(arg1)->ScrollLines(arg2);
26377
26378 wxPyEndAllowThreads(__tstate);
26379 if (PyErr_Occurred()) SWIG_fail;
26380 }
4f89f6a3
RD
26381 {
26382 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26383 }
d14a1e28
RD
26384 return resultobj;
26385 fail:
26386 return NULL;
26387}
26388
26389
26390static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
26391 PyObject *resultobj;
26392 wxWindow *arg1 = (wxWindow *) 0 ;
26393 int arg2 ;
26394 bool result;
26395 PyObject * obj0 = 0 ;
994141e6 26396 PyObject * obj1 = 0 ;
d14a1e28
RD
26397 char *kwnames[] = {
26398 (char *) "self",(char *) "pages", NULL
26399 };
26400
994141e6 26401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26404 arg2 = (int) SWIG_AsInt(obj1);
26405 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26406 {
26407 PyThreadState* __tstate = wxPyBeginAllowThreads();
26408 result = (bool)(arg1)->ScrollPages(arg2);
26409
26410 wxPyEndAllowThreads(__tstate);
26411 if (PyErr_Occurred()) SWIG_fail;
26412 }
4f89f6a3
RD
26413 {
26414 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26415 }
d14a1e28
RD
26416 return resultobj;
26417 fail:
26418 return NULL;
26419}
26420
26421
26422static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
26423 PyObject *resultobj;
26424 wxWindow *arg1 = (wxWindow *) 0 ;
26425 bool result;
26426 PyObject * obj0 = 0 ;
26427 char *kwnames[] = {
26428 (char *) "self", NULL
26429 };
26430
26431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
26432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26434 {
26435 PyThreadState* __tstate = wxPyBeginAllowThreads();
26436 result = (bool)(arg1)->LineUp();
26437
26438 wxPyEndAllowThreads(__tstate);
26439 if (PyErr_Occurred()) SWIG_fail;
26440 }
4f89f6a3
RD
26441 {
26442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26443 }
d14a1e28
RD
26444 return resultobj;
26445 fail:
26446 return NULL;
26447}
26448
26449
26450static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
26451 PyObject *resultobj;
26452 wxWindow *arg1 = (wxWindow *) 0 ;
26453 bool result;
26454 PyObject * obj0 = 0 ;
26455 char *kwnames[] = {
26456 (char *) "self", NULL
26457 };
26458
26459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
26460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26462 {
26463 PyThreadState* __tstate = wxPyBeginAllowThreads();
26464 result = (bool)(arg1)->LineDown();
26465
26466 wxPyEndAllowThreads(__tstate);
26467 if (PyErr_Occurred()) SWIG_fail;
26468 }
4f89f6a3
RD
26469 {
26470 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26471 }
d14a1e28
RD
26472 return resultobj;
26473 fail:
26474 return NULL;
26475}
26476
26477
26478static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
26479 PyObject *resultobj;
26480 wxWindow *arg1 = (wxWindow *) 0 ;
26481 bool result;
26482 PyObject * obj0 = 0 ;
26483 char *kwnames[] = {
26484 (char *) "self", NULL
26485 };
26486
26487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
15afbcd0
RD
26488 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26489 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26490 {
26491 PyThreadState* __tstate = wxPyBeginAllowThreads();
26492 result = (bool)(arg1)->PageUp();
26493
26494 wxPyEndAllowThreads(__tstate);
26495 if (PyErr_Occurred()) SWIG_fail;
26496 }
4f89f6a3
RD
26497 {
26498 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26499 }
d14a1e28
RD
26500 return resultobj;
26501 fail:
26502 return NULL;
26503}
26504
26505
26506static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
26507 PyObject *resultobj;
26508 wxWindow *arg1 = (wxWindow *) 0 ;
26509 bool result;
26510 PyObject * obj0 = 0 ;
26511 char *kwnames[] = {
26512 (char *) "self", NULL
26513 };
26514
26515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
15afbcd0
RD
26516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26518 {
26519 PyThreadState* __tstate = wxPyBeginAllowThreads();
26520 result = (bool)(arg1)->PageDown();
26521
26522 wxPyEndAllowThreads(__tstate);
26523 if (PyErr_Occurred()) SWIG_fail;
26524 }
4f89f6a3
RD
26525 {
26526 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26527 }
d14a1e28
RD
26528 return resultobj;
26529 fail:
26530 return NULL;
26531}
26532
26533
26534static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
26535 PyObject *resultobj;
26536 wxWindow *arg1 = (wxWindow *) 0 ;
26537 wxString *arg2 = 0 ;
e811c8ce 26538 bool temp2 = False ;
d14a1e28
RD
26539 PyObject * obj0 = 0 ;
26540 PyObject * obj1 = 0 ;
26541 char *kwnames[] = {
26542 (char *) "self",(char *) "text", NULL
26543 };
26544
26545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26548 {
26549 arg2 = wxString_in_helper(obj1);
26550 if (arg2 == NULL) SWIG_fail;
e811c8ce 26551 temp2 = True;
d14a1e28
RD
26552 }
26553 {
26554 PyThreadState* __tstate = wxPyBeginAllowThreads();
26555 (arg1)->SetHelpText((wxString const &)*arg2);
26556
26557 wxPyEndAllowThreads(__tstate);
26558 if (PyErr_Occurred()) SWIG_fail;
26559 }
26560 Py_INCREF(Py_None); resultobj = Py_None;
26561 {
26562 if (temp2)
26563 delete arg2;
26564 }
26565 return resultobj;
26566 fail:
26567 {
26568 if (temp2)
26569 delete arg2;
26570 }
26571 return NULL;
26572}
26573
26574
26575static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
26576 PyObject *resultobj;
26577 wxWindow *arg1 = (wxWindow *) 0 ;
26578 wxString *arg2 = 0 ;
e811c8ce 26579 bool temp2 = False ;
d14a1e28
RD
26580 PyObject * obj0 = 0 ;
26581 PyObject * obj1 = 0 ;
26582 char *kwnames[] = {
26583 (char *) "self",(char *) "text", NULL
26584 };
26585
26586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26589 {
26590 arg2 = wxString_in_helper(obj1);
26591 if (arg2 == NULL) SWIG_fail;
e811c8ce 26592 temp2 = True;
d14a1e28
RD
26593 }
26594 {
26595 PyThreadState* __tstate = wxPyBeginAllowThreads();
26596 (arg1)->SetHelpTextForId((wxString const &)*arg2);
26597
26598 wxPyEndAllowThreads(__tstate);
26599 if (PyErr_Occurred()) SWIG_fail;
26600 }
26601 Py_INCREF(Py_None); resultobj = Py_None;
26602 {
26603 if (temp2)
26604 delete arg2;
26605 }
26606 return resultobj;
26607 fail:
26608 {
26609 if (temp2)
26610 delete arg2;
26611 }
26612 return NULL;
26613}
26614
26615
26616static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
26617 PyObject *resultobj;
26618 wxWindow *arg1 = (wxWindow *) 0 ;
26619 wxString result;
26620 PyObject * obj0 = 0 ;
26621 char *kwnames[] = {
26622 (char *) "self", NULL
26623 };
26624
26625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
15afbcd0
RD
26626 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26627 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26628 {
26629 PyThreadState* __tstate = wxPyBeginAllowThreads();
26630 result = ((wxWindow const *)arg1)->GetHelpText();
26631
26632 wxPyEndAllowThreads(__tstate);
26633 if (PyErr_Occurred()) SWIG_fail;
26634 }
26635 {
26636#if wxUSE_UNICODE
26637 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26638#else
26639 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26640#endif
26641 }
26642 return resultobj;
26643 fail:
26644 return NULL;
26645}
26646
26647
26648static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
26649 PyObject *resultobj;
26650 wxWindow *arg1 = (wxWindow *) 0 ;
26651 wxString *arg2 = 0 ;
e811c8ce 26652 bool temp2 = False ;
d14a1e28
RD
26653 PyObject * obj0 = 0 ;
26654 PyObject * obj1 = 0 ;
26655 char *kwnames[] = {
26656 (char *) "self",(char *) "tip", NULL
26657 };
26658
26659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26662 {
26663 arg2 = wxString_in_helper(obj1);
26664 if (arg2 == NULL) SWIG_fail;
e811c8ce 26665 temp2 = True;
d14a1e28
RD
26666 }
26667 {
26668 PyThreadState* __tstate = wxPyBeginAllowThreads();
26669 (arg1)->SetToolTip((wxString const &)*arg2);
26670
26671 wxPyEndAllowThreads(__tstate);
26672 if (PyErr_Occurred()) SWIG_fail;
26673 }
26674 Py_INCREF(Py_None); resultobj = Py_None;
26675 {
26676 if (temp2)
26677 delete arg2;
26678 }
26679 return resultobj;
26680 fail:
26681 {
26682 if (temp2)
26683 delete arg2;
26684 }
26685 return NULL;
26686}
26687
26688
26689static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
26690 PyObject *resultobj;
26691 wxWindow *arg1 = (wxWindow *) 0 ;
26692 wxToolTip *arg2 = (wxToolTip *) 0 ;
26693 PyObject * obj0 = 0 ;
26694 PyObject * obj1 = 0 ;
26695 char *kwnames[] = {
26696 (char *) "self",(char *) "tip", NULL
26697 };
26698
26699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
26703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26704 {
26705 PyThreadState* __tstate = wxPyBeginAllowThreads();
26706 (arg1)->SetToolTip(arg2);
26707
26708 wxPyEndAllowThreads(__tstate);
26709 if (PyErr_Occurred()) SWIG_fail;
26710 }
26711 Py_INCREF(Py_None); resultobj = Py_None;
26712 return resultobj;
26713 fail:
26714 return NULL;
26715}
26716
26717
26718static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
26719 PyObject *resultobj;
26720 wxWindow *arg1 = (wxWindow *) 0 ;
26721 wxToolTip *result;
26722 PyObject * obj0 = 0 ;
26723 char *kwnames[] = {
26724 (char *) "self", NULL
26725 };
26726
26727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
15afbcd0
RD
26728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26730 {
26731 PyThreadState* __tstate = wxPyBeginAllowThreads();
26732 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
26733
26734 wxPyEndAllowThreads(__tstate);
26735 if (PyErr_Occurred()) SWIG_fail;
26736 }
26737 {
26738 resultobj = wxPyMake_wxObject(result);
26739 }
26740 return resultobj;
26741 fail:
26742 return NULL;
26743}
26744
26745
26746static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26747 PyObject *resultobj;
26748 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 26749 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
26750 PyObject * obj0 = 0 ;
26751 PyObject * obj1 = 0 ;
26752 char *kwnames[] = {
26753 (char *) "self",(char *) "dropTarget", NULL
26754 };
26755
26756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26759 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
26760 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26761 {
26762 PyThreadState* __tstate = wxPyBeginAllowThreads();
26763 (arg1)->SetDropTarget(arg2);
26764
26765 wxPyEndAllowThreads(__tstate);
26766 if (PyErr_Occurred()) SWIG_fail;
26767 }
26768 Py_INCREF(Py_None); resultobj = Py_None;
26769 return resultobj;
26770 fail:
26771 return NULL;
26772}
26773
26774
26775static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26776 PyObject *resultobj;
26777 wxWindow *arg1 = (wxWindow *) 0 ;
7722248d 26778 wxPyDropTarget *result;
d14a1e28
RD
26779 PyObject * obj0 = 0 ;
26780 char *kwnames[] = {
26781 (char *) "self", NULL
26782 };
26783
26784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
15afbcd0
RD
26785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26787 {
26788 PyThreadState* __tstate = wxPyBeginAllowThreads();
7722248d 26789 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
26790
26791 wxPyEndAllowThreads(__tstate);
26792 if (PyErr_Occurred()) SWIG_fail;
26793 }
15afbcd0 26794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
26795 return resultobj;
26796 fail:
26797 return NULL;
26798}
26799
26800
26801static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
26802 PyObject *resultobj;
26803 wxWindow *arg1 = (wxWindow *) 0 ;
26804 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
26805 PyObject * obj0 = 0 ;
26806 PyObject * obj1 = 0 ;
26807 char *kwnames[] = {
26808 (char *) "self",(char *) "constraints", NULL
26809 };
26810
26811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26814 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
26815 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26816 {
26817 PyThreadState* __tstate = wxPyBeginAllowThreads();
26818 (arg1)->SetConstraints(arg2);
26819
26820 wxPyEndAllowThreads(__tstate);
26821 if (PyErr_Occurred()) SWIG_fail;
26822 }
26823 Py_INCREF(Py_None); resultobj = Py_None;
26824 return resultobj;
26825 fail:
26826 return NULL;
26827}
26828
26829
26830static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
26831 PyObject *resultobj;
26832 wxWindow *arg1 = (wxWindow *) 0 ;
26833 wxLayoutConstraints *result;
26834 PyObject * obj0 = 0 ;
26835 char *kwnames[] = {
26836 (char *) "self", NULL
26837 };
26838
26839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
15afbcd0
RD
26840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26842 {
26843 PyThreadState* __tstate = wxPyBeginAllowThreads();
26844 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
26845
26846 wxPyEndAllowThreads(__tstate);
26847 if (PyErr_Occurred()) SWIG_fail;
26848 }
15afbcd0 26849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
26850 return resultobj;
26851 fail:
26852 return NULL;
26853}
26854
26855
26856static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
26857 PyObject *resultobj;
26858 wxWindow *arg1 = (wxWindow *) 0 ;
26859 bool arg2 ;
26860 PyObject * obj0 = 0 ;
26861 PyObject * obj1 = 0 ;
26862 char *kwnames[] = {
26863 (char *) "self",(char *) "autoLayout", NULL
26864 };
26865
26866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
26867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26869 arg2 = (bool) SWIG_AsBool(obj1);
26870 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26871 {
26872 PyThreadState* __tstate = wxPyBeginAllowThreads();
26873 (arg1)->SetAutoLayout(arg2);
26874
26875 wxPyEndAllowThreads(__tstate);
26876 if (PyErr_Occurred()) SWIG_fail;
26877 }
26878 Py_INCREF(Py_None); resultobj = Py_None;
26879 return resultobj;
26880 fail:
26881 return NULL;
26882}
26883
26884
26885static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
26886 PyObject *resultobj;
26887 wxWindow *arg1 = (wxWindow *) 0 ;
26888 bool result;
26889 PyObject * obj0 = 0 ;
26890 char *kwnames[] = {
26891 (char *) "self", NULL
26892 };
26893
26894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
15afbcd0
RD
26895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26897 {
26898 PyThreadState* __tstate = wxPyBeginAllowThreads();
26899 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
26900
26901 wxPyEndAllowThreads(__tstate);
26902 if (PyErr_Occurred()) SWIG_fail;
26903 }
4f89f6a3
RD
26904 {
26905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26906 }
d14a1e28
RD
26907 return resultobj;
26908 fail:
26909 return NULL;
26910}
26911
26912
26913static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
26914 PyObject *resultobj;
26915 wxWindow *arg1 = (wxWindow *) 0 ;
26916 bool result;
26917 PyObject * obj0 = 0 ;
26918 char *kwnames[] = {
26919 (char *) "self", NULL
26920 };
26921
26922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
26923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26925 {
26926 PyThreadState* __tstate = wxPyBeginAllowThreads();
26927 result = (bool)(arg1)->Layout();
26928
26929 wxPyEndAllowThreads(__tstate);
26930 if (PyErr_Occurred()) SWIG_fail;
26931 }
4f89f6a3
RD
26932 {
26933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26934 }
d14a1e28
RD
26935 return resultobj;
26936 fail:
26937 return NULL;
26938}
26939
26940
26941static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
26942 PyObject *resultobj;
26943 wxWindow *arg1 = (wxWindow *) 0 ;
26944 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 26945 bool arg3 = (bool) True ;
d14a1e28
RD
26946 PyObject * obj0 = 0 ;
26947 PyObject * obj1 = 0 ;
26948 PyObject * obj2 = 0 ;
26949 char *kwnames[] = {
26950 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26951 };
26952
26953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26954 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26955 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26956 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
26957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 26958 if (obj2) {
15afbcd0
RD
26959 arg3 = (bool) SWIG_AsBool(obj2);
26960 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26961 }
26962 {
26963 PyThreadState* __tstate = wxPyBeginAllowThreads();
26964 (arg1)->SetSizer(arg2,arg3);
26965
26966 wxPyEndAllowThreads(__tstate);
26967 if (PyErr_Occurred()) SWIG_fail;
26968 }
26969 Py_INCREF(Py_None); resultobj = Py_None;
26970 return resultobj;
26971 fail:
26972 return NULL;
26973}
26974
26975
26976static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
26977 PyObject *resultobj;
26978 wxWindow *arg1 = (wxWindow *) 0 ;
26979 wxSizer *arg2 = (wxSizer *) 0 ;
e811c8ce 26980 bool arg3 = (bool) True ;
d14a1e28
RD
26981 PyObject * obj0 = 0 ;
26982 PyObject * obj1 = 0 ;
26983 PyObject * obj2 = 0 ;
26984 char *kwnames[] = {
26985 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26986 };
26987
26988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
26989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
26992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 26993 if (obj2) {
15afbcd0
RD
26994 arg3 = (bool) SWIG_AsBool(obj2);
26995 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26996 }
26997 {
26998 PyThreadState* __tstate = wxPyBeginAllowThreads();
26999 (arg1)->SetSizerAndFit(arg2,arg3);
27000
27001 wxPyEndAllowThreads(__tstate);
27002 if (PyErr_Occurred()) SWIG_fail;
27003 }
27004 Py_INCREF(Py_None); resultobj = Py_None;
27005 return resultobj;
27006 fail:
27007 return NULL;
27008}
27009
27010
27011static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27012 PyObject *resultobj;
27013 wxWindow *arg1 = (wxWindow *) 0 ;
27014 wxSizer *result;
27015 PyObject * obj0 = 0 ;
27016 char *kwnames[] = {
27017 (char *) "self", NULL
27018 };
27019
27020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
27021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27023 {
27024 PyThreadState* __tstate = wxPyBeginAllowThreads();
27025 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
27026
27027 wxPyEndAllowThreads(__tstate);
27028 if (PyErr_Occurred()) SWIG_fail;
27029 }
27030 {
27031 resultobj = wxPyMake_wxSizer(result);
27032 }
27033 return resultobj;
27034 fail:
27035 return NULL;
27036}
27037
27038
27039static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27040 PyObject *resultobj;
27041 wxWindow *arg1 = (wxWindow *) 0 ;
27042 wxSizer *arg2 = (wxSizer *) 0 ;
27043 PyObject * obj0 = 0 ;
27044 PyObject * obj1 = 0 ;
27045 char *kwnames[] = {
27046 (char *) "self",(char *) "sizer", NULL
27047 };
27048
27049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27052 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27054 {
27055 PyThreadState* __tstate = wxPyBeginAllowThreads();
27056 (arg1)->SetContainingSizer(arg2);
27057
27058 wxPyEndAllowThreads(__tstate);
27059 if (PyErr_Occurred()) SWIG_fail;
27060 }
27061 Py_INCREF(Py_None); resultobj = Py_None;
27062 return resultobj;
27063 fail:
27064 return NULL;
27065}
27066
27067
27068static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
27069 PyObject *resultobj;
27070 wxWindow *arg1 = (wxWindow *) 0 ;
27071 wxSizer *result;
27072 PyObject * obj0 = 0 ;
27073 char *kwnames[] = {
27074 (char *) "self", NULL
27075 };
27076
27077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
27078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27080 {
27081 PyThreadState* __tstate = wxPyBeginAllowThreads();
27082 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
27083
27084 wxPyEndAllowThreads(__tstate);
27085 if (PyErr_Occurred()) SWIG_fail;
27086 }
27087 {
27088 resultobj = wxPyMake_wxSizer(result);
27089 }
27090 return resultobj;
27091 fail:
27092 return NULL;
27093}
27094
27095
27096static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
27097 PyObject *obj;
27098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27099 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
27100 Py_INCREF(obj);
27101 return Py_BuildValue((char *)"");
27102}
27103static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
27104 PyObject *resultobj;
27105 long arg1 ;
27106 wxWindow *arg2 = (wxWindow *) NULL ;
27107 wxWindow *result;
994141e6 27108 PyObject * obj0 = 0 ;
d14a1e28
RD
27109 PyObject * obj1 = 0 ;
27110 char *kwnames[] = {
27111 (char *) "id",(char *) "parent", NULL
27112 };
27113
994141e6 27114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27115 arg1 = (long) SWIG_AsLong(obj0);
27116 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27117 if (obj1) {
15afbcd0
RD
27118 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27120 }
27121 {
27122 PyThreadState* __tstate = wxPyBeginAllowThreads();
27123 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
27124
27125 wxPyEndAllowThreads(__tstate);
27126 if (PyErr_Occurred()) SWIG_fail;
27127 }
27128 {
27129 resultobj = wxPyMake_wxObject(result);
27130 }
27131 return resultobj;
27132 fail:
27133 return NULL;
27134}
27135
27136
27137static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
27138 PyObject *resultobj;
27139 wxString *arg1 = 0 ;
27140 wxWindow *arg2 = (wxWindow *) NULL ;
27141 wxWindow *result;
e811c8ce 27142 bool temp1 = False ;
d14a1e28
RD
27143 PyObject * obj0 = 0 ;
27144 PyObject * obj1 = 0 ;
27145 char *kwnames[] = {
27146 (char *) "name",(char *) "parent", NULL
27147 };
27148
27149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
27150 {
27151 arg1 = wxString_in_helper(obj0);
27152 if (arg1 == NULL) SWIG_fail;
e811c8ce 27153 temp1 = True;
d14a1e28
RD
27154 }
27155 if (obj1) {
15afbcd0
RD
27156 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27158 }
27159 {
27160 PyThreadState* __tstate = wxPyBeginAllowThreads();
27161 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
27162
27163 wxPyEndAllowThreads(__tstate);
27164 if (PyErr_Occurred()) SWIG_fail;
27165 }
27166 {
27167 resultobj = wxPyMake_wxObject(result);
27168 }
27169 {
27170 if (temp1)
27171 delete arg1;
27172 }
27173 return resultobj;
27174 fail:
27175 {
27176 if (temp1)
27177 delete arg1;
27178 }
27179 return NULL;
27180}
27181
27182
27183static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
27184 PyObject *resultobj;
27185 wxString *arg1 = 0 ;
27186 wxWindow *arg2 = (wxWindow *) NULL ;
27187 wxWindow *result;
e811c8ce 27188 bool temp1 = False ;
d14a1e28
RD
27189 PyObject * obj0 = 0 ;
27190 PyObject * obj1 = 0 ;
27191 char *kwnames[] = {
27192 (char *) "label",(char *) "parent", NULL
27193 };
27194
27195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
27196 {
27197 arg1 = wxString_in_helper(obj0);
27198 if (arg1 == NULL) SWIG_fail;
e811c8ce 27199 temp1 = True;
d14a1e28
RD
27200 }
27201 if (obj1) {
15afbcd0
RD
27202 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27204 }
27205 {
27206 PyThreadState* __tstate = wxPyBeginAllowThreads();
27207 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
27208
27209 wxPyEndAllowThreads(__tstate);
27210 if (PyErr_Occurred()) SWIG_fail;
27211 }
27212 {
27213 resultobj = wxPyMake_wxObject(result);
27214 }
27215 {
27216 if (temp1)
27217 delete arg1;
27218 }
27219 return resultobj;
27220 fail:
27221 {
27222 if (temp1)
27223 delete arg1;
27224 }
27225 return NULL;
27226}
27227
27228
27229static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
27230 PyObject *resultobj;
4276dc52
RD
27231 wxWindow *arg1 = (wxWindow *) 0 ;
27232 unsigned long arg2 ;
d14a1e28
RD
27233 wxWindow *result;
27234 PyObject * obj0 = 0 ;
4276dc52 27235 PyObject * obj1 = 0 ;
d14a1e28 27236 char *kwnames[] = {
4276dc52 27237 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
27238 };
27239
4276dc52
RD
27240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
27241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27243 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
15afbcd0 27244 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27245 {
27246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4276dc52 27247 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
27248
27249 wxPyEndAllowThreads(__tstate);
27250 if (PyErr_Occurred()) SWIG_fail;
27251 }
27252 {
27253 resultobj = wxPyMake_wxObject(result);
27254 }
27255 return resultobj;
27256 fail:
27257 return NULL;
27258}
27259
27260
27261static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
27262 PyObject *resultobj;
27263 wxValidator *result;
27264 char *kwnames[] = {
27265 NULL
27266 };
27267
27268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
27269 {
27270 PyThreadState* __tstate = wxPyBeginAllowThreads();
27271 result = (wxValidator *)new wxValidator();
27272
27273 wxPyEndAllowThreads(__tstate);
27274 if (PyErr_Occurred()) SWIG_fail;
27275 }
27276 {
27277 resultobj = wxPyMake_wxObject(result);
27278 }
27279 return resultobj;
27280 fail:
27281 return NULL;
27282}
27283
27284
27285static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
27286 PyObject *resultobj;
27287 wxValidator *arg1 = (wxValidator *) 0 ;
27288 wxValidator *result;
27289 PyObject * obj0 = 0 ;
27290 char *kwnames[] = {
27291 (char *) "self", NULL
27292 };
27293
27294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
15afbcd0
RD
27295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27297 {
27298 PyThreadState* __tstate = wxPyBeginAllowThreads();
27299 result = (wxValidator *)(arg1)->Clone();
27300
27301 wxPyEndAllowThreads(__tstate);
27302 if (PyErr_Occurred()) SWIG_fail;
27303 }
27304 {
27305 resultobj = wxPyMake_wxObject(result);
27306 }
27307 return resultobj;
27308 fail:
27309 return NULL;
27310}
27311
27312
27313static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
27314 PyObject *resultobj;
27315 wxValidator *arg1 = (wxValidator *) 0 ;
27316 wxWindow *arg2 = (wxWindow *) 0 ;
27317 bool result;
27318 PyObject * obj0 = 0 ;
27319 PyObject * obj1 = 0 ;
27320 char *kwnames[] = {
27321 (char *) "self",(char *) "parent", NULL
27322 };
27323
27324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27327 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27328 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27329 {
27330 PyThreadState* __tstate = wxPyBeginAllowThreads();
27331 result = (bool)(arg1)->Validate(arg2);
27332
27333 wxPyEndAllowThreads(__tstate);
27334 if (PyErr_Occurred()) SWIG_fail;
27335 }
4f89f6a3
RD
27336 {
27337 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27338 }
d14a1e28
RD
27339 return resultobj;
27340 fail:
27341 return NULL;
27342}
27343
27344
27345static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27346 PyObject *resultobj;
27347 wxValidator *arg1 = (wxValidator *) 0 ;
27348 bool result;
27349 PyObject * obj0 = 0 ;
27350 char *kwnames[] = {
27351 (char *) "self", NULL
27352 };
27353
27354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
27355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27357 {
27358 PyThreadState* __tstate = wxPyBeginAllowThreads();
27359 result = (bool)(arg1)->TransferToWindow();
27360
27361 wxPyEndAllowThreads(__tstate);
27362 if (PyErr_Occurred()) SWIG_fail;
27363 }
4f89f6a3
RD
27364 {
27365 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27366 }
d14a1e28
RD
27367 return resultobj;
27368 fail:
27369 return NULL;
27370}
27371
27372
27373static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27374 PyObject *resultobj;
27375 wxValidator *arg1 = (wxValidator *) 0 ;
27376 bool result;
27377 PyObject * obj0 = 0 ;
27378 char *kwnames[] = {
27379 (char *) "self", NULL
27380 };
27381
27382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
27383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27385 {
27386 PyThreadState* __tstate = wxPyBeginAllowThreads();
27387 result = (bool)(arg1)->TransferFromWindow();
27388
27389 wxPyEndAllowThreads(__tstate);
27390 if (PyErr_Occurred()) SWIG_fail;
27391 }
4f89f6a3
RD
27392 {
27393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27394 }
d14a1e28
RD
27395 return resultobj;
27396 fail:
27397 return NULL;
27398}
27399
27400
27401static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27402 PyObject *resultobj;
27403 wxValidator *arg1 = (wxValidator *) 0 ;
27404 wxWindow *result;
27405 PyObject * obj0 = 0 ;
27406 char *kwnames[] = {
27407 (char *) "self", NULL
27408 };
27409
27410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
27411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27412 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27413 {
27414 PyThreadState* __tstate = wxPyBeginAllowThreads();
27415 result = (wxWindow *)(arg1)->GetWindow();
27416
27417 wxPyEndAllowThreads(__tstate);
27418 if (PyErr_Occurred()) SWIG_fail;
27419 }
27420 {
27421 resultobj = wxPyMake_wxObject(result);
27422 }
27423 return resultobj;
27424 fail:
27425 return NULL;
27426}
27427
27428
27429static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27430 PyObject *resultobj;
27431 wxValidator *arg1 = (wxValidator *) 0 ;
27432 wxWindow *arg2 = (wxWindow *) 0 ;
27433 PyObject * obj0 = 0 ;
27434 PyObject * obj1 = 0 ;
27435 char *kwnames[] = {
27436 (char *) "self",(char *) "window", NULL
27437 };
27438
27439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27442 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27444 {
27445 PyThreadState* __tstate = wxPyBeginAllowThreads();
27446 (arg1)->SetWindow(arg2);
27447
27448 wxPyEndAllowThreads(__tstate);
27449 if (PyErr_Occurred()) SWIG_fail;
27450 }
27451 Py_INCREF(Py_None); resultobj = Py_None;
27452 return resultobj;
27453 fail:
27454 return NULL;
27455}
27456
27457
27458static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
27459 PyObject *resultobj;
27460 bool result;
27461 char *kwnames[] = {
27462 NULL
27463 };
27464
27465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
27466 {
27467 PyThreadState* __tstate = wxPyBeginAllowThreads();
27468 result = (bool)wxValidator::IsSilent();
27469
27470 wxPyEndAllowThreads(__tstate);
27471 if (PyErr_Occurred()) SWIG_fail;
27472 }
4f89f6a3
RD
27473 {
27474 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27475 }
d14a1e28
RD
27476 return resultobj;
27477 fail:
27478 return NULL;
27479}
27480
27481
27482static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
27483 PyObject *resultobj;
e811c8ce 27484 int arg1 = (int) True ;
994141e6 27485 PyObject * obj0 = 0 ;
d14a1e28
RD
27486 char *kwnames[] = {
27487 (char *) "doIt", NULL
27488 };
27489
994141e6
RD
27490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
27491 if (obj0) {
15afbcd0
RD
27492 arg1 = (int) SWIG_AsInt(obj0);
27493 if (PyErr_Occurred()) SWIG_fail;
994141e6 27494 }
d14a1e28
RD
27495 {
27496 PyThreadState* __tstate = wxPyBeginAllowThreads();
27497 wxValidator::SetBellOnError(arg1);
27498
27499 wxPyEndAllowThreads(__tstate);
27500 if (PyErr_Occurred()) SWIG_fail;
27501 }
27502 Py_INCREF(Py_None); resultobj = Py_None;
27503 return resultobj;
27504 fail:
27505 return NULL;
27506}
27507
27508
27509static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
27510 PyObject *obj;
27511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27512 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
27513 Py_INCREF(obj);
27514 return Py_BuildValue((char *)"");
27515}
27516static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
27517 PyObject *resultobj;
27518 wxPyValidator *result;
27519 char *kwnames[] = {
27520 NULL
27521 };
27522
27523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
27524 {
27525 PyThreadState* __tstate = wxPyBeginAllowThreads();
27526 result = (wxPyValidator *)new wxPyValidator();
27527
27528 wxPyEndAllowThreads(__tstate);
27529 if (PyErr_Occurred()) SWIG_fail;
27530 }
15afbcd0 27531 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
27532 return resultobj;
27533 fail:
27534 return NULL;
27535}
27536
27537
27538static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27539 PyObject *resultobj;
27540 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
27541 PyObject *arg2 = (PyObject *) 0 ;
27542 PyObject *arg3 = (PyObject *) 0 ;
e811c8ce 27543 int arg4 = (int) True ;
d14a1e28
RD
27544 PyObject * obj0 = 0 ;
27545 PyObject * obj1 = 0 ;
27546 PyObject * obj2 = 0 ;
994141e6 27547 PyObject * obj3 = 0 ;
d14a1e28
RD
27548 char *kwnames[] = {
27549 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27550 };
27551
994141e6 27552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
27554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27555 arg2 = obj1;
27556 arg3 = obj2;
994141e6 27557 if (obj3) {
15afbcd0
RD
27558 arg4 = (int) SWIG_AsInt(obj3);
27559 if (PyErr_Occurred()) SWIG_fail;
994141e6 27560 }
d14a1e28
RD
27561 {
27562 PyThreadState* __tstate = wxPyBeginAllowThreads();
27563 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
27564
27565 wxPyEndAllowThreads(__tstate);
27566 if (PyErr_Occurred()) SWIG_fail;
27567 }
27568 Py_INCREF(Py_None); resultobj = Py_None;
27569 return resultobj;
27570 fail:
27571 return NULL;
27572}
27573
27574
27575static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
27576 PyObject *obj;
27577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27578 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
27579 Py_INCREF(obj);
27580 return Py_BuildValue((char *)"");
27581}
27582static int _wrap_DefaultValidator_set(PyObject *_val) {
27583 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
27584 return 1;
27585}
27586
27587
27588static PyObject *_wrap_DefaultValidator_get() {
27589 PyObject *pyobj;
27590
15afbcd0 27591 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
27592 return pyobj;
27593}
27594
27595
27596static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
27597 PyObject *resultobj;
27598 wxString const &arg1_defvalue = wxPyEmptyString ;
27599 wxString *arg1 = (wxString *) &arg1_defvalue ;
27600 long arg2 = (long) 0 ;
27601 wxMenu *result;
e811c8ce 27602 bool temp1 = False ;
d14a1e28 27603 PyObject * obj0 = 0 ;
994141e6 27604 PyObject * obj1 = 0 ;
d14a1e28
RD
27605 char *kwnames[] = {
27606 (char *) "title",(char *) "style", NULL
27607 };
27608
994141e6 27609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
27610 if (obj0) {
27611 {
27612 arg1 = wxString_in_helper(obj0);
27613 if (arg1 == NULL) SWIG_fail;
e811c8ce 27614 temp1 = True;
d14a1e28
RD
27615 }
27616 }
994141e6 27617 if (obj1) {
15afbcd0
RD
27618 arg2 = (long) SWIG_AsLong(obj1);
27619 if (PyErr_Occurred()) SWIG_fail;
994141e6 27620 }
d14a1e28
RD
27621 {
27622 PyThreadState* __tstate = wxPyBeginAllowThreads();
27623 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
27624
27625 wxPyEndAllowThreads(__tstate);
27626 if (PyErr_Occurred()) SWIG_fail;
27627 }
27628 {
27629 resultobj = wxPyMake_wxObject(result);
27630 }
27631 {
27632 if (temp1)
27633 delete arg1;
27634 }
27635 return resultobj;
27636 fail:
27637 {
27638 if (temp1)
27639 delete arg1;
27640 }
27641 return NULL;
27642}
27643
27644
27645static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
27646 PyObject *resultobj;
27647 wxMenu *arg1 = (wxMenu *) 0 ;
27648 int arg2 ;
27649 wxString *arg3 = 0 ;
27650 wxString const &arg4_defvalue = wxPyEmptyString ;
27651 wxString *arg4 = (wxString *) &arg4_defvalue ;
27652 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 27653 wxMenuItem *result;
e811c8ce
RD
27654 bool temp3 = False ;
27655 bool temp4 = False ;
d14a1e28 27656 PyObject * obj0 = 0 ;
994141e6 27657 PyObject * obj1 = 0 ;
d14a1e28
RD
27658 PyObject * obj2 = 0 ;
27659 PyObject * obj3 = 0 ;
994141e6 27660 PyObject * obj4 = 0 ;
d14a1e28 27661 char *kwnames[] = {
242b7b46 27662 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
27663 };
27664
994141e6 27665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
27666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27668 arg2 = (int) SWIG_AsInt(obj1);
27669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27670 {
27671 arg3 = wxString_in_helper(obj2);
27672 if (arg3 == NULL) SWIG_fail;
e811c8ce 27673 temp3 = True;
d14a1e28
RD
27674 }
27675 if (obj3) {
27676 {
27677 arg4 = wxString_in_helper(obj3);
27678 if (arg4 == NULL) SWIG_fail;
e811c8ce 27679 temp4 = True;
d14a1e28
RD
27680 }
27681 }
994141e6 27682 if (obj4) {
15afbcd0
RD
27683 arg5 = (wxItemKind) SWIG_AsInt(obj4);
27684 if (PyErr_Occurred()) SWIG_fail;
994141e6 27685 }
d14a1e28
RD
27686 {
27687 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27688 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
27689
27690 wxPyEndAllowThreads(__tstate);
27691 if (PyErr_Occurred()) SWIG_fail;
27692 }
a41e16b6
RD
27693 {
27694 resultobj = wxPyMake_wxObject(result);
27695 }
d14a1e28
RD
27696 {
27697 if (temp3)
27698 delete arg3;
27699 }
27700 {
27701 if (temp4)
27702 delete arg4;
27703 }
27704 return resultobj;
27705 fail:
27706 {
27707 if (temp3)
27708 delete arg3;
27709 }
27710 {
27711 if (temp4)
27712 delete arg4;
27713 }
27714 return NULL;
27715}
27716
27717
27718static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27719 PyObject *resultobj;
27720 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 27721 wxMenuItem *result;
d14a1e28
RD
27722 PyObject * obj0 = 0 ;
27723 char *kwnames[] = {
27724 (char *) "self", NULL
27725 };
27726
27727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
27728 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27729 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27730 {
27731 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27732 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
27733
27734 wxPyEndAllowThreads(__tstate);
27735 if (PyErr_Occurred()) SWIG_fail;
27736 }
a41e16b6
RD
27737 {
27738 resultobj = wxPyMake_wxObject(result);
27739 }
d14a1e28
RD
27740 return resultobj;
27741 fail:
27742 return NULL;
27743}
27744
27745
27746static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27747 PyObject *resultobj;
27748 wxMenu *arg1 = (wxMenu *) 0 ;
27749 int arg2 ;
27750 wxString *arg3 = 0 ;
27751 wxString const &arg4_defvalue = wxPyEmptyString ;
27752 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 27753 wxMenuItem *result;
e811c8ce
RD
27754 bool temp3 = False ;
27755 bool temp4 = False ;
d14a1e28 27756 PyObject * obj0 = 0 ;
994141e6 27757 PyObject * obj1 = 0 ;
d14a1e28
RD
27758 PyObject * obj2 = 0 ;
27759 PyObject * obj3 = 0 ;
27760 char *kwnames[] = {
242b7b46 27761 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27762 };
27763
994141e6 27764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27767 arg2 = (int) SWIG_AsInt(obj1);
27768 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27769 {
27770 arg3 = wxString_in_helper(obj2);
27771 if (arg3 == NULL) SWIG_fail;
e811c8ce 27772 temp3 = True;
d14a1e28
RD
27773 }
27774 if (obj3) {
27775 {
27776 arg4 = wxString_in_helper(obj3);
27777 if (arg4 == NULL) SWIG_fail;
e811c8ce 27778 temp4 = True;
d14a1e28
RD
27779 }
27780 }
27781 {
27782 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27783 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
27784
27785 wxPyEndAllowThreads(__tstate);
27786 if (PyErr_Occurred()) SWIG_fail;
27787 }
a41e16b6
RD
27788 {
27789 resultobj = wxPyMake_wxObject(result);
27790 }
d14a1e28
RD
27791 {
27792 if (temp3)
27793 delete arg3;
27794 }
27795 {
27796 if (temp4)
27797 delete arg4;
27798 }
27799 return resultobj;
27800 fail:
27801 {
27802 if (temp3)
27803 delete arg3;
27804 }
27805 {
27806 if (temp4)
27807 delete arg4;
27808 }
27809 return NULL;
27810}
27811
27812
27813static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27814 PyObject *resultobj;
27815 wxMenu *arg1 = (wxMenu *) 0 ;
27816 int arg2 ;
27817 wxString *arg3 = 0 ;
27818 wxString const &arg4_defvalue = wxPyEmptyString ;
27819 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 27820 wxMenuItem *result;
e811c8ce
RD
27821 bool temp3 = False ;
27822 bool temp4 = False ;
d14a1e28 27823 PyObject * obj0 = 0 ;
994141e6 27824 PyObject * obj1 = 0 ;
d14a1e28
RD
27825 PyObject * obj2 = 0 ;
27826 PyObject * obj3 = 0 ;
27827 char *kwnames[] = {
242b7b46 27828 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27829 };
27830
994141e6 27831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
27832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27834 arg2 = (int) SWIG_AsInt(obj1);
27835 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27836 {
27837 arg3 = wxString_in_helper(obj2);
27838 if (arg3 == NULL) SWIG_fail;
e811c8ce 27839 temp3 = True;
d14a1e28
RD
27840 }
27841 if (obj3) {
27842 {
27843 arg4 = wxString_in_helper(obj3);
27844 if (arg4 == NULL) SWIG_fail;
e811c8ce 27845 temp4 = True;
d14a1e28
RD
27846 }
27847 }
27848 {
27849 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27850 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
27851
27852 wxPyEndAllowThreads(__tstate);
27853 if (PyErr_Occurred()) SWIG_fail;
27854 }
a41e16b6
RD
27855 {
27856 resultobj = wxPyMake_wxObject(result);
27857 }
d14a1e28
RD
27858 {
27859 if (temp3)
27860 delete arg3;
27861 }
27862 {
27863 if (temp4)
27864 delete arg4;
27865 }
27866 return resultobj;
27867 fail:
27868 {
27869 if (temp3)
27870 delete arg3;
27871 }
27872 {
27873 if (temp4)
27874 delete arg4;
27875 }
27876 return NULL;
27877}
27878
27879
27880static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27881 PyObject *resultobj;
27882 wxMenu *arg1 = (wxMenu *) 0 ;
27883 int arg2 ;
27884 wxString *arg3 = 0 ;
27885 wxMenu *arg4 = (wxMenu *) 0 ;
27886 wxString const &arg5_defvalue = wxPyEmptyString ;
27887 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 27888 wxMenuItem *result;
e811c8ce
RD
27889 bool temp3 = False ;
27890 bool temp5 = False ;
d14a1e28 27891 PyObject * obj0 = 0 ;
994141e6 27892 PyObject * obj1 = 0 ;
d14a1e28
RD
27893 PyObject * obj2 = 0 ;
27894 PyObject * obj3 = 0 ;
27895 PyObject * obj4 = 0 ;
27896 char *kwnames[] = {
242b7b46 27897 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
27898 };
27899
994141e6 27900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
27901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27903 arg2 = (int) SWIG_AsInt(obj1);
27904 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27905 {
27906 arg3 = wxString_in_helper(obj2);
27907 if (arg3 == NULL) SWIG_fail;
e811c8ce 27908 temp3 = True;
d14a1e28 27909 }
15afbcd0
RD
27910 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
27911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27912 if (obj4) {
27913 {
27914 arg5 = wxString_in_helper(obj4);
27915 if (arg5 == NULL) SWIG_fail;
e811c8ce 27916 temp5 = True;
d14a1e28
RD
27917 }
27918 }
27919 {
27920 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27921 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
27922
27923 wxPyEndAllowThreads(__tstate);
27924 if (PyErr_Occurred()) SWIG_fail;
27925 }
a41e16b6
RD
27926 {
27927 resultobj = wxPyMake_wxObject(result);
27928 }
d14a1e28
RD
27929 {
27930 if (temp3)
27931 delete arg3;
27932 }
27933 {
27934 if (temp5)
27935 delete arg5;
27936 }
27937 return resultobj;
27938 fail:
27939 {
27940 if (temp3)
27941 delete arg3;
27942 }
27943 {
27944 if (temp5)
27945 delete arg5;
27946 }
27947 return NULL;
27948}
27949
27950
27951static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27952 PyObject *resultobj;
27953 wxMenu *arg1 = (wxMenu *) 0 ;
27954 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 27955 wxMenuItem *result;
d14a1e28
RD
27956 PyObject * obj0 = 0 ;
27957 PyObject * obj1 = 0 ;
27958 char *kwnames[] = {
27959 (char *) "self",(char *) "item", NULL
27960 };
27961
27962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
27963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27965 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
27966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27967 {
27968 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 27969 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
27970
27971 wxPyEndAllowThreads(__tstate);
27972 if (PyErr_Occurred()) SWIG_fail;
27973 }
a41e16b6
RD
27974 {
27975 resultobj = wxPyMake_wxObject(result);
27976 }
d14a1e28
RD
27977 return resultobj;
27978 fail:
27979 return NULL;
27980}
27981
27982
27983static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
27984 PyObject *resultobj;
27985 wxMenu *arg1 = (wxMenu *) 0 ;
27986 PyObject * obj0 = 0 ;
27987 char *kwnames[] = {
27988 (char *) "self", NULL
27989 };
27990
27991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
15afbcd0
RD
27992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27994 {
27995 PyThreadState* __tstate = wxPyBeginAllowThreads();
27996 (arg1)->Break();
27997
27998 wxPyEndAllowThreads(__tstate);
27999 if (PyErr_Occurred()) SWIG_fail;
28000 }
28001 Py_INCREF(Py_None); resultobj = Py_None;
28002 return resultobj;
28003 fail:
28004 return NULL;
28005}
28006
28007
28008static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28009 PyObject *resultobj;
28010 wxMenu *arg1 = (wxMenu *) 0 ;
28011 size_t arg2 ;
28012 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
a41e16b6 28013 wxMenuItem *result;
d14a1e28
RD
28014 PyObject * obj0 = 0 ;
28015 PyObject * obj1 = 0 ;
28016 PyObject * obj2 = 0 ;
28017 char *kwnames[] = {
28018 (char *) "self",(char *) "pos",(char *) "item", NULL
28019 };
28020
28021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
28022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28024 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28025 if (PyErr_Occurred()) SWIG_fail;
28026 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
28027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28028 {
28029 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28030 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
28031
28032 wxPyEndAllowThreads(__tstate);
28033 if (PyErr_Occurred()) SWIG_fail;
28034 }
a41e16b6
RD
28035 {
28036 resultobj = wxPyMake_wxObject(result);
28037 }
d14a1e28
RD
28038 return resultobj;
28039 fail:
28040 return NULL;
28041}
28042
28043
28044static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
28045 PyObject *resultobj;
28046 wxMenu *arg1 = (wxMenu *) 0 ;
28047 size_t arg2 ;
28048 int arg3 ;
28049 wxString *arg4 = 0 ;
28050 wxString const &arg5_defvalue = wxPyEmptyString ;
28051 wxString *arg5 = (wxString *) &arg5_defvalue ;
28052 int arg6 = (int) wxITEM_NORMAL ;
a41e16b6 28053 wxMenuItem *result;
e811c8ce
RD
28054 bool temp4 = False ;
28055 bool temp5 = False ;
d14a1e28
RD
28056 PyObject * obj0 = 0 ;
28057 PyObject * obj1 = 0 ;
994141e6 28058 PyObject * obj2 = 0 ;
d14a1e28
RD
28059 PyObject * obj3 = 0 ;
28060 PyObject * obj4 = 0 ;
994141e6 28061 PyObject * obj5 = 0 ;
d14a1e28 28062 char *kwnames[] = {
242b7b46 28063 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28064 };
28065
994141e6 28066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
28067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28069 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28070 if (PyErr_Occurred()) SWIG_fail;
28071 arg3 = (int) SWIG_AsInt(obj2);
28072 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28073 {
28074 arg4 = wxString_in_helper(obj3);
28075 if (arg4 == NULL) SWIG_fail;
e811c8ce 28076 temp4 = True;
d14a1e28
RD
28077 }
28078 if (obj4) {
28079 {
28080 arg5 = wxString_in_helper(obj4);
28081 if (arg5 == NULL) SWIG_fail;
e811c8ce 28082 temp5 = True;
d14a1e28
RD
28083 }
28084 }
994141e6 28085 if (obj5) {
15afbcd0
RD
28086 arg6 = (wxItemKind) SWIG_AsInt(obj5);
28087 if (PyErr_Occurred()) SWIG_fail;
994141e6 28088 }
d14a1e28
RD
28089 {
28090 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28091 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
28092
28093 wxPyEndAllowThreads(__tstate);
28094 if (PyErr_Occurred()) SWIG_fail;
28095 }
a41e16b6
RD
28096 {
28097 resultobj = wxPyMake_wxObject(result);
28098 }
d14a1e28
RD
28099 {
28100 if (temp4)
28101 delete arg4;
28102 }
28103 {
28104 if (temp5)
28105 delete arg5;
28106 }
28107 return resultobj;
28108 fail:
28109 {
28110 if (temp4)
28111 delete arg4;
28112 }
28113 {
28114 if (temp5)
28115 delete arg5;
28116 }
28117 return NULL;
28118}
28119
28120
28121static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28122 PyObject *resultobj;
28123 wxMenu *arg1 = (wxMenu *) 0 ;
28124 size_t arg2 ;
a41e16b6 28125 wxMenuItem *result;
d14a1e28
RD
28126 PyObject * obj0 = 0 ;
28127 PyObject * obj1 = 0 ;
28128 char *kwnames[] = {
28129 (char *) "self",(char *) "pos", NULL
28130 };
28131
28132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28135 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28136 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28137 {
28138 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28139 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
28140
28141 wxPyEndAllowThreads(__tstate);
28142 if (PyErr_Occurred()) SWIG_fail;
28143 }
a41e16b6
RD
28144 {
28145 resultobj = wxPyMake_wxObject(result);
28146 }
d14a1e28
RD
28147 return resultobj;
28148 fail:
28149 return NULL;
28150}
28151
28152
28153static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28154 PyObject *resultobj;
28155 wxMenu *arg1 = (wxMenu *) 0 ;
28156 size_t arg2 ;
28157 int arg3 ;
28158 wxString *arg4 = 0 ;
28159 wxString const &arg5_defvalue = wxPyEmptyString ;
28160 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 28161 wxMenuItem *result;
e811c8ce
RD
28162 bool temp4 = False ;
28163 bool temp5 = False ;
d14a1e28
RD
28164 PyObject * obj0 = 0 ;
28165 PyObject * obj1 = 0 ;
994141e6 28166 PyObject * obj2 = 0 ;
d14a1e28
RD
28167 PyObject * obj3 = 0 ;
28168 PyObject * obj4 = 0 ;
28169 char *kwnames[] = {
242b7b46 28170 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28171 };
28172
994141e6 28173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28176 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28177 if (PyErr_Occurred()) SWIG_fail;
28178 arg3 = (int) SWIG_AsInt(obj2);
28179 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28180 {
28181 arg4 = wxString_in_helper(obj3);
28182 if (arg4 == NULL) SWIG_fail;
e811c8ce 28183 temp4 = True;
d14a1e28
RD
28184 }
28185 if (obj4) {
28186 {
28187 arg5 = wxString_in_helper(obj4);
28188 if (arg5 == NULL) SWIG_fail;
e811c8ce 28189 temp5 = True;
d14a1e28
RD
28190 }
28191 }
28192 {
28193 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28194 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
28195
28196 wxPyEndAllowThreads(__tstate);
28197 if (PyErr_Occurred()) SWIG_fail;
28198 }
a41e16b6
RD
28199 {
28200 resultobj = wxPyMake_wxObject(result);
28201 }
d14a1e28
RD
28202 {
28203 if (temp4)
28204 delete arg4;
28205 }
28206 {
28207 if (temp5)
28208 delete arg5;
28209 }
28210 return resultobj;
28211 fail:
28212 {
28213 if (temp4)
28214 delete arg4;
28215 }
28216 {
28217 if (temp5)
28218 delete arg5;
28219 }
28220 return NULL;
28221}
28222
28223
28224static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28225 PyObject *resultobj;
28226 wxMenu *arg1 = (wxMenu *) 0 ;
28227 size_t arg2 ;
28228 int arg3 ;
28229 wxString *arg4 = 0 ;
28230 wxString const &arg5_defvalue = wxPyEmptyString ;
28231 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 28232 wxMenuItem *result;
e811c8ce
RD
28233 bool temp4 = False ;
28234 bool temp5 = False ;
d14a1e28
RD
28235 PyObject * obj0 = 0 ;
28236 PyObject * obj1 = 0 ;
994141e6 28237 PyObject * obj2 = 0 ;
d14a1e28
RD
28238 PyObject * obj3 = 0 ;
28239 PyObject * obj4 = 0 ;
28240 char *kwnames[] = {
242b7b46 28241 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28242 };
28243
994141e6 28244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28247 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28248 if (PyErr_Occurred()) SWIG_fail;
28249 arg3 = (int) SWIG_AsInt(obj2);
28250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28251 {
28252 arg4 = wxString_in_helper(obj3);
28253 if (arg4 == NULL) SWIG_fail;
e811c8ce 28254 temp4 = True;
d14a1e28
RD
28255 }
28256 if (obj4) {
28257 {
28258 arg5 = wxString_in_helper(obj4);
28259 if (arg5 == NULL) SWIG_fail;
e811c8ce 28260 temp5 = True;
d14a1e28
RD
28261 }
28262 }
28263 {
28264 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28265 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
28266
28267 wxPyEndAllowThreads(__tstate);
28268 if (PyErr_Occurred()) SWIG_fail;
28269 }
a41e16b6
RD
28270 {
28271 resultobj = wxPyMake_wxObject(result);
28272 }
d14a1e28
RD
28273 {
28274 if (temp4)
28275 delete arg4;
28276 }
28277 {
28278 if (temp5)
28279 delete arg5;
28280 }
28281 return resultobj;
28282 fail:
28283 {
28284 if (temp4)
28285 delete arg4;
28286 }
28287 {
28288 if (temp5)
28289 delete arg5;
28290 }
28291 return NULL;
28292}
28293
28294
28295static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28296 PyObject *resultobj;
28297 wxMenu *arg1 = (wxMenu *) 0 ;
28298 size_t arg2 ;
28299 int arg3 ;
28300 wxString *arg4 = 0 ;
28301 wxMenu *arg5 = (wxMenu *) 0 ;
28302 wxString const &arg6_defvalue = wxPyEmptyString ;
28303 wxString *arg6 = (wxString *) &arg6_defvalue ;
a41e16b6 28304 wxMenuItem *result;
e811c8ce
RD
28305 bool temp4 = False ;
28306 bool temp6 = False ;
d14a1e28
RD
28307 PyObject * obj0 = 0 ;
28308 PyObject * obj1 = 0 ;
994141e6 28309 PyObject * obj2 = 0 ;
d14a1e28
RD
28310 PyObject * obj3 = 0 ;
28311 PyObject * obj4 = 0 ;
28312 PyObject * obj5 = 0 ;
28313 char *kwnames[] = {
242b7b46 28314 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
28315 };
28316
994141e6 28317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
28318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28320 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28321 if (PyErr_Occurred()) SWIG_fail;
28322 arg3 = (int) SWIG_AsInt(obj2);
28323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28324 {
28325 arg4 = wxString_in_helper(obj3);
28326 if (arg4 == NULL) SWIG_fail;
e811c8ce 28327 temp4 = True;
d14a1e28 28328 }
15afbcd0
RD
28329 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
28330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28331 if (obj5) {
28332 {
28333 arg6 = wxString_in_helper(obj5);
28334 if (arg6 == NULL) SWIG_fail;
e811c8ce 28335 temp6 = True;
d14a1e28
RD
28336 }
28337 }
28338 {
28339 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28340 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
28341
28342 wxPyEndAllowThreads(__tstate);
28343 if (PyErr_Occurred()) SWIG_fail;
28344 }
a41e16b6
RD
28345 {
28346 resultobj = wxPyMake_wxObject(result);
28347 }
d14a1e28
RD
28348 {
28349 if (temp4)
28350 delete arg4;
28351 }
28352 {
28353 if (temp6)
28354 delete arg6;
28355 }
28356 return resultobj;
28357 fail:
28358 {
28359 if (temp4)
28360 delete arg4;
28361 }
28362 {
28363 if (temp6)
28364 delete arg6;
28365 }
28366 return NULL;
28367}
28368
28369
28370static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28371 PyObject *resultobj;
28372 wxMenu *arg1 = (wxMenu *) 0 ;
28373 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
a41e16b6 28374 wxMenuItem *result;
d14a1e28
RD
28375 PyObject * obj0 = 0 ;
28376 PyObject * obj1 = 0 ;
28377 char *kwnames[] = {
28378 (char *) "self",(char *) "item", NULL
28379 };
28380
28381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28384 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28386 {
28387 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28388 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
28389
28390 wxPyEndAllowThreads(__tstate);
28391 if (PyErr_Occurred()) SWIG_fail;
28392 }
a41e16b6
RD
28393 {
28394 resultobj = wxPyMake_wxObject(result);
28395 }
d14a1e28
RD
28396 return resultobj;
28397 fail:
28398 return NULL;
28399}
28400
28401
28402static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
28403 PyObject *resultobj;
28404 wxMenu *arg1 = (wxMenu *) 0 ;
28405 int arg2 ;
28406 wxString *arg3 = 0 ;
28407 wxString const &arg4_defvalue = wxPyEmptyString ;
28408 wxString *arg4 = (wxString *) &arg4_defvalue ;
28409 int arg5 = (int) wxITEM_NORMAL ;
a41e16b6 28410 wxMenuItem *result;
e811c8ce
RD
28411 bool temp3 = False ;
28412 bool temp4 = False ;
d14a1e28 28413 PyObject * obj0 = 0 ;
994141e6 28414 PyObject * obj1 = 0 ;
d14a1e28
RD
28415 PyObject * obj2 = 0 ;
28416 PyObject * obj3 = 0 ;
994141e6 28417 PyObject * obj4 = 0 ;
d14a1e28 28418 char *kwnames[] = {
242b7b46 28419 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28420 };
28421
994141e6 28422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28423 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28424 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28425 arg2 = (int) SWIG_AsInt(obj1);
28426 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28427 {
28428 arg3 = wxString_in_helper(obj2);
28429 if (arg3 == NULL) SWIG_fail;
e811c8ce 28430 temp3 = True;
d14a1e28
RD
28431 }
28432 if (obj3) {
28433 {
28434 arg4 = wxString_in_helper(obj3);
28435 if (arg4 == NULL) SWIG_fail;
e811c8ce 28436 temp4 = True;
d14a1e28
RD
28437 }
28438 }
994141e6 28439 if (obj4) {
15afbcd0
RD
28440 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28441 if (PyErr_Occurred()) SWIG_fail;
994141e6 28442 }
d14a1e28
RD
28443 {
28444 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28445 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
28446
28447 wxPyEndAllowThreads(__tstate);
28448 if (PyErr_Occurred()) SWIG_fail;
28449 }
a41e16b6
RD
28450 {
28451 resultobj = wxPyMake_wxObject(result);
28452 }
d14a1e28
RD
28453 {
28454 if (temp3)
28455 delete arg3;
28456 }
28457 {
28458 if (temp4)
28459 delete arg4;
28460 }
28461 return resultobj;
28462 fail:
28463 {
28464 if (temp3)
28465 delete arg3;
28466 }
28467 {
28468 if (temp4)
28469 delete arg4;
28470 }
28471 return NULL;
28472}
28473
28474
28475static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28476 PyObject *resultobj;
28477 wxMenu *arg1 = (wxMenu *) 0 ;
a41e16b6 28478 wxMenuItem *result;
d14a1e28
RD
28479 PyObject * obj0 = 0 ;
28480 char *kwnames[] = {
28481 (char *) "self", NULL
28482 };
28483
28484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
28485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28487 {
28488 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28489 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
28490
28491 wxPyEndAllowThreads(__tstate);
28492 if (PyErr_Occurred()) SWIG_fail;
28493 }
a41e16b6
RD
28494 {
28495 resultobj = wxPyMake_wxObject(result);
28496 }
d14a1e28
RD
28497 return resultobj;
28498 fail:
28499 return NULL;
28500}
28501
28502
28503static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28504 PyObject *resultobj;
28505 wxMenu *arg1 = (wxMenu *) 0 ;
28506 int arg2 ;
28507 wxString *arg3 = 0 ;
28508 wxString const &arg4_defvalue = wxPyEmptyString ;
28509 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 28510 wxMenuItem *result;
e811c8ce
RD
28511 bool temp3 = False ;
28512 bool temp4 = False ;
d14a1e28 28513 PyObject * obj0 = 0 ;
994141e6 28514 PyObject * obj1 = 0 ;
d14a1e28
RD
28515 PyObject * obj2 = 0 ;
28516 PyObject * obj3 = 0 ;
28517 char *kwnames[] = {
242b7b46 28518 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28519 };
28520
994141e6 28521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28524 arg2 = (int) SWIG_AsInt(obj1);
28525 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28526 {
28527 arg3 = wxString_in_helper(obj2);
28528 if (arg3 == NULL) SWIG_fail;
e811c8ce 28529 temp3 = True;
d14a1e28
RD
28530 }
28531 if (obj3) {
28532 {
28533 arg4 = wxString_in_helper(obj3);
28534 if (arg4 == NULL) SWIG_fail;
e811c8ce 28535 temp4 = True;
d14a1e28
RD
28536 }
28537 }
28538 {
28539 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28540 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28541
28542 wxPyEndAllowThreads(__tstate);
28543 if (PyErr_Occurred()) SWIG_fail;
28544 }
a41e16b6
RD
28545 {
28546 resultobj = wxPyMake_wxObject(result);
28547 }
d14a1e28
RD
28548 {
28549 if (temp3)
28550 delete arg3;
28551 }
28552 {
28553 if (temp4)
28554 delete arg4;
28555 }
28556 return resultobj;
28557 fail:
28558 {
28559 if (temp3)
28560 delete arg3;
28561 }
28562 {
28563 if (temp4)
28564 delete arg4;
28565 }
28566 return NULL;
28567}
28568
28569
28570static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28571 PyObject *resultobj;
28572 wxMenu *arg1 = (wxMenu *) 0 ;
28573 int arg2 ;
28574 wxString *arg3 = 0 ;
28575 wxString const &arg4_defvalue = wxPyEmptyString ;
28576 wxString *arg4 = (wxString *) &arg4_defvalue ;
a41e16b6 28577 wxMenuItem *result;
e811c8ce
RD
28578 bool temp3 = False ;
28579 bool temp4 = False ;
d14a1e28 28580 PyObject * obj0 = 0 ;
994141e6 28581 PyObject * obj1 = 0 ;
d14a1e28
RD
28582 PyObject * obj2 = 0 ;
28583 PyObject * obj3 = 0 ;
28584 char *kwnames[] = {
242b7b46 28585 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28586 };
28587
994141e6 28588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
28589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28591 arg2 = (int) SWIG_AsInt(obj1);
28592 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28593 {
28594 arg3 = wxString_in_helper(obj2);
28595 if (arg3 == NULL) SWIG_fail;
e811c8ce 28596 temp3 = True;
d14a1e28
RD
28597 }
28598 if (obj3) {
28599 {
28600 arg4 = wxString_in_helper(obj3);
28601 if (arg4 == NULL) SWIG_fail;
e811c8ce 28602 temp4 = True;
d14a1e28
RD
28603 }
28604 }
28605 {
28606 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28607 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28608
28609 wxPyEndAllowThreads(__tstate);
28610 if (PyErr_Occurred()) SWIG_fail;
28611 }
a41e16b6
RD
28612 {
28613 resultobj = wxPyMake_wxObject(result);
28614 }
d14a1e28
RD
28615 {
28616 if (temp3)
28617 delete arg3;
28618 }
28619 {
28620 if (temp4)
28621 delete arg4;
28622 }
28623 return resultobj;
28624 fail:
28625 {
28626 if (temp3)
28627 delete arg3;
28628 }
28629 {
28630 if (temp4)
28631 delete arg4;
28632 }
28633 return NULL;
28634}
28635
28636
28637static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28638 PyObject *resultobj;
28639 wxMenu *arg1 = (wxMenu *) 0 ;
28640 int arg2 ;
28641 wxString *arg3 = 0 ;
28642 wxMenu *arg4 = (wxMenu *) 0 ;
28643 wxString const &arg5_defvalue = wxPyEmptyString ;
28644 wxString *arg5 = (wxString *) &arg5_defvalue ;
a41e16b6 28645 wxMenuItem *result;
e811c8ce
RD
28646 bool temp3 = False ;
28647 bool temp5 = False ;
d14a1e28 28648 PyObject * obj0 = 0 ;
994141e6 28649 PyObject * obj1 = 0 ;
d14a1e28
RD
28650 PyObject * obj2 = 0 ;
28651 PyObject * obj3 = 0 ;
28652 PyObject * obj4 = 0 ;
28653 char *kwnames[] = {
242b7b46 28654 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
28655 };
28656
994141e6 28657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
28658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28660 arg2 = (int) SWIG_AsInt(obj1);
28661 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28662 {
28663 arg3 = wxString_in_helper(obj2);
28664 if (arg3 == NULL) SWIG_fail;
e811c8ce 28665 temp3 = True;
d14a1e28 28666 }
15afbcd0
RD
28667 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
28668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28669 if (obj4) {
28670 {
28671 arg5 = wxString_in_helper(obj4);
28672 if (arg5 == NULL) SWIG_fail;
e811c8ce 28673 temp5 = True;
d14a1e28
RD
28674 }
28675 }
28676 {
28677 PyThreadState* __tstate = wxPyBeginAllowThreads();
a41e16b6 28678 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
28679
28680 wxPyEndAllowThreads(__tstate);
28681 if (PyErr_Occurred()) SWIG_fail;
28682 }
a41e16b6
RD
28683 {
28684 resultobj = wxPyMake_wxObject(result);
28685 }
d14a1e28
RD
28686 {
28687 if (temp3)
28688 delete arg3;
28689 }
28690 {
28691 if (temp5)
28692 delete arg5;
28693 }
28694 return resultobj;
28695 fail:
28696 {
28697 if (temp3)
28698 delete arg3;
28699 }
28700 {
28701 if (temp5)
28702 delete arg5;
28703 }
28704 return NULL;
28705}
28706
28707
28708static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
28709 PyObject *resultobj;
28710 wxMenu *arg1 = (wxMenu *) 0 ;
28711 int arg2 ;
28712 wxMenuItem *result;
28713 PyObject * obj0 = 0 ;
994141e6 28714 PyObject * obj1 = 0 ;
d14a1e28 28715 char *kwnames[] = {
242b7b46 28716 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28717 };
28718
994141e6 28719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28722 arg2 = (int) SWIG_AsInt(obj1);
28723 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28724 {
28725 PyThreadState* __tstate = wxPyBeginAllowThreads();
28726 result = (wxMenuItem *)(arg1)->Remove(arg2);
28727
28728 wxPyEndAllowThreads(__tstate);
28729 if (PyErr_Occurred()) SWIG_fail;
28730 }
28731 {
28732 resultobj = wxPyMake_wxObject(result);
28733 }
28734 return resultobj;
28735 fail:
28736 return NULL;
28737}
28738
28739
28740static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28741 PyObject *resultobj;
28742 wxMenu *arg1 = (wxMenu *) 0 ;
28743 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28744 wxMenuItem *result;
28745 PyObject * obj0 = 0 ;
28746 PyObject * obj1 = 0 ;
28747 char *kwnames[] = {
28748 (char *) "self",(char *) "item", NULL
28749 };
28750
28751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28752 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28753 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28756 {
28757 PyThreadState* __tstate = wxPyBeginAllowThreads();
28758 result = (wxMenuItem *)(arg1)->Remove(arg2);
28759
28760 wxPyEndAllowThreads(__tstate);
28761 if (PyErr_Occurred()) SWIG_fail;
28762 }
28763 {
28764 resultobj = wxPyMake_wxObject(result);
28765 }
28766 return resultobj;
28767 fail:
28768 return NULL;
28769}
28770
28771
28772static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
28773 PyObject *resultobj;
28774 wxMenu *arg1 = (wxMenu *) 0 ;
28775 int arg2 ;
28776 bool result;
28777 PyObject * obj0 = 0 ;
994141e6 28778 PyObject * obj1 = 0 ;
d14a1e28 28779 char *kwnames[] = {
242b7b46 28780 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28781 };
28782
994141e6 28783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28786 arg2 = (int) SWIG_AsInt(obj1);
28787 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28788 {
28789 PyThreadState* __tstate = wxPyBeginAllowThreads();
28790 result = (bool)(arg1)->Delete(arg2);
28791
28792 wxPyEndAllowThreads(__tstate);
28793 if (PyErr_Occurred()) SWIG_fail;
28794 }
4f89f6a3
RD
28795 {
28796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28797 }
d14a1e28
RD
28798 return resultobj;
28799 fail:
28800 return NULL;
28801}
28802
28803
28804static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28805 PyObject *resultobj;
28806 wxMenu *arg1 = (wxMenu *) 0 ;
28807 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28808 bool result;
28809 PyObject * obj0 = 0 ;
28810 PyObject * obj1 = 0 ;
28811 char *kwnames[] = {
28812 (char *) "self",(char *) "item", NULL
28813 };
28814
28815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28818 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28820 {
28821 PyThreadState* __tstate = wxPyBeginAllowThreads();
28822 result = (bool)(arg1)->Delete(arg2);
28823
28824 wxPyEndAllowThreads(__tstate);
28825 if (PyErr_Occurred()) SWIG_fail;
28826 }
4f89f6a3
RD
28827 {
28828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28829 }
d14a1e28
RD
28830 return resultobj;
28831 fail:
28832 return NULL;
28833}
28834
28835
28836static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
28837 PyObject *resultobj;
28838 wxMenu *arg1 = (wxMenu *) 0 ;
28839 PyObject * obj0 = 0 ;
28840 char *kwnames[] = {
28841 (char *) "self", NULL
28842 };
28843
28844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
15afbcd0
RD
28845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28847 {
28848 PyThreadState* __tstate = wxPyBeginAllowThreads();
28849 wxMenu_Destroy(arg1);
28850
28851 wxPyEndAllowThreads(__tstate);
28852 if (PyErr_Occurred()) SWIG_fail;
28853 }
28854 Py_INCREF(Py_None); resultobj = Py_None;
28855 return resultobj;
28856 fail:
28857 return NULL;
28858}
28859
28860
28861static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
28862 PyObject *resultobj;
28863 wxMenu *arg1 = (wxMenu *) 0 ;
28864 int arg2 ;
28865 bool result;
28866 PyObject * obj0 = 0 ;
994141e6 28867 PyObject * obj1 = 0 ;
d14a1e28 28868 char *kwnames[] = {
242b7b46 28869 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28870 };
28871
994141e6 28872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28875 arg2 = (int) SWIG_AsInt(obj1);
28876 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28877 {
28878 PyThreadState* __tstate = wxPyBeginAllowThreads();
28879 result = (bool)(arg1)->Destroy(arg2);
28880
28881 wxPyEndAllowThreads(__tstate);
28882 if (PyErr_Occurred()) SWIG_fail;
28883 }
4f89f6a3
RD
28884 {
28885 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28886 }
d14a1e28
RD
28887 return resultobj;
28888 fail:
28889 return NULL;
28890}
28891
28892
28893static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28894 PyObject *resultobj;
28895 wxMenu *arg1 = (wxMenu *) 0 ;
28896 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28897 bool result;
28898 PyObject * obj0 = 0 ;
28899 PyObject * obj1 = 0 ;
28900 char *kwnames[] = {
28901 (char *) "self",(char *) "item", NULL
28902 };
28903
28904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28907 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28909 {
28910 PyThreadState* __tstate = wxPyBeginAllowThreads();
28911 result = (bool)(arg1)->Destroy(arg2);
28912
28913 wxPyEndAllowThreads(__tstate);
28914 if (PyErr_Occurred()) SWIG_fail;
28915 }
4f89f6a3
RD
28916 {
28917 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28918 }
d14a1e28
RD
28919 return resultobj;
28920 fail:
28921 return NULL;
28922}
28923
28924
28925static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
28926 PyObject *resultobj;
28927 wxMenu *arg1 = (wxMenu *) 0 ;
28928 size_t result;
28929 PyObject * obj0 = 0 ;
28930 char *kwnames[] = {
28931 (char *) "self", NULL
28932 };
28933
28934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
28935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28937 {
28938 PyThreadState* __tstate = wxPyBeginAllowThreads();
28939 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
28940
28941 wxPyEndAllowThreads(__tstate);
28942 if (PyErr_Occurred()) SWIG_fail;
28943 }
15afbcd0 28944 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
28945 return resultobj;
28946 fail:
28947 return NULL;
28948}
28949
28950
28951static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
28952 PyObject *resultobj;
28953 wxMenu *arg1 = (wxMenu *) 0 ;
28954 PyObject *result;
28955 PyObject * obj0 = 0 ;
28956 char *kwnames[] = {
28957 (char *) "self", NULL
28958 };
28959
28960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
15afbcd0
RD
28961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28963 {
28964 PyThreadState* __tstate = wxPyBeginAllowThreads();
28965 result = (PyObject *)wxMenu_GetMenuItems(arg1);
28966
28967 wxPyEndAllowThreads(__tstate);
28968 if (PyErr_Occurred()) SWIG_fail;
28969 }
28970 resultobj = result;
28971 return resultobj;
28972 fail:
28973 return NULL;
28974}
28975
28976
28977static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28978 PyObject *resultobj;
28979 wxMenu *arg1 = (wxMenu *) 0 ;
28980 wxString *arg2 = 0 ;
28981 int result;
e811c8ce 28982 bool temp2 = False ;
d14a1e28
RD
28983 PyObject * obj0 = 0 ;
28984 PyObject * obj1 = 0 ;
28985 char *kwnames[] = {
28986 (char *) "self",(char *) "item", NULL
28987 };
28988
28989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
28990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28992 {
28993 arg2 = wxString_in_helper(obj1);
28994 if (arg2 == NULL) SWIG_fail;
e811c8ce 28995 temp2 = True;
d14a1e28
RD
28996 }
28997 {
28998 PyThreadState* __tstate = wxPyBeginAllowThreads();
28999 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
29000
29001 wxPyEndAllowThreads(__tstate);
29002 if (PyErr_Occurred()) SWIG_fail;
29003 }
15afbcd0 29004 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
29005 {
29006 if (temp2)
29007 delete arg2;
29008 }
29009 return resultobj;
29010 fail:
29011 {
29012 if (temp2)
29013 delete arg2;
29014 }
29015 return NULL;
29016}
29017
29018
29019static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
29020 PyObject *resultobj;
29021 wxMenu *arg1 = (wxMenu *) 0 ;
29022 int arg2 ;
29023 wxMenuItem *result;
29024 PyObject * obj0 = 0 ;
994141e6 29025 PyObject * obj1 = 0 ;
d14a1e28 29026 char *kwnames[] = {
242b7b46 29027 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29028 };
29029
994141e6 29030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29033 arg2 = (int) SWIG_AsInt(obj1);
29034 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29035 {
29036 PyThreadState* __tstate = wxPyBeginAllowThreads();
29037 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
29038
29039 wxPyEndAllowThreads(__tstate);
29040 if (PyErr_Occurred()) SWIG_fail;
29041 }
29042 {
29043 resultobj = wxPyMake_wxObject(result);
29044 }
29045 return resultobj;
29046 fail:
29047 return NULL;
29048}
29049
29050
29051static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
29052 PyObject *resultobj;
29053 wxMenu *arg1 = (wxMenu *) 0 ;
29054 size_t arg2 ;
29055 wxMenuItem *result;
29056 PyObject * obj0 = 0 ;
29057 PyObject * obj1 = 0 ;
29058 char *kwnames[] = {
29059 (char *) "self",(char *) "position", NULL
29060 };
29061
29062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29065 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29067 {
29068 PyThreadState* __tstate = wxPyBeginAllowThreads();
29069 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
29070
29071 wxPyEndAllowThreads(__tstate);
29072 if (PyErr_Occurred()) SWIG_fail;
29073 }
29074 {
29075 resultobj = wxPyMake_wxObject(result);
29076 }
29077 return resultobj;
29078 fail:
29079 return NULL;
29080}
29081
29082
29083static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
29084 PyObject *resultobj;
29085 wxMenu *arg1 = (wxMenu *) 0 ;
29086 int arg2 ;
29087 bool arg3 ;
29088 PyObject * obj0 = 0 ;
994141e6 29089 PyObject * obj1 = 0 ;
d14a1e28
RD
29090 PyObject * obj2 = 0 ;
29091 char *kwnames[] = {
242b7b46 29092 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
29093 };
29094
994141e6 29095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29098 arg2 = (int) SWIG_AsInt(obj1);
29099 if (PyErr_Occurred()) SWIG_fail;
29100 arg3 = (bool) SWIG_AsBool(obj2);
29101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29102 {
29103 PyThreadState* __tstate = wxPyBeginAllowThreads();
29104 (arg1)->Enable(arg2,arg3);
29105
29106 wxPyEndAllowThreads(__tstate);
29107 if (PyErr_Occurred()) SWIG_fail;
29108 }
29109 Py_INCREF(Py_None); resultobj = Py_None;
29110 return resultobj;
29111 fail:
29112 return NULL;
29113}
29114
29115
29116static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
29117 PyObject *resultobj;
29118 wxMenu *arg1 = (wxMenu *) 0 ;
29119 int arg2 ;
29120 bool result;
29121 PyObject * obj0 = 0 ;
994141e6 29122 PyObject * obj1 = 0 ;
d14a1e28 29123 char *kwnames[] = {
242b7b46 29124 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29125 };
29126
994141e6 29127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29130 arg2 = (int) SWIG_AsInt(obj1);
29131 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29132 {
29133 PyThreadState* __tstate = wxPyBeginAllowThreads();
29134 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
29135
29136 wxPyEndAllowThreads(__tstate);
29137 if (PyErr_Occurred()) SWIG_fail;
29138 }
4f89f6a3
RD
29139 {
29140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29141 }
d14a1e28
RD
29142 return resultobj;
29143 fail:
29144 return NULL;
29145}
29146
29147
29148static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
29149 PyObject *resultobj;
29150 wxMenu *arg1 = (wxMenu *) 0 ;
29151 int arg2 ;
29152 bool arg3 ;
29153 PyObject * obj0 = 0 ;
994141e6 29154 PyObject * obj1 = 0 ;
d14a1e28
RD
29155 PyObject * obj2 = 0 ;
29156 char *kwnames[] = {
242b7b46 29157 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
29158 };
29159
994141e6 29160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29163 arg2 = (int) SWIG_AsInt(obj1);
29164 if (PyErr_Occurred()) SWIG_fail;
29165 arg3 = (bool) SWIG_AsBool(obj2);
29166 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29167 {
29168 PyThreadState* __tstate = wxPyBeginAllowThreads();
29169 (arg1)->Check(arg2,arg3);
29170
29171 wxPyEndAllowThreads(__tstate);
29172 if (PyErr_Occurred()) SWIG_fail;
29173 }
29174 Py_INCREF(Py_None); resultobj = Py_None;
29175 return resultobj;
29176 fail:
29177 return NULL;
29178}
29179
29180
29181static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
29182 PyObject *resultobj;
29183 wxMenu *arg1 = (wxMenu *) 0 ;
29184 int arg2 ;
29185 bool result;
29186 PyObject * obj0 = 0 ;
994141e6 29187 PyObject * obj1 = 0 ;
d14a1e28 29188 char *kwnames[] = {
242b7b46 29189 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29190 };
29191
994141e6 29192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29195 arg2 = (int) SWIG_AsInt(obj1);
29196 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29197 {
29198 PyThreadState* __tstate = wxPyBeginAllowThreads();
29199 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
29200
29201 wxPyEndAllowThreads(__tstate);
29202 if (PyErr_Occurred()) SWIG_fail;
29203 }
4f89f6a3
RD
29204 {
29205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29206 }
d14a1e28
RD
29207 return resultobj;
29208 fail:
29209 return NULL;
29210}
29211
29212
29213static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
29214 PyObject *resultobj;
29215 wxMenu *arg1 = (wxMenu *) 0 ;
29216 int arg2 ;
29217 wxString *arg3 = 0 ;
e811c8ce 29218 bool temp3 = False ;
d14a1e28 29219 PyObject * obj0 = 0 ;
994141e6 29220 PyObject * obj1 = 0 ;
d14a1e28
RD
29221 PyObject * obj2 = 0 ;
29222 char *kwnames[] = {
242b7b46 29223 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
29224 };
29225
994141e6 29226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29229 arg2 = (int) SWIG_AsInt(obj1);
29230 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29231 {
29232 arg3 = wxString_in_helper(obj2);
29233 if (arg3 == NULL) SWIG_fail;
e811c8ce 29234 temp3 = True;
d14a1e28
RD
29235 }
29236 {
29237 PyThreadState* __tstate = wxPyBeginAllowThreads();
29238 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
29239
29240 wxPyEndAllowThreads(__tstate);
29241 if (PyErr_Occurred()) SWIG_fail;
29242 }
29243 Py_INCREF(Py_None); resultobj = Py_None;
29244 {
29245 if (temp3)
29246 delete arg3;
29247 }
29248 return resultobj;
29249 fail:
29250 {
29251 if (temp3)
29252 delete arg3;
29253 }
29254 return NULL;
29255}
29256
29257
29258static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
29259 PyObject *resultobj;
29260 wxMenu *arg1 = (wxMenu *) 0 ;
29261 int arg2 ;
29262 wxString result;
29263 PyObject * obj0 = 0 ;
994141e6 29264 PyObject * obj1 = 0 ;
d14a1e28 29265 char *kwnames[] = {
242b7b46 29266 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29267 };
29268
994141e6 29269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29272 arg2 = (int) SWIG_AsInt(obj1);
29273 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29274 {
29275 PyThreadState* __tstate = wxPyBeginAllowThreads();
29276 result = ((wxMenu const *)arg1)->GetLabel(arg2);
29277
29278 wxPyEndAllowThreads(__tstate);
29279 if (PyErr_Occurred()) SWIG_fail;
29280 }
29281 {
29282#if wxUSE_UNICODE
29283 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29284#else
29285 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29286#endif
29287 }
29288 return resultobj;
29289 fail:
29290 return NULL;
29291}
29292
29293
29294static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
29295 PyObject *resultobj;
29296 wxMenu *arg1 = (wxMenu *) 0 ;
29297 int arg2 ;
29298 wxString *arg3 = 0 ;
e811c8ce 29299 bool temp3 = False ;
d14a1e28 29300 PyObject * obj0 = 0 ;
994141e6 29301 PyObject * obj1 = 0 ;
d14a1e28
RD
29302 PyObject * obj2 = 0 ;
29303 char *kwnames[] = {
242b7b46 29304 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
29305 };
29306
994141e6 29307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29310 arg2 = (int) SWIG_AsInt(obj1);
29311 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29312 {
29313 arg3 = wxString_in_helper(obj2);
29314 if (arg3 == NULL) SWIG_fail;
e811c8ce 29315 temp3 = True;
d14a1e28
RD
29316 }
29317 {
29318 PyThreadState* __tstate = wxPyBeginAllowThreads();
29319 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
29320
29321 wxPyEndAllowThreads(__tstate);
29322 if (PyErr_Occurred()) SWIG_fail;
29323 }
29324 Py_INCREF(Py_None); resultobj = Py_None;
29325 {
29326 if (temp3)
29327 delete arg3;
29328 }
29329 return resultobj;
29330 fail:
29331 {
29332 if (temp3)
29333 delete arg3;
29334 }
29335 return NULL;
29336}
29337
29338
29339static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
29340 PyObject *resultobj;
29341 wxMenu *arg1 = (wxMenu *) 0 ;
29342 int arg2 ;
29343 wxString result;
29344 PyObject * obj0 = 0 ;
994141e6 29345 PyObject * obj1 = 0 ;
d14a1e28 29346 char *kwnames[] = {
242b7b46 29347 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29348 };
29349
994141e6 29350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29353 arg2 = (int) SWIG_AsInt(obj1);
29354 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29355 {
29356 PyThreadState* __tstate = wxPyBeginAllowThreads();
29357 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
29358
29359 wxPyEndAllowThreads(__tstate);
29360 if (PyErr_Occurred()) SWIG_fail;
29361 }
29362 {
29363#if wxUSE_UNICODE
29364 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29365#else
29366 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29367#endif
29368 }
29369 return resultobj;
29370 fail:
29371 return NULL;
29372}
29373
29374
29375static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
29376 PyObject *resultobj;
29377 wxMenu *arg1 = (wxMenu *) 0 ;
29378 wxString *arg2 = 0 ;
e811c8ce 29379 bool temp2 = False ;
d14a1e28
RD
29380 PyObject * obj0 = 0 ;
29381 PyObject * obj1 = 0 ;
29382 char *kwnames[] = {
29383 (char *) "self",(char *) "title", NULL
29384 };
29385
29386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29389 {
29390 arg2 = wxString_in_helper(obj1);
29391 if (arg2 == NULL) SWIG_fail;
e811c8ce 29392 temp2 = True;
d14a1e28
RD
29393 }
29394 {
29395 PyThreadState* __tstate = wxPyBeginAllowThreads();
29396 (arg1)->SetTitle((wxString const &)*arg2);
29397
29398 wxPyEndAllowThreads(__tstate);
29399 if (PyErr_Occurred()) SWIG_fail;
29400 }
29401 Py_INCREF(Py_None); resultobj = Py_None;
29402 {
29403 if (temp2)
29404 delete arg2;
29405 }
29406 return resultobj;
29407 fail:
29408 {
29409 if (temp2)
29410 delete arg2;
29411 }
29412 return NULL;
29413}
29414
29415
29416static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
29417 PyObject *resultobj;
29418 wxMenu *arg1 = (wxMenu *) 0 ;
29419 wxString result;
29420 PyObject * obj0 = 0 ;
29421 char *kwnames[] = {
29422 (char *) "self", NULL
29423 };
29424
29425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
15afbcd0
RD
29426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29428 {
29429 PyThreadState* __tstate = wxPyBeginAllowThreads();
29430 result = ((wxMenu const *)arg1)->GetTitle();
29431
29432 wxPyEndAllowThreads(__tstate);
29433 if (PyErr_Occurred()) SWIG_fail;
29434 }
29435 {
29436#if wxUSE_UNICODE
29437 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29438#else
29439 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29440#endif
29441 }
29442 return resultobj;
29443 fail:
29444 return NULL;
29445}
29446
29447
29448static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
29449 PyObject *resultobj;
29450 wxMenu *arg1 = (wxMenu *) 0 ;
29451 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
29452 PyObject * obj0 = 0 ;
29453 PyObject * obj1 = 0 ;
29454 char *kwnames[] = {
29455 (char *) "self",(char *) "handler", NULL
29456 };
29457
29458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
29462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29463 {
29464 PyThreadState* __tstate = wxPyBeginAllowThreads();
29465 (arg1)->SetEventHandler(arg2);
29466
29467 wxPyEndAllowThreads(__tstate);
29468 if (PyErr_Occurred()) SWIG_fail;
29469 }
29470 Py_INCREF(Py_None); resultobj = Py_None;
29471 return resultobj;
29472 fail:
29473 return NULL;
29474}
29475
29476
29477static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
29478 PyObject *resultobj;
29479 wxMenu *arg1 = (wxMenu *) 0 ;
29480 wxEvtHandler *result;
29481 PyObject * obj0 = 0 ;
29482 char *kwnames[] = {
29483 (char *) "self", NULL
29484 };
29485
29486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
15afbcd0
RD
29487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29489 {
29490 PyThreadState* __tstate = wxPyBeginAllowThreads();
29491 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
29492
29493 wxPyEndAllowThreads(__tstate);
29494 if (PyErr_Occurred()) SWIG_fail;
29495 }
29496 {
29497 resultobj = wxPyMake_wxObject(result);
29498 }
29499 return resultobj;
29500 fail:
29501 return NULL;
29502}
29503
29504
29505static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29506 PyObject *resultobj;
29507 wxMenu *arg1 = (wxMenu *) 0 ;
29508 wxWindow *arg2 = (wxWindow *) 0 ;
29509 PyObject * obj0 = 0 ;
29510 PyObject * obj1 = 0 ;
29511 char *kwnames[] = {
29512 (char *) "self",(char *) "win", NULL
29513 };
29514
29515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29518 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29520 {
29521 PyThreadState* __tstate = wxPyBeginAllowThreads();
29522 (arg1)->SetInvokingWindow(arg2);
29523
29524 wxPyEndAllowThreads(__tstate);
29525 if (PyErr_Occurred()) SWIG_fail;
29526 }
29527 Py_INCREF(Py_None); resultobj = Py_None;
29528 return resultobj;
29529 fail:
29530 return NULL;
29531}
29532
29533
29534static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29535 PyObject *resultobj;
29536 wxMenu *arg1 = (wxMenu *) 0 ;
29537 wxWindow *result;
29538 PyObject * obj0 = 0 ;
29539 char *kwnames[] = {
29540 (char *) "self", NULL
29541 };
29542
29543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
29544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29546 {
29547 PyThreadState* __tstate = wxPyBeginAllowThreads();
29548 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
29549
29550 wxPyEndAllowThreads(__tstate);
29551 if (PyErr_Occurred()) SWIG_fail;
29552 }
29553 {
29554 resultobj = wxPyMake_wxObject(result);
29555 }
29556 return resultobj;
29557 fail:
29558 return NULL;
29559}
29560
29561
29562static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
29563 PyObject *resultobj;
29564 wxMenu *arg1 = (wxMenu *) 0 ;
29565 long result;
29566 PyObject * obj0 = 0 ;
29567 char *kwnames[] = {
29568 (char *) "self", NULL
29569 };
29570
29571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
15afbcd0
RD
29572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29574 {
29575 PyThreadState* __tstate = wxPyBeginAllowThreads();
29576 result = (long)((wxMenu const *)arg1)->GetStyle();
29577
29578 wxPyEndAllowThreads(__tstate);
29579 if (PyErr_Occurred()) SWIG_fail;
29580 }
15afbcd0 29581 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
29582 return resultobj;
29583 fail:
29584 return NULL;
29585}
29586
29587
29588static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
29589 PyObject *resultobj;
29590 wxMenu *arg1 = (wxMenu *) 0 ;
29591 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
29592 PyObject * obj0 = 0 ;
29593 PyObject * obj1 = 0 ;
29594 char *kwnames[] = {
29595 (char *) "self",(char *) "source", NULL
29596 };
29597
29598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 29601 if (obj1) {
15afbcd0
RD
29602 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
29603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29604 }
29605 {
29606 PyThreadState* __tstate = wxPyBeginAllowThreads();
29607 (arg1)->UpdateUI(arg2);
29608
29609 wxPyEndAllowThreads(__tstate);
29610 if (PyErr_Occurred()) SWIG_fail;
29611 }
29612 Py_INCREF(Py_None); resultobj = Py_None;
29613 return resultobj;
29614 fail:
29615 return NULL;
29616}
29617
29618
29619static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
29620 PyObject *resultobj;
29621 wxMenu *arg1 = (wxMenu *) 0 ;
29622 wxMenuBar *result;
29623 PyObject * obj0 = 0 ;
29624 char *kwnames[] = {
29625 (char *) "self", NULL
29626 };
29627
29628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
15afbcd0
RD
29629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29631 {
29632 PyThreadState* __tstate = wxPyBeginAllowThreads();
29633 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
29634
29635 wxPyEndAllowThreads(__tstate);
29636 if (PyErr_Occurred()) SWIG_fail;
29637 }
29638 {
29639 resultobj = wxPyMake_wxObject(result);
29640 }
29641 return resultobj;
29642 fail:
29643 return NULL;
29644}
29645
29646
29647static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
29648 PyObject *resultobj;
29649 wxMenu *arg1 = (wxMenu *) 0 ;
29650 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
29651 PyObject * obj0 = 0 ;
29652 PyObject * obj1 = 0 ;
29653 char *kwnames[] = {
29654 (char *) "self",(char *) "menubar", NULL
29655 };
29656
29657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
29661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29662 {
29663 PyThreadState* __tstate = wxPyBeginAllowThreads();
29664 (arg1)->Attach(arg2);
29665
29666 wxPyEndAllowThreads(__tstate);
29667 if (PyErr_Occurred()) SWIG_fail;
29668 }
29669 Py_INCREF(Py_None); resultobj = Py_None;
29670 return resultobj;
29671 fail:
29672 return NULL;
29673}
29674
29675
29676static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
29677 PyObject *resultobj;
29678 wxMenu *arg1 = (wxMenu *) 0 ;
29679 PyObject * obj0 = 0 ;
29680 char *kwnames[] = {
29681 (char *) "self", NULL
29682 };
29683
29684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
29685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29687 {
29688 PyThreadState* __tstate = wxPyBeginAllowThreads();
29689 (arg1)->Detach();
29690
29691 wxPyEndAllowThreads(__tstate);
29692 if (PyErr_Occurred()) SWIG_fail;
29693 }
29694 Py_INCREF(Py_None); resultobj = Py_None;
29695 return resultobj;
29696 fail:
29697 return NULL;
29698}
29699
29700
29701static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
29702 PyObject *resultobj;
29703 wxMenu *arg1 = (wxMenu *) 0 ;
29704 bool result;
29705 PyObject * obj0 = 0 ;
29706 char *kwnames[] = {
29707 (char *) "self", NULL
29708 };
29709
29710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
29711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29713 {
29714 PyThreadState* __tstate = wxPyBeginAllowThreads();
29715 result = (bool)((wxMenu const *)arg1)->IsAttached();
29716
29717 wxPyEndAllowThreads(__tstate);
29718 if (PyErr_Occurred()) SWIG_fail;
29719 }
4f89f6a3
RD
29720 {
29721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29722 }
d14a1e28
RD
29723 return resultobj;
29724 fail:
29725 return NULL;
29726}
29727
29728
29729static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
29730 PyObject *resultobj;
29731 wxMenu *arg1 = (wxMenu *) 0 ;
29732 wxMenu *arg2 = (wxMenu *) 0 ;
29733 PyObject * obj0 = 0 ;
29734 PyObject * obj1 = 0 ;
29735 char *kwnames[] = {
29736 (char *) "self",(char *) "parent", NULL
29737 };
29738
29739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29742 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
29743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29744 {
29745 PyThreadState* __tstate = wxPyBeginAllowThreads();
29746 (arg1)->SetParent(arg2);
29747
29748 wxPyEndAllowThreads(__tstate);
29749 if (PyErr_Occurred()) SWIG_fail;
29750 }
29751 Py_INCREF(Py_None); resultobj = Py_None;
29752 return resultobj;
29753 fail:
29754 return NULL;
29755}
29756
29757
29758static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
29759 PyObject *resultobj;
29760 wxMenu *arg1 = (wxMenu *) 0 ;
29761 wxMenu *result;
29762 PyObject * obj0 = 0 ;
29763 char *kwnames[] = {
29764 (char *) "self", NULL
29765 };
29766
29767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
15afbcd0
RD
29768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29770 {
29771 PyThreadState* __tstate = wxPyBeginAllowThreads();
29772 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
29773
29774 wxPyEndAllowThreads(__tstate);
29775 if (PyErr_Occurred()) SWIG_fail;
29776 }
29777 {
29778 resultobj = wxPyMake_wxObject(result);
29779 }
29780 return resultobj;
29781 fail:
29782 return NULL;
29783}
29784
29785
29786static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
29787 PyObject *obj;
29788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29789 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
29790 Py_INCREF(obj);
29791 return Py_BuildValue((char *)"");
29792}
29793static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
29794 PyObject *resultobj;
29795 long arg1 = (long) 0 ;
29796 wxMenuBar *result;
994141e6 29797 PyObject * obj0 = 0 ;
d14a1e28
RD
29798 char *kwnames[] = {
29799 (char *) "style", NULL
29800 };
29801
994141e6
RD
29802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
29803 if (obj0) {
15afbcd0
RD
29804 arg1 = (long) SWIG_AsLong(obj0);
29805 if (PyErr_Occurred()) SWIG_fail;
994141e6 29806 }
d14a1e28
RD
29807 {
29808 PyThreadState* __tstate = wxPyBeginAllowThreads();
29809 result = (wxMenuBar *)new wxMenuBar(arg1);
29810
29811 wxPyEndAllowThreads(__tstate);
29812 if (PyErr_Occurred()) SWIG_fail;
29813 }
29814 {
29815 resultobj = wxPyMake_wxObject(result);
29816 }
29817 return resultobj;
29818 fail:
29819 return NULL;
29820}
29821
29822
29823static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
29824 PyObject *resultobj;
29825 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29826 wxMenu *arg2 = (wxMenu *) 0 ;
29827 wxString *arg3 = 0 ;
29828 bool result;
e811c8ce 29829 bool temp3 = False ;
d14a1e28
RD
29830 PyObject * obj0 = 0 ;
29831 PyObject * obj1 = 0 ;
29832 PyObject * obj2 = 0 ;
29833 char *kwnames[] = {
29834 (char *) "self",(char *) "menu",(char *) "title", NULL
29835 };
29836
29837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
29838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29840 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
29841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29842 {
29843 arg3 = wxString_in_helper(obj2);
29844 if (arg3 == NULL) SWIG_fail;
e811c8ce 29845 temp3 = True;
d14a1e28
RD
29846 }
29847 {
29848 PyThreadState* __tstate = wxPyBeginAllowThreads();
29849 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
29850
29851 wxPyEndAllowThreads(__tstate);
29852 if (PyErr_Occurred()) SWIG_fail;
29853 }
4f89f6a3
RD
29854 {
29855 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29856 }
d14a1e28
RD
29857 {
29858 if (temp3)
29859 delete arg3;
29860 }
29861 return resultobj;
29862 fail:
29863 {
29864 if (temp3)
29865 delete arg3;
29866 }
29867 return NULL;
29868}
29869
29870
29871static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29872 PyObject *resultobj;
29873 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29874 size_t arg2 ;
29875 wxMenu *arg3 = (wxMenu *) 0 ;
29876 wxString *arg4 = 0 ;
29877 bool result;
e811c8ce 29878 bool temp4 = False ;
d14a1e28
RD
29879 PyObject * obj0 = 0 ;
29880 PyObject * obj1 = 0 ;
29881 PyObject * obj2 = 0 ;
29882 PyObject * obj3 = 0 ;
29883 char *kwnames[] = {
29884 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29885 };
29886
29887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29890 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29891 if (PyErr_Occurred()) SWIG_fail;
29892 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
29893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29894 {
29895 arg4 = wxString_in_helper(obj3);
29896 if (arg4 == NULL) SWIG_fail;
e811c8ce 29897 temp4 = True;
d14a1e28
RD
29898 }
29899 {
29900 PyThreadState* __tstate = wxPyBeginAllowThreads();
29901 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
29902
29903 wxPyEndAllowThreads(__tstate);
29904 if (PyErr_Occurred()) SWIG_fail;
29905 }
4f89f6a3
RD
29906 {
29907 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29908 }
d14a1e28
RD
29909 {
29910 if (temp4)
29911 delete arg4;
29912 }
29913 return resultobj;
29914 fail:
29915 {
29916 if (temp4)
29917 delete arg4;
29918 }
29919 return NULL;
29920}
29921
29922
29923static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29924 PyObject *resultobj;
29925 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29926 size_t result;
29927 PyObject * obj0 = 0 ;
29928 char *kwnames[] = {
29929 (char *) "self", NULL
29930 };
29931
29932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
29933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29935 {
29936 PyThreadState* __tstate = wxPyBeginAllowThreads();
29937 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
29938
29939 wxPyEndAllowThreads(__tstate);
29940 if (PyErr_Occurred()) SWIG_fail;
29941 }
15afbcd0 29942 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
29943 return resultobj;
29944 fail:
29945 return NULL;
29946}
29947
29948
29949static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29950 PyObject *resultobj;
29951 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29952 size_t arg2 ;
29953 wxMenu *result;
29954 PyObject * obj0 = 0 ;
29955 PyObject * obj1 = 0 ;
29956 char *kwnames[] = {
29957 (char *) "self",(char *) "pos", NULL
29958 };
29959
29960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
29961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29963 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29964 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29965 {
29966 PyThreadState* __tstate = wxPyBeginAllowThreads();
29967 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
29968
29969 wxPyEndAllowThreads(__tstate);
29970 if (PyErr_Occurred()) SWIG_fail;
29971 }
29972 {
29973 resultobj = wxPyMake_wxObject(result);
29974 }
29975 return resultobj;
29976 fail:
29977 return NULL;
29978}
29979
29980
29981static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
29982 PyObject *resultobj;
29983 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29984 size_t arg2 ;
29985 wxMenu *arg3 = (wxMenu *) 0 ;
29986 wxString *arg4 = 0 ;
29987 wxMenu *result;
e811c8ce 29988 bool temp4 = False ;
d14a1e28
RD
29989 PyObject * obj0 = 0 ;
29990 PyObject * obj1 = 0 ;
29991 PyObject * obj2 = 0 ;
29992 PyObject * obj3 = 0 ;
29993 char *kwnames[] = {
29994 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29995 };
29996
29997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
29998 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29999 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30000 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30001 if (PyErr_Occurred()) SWIG_fail;
30002 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30004 {
30005 arg4 = wxString_in_helper(obj3);
30006 if (arg4 == NULL) SWIG_fail;
e811c8ce 30007 temp4 = True;
d14a1e28
RD
30008 }
30009 {
30010 PyThreadState* __tstate = wxPyBeginAllowThreads();
30011 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
30012
30013 wxPyEndAllowThreads(__tstate);
30014 if (PyErr_Occurred()) SWIG_fail;
30015 }
30016 {
30017 resultobj = wxPyMake_wxObject(result);
30018 }
30019 {
30020 if (temp4)
30021 delete arg4;
30022 }
30023 return resultobj;
30024 fail:
30025 {
30026 if (temp4)
30027 delete arg4;
30028 }
30029 return NULL;
30030}
30031
30032
30033static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
30034 PyObject *resultobj;
30035 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30036 size_t arg2 ;
30037 wxMenu *result;
30038 PyObject * obj0 = 0 ;
30039 PyObject * obj1 = 0 ;
30040 char *kwnames[] = {
30041 (char *) "self",(char *) "pos", NULL
30042 };
30043
30044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30047 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30048 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30049 {
30050 PyThreadState* __tstate = wxPyBeginAllowThreads();
30051 result = (wxMenu *)(arg1)->Remove(arg2);
30052
30053 wxPyEndAllowThreads(__tstate);
30054 if (PyErr_Occurred()) SWIG_fail;
30055 }
30056 {
30057 resultobj = wxPyMake_wxObject(result);
30058 }
30059 return resultobj;
30060 fail:
30061 return NULL;
30062}
30063
30064
30065static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30066 PyObject *resultobj;
30067 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30068 size_t arg2 ;
30069 bool arg3 ;
30070 PyObject * obj0 = 0 ;
30071 PyObject * obj1 = 0 ;
30072 PyObject * obj2 = 0 ;
30073 char *kwnames[] = {
30074 (char *) "self",(char *) "pos",(char *) "enable", NULL
30075 };
30076
30077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30080 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30081 if (PyErr_Occurred()) SWIG_fail;
30082 arg3 = (bool) SWIG_AsBool(obj2);
30083 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30084 {
30085 PyThreadState* __tstate = wxPyBeginAllowThreads();
30086 (arg1)->EnableTop(arg2,arg3);
30087
30088 wxPyEndAllowThreads(__tstate);
30089 if (PyErr_Occurred()) SWIG_fail;
30090 }
30091 Py_INCREF(Py_None); resultobj = Py_None;
30092 return resultobj;
30093 fail:
30094 return NULL;
30095}
30096
30097
30098static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30099 PyObject *resultobj;
30100 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30101 size_t arg2 ;
30102 bool result;
30103 PyObject * obj0 = 0 ;
30104 PyObject * obj1 = 0 ;
30105 char *kwnames[] = {
30106 (char *) "self",(char *) "pos", NULL
30107 };
30108
30109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30112 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30114 {
30115 PyThreadState* __tstate = wxPyBeginAllowThreads();
30116 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
30117
30118 wxPyEndAllowThreads(__tstate);
30119 if (PyErr_Occurred()) SWIG_fail;
30120 }
4f89f6a3
RD
30121 {
30122 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30123 }
d14a1e28
RD
30124 return resultobj;
30125 fail:
30126 return NULL;
30127}
30128
30129
30130static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30131 PyObject *resultobj;
30132 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30133 size_t arg2 ;
30134 wxString *arg3 = 0 ;
e811c8ce 30135 bool temp3 = False ;
d14a1e28
RD
30136 PyObject * obj0 = 0 ;
30137 PyObject * obj1 = 0 ;
30138 PyObject * obj2 = 0 ;
30139 char *kwnames[] = {
30140 (char *) "self",(char *) "pos",(char *) "label", NULL
30141 };
30142
30143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30146 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30147 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30148 {
30149 arg3 = wxString_in_helper(obj2);
30150 if (arg3 == NULL) SWIG_fail;
e811c8ce 30151 temp3 = True;
d14a1e28
RD
30152 }
30153 {
30154 PyThreadState* __tstate = wxPyBeginAllowThreads();
30155 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
30156
30157 wxPyEndAllowThreads(__tstate);
30158 if (PyErr_Occurred()) SWIG_fail;
30159 }
30160 Py_INCREF(Py_None); resultobj = Py_None;
30161 {
30162 if (temp3)
30163 delete arg3;
30164 }
30165 return resultobj;
30166 fail:
30167 {
30168 if (temp3)
30169 delete arg3;
30170 }
30171 return NULL;
30172}
30173
30174
30175static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
30176 PyObject *resultobj;
30177 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30178 size_t arg2 ;
30179 wxString result;
30180 PyObject * obj0 = 0 ;
30181 PyObject * obj1 = 0 ;
30182 char *kwnames[] = {
30183 (char *) "self",(char *) "pos", NULL
30184 };
30185
30186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30189 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30190 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30191 {
30192 PyThreadState* __tstate = wxPyBeginAllowThreads();
30193 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
30194
30195 wxPyEndAllowThreads(__tstate);
30196 if (PyErr_Occurred()) SWIG_fail;
30197 }
30198 {
30199#if wxUSE_UNICODE
30200 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30201#else
30202 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30203#endif
30204 }
30205 return resultobj;
30206 fail:
30207 return NULL;
30208}
30209
30210
30211static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30212 PyObject *resultobj;
30213 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30214 wxString *arg2 = 0 ;
30215 wxString *arg3 = 0 ;
30216 int result;
e811c8ce
RD
30217 bool temp2 = False ;
30218 bool temp3 = False ;
d14a1e28
RD
30219 PyObject * obj0 = 0 ;
30220 PyObject * obj1 = 0 ;
30221 PyObject * obj2 = 0 ;
30222 char *kwnames[] = {
30223 (char *) "self",(char *) "menu",(char *) "item", NULL
30224 };
30225
30226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30229 {
30230 arg2 = wxString_in_helper(obj1);
30231 if (arg2 == NULL) SWIG_fail;
e811c8ce 30232 temp2 = True;
d14a1e28
RD
30233 }
30234 {
30235 arg3 = wxString_in_helper(obj2);
30236 if (arg3 == NULL) SWIG_fail;
e811c8ce 30237 temp3 = True;
d14a1e28
RD
30238 }
30239 {
30240 PyThreadState* __tstate = wxPyBeginAllowThreads();
30241 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
30242
30243 wxPyEndAllowThreads(__tstate);
30244 if (PyErr_Occurred()) SWIG_fail;
30245 }
15afbcd0 30246 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
30247 {
30248 if (temp2)
30249 delete arg2;
30250 }
30251 {
30252 if (temp3)
30253 delete arg3;
30254 }
30255 return resultobj;
30256 fail:
30257 {
30258 if (temp2)
30259 delete arg2;
30260 }
30261 {
30262 if (temp3)
30263 delete arg3;
30264 }
30265 return NULL;
30266}
30267
30268
30269static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
30270 PyObject *resultobj;
30271 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30272 int arg2 ;
30273 wxMenuItem *result;
30274 PyObject * obj0 = 0 ;
994141e6 30275 PyObject * obj1 = 0 ;
d14a1e28 30276 char *kwnames[] = {
242b7b46 30277 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30278 };
30279
994141e6 30280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30283 arg2 = (int) SWIG_AsInt(obj1);
30284 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30285 {
30286 PyThreadState* __tstate = wxPyBeginAllowThreads();
30287 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
30288
30289 wxPyEndAllowThreads(__tstate);
30290 if (PyErr_Occurred()) SWIG_fail;
30291 }
30292 {
30293 resultobj = wxPyMake_wxObject(result);
30294 }
30295 return resultobj;
30296 fail:
30297 return NULL;
30298}
30299
30300
30301static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30302 PyObject *resultobj;
30303 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30304 wxString *arg2 = 0 ;
30305 int result;
e811c8ce 30306 bool temp2 = False ;
d14a1e28
RD
30307 PyObject * obj0 = 0 ;
30308 PyObject * obj1 = 0 ;
30309 char *kwnames[] = {
30310 (char *) "self",(char *) "title", NULL
30311 };
30312
30313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30316 {
30317 arg2 = wxString_in_helper(obj1);
30318 if (arg2 == NULL) SWIG_fail;
e811c8ce 30319 temp2 = True;
d14a1e28
RD
30320 }
30321 {
30322 PyThreadState* __tstate = wxPyBeginAllowThreads();
30323 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
30324
30325 wxPyEndAllowThreads(__tstate);
30326 if (PyErr_Occurred()) SWIG_fail;
30327 }
15afbcd0 30328 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
30329 {
30330 if (temp2)
30331 delete arg2;
30332 }
30333 return resultobj;
30334 fail:
30335 {
30336 if (temp2)
30337 delete arg2;
30338 }
30339 return NULL;
30340}
30341
30342
30343static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
30344 PyObject *resultobj;
30345 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30346 int arg2 ;
30347 bool arg3 ;
30348 PyObject * obj0 = 0 ;
994141e6 30349 PyObject * obj1 = 0 ;
d14a1e28
RD
30350 PyObject * obj2 = 0 ;
30351 char *kwnames[] = {
242b7b46 30352 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
30353 };
30354
994141e6 30355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30358 arg2 = (int) SWIG_AsInt(obj1);
30359 if (PyErr_Occurred()) SWIG_fail;
30360 arg3 = (bool) SWIG_AsBool(obj2);
30361 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30362 {
30363 PyThreadState* __tstate = wxPyBeginAllowThreads();
30364 (arg1)->Enable(arg2,arg3);
30365
30366 wxPyEndAllowThreads(__tstate);
30367 if (PyErr_Occurred()) SWIG_fail;
30368 }
30369 Py_INCREF(Py_None); resultobj = Py_None;
30370 return resultobj;
30371 fail:
30372 return NULL;
30373}
30374
30375
30376static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
30377 PyObject *resultobj;
30378 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30379 int arg2 ;
30380 bool arg3 ;
30381 PyObject * obj0 = 0 ;
994141e6 30382 PyObject * obj1 = 0 ;
d14a1e28
RD
30383 PyObject * obj2 = 0 ;
30384 char *kwnames[] = {
242b7b46 30385 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
30386 };
30387
994141e6 30388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30391 arg2 = (int) SWIG_AsInt(obj1);
30392 if (PyErr_Occurred()) SWIG_fail;
30393 arg3 = (bool) SWIG_AsBool(obj2);
30394 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30395 {
30396 PyThreadState* __tstate = wxPyBeginAllowThreads();
30397 (arg1)->Check(arg2,arg3);
30398
30399 wxPyEndAllowThreads(__tstate);
30400 if (PyErr_Occurred()) SWIG_fail;
30401 }
30402 Py_INCREF(Py_None); resultobj = Py_None;
30403 return resultobj;
30404 fail:
30405 return NULL;
30406}
30407
30408
30409static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
30410 PyObject *resultobj;
30411 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30412 int arg2 ;
30413 bool result;
30414 PyObject * obj0 = 0 ;
994141e6 30415 PyObject * obj1 = 0 ;
d14a1e28 30416 char *kwnames[] = {
242b7b46 30417 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30418 };
30419
994141e6 30420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30423 arg2 = (int) SWIG_AsInt(obj1);
30424 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30425 {
30426 PyThreadState* __tstate = wxPyBeginAllowThreads();
30427 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
30428
30429 wxPyEndAllowThreads(__tstate);
30430 if (PyErr_Occurred()) SWIG_fail;
30431 }
4f89f6a3
RD
30432 {
30433 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30434 }
d14a1e28
RD
30435 return resultobj;
30436 fail:
30437 return NULL;
30438}
30439
30440
30441static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
30442 PyObject *resultobj;
30443 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30444 int arg2 ;
30445 bool result;
30446 PyObject * obj0 = 0 ;
994141e6 30447 PyObject * obj1 = 0 ;
d14a1e28 30448 char *kwnames[] = {
242b7b46 30449 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30450 };
30451
994141e6 30452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30455 arg2 = (int) SWIG_AsInt(obj1);
30456 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30457 {
30458 PyThreadState* __tstate = wxPyBeginAllowThreads();
30459 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
30460
30461 wxPyEndAllowThreads(__tstate);
30462 if (PyErr_Occurred()) SWIG_fail;
30463 }
4f89f6a3
RD
30464 {
30465 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30466 }
d14a1e28
RD
30467 return resultobj;
30468 fail:
30469 return NULL;
30470}
30471
30472
30473static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30474 PyObject *resultobj;
30475 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30476 int arg2 ;
30477 wxString *arg3 = 0 ;
e811c8ce 30478 bool temp3 = False ;
d14a1e28 30479 PyObject * obj0 = 0 ;
994141e6 30480 PyObject * obj1 = 0 ;
d14a1e28
RD
30481 PyObject * obj2 = 0 ;
30482 char *kwnames[] = {
242b7b46 30483 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
30484 };
30485
994141e6 30486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30489 arg2 = (int) SWIG_AsInt(obj1);
30490 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30491 {
30492 arg3 = wxString_in_helper(obj2);
30493 if (arg3 == NULL) SWIG_fail;
e811c8ce 30494 temp3 = True;
d14a1e28
RD
30495 }
30496 {
30497 PyThreadState* __tstate = wxPyBeginAllowThreads();
30498 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30499
30500 wxPyEndAllowThreads(__tstate);
30501 if (PyErr_Occurred()) SWIG_fail;
30502 }
30503 Py_INCREF(Py_None); resultobj = Py_None;
30504 {
30505 if (temp3)
30506 delete arg3;
30507 }
30508 return resultobj;
30509 fail:
30510 {
30511 if (temp3)
30512 delete arg3;
30513 }
30514 return NULL;
30515}
30516
30517
30518static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30519 PyObject *resultobj;
30520 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30521 int arg2 ;
30522 wxString result;
30523 PyObject * obj0 = 0 ;
994141e6 30524 PyObject * obj1 = 0 ;
d14a1e28 30525 char *kwnames[] = {
242b7b46 30526 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30527 };
30528
994141e6 30529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30532 arg2 = (int) SWIG_AsInt(obj1);
30533 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30534 {
30535 PyThreadState* __tstate = wxPyBeginAllowThreads();
30536 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
30537
30538 wxPyEndAllowThreads(__tstate);
30539 if (PyErr_Occurred()) SWIG_fail;
30540 }
30541 {
30542#if wxUSE_UNICODE
30543 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30544#else
30545 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30546#endif
30547 }
30548 return resultobj;
30549 fail:
30550 return NULL;
30551}
30552
30553
30554static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30555 PyObject *resultobj;
30556 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30557 int arg2 ;
30558 wxString *arg3 = 0 ;
e811c8ce 30559 bool temp3 = False ;
d14a1e28 30560 PyObject * obj0 = 0 ;
994141e6 30561 PyObject * obj1 = 0 ;
d14a1e28
RD
30562 PyObject * obj2 = 0 ;
30563 char *kwnames[] = {
242b7b46 30564 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
30565 };
30566
994141e6 30567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
30568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30570 arg2 = (int) SWIG_AsInt(obj1);
30571 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30572 {
30573 arg3 = wxString_in_helper(obj2);
30574 if (arg3 == NULL) SWIG_fail;
e811c8ce 30575 temp3 = True;
d14a1e28
RD
30576 }
30577 {
30578 PyThreadState* __tstate = wxPyBeginAllowThreads();
30579 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30580
30581 wxPyEndAllowThreads(__tstate);
30582 if (PyErr_Occurred()) SWIG_fail;
30583 }
30584 Py_INCREF(Py_None); resultobj = Py_None;
30585 {
30586 if (temp3)
30587 delete arg3;
30588 }
30589 return resultobj;
30590 fail:
30591 {
30592 if (temp3)
30593 delete arg3;
30594 }
30595 return NULL;
30596}
30597
30598
30599static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30600 PyObject *resultobj;
30601 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30602 int arg2 ;
30603 wxString result;
30604 PyObject * obj0 = 0 ;
994141e6 30605 PyObject * obj1 = 0 ;
d14a1e28 30606 char *kwnames[] = {
242b7b46 30607 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30608 };
30609
994141e6 30610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30613 arg2 = (int) SWIG_AsInt(obj1);
30614 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30615 {
30616 PyThreadState* __tstate = wxPyBeginAllowThreads();
30617 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
30618
30619 wxPyEndAllowThreads(__tstate);
30620 if (PyErr_Occurred()) SWIG_fail;
30621 }
30622 {
30623#if wxUSE_UNICODE
30624 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30625#else
30626 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30627#endif
30628 }
30629 return resultobj;
30630 fail:
30631 return NULL;
30632}
30633
30634
30635static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
30636 PyObject *resultobj;
30637 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30638 wxFrame *result;
30639 PyObject * obj0 = 0 ;
30640 char *kwnames[] = {
30641 (char *) "self", NULL
30642 };
30643
30644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
15afbcd0
RD
30645 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30646 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30647 {
30648 PyThreadState* __tstate = wxPyBeginAllowThreads();
30649 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
30650
30651 wxPyEndAllowThreads(__tstate);
30652 if (PyErr_Occurred()) SWIG_fail;
30653 }
30654 {
30655 resultobj = wxPyMake_wxObject(result);
30656 }
30657 return resultobj;
30658 fail:
30659 return NULL;
30660}
30661
30662
30663static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
30664 PyObject *resultobj;
30665 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30666 bool result;
30667 PyObject * obj0 = 0 ;
30668 char *kwnames[] = {
30669 (char *) "self", NULL
30670 };
30671
30672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
15afbcd0
RD
30673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30675 {
30676 PyThreadState* __tstate = wxPyBeginAllowThreads();
30677 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
30678
30679 wxPyEndAllowThreads(__tstate);
30680 if (PyErr_Occurred()) SWIG_fail;
30681 }
4f89f6a3
RD
30682 {
30683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30684 }
d14a1e28
RD
30685 return resultobj;
30686 fail:
30687 return NULL;
30688}
30689
30690
30691static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
30692 PyObject *resultobj;
30693 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30694 wxFrame *arg2 = (wxFrame *) 0 ;
30695 PyObject * obj0 = 0 ;
30696 PyObject * obj1 = 0 ;
30697 char *kwnames[] = {
30698 (char *) "self",(char *) "frame", NULL
30699 };
30700
30701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
30705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30706 {
30707 PyThreadState* __tstate = wxPyBeginAllowThreads();
30708 (arg1)->Attach(arg2);
30709
30710 wxPyEndAllowThreads(__tstate);
30711 if (PyErr_Occurred()) SWIG_fail;
30712 }
30713 Py_INCREF(Py_None); resultobj = Py_None;
30714 return resultobj;
30715 fail:
30716 return NULL;
30717}
30718
30719
30720static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
30721 PyObject *resultobj;
30722 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30723 PyObject * obj0 = 0 ;
30724 char *kwnames[] = {
30725 (char *) "self", NULL
30726 };
30727
30728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
15afbcd0
RD
30729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30731 {
30732 PyThreadState* __tstate = wxPyBeginAllowThreads();
30733 (arg1)->Detach();
30734
30735 wxPyEndAllowThreads(__tstate);
30736 if (PyErr_Occurred()) SWIG_fail;
30737 }
30738 Py_INCREF(Py_None); resultobj = Py_None;
30739 return resultobj;
30740 fail:
30741 return NULL;
30742}
30743
30744
30745static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
30746 PyObject *obj;
30747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30748 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
30749 Py_INCREF(obj);
30750 return Py_BuildValue((char *)"");
30751}
30752static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30753 PyObject *resultobj;
30754 wxMenu *arg1 = (wxMenu *) NULL ;
30755 int arg2 = (int) wxID_SEPARATOR ;
30756 wxString const &arg3_defvalue = wxPyEmptyString ;
30757 wxString *arg3 = (wxString *) &arg3_defvalue ;
30758 wxString const &arg4_defvalue = wxPyEmptyString ;
30759 wxString *arg4 = (wxString *) &arg4_defvalue ;
30760 int arg5 = (int) wxITEM_NORMAL ;
30761 wxMenu *arg6 = (wxMenu *) NULL ;
30762 wxMenuItem *result;
e811c8ce
RD
30763 bool temp3 = False ;
30764 bool temp4 = False ;
d14a1e28 30765 PyObject * obj0 = 0 ;
994141e6 30766 PyObject * obj1 = 0 ;
d14a1e28
RD
30767 PyObject * obj2 = 0 ;
30768 PyObject * obj3 = 0 ;
994141e6 30769 PyObject * obj4 = 0 ;
d14a1e28
RD
30770 PyObject * obj5 = 0 ;
30771 char *kwnames[] = {
30772 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30773 };
30774
994141e6 30775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 30776 if (obj0) {
15afbcd0
RD
30777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30779 }
994141e6 30780 if (obj1) {
15afbcd0
RD
30781 arg2 = (int) SWIG_AsInt(obj1);
30782 if (PyErr_Occurred()) SWIG_fail;
994141e6 30783 }
d14a1e28
RD
30784 if (obj2) {
30785 {
30786 arg3 = wxString_in_helper(obj2);
30787 if (arg3 == NULL) SWIG_fail;
e811c8ce 30788 temp3 = True;
d14a1e28
RD
30789 }
30790 }
30791 if (obj3) {
30792 {
30793 arg4 = wxString_in_helper(obj3);
30794 if (arg4 == NULL) SWIG_fail;
e811c8ce 30795 temp4 = True;
d14a1e28
RD
30796 }
30797 }
994141e6 30798 if (obj4) {
15afbcd0
RD
30799 arg5 = (wxItemKind) SWIG_AsInt(obj4);
30800 if (PyErr_Occurred()) SWIG_fail;
994141e6 30801 }
d14a1e28 30802 if (obj5) {
15afbcd0
RD
30803 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
30804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30805 }
30806 {
30807 PyThreadState* __tstate = wxPyBeginAllowThreads();
30808 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
30809
30810 wxPyEndAllowThreads(__tstate);
30811 if (PyErr_Occurred()) SWIG_fail;
30812 }
30813 {
30814 resultobj = wxPyMake_wxObject(result);
30815 }
30816 {
30817 if (temp3)
30818 delete arg3;
30819 }
30820 {
30821 if (temp4)
30822 delete arg4;
30823 }
30824 return resultobj;
30825 fail:
30826 {
30827 if (temp3)
30828 delete arg3;
30829 }
30830 {
30831 if (temp4)
30832 delete arg4;
30833 }
30834 return NULL;
30835}
30836
30837
30838static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30839 PyObject *resultobj;
30840 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30841 wxMenu *result;
30842 PyObject * obj0 = 0 ;
30843 char *kwnames[] = {
30844 (char *) "self", NULL
30845 };
30846
30847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
30848 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30849 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30850 {
30851 PyThreadState* __tstate = wxPyBeginAllowThreads();
30852 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
30853
30854 wxPyEndAllowThreads(__tstate);
30855 if (PyErr_Occurred()) SWIG_fail;
30856 }
30857 {
30858 resultobj = wxPyMake_wxObject(result);
30859 }
30860 return resultobj;
30861 fail:
30862 return NULL;
30863}
30864
30865
30866static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30867 PyObject *resultobj;
30868 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30869 wxMenu *arg2 = (wxMenu *) 0 ;
30870 PyObject * obj0 = 0 ;
30871 PyObject * obj1 = 0 ;
30872 char *kwnames[] = {
30873 (char *) "self",(char *) "menu", NULL
30874 };
30875
30876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30879 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30881 {
30882 PyThreadState* __tstate = wxPyBeginAllowThreads();
30883 (arg1)->SetMenu(arg2);
30884
30885 wxPyEndAllowThreads(__tstate);
30886 if (PyErr_Occurred()) SWIG_fail;
30887 }
30888 Py_INCREF(Py_None); resultobj = Py_None;
30889 return resultobj;
30890 fail:
30891 return NULL;
30892}
30893
30894
30895static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
30896 PyObject *resultobj;
30897 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30898 int arg2 ;
30899 PyObject * obj0 = 0 ;
994141e6 30900 PyObject * obj1 = 0 ;
d14a1e28 30901 char *kwnames[] = {
242b7b46 30902 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30903 };
30904
994141e6 30905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30908 arg2 = (int) SWIG_AsInt(obj1);
30909 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30910 {
30911 PyThreadState* __tstate = wxPyBeginAllowThreads();
30912 (arg1)->SetId(arg2);
30913
30914 wxPyEndAllowThreads(__tstate);
30915 if (PyErr_Occurred()) SWIG_fail;
30916 }
30917 Py_INCREF(Py_None); resultobj = Py_None;
30918 return resultobj;
30919 fail:
30920 return NULL;
30921}
30922
30923
30924static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
30925 PyObject *resultobj;
30926 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30927 int result;
30928 PyObject * obj0 = 0 ;
30929 char *kwnames[] = {
30930 (char *) "self", NULL
30931 };
30932
30933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
15afbcd0
RD
30934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30936 {
30937 PyThreadState* __tstate = wxPyBeginAllowThreads();
30938 result = (int)((wxMenuItem const *)arg1)->GetId();
30939
30940 wxPyEndAllowThreads(__tstate);
30941 if (PyErr_Occurred()) SWIG_fail;
30942 }
15afbcd0 30943 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
30944 return resultobj;
30945 fail:
30946 return NULL;
30947}
30948
30949
30950static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
30951 PyObject *resultobj;
30952 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30953 bool result;
30954 PyObject * obj0 = 0 ;
30955 char *kwnames[] = {
30956 (char *) "self", NULL
30957 };
30958
30959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
15afbcd0
RD
30960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30962 {
30963 PyThreadState* __tstate = wxPyBeginAllowThreads();
30964 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
30965
30966 wxPyEndAllowThreads(__tstate);
30967 if (PyErr_Occurred()) SWIG_fail;
30968 }
4f89f6a3
RD
30969 {
30970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30971 }
d14a1e28
RD
30972 return resultobj;
30973 fail:
30974 return NULL;
30975}
30976
30977
30978static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
30979 PyObject *resultobj;
30980 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30981 wxString *arg2 = 0 ;
e811c8ce 30982 bool temp2 = False ;
d14a1e28
RD
30983 PyObject * obj0 = 0 ;
30984 PyObject * obj1 = 0 ;
30985 char *kwnames[] = {
30986 (char *) "self",(char *) "str", NULL
30987 };
30988
30989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
30990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30992 {
30993 arg2 = wxString_in_helper(obj1);
30994 if (arg2 == NULL) SWIG_fail;
e811c8ce 30995 temp2 = True;
d14a1e28
RD
30996 }
30997 {
30998 PyThreadState* __tstate = wxPyBeginAllowThreads();
30999 (arg1)->SetText((wxString const &)*arg2);
31000
31001 wxPyEndAllowThreads(__tstate);
31002 if (PyErr_Occurred()) SWIG_fail;
31003 }
31004 Py_INCREF(Py_None); resultobj = Py_None;
31005 {
31006 if (temp2)
31007 delete arg2;
31008 }
31009 return resultobj;
31010 fail:
31011 {
31012 if (temp2)
31013 delete arg2;
31014 }
31015 return NULL;
31016}
31017
31018
31019static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31020 PyObject *resultobj;
31021 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31022 wxString result;
31023 PyObject * obj0 = 0 ;
31024 char *kwnames[] = {
31025 (char *) "self", NULL
31026 };
31027
31028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
31029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31031 {
31032 PyThreadState* __tstate = wxPyBeginAllowThreads();
31033 result = ((wxMenuItem const *)arg1)->GetLabel();
31034
31035 wxPyEndAllowThreads(__tstate);
31036 if (PyErr_Occurred()) SWIG_fail;
31037 }
31038 {
31039#if wxUSE_UNICODE
31040 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31041#else
31042 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31043#endif
31044 }
31045 return resultobj;
31046 fail:
31047 return NULL;
31048}
31049
31050
31051static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
31052 PyObject *resultobj;
31053 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31054 wxString *result;
31055 PyObject * obj0 = 0 ;
31056 char *kwnames[] = {
31057 (char *) "self", NULL
31058 };
31059
31060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
15afbcd0
RD
31061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31063 {
31064 PyThreadState* __tstate = wxPyBeginAllowThreads();
31065 {
31066 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
31067 result = (wxString *) &_result_ref;
31068 }
31069
31070 wxPyEndAllowThreads(__tstate);
31071 if (PyErr_Occurred()) SWIG_fail;
31072 }
cc6dd355
RD
31073 {
31074#if wxUSE_UNICODE
31075 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
31076#else
31077 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
31078#endif
31079 }
d14a1e28
RD
31080 return resultobj;
31081 fail:
31082 return NULL;
31083}
31084
31085
31086static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
31087 PyObject *resultobj;
31088 wxString *arg1 = 0 ;
31089 wxString result;
e811c8ce 31090 bool temp1 = False ;
d14a1e28
RD
31091 PyObject * obj0 = 0 ;
31092 char *kwnames[] = {
31093 (char *) "text", NULL
31094 };
31095
31096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
31097 {
31098 arg1 = wxString_in_helper(obj0);
31099 if (arg1 == NULL) SWIG_fail;
e811c8ce 31100 temp1 = True;
d14a1e28
RD
31101 }
31102 {
31103 PyThreadState* __tstate = wxPyBeginAllowThreads();
31104 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
31105
31106 wxPyEndAllowThreads(__tstate);
31107 if (PyErr_Occurred()) SWIG_fail;
31108 }
31109 {
31110#if wxUSE_UNICODE
31111 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31112#else
31113 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31114#endif
31115 }
31116 {
31117 if (temp1)
31118 delete arg1;
31119 }
31120 return resultobj;
31121 fail:
31122 {
31123 if (temp1)
31124 delete arg1;
31125 }
31126 return NULL;
31127}
31128
31129
31130static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
31131 PyObject *resultobj;
31132 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31133 int result;
31134 PyObject * obj0 = 0 ;
31135 char *kwnames[] = {
31136 (char *) "self", NULL
31137 };
31138
31139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
15afbcd0
RD
31140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31142 {
31143 PyThreadState* __tstate = wxPyBeginAllowThreads();
31144 result = (int)((wxMenuItem const *)arg1)->GetKind();
31145
31146 wxPyEndAllowThreads(__tstate);
31147 if (PyErr_Occurred()) SWIG_fail;
31148 }
15afbcd0 31149 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31150 return resultobj;
31151 fail:
31152 return NULL;
31153}
31154
31155
31156static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
31157 PyObject *resultobj;
31158 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31159 bool arg2 ;
31160 PyObject * obj0 = 0 ;
31161 PyObject * obj1 = 0 ;
31162 char *kwnames[] = {
31163 (char *) "self",(char *) "checkable", NULL
31164 };
31165
31166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31169 arg2 = (bool) SWIG_AsBool(obj1);
31170 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31171 {
31172 PyThreadState* __tstate = wxPyBeginAllowThreads();
31173 (arg1)->SetCheckable(arg2);
31174
31175 wxPyEndAllowThreads(__tstate);
31176 if (PyErr_Occurred()) SWIG_fail;
31177 }
31178 Py_INCREF(Py_None); resultobj = Py_None;
31179 return resultobj;
31180 fail:
31181 return NULL;
31182}
31183
31184
31185static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
31186 PyObject *resultobj;
31187 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31188 bool result;
31189 PyObject * obj0 = 0 ;
31190 char *kwnames[] = {
31191 (char *) "self", NULL
31192 };
31193
31194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
15afbcd0
RD
31195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31197 {
31198 PyThreadState* __tstate = wxPyBeginAllowThreads();
31199 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
31200
31201 wxPyEndAllowThreads(__tstate);
31202 if (PyErr_Occurred()) SWIG_fail;
31203 }
4f89f6a3
RD
31204 {
31205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31206 }
d14a1e28
RD
31207 return resultobj;
31208 fail:
31209 return NULL;
31210}
31211
31212
31213static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31214 PyObject *resultobj;
31215 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31216 bool result;
31217 PyObject * obj0 = 0 ;
31218 char *kwnames[] = {
31219 (char *) "self", NULL
31220 };
31221
31222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
31223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31225 {
31226 PyThreadState* __tstate = wxPyBeginAllowThreads();
31227 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
31228
31229 wxPyEndAllowThreads(__tstate);
31230 if (PyErr_Occurred()) SWIG_fail;
31231 }
4f89f6a3
RD
31232 {
31233 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31234 }
d14a1e28
RD
31235 return resultobj;
31236 fail:
31237 return NULL;
31238}
31239
31240
31241static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31242 PyObject *resultobj;
31243 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31244 wxMenu *arg2 = (wxMenu *) 0 ;
31245 PyObject * obj0 = 0 ;
31246 PyObject * obj1 = 0 ;
31247 char *kwnames[] = {
31248 (char *) "self",(char *) "menu", NULL
31249 };
31250
31251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31254 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31256 {
31257 PyThreadState* __tstate = wxPyBeginAllowThreads();
31258 (arg1)->SetSubMenu(arg2);
31259
31260 wxPyEndAllowThreads(__tstate);
31261 if (PyErr_Occurred()) SWIG_fail;
31262 }
31263 Py_INCREF(Py_None); resultobj = Py_None;
31264 return resultobj;
31265 fail:
31266 return NULL;
31267}
31268
31269
31270static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
31271 PyObject *resultobj;
31272 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31273 wxMenu *result;
31274 PyObject * obj0 = 0 ;
31275 char *kwnames[] = {
31276 (char *) "self", NULL
31277 };
31278
31279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
15afbcd0
RD
31280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31282 {
31283 PyThreadState* __tstate = wxPyBeginAllowThreads();
31284 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
31285
31286 wxPyEndAllowThreads(__tstate);
31287 if (PyErr_Occurred()) SWIG_fail;
31288 }
31289 {
31290 resultobj = wxPyMake_wxObject(result);
31291 }
31292 return resultobj;
31293 fail:
31294 return NULL;
31295}
31296
31297
31298static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
31299 PyObject *resultobj;
31300 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 31301 bool arg2 = (bool) True ;
d14a1e28
RD
31302 PyObject * obj0 = 0 ;
31303 PyObject * obj1 = 0 ;
31304 char *kwnames[] = {
31305 (char *) "self",(char *) "enable", NULL
31306 };
31307
31308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31311 if (obj1) {
15afbcd0
RD
31312 arg2 = (bool) SWIG_AsBool(obj1);
31313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31314 }
31315 {
31316 PyThreadState* __tstate = wxPyBeginAllowThreads();
31317 (arg1)->Enable(arg2);
31318
31319 wxPyEndAllowThreads(__tstate);
31320 if (PyErr_Occurred()) SWIG_fail;
31321 }
31322 Py_INCREF(Py_None); resultobj = Py_None;
31323 return resultobj;
31324 fail:
31325 return NULL;
31326}
31327
31328
31329static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
31330 PyObject *resultobj;
31331 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31332 bool result;
31333 PyObject * obj0 = 0 ;
31334 char *kwnames[] = {
31335 (char *) "self", NULL
31336 };
31337
31338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
15afbcd0
RD
31339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31341 {
31342 PyThreadState* __tstate = wxPyBeginAllowThreads();
31343 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
31344
31345 wxPyEndAllowThreads(__tstate);
31346 if (PyErr_Occurred()) SWIG_fail;
31347 }
4f89f6a3
RD
31348 {
31349 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31350 }
d14a1e28
RD
31351 return resultobj;
31352 fail:
31353 return NULL;
31354}
31355
31356
31357static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
31358 PyObject *resultobj;
31359 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
e811c8ce 31360 bool arg2 = (bool) True ;
d14a1e28
RD
31361 PyObject * obj0 = 0 ;
31362 PyObject * obj1 = 0 ;
31363 char *kwnames[] = {
31364 (char *) "self",(char *) "check", NULL
31365 };
31366
31367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31370 if (obj1) {
15afbcd0
RD
31371 arg2 = (bool) SWIG_AsBool(obj1);
31372 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31373 }
31374 {
31375 PyThreadState* __tstate = wxPyBeginAllowThreads();
31376 (arg1)->Check(arg2);
31377
31378 wxPyEndAllowThreads(__tstate);
31379 if (PyErr_Occurred()) SWIG_fail;
31380 }
31381 Py_INCREF(Py_None); resultobj = Py_None;
31382 return resultobj;
31383 fail:
31384 return NULL;
31385}
31386
31387
31388static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
31389 PyObject *resultobj;
31390 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31391 bool result;
31392 PyObject * obj0 = 0 ;
31393 char *kwnames[] = {
31394 (char *) "self", NULL
31395 };
31396
31397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
15afbcd0
RD
31398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31400 {
31401 PyThreadState* __tstate = wxPyBeginAllowThreads();
31402 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
31403
31404 wxPyEndAllowThreads(__tstate);
31405 if (PyErr_Occurred()) SWIG_fail;
31406 }
4f89f6a3
RD
31407 {
31408 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31409 }
d14a1e28
RD
31410 return resultobj;
31411 fail:
31412 return NULL;
31413}
31414
31415
31416static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
31417 PyObject *resultobj;
31418 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31419 PyObject * obj0 = 0 ;
31420 char *kwnames[] = {
31421 (char *) "self", NULL
31422 };
31423
31424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
15afbcd0
RD
31425 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31426 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31427 {
31428 PyThreadState* __tstate = wxPyBeginAllowThreads();
31429 (arg1)->Toggle();
31430
31431 wxPyEndAllowThreads(__tstate);
31432 if (PyErr_Occurred()) SWIG_fail;
31433 }
31434 Py_INCREF(Py_None); resultobj = Py_None;
31435 return resultobj;
31436 fail:
31437 return NULL;
31438}
31439
31440
31441static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
31442 PyObject *resultobj;
31443 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31444 wxString *arg2 = 0 ;
e811c8ce 31445 bool temp2 = False ;
d14a1e28
RD
31446 PyObject * obj0 = 0 ;
31447 PyObject * obj1 = 0 ;
31448 char *kwnames[] = {
31449 (char *) "self",(char *) "str", NULL
31450 };
31451
31452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31455 {
31456 arg2 = wxString_in_helper(obj1);
31457 if (arg2 == NULL) SWIG_fail;
e811c8ce 31458 temp2 = True;
d14a1e28
RD
31459 }
31460 {
31461 PyThreadState* __tstate = wxPyBeginAllowThreads();
31462 (arg1)->SetHelp((wxString const &)*arg2);
31463
31464 wxPyEndAllowThreads(__tstate);
31465 if (PyErr_Occurred()) SWIG_fail;
31466 }
31467 Py_INCREF(Py_None); resultobj = Py_None;
31468 {
31469 if (temp2)
31470 delete arg2;
31471 }
31472 return resultobj;
31473 fail:
31474 {
31475 if (temp2)
31476 delete arg2;
31477 }
31478 return NULL;
31479}
31480
31481
31482static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
31483 PyObject *resultobj;
31484 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31485 wxString *result;
31486 PyObject * obj0 = 0 ;
31487 char *kwnames[] = {
31488 (char *) "self", NULL
31489 };
31490
31491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
15afbcd0
RD
31492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31494 {
31495 PyThreadState* __tstate = wxPyBeginAllowThreads();
31496 {
31497 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
31498 result = (wxString *) &_result_ref;
31499 }
31500
31501 wxPyEndAllowThreads(__tstate);
31502 if (PyErr_Occurred()) SWIG_fail;
31503 }
cc6dd355
RD
31504 {
31505#if wxUSE_UNICODE
31506 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
31507#else
31508 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
31509#endif
31510 }
d14a1e28
RD
31511 return resultobj;
31512 fail:
31513 return NULL;
31514}
31515
31516
31517static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
31518 PyObject *resultobj;
31519 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31520 wxAcceleratorEntry *result;
31521 PyObject * obj0 = 0 ;
31522 char *kwnames[] = {
31523 (char *) "self", NULL
31524 };
31525
31526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
15afbcd0
RD
31527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31529 {
31530 PyThreadState* __tstate = wxPyBeginAllowThreads();
31531 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
31532
31533 wxPyEndAllowThreads(__tstate);
31534 if (PyErr_Occurred()) SWIG_fail;
31535 }
15afbcd0 31536 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
31537 return resultobj;
31538 fail:
31539 return NULL;
31540}
31541
31542
31543static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
31544 PyObject *resultobj;
31545 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31546 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
31547 PyObject * obj0 = 0 ;
31548 PyObject * obj1 = 0 ;
31549 char *kwnames[] = {
31550 (char *) "self",(char *) "accel", NULL
31551 };
31552
31553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
31557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31558 {
31559 PyThreadState* __tstate = wxPyBeginAllowThreads();
31560 (arg1)->SetAccel(arg2);
31561
31562 wxPyEndAllowThreads(__tstate);
31563 if (PyErr_Occurred()) SWIG_fail;
31564 }
31565 Py_INCREF(Py_None); resultobj = Py_None;
31566 return resultobj;
31567 fail:
31568 return NULL;
31569}
31570
31571
31572static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
31573 PyObject *resultobj;
31574 int result;
31575 char *kwnames[] = {
31576 NULL
31577 };
31578
31579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
31580 {
31581 PyThreadState* __tstate = wxPyBeginAllowThreads();
31582 result = (int)MenuItem_GetDefaultMarginWidth();
31583
31584 wxPyEndAllowThreads(__tstate);
31585 if (PyErr_Occurred()) SWIG_fail;
31586 }
15afbcd0 31587 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31588 return resultobj;
31589 fail:
31590 return NULL;
31591}
31592
31593
31594static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
31595 PyObject *resultobj;
31596 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31597 wxBitmap *arg2 = 0 ;
31598 PyObject * obj0 = 0 ;
31599 PyObject * obj1 = 0 ;
31600 char *kwnames[] = {
31601 (char *) "self",(char *) "bitmap", NULL
31602 };
31603
31604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31607 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31608 SWIG_POINTER_EXCEPTION | 0)) == -1)
31609 SWIG_fail;
d14a1e28 31610 if (arg2 == NULL) {
15afbcd0
RD
31611 PyErr_SetString(PyExc_TypeError,"null reference");
31612 SWIG_fail;
d14a1e28
RD
31613 }
31614 {
31615 PyThreadState* __tstate = wxPyBeginAllowThreads();
31616 (arg1)->SetBitmap((wxBitmap const &)*arg2);
31617
31618 wxPyEndAllowThreads(__tstate);
31619 if (PyErr_Occurred()) SWIG_fail;
31620 }
31621 Py_INCREF(Py_None); resultobj = Py_None;
31622 return resultobj;
31623 fail:
31624 return NULL;
31625}
31626
31627
31628static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
31629 PyObject *resultobj;
31630 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31631 wxBitmap *result;
31632 PyObject * obj0 = 0 ;
31633 char *kwnames[] = {
31634 (char *) "self", NULL
31635 };
31636
31637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
15afbcd0
RD
31638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31640 {
31641 PyThreadState* __tstate = wxPyBeginAllowThreads();
31642 {
31643 wxBitmap const &_result_ref = (arg1)->GetBitmap();
31644 result = (wxBitmap *) &_result_ref;
31645 }
31646
31647 wxPyEndAllowThreads(__tstate);
31648 if (PyErr_Occurred()) SWIG_fail;
31649 }
4276dc52
RD
31650 {
31651 wxBitmap* resultptr = new wxBitmap(*result);
31652 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
31653 }
d14a1e28
RD
31654 return resultobj;
31655 fail:
31656 return NULL;
31657}
31658
31659
31660static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
31661 PyObject *obj;
31662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31663 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
31664 Py_INCREF(obj);
31665 return Py_BuildValue((char *)"");
31666}
b2dc1044
RD
31667static int _wrap_ControlNameStr_set(PyObject *_val) {
31668 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
31669 return 1;
31670}
31671
31672
31673static PyObject *_wrap_ControlNameStr_get() {
31674 PyObject *pyobj;
31675
31676 {
31677#if wxUSE_UNICODE
31678 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
31679#else
31680 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
31681#endif
31682 }
31683 return pyobj;
31684}
31685
31686
d14a1e28
RD
31687static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
31688 PyObject *resultobj;
31689 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 31690 int arg2 ;
d14a1e28
RD
31691 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31692 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31693 wxSize const &arg4_defvalue = wxDefaultSize ;
31694 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31695 long arg5 = (long) 0 ;
31696 wxValidator const &arg6_defvalue = wxDefaultValidator ;
31697 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
31698 wxString const &arg7_defvalue = wxPyControlNameStr ;
31699 wxString *arg7 = (wxString *) &arg7_defvalue ;
31700 wxControl *result;
31701 wxPoint temp3 ;
31702 wxSize temp4 ;
e811c8ce 31703 bool temp7 = False ;
d14a1e28 31704 PyObject * obj0 = 0 ;
994141e6 31705 PyObject * obj1 = 0 ;
d14a1e28
RD
31706 PyObject * obj2 = 0 ;
31707 PyObject * obj3 = 0 ;
994141e6 31708 PyObject * obj4 = 0 ;
d14a1e28
RD
31709 PyObject * obj5 = 0 ;
31710 PyObject * obj6 = 0 ;
31711 char *kwnames[] = {
31712 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31713 };
31714
994141e6 31715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
31716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
31717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31718 arg2 = (int) SWIG_AsInt(obj1);
31719 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31720 if (obj2) {
31721 {
31722 arg3 = &temp3;
31723 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31724 }
31725 }
31726 if (obj3) {
31727 {
31728 arg4 = &temp4;
31729 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31730 }
31731 }
994141e6 31732 if (obj4) {
15afbcd0
RD
31733 arg5 = (long) SWIG_AsLong(obj4);
31734 if (PyErr_Occurred()) SWIG_fail;
994141e6 31735 }
d14a1e28 31736 if (obj5) {
15afbcd0
RD
31737 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
31738 SWIG_POINTER_EXCEPTION | 0)) == -1)
31739 SWIG_fail;
d14a1e28 31740 if (arg6 == NULL) {
15afbcd0
RD
31741 PyErr_SetString(PyExc_TypeError,"null reference");
31742 SWIG_fail;
d14a1e28
RD
31743 }
31744 }
31745 if (obj6) {
31746 {
31747 arg7 = wxString_in_helper(obj6);
31748 if (arg7 == NULL) SWIG_fail;
e811c8ce 31749 temp7 = True;
d14a1e28
RD
31750 }
31751 }
31752 {
31753 PyThreadState* __tstate = wxPyBeginAllowThreads();
31754 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
31755
31756 wxPyEndAllowThreads(__tstate);
31757 if (PyErr_Occurred()) SWIG_fail;
31758 }
31759 {
31760 resultobj = wxPyMake_wxObject(result);
31761 }
31762 {
31763 if (temp7)
31764 delete arg7;
31765 }
31766 return resultobj;
31767 fail:
31768 {
31769 if (temp7)
31770 delete arg7;
31771 }
31772 return NULL;
31773}
31774
31775
31776static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
31777 PyObject *resultobj;
31778 wxControl *result;
31779 char *kwnames[] = {
31780 NULL
31781 };
31782
31783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
31784 {
31785 PyThreadState* __tstate = wxPyBeginAllowThreads();
31786 result = (wxControl *)new wxControl();
31787
31788 wxPyEndAllowThreads(__tstate);
31789 if (PyErr_Occurred()) SWIG_fail;
31790 }
31791 {
31792 resultobj = wxPyMake_wxObject(result);
31793 }
31794 return resultobj;
31795 fail:
31796 return NULL;
31797}
31798
31799
31800static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
31801 PyObject *resultobj;
31802 wxControl *arg1 = (wxControl *) 0 ;
31803 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 31804 int arg3 ;
d14a1e28
RD
31805 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31806 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31807 wxSize const &arg5_defvalue = wxDefaultSize ;
31808 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31809 long arg6 = (long) 0 ;
31810 wxValidator const &arg7_defvalue = wxDefaultValidator ;
31811 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
31812 wxString const &arg8_defvalue = wxPyControlNameStr ;
31813 wxString *arg8 = (wxString *) &arg8_defvalue ;
31814 bool result;
31815 wxPoint temp4 ;
31816 wxSize temp5 ;
e811c8ce 31817 bool temp8 = False ;
d14a1e28
RD
31818 PyObject * obj0 = 0 ;
31819 PyObject * obj1 = 0 ;
994141e6 31820 PyObject * obj2 = 0 ;
d14a1e28
RD
31821 PyObject * obj3 = 0 ;
31822 PyObject * obj4 = 0 ;
994141e6 31823 PyObject * obj5 = 0 ;
d14a1e28
RD
31824 PyObject * obj6 = 0 ;
31825 PyObject * obj7 = 0 ;
31826 char *kwnames[] = {
31827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31828 };
31829
994141e6 31830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
15afbcd0
RD
31831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31835 arg3 = (int) SWIG_AsInt(obj2);
31836 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31837 if (obj3) {
31838 {
31839 arg4 = &temp4;
31840 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31841 }
31842 }
31843 if (obj4) {
31844 {
31845 arg5 = &temp5;
31846 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31847 }
31848 }
994141e6 31849 if (obj5) {
15afbcd0
RD
31850 arg6 = (long) SWIG_AsLong(obj5);
31851 if (PyErr_Occurred()) SWIG_fail;
994141e6 31852 }
d14a1e28 31853 if (obj6) {
15afbcd0
RD
31854 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
31855 SWIG_POINTER_EXCEPTION | 0)) == -1)
31856 SWIG_fail;
d14a1e28 31857 if (arg7 == NULL) {
15afbcd0
RD
31858 PyErr_SetString(PyExc_TypeError,"null reference");
31859 SWIG_fail;
d14a1e28
RD
31860 }
31861 }
31862 if (obj7) {
31863 {
31864 arg8 = wxString_in_helper(obj7);
31865 if (arg8 == NULL) SWIG_fail;
e811c8ce 31866 temp8 = True;
d14a1e28
RD
31867 }
31868 }
31869 {
31870 PyThreadState* __tstate = wxPyBeginAllowThreads();
31871 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
31872
31873 wxPyEndAllowThreads(__tstate);
31874 if (PyErr_Occurred()) SWIG_fail;
31875 }
4f89f6a3
RD
31876 {
31877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31878 }
d14a1e28
RD
31879 {
31880 if (temp8)
31881 delete arg8;
31882 }
31883 return resultobj;
31884 fail:
31885 {
31886 if (temp8)
31887 delete arg8;
31888 }
31889 return NULL;
31890}
31891
31892
31893static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
31894 PyObject *resultobj;
31895 wxControl *arg1 = (wxControl *) 0 ;
31896 wxCommandEvent *arg2 = 0 ;
31897 PyObject * obj0 = 0 ;
31898 PyObject * obj1 = 0 ;
31899 char *kwnames[] = {
31900 (char *) "self",(char *) "event", NULL
31901 };
31902
31903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31906 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
31907 SWIG_POINTER_EXCEPTION | 0)) == -1)
31908 SWIG_fail;
d14a1e28 31909 if (arg2 == NULL) {
15afbcd0
RD
31910 PyErr_SetString(PyExc_TypeError,"null reference");
31911 SWIG_fail;
d14a1e28
RD
31912 }
31913 {
31914 PyThreadState* __tstate = wxPyBeginAllowThreads();
31915 (arg1)->Command(*arg2);
31916
31917 wxPyEndAllowThreads(__tstate);
31918 if (PyErr_Occurred()) SWIG_fail;
31919 }
31920 Py_INCREF(Py_None); resultobj = Py_None;
31921 return resultobj;
31922 fail:
31923 return NULL;
31924}
31925
31926
31927static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31928 PyObject *resultobj;
31929 wxControl *arg1 = (wxControl *) 0 ;
31930 wxString result;
31931 PyObject * obj0 = 0 ;
31932 char *kwnames[] = {
31933 (char *) "self", NULL
31934 };
31935
31936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
15afbcd0
RD
31937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31939 {
31940 PyThreadState* __tstate = wxPyBeginAllowThreads();
31941 result = (arg1)->GetLabel();
31942
31943 wxPyEndAllowThreads(__tstate);
31944 if (PyErr_Occurred()) SWIG_fail;
31945 }
31946 {
31947#if wxUSE_UNICODE
31948 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31949#else
31950 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31951#endif
31952 }
31953 return resultobj;
31954 fail:
31955 return NULL;
31956}
31957
31958
31959static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
31960 PyObject *resultobj;
31961 wxControl *arg1 = (wxControl *) 0 ;
31962 wxString *arg2 = 0 ;
e811c8ce 31963 bool temp2 = False ;
d14a1e28
RD
31964 PyObject * obj0 = 0 ;
31965 PyObject * obj1 = 0 ;
31966 char *kwnames[] = {
31967 (char *) "self",(char *) "label", NULL
31968 };
31969
31970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
31971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31973 {
31974 arg2 = wxString_in_helper(obj1);
31975 if (arg2 == NULL) SWIG_fail;
e811c8ce 31976 temp2 = True;
d14a1e28
RD
31977 }
31978 {
31979 PyThreadState* __tstate = wxPyBeginAllowThreads();
31980 (arg1)->SetLabel((wxString const &)*arg2);
31981
31982 wxPyEndAllowThreads(__tstate);
31983 if (PyErr_Occurred()) SWIG_fail;
31984 }
31985 Py_INCREF(Py_None); resultobj = Py_None;
31986 {
31987 if (temp2)
31988 delete arg2;
31989 }
31990 return resultobj;
31991 fail:
31992 {
31993 if (temp2)
31994 delete arg2;
31995 }
31996 return NULL;
31997}
31998
31999
32000static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
32001 PyObject *obj;
32002 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32003 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
32004 Py_INCREF(obj);
32005 return Py_BuildValue((char *)"");
32006}
32007static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
32008 PyObject *resultobj;
32009 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32010 wxString *arg2 = 0 ;
32011 PyObject *arg3 = (PyObject *) NULL ;
32012 int result;
e811c8ce 32013 bool temp2 = False ;
d14a1e28
RD
32014 PyObject * obj0 = 0 ;
32015 PyObject * obj1 = 0 ;
32016 PyObject * obj2 = 0 ;
32017 char *kwnames[] = {
32018 (char *) "self",(char *) "item",(char *) "clientData", NULL
32019 };
32020
32021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32024 {
32025 arg2 = wxString_in_helper(obj1);
32026 if (arg2 == NULL) SWIG_fail;
e811c8ce 32027 temp2 = True;
d14a1e28
RD
32028 }
32029 if (obj2) {
32030 arg3 = obj2;
32031 }
32032 {
32033 PyThreadState* __tstate = wxPyBeginAllowThreads();
32034 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
32035
32036 wxPyEndAllowThreads(__tstate);
32037 if (PyErr_Occurred()) SWIG_fail;
32038 }
15afbcd0 32039 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32040 {
32041 if (temp2)
32042 delete arg2;
32043 }
32044 return resultobj;
32045 fail:
32046 {
32047 if (temp2)
32048 delete arg2;
32049 }
32050 return NULL;
32051}
32052
32053
32054static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
32055 PyObject *resultobj;
32056 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32057 wxArrayString *arg2 = 0 ;
3adfb63b 32058 bool temp2 = False ;
d14a1e28
RD
32059 PyObject * obj0 = 0 ;
32060 PyObject * obj1 = 0 ;
32061 char *kwnames[] = {
32062 (char *) "self",(char *) "strings", NULL
32063 };
32064
32065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32068 {
32069 if (! PySequence_Check(obj1)) {
32070 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
32071 SWIG_fail;
32072 }
32073 arg2 = new wxArrayString;
3adfb63b 32074 temp2 = True;
d14a1e28
RD
32075 int i, len=PySequence_Length(obj1);
32076 for (i=0; i<len; i++) {
32077 PyObject* item = PySequence_GetItem(obj1, i);
32078#if wxUSE_UNICODE
32079 PyObject* str = PyObject_Unicode(item);
32080#else
32081 PyObject* str = PyObject_Str(item);
32082#endif
32083 arg2->Add(Py2wxString(str));
32084 Py_DECREF(item);
32085 Py_DECREF(str);
32086 }
32087 }
32088 {
32089 PyThreadState* __tstate = wxPyBeginAllowThreads();
32090 (arg1)->Append((wxArrayString const &)*arg2);
32091
32092 wxPyEndAllowThreads(__tstate);
32093 if (PyErr_Occurred()) SWIG_fail;
32094 }
32095 Py_INCREF(Py_None); resultobj = Py_None;
32096 {
3adfb63b 32097 if (temp2) delete arg2;
d14a1e28
RD
32098 }
32099 return resultobj;
32100 fail:
32101 {
3adfb63b 32102 if (temp2) delete arg2;
d14a1e28
RD
32103 }
32104 return NULL;
32105}
32106
32107
32108static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
32109 PyObject *resultobj;
32110 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32111 wxString *arg2 = 0 ;
32112 int arg3 ;
32113 PyObject *arg4 = (PyObject *) NULL ;
32114 int result;
e811c8ce 32115 bool temp2 = False ;
d14a1e28
RD
32116 PyObject * obj0 = 0 ;
32117 PyObject * obj1 = 0 ;
994141e6 32118 PyObject * obj2 = 0 ;
d14a1e28
RD
32119 PyObject * obj3 = 0 ;
32120 char *kwnames[] = {
32121 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
32122 };
32123
994141e6 32124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
32125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32127 {
32128 arg2 = wxString_in_helper(obj1);
32129 if (arg2 == NULL) SWIG_fail;
e811c8ce 32130 temp2 = True;
d14a1e28 32131 }
15afbcd0
RD
32132 arg3 = (int) SWIG_AsInt(obj2);
32133 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32134 if (obj3) {
32135 arg4 = obj3;
32136 }
32137 {
32138 PyThreadState* __tstate = wxPyBeginAllowThreads();
32139 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
32140
32141 wxPyEndAllowThreads(__tstate);
32142 if (PyErr_Occurred()) SWIG_fail;
32143 }
15afbcd0 32144 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32145 {
32146 if (temp2)
32147 delete arg2;
32148 }
32149 return resultobj;
32150 fail:
32151 {
32152 if (temp2)
32153 delete arg2;
32154 }
32155 return NULL;
32156}
32157
32158
32159static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
32160 PyObject *resultobj;
32161 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32162 PyObject * obj0 = 0 ;
32163 char *kwnames[] = {
32164 (char *) "self", NULL
32165 };
32166
32167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
15afbcd0
RD
32168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32170 {
32171 PyThreadState* __tstate = wxPyBeginAllowThreads();
32172 (arg1)->Clear();
32173
32174 wxPyEndAllowThreads(__tstate);
32175 if (PyErr_Occurred()) SWIG_fail;
32176 }
32177 Py_INCREF(Py_None); resultobj = Py_None;
32178 return resultobj;
32179 fail:
32180 return NULL;
32181}
32182
32183
32184static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
32185 PyObject *resultobj;
32186 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32187 int arg2 ;
32188 PyObject * obj0 = 0 ;
994141e6 32189 PyObject * obj1 = 0 ;
d14a1e28
RD
32190 char *kwnames[] = {
32191 (char *) "self",(char *) "n", NULL
32192 };
32193
994141e6 32194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32197 arg2 = (int) SWIG_AsInt(obj1);
32198 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32199 {
32200 PyThreadState* __tstate = wxPyBeginAllowThreads();
32201 (arg1)->Delete(arg2);
32202
32203 wxPyEndAllowThreads(__tstate);
32204 if (PyErr_Occurred()) SWIG_fail;
32205 }
32206 Py_INCREF(Py_None); resultobj = Py_None;
32207 return resultobj;
32208 fail:
32209 return NULL;
32210}
32211
32212
32213static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
32214 PyObject *resultobj;
32215 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32216 int result;
32217 PyObject * obj0 = 0 ;
32218 char *kwnames[] = {
32219 (char *) "self", NULL
32220 };
32221
32222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
15afbcd0
RD
32223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32225 {
32226 PyThreadState* __tstate = wxPyBeginAllowThreads();
32227 result = (int)((wxItemContainer const *)arg1)->GetCount();
32228
32229 wxPyEndAllowThreads(__tstate);
32230 if (PyErr_Occurred()) SWIG_fail;
32231 }
15afbcd0 32232 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32233 return resultobj;
32234 fail:
32235 return NULL;
32236}
32237
32238
32239static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
32240 PyObject *resultobj;
32241 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32242 bool result;
32243 PyObject * obj0 = 0 ;
32244 char *kwnames[] = {
32245 (char *) "self", NULL
32246 };
32247
32248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
15afbcd0
RD
32249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32251 {
32252 PyThreadState* __tstate = wxPyBeginAllowThreads();
32253 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
32254
32255 wxPyEndAllowThreads(__tstate);
32256 if (PyErr_Occurred()) SWIG_fail;
32257 }
4f89f6a3
RD
32258 {
32259 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32260 }
d14a1e28
RD
32261 return resultobj;
32262 fail:
32263 return NULL;
32264}
32265
32266
32267static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
32268 PyObject *resultobj;
32269 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32270 int arg2 ;
32271 wxString result;
32272 PyObject * obj0 = 0 ;
994141e6 32273 PyObject * obj1 = 0 ;
d14a1e28
RD
32274 char *kwnames[] = {
32275 (char *) "self",(char *) "n", NULL
32276 };
32277
994141e6 32278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32281 arg2 = (int) SWIG_AsInt(obj1);
32282 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32283 {
32284 PyThreadState* __tstate = wxPyBeginAllowThreads();
32285 result = ((wxItemContainer const *)arg1)->GetString(arg2);
32286
32287 wxPyEndAllowThreads(__tstate);
32288 if (PyErr_Occurred()) SWIG_fail;
32289 }
32290 {
32291#if wxUSE_UNICODE
32292 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32293#else
32294 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32295#endif
32296 }
32297 return resultobj;
32298 fail:
32299 return NULL;
32300}
32301
32302
32303static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
32304 PyObject *resultobj;
32305 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32306 wxArrayString result;
32307 PyObject * obj0 = 0 ;
32308 char *kwnames[] = {
32309 (char *) "self", NULL
32310 };
32311
32312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
15afbcd0
RD
32313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32315 {
32316 PyThreadState* __tstate = wxPyBeginAllowThreads();
32317 result = ((wxItemContainer const *)arg1)->GetStrings();
32318
32319 wxPyEndAllowThreads(__tstate);
32320 if (PyErr_Occurred()) SWIG_fail;
32321 }
32322 {
32323 resultobj = wxArrayString2PyList_helper(result);
32324 }
32325 return resultobj;
32326 fail:
32327 return NULL;
32328}
32329
32330
32331static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
32332 PyObject *resultobj;
32333 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32334 int arg2 ;
32335 wxString *arg3 = 0 ;
e811c8ce 32336 bool temp3 = False ;
d14a1e28 32337 PyObject * obj0 = 0 ;
994141e6 32338 PyObject * obj1 = 0 ;
d14a1e28
RD
32339 PyObject * obj2 = 0 ;
32340 char *kwnames[] = {
32341 (char *) "self",(char *) "n",(char *) "s", NULL
32342 };
32343
994141e6 32344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32347 arg2 = (int) SWIG_AsInt(obj1);
32348 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32349 {
32350 arg3 = wxString_in_helper(obj2);
32351 if (arg3 == NULL) SWIG_fail;
e811c8ce 32352 temp3 = True;
d14a1e28
RD
32353 }
32354 {
32355 PyThreadState* __tstate = wxPyBeginAllowThreads();
32356 (arg1)->SetString(arg2,(wxString const &)*arg3);
32357
32358 wxPyEndAllowThreads(__tstate);
32359 if (PyErr_Occurred()) SWIG_fail;
32360 }
32361 Py_INCREF(Py_None); resultobj = Py_None;
32362 {
32363 if (temp3)
32364 delete arg3;
32365 }
32366 return resultobj;
32367 fail:
32368 {
32369 if (temp3)
32370 delete arg3;
32371 }
32372 return NULL;
32373}
32374
32375
32376static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
32377 PyObject *resultobj;
32378 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32379 wxString *arg2 = 0 ;
32380 int result;
e811c8ce 32381 bool temp2 = False ;
d14a1e28
RD
32382 PyObject * obj0 = 0 ;
32383 PyObject * obj1 = 0 ;
32384 char *kwnames[] = {
32385 (char *) "self",(char *) "s", NULL
32386 };
32387
32388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32391 {
32392 arg2 = wxString_in_helper(obj1);
32393 if (arg2 == NULL) SWIG_fail;
e811c8ce 32394 temp2 = True;
d14a1e28
RD
32395 }
32396 {
32397 PyThreadState* __tstate = wxPyBeginAllowThreads();
32398 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
32399
32400 wxPyEndAllowThreads(__tstate);
32401 if (PyErr_Occurred()) SWIG_fail;
32402 }
15afbcd0 32403 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32404 {
32405 if (temp2)
32406 delete arg2;
32407 }
32408 return resultobj;
32409 fail:
32410 {
32411 if (temp2)
32412 delete arg2;
32413 }
32414 return NULL;
32415}
32416
32417
32418static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
32419 PyObject *resultobj;
32420 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32421 int arg2 ;
32422 PyObject * obj0 = 0 ;
994141e6 32423 PyObject * obj1 = 0 ;
d14a1e28
RD
32424 char *kwnames[] = {
32425 (char *) "self",(char *) "n", NULL
32426 };
32427
994141e6 32428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32431 arg2 = (int) SWIG_AsInt(obj1);
32432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32433 {
32434 PyThreadState* __tstate = wxPyBeginAllowThreads();
32435 (arg1)->Select(arg2);
32436
32437 wxPyEndAllowThreads(__tstate);
32438 if (PyErr_Occurred()) SWIG_fail;
32439 }
32440 Py_INCREF(Py_None); resultobj = Py_None;
32441 return resultobj;
32442 fail:
32443 return NULL;
32444}
32445
32446
32447static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
32448 PyObject *resultobj;
32449 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32450 int result;
32451 PyObject * obj0 = 0 ;
32452 char *kwnames[] = {
32453 (char *) "self", NULL
32454 };
32455
32456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
32457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32459 {
32460 PyThreadState* __tstate = wxPyBeginAllowThreads();
32461 result = (int)((wxItemContainer const *)arg1)->GetSelection();
32462
32463 wxPyEndAllowThreads(__tstate);
32464 if (PyErr_Occurred()) SWIG_fail;
32465 }
15afbcd0 32466 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32467 return resultobj;
32468 fail:
32469 return NULL;
32470}
32471
32472
32473static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
32474 PyObject *resultobj;
32475 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32476 wxString result;
32477 PyObject * obj0 = 0 ;
32478 char *kwnames[] = {
32479 (char *) "self", NULL
32480 };
32481
32482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
15afbcd0
RD
32483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32485 {
32486 PyThreadState* __tstate = wxPyBeginAllowThreads();
32487 result = ((wxItemContainer const *)arg1)->GetStringSelection();
32488
32489 wxPyEndAllowThreads(__tstate);
32490 if (PyErr_Occurred()) SWIG_fail;
32491 }
32492 {
32493#if wxUSE_UNICODE
32494 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32495#else
32496 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32497#endif
32498 }
32499 return resultobj;
32500 fail:
32501 return NULL;
32502}
32503
32504
32505static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
32506 PyObject *resultobj;
32507 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32508 int arg2 ;
32509 PyObject *result;
32510 PyObject * obj0 = 0 ;
994141e6 32511 PyObject * obj1 = 0 ;
d14a1e28
RD
32512 char *kwnames[] = {
32513 (char *) "self",(char *) "n", NULL
32514 };
32515
994141e6 32516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32519 arg2 = (int) SWIG_AsInt(obj1);
32520 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32521 {
32522 PyThreadState* __tstate = wxPyBeginAllowThreads();
32523 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
32524
32525 wxPyEndAllowThreads(__tstate);
32526 if (PyErr_Occurred()) SWIG_fail;
32527 }
32528 resultobj = result;
32529 return resultobj;
32530 fail:
32531 return NULL;
32532}
32533
32534
32535static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
32536 PyObject *resultobj;
32537 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32538 int arg2 ;
32539 PyObject *arg3 = (PyObject *) 0 ;
32540 PyObject * obj0 = 0 ;
994141e6 32541 PyObject * obj1 = 0 ;
d14a1e28
RD
32542 PyObject * obj2 = 0 ;
32543 char *kwnames[] = {
32544 (char *) "self",(char *) "n",(char *) "clientData", NULL
32545 };
32546
994141e6 32547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32550 arg2 = (int) SWIG_AsInt(obj1);
32551 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32552 arg3 = obj2;
32553 {
32554 PyThreadState* __tstate = wxPyBeginAllowThreads();
32555 wxItemContainer_SetClientData(arg1,arg2,arg3);
32556
32557 wxPyEndAllowThreads(__tstate);
32558 if (PyErr_Occurred()) SWIG_fail;
32559 }
32560 Py_INCREF(Py_None); resultobj = Py_None;
32561 return resultobj;
32562 fail:
32563 return NULL;
32564}
32565
32566
32567static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
32568 PyObject *obj;
32569 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32570 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
32571 Py_INCREF(obj);
32572 return Py_BuildValue((char *)"");
32573}
32574static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
32575 PyObject *obj;
32576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32577 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
32578 Py_INCREF(obj);
32579 return Py_BuildValue((char *)"");
32580}
32581static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32582 PyObject *resultobj;
32583 wxSizerItem *result;
32584 char *kwnames[] = {
32585 NULL
32586 };
32587
32588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
32589 {
32590 PyThreadState* __tstate = wxPyBeginAllowThreads();
32591 result = (wxSizerItem *)new wxSizerItem();
32592
32593 wxPyEndAllowThreads(__tstate);
32594 if (PyErr_Occurred()) SWIG_fail;
32595 }
15afbcd0 32596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
32597 return resultobj;
32598 fail:
32599 return NULL;
32600}
32601
32602
32603static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32604 PyObject *resultobj;
32605 int arg1 ;
32606 int arg2 ;
32607 int arg3 ;
32608 int arg4 ;
32609 int arg5 ;
32610 wxObject *arg6 = (wxObject *) 0 ;
32611 wxSizerItem *result;
994141e6
RD
32612 PyObject * obj0 = 0 ;
32613 PyObject * obj1 = 0 ;
32614 PyObject * obj2 = 0 ;
32615 PyObject * obj3 = 0 ;
32616 PyObject * obj4 = 0 ;
d14a1e28
RD
32617 PyObject * obj5 = 0 ;
32618 char *kwnames[] = {
32619 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32620 };
32621
994141e6 32622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
32623 arg1 = (int) SWIG_AsInt(obj0);
32624 if (PyErr_Occurred()) SWIG_fail;
32625 arg2 = (int) SWIG_AsInt(obj1);
32626 if (PyErr_Occurred()) SWIG_fail;
32627 arg3 = (int) SWIG_AsInt(obj2);
32628 if (PyErr_Occurred()) SWIG_fail;
32629 arg4 = (int) SWIG_AsInt(obj3);
32630 if (PyErr_Occurred()) SWIG_fail;
32631 arg5 = (int) SWIG_AsInt(obj4);
32632 if (PyErr_Occurred()) SWIG_fail;
32633 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
32634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32635 {
32636 PyThreadState* __tstate = wxPyBeginAllowThreads();
32637 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
32638
32639 wxPyEndAllowThreads(__tstate);
32640 if (PyErr_Occurred()) SWIG_fail;
32641 }
15afbcd0 32642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
32643 return resultobj;
32644 fail:
32645 return NULL;
32646}
32647
32648
32649static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32650 PyObject *resultobj;
32651 wxWindow *arg1 = (wxWindow *) 0 ;
32652 int arg2 ;
32653 int arg3 ;
32654 int arg4 ;
32655 wxObject *arg5 = (wxObject *) 0 ;
32656 wxSizerItem *result;
32657 PyObject * obj0 = 0 ;
994141e6
RD
32658 PyObject * obj1 = 0 ;
32659 PyObject * obj2 = 0 ;
32660 PyObject * obj3 = 0 ;
d14a1e28
RD
32661 PyObject * obj4 = 0 ;
32662 char *kwnames[] = {
32663 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32664 };
32665
994141e6 32666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
32667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
32668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32669 arg2 = (int) SWIG_AsInt(obj1);
32670 if (PyErr_Occurred()) SWIG_fail;
32671 arg3 = (int) SWIG_AsInt(obj2);
32672 if (PyErr_Occurred()) SWIG_fail;
32673 arg4 = (int) SWIG_AsInt(obj3);
32674 if (PyErr_Occurred()) SWIG_fail;
32675 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
32676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32677 {
32678 PyThreadState* __tstate = wxPyBeginAllowThreads();
32679 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
32680
32681 wxPyEndAllowThreads(__tstate);
32682 if (PyErr_Occurred()) SWIG_fail;
32683 }
15afbcd0 32684 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
32685 return resultobj;
32686 fail:
32687 return NULL;
32688}
32689
32690
32691static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32692 PyObject *resultobj;
32693 wxSizer *arg1 = (wxSizer *) 0 ;
32694 int arg2 ;
32695 int arg3 ;
32696 int arg4 ;
32697 wxObject *arg5 = (wxObject *) 0 ;
32698 wxSizerItem *result;
32699 PyObject * obj0 = 0 ;
994141e6
RD
32700 PyObject * obj1 = 0 ;
32701 PyObject * obj2 = 0 ;
32702 PyObject * obj3 = 0 ;
d14a1e28
RD
32703 PyObject * obj4 = 0 ;
32704 char *kwnames[] = {
32705 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32706 };
32707
994141e6 32708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
32709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
32710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32711 arg2 = (int) SWIG_AsInt(obj1);
32712 if (PyErr_Occurred()) SWIG_fail;
32713 arg3 = (int) SWIG_AsInt(obj2);
32714 if (PyErr_Occurred()) SWIG_fail;
32715 arg4 = (int) SWIG_AsInt(obj3);
32716 if (PyErr_Occurred()) SWIG_fail;
32717 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
32718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32719 {
32720 PyThreadState* __tstate = wxPyBeginAllowThreads();
32721 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
32722
32723 wxPyEndAllowThreads(__tstate);
32724 if (PyErr_Occurred()) SWIG_fail;
32725 }
15afbcd0 32726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
32727 return resultobj;
32728 fail:
32729 return NULL;
32730}
32731
32732
32733static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
32734 PyObject *resultobj;
32735 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32736 PyObject * obj0 = 0 ;
32737 char *kwnames[] = {
32738 (char *) "self", NULL
32739 };
32740
32741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
32742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32744 {
32745 PyThreadState* __tstate = wxPyBeginAllowThreads();
32746 (arg1)->DeleteWindows();
32747
32748 wxPyEndAllowThreads(__tstate);
32749 if (PyErr_Occurred()) SWIG_fail;
32750 }
32751 Py_INCREF(Py_None); resultobj = Py_None;
32752 return resultobj;
32753 fail:
32754 return NULL;
32755}
32756
32757
32758static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32759 PyObject *resultobj;
32760 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32761 PyObject * obj0 = 0 ;
32762 char *kwnames[] = {
32763 (char *) "self", NULL
32764 };
32765
32766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
32767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32769 {
32770 PyThreadState* __tstate = wxPyBeginAllowThreads();
32771 (arg1)->DetachSizer();
32772
32773 wxPyEndAllowThreads(__tstate);
32774 if (PyErr_Occurred()) SWIG_fail;
32775 }
32776 Py_INCREF(Py_None); resultobj = Py_None;
32777 return resultobj;
32778 fail:
32779 return NULL;
32780}
32781
32782
32783static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32784 PyObject *resultobj;
32785 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32786 wxSize result;
32787 PyObject * obj0 = 0 ;
32788 char *kwnames[] = {
32789 (char *) "self", NULL
32790 };
32791
32792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
32793 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32794 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32795 {
32796 PyThreadState* __tstate = wxPyBeginAllowThreads();
32797 result = (arg1)->GetSize();
32798
32799 wxPyEndAllowThreads(__tstate);
32800 if (PyErr_Occurred()) SWIG_fail;
32801 }
32802 {
32803 wxSize * resultptr;
32804 resultptr = new wxSize((wxSize &) result);
15afbcd0 32805 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32806 }
32807 return resultobj;
32808 fail:
32809 return NULL;
32810}
32811
32812
32813static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
32814 PyObject *resultobj;
32815 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32816 wxSize result;
32817 PyObject * obj0 = 0 ;
32818 char *kwnames[] = {
32819 (char *) "self", NULL
32820 };
32821
32822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
32823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32825 {
32826 PyThreadState* __tstate = wxPyBeginAllowThreads();
32827 result = (arg1)->CalcMin();
32828
32829 wxPyEndAllowThreads(__tstate);
32830 if (PyErr_Occurred()) SWIG_fail;
32831 }
32832 {
32833 wxSize * resultptr;
32834 resultptr = new wxSize((wxSize &) result);
15afbcd0 32835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32836 }
32837 return resultobj;
32838 fail:
32839 return NULL;
32840}
32841
32842
32843static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
32844 PyObject *resultobj;
32845 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32846 wxPoint arg2 ;
32847 wxSize arg3 ;
32848 wxPoint *argp2 ;
32849 wxSize *argp3 ;
32850 PyObject * obj0 = 0 ;
32851 PyObject * obj1 = 0 ;
32852 PyObject * obj2 = 0 ;
32853 char *kwnames[] = {
32854 (char *) "self",(char *) "pos",(char *) "size", NULL
32855 };
32856
32857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32860 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
32861 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32862 arg2 = *argp2;
32863 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
32864 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32865 arg3 = *argp3;
d14a1e28
RD
32866 {
32867 PyThreadState* __tstate = wxPyBeginAllowThreads();
32868 (arg1)->SetDimension(arg2,arg3);
32869
32870 wxPyEndAllowThreads(__tstate);
32871 if (PyErr_Occurred()) SWIG_fail;
32872 }
32873 Py_INCREF(Py_None); resultobj = Py_None;
32874 return resultobj;
32875 fail:
32876 return NULL;
32877}
32878
32879
32880static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32881 PyObject *resultobj;
32882 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32883 wxSize result;
32884 PyObject * obj0 = 0 ;
32885 char *kwnames[] = {
32886 (char *) "self", NULL
32887 };
32888
32889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
32890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32892 {
32893 PyThreadState* __tstate = wxPyBeginAllowThreads();
32894 result = (arg1)->GetMinSize();
32895
32896 wxPyEndAllowThreads(__tstate);
32897 if (PyErr_Occurred()) SWIG_fail;
32898 }
32899 {
32900 wxSize * resultptr;
32901 resultptr = new wxSize((wxSize &) result);
15afbcd0 32902 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32903 }
32904 return resultobj;
32905 fail:
32906 return NULL;
32907}
32908
32909
32910static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32911 PyObject *resultobj;
32912 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32913 int arg2 ;
32914 int arg3 ;
32915 PyObject * obj0 = 0 ;
994141e6
RD
32916 PyObject * obj1 = 0 ;
32917 PyObject * obj2 = 0 ;
d14a1e28
RD
32918 char *kwnames[] = {
32919 (char *) "self",(char *) "x",(char *) "y", NULL
32920 };
32921
994141e6 32922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32925 arg2 = (int) SWIG_AsInt(obj1);
32926 if (PyErr_Occurred()) SWIG_fail;
32927 arg3 = (int) SWIG_AsInt(obj2);
32928 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32929 {
32930 PyThreadState* __tstate = wxPyBeginAllowThreads();
32931 (arg1)->SetInitSize(arg2,arg3);
32932
32933 wxPyEndAllowThreads(__tstate);
32934 if (PyErr_Occurred()) SWIG_fail;
32935 }
32936 Py_INCREF(Py_None); resultobj = Py_None;
32937 return resultobj;
32938 fail:
32939 return NULL;
32940}
32941
32942
32943static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
32944 PyObject *resultobj;
32945 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32946 int arg2 ;
32947 int arg3 ;
32948 PyObject * obj0 = 0 ;
994141e6
RD
32949 PyObject * obj1 = 0 ;
32950 PyObject * obj2 = 0 ;
d14a1e28
RD
32951 char *kwnames[] = {
32952 (char *) "self",(char *) "width",(char *) "height", NULL
32953 };
32954
994141e6 32955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
32956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32958 arg2 = (int) SWIG_AsInt(obj1);
32959 if (PyErr_Occurred()) SWIG_fail;
32960 arg3 = (int) SWIG_AsInt(obj2);
32961 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32962 {
32963 PyThreadState* __tstate = wxPyBeginAllowThreads();
32964 (arg1)->SetRatio(arg2,arg3);
32965
32966 wxPyEndAllowThreads(__tstate);
32967 if (PyErr_Occurred()) SWIG_fail;
32968 }
32969 Py_INCREF(Py_None); resultobj = Py_None;
32970 return resultobj;
32971 fail:
32972 return NULL;
32973}
32974
32975
32976static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32977 PyObject *resultobj;
32978 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32979 wxSize arg2 ;
32980 wxSize *argp2 ;
32981 PyObject * obj0 = 0 ;
32982 PyObject * obj1 = 0 ;
32983 char *kwnames[] = {
32984 (char *) "self",(char *) "size", NULL
32985 };
32986
32987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
32988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32990 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
32991 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32992 arg2 = *argp2;
d14a1e28
RD
32993 {
32994 PyThreadState* __tstate = wxPyBeginAllowThreads();
32995 (arg1)->SetRatio(arg2);
32996
32997 wxPyEndAllowThreads(__tstate);
32998 if (PyErr_Occurred()) SWIG_fail;
32999 }
33000 Py_INCREF(Py_None); resultobj = Py_None;
33001 return resultobj;
33002 fail:
33003 return NULL;
33004}
33005
33006
33007static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
33008 PyObject *resultobj;
33009 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33010 float arg2 ;
33011 PyObject * obj0 = 0 ;
994141e6 33012 PyObject * obj1 = 0 ;
d14a1e28
RD
33013 char *kwnames[] = {
33014 (char *) "self",(char *) "ratio", NULL
33015 };
33016
994141e6 33017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33020 arg2 = (float) SWIG_AsFloat(obj1);
33021 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33022 {
33023 PyThreadState* __tstate = wxPyBeginAllowThreads();
33024 (arg1)->SetRatio(arg2);
33025
33026 wxPyEndAllowThreads(__tstate);
33027 if (PyErr_Occurred()) SWIG_fail;
33028 }
33029 Py_INCREF(Py_None); resultobj = Py_None;
33030 return resultobj;
33031 fail:
33032 return NULL;
33033}
33034
33035
33036static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
33037 PyObject *resultobj;
33038 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33039 float result;
33040 PyObject * obj0 = 0 ;
33041 char *kwnames[] = {
33042 (char *) "self", NULL
33043 };
33044
33045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
15afbcd0
RD
33046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33048 {
33049 PyThreadState* __tstate = wxPyBeginAllowThreads();
33050 result = (float)(arg1)->GetRatio();
33051
33052 wxPyEndAllowThreads(__tstate);
33053 if (PyErr_Occurred()) SWIG_fail;
33054 }
15afbcd0 33055 resultobj = SWIG_FromFloat((float)result);
d14a1e28
RD
33056 return resultobj;
33057 fail:
33058 return NULL;
33059}
33060
33061
33062static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33063 PyObject *resultobj;
33064 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33065 bool result;
33066 PyObject * obj0 = 0 ;
33067 char *kwnames[] = {
33068 (char *) "self", NULL
33069 };
33070
33071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
33072 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33073 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33074 {
33075 PyThreadState* __tstate = wxPyBeginAllowThreads();
33076 result = (bool)(arg1)->IsWindow();
33077
33078 wxPyEndAllowThreads(__tstate);
33079 if (PyErr_Occurred()) SWIG_fail;
33080 }
4f89f6a3
RD
33081 {
33082 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33083 }
d14a1e28
RD
33084 return resultobj;
33085 fail:
33086 return NULL;
33087}
33088
33089
33090static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33091 PyObject *resultobj;
33092 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33093 bool result;
33094 PyObject * obj0 = 0 ;
33095 char *kwnames[] = {
33096 (char *) "self", NULL
33097 };
33098
33099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
33100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33102 {
33103 PyThreadState* __tstate = wxPyBeginAllowThreads();
33104 result = (bool)(arg1)->IsSizer();
33105
33106 wxPyEndAllowThreads(__tstate);
33107 if (PyErr_Occurred()) SWIG_fail;
33108 }
4f89f6a3
RD
33109 {
33110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33111 }
d14a1e28
RD
33112 return resultobj;
33113 fail:
33114 return NULL;
33115}
33116
33117
33118static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
33119 PyObject *resultobj;
33120 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33121 bool result;
33122 PyObject * obj0 = 0 ;
33123 char *kwnames[] = {
33124 (char *) "self", NULL
33125 };
33126
33127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
33128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33130 {
33131 PyThreadState* __tstate = wxPyBeginAllowThreads();
33132 result = (bool)(arg1)->IsSpacer();
33133
33134 wxPyEndAllowThreads(__tstate);
33135 if (PyErr_Occurred()) SWIG_fail;
33136 }
4f89f6a3
RD
33137 {
33138 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33139 }
d14a1e28
RD
33140 return resultobj;
33141 fail:
33142 return NULL;
33143}
33144
33145
33146static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
33147 PyObject *resultobj;
33148 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33149 int arg2 ;
33150 PyObject * obj0 = 0 ;
994141e6 33151 PyObject * obj1 = 0 ;
d14a1e28
RD
33152 char *kwnames[] = {
33153 (char *) "self",(char *) "proportion", NULL
33154 };
33155
994141e6 33156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33159 arg2 = (int) SWIG_AsInt(obj1);
33160 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33161 {
33162 PyThreadState* __tstate = wxPyBeginAllowThreads();
33163 (arg1)->SetProportion(arg2);
33164
33165 wxPyEndAllowThreads(__tstate);
33166 if (PyErr_Occurred()) SWIG_fail;
33167 }
33168 Py_INCREF(Py_None); resultobj = Py_None;
33169 return resultobj;
33170 fail:
33171 return NULL;
33172}
33173
33174
33175static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
33176 PyObject *resultobj;
33177 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33178 int result;
33179 PyObject * obj0 = 0 ;
33180 char *kwnames[] = {
33181 (char *) "self", NULL
33182 };
33183
33184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
15afbcd0
RD
33185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33187 {
33188 PyThreadState* __tstate = wxPyBeginAllowThreads();
33189 result = (int)(arg1)->GetProportion();
33190
33191 wxPyEndAllowThreads(__tstate);
33192 if (PyErr_Occurred()) SWIG_fail;
33193 }
15afbcd0 33194 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33195 return resultobj;
33196 fail:
33197 return NULL;
33198}
33199
33200
33201static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
33202 PyObject *resultobj;
33203 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33204 int arg2 ;
33205 PyObject * obj0 = 0 ;
994141e6 33206 PyObject * obj1 = 0 ;
d14a1e28
RD
33207 char *kwnames[] = {
33208 (char *) "self",(char *) "flag", NULL
33209 };
33210
994141e6 33211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33214 arg2 = (int) SWIG_AsInt(obj1);
33215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33216 {
33217 PyThreadState* __tstate = wxPyBeginAllowThreads();
33218 (arg1)->SetFlag(arg2);
33219
33220 wxPyEndAllowThreads(__tstate);
33221 if (PyErr_Occurred()) SWIG_fail;
33222 }
33223 Py_INCREF(Py_None); resultobj = Py_None;
33224 return resultobj;
33225 fail:
33226 return NULL;
33227}
33228
33229
33230static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
33231 PyObject *resultobj;
33232 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33233 int result;
33234 PyObject * obj0 = 0 ;
33235 char *kwnames[] = {
33236 (char *) "self", NULL
33237 };
33238
33239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
15afbcd0
RD
33240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33242 {
33243 PyThreadState* __tstate = wxPyBeginAllowThreads();
33244 result = (int)(arg1)->GetFlag();
33245
33246 wxPyEndAllowThreads(__tstate);
33247 if (PyErr_Occurred()) SWIG_fail;
33248 }
15afbcd0 33249 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33250 return resultobj;
33251 fail:
33252 return NULL;
33253}
33254
33255
33256static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
33257 PyObject *resultobj;
33258 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33259 int arg2 ;
33260 PyObject * obj0 = 0 ;
994141e6 33261 PyObject * obj1 = 0 ;
d14a1e28
RD
33262 char *kwnames[] = {
33263 (char *) "self",(char *) "border", NULL
33264 };
33265
994141e6 33266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33269 arg2 = (int) SWIG_AsInt(obj1);
33270 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33271 {
33272 PyThreadState* __tstate = wxPyBeginAllowThreads();
33273 (arg1)->SetBorder(arg2);
33274
33275 wxPyEndAllowThreads(__tstate);
33276 if (PyErr_Occurred()) SWIG_fail;
33277 }
33278 Py_INCREF(Py_None); resultobj = Py_None;
33279 return resultobj;
33280 fail:
33281 return NULL;
33282}
33283
33284
33285static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
33286 PyObject *resultobj;
33287 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33288 int result;
33289 PyObject * obj0 = 0 ;
33290 char *kwnames[] = {
33291 (char *) "self", NULL
33292 };
33293
33294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
15afbcd0
RD
33295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33297 {
33298 PyThreadState* __tstate = wxPyBeginAllowThreads();
33299 result = (int)(arg1)->GetBorder();
33300
33301 wxPyEndAllowThreads(__tstate);
33302 if (PyErr_Occurred()) SWIG_fail;
33303 }
15afbcd0 33304 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33305 return resultobj;
33306 fail:
33307 return NULL;
33308}
33309
33310
33311static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33312 PyObject *resultobj;
33313 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33314 wxWindow *result;
33315 PyObject * obj0 = 0 ;
33316 char *kwnames[] = {
33317 (char *) "self", NULL
33318 };
33319
33320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
33321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33323 {
33324 PyThreadState* __tstate = wxPyBeginAllowThreads();
33325 result = (wxWindow *)(arg1)->GetWindow();
33326
33327 wxPyEndAllowThreads(__tstate);
33328 if (PyErr_Occurred()) SWIG_fail;
33329 }
33330 {
33331 resultobj = wxPyMake_wxObject(result);
33332 }
33333 return resultobj;
33334 fail:
33335 return NULL;
33336}
33337
33338
33339static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33340 PyObject *resultobj;
33341 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33342 wxWindow *arg2 = (wxWindow *) 0 ;
33343 PyObject * obj0 = 0 ;
33344 PyObject * obj1 = 0 ;
33345 char *kwnames[] = {
33346 (char *) "self",(char *) "window", NULL
33347 };
33348
33349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33352 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
33353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33354 {
33355 PyThreadState* __tstate = wxPyBeginAllowThreads();
33356 (arg1)->SetWindow(arg2);
33357
33358 wxPyEndAllowThreads(__tstate);
33359 if (PyErr_Occurred()) SWIG_fail;
33360 }
33361 Py_INCREF(Py_None); resultobj = Py_None;
33362 return resultobj;
33363 fail:
33364 return NULL;
33365}
33366
33367
33368static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33369 PyObject *resultobj;
33370 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33371 wxSizer *result;
33372 PyObject * obj0 = 0 ;
33373 char *kwnames[] = {
33374 (char *) "self", NULL
33375 };
33376
33377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
33378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33380 {
33381 PyThreadState* __tstate = wxPyBeginAllowThreads();
33382 result = (wxSizer *)(arg1)->GetSizer();
33383
33384 wxPyEndAllowThreads(__tstate);
33385 if (PyErr_Occurred()) SWIG_fail;
33386 }
33387 {
33388 resultobj = wxPyMake_wxSizer(result);
33389 }
33390 return resultobj;
33391 fail:
33392 return NULL;
33393}
33394
33395
33396static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33397 PyObject *resultobj;
33398 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33399 wxSizer *arg2 = (wxSizer *) 0 ;
33400 PyObject * obj0 = 0 ;
33401 PyObject * obj1 = 0 ;
33402 char *kwnames[] = {
33403 (char *) "self",(char *) "sizer", NULL
33404 };
33405
33406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33409 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
33410 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33411 {
33412 PyThreadState* __tstate = wxPyBeginAllowThreads();
33413 (arg1)->SetSizer(arg2);
33414
33415 wxPyEndAllowThreads(__tstate);
33416 if (PyErr_Occurred()) SWIG_fail;
33417 }
33418 Py_INCREF(Py_None); resultobj = Py_None;
33419 return resultobj;
33420 fail:
33421 return NULL;
33422}
33423
33424
33425static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
33426 PyObject *resultobj;
33427 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33428 wxSize *result;
33429 PyObject * obj0 = 0 ;
33430 char *kwnames[] = {
33431 (char *) "self", NULL
33432 };
33433
33434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
15afbcd0
RD
33435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33437 {
33438 PyThreadState* __tstate = wxPyBeginAllowThreads();
33439 {
33440 wxSize const &_result_ref = (arg1)->GetSpacer();
33441 result = (wxSize *) &_result_ref;
33442 }
33443
33444 wxPyEndAllowThreads(__tstate);
33445 if (PyErr_Occurred()) SWIG_fail;
33446 }
15afbcd0 33447 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
33448 return resultobj;
33449 fail:
33450 return NULL;
33451}
33452
33453
33454static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
33455 PyObject *resultobj;
33456 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33457 wxSize *arg2 = 0 ;
33458 wxSize temp2 ;
33459 PyObject * obj0 = 0 ;
33460 PyObject * obj1 = 0 ;
33461 char *kwnames[] = {
33462 (char *) "self",(char *) "size", NULL
33463 };
33464
33465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33468 {
33469 arg2 = &temp2;
33470 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33471 }
33472 {
33473 PyThreadState* __tstate = wxPyBeginAllowThreads();
33474 (arg1)->SetSpacer((wxSize const &)*arg2);
33475
33476 wxPyEndAllowThreads(__tstate);
33477 if (PyErr_Occurred()) SWIG_fail;
33478 }
33479 Py_INCREF(Py_None); resultobj = Py_None;
33480 return resultobj;
33481 fail:
33482 return NULL;
33483}
33484
33485
33486static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
33487 PyObject *resultobj;
33488 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33489 bool arg2 ;
33490 PyObject * obj0 = 0 ;
33491 PyObject * obj1 = 0 ;
33492 char *kwnames[] = {
33493 (char *) "self",(char *) "show", NULL
33494 };
33495
33496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33499 arg2 = (bool) SWIG_AsBool(obj1);
33500 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33501 {
33502 PyThreadState* __tstate = wxPyBeginAllowThreads();
33503 (arg1)->Show(arg2);
33504
33505 wxPyEndAllowThreads(__tstate);
33506 if (PyErr_Occurred()) SWIG_fail;
33507 }
33508 Py_INCREF(Py_None); resultobj = Py_None;
33509 return resultobj;
33510 fail:
33511 return NULL;
33512}
33513
33514
33515static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
33516 PyObject *resultobj;
33517 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33518 bool result;
33519 PyObject * obj0 = 0 ;
33520 char *kwnames[] = {
33521 (char *) "self", NULL
33522 };
33523
33524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
15afbcd0
RD
33525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33527 {
33528 PyThreadState* __tstate = wxPyBeginAllowThreads();
33529 result = (bool)(arg1)->IsShown();
33530
33531 wxPyEndAllowThreads(__tstate);
33532 if (PyErr_Occurred()) SWIG_fail;
33533 }
4f89f6a3
RD
33534 {
33535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33536 }
d14a1e28
RD
33537 return resultobj;
33538 fail:
33539 return NULL;
33540}
33541
33542
33543static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
33544 PyObject *resultobj;
33545 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33546 wxPoint result;
33547 PyObject * obj0 = 0 ;
33548 char *kwnames[] = {
33549 (char *) "self", NULL
33550 };
33551
33552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
33553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33555 {
33556 PyThreadState* __tstate = wxPyBeginAllowThreads();
33557 result = (arg1)->GetPosition();
33558
33559 wxPyEndAllowThreads(__tstate);
33560 if (PyErr_Occurred()) SWIG_fail;
33561 }
33562 {
33563 wxPoint * resultptr;
33564 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 33565 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
33566 }
33567 return resultobj;
33568 fail:
33569 return NULL;
33570}
33571
33572
33573static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
33574 PyObject *resultobj;
33575 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33576 PyObject *result;
33577 PyObject * obj0 = 0 ;
33578 char *kwnames[] = {
33579 (char *) "self", NULL
33580 };
33581
33582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
15afbcd0
RD
33583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33585 {
33586 PyThreadState* __tstate = wxPyBeginAllowThreads();
33587 result = (PyObject *)wxSizerItem_GetUserData(arg1);
33588
33589 wxPyEndAllowThreads(__tstate);
33590 if (PyErr_Occurred()) SWIG_fail;
33591 }
33592 resultobj = result;
33593 return resultobj;
33594 fail:
33595 return NULL;
33596}
33597
33598
33599static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
33600 PyObject *obj;
33601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33602 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
33603 Py_INCREF(obj);
33604 return Py_BuildValue((char *)"");
33605}
33606static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
33607 PyObject *resultobj;
33608 wxSizer *arg1 = (wxSizer *) 0 ;
33609 PyObject *arg2 = (PyObject *) 0 ;
33610 PyObject * obj0 = 0 ;
33611 PyObject * obj1 = 0 ;
33612 char *kwnames[] = {
33613 (char *) "self",(char *) "_self", NULL
33614 };
33615
33616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33619 arg2 = obj1;
33620 {
33621 PyThreadState* __tstate = wxPyBeginAllowThreads();
33622 wxSizer__setOORInfo(arg1,arg2);
33623
33624 wxPyEndAllowThreads(__tstate);
33625 if (PyErr_Occurred()) SWIG_fail;
33626 }
33627 Py_INCREF(Py_None); resultobj = Py_None;
33628 return resultobj;
33629 fail:
33630 return NULL;
33631}
33632
33633
33634static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
33635 PyObject *resultobj;
33636 wxSizer *arg1 = (wxSizer *) 0 ;
33637 PyObject *arg2 = (PyObject *) 0 ;
33638 int arg3 = (int) 0 ;
33639 int arg4 = (int) 0 ;
33640 int arg5 = (int) 0 ;
33641 PyObject *arg6 = (PyObject *) NULL ;
33642 PyObject * obj0 = 0 ;
33643 PyObject * obj1 = 0 ;
994141e6
RD
33644 PyObject * obj2 = 0 ;
33645 PyObject * obj3 = 0 ;
33646 PyObject * obj4 = 0 ;
d14a1e28
RD
33647 PyObject * obj5 = 0 ;
33648 char *kwnames[] = {
33649 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33650 };
33651
994141e6 33652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
33653 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33654 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33655 arg2 = obj1;
994141e6 33656 if (obj2) {
15afbcd0
RD
33657 arg3 = (int) SWIG_AsInt(obj2);
33658 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
33659 }
33660 if (obj3) {
15afbcd0
RD
33661 arg4 = (int) SWIG_AsInt(obj3);
33662 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
33663 }
33664 if (obj4) {
15afbcd0
RD
33665 arg5 = (int) SWIG_AsInt(obj4);
33666 if (PyErr_Occurred()) SWIG_fail;
994141e6 33667 }
d14a1e28
RD
33668 if (obj5) {
33669 arg6 = obj5;
33670 }
33671 {
33672 PyThreadState* __tstate = wxPyBeginAllowThreads();
33673 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
33674
33675 wxPyEndAllowThreads(__tstate);
33676 if (PyErr_Occurred()) SWIG_fail;
33677 }
33678 Py_INCREF(Py_None); resultobj = Py_None;
33679 return resultobj;
33680 fail:
33681 return NULL;
33682}
33683
33684
33685static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
33686 PyObject *resultobj;
33687 wxSizer *arg1 = (wxSizer *) 0 ;
33688 int arg2 ;
33689 PyObject *arg3 = (PyObject *) 0 ;
33690 int arg4 = (int) 0 ;
33691 int arg5 = (int) 0 ;
33692 int arg6 = (int) 0 ;
33693 PyObject *arg7 = (PyObject *) NULL ;
33694 PyObject * obj0 = 0 ;
994141e6 33695 PyObject * obj1 = 0 ;
d14a1e28 33696 PyObject * obj2 = 0 ;
994141e6
RD
33697 PyObject * obj3 = 0 ;
33698 PyObject * obj4 = 0 ;
33699 PyObject * obj5 = 0 ;
d14a1e28
RD
33700 PyObject * obj6 = 0 ;
33701 char *kwnames[] = {
33702 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33703 };
33704
994141e6 33705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
33706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33708 arg2 = (int) SWIG_AsInt(obj1);
33709 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33710 arg3 = obj2;
994141e6 33711 if (obj3) {
15afbcd0
RD
33712 arg4 = (int) SWIG_AsInt(obj3);
33713 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
33714 }
33715 if (obj4) {
15afbcd0
RD
33716 arg5 = (int) SWIG_AsInt(obj4);
33717 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
33718 }
33719 if (obj5) {
15afbcd0
RD
33720 arg6 = (int) SWIG_AsInt(obj5);
33721 if (PyErr_Occurred()) SWIG_fail;
994141e6 33722 }
d14a1e28
RD
33723 if (obj6) {
33724 arg7 = obj6;
33725 }
33726 {
33727 PyThreadState* __tstate = wxPyBeginAllowThreads();
33728 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
33729
33730 wxPyEndAllowThreads(__tstate);
33731 if (PyErr_Occurred()) SWIG_fail;
33732 }
33733 Py_INCREF(Py_None); resultobj = Py_None;
33734 return resultobj;
33735 fail:
33736 return NULL;
33737}
33738
33739
33740static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
33741 PyObject *resultobj;
33742 wxSizer *arg1 = (wxSizer *) 0 ;
33743 PyObject *arg2 = (PyObject *) 0 ;
33744 int arg3 = (int) 0 ;
33745 int arg4 = (int) 0 ;
33746 int arg5 = (int) 0 ;
33747 PyObject *arg6 = (PyObject *) NULL ;
33748 PyObject * obj0 = 0 ;
33749 PyObject * obj1 = 0 ;
994141e6
RD
33750 PyObject * obj2 = 0 ;
33751 PyObject * obj3 = 0 ;
33752 PyObject * obj4 = 0 ;
d14a1e28
RD
33753 PyObject * obj5 = 0 ;
33754 char *kwnames[] = {
33755 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33756 };
33757
994141e6 33758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
33759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33761 arg2 = obj1;
994141e6 33762 if (obj2) {
15afbcd0
RD
33763 arg3 = (int) SWIG_AsInt(obj2);
33764 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
33765 }
33766 if (obj3) {
15afbcd0
RD
33767 arg4 = (int) SWIG_AsInt(obj3);
33768 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
33769 }
33770 if (obj4) {
15afbcd0
RD
33771 arg5 = (int) SWIG_AsInt(obj4);
33772 if (PyErr_Occurred()) SWIG_fail;
994141e6 33773 }
d14a1e28
RD
33774 if (obj5) {
33775 arg6 = obj5;
33776 }
33777 {
33778 PyThreadState* __tstate = wxPyBeginAllowThreads();
33779 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
33780
33781 wxPyEndAllowThreads(__tstate);
33782 if (PyErr_Occurred()) SWIG_fail;
33783 }
33784 Py_INCREF(Py_None); resultobj = Py_None;
33785 return resultobj;
33786 fail:
33787 return NULL;
33788}
33789
33790
33791static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
33792 PyObject *resultobj;
33793 wxSizer *arg1 = (wxSizer *) 0 ;
33794 PyObject *arg2 = (PyObject *) 0 ;
33795 bool result;
33796 PyObject * obj0 = 0 ;
33797 PyObject * obj1 = 0 ;
33798 char *kwnames[] = {
33799 (char *) "self",(char *) "item", NULL
33800 };
33801
33802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33805 arg2 = obj1;
33806 {
33807 PyThreadState* __tstate = wxPyBeginAllowThreads();
33808 result = (bool)wxSizer_Remove(arg1,arg2);
33809
33810 wxPyEndAllowThreads(__tstate);
33811 if (PyErr_Occurred()) SWIG_fail;
33812 }
4f89f6a3
RD
33813 {
33814 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33815 }
d14a1e28
RD
33816 return resultobj;
33817 fail:
33818 return NULL;
33819}
33820
33821
33822static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33823 PyObject *resultobj;
33824 wxSizer *arg1 = (wxSizer *) 0 ;
33825 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce
RD
33826 wxSize *arg3 = 0 ;
33827 wxSize temp3 ;
d14a1e28
RD
33828 PyObject * obj0 = 0 ;
33829 PyObject * obj1 = 0 ;
33830 PyObject * obj2 = 0 ;
33831 char *kwnames[] = {
33832 (char *) "self",(char *) "item",(char *) "size", NULL
33833 };
33834
33835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33838 arg2 = obj1;
e811c8ce
RD
33839 {
33840 arg3 = &temp3;
33841 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
33842 }
d14a1e28
RD
33843 {
33844 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 33845 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
33846
33847 wxPyEndAllowThreads(__tstate);
33848 if (PyErr_Occurred()) SWIG_fail;
33849 }
33850 Py_INCREF(Py_None); resultobj = Py_None;
33851 return resultobj;
33852 fail:
33853 return NULL;
33854}
33855
33856
33857static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33858 PyObject *resultobj;
33859 wxSizer *arg1 = (wxSizer *) 0 ;
33860 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
33861 PyObject * obj0 = 0 ;
33862 PyObject * obj1 = 0 ;
33863 char *kwnames[] = {
33864 (char *) "self",(char *) "item", NULL
33865 };
33866
33867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33870 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
33871 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33872 {
33873 PyThreadState* __tstate = wxPyBeginAllowThreads();
33874 (arg1)->Add(arg2);
33875
33876 wxPyEndAllowThreads(__tstate);
33877 if (PyErr_Occurred()) SWIG_fail;
33878 }
33879 Py_INCREF(Py_None); resultobj = Py_None;
33880 return resultobj;
33881 fail:
33882 return NULL;
33883}
33884
33885
33886static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33887 PyObject *resultobj;
33888 wxSizer *arg1 = (wxSizer *) 0 ;
33889 size_t arg2 ;
33890 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
33891 PyObject * obj0 = 0 ;
33892 PyObject * obj1 = 0 ;
33893 PyObject * obj2 = 0 ;
33894 char *kwnames[] = {
33895 (char *) "self",(char *) "index",(char *) "item", NULL
33896 };
33897
33898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
33899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33901 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
33902 if (PyErr_Occurred()) SWIG_fail;
33903 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
33904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33905 {
33906 PyThreadState* __tstate = wxPyBeginAllowThreads();
33907 (arg1)->Insert(arg2,arg3);
33908
33909 wxPyEndAllowThreads(__tstate);
33910 if (PyErr_Occurred()) SWIG_fail;
33911 }
33912 Py_INCREF(Py_None); resultobj = Py_None;
33913 return resultobj;
33914 fail:
33915 return NULL;
33916}
33917
33918
33919static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33920 PyObject *resultobj;
33921 wxSizer *arg1 = (wxSizer *) 0 ;
33922 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
33923 PyObject * obj0 = 0 ;
33924 PyObject * obj1 = 0 ;
33925 char *kwnames[] = {
33926 (char *) "self",(char *) "item", NULL
33927 };
33928
33929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
33930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33932 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
33933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33934 {
33935 PyThreadState* __tstate = wxPyBeginAllowThreads();
33936 (arg1)->Prepend(arg2);
33937
33938 wxPyEndAllowThreads(__tstate);
33939 if (PyErr_Occurred()) SWIG_fail;
33940 }
33941 Py_INCREF(Py_None); resultobj = Py_None;
33942 return resultobj;
33943 fail:
33944 return NULL;
33945}
33946
33947
33948static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
33949 PyObject *resultobj;
33950 wxSizer *arg1 = (wxSizer *) 0 ;
33951 int arg2 ;
33952 int arg3 ;
33953 int arg4 ;
33954 int arg5 ;
33955 PyObject * obj0 = 0 ;
994141e6
RD
33956 PyObject * obj1 = 0 ;
33957 PyObject * obj2 = 0 ;
33958 PyObject * obj3 = 0 ;
33959 PyObject * obj4 = 0 ;
d14a1e28
RD
33960 char *kwnames[] = {
33961 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33962 };
33963
994141e6 33964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15afbcd0
RD
33965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33967 arg2 = (int) SWIG_AsInt(obj1);
33968 if (PyErr_Occurred()) SWIG_fail;
33969 arg3 = (int) SWIG_AsInt(obj2);
33970 if (PyErr_Occurred()) SWIG_fail;
33971 arg4 = (int) SWIG_AsInt(obj3);
33972 if (PyErr_Occurred()) SWIG_fail;
33973 arg5 = (int) SWIG_AsInt(obj4);
33974 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33975 {
33976 PyThreadState* __tstate = wxPyBeginAllowThreads();
33977 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
33978
33979 wxPyEndAllowThreads(__tstate);
33980 if (PyErr_Occurred()) SWIG_fail;
33981 }
33982 Py_INCREF(Py_None); resultobj = Py_None;
33983 return resultobj;
33984 fail:
33985 return NULL;
33986}
33987
33988
33989static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33990 PyObject *resultobj;
33991 wxSizer *arg1 = (wxSizer *) 0 ;
1fc9204a
RD
33992 wxSize *arg2 = 0 ;
33993 wxSize temp2 ;
d14a1e28
RD
33994 PyObject * obj0 = 0 ;
33995 PyObject * obj1 = 0 ;
33996 char *kwnames[] = {
33997 (char *) "self",(char *) "size", NULL
33998 };
33999
34000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1fc9204a
RD
34003 {
34004 arg2 = &temp2;
34005 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34006 }
d14a1e28
RD
34007 {
34008 PyThreadState* __tstate = wxPyBeginAllowThreads();
1fc9204a 34009 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
34010
34011 wxPyEndAllowThreads(__tstate);
34012 if (PyErr_Occurred()) SWIG_fail;
34013 }
34014 Py_INCREF(Py_None); resultobj = Py_None;
34015 return resultobj;
34016 fail:
34017 return NULL;
34018}
34019
34020
34021static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34022 PyObject *resultobj;
34023 wxSizer *arg1 = (wxSizer *) 0 ;
34024 wxSize result;
34025 PyObject * obj0 = 0 ;
34026 char *kwnames[] = {
34027 (char *) "self", NULL
34028 };
34029
34030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34031 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34032 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34033 {
34034 PyThreadState* __tstate = wxPyBeginAllowThreads();
34035 result = (arg1)->GetSize();
34036
34037 wxPyEndAllowThreads(__tstate);
34038 if (PyErr_Occurred()) SWIG_fail;
34039 }
34040 {
34041 wxSize * resultptr;
34042 resultptr = new wxSize((wxSize &) result);
15afbcd0 34043 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34044 }
34045 return resultobj;
34046 fail:
34047 return NULL;
34048}
34049
34050
34051static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34052 PyObject *resultobj;
34053 wxSizer *arg1 = (wxSizer *) 0 ;
34054 wxPoint result;
34055 PyObject * obj0 = 0 ;
34056 char *kwnames[] = {
34057 (char *) "self", NULL
34058 };
34059
34060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
15afbcd0
RD
34061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34063 {
34064 PyThreadState* __tstate = wxPyBeginAllowThreads();
34065 result = (arg1)->GetPosition();
34066
34067 wxPyEndAllowThreads(__tstate);
34068 if (PyErr_Occurred()) SWIG_fail;
34069 }
34070 {
34071 wxPoint * resultptr;
34072 resultptr = new wxPoint((wxPoint &) result);
15afbcd0 34073 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
34074 }
34075 return resultobj;
34076 fail:
34077 return NULL;
34078}
34079
34080
34081static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34082 PyObject *resultobj;
34083 wxSizer *arg1 = (wxSizer *) 0 ;
34084 wxSize result;
34085 PyObject * obj0 = 0 ;
34086 char *kwnames[] = {
34087 (char *) "self", NULL
34088 };
34089
34090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
34091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34093 {
34094 PyThreadState* __tstate = wxPyBeginAllowThreads();
34095 result = (arg1)->GetMinSize();
34096
34097 wxPyEndAllowThreads(__tstate);
34098 if (PyErr_Occurred()) SWIG_fail;
34099 }
34100 {
34101 wxSize * resultptr;
34102 resultptr = new wxSize((wxSize &) result);
15afbcd0 34103 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34104 }
34105 return resultobj;
34106 fail:
34107 return NULL;
34108}
34109
34110
34111static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34112 PyObject *resultobj;
34113 wxSizer *arg1 = (wxSizer *) 0 ;
34114 PyObject * obj0 = 0 ;
34115 char *kwnames[] = {
34116 (char *) "self", NULL
34117 };
34118
34119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
34120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34122 {
34123 PyThreadState* __tstate = wxPyBeginAllowThreads();
34124 (arg1)->RecalcSizes();
34125
34126 wxPyEndAllowThreads(__tstate);
34127 if (PyErr_Occurred()) SWIG_fail;
34128 }
34129 Py_INCREF(Py_None); resultobj = Py_None;
34130 return resultobj;
34131 fail:
34132 return NULL;
34133}
34134
34135
34136static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34137 PyObject *resultobj;
34138 wxSizer *arg1 = (wxSizer *) 0 ;
34139 wxSize result;
34140 PyObject * obj0 = 0 ;
34141 char *kwnames[] = {
34142 (char *) "self", NULL
34143 };
34144
34145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
34146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34148 {
34149 PyThreadState* __tstate = wxPyBeginAllowThreads();
34150 result = (arg1)->CalcMin();
34151
34152 wxPyEndAllowThreads(__tstate);
34153 if (PyErr_Occurred()) SWIG_fail;
34154 }
34155 {
34156 wxSize * resultptr;
34157 resultptr = new wxSize((wxSize &) result);
15afbcd0 34158 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34159 }
34160 return resultobj;
34161 fail:
34162 return NULL;
34163}
34164
34165
34166static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
34167 PyObject *resultobj;
34168 wxSizer *arg1 = (wxSizer *) 0 ;
34169 PyObject * obj0 = 0 ;
34170 char *kwnames[] = {
34171 (char *) "self", NULL
34172 };
34173
34174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
15afbcd0
RD
34175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34177 {
34178 PyThreadState* __tstate = wxPyBeginAllowThreads();
34179 (arg1)->Layout();
34180
34181 wxPyEndAllowThreads(__tstate);
34182 if (PyErr_Occurred()) SWIG_fail;
34183 }
34184 Py_INCREF(Py_None); resultobj = Py_None;
34185 return resultobj;
34186 fail:
34187 return NULL;
34188}
34189
34190
34191static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
34192 PyObject *resultobj;
34193 wxSizer *arg1 = (wxSizer *) 0 ;
34194 wxWindow *arg2 = (wxWindow *) 0 ;
34195 wxSize result;
34196 PyObject * obj0 = 0 ;
34197 PyObject * obj1 = 0 ;
34198 char *kwnames[] = {
34199 (char *) "self",(char *) "window", NULL
34200 };
34201
34202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34205 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34207 {
34208 PyThreadState* __tstate = wxPyBeginAllowThreads();
34209 result = (arg1)->Fit(arg2);
34210
34211 wxPyEndAllowThreads(__tstate);
34212 if (PyErr_Occurred()) SWIG_fail;
34213 }
34214 {
34215 wxSize * resultptr;
34216 resultptr = new wxSize((wxSize &) result);
15afbcd0 34217 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34218 }
34219 return resultobj;
34220 fail:
34221 return NULL;
34222}
34223
34224
34225static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
34226 PyObject *resultobj;
34227 wxSizer *arg1 = (wxSizer *) 0 ;
34228 wxWindow *arg2 = (wxWindow *) 0 ;
34229 PyObject * obj0 = 0 ;
34230 PyObject * obj1 = 0 ;
34231 char *kwnames[] = {
34232 (char *) "self",(char *) "window", NULL
34233 };
34234
34235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34238 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34240 {
34241 PyThreadState* __tstate = wxPyBeginAllowThreads();
34242 (arg1)->FitInside(arg2);
34243
34244 wxPyEndAllowThreads(__tstate);
34245 if (PyErr_Occurred()) SWIG_fail;
34246 }
34247 Py_INCREF(Py_None); resultobj = Py_None;
34248 return resultobj;
34249 fail:
34250 return NULL;
34251}
34252
34253
34254static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
34255 PyObject *resultobj;
34256 wxSizer *arg1 = (wxSizer *) 0 ;
34257 wxWindow *arg2 = (wxWindow *) 0 ;
34258 PyObject * obj0 = 0 ;
34259 PyObject * obj1 = 0 ;
34260 char *kwnames[] = {
34261 (char *) "self",(char *) "window", NULL
34262 };
34263
34264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34267 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34269 {
34270 PyThreadState* __tstate = wxPyBeginAllowThreads();
34271 (arg1)->SetSizeHints(arg2);
34272
34273 wxPyEndAllowThreads(__tstate);
34274 if (PyErr_Occurred()) SWIG_fail;
34275 }
34276 Py_INCREF(Py_None); resultobj = Py_None;
34277 return resultobj;
34278 fail:
34279 return NULL;
34280}
34281
34282
34283static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
34284 PyObject *resultobj;
34285 wxSizer *arg1 = (wxSizer *) 0 ;
34286 wxWindow *arg2 = (wxWindow *) 0 ;
34287 PyObject * obj0 = 0 ;
34288 PyObject * obj1 = 0 ;
34289 char *kwnames[] = {
34290 (char *) "self",(char *) "window", NULL
34291 };
34292
34293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34296 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34297 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34298 {
34299 PyThreadState* __tstate = wxPyBeginAllowThreads();
34300 (arg1)->SetVirtualSizeHints(arg2);
34301
34302 wxPyEndAllowThreads(__tstate);
34303 if (PyErr_Occurred()) SWIG_fail;
34304 }
34305 Py_INCREF(Py_None); resultobj = Py_None;
34306 return resultobj;
34307 fail:
34308 return NULL;
34309}
34310
34311
34312static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
34313 PyObject *resultobj;
34314 wxSizer *arg1 = (wxSizer *) 0 ;
e811c8ce 34315 bool arg2 = (bool) False ;
d14a1e28
RD
34316 PyObject * obj0 = 0 ;
34317 PyObject * obj1 = 0 ;
34318 char *kwnames[] = {
34319 (char *) "self",(char *) "delete_windows", NULL
34320 };
34321
34322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34325 if (obj1) {
15afbcd0
RD
34326 arg2 = (bool) SWIG_AsBool(obj1);
34327 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34328 }
34329 {
34330 PyThreadState* __tstate = wxPyBeginAllowThreads();
34331 (arg1)->Clear(arg2);
34332
34333 wxPyEndAllowThreads(__tstate);
34334 if (PyErr_Occurred()) SWIG_fail;
34335 }
34336 Py_INCREF(Py_None); resultobj = Py_None;
34337 return resultobj;
34338 fail:
34339 return NULL;
34340}
34341
34342
34343static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
34344 PyObject *resultobj;
34345 wxSizer *arg1 = (wxSizer *) 0 ;
34346 PyObject * obj0 = 0 ;
34347 char *kwnames[] = {
34348 (char *) "self", NULL
34349 };
34350
34351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
15afbcd0
RD
34352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34354 {
34355 PyThreadState* __tstate = wxPyBeginAllowThreads();
34356 (arg1)->DeleteWindows();
34357
34358 wxPyEndAllowThreads(__tstate);
34359 if (PyErr_Occurred()) SWIG_fail;
34360 }
34361 Py_INCREF(Py_None); resultobj = Py_None;
34362 return resultobj;
34363 fail:
34364 return NULL;
34365}
34366
34367
34368static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
34369 PyObject *resultobj;
34370 wxSizer *arg1 = (wxSizer *) 0 ;
34371 PyObject *result;
34372 PyObject * obj0 = 0 ;
34373 char *kwnames[] = {
34374 (char *) "self", NULL
34375 };
34376
34377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
15afbcd0
RD
34378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34380 {
34381 PyThreadState* __tstate = wxPyBeginAllowThreads();
34382 result = (PyObject *)wxSizer_GetChildren(arg1);
34383
34384 wxPyEndAllowThreads(__tstate);
34385 if (PyErr_Occurred()) SWIG_fail;
34386 }
34387 resultobj = result;
34388 return resultobj;
34389 fail:
34390 return NULL;
34391}
34392
34393
34394static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
34395 PyObject *resultobj;
34396 wxSizer *arg1 = (wxSizer *) 0 ;
34397 PyObject *arg2 = (PyObject *) 0 ;
e811c8ce 34398 bool arg3 = (bool) True ;
d14a1e28
RD
34399 PyObject * obj0 = 0 ;
34400 PyObject * obj1 = 0 ;
34401 PyObject * obj2 = 0 ;
34402 char *kwnames[] = {
34403 (char *) "self",(char *) "item",(char *) "show", NULL
34404 };
34405
34406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34409 arg2 = obj1;
34410 if (obj2) {
15afbcd0
RD
34411 arg3 = (bool) SWIG_AsBool(obj2);
34412 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34413 }
34414 {
34415 PyThreadState* __tstate = wxPyBeginAllowThreads();
34416 wxSizer_Show(arg1,arg2,arg3);
34417
34418 wxPyEndAllowThreads(__tstate);
34419 if (PyErr_Occurred()) SWIG_fail;
34420 }
34421 Py_INCREF(Py_None); resultobj = Py_None;
34422 return resultobj;
34423 fail:
34424 return NULL;
34425}
34426
34427
34428static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
34429 PyObject *resultobj;
34430 wxSizer *arg1 = (wxSizer *) 0 ;
34431 PyObject *arg2 = (PyObject *) 0 ;
34432 PyObject * obj0 = 0 ;
34433 PyObject * obj1 = 0 ;
34434 char *kwnames[] = {
34435 (char *) "self",(char *) "item", NULL
34436 };
34437
34438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34441 arg2 = obj1;
34442 {
34443 PyThreadState* __tstate = wxPyBeginAllowThreads();
34444 wxSizer_Hide(arg1,arg2);
34445
34446 wxPyEndAllowThreads(__tstate);
34447 if (PyErr_Occurred()) SWIG_fail;
34448 }
34449 Py_INCREF(Py_None); resultobj = Py_None;
34450 return resultobj;
34451 fail:
34452 return NULL;
34453}
34454
34455
34456static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
34457 PyObject *resultobj;
34458 wxSizer *arg1 = (wxSizer *) 0 ;
34459 PyObject *arg2 = (PyObject *) 0 ;
34460 bool result;
34461 PyObject * obj0 = 0 ;
34462 PyObject * obj1 = 0 ;
34463 char *kwnames[] = {
34464 (char *) "self",(char *) "item", NULL
34465 };
34466
34467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34470 arg2 = obj1;
34471 {
34472 PyThreadState* __tstate = wxPyBeginAllowThreads();
34473 result = (bool)wxSizer_IsShown(arg1,arg2);
34474
34475 wxPyEndAllowThreads(__tstate);
34476 if (PyErr_Occurred()) SWIG_fail;
34477 }
4f89f6a3
RD
34478 {
34479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34480 }
d14a1e28
RD
34481 return resultobj;
34482 fail:
34483 return NULL;
34484}
34485
34486
34487static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
34488 PyObject *resultobj;
34489 wxSizer *arg1 = (wxSizer *) 0 ;
34490 bool arg2 ;
34491 PyObject * obj0 = 0 ;
34492 PyObject * obj1 = 0 ;
34493 char *kwnames[] = {
34494 (char *) "self",(char *) "show", NULL
34495 };
34496
34497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34500 arg2 = (bool) SWIG_AsBool(obj1);
34501 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34502 {
34503 PyThreadState* __tstate = wxPyBeginAllowThreads();
34504 (arg1)->ShowItems(arg2);
34505
34506 wxPyEndAllowThreads(__tstate);
34507 if (PyErr_Occurred()) SWIG_fail;
34508 }
34509 Py_INCREF(Py_None); resultobj = Py_None;
34510 return resultobj;
34511 fail:
34512 return NULL;
34513}
34514
34515
34516static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
34517 PyObject *obj;
34518 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34519 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
34520 Py_INCREF(obj);
34521 return Py_BuildValue((char *)"");
34522}
34523static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34524 PyObject *resultobj;
34525 wxPySizer *result;
34526 char *kwnames[] = {
34527 NULL
34528 };
34529
34530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
34531 {
34532 PyThreadState* __tstate = wxPyBeginAllowThreads();
34533 result = (wxPySizer *)new wxPySizer();
34534
34535 wxPyEndAllowThreads(__tstate);
34536 if (PyErr_Occurred()) SWIG_fail;
34537 }
15afbcd0 34538 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
34539 return resultobj;
34540 fail:
34541 return NULL;
34542}
34543
34544
34545static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
34546 PyObject *resultobj;
34547 wxPySizer *arg1 = (wxPySizer *) 0 ;
34548 PyObject *arg2 = (PyObject *) 0 ;
34549 PyObject *arg3 = (PyObject *) 0 ;
34550 PyObject * obj0 = 0 ;
34551 PyObject * obj1 = 0 ;
34552 PyObject * obj2 = 0 ;
34553 char *kwnames[] = {
34554 (char *) "self",(char *) "self",(char *) "_class", NULL
34555 };
34556
34557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
34558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
34559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34560 arg2 = obj1;
34561 arg3 = obj2;
34562 {
34563 PyThreadState* __tstate = wxPyBeginAllowThreads();
34564 (arg1)->_setCallbackInfo(arg2,arg3);
34565
34566 wxPyEndAllowThreads(__tstate);
34567 if (PyErr_Occurred()) SWIG_fail;
34568 }
34569 Py_INCREF(Py_None); resultobj = Py_None;
34570 return resultobj;
34571 fail:
34572 return NULL;
34573}
34574
34575
34576static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
34577 PyObject *obj;
34578 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34579 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
34580 Py_INCREF(obj);
34581 return Py_BuildValue((char *)"");
34582}
34583static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34584 PyObject *resultobj;
34585 int arg1 = (int) wxHORIZONTAL ;
34586 wxBoxSizer *result;
994141e6 34587 PyObject * obj0 = 0 ;
d14a1e28
RD
34588 char *kwnames[] = {
34589 (char *) "orient", NULL
34590 };
34591
994141e6
RD
34592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
34593 if (obj0) {
15afbcd0
RD
34594 arg1 = (int) SWIG_AsInt(obj0);
34595 if (PyErr_Occurred()) SWIG_fail;
994141e6 34596 }
d14a1e28
RD
34597 {
34598 PyThreadState* __tstate = wxPyBeginAllowThreads();
34599 result = (wxBoxSizer *)new wxBoxSizer(arg1);
34600
34601 wxPyEndAllowThreads(__tstate);
34602 if (PyErr_Occurred()) SWIG_fail;
34603 }
15afbcd0 34604 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
34605 return resultobj;
34606 fail:
34607 return NULL;
34608}
34609
34610
34611static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
34612 PyObject *resultobj;
34613 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34614 int result;
34615 PyObject * obj0 = 0 ;
34616 char *kwnames[] = {
34617 (char *) "self", NULL
34618 };
34619
34620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
15afbcd0
RD
34621 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34622 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34623 {
34624 PyThreadState* __tstate = wxPyBeginAllowThreads();
34625 result = (int)(arg1)->GetOrientation();
34626
34627 wxPyEndAllowThreads(__tstate);
34628 if (PyErr_Occurred()) SWIG_fail;
34629 }
15afbcd0 34630 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34631 return resultobj;
34632 fail:
34633 return NULL;
34634}
34635
34636
34637static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
34638 PyObject *resultobj;
34639 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34640 int arg2 ;
34641 PyObject * obj0 = 0 ;
994141e6 34642 PyObject * obj1 = 0 ;
d14a1e28
RD
34643 char *kwnames[] = {
34644 (char *) "self",(char *) "orient", NULL
34645 };
34646
994141e6 34647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34650 arg2 = (int) SWIG_AsInt(obj1);
34651 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34652 {
34653 PyThreadState* __tstate = wxPyBeginAllowThreads();
34654 (arg1)->SetOrientation(arg2);
34655
34656 wxPyEndAllowThreads(__tstate);
34657 if (PyErr_Occurred()) SWIG_fail;
34658 }
34659 Py_INCREF(Py_None); resultobj = Py_None;
34660 return resultobj;
34661 fail:
34662 return NULL;
34663}
34664
34665
34666static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34667 PyObject *resultobj;
34668 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34669 PyObject * obj0 = 0 ;
34670 char *kwnames[] = {
34671 (char *) "self", NULL
34672 };
34673
34674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
34675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34677 {
34678 PyThreadState* __tstate = wxPyBeginAllowThreads();
34679 (arg1)->RecalcSizes();
34680
34681 wxPyEndAllowThreads(__tstate);
34682 if (PyErr_Occurred()) SWIG_fail;
34683 }
34684 Py_INCREF(Py_None); resultobj = Py_None;
34685 return resultobj;
34686 fail:
34687 return NULL;
34688}
34689
34690
34691static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34692 PyObject *resultobj;
34693 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34694 wxSize result;
34695 PyObject * obj0 = 0 ;
34696 char *kwnames[] = {
34697 (char *) "self", NULL
34698 };
34699
34700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
34701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34703 {
34704 PyThreadState* __tstate = wxPyBeginAllowThreads();
34705 result = (arg1)->CalcMin();
34706
34707 wxPyEndAllowThreads(__tstate);
34708 if (PyErr_Occurred()) SWIG_fail;
34709 }
34710 {
34711 wxSize * resultptr;
34712 resultptr = new wxSize((wxSize &) result);
15afbcd0 34713 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34714 }
34715 return resultobj;
34716 fail:
34717 return NULL;
34718}
34719
34720
34721static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
34722 PyObject *obj;
34723 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34724 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
34725 Py_INCREF(obj);
34726 return Py_BuildValue((char *)"");
34727}
34728static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34729 PyObject *resultobj;
34730 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
34731 int arg2 = (int) wxHORIZONTAL ;
34732 wxStaticBoxSizer *result;
34733 PyObject * obj0 = 0 ;
994141e6 34734 PyObject * obj1 = 0 ;
d14a1e28
RD
34735 char *kwnames[] = {
34736 (char *) "box",(char *) "orient", NULL
34737 };
34738
994141e6 34739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
34741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 34742 if (obj1) {
15afbcd0
RD
34743 arg2 = (int) SWIG_AsInt(obj1);
34744 if (PyErr_Occurred()) SWIG_fail;
994141e6 34745 }
d14a1e28
RD
34746 {
34747 PyThreadState* __tstate = wxPyBeginAllowThreads();
34748 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
34749
34750 wxPyEndAllowThreads(__tstate);
34751 if (PyErr_Occurred()) SWIG_fail;
34752 }
15afbcd0 34753 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
34754 return resultobj;
34755 fail:
34756 return NULL;
34757}
34758
34759
34760static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
34761 PyObject *resultobj;
34762 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34763 wxStaticBox *result;
34764 PyObject * obj0 = 0 ;
34765 char *kwnames[] = {
34766 (char *) "self", NULL
34767 };
34768
34769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
15afbcd0
RD
34770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
34771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34772 {
34773 PyThreadState* __tstate = wxPyBeginAllowThreads();
34774 result = (wxStaticBox *)(arg1)->GetStaticBox();
34775
34776 wxPyEndAllowThreads(__tstate);
34777 if (PyErr_Occurred()) SWIG_fail;
34778 }
34779 {
34780 resultobj = wxPyMake_wxObject(result);
34781 }
34782 return resultobj;
34783 fail:
34784 return NULL;
34785}
34786
34787
34788static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34789 PyObject *resultobj;
34790 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34791 PyObject * obj0 = 0 ;
34792 char *kwnames[] = {
34793 (char *) "self", NULL
34794 };
34795
34796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
34797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
34798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34799 {
34800 PyThreadState* __tstate = wxPyBeginAllowThreads();
34801 (arg1)->RecalcSizes();
34802
34803 wxPyEndAllowThreads(__tstate);
34804 if (PyErr_Occurred()) SWIG_fail;
34805 }
34806 Py_INCREF(Py_None); resultobj = Py_None;
34807 return resultobj;
34808 fail:
34809 return NULL;
34810}
34811
34812
34813static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34814 PyObject *resultobj;
34815 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34816 wxSize result;
34817 PyObject * obj0 = 0 ;
34818 char *kwnames[] = {
34819 (char *) "self", NULL
34820 };
34821
34822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
34823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
34824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34825 {
34826 PyThreadState* __tstate = wxPyBeginAllowThreads();
34827 result = (arg1)->CalcMin();
34828
34829 wxPyEndAllowThreads(__tstate);
34830 if (PyErr_Occurred()) SWIG_fail;
34831 }
34832 {
34833 wxSize * resultptr;
34834 resultptr = new wxSize((wxSize &) result);
15afbcd0 34835 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34836 }
34837 return resultobj;
34838 fail:
34839 return NULL;
34840}
34841
34842
34843static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
34844 PyObject *obj;
34845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34846 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
34847 Py_INCREF(obj);
34848 return Py_BuildValue((char *)"");
34849}
34850static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34851 PyObject *resultobj;
34852 int arg1 = (int) 1 ;
34853 int arg2 = (int) 0 ;
34854 int arg3 = (int) 0 ;
34855 int arg4 = (int) 0 ;
34856 wxGridSizer *result;
994141e6
RD
34857 PyObject * obj0 = 0 ;
34858 PyObject * obj1 = 0 ;
34859 PyObject * obj2 = 0 ;
34860 PyObject * obj3 = 0 ;
d14a1e28
RD
34861 char *kwnames[] = {
34862 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34863 };
34864
994141e6
RD
34865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34866 if (obj0) {
15afbcd0
RD
34867 arg1 = (int) SWIG_AsInt(obj0);
34868 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34869 }
34870 if (obj1) {
15afbcd0
RD
34871 arg2 = (int) SWIG_AsInt(obj1);
34872 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34873 }
34874 if (obj2) {
15afbcd0
RD
34875 arg3 = (int) SWIG_AsInt(obj2);
34876 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
34877 }
34878 if (obj3) {
15afbcd0
RD
34879 arg4 = (int) SWIG_AsInt(obj3);
34880 if (PyErr_Occurred()) SWIG_fail;
994141e6 34881 }
d14a1e28
RD
34882 {
34883 PyThreadState* __tstate = wxPyBeginAllowThreads();
34884 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
34885
34886 wxPyEndAllowThreads(__tstate);
34887 if (PyErr_Occurred()) SWIG_fail;
34888 }
15afbcd0 34889 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
34890 return resultobj;
34891 fail:
34892 return NULL;
34893}
34894
34895
34896static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34897 PyObject *resultobj;
34898 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34899 PyObject * obj0 = 0 ;
34900 char *kwnames[] = {
34901 (char *) "self", NULL
34902 };
34903
34904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
34905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34907 {
34908 PyThreadState* __tstate = wxPyBeginAllowThreads();
34909 (arg1)->RecalcSizes();
34910
34911 wxPyEndAllowThreads(__tstate);
34912 if (PyErr_Occurred()) SWIG_fail;
34913 }
34914 Py_INCREF(Py_None); resultobj = Py_None;
34915 return resultobj;
34916 fail:
34917 return NULL;
34918}
34919
34920
34921static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34922 PyObject *resultobj;
34923 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34924 wxSize result;
34925 PyObject * obj0 = 0 ;
34926 char *kwnames[] = {
34927 (char *) "self", NULL
34928 };
34929
34930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
34931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34933 {
34934 PyThreadState* __tstate = wxPyBeginAllowThreads();
34935 result = (arg1)->CalcMin();
34936
34937 wxPyEndAllowThreads(__tstate);
34938 if (PyErr_Occurred()) SWIG_fail;
34939 }
34940 {
34941 wxSize * resultptr;
34942 resultptr = new wxSize((wxSize &) result);
15afbcd0 34943 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34944 }
34945 return resultobj;
34946 fail:
34947 return NULL;
34948}
34949
34950
34951static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
34952 PyObject *resultobj;
34953 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34954 int arg2 ;
34955 PyObject * obj0 = 0 ;
994141e6 34956 PyObject * obj1 = 0 ;
d14a1e28
RD
34957 char *kwnames[] = {
34958 (char *) "self",(char *) "cols", NULL
34959 };
34960
994141e6 34961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34964 arg2 = (int) SWIG_AsInt(obj1);
34965 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34966 {
34967 PyThreadState* __tstate = wxPyBeginAllowThreads();
34968 (arg1)->SetCols(arg2);
34969
34970 wxPyEndAllowThreads(__tstate);
34971 if (PyErr_Occurred()) SWIG_fail;
34972 }
34973 Py_INCREF(Py_None); resultobj = Py_None;
34974 return resultobj;
34975 fail:
34976 return NULL;
34977}
34978
34979
34980static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
34981 PyObject *resultobj;
34982 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
34983 int arg2 ;
34984 PyObject * obj0 = 0 ;
994141e6 34985 PyObject * obj1 = 0 ;
d14a1e28
RD
34986 char *kwnames[] = {
34987 (char *) "self",(char *) "rows", NULL
34988 };
34989
994141e6 34990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
34991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
34992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34993 arg2 = (int) SWIG_AsInt(obj1);
34994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34995 {
34996 PyThreadState* __tstate = wxPyBeginAllowThreads();
34997 (arg1)->SetRows(arg2);
34998
34999 wxPyEndAllowThreads(__tstate);
35000 if (PyErr_Occurred()) SWIG_fail;
35001 }
35002 Py_INCREF(Py_None); resultobj = Py_None;
35003 return resultobj;
35004 fail:
35005 return NULL;
35006}
35007
35008
35009static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35010 PyObject *resultobj;
35011 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35012 int arg2 ;
35013 PyObject * obj0 = 0 ;
994141e6 35014 PyObject * obj1 = 0 ;
d14a1e28
RD
35015 char *kwnames[] = {
35016 (char *) "self",(char *) "gap", NULL
35017 };
35018
994141e6 35019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35022 arg2 = (int) SWIG_AsInt(obj1);
35023 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35024 {
35025 PyThreadState* __tstate = wxPyBeginAllowThreads();
35026 (arg1)->SetVGap(arg2);
35027
35028 wxPyEndAllowThreads(__tstate);
35029 if (PyErr_Occurred()) SWIG_fail;
35030 }
35031 Py_INCREF(Py_None); resultobj = Py_None;
35032 return resultobj;
35033 fail:
35034 return NULL;
35035}
35036
35037
35038static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35039 PyObject *resultobj;
35040 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35041 int arg2 ;
35042 PyObject * obj0 = 0 ;
994141e6 35043 PyObject * obj1 = 0 ;
d14a1e28
RD
35044 char *kwnames[] = {
35045 (char *) "self",(char *) "gap", NULL
35046 };
35047
994141e6 35048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35051 arg2 = (int) SWIG_AsInt(obj1);
35052 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35053 {
35054 PyThreadState* __tstate = wxPyBeginAllowThreads();
35055 (arg1)->SetHGap(arg2);
35056
35057 wxPyEndAllowThreads(__tstate);
35058 if (PyErr_Occurred()) SWIG_fail;
35059 }
35060 Py_INCREF(Py_None); resultobj = Py_None;
35061 return resultobj;
35062 fail:
35063 return NULL;
35064}
35065
35066
35067static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
35068 PyObject *resultobj;
35069 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35070 int result;
35071 PyObject * obj0 = 0 ;
35072 char *kwnames[] = {
35073 (char *) "self", NULL
35074 };
35075
35076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
15afbcd0
RD
35077 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35078 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35079 {
35080 PyThreadState* __tstate = wxPyBeginAllowThreads();
35081 result = (int)(arg1)->GetCols();
35082
35083 wxPyEndAllowThreads(__tstate);
35084 if (PyErr_Occurred()) SWIG_fail;
35085 }
15afbcd0 35086 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35087 return resultobj;
35088 fail:
35089 return NULL;
35090}
35091
35092
35093static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
35094 PyObject *resultobj;
35095 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35096 int result;
35097 PyObject * obj0 = 0 ;
35098 char *kwnames[] = {
35099 (char *) "self", NULL
35100 };
35101
35102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
15afbcd0
RD
35103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35105 {
35106 PyThreadState* __tstate = wxPyBeginAllowThreads();
35107 result = (int)(arg1)->GetRows();
35108
35109 wxPyEndAllowThreads(__tstate);
35110 if (PyErr_Occurred()) SWIG_fail;
35111 }
15afbcd0 35112 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35113 return resultobj;
35114 fail:
35115 return NULL;
35116}
35117
35118
35119static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35120 PyObject *resultobj;
35121 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35122 int result;
35123 PyObject * obj0 = 0 ;
35124 char *kwnames[] = {
35125 (char *) "self", NULL
35126 };
35127
35128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
35129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35131 {
35132 PyThreadState* __tstate = wxPyBeginAllowThreads();
35133 result = (int)(arg1)->GetVGap();
35134
35135 wxPyEndAllowThreads(__tstate);
35136 if (PyErr_Occurred()) SWIG_fail;
35137 }
15afbcd0 35138 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35139 return resultobj;
35140 fail:
35141 return NULL;
35142}
35143
35144
35145static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35146 PyObject *resultobj;
35147 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35148 int result;
35149 PyObject * obj0 = 0 ;
35150 char *kwnames[] = {
35151 (char *) "self", NULL
35152 };
35153
35154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
15afbcd0
RD
35155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35157 {
35158 PyThreadState* __tstate = wxPyBeginAllowThreads();
35159 result = (int)(arg1)->GetHGap();
35160
35161 wxPyEndAllowThreads(__tstate);
35162 if (PyErr_Occurred()) SWIG_fail;
35163 }
15afbcd0 35164 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35165 return resultobj;
35166 fail:
35167 return NULL;
35168}
35169
35170
35171static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
35172 PyObject *obj;
35173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35174 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
35175 Py_INCREF(obj);
35176 return Py_BuildValue((char *)"");
35177}
35178static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35179 PyObject *resultobj;
35180 int arg1 = (int) 1 ;
35181 int arg2 = (int) 0 ;
35182 int arg3 = (int) 0 ;
35183 int arg4 = (int) 0 ;
35184 wxFlexGridSizer *result;
994141e6
RD
35185 PyObject * obj0 = 0 ;
35186 PyObject * obj1 = 0 ;
35187 PyObject * obj2 = 0 ;
35188 PyObject * obj3 = 0 ;
d14a1e28
RD
35189 char *kwnames[] = {
35190 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35191 };
35192
994141e6
RD
35193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35194 if (obj0) {
15afbcd0
RD
35195 arg1 = (int) SWIG_AsInt(obj0);
35196 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35197 }
35198 if (obj1) {
15afbcd0
RD
35199 arg2 = (int) SWIG_AsInt(obj1);
35200 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35201 }
35202 if (obj2) {
15afbcd0
RD
35203 arg3 = (int) SWIG_AsInt(obj2);
35204 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35205 }
35206 if (obj3) {
15afbcd0
RD
35207 arg4 = (int) SWIG_AsInt(obj3);
35208 if (PyErr_Occurred()) SWIG_fail;
994141e6 35209 }
d14a1e28
RD
35210 {
35211 PyThreadState* __tstate = wxPyBeginAllowThreads();
35212 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
35213
35214 wxPyEndAllowThreads(__tstate);
35215 if (PyErr_Occurred()) SWIG_fail;
35216 }
15afbcd0 35217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
35218 return resultobj;
35219 fail:
35220 return NULL;
35221}
35222
35223
35224static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35225 PyObject *resultobj;
35226 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35227 PyObject * obj0 = 0 ;
35228 char *kwnames[] = {
35229 (char *) "self", NULL
35230 };
35231
35232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
35233 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35234 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35235 {
35236 PyThreadState* __tstate = wxPyBeginAllowThreads();
35237 (arg1)->RecalcSizes();
35238
35239 wxPyEndAllowThreads(__tstate);
35240 if (PyErr_Occurred()) SWIG_fail;
35241 }
35242 Py_INCREF(Py_None); resultobj = Py_None;
35243 return resultobj;
35244 fail:
35245 return NULL;
35246}
35247
35248
35249static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35250 PyObject *resultobj;
35251 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35252 wxSize result;
35253 PyObject * obj0 = 0 ;
35254 char *kwnames[] = {
35255 (char *) "self", NULL
35256 };
35257
35258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
35259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35261 {
35262 PyThreadState* __tstate = wxPyBeginAllowThreads();
35263 result = (arg1)->CalcMin();
35264
35265 wxPyEndAllowThreads(__tstate);
35266 if (PyErr_Occurred()) SWIG_fail;
35267 }
35268 {
35269 wxSize * resultptr;
35270 resultptr = new wxSize((wxSize &) result);
15afbcd0 35271 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35272 }
35273 return resultobj;
35274 fail:
35275 return NULL;
35276}
35277
35278
35279static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
35280 PyObject *resultobj;
35281 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35282 size_t arg2 ;
35283 int arg3 = (int) 0 ;
35284 PyObject * obj0 = 0 ;
35285 PyObject * obj1 = 0 ;
994141e6 35286 PyObject * obj2 = 0 ;
d14a1e28
RD
35287 char *kwnames[] = {
35288 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35289 };
35290
994141e6 35291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35294 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35295 if (PyErr_Occurred()) SWIG_fail;
994141e6 35296 if (obj2) {
15afbcd0
RD
35297 arg3 = (int) SWIG_AsInt(obj2);
35298 if (PyErr_Occurred()) SWIG_fail;
994141e6 35299 }
d14a1e28
RD
35300 {
35301 PyThreadState* __tstate = wxPyBeginAllowThreads();
35302 (arg1)->AddGrowableRow(arg2,arg3);
35303
35304 wxPyEndAllowThreads(__tstate);
35305 if (PyErr_Occurred()) SWIG_fail;
35306 }
35307 Py_INCREF(Py_None); resultobj = Py_None;
35308 return resultobj;
35309 fail:
35310 return NULL;
35311}
35312
35313
35314static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
35315 PyObject *resultobj;
35316 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35317 size_t arg2 ;
35318 PyObject * obj0 = 0 ;
35319 PyObject * obj1 = 0 ;
35320 char *kwnames[] = {
35321 (char *) "self",(char *) "idx", NULL
35322 };
35323
35324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35327 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35328 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35329 {
35330 PyThreadState* __tstate = wxPyBeginAllowThreads();
35331 (arg1)->RemoveGrowableRow(arg2);
35332
35333 wxPyEndAllowThreads(__tstate);
35334 if (PyErr_Occurred()) SWIG_fail;
35335 }
35336 Py_INCREF(Py_None); resultobj = Py_None;
35337 return resultobj;
35338 fail:
35339 return NULL;
35340}
35341
35342
35343static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
35344 PyObject *resultobj;
35345 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35346 size_t arg2 ;
35347 int arg3 = (int) 0 ;
35348 PyObject * obj0 = 0 ;
35349 PyObject * obj1 = 0 ;
994141e6 35350 PyObject * obj2 = 0 ;
d14a1e28
RD
35351 char *kwnames[] = {
35352 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35353 };
35354
994141e6 35355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35358 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35359 if (PyErr_Occurred()) SWIG_fail;
994141e6 35360 if (obj2) {
15afbcd0
RD
35361 arg3 = (int) SWIG_AsInt(obj2);
35362 if (PyErr_Occurred()) SWIG_fail;
994141e6 35363 }
d14a1e28
RD
35364 {
35365 PyThreadState* __tstate = wxPyBeginAllowThreads();
35366 (arg1)->AddGrowableCol(arg2,arg3);
35367
35368 wxPyEndAllowThreads(__tstate);
35369 if (PyErr_Occurred()) SWIG_fail;
35370 }
35371 Py_INCREF(Py_None); resultobj = Py_None;
35372 return resultobj;
35373 fail:
35374 return NULL;
35375}
35376
35377
35378static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
35379 PyObject *resultobj;
35380 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35381 size_t arg2 ;
35382 PyObject * obj0 = 0 ;
35383 PyObject * obj1 = 0 ;
35384 char *kwnames[] = {
35385 (char *) "self",(char *) "idx", NULL
35386 };
35387
35388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35391 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35393 {
35394 PyThreadState* __tstate = wxPyBeginAllowThreads();
35395 (arg1)->RemoveGrowableCol(arg2);
35396
35397 wxPyEndAllowThreads(__tstate);
35398 if (PyErr_Occurred()) SWIG_fail;
35399 }
35400 Py_INCREF(Py_None); resultobj = Py_None;
35401 return resultobj;
35402 fail:
35403 return NULL;
35404}
35405
35406
35407static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
35408 PyObject *resultobj;
35409 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35410 int arg2 ;
35411 PyObject * obj0 = 0 ;
994141e6 35412 PyObject * obj1 = 0 ;
d14a1e28
RD
35413 char *kwnames[] = {
35414 (char *) "self",(char *) "direction", NULL
35415 };
35416
994141e6 35417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35420 arg2 = (int) SWIG_AsInt(obj1);
35421 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35422 {
35423 PyThreadState* __tstate = wxPyBeginAllowThreads();
35424 (arg1)->SetFlexibleDirection(arg2);
35425
35426 wxPyEndAllowThreads(__tstate);
35427 if (PyErr_Occurred()) SWIG_fail;
35428 }
35429 Py_INCREF(Py_None); resultobj = Py_None;
35430 return resultobj;
35431 fail:
35432 return NULL;
35433}
35434
35435
35436static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
35437 PyObject *resultobj;
35438 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35439 int result;
35440 PyObject * obj0 = 0 ;
35441 char *kwnames[] = {
35442 (char *) "self", NULL
35443 };
35444
35445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
15afbcd0
RD
35446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35448 {
35449 PyThreadState* __tstate = wxPyBeginAllowThreads();
35450 result = (int)(arg1)->GetFlexibleDirection();
35451
35452 wxPyEndAllowThreads(__tstate);
35453 if (PyErr_Occurred()) SWIG_fail;
35454 }
15afbcd0 35455 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35456 return resultobj;
35457 fail:
35458 return NULL;
35459}
35460
35461
35462static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
35463 PyObject *resultobj;
35464 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35465 int arg2 ;
35466 PyObject * obj0 = 0 ;
994141e6 35467 PyObject * obj1 = 0 ;
d14a1e28
RD
35468 char *kwnames[] = {
35469 (char *) "self",(char *) "mode", NULL
35470 };
35471
994141e6 35472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35475 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
35476 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35477 {
35478 PyThreadState* __tstate = wxPyBeginAllowThreads();
35479 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
35480
35481 wxPyEndAllowThreads(__tstate);
35482 if (PyErr_Occurred()) SWIG_fail;
35483 }
35484 Py_INCREF(Py_None); resultobj = Py_None;
35485 return resultobj;
35486 fail:
35487 return NULL;
35488}
35489
35490
35491static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
35492 PyObject *resultobj;
35493 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35494 int result;
35495 PyObject * obj0 = 0 ;
35496 char *kwnames[] = {
35497 (char *) "self", NULL
35498 };
35499
35500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
15afbcd0
RD
35501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35503 {
35504 PyThreadState* __tstate = wxPyBeginAllowThreads();
35505 result = (int)(arg1)->GetNonFlexibleGrowMode();
35506
35507 wxPyEndAllowThreads(__tstate);
35508 if (PyErr_Occurred()) SWIG_fail;
35509 }
15afbcd0 35510 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35511 return resultobj;
35512 fail:
35513 return NULL;
35514}
35515
35516
e811c8ce
RD
35517static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
35518 PyObject *resultobj;
35519 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35520 wxArrayInt *result;
35521 PyObject * obj0 = 0 ;
35522 char *kwnames[] = {
35523 (char *) "self", NULL
35524 };
35525
35526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
15afbcd0
RD
35527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
35529 {
35530 PyThreadState* __tstate = wxPyBeginAllowThreads();
35531 {
35532 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
35533 result = (wxArrayInt *) &_result_ref;
35534 }
35535
35536 wxPyEndAllowThreads(__tstate);
35537 if (PyErr_Occurred()) SWIG_fail;
35538 }
35539 {
35540 resultobj = PyList_New(0);
35541 size_t idx;
35542 for (idx = 0; idx < result->GetCount(); idx += 1) {
35543 PyObject* val = PyInt_FromLong( result->Item(idx) );
35544 PyList_Append(resultobj, val);
35545 Py_DECREF(val);
35546 }
35547 }
35548 return resultobj;
35549 fail:
35550 return NULL;
35551}
35552
35553
35554static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
35555 PyObject *resultobj;
35556 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35557 wxArrayInt *result;
35558 PyObject * obj0 = 0 ;
35559 char *kwnames[] = {
35560 (char *) "self", NULL
35561 };
35562
35563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
15afbcd0
RD
35564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
35566 {
35567 PyThreadState* __tstate = wxPyBeginAllowThreads();
35568 {
35569 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
35570 result = (wxArrayInt *) &_result_ref;
35571 }
35572
35573 wxPyEndAllowThreads(__tstate);
35574 if (PyErr_Occurred()) SWIG_fail;
35575 }
35576 {
35577 resultobj = PyList_New(0);
35578 size_t idx;
35579 for (idx = 0; idx < result->GetCount(); idx += 1) {
35580 PyObject* val = PyInt_FromLong( result->Item(idx) );
35581 PyList_Append(resultobj, val);
35582 Py_DECREF(val);
35583 }
35584 }
35585 return resultobj;
35586 fail:
35587 return NULL;
35588}
35589
35590
d14a1e28
RD
35591static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
35592 PyObject *obj;
35593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35594 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
35595 Py_INCREF(obj);
35596 return Py_BuildValue((char *)"");
35597}
35598static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
35599 PyObject *resultobj;
35600 int arg1 = (int) 0 ;
35601 int arg2 = (int) 0 ;
35602 wxGBPosition *result;
994141e6
RD
35603 PyObject * obj0 = 0 ;
35604 PyObject * obj1 = 0 ;
d14a1e28
RD
35605 char *kwnames[] = {
35606 (char *) "row",(char *) "col", NULL
35607 };
35608
994141e6
RD
35609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
35610 if (obj0) {
15afbcd0
RD
35611 arg1 = (int) SWIG_AsInt(obj0);
35612 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35613 }
35614 if (obj1) {
15afbcd0
RD
35615 arg2 = (int) SWIG_AsInt(obj1);
35616 if (PyErr_Occurred()) SWIG_fail;
994141e6 35617 }
d14a1e28
RD
35618 {
35619 PyThreadState* __tstate = wxPyBeginAllowThreads();
35620 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
35621
35622 wxPyEndAllowThreads(__tstate);
35623 if (PyErr_Occurred()) SWIG_fail;
35624 }
15afbcd0 35625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
35626 return resultobj;
35627 fail:
35628 return NULL;
35629}
35630
35631
35632static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
35633 PyObject *resultobj;
35634 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35635 int result;
35636 PyObject * obj0 = 0 ;
35637 char *kwnames[] = {
35638 (char *) "self", NULL
35639 };
35640
35641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
15afbcd0
RD
35642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35644 {
35645 PyThreadState* __tstate = wxPyBeginAllowThreads();
35646 result = (int)((wxGBPosition const *)arg1)->GetRow();
35647
35648 wxPyEndAllowThreads(__tstate);
35649 if (PyErr_Occurred()) SWIG_fail;
35650 }
15afbcd0 35651 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35652 return resultobj;
35653 fail:
35654 return NULL;
35655}
35656
35657
35658static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
35659 PyObject *resultobj;
35660 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35661 int result;
35662 PyObject * obj0 = 0 ;
35663 char *kwnames[] = {
35664 (char *) "self", NULL
35665 };
35666
35667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
15afbcd0
RD
35668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35670 {
35671 PyThreadState* __tstate = wxPyBeginAllowThreads();
35672 result = (int)((wxGBPosition const *)arg1)->GetCol();
35673
35674 wxPyEndAllowThreads(__tstate);
35675 if (PyErr_Occurred()) SWIG_fail;
35676 }
15afbcd0 35677 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35678 return resultobj;
35679 fail:
35680 return NULL;
35681}
35682
35683
35684static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
35685 PyObject *resultobj;
35686 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35687 int arg2 ;
35688 PyObject * obj0 = 0 ;
994141e6 35689 PyObject * obj1 = 0 ;
d14a1e28
RD
35690 char *kwnames[] = {
35691 (char *) "self",(char *) "row", NULL
35692 };
35693
994141e6 35694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35697 arg2 = (int) SWIG_AsInt(obj1);
35698 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35699 {
35700 PyThreadState* __tstate = wxPyBeginAllowThreads();
35701 (arg1)->SetRow(arg2);
35702
35703 wxPyEndAllowThreads(__tstate);
35704 if (PyErr_Occurred()) SWIG_fail;
35705 }
35706 Py_INCREF(Py_None); resultobj = Py_None;
35707 return resultobj;
35708 fail:
35709 return NULL;
35710}
35711
35712
35713static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
35714 PyObject *resultobj;
35715 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35716 int arg2 ;
35717 PyObject * obj0 = 0 ;
994141e6 35718 PyObject * obj1 = 0 ;
d14a1e28
RD
35719 char *kwnames[] = {
35720 (char *) "self",(char *) "col", NULL
35721 };
35722
994141e6 35723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35724 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35725 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35726 arg2 = (int) SWIG_AsInt(obj1);
35727 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35728 {
35729 PyThreadState* __tstate = wxPyBeginAllowThreads();
35730 (arg1)->SetCol(arg2);
35731
35732 wxPyEndAllowThreads(__tstate);
35733 if (PyErr_Occurred()) SWIG_fail;
35734 }
35735 Py_INCREF(Py_None); resultobj = Py_None;
35736 return resultobj;
35737 fail:
35738 return NULL;
35739}
35740
35741
35742static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
35743 PyObject *resultobj;
35744 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 35745 wxGBPosition *arg2 = 0 ;
d14a1e28 35746 bool result;
4f89f6a3 35747 wxGBPosition temp2 ;
d14a1e28
RD
35748 PyObject * obj0 = 0 ;
35749 PyObject * obj1 = 0 ;
35750 char *kwnames[] = {
22faec7d 35751 (char *) "self",(char *) "other", NULL
d14a1e28
RD
35752 };
35753
35754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
35757 {
35758 arg2 = &temp2;
35759 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
35760 }
d14a1e28
RD
35761 {
35762 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 35763 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
d14a1e28
RD
35764
35765 wxPyEndAllowThreads(__tstate);
35766 if (PyErr_Occurred()) SWIG_fail;
35767 }
4f89f6a3
RD
35768 {
35769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35770 }
d14a1e28
RD
35771 return resultobj;
35772 fail:
35773 return NULL;
35774}
35775
35776
35777static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
35778 PyObject *resultobj;
35779 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
4f89f6a3 35780 wxGBPosition *arg2 = 0 ;
d14a1e28 35781 bool result;
4f89f6a3 35782 wxGBPosition temp2 ;
d14a1e28
RD
35783 PyObject * obj0 = 0 ;
35784 PyObject * obj1 = 0 ;
35785 char *kwnames[] = {
22faec7d 35786 (char *) "self",(char *) "other", NULL
d14a1e28
RD
35787 };
35788
35789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
35792 {
35793 arg2 = &temp2;
35794 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
35795 }
d14a1e28
RD
35796 {
35797 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 35798 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
d14a1e28
RD
35799
35800 wxPyEndAllowThreads(__tstate);
35801 if (PyErr_Occurred()) SWIG_fail;
35802 }
4f89f6a3
RD
35803 {
35804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35805 }
d14a1e28
RD
35806 return resultobj;
35807 fail:
35808 return NULL;
35809}
35810
35811
e811c8ce
RD
35812static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
35813 PyObject *resultobj;
35814 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35815 int arg2 = (int) 0 ;
35816 int arg3 = (int) 0 ;
35817 PyObject * obj0 = 0 ;
994141e6
RD
35818 PyObject * obj1 = 0 ;
35819 PyObject * obj2 = 0 ;
e811c8ce
RD
35820 char *kwnames[] = {
35821 (char *) "self",(char *) "row",(char *) "col", NULL
35822 };
35823
994141e6 35824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
35825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 35827 if (obj1) {
15afbcd0
RD
35828 arg2 = (int) SWIG_AsInt(obj1);
35829 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35830 }
35831 if (obj2) {
15afbcd0
RD
35832 arg3 = (int) SWIG_AsInt(obj2);
35833 if (PyErr_Occurred()) SWIG_fail;
994141e6 35834 }
e811c8ce
RD
35835 {
35836 PyThreadState* __tstate = wxPyBeginAllowThreads();
35837 wxGBPosition_Set(arg1,arg2,arg3);
35838
35839 wxPyEndAllowThreads(__tstate);
35840 if (PyErr_Occurred()) SWIG_fail;
35841 }
35842 Py_INCREF(Py_None); resultobj = Py_None;
35843 return resultobj;
35844 fail:
35845 return NULL;
35846}
35847
35848
35849static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35850 PyObject *resultobj;
35851 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35852 PyObject *result;
35853 PyObject * obj0 = 0 ;
35854 char *kwnames[] = {
35855 (char *) "self", NULL
35856 };
35857
e811c8ce 35858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
35859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35861 {
35862 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 35863 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
35864
35865 wxPyEndAllowThreads(__tstate);
35866 if (PyErr_Occurred()) SWIG_fail;
35867 }
35868 resultobj = result;
35869 return resultobj;
35870 fail:
35871 return NULL;
35872}
35873
35874
35875static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
35876 PyObject *obj;
35877 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35878 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
35879 Py_INCREF(obj);
35880 return Py_BuildValue((char *)"");
35881}
35882static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
35883 PyObject *resultobj;
35884 int arg1 = (int) 1 ;
35885 int arg2 = (int) 1 ;
35886 wxGBSpan *result;
994141e6
RD
35887 PyObject * obj0 = 0 ;
35888 PyObject * obj1 = 0 ;
d14a1e28
RD
35889 char *kwnames[] = {
35890 (char *) "rowspan",(char *) "colspan", NULL
35891 };
35892
994141e6
RD
35893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
35894 if (obj0) {
15afbcd0
RD
35895 arg1 = (int) SWIG_AsInt(obj0);
35896 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
35897 }
35898 if (obj1) {
15afbcd0
RD
35899 arg2 = (int) SWIG_AsInt(obj1);
35900 if (PyErr_Occurred()) SWIG_fail;
994141e6 35901 }
d14a1e28
RD
35902 {
35903 PyThreadState* __tstate = wxPyBeginAllowThreads();
35904 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
35905
35906 wxPyEndAllowThreads(__tstate);
35907 if (PyErr_Occurred()) SWIG_fail;
35908 }
15afbcd0 35909 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
35910 return resultobj;
35911 fail:
35912 return NULL;
35913}
35914
35915
35916static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
35917 PyObject *resultobj;
35918 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35919 int result;
35920 PyObject * obj0 = 0 ;
35921 char *kwnames[] = {
35922 (char *) "self", NULL
35923 };
35924
35925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
35926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35928 {
35929 PyThreadState* __tstate = wxPyBeginAllowThreads();
35930 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
35931
35932 wxPyEndAllowThreads(__tstate);
35933 if (PyErr_Occurred()) SWIG_fail;
35934 }
15afbcd0 35935 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35936 return resultobj;
35937 fail:
35938 return NULL;
35939}
35940
35941
35942static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
35943 PyObject *resultobj;
35944 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35945 int result;
35946 PyObject * obj0 = 0 ;
35947 char *kwnames[] = {
35948 (char *) "self", NULL
35949 };
35950
35951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
15afbcd0
RD
35952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35954 {
35955 PyThreadState* __tstate = wxPyBeginAllowThreads();
35956 result = (int)((wxGBSpan const *)arg1)->GetColspan();
35957
35958 wxPyEndAllowThreads(__tstate);
35959 if (PyErr_Occurred()) SWIG_fail;
35960 }
15afbcd0 35961 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35962 return resultobj;
35963 fail:
35964 return NULL;
35965}
35966
35967
35968static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
35969 PyObject *resultobj;
35970 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
35971 int arg2 ;
35972 PyObject * obj0 = 0 ;
994141e6 35973 PyObject * obj1 = 0 ;
d14a1e28
RD
35974 char *kwnames[] = {
35975 (char *) "self",(char *) "rowspan", NULL
35976 };
35977
994141e6 35978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
35979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
35980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35981 arg2 = (int) SWIG_AsInt(obj1);
35982 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35983 {
35984 PyThreadState* __tstate = wxPyBeginAllowThreads();
35985 (arg1)->SetRowspan(arg2);
35986
35987 wxPyEndAllowThreads(__tstate);
35988 if (PyErr_Occurred()) SWIG_fail;
35989 }
35990 Py_INCREF(Py_None); resultobj = Py_None;
35991 return resultobj;
35992 fail:
35993 return NULL;
35994}
35995
35996
35997static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
35998 PyObject *resultobj;
35999 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36000 int arg2 ;
36001 PyObject * obj0 = 0 ;
994141e6 36002 PyObject * obj1 = 0 ;
d14a1e28
RD
36003 char *kwnames[] = {
36004 (char *) "self",(char *) "colspan", NULL
36005 };
36006
994141e6 36007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36010 arg2 = (int) SWIG_AsInt(obj1);
36011 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36012 {
36013 PyThreadState* __tstate = wxPyBeginAllowThreads();
36014 (arg1)->SetColspan(arg2);
36015
36016 wxPyEndAllowThreads(__tstate);
36017 if (PyErr_Occurred()) SWIG_fail;
36018 }
36019 Py_INCREF(Py_None); resultobj = Py_None;
36020 return resultobj;
36021 fail:
36022 return NULL;
36023}
36024
36025
36026static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36027 PyObject *resultobj;
36028 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 36029 wxGBSpan *arg2 = 0 ;
d14a1e28 36030 bool result;
4f89f6a3 36031 wxGBSpan temp2 ;
d14a1e28
RD
36032 PyObject * obj0 = 0 ;
36033 PyObject * obj1 = 0 ;
36034 char *kwnames[] = {
22faec7d 36035 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36036 };
36037
36038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36041 {
36042 arg2 = &temp2;
36043 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36044 }
d14a1e28
RD
36045 {
36046 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36047 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
d14a1e28
RD
36048
36049 wxPyEndAllowThreads(__tstate);
36050 if (PyErr_Occurred()) SWIG_fail;
36051 }
4f89f6a3
RD
36052 {
36053 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36054 }
d14a1e28
RD
36055 return resultobj;
36056 fail:
36057 return NULL;
36058}
36059
36060
36061static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
36062 PyObject *resultobj;
36063 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
4f89f6a3 36064 wxGBSpan *arg2 = 0 ;
d14a1e28 36065 bool result;
4f89f6a3 36066 wxGBSpan temp2 ;
d14a1e28
RD
36067 PyObject * obj0 = 0 ;
36068 PyObject * obj1 = 0 ;
36069 char *kwnames[] = {
22faec7d 36070 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36071 };
36072
36073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4f89f6a3
RD
36076 {
36077 arg2 = &temp2;
36078 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36079 }
d14a1e28
RD
36080 {
36081 PyThreadState* __tstate = wxPyBeginAllowThreads();
4f89f6a3 36082 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
d14a1e28
RD
36083
36084 wxPyEndAllowThreads(__tstate);
36085 if (PyErr_Occurred()) SWIG_fail;
36086 }
4f89f6a3
RD
36087 {
36088 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36089 }
d14a1e28
RD
36090 return resultobj;
36091 fail:
36092 return NULL;
36093}
36094
36095
e811c8ce
RD
36096static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
36097 PyObject *resultobj;
36098 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36099 int arg2 = (int) 1 ;
36100 int arg3 = (int) 1 ;
36101 PyObject * obj0 = 0 ;
994141e6
RD
36102 PyObject * obj1 = 0 ;
36103 PyObject * obj2 = 0 ;
e811c8ce
RD
36104 char *kwnames[] = {
36105 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
36106 };
36107
994141e6 36108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 36111 if (obj1) {
15afbcd0
RD
36112 arg2 = (int) SWIG_AsInt(obj1);
36113 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36114 }
36115 if (obj2) {
15afbcd0
RD
36116 arg3 = (int) SWIG_AsInt(obj2);
36117 if (PyErr_Occurred()) SWIG_fail;
994141e6 36118 }
e811c8ce
RD
36119 {
36120 PyThreadState* __tstate = wxPyBeginAllowThreads();
36121 wxGBSpan_Set(arg1,arg2,arg3);
36122
36123 wxPyEndAllowThreads(__tstate);
36124 if (PyErr_Occurred()) SWIG_fail;
36125 }
36126 Py_INCREF(Py_None); resultobj = Py_None;
36127 return resultobj;
36128 fail:
36129 return NULL;
36130}
36131
36132
36133static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36134 PyObject *resultobj;
36135 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36136 PyObject *result;
36137 PyObject * obj0 = 0 ;
36138 char *kwnames[] = {
36139 (char *) "self", NULL
36140 };
36141
e811c8ce 36142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
15afbcd0
RD
36143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36145 {
36146 PyThreadState* __tstate = wxPyBeginAllowThreads();
e811c8ce 36147 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
36148
36149 wxPyEndAllowThreads(__tstate);
36150 if (PyErr_Occurred()) SWIG_fail;
36151 }
36152 resultobj = result;
36153 return resultobj;
36154 fail:
36155 return NULL;
36156}
36157
36158
36159static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
36160 PyObject *obj;
36161 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36162 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
36163 Py_INCREF(obj);
36164 return Py_BuildValue((char *)"");
36165}
36166static int _wrap_DefaultSpan_set(PyObject *_val) {
36167 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
36168 return 1;
36169}
36170
36171
36172static PyObject *_wrap_DefaultSpan_get() {
36173 PyObject *pyobj;
36174
15afbcd0 36175 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
36176 return pyobj;
36177}
36178
36179
36180static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
36181 PyObject *resultobj;
36182 wxGBSizerItem *result;
36183 char *kwnames[] = {
36184 NULL
36185 };
36186
36187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
36188 {
36189 PyThreadState* __tstate = wxPyBeginAllowThreads();
36190 result = (wxGBSizerItem *)new wxGBSizerItem();
36191
36192 wxPyEndAllowThreads(__tstate);
36193 if (PyErr_Occurred()) SWIG_fail;
36194 }
15afbcd0 36195 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
36196 return resultobj;
36197 fail:
36198 return NULL;
36199}
36200
36201
36202static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
36203 PyObject *resultobj;
36204 wxWindow *arg1 = (wxWindow *) 0 ;
36205 wxGBPosition *arg2 = 0 ;
36206 wxGBSpan *arg3 = 0 ;
36207 int arg4 ;
36208 int arg5 ;
36209 wxObject *arg6 = (wxObject *) 0 ;
36210 wxGBSizerItem *result;
36211 wxGBPosition temp2 ;
36212 wxGBSpan temp3 ;
36213 PyObject * obj0 = 0 ;
36214 PyObject * obj1 = 0 ;
36215 PyObject * obj2 = 0 ;
994141e6
RD
36216 PyObject * obj3 = 0 ;
36217 PyObject * obj4 = 0 ;
d14a1e28
RD
36218 PyObject * obj5 = 0 ;
36219 char *kwnames[] = {
36220 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36221 };
36222
994141e6 36223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
36224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
36225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36226 {
36227 arg2 = &temp2;
36228 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36229 }
36230 {
36231 arg3 = &temp3;
36232 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36233 }
15afbcd0
RD
36234 arg4 = (int) SWIG_AsInt(obj3);
36235 if (PyErr_Occurred()) SWIG_fail;
36236 arg5 = (int) SWIG_AsInt(obj4);
36237 if (PyErr_Occurred()) SWIG_fail;
36238 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
36239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36240 {
36241 PyThreadState* __tstate = wxPyBeginAllowThreads();
36242 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
36243
36244 wxPyEndAllowThreads(__tstate);
36245 if (PyErr_Occurred()) SWIG_fail;
36246 }
15afbcd0 36247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
36248 return resultobj;
36249 fail:
36250 return NULL;
36251}
36252
36253
36254static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36255 PyObject *resultobj;
36256 wxSizer *arg1 = (wxSizer *) 0 ;
36257 wxGBPosition *arg2 = 0 ;
36258 wxGBSpan *arg3 = 0 ;
36259 int arg4 ;
36260 int arg5 ;
36261 wxObject *arg6 = (wxObject *) 0 ;
36262 wxGBSizerItem *result;
36263 wxGBPosition temp2 ;
36264 wxGBSpan temp3 ;
36265 PyObject * obj0 = 0 ;
36266 PyObject * obj1 = 0 ;
36267 PyObject * obj2 = 0 ;
994141e6
RD
36268 PyObject * obj3 = 0 ;
36269 PyObject * obj4 = 0 ;
d14a1e28
RD
36270 PyObject * obj5 = 0 ;
36271 char *kwnames[] = {
36272 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36273 };
36274
994141e6 36275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
36276 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36277 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36278 {
36279 arg2 = &temp2;
36280 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36281 }
36282 {
36283 arg3 = &temp3;
36284 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36285 }
15afbcd0
RD
36286 arg4 = (int) SWIG_AsInt(obj3);
36287 if (PyErr_Occurred()) SWIG_fail;
36288 arg5 = (int) SWIG_AsInt(obj4);
36289 if (PyErr_Occurred()) SWIG_fail;
36290 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
36291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36292 {
36293 PyThreadState* __tstate = wxPyBeginAllowThreads();
36294 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
36295
36296 wxPyEndAllowThreads(__tstate);
36297 if (PyErr_Occurred()) SWIG_fail;
36298 }
15afbcd0 36299 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
36300 return resultobj;
36301 fail:
36302 return NULL;
36303}
36304
36305
36306static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
36307 PyObject *resultobj;
36308 int arg1 ;
36309 int arg2 ;
36310 wxGBPosition *arg3 = 0 ;
36311 wxGBSpan *arg4 = 0 ;
36312 int arg5 ;
36313 int arg6 ;
36314 wxObject *arg7 = (wxObject *) 0 ;
36315 wxGBSizerItem *result;
36316 wxGBPosition temp3 ;
36317 wxGBSpan temp4 ;
994141e6
RD
36318 PyObject * obj0 = 0 ;
36319 PyObject * obj1 = 0 ;
d14a1e28
RD
36320 PyObject * obj2 = 0 ;
36321 PyObject * obj3 = 0 ;
994141e6
RD
36322 PyObject * obj4 = 0 ;
36323 PyObject * obj5 = 0 ;
d14a1e28
RD
36324 PyObject * obj6 = 0 ;
36325 char *kwnames[] = {
36326 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36327 };
36328
994141e6 36329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
36330 arg1 = (int) SWIG_AsInt(obj0);
36331 if (PyErr_Occurred()) SWIG_fail;
36332 arg2 = (int) SWIG_AsInt(obj1);
36333 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36334 {
36335 arg3 = &temp3;
36336 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36337 }
36338 {
36339 arg4 = &temp4;
36340 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
36341 }
15afbcd0
RD
36342 arg5 = (int) SWIG_AsInt(obj4);
36343 if (PyErr_Occurred()) SWIG_fail;
36344 arg6 = (int) SWIG_AsInt(obj5);
36345 if (PyErr_Occurred()) SWIG_fail;
36346 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxObject,
36347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36348 {
36349 PyThreadState* __tstate = wxPyBeginAllowThreads();
36350 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
36351
36352 wxPyEndAllowThreads(__tstate);
36353 if (PyErr_Occurred()) SWIG_fail;
36354 }
15afbcd0 36355 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
36356 return resultobj;
36357 fail:
36358 return NULL;
36359}
36360
36361
36362static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
36363 PyObject *resultobj;
36364 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36365 wxGBPosition result;
36366 PyObject * obj0 = 0 ;
36367 char *kwnames[] = {
36368 (char *) "self", NULL
36369 };
36370
36371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
15afbcd0
RD
36372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36374 {
36375 PyThreadState* __tstate = wxPyBeginAllowThreads();
36376 result = ((wxGBSizerItem const *)arg1)->GetPos();
36377
36378 wxPyEndAllowThreads(__tstate);
36379 if (PyErr_Occurred()) SWIG_fail;
36380 }
36381 {
36382 wxGBPosition * resultptr;
36383 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 36384 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36385 }
36386 return resultobj;
36387 fail:
36388 return NULL;
36389}
36390
36391
36392static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
36393 PyObject *resultobj;
36394 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36395 wxGBSpan result;
36396 PyObject * obj0 = 0 ;
36397 char *kwnames[] = {
36398 (char *) "self", NULL
36399 };
36400
36401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
15afbcd0
RD
36402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36404 {
36405 PyThreadState* __tstate = wxPyBeginAllowThreads();
36406 result = ((wxGBSizerItem const *)arg1)->GetSpan();
36407
36408 wxPyEndAllowThreads(__tstate);
36409 if (PyErr_Occurred()) SWIG_fail;
36410 }
36411 {
36412 wxGBSpan * resultptr;
36413 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 36414 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
36415 }
36416 return resultobj;
36417 fail:
36418 return NULL;
36419}
36420
36421
36422static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
36423 PyObject *resultobj;
36424 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36425 wxGBPosition *arg2 = 0 ;
36426 bool result;
36427 wxGBPosition temp2 ;
36428 PyObject * obj0 = 0 ;
36429 PyObject * obj1 = 0 ;
36430 char *kwnames[] = {
36431 (char *) "self",(char *) "pos", NULL
36432 };
36433
36434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36437 {
36438 arg2 = &temp2;
36439 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36440 }
36441 {
36442 PyThreadState* __tstate = wxPyBeginAllowThreads();
36443 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
36444
36445 wxPyEndAllowThreads(__tstate);
36446 if (PyErr_Occurred()) SWIG_fail;
36447 }
4f89f6a3
RD
36448 {
36449 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36450 }
d14a1e28
RD
36451 return resultobj;
36452 fail:
36453 return NULL;
36454}
36455
36456
36457static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
36458 PyObject *resultobj;
36459 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36460 wxGBSpan *arg2 = 0 ;
36461 bool result;
36462 wxGBSpan temp2 ;
36463 PyObject * obj0 = 0 ;
36464 PyObject * obj1 = 0 ;
36465 char *kwnames[] = {
36466 (char *) "self",(char *) "span", NULL
36467 };
36468
36469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36472 {
36473 arg2 = &temp2;
36474 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36475 }
36476 {
36477 PyThreadState* __tstate = wxPyBeginAllowThreads();
36478 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
36479
36480 wxPyEndAllowThreads(__tstate);
36481 if (PyErr_Occurred()) SWIG_fail;
36482 }
4f89f6a3
RD
36483 {
36484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36485 }
d14a1e28
RD
36486 return resultobj;
36487 fail:
36488 return NULL;
36489}
36490
36491
36492static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
36493 PyObject *resultobj;
36494 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36495 wxGBSizerItem *arg2 = 0 ;
36496 bool result;
36497 PyObject * obj0 = 0 ;
36498 PyObject * obj1 = 0 ;
36499
36500 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
15afbcd0
RD
36501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
36504 SWIG_POINTER_EXCEPTION | 0)) == -1)
36505 SWIG_fail;
d14a1e28 36506 if (arg2 == NULL) {
15afbcd0
RD
36507 PyErr_SetString(PyExc_TypeError,"null reference");
36508 SWIG_fail;
d14a1e28
RD
36509 }
36510 {
36511 PyThreadState* __tstate = wxPyBeginAllowThreads();
36512 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
36513
36514 wxPyEndAllowThreads(__tstate);
36515 if (PyErr_Occurred()) SWIG_fail;
36516 }
4f89f6a3
RD
36517 {
36518 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36519 }
d14a1e28
RD
36520 return resultobj;
36521 fail:
36522 return NULL;
36523}
36524
36525
36526static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
36527 PyObject *resultobj;
36528 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36529 wxGBPosition *arg2 = 0 ;
36530 wxGBSpan *arg3 = 0 ;
36531 bool result;
36532 wxGBPosition temp2 ;
36533 wxGBSpan temp3 ;
36534 PyObject * obj0 = 0 ;
36535 PyObject * obj1 = 0 ;
36536 PyObject * obj2 = 0 ;
36537
36538 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36541 {
36542 arg2 = &temp2;
36543 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36544 }
36545 {
36546 arg3 = &temp3;
36547 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36548 }
36549 {
36550 PyThreadState* __tstate = wxPyBeginAllowThreads();
36551 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
36552
36553 wxPyEndAllowThreads(__tstate);
36554 if (PyErr_Occurred()) SWIG_fail;
36555 }
4f89f6a3
RD
36556 {
36557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36558 }
d14a1e28
RD
36559 return resultobj;
36560 fail:
36561 return NULL;
36562}
36563
36564
36565static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
36566 int argc;
36567 PyObject *argv[4];
36568 int ii;
36569
36570 argc = PyObject_Length(args);
36571 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
36572 argv[ii] = PyTuple_GetItem(args,ii);
36573 }
36574 if (argc == 2) {
36575 int _v;
36576 {
36577 void *ptr;
15afbcd0 36578 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
36579 _v = 0;
36580 PyErr_Clear();
36581 } else {
36582 _v = 1;
36583 }
36584 }
36585 if (_v) {
36586 {
36587 void *ptr;
15afbcd0 36588 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
36589 _v = 0;
36590 PyErr_Clear();
36591 } else {
36592 _v = 1;
36593 }
36594 }
36595 if (_v) {
36596 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
36597 }
36598 }
36599 }
36600 if (argc == 3) {
36601 int _v;
36602 {
36603 void *ptr;
15afbcd0 36604 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
36605 _v = 0;
36606 PyErr_Clear();
36607 } else {
36608 _v = 1;
36609 }
36610 }
36611 if (_v) {
36612 {
36613 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
36614 }
36615 if (_v) {
36616 {
36617 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
36618 }
36619 if (_v) {
36620 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
36621 }
36622 }
36623 }
36624 }
36625
36626 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
36627 return NULL;
36628}
36629
36630
36631static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
36632 PyObject *resultobj;
36633 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36634 int *arg2 = 0 ;
36635 int *arg3 = 0 ;
36636 PyObject * obj0 = 0 ;
36637 PyObject * obj1 = 0 ;
36638 PyObject * obj2 = 0 ;
36639 char *kwnames[] = {
36640 (char *) "self",(char *) "row",(char *) "col", NULL
36641 };
36642
36643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
36644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36646 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,
36647 SWIG_POINTER_EXCEPTION | 0)) == -1)
36648 SWIG_fail;
d14a1e28 36649 if (arg2 == NULL) {
15afbcd0
RD
36650 PyErr_SetString(PyExc_TypeError,"null reference");
36651 SWIG_fail;
d14a1e28 36652 }
15afbcd0
RD
36653 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,
36654 SWIG_POINTER_EXCEPTION | 0)) == -1)
36655 SWIG_fail;
d14a1e28 36656 if (arg3 == NULL) {
15afbcd0
RD
36657 PyErr_SetString(PyExc_TypeError,"null reference");
36658 SWIG_fail;
d14a1e28
RD
36659 }
36660 {
36661 PyThreadState* __tstate = wxPyBeginAllowThreads();
36662 (arg1)->GetEndPos(*arg2,*arg3);
36663
36664 wxPyEndAllowThreads(__tstate);
36665 if (PyErr_Occurred()) SWIG_fail;
36666 }
36667 Py_INCREF(Py_None); resultobj = Py_None;
36668 return resultobj;
36669 fail:
36670 return NULL;
36671}
36672
36673
36674static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36675 PyObject *resultobj;
36676 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36677 wxGridBagSizer *result;
36678 PyObject * obj0 = 0 ;
36679 char *kwnames[] = {
36680 (char *) "self", NULL
36681 };
36682
36683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
15afbcd0
RD
36684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36686 {
36687 PyThreadState* __tstate = wxPyBeginAllowThreads();
36688 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
36689
36690 wxPyEndAllowThreads(__tstate);
36691 if (PyErr_Occurred()) SWIG_fail;
36692 }
15afbcd0 36693 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
36694 return resultobj;
36695 fail:
36696 return NULL;
36697}
36698
36699
36700static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36701 PyObject *resultobj;
36702 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36703 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
36704 PyObject * obj0 = 0 ;
36705 PyObject * obj1 = 0 ;
36706 char *kwnames[] = {
36707 (char *) "self",(char *) "sizer", NULL
36708 };
36709
36710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36713 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
36714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36715 {
36716 PyThreadState* __tstate = wxPyBeginAllowThreads();
36717 (arg1)->SetGBSizer(arg2);
36718
36719 wxPyEndAllowThreads(__tstate);
36720 if (PyErr_Occurred()) SWIG_fail;
36721 }
36722 Py_INCREF(Py_None); resultobj = Py_None;
36723 return resultobj;
36724 fail:
36725 return NULL;
36726}
36727
36728
36729static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
36730 PyObject *obj;
36731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36732 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
36733 Py_INCREF(obj);
36734 return Py_BuildValue((char *)"");
36735}
36736static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36737 PyObject *resultobj;
36738 int arg1 = (int) 0 ;
36739 int arg2 = (int) 0 ;
36740 wxGridBagSizer *result;
994141e6
RD
36741 PyObject * obj0 = 0 ;
36742 PyObject * obj1 = 0 ;
d14a1e28
RD
36743 char *kwnames[] = {
36744 (char *) "vgap",(char *) "hgap", NULL
36745 };
36746
994141e6
RD
36747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
36748 if (obj0) {
15afbcd0
RD
36749 arg1 = (int) SWIG_AsInt(obj0);
36750 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36751 }
36752 if (obj1) {
15afbcd0
RD
36753 arg2 = (int) SWIG_AsInt(obj1);
36754 if (PyErr_Occurred()) SWIG_fail;
994141e6 36755 }
d14a1e28
RD
36756 {
36757 PyThreadState* __tstate = wxPyBeginAllowThreads();
36758 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
36759
36760 wxPyEndAllowThreads(__tstate);
36761 if (PyErr_Occurred()) SWIG_fail;
36762 }
15afbcd0 36763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
36764 return resultobj;
36765 fail:
36766 return NULL;
36767}
36768
36769
36770static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
36771 PyObject *resultobj;
36772 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36773 PyObject *arg2 = (PyObject *) 0 ;
36774 wxGBPosition *arg3 = 0 ;
36775 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
36776 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
36777 int arg5 = (int) 0 ;
36778 int arg6 = (int) 0 ;
36779 PyObject *arg7 = (PyObject *) NULL ;
36780 bool result;
36781 wxGBPosition temp3 ;
36782 wxGBSpan temp4 ;
36783 PyObject * obj0 = 0 ;
36784 PyObject * obj1 = 0 ;
36785 PyObject * obj2 = 0 ;
36786 PyObject * obj3 = 0 ;
994141e6
RD
36787 PyObject * obj4 = 0 ;
36788 PyObject * obj5 = 0 ;
d14a1e28
RD
36789 PyObject * obj6 = 0 ;
36790 char *kwnames[] = {
36791 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36792 };
36793
994141e6 36794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
15afbcd0
RD
36795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36797 arg2 = obj1;
36798 {
36799 arg3 = &temp3;
36800 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36801 }
36802 if (obj3) {
36803 {
36804 arg4 = &temp4;
36805 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
36806 }
36807 }
994141e6 36808 if (obj4) {
15afbcd0
RD
36809 arg5 = (int) SWIG_AsInt(obj4);
36810 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
36811 }
36812 if (obj5) {
15afbcd0
RD
36813 arg6 = (int) SWIG_AsInt(obj5);
36814 if (PyErr_Occurred()) SWIG_fail;
994141e6 36815 }
d14a1e28
RD
36816 if (obj6) {
36817 arg7 = obj6;
36818 }
36819 {
36820 PyThreadState* __tstate = wxPyBeginAllowThreads();
36821 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
36822
36823 wxPyEndAllowThreads(__tstate);
36824 if (PyErr_Occurred()) SWIG_fail;
36825 }
4f89f6a3
RD
36826 {
36827 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36828 }
d14a1e28
RD
36829 return resultobj;
36830 fail:
36831 return NULL;
36832}
36833
36834
36835static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
36836 PyObject *resultobj;
36837 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36838 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
36839 bool result;
36840 PyObject * obj0 = 0 ;
36841 PyObject * obj1 = 0 ;
36842 char *kwnames[] = {
36843 (char *) "self",(char *) "item", NULL
36844 };
36845
36846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36847 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36848 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36849 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
36850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36851 {
36852 PyThreadState* __tstate = wxPyBeginAllowThreads();
36853 result = (bool)(arg1)->Add(arg2);
36854
36855 wxPyEndAllowThreads(__tstate);
36856 if (PyErr_Occurred()) SWIG_fail;
36857 }
4f89f6a3
RD
36858 {
36859 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36860 }
d14a1e28
RD
36861 return resultobj;
36862 fail:
36863 return NULL;
36864}
36865
36866
36867static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
36868 PyObject *resultobj;
36869 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36870 wxSize result;
36871 PyObject * obj0 = 0 ;
36872 char *kwnames[] = {
36873 (char *) "self", NULL
36874 };
36875
36876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
15afbcd0
RD
36877 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36878 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36879 {
36880 PyThreadState* __tstate = wxPyBeginAllowThreads();
36881 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
36882
36883 wxPyEndAllowThreads(__tstate);
36884 if (PyErr_Occurred()) SWIG_fail;
36885 }
36886 {
36887 wxSize * resultptr;
36888 resultptr = new wxSize((wxSize &) result);
15afbcd0 36889 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36890 }
36891 return resultobj;
36892 fail:
36893 return NULL;
36894}
36895
36896
36897static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
36898 PyObject *resultobj;
36899 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36900 wxSize *arg2 = 0 ;
36901 wxSize temp2 ;
36902 PyObject * obj0 = 0 ;
36903 PyObject * obj1 = 0 ;
36904 char *kwnames[] = {
36905 (char *) "self",(char *) "sz", NULL
36906 };
36907
36908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
36909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36911 {
36912 arg2 = &temp2;
36913 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
36914 }
36915 {
36916 PyThreadState* __tstate = wxPyBeginAllowThreads();
36917 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
36918
36919 wxPyEndAllowThreads(__tstate);
36920 if (PyErr_Occurred()) SWIG_fail;
36921 }
36922 Py_INCREF(Py_None); resultobj = Py_None;
36923 return resultobj;
36924 fail:
36925 return NULL;
36926}
36927
36928
36929static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
36930 PyObject *resultobj;
36931 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36932 wxWindow *arg2 = (wxWindow *) 0 ;
36933 wxGBPosition result;
36934 PyObject * obj0 = 0 ;
36935 PyObject * obj1 = 0 ;
36936
36937 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
36938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36940 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
36941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36942 {
36943 PyThreadState* __tstate = wxPyBeginAllowThreads();
36944 result = (arg1)->GetItemPosition(arg2);
36945
36946 wxPyEndAllowThreads(__tstate);
36947 if (PyErr_Occurred()) SWIG_fail;
36948 }
36949 {
36950 wxGBPosition * resultptr;
36951 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 36952 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36953 }
36954 return resultobj;
36955 fail:
36956 return NULL;
36957}
36958
36959
36960static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
36961 PyObject *resultobj;
36962 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36963 wxSizer *arg2 = (wxSizer *) 0 ;
36964 wxGBPosition result;
36965 PyObject * obj0 = 0 ;
36966 PyObject * obj1 = 0 ;
36967
36968 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
36969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36971 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
36972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36973 {
36974 PyThreadState* __tstate = wxPyBeginAllowThreads();
36975 result = (arg1)->GetItemPosition(arg2);
36976
36977 wxPyEndAllowThreads(__tstate);
36978 if (PyErr_Occurred()) SWIG_fail;
36979 }
36980 {
36981 wxGBPosition * resultptr;
36982 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 36983 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36984 }
36985 return resultobj;
36986 fail:
36987 return NULL;
36988}
36989
36990
36991static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
36992 PyObject *resultobj;
36993 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36994 size_t arg2 ;
36995 wxGBPosition result;
36996 PyObject * obj0 = 0 ;
36997 PyObject * obj1 = 0 ;
36998
36999 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
15afbcd0
RD
37000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37002 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37003 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37004 {
37005 PyThreadState* __tstate = wxPyBeginAllowThreads();
37006 result = (arg1)->GetItemPosition(arg2);
37007
37008 wxPyEndAllowThreads(__tstate);
37009 if (PyErr_Occurred()) SWIG_fail;
37010 }
37011 {
37012 wxGBPosition * resultptr;
37013 resultptr = new wxGBPosition((wxGBPosition &) result);
15afbcd0 37014 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37015 }
37016 return resultobj;
37017 fail:
37018 return NULL;
37019}
37020
37021
37022static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
37023 int argc;
37024 PyObject *argv[3];
37025 int ii;
37026
37027 argc = PyObject_Length(args);
37028 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37029 argv[ii] = PyTuple_GetItem(args,ii);
37030 }
37031 if (argc == 2) {
37032 int _v;
37033 {
37034 void *ptr;
15afbcd0 37035 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37036 _v = 0;
37037 PyErr_Clear();
37038 } else {
37039 _v = 1;
37040 }
37041 }
37042 if (_v) {
37043 {
37044 void *ptr;
15afbcd0 37045 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37046 _v = 0;
37047 PyErr_Clear();
37048 } else {
37049 _v = 1;
37050 }
37051 }
37052 if (_v) {
37053 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
37054 }
37055 }
37056 }
37057 if (argc == 2) {
37058 int _v;
37059 {
37060 void *ptr;
15afbcd0 37061 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37062 _v = 0;
37063 PyErr_Clear();
37064 } else {
37065 _v = 1;
37066 }
37067 }
37068 if (_v) {
37069 {
37070 void *ptr;
15afbcd0 37071 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37072 _v = 0;
37073 PyErr_Clear();
37074 } else {
37075 _v = 1;
37076 }
37077 }
37078 if (_v) {
37079 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
37080 }
37081 }
37082 }
37083 if (argc == 2) {
37084 int _v;
37085 {
37086 void *ptr;
15afbcd0 37087 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37088 _v = 0;
37089 PyErr_Clear();
37090 } else {
37091 _v = 1;
37092 }
37093 }
37094 if (_v) {
15afbcd0 37095 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
37096 if (_v) {
37097 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
37098 }
37099 }
37100 }
37101
37102 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37103 return NULL;
37104}
37105
37106
37107static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
37108 PyObject *resultobj;
37109 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37110 wxWindow *arg2 = (wxWindow *) 0 ;
37111 wxGBPosition *arg3 = 0 ;
37112 bool result;
37113 wxGBPosition temp3 ;
37114 PyObject * obj0 = 0 ;
37115 PyObject * obj1 = 0 ;
37116 PyObject * obj2 = 0 ;
37117
37118 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37121 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37122 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37123 {
37124 arg3 = &temp3;
37125 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37126 }
37127 {
37128 PyThreadState* __tstate = wxPyBeginAllowThreads();
37129 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
37130
37131 wxPyEndAllowThreads(__tstate);
37132 if (PyErr_Occurred()) SWIG_fail;
37133 }
4f89f6a3
RD
37134 {
37135 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37136 }
d14a1e28
RD
37137 return resultobj;
37138 fail:
37139 return NULL;
37140}
37141
37142
37143static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
37144 PyObject *resultobj;
37145 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37146 wxSizer *arg2 = (wxSizer *) 0 ;
37147 wxGBPosition *arg3 = 0 ;
37148 bool result;
37149 wxGBPosition temp3 ;
37150 PyObject * obj0 = 0 ;
37151 PyObject * obj1 = 0 ;
37152 PyObject * obj2 = 0 ;
37153
37154 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37157 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37159 {
37160 arg3 = &temp3;
37161 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37162 }
37163 {
37164 PyThreadState* __tstate = wxPyBeginAllowThreads();
37165 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
37166
37167 wxPyEndAllowThreads(__tstate);
37168 if (PyErr_Occurred()) SWIG_fail;
37169 }
4f89f6a3
RD
37170 {
37171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37172 }
d14a1e28
RD
37173 return resultobj;
37174 fail:
37175 return NULL;
37176}
37177
37178
37179static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
37180 PyObject *resultobj;
37181 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37182 size_t arg2 ;
37183 wxGBPosition *arg3 = 0 ;
37184 bool result;
37185 wxGBPosition temp3 ;
37186 PyObject * obj0 = 0 ;
37187 PyObject * obj1 = 0 ;
37188 PyObject * obj2 = 0 ;
37189
37190 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37193 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37194 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37195 {
37196 arg3 = &temp3;
37197 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37198 }
37199 {
37200 PyThreadState* __tstate = wxPyBeginAllowThreads();
37201 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
37202
37203 wxPyEndAllowThreads(__tstate);
37204 if (PyErr_Occurred()) SWIG_fail;
37205 }
4f89f6a3
RD
37206 {
37207 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37208 }
d14a1e28
RD
37209 return resultobj;
37210 fail:
37211 return NULL;
37212}
37213
37214
37215static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
37216 int argc;
37217 PyObject *argv[4];
37218 int ii;
37219
37220 argc = PyObject_Length(args);
37221 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
37222 argv[ii] = PyTuple_GetItem(args,ii);
37223 }
37224 if (argc == 3) {
37225 int _v;
37226 {
37227 void *ptr;
15afbcd0 37228 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37229 _v = 0;
37230 PyErr_Clear();
37231 } else {
37232 _v = 1;
37233 }
37234 }
37235 if (_v) {
37236 {
37237 void *ptr;
15afbcd0 37238 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37239 _v = 0;
37240 PyErr_Clear();
37241 } else {
37242 _v = 1;
37243 }
37244 }
37245 if (_v) {
37246 {
37247 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
37248 }
37249 if (_v) {
37250 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
37251 }
37252 }
37253 }
37254 }
37255 if (argc == 3) {
37256 int _v;
37257 {
37258 void *ptr;
15afbcd0 37259 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37260 _v = 0;
37261 PyErr_Clear();
37262 } else {
37263 _v = 1;
37264 }
37265 }
37266 if (_v) {
37267 {
37268 void *ptr;
15afbcd0 37269 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37270 _v = 0;
37271 PyErr_Clear();
37272 } else {
37273 _v = 1;
37274 }
37275 }
37276 if (_v) {
37277 {
37278 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
37279 }
37280 if (_v) {
37281 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
37282 }
37283 }
37284 }
37285 }
37286 if (argc == 3) {
37287 int _v;
37288 {
37289 void *ptr;
15afbcd0 37290 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37291 _v = 0;
37292 PyErr_Clear();
37293 } else {
37294 _v = 1;
37295 }
37296 }
37297 if (_v) {
15afbcd0 37298 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
37299 if (_v) {
37300 {
37301 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
37302 }
37303 if (_v) {
37304 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
37305 }
37306 }
37307 }
37308 }
37309
37310 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
37311 return NULL;
37312}
37313
37314
37315static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
37316 PyObject *resultobj;
37317 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37318 wxWindow *arg2 = (wxWindow *) 0 ;
37319 wxGBSpan result;
37320 PyObject * obj0 = 0 ;
37321 PyObject * obj1 = 0 ;
37322
37323 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
37324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37326 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37328 {
37329 PyThreadState* __tstate = wxPyBeginAllowThreads();
37330 result = (arg1)->GetItemSpan(arg2);
37331
37332 wxPyEndAllowThreads(__tstate);
37333 if (PyErr_Occurred()) SWIG_fail;
37334 }
37335 {
37336 wxGBSpan * resultptr;
37337 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 37338 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37339 }
37340 return resultobj;
37341 fail:
37342 return NULL;
37343}
37344
37345
37346static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
37347 PyObject *resultobj;
37348 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37349 wxSizer *arg2 = (wxSizer *) 0 ;
37350 wxGBSpan result;
37351 PyObject * obj0 = 0 ;
37352 PyObject * obj1 = 0 ;
37353
37354 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
37355 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37356 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37357 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37359 {
37360 PyThreadState* __tstate = wxPyBeginAllowThreads();
37361 result = (arg1)->GetItemSpan(arg2);
37362
37363 wxPyEndAllowThreads(__tstate);
37364 if (PyErr_Occurred()) SWIG_fail;
37365 }
37366 {
37367 wxGBSpan * resultptr;
37368 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 37369 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37370 }
37371 return resultobj;
37372 fail:
37373 return NULL;
37374}
37375
37376
37377static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
37378 PyObject *resultobj;
37379 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37380 size_t arg2 ;
37381 wxGBSpan result;
37382 PyObject * obj0 = 0 ;
37383 PyObject * obj1 = 0 ;
37384
37385 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
15afbcd0
RD
37386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37388 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37389 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37390 {
37391 PyThreadState* __tstate = wxPyBeginAllowThreads();
37392 result = (arg1)->GetItemSpan(arg2);
37393
37394 wxPyEndAllowThreads(__tstate);
37395 if (PyErr_Occurred()) SWIG_fail;
37396 }
37397 {
37398 wxGBSpan * resultptr;
37399 resultptr = new wxGBSpan((wxGBSpan &) result);
15afbcd0 37400 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37401 }
37402 return resultobj;
37403 fail:
37404 return NULL;
37405}
37406
37407
37408static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
37409 int argc;
37410 PyObject *argv[3];
37411 int ii;
37412
37413 argc = PyObject_Length(args);
37414 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37415 argv[ii] = PyTuple_GetItem(args,ii);
37416 }
37417 if (argc == 2) {
37418 int _v;
37419 {
37420 void *ptr;
15afbcd0 37421 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37422 _v = 0;
37423 PyErr_Clear();
37424 } else {
37425 _v = 1;
37426 }
37427 }
37428 if (_v) {
37429 {
37430 void *ptr;
15afbcd0 37431 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37432 _v = 0;
37433 PyErr_Clear();
37434 } else {
37435 _v = 1;
37436 }
37437 }
37438 if (_v) {
37439 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
37440 }
37441 }
37442 }
37443 if (argc == 2) {
37444 int _v;
37445 {
37446 void *ptr;
15afbcd0 37447 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37448 _v = 0;
37449 PyErr_Clear();
37450 } else {
37451 _v = 1;
37452 }
37453 }
37454 if (_v) {
37455 {
37456 void *ptr;
15afbcd0 37457 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37458 _v = 0;
37459 PyErr_Clear();
37460 } else {
37461 _v = 1;
37462 }
37463 }
37464 if (_v) {
37465 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
37466 }
37467 }
37468 }
37469 if (argc == 2) {
37470 int _v;
37471 {
37472 void *ptr;
15afbcd0 37473 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37474 _v = 0;
37475 PyErr_Clear();
37476 } else {
37477 _v = 1;
37478 }
37479 }
37480 if (_v) {
15afbcd0 37481 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
37482 if (_v) {
37483 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
37484 }
37485 }
37486 }
37487
37488 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37489 return NULL;
37490}
37491
37492
37493static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
37494 PyObject *resultobj;
37495 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37496 wxWindow *arg2 = (wxWindow *) 0 ;
37497 wxGBSpan *arg3 = 0 ;
37498 bool result;
37499 wxGBSpan temp3 ;
37500 PyObject * obj0 = 0 ;
37501 PyObject * obj1 = 0 ;
37502 PyObject * obj2 = 0 ;
37503
37504 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37507 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37509 {
37510 arg3 = &temp3;
37511 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37512 }
37513 {
37514 PyThreadState* __tstate = wxPyBeginAllowThreads();
37515 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
37516
37517 wxPyEndAllowThreads(__tstate);
37518 if (PyErr_Occurred()) SWIG_fail;
37519 }
4f89f6a3
RD
37520 {
37521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37522 }
d14a1e28
RD
37523 return resultobj;
37524 fail:
37525 return NULL;
37526}
37527
37528
37529static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
37530 PyObject *resultobj;
37531 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37532 wxSizer *arg2 = (wxSizer *) 0 ;
37533 wxGBSpan *arg3 = 0 ;
37534 bool result;
37535 wxGBSpan temp3 ;
37536 PyObject * obj0 = 0 ;
37537 PyObject * obj1 = 0 ;
37538 PyObject * obj2 = 0 ;
37539
37540 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37545 {
37546 arg3 = &temp3;
37547 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37548 }
37549 {
37550 PyThreadState* __tstate = wxPyBeginAllowThreads();
37551 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
37552
37553 wxPyEndAllowThreads(__tstate);
37554 if (PyErr_Occurred()) SWIG_fail;
37555 }
4f89f6a3
RD
37556 {
37557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37558 }
d14a1e28
RD
37559 return resultobj;
37560 fail:
37561 return NULL;
37562}
37563
37564
37565static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
37566 PyObject *resultobj;
37567 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37568 size_t arg2 ;
37569 wxGBSpan *arg3 = 0 ;
37570 bool result;
37571 wxGBSpan temp3 ;
37572 PyObject * obj0 = 0 ;
37573 PyObject * obj1 = 0 ;
37574 PyObject * obj2 = 0 ;
37575
37576 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37579 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37580 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37581 {
37582 arg3 = &temp3;
37583 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37584 }
37585 {
37586 PyThreadState* __tstate = wxPyBeginAllowThreads();
37587 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
37588
37589 wxPyEndAllowThreads(__tstate);
37590 if (PyErr_Occurred()) SWIG_fail;
37591 }
4f89f6a3
RD
37592 {
37593 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37594 }
d14a1e28
RD
37595 return resultobj;
37596 fail:
37597 return NULL;
37598}
37599
37600
37601static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
37602 int argc;
37603 PyObject *argv[4];
37604 int ii;
37605
37606 argc = PyObject_Length(args);
37607 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
37608 argv[ii] = PyTuple_GetItem(args,ii);
37609 }
37610 if (argc == 3) {
37611 int _v;
37612 {
37613 void *ptr;
15afbcd0 37614 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37615 _v = 0;
37616 PyErr_Clear();
37617 } else {
37618 _v = 1;
37619 }
37620 }
37621 if (_v) {
37622 {
37623 void *ptr;
15afbcd0 37624 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37625 _v = 0;
37626 PyErr_Clear();
37627 } else {
37628 _v = 1;
37629 }
37630 }
37631 if (_v) {
37632 {
37633 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37634 }
37635 if (_v) {
37636 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
37637 }
37638 }
37639 }
37640 }
37641 if (argc == 3) {
37642 int _v;
37643 {
37644 void *ptr;
15afbcd0 37645 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37646 _v = 0;
37647 PyErr_Clear();
37648 } else {
37649 _v = 1;
37650 }
37651 }
37652 if (_v) {
37653 {
37654 void *ptr;
15afbcd0 37655 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37656 _v = 0;
37657 PyErr_Clear();
37658 } else {
37659 _v = 1;
37660 }
37661 }
37662 if (_v) {
37663 {
37664 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37665 }
37666 if (_v) {
37667 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
37668 }
37669 }
37670 }
37671 }
37672 if (argc == 3) {
37673 int _v;
37674 {
37675 void *ptr;
15afbcd0 37676 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37677 _v = 0;
37678 PyErr_Clear();
37679 } else {
37680 _v = 1;
37681 }
37682 }
37683 if (_v) {
15afbcd0 37684 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
37685 if (_v) {
37686 {
37687 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37688 }
37689 if (_v) {
37690 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
37691 }
37692 }
37693 }
37694 }
37695
37696 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37697 return NULL;
37698}
37699
37700
37701static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
37702 PyObject *resultobj;
37703 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37704 wxWindow *arg2 = (wxWindow *) 0 ;
37705 wxGBSizerItem *result;
37706 PyObject * obj0 = 0 ;
37707 PyObject * obj1 = 0 ;
37708
37709 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
37710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37712 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37714 {
37715 PyThreadState* __tstate = wxPyBeginAllowThreads();
37716 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
37717
37718 wxPyEndAllowThreads(__tstate);
37719 if (PyErr_Occurred()) SWIG_fail;
37720 }
15afbcd0 37721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
37722 return resultobj;
37723 fail:
37724 return NULL;
37725}
37726
37727
37728static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
37729 PyObject *resultobj;
37730 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37731 wxSizer *arg2 = (wxSizer *) 0 ;
37732 wxGBSizerItem *result;
37733 PyObject * obj0 = 0 ;
37734 PyObject * obj1 = 0 ;
37735
37736 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
15afbcd0
RD
37737 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37738 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37739 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37741 {
37742 PyThreadState* __tstate = wxPyBeginAllowThreads();
37743 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
37744
37745 wxPyEndAllowThreads(__tstate);
37746 if (PyErr_Occurred()) SWIG_fail;
37747 }
15afbcd0 37748 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
37749 return resultobj;
37750 fail:
37751 return NULL;
37752}
37753
37754
37755static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
37756 int argc;
37757 PyObject *argv[3];
37758 int ii;
37759
37760 argc = PyObject_Length(args);
37761 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37762 argv[ii] = PyTuple_GetItem(args,ii);
37763 }
37764 if (argc == 2) {
37765 int _v;
37766 {
37767 void *ptr;
15afbcd0 37768 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37769 _v = 0;
37770 PyErr_Clear();
37771 } else {
37772 _v = 1;
37773 }
37774 }
37775 if (_v) {
37776 {
37777 void *ptr;
15afbcd0 37778 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37779 _v = 0;
37780 PyErr_Clear();
37781 } else {
37782 _v = 1;
37783 }
37784 }
37785 if (_v) {
37786 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
37787 }
37788 }
37789 }
37790 if (argc == 2) {
37791 int _v;
37792 {
37793 void *ptr;
15afbcd0 37794 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37795 _v = 0;
37796 PyErr_Clear();
37797 } else {
37798 _v = 1;
37799 }
37800 }
37801 if (_v) {
37802 {
37803 void *ptr;
15afbcd0 37804 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37805 _v = 0;
37806 PyErr_Clear();
37807 } else {
37808 _v = 1;
37809 }
37810 }
37811 if (_v) {
37812 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
37813 }
37814 }
37815 }
37816
37817 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
37818 return NULL;
37819}
37820
37821
37822static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
37823 PyObject *resultobj;
37824 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37825 wxGBPosition *arg2 = 0 ;
37826 wxGBSizerItem *result;
37827 wxGBPosition temp2 ;
37828 PyObject * obj0 = 0 ;
37829 PyObject * obj1 = 0 ;
37830 char *kwnames[] = {
37831 (char *) "self",(char *) "pos", NULL
37832 };
37833
37834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37835 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37836 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37837 {
37838 arg2 = &temp2;
37839 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37840 }
37841 {
37842 PyThreadState* __tstate = wxPyBeginAllowThreads();
37843 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
37844
37845 wxPyEndAllowThreads(__tstate);
37846 if (PyErr_Occurred()) SWIG_fail;
37847 }
15afbcd0 37848 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
37849 return resultobj;
37850 fail:
37851 return NULL;
37852}
37853
37854
e811c8ce
RD
37855static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
37856 PyObject *resultobj;
37857 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37858 wxPoint *arg2 = 0 ;
37859 wxGBSizerItem *result;
37860 wxPoint temp2 ;
37861 PyObject * obj0 = 0 ;
37862 PyObject * obj1 = 0 ;
37863 char *kwnames[] = {
37864 (char *) "self",(char *) "pt", NULL
37865 };
37866
37867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
e811c8ce
RD
37870 {
37871 arg2 = &temp2;
37872 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37873 }
37874 {
37875 PyThreadState* __tstate = wxPyBeginAllowThreads();
37876 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
37877
37878 wxPyEndAllowThreads(__tstate);
37879 if (PyErr_Occurred()) SWIG_fail;
37880 }
15afbcd0 37881 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
e811c8ce
RD
37882 return resultobj;
37883 fail:
37884 return NULL;
37885}
37886
37887
d14a1e28
RD
37888static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
37889 PyObject *resultobj;
37890 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37891 wxObject *arg2 = (wxObject *) 0 ;
37892 wxGBSizerItem *result;
37893 PyObject * obj0 = 0 ;
37894 PyObject * obj1 = 0 ;
37895 char *kwnames[] = {
37896 (char *) "self",(char *) "userData", NULL
37897 };
37898
37899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
37900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37902 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
37903 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37904 {
37905 PyThreadState* __tstate = wxPyBeginAllowThreads();
37906 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
37907
37908 wxPyEndAllowThreads(__tstate);
37909 if (PyErr_Occurred()) SWIG_fail;
37910 }
15afbcd0 37911 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
37912 return resultobj;
37913 fail:
37914 return NULL;
37915}
37916
37917
37918static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
37919 PyObject *resultobj;
37920 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37921 PyObject * obj0 = 0 ;
37922 char *kwnames[] = {
37923 (char *) "self", NULL
37924 };
37925
37926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
15afbcd0
RD
37927 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37929 {
37930 PyThreadState* __tstate = wxPyBeginAllowThreads();
37931 (arg1)->RecalcSizes();
37932
37933 wxPyEndAllowThreads(__tstate);
37934 if (PyErr_Occurred()) SWIG_fail;
37935 }
37936 Py_INCREF(Py_None); resultobj = Py_None;
37937 return resultobj;
37938 fail:
37939 return NULL;
37940}
37941
37942
37943static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
37944 PyObject *resultobj;
37945 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37946 wxSize result;
37947 PyObject * obj0 = 0 ;
37948 char *kwnames[] = {
37949 (char *) "self", NULL
37950 };
37951
37952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
15afbcd0
RD
37953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37955 {
37956 PyThreadState* __tstate = wxPyBeginAllowThreads();
37957 result = (arg1)->CalcMin();
37958
37959 wxPyEndAllowThreads(__tstate);
37960 if (PyErr_Occurred()) SWIG_fail;
37961 }
37962 {
37963 wxSize * resultptr;
37964 resultptr = new wxSize((wxSize &) result);
15afbcd0 37965 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
37966 }
37967 return resultobj;
37968 fail:
37969 return NULL;
37970}
37971
37972
37973static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
37974 PyObject *resultobj;
37975 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37976 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
37977 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
37978 bool result;
37979 PyObject * obj0 = 0 ;
37980 PyObject * obj1 = 0 ;
37981 PyObject * obj2 = 0 ;
37982
37983 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
37984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37986 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 37988 if (obj2) {
15afbcd0
RD
37989 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
37990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37991 }
37992 {
37993 PyThreadState* __tstate = wxPyBeginAllowThreads();
37994 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
37995
37996 wxPyEndAllowThreads(__tstate);
37997 if (PyErr_Occurred()) SWIG_fail;
37998 }
4f89f6a3
RD
37999 {
38000 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38001 }
d14a1e28
RD
38002 return resultobj;
38003 fail:
38004 return NULL;
38005}
38006
38007
38008static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
38009 PyObject *resultobj;
38010 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38011 wxGBPosition *arg2 = 0 ;
38012 wxGBSpan *arg3 = 0 ;
38013 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
38014 bool result;
38015 wxGBPosition temp2 ;
38016 wxGBSpan temp3 ;
38017 PyObject * obj0 = 0 ;
38018 PyObject * obj1 = 0 ;
38019 PyObject * obj2 = 0 ;
38020 PyObject * obj3 = 0 ;
38021
38022 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
38023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38025 {
38026 arg2 = &temp2;
38027 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38028 }
38029 {
38030 arg3 = &temp3;
38031 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38032 }
38033 if (obj3) {
15afbcd0
RD
38034 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
38035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38036 }
38037 {
38038 PyThreadState* __tstate = wxPyBeginAllowThreads();
38039 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
38040
38041 wxPyEndAllowThreads(__tstate);
38042 if (PyErr_Occurred()) SWIG_fail;
38043 }
4f89f6a3
RD
38044 {
38045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38046 }
d14a1e28
RD
38047 return resultobj;
38048 fail:
38049 return NULL;
38050}
38051
38052
38053static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
38054 int argc;
38055 PyObject *argv[5];
38056 int ii;
38057
38058 argc = PyObject_Length(args);
38059 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
38060 argv[ii] = PyTuple_GetItem(args,ii);
38061 }
38062 if ((argc >= 2) && (argc <= 3)) {
38063 int _v;
38064 {
38065 void *ptr;
15afbcd0 38066 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38067 _v = 0;
38068 PyErr_Clear();
38069 } else {
38070 _v = 1;
38071 }
38072 }
38073 if (_v) {
38074 {
38075 void *ptr;
15afbcd0 38076 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
38077 _v = 0;
38078 PyErr_Clear();
38079 } else {
38080 _v = 1;
38081 }
38082 }
38083 if (_v) {
38084 if (argc <= 2) {
38085 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
38086 }
38087 {
38088 void *ptr;
15afbcd0 38089 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
38090 _v = 0;
38091 PyErr_Clear();
38092 } else {
38093 _v = 1;
38094 }
38095 }
38096 if (_v) {
38097 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
38098 }
38099 }
38100 }
38101 }
38102 if ((argc >= 3) && (argc <= 4)) {
38103 int _v;
38104 {
38105 void *ptr;
15afbcd0 38106 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38107 _v = 0;
38108 PyErr_Clear();
38109 } else {
38110 _v = 1;
38111 }
38112 }
38113 if (_v) {
38114 {
38115 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
38116 }
38117 if (_v) {
38118 {
38119 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38120 }
38121 if (_v) {
38122 if (argc <= 3) {
38123 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
38124 }
38125 {
38126 void *ptr;
15afbcd0 38127 if (SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
38128 _v = 0;
38129 PyErr_Clear();
38130 } else {
38131 _v = 1;
38132 }
38133 }
38134 if (_v) {
38135 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
38136 }
38137 }
38138 }
38139 }
38140 }
38141
38142 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
38143 return NULL;
38144}
38145
38146
38147static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
38148 PyObject *obj;
38149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38150 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
38151 Py_INCREF(obj);
38152 return Py_BuildValue((char *)"");
38153}
38154static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
38155 PyObject *resultobj;
38156 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38157 int arg2 ;
38158 wxWindow *arg3 = (wxWindow *) 0 ;
38159 int arg4 ;
38160 int arg5 = (int) 0 ;
38161 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
38162 PyObject * obj0 = 0 ;
994141e6 38163 PyObject * obj1 = 0 ;
d14a1e28 38164 PyObject * obj2 = 0 ;
994141e6
RD
38165 PyObject * obj3 = 0 ;
38166 PyObject * obj4 = 0 ;
38167 PyObject * obj5 = 0 ;
d14a1e28
RD
38168 char *kwnames[] = {
38169 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38170 };
38171
994141e6 38172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15afbcd0
RD
38173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38175 arg2 = (wxRelationship) SWIG_AsInt(obj1);
38176 if (PyErr_Occurred()) SWIG_fail;
38177 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38179 arg4 = (wxEdge) SWIG_AsInt(obj3);
38180 if (PyErr_Occurred()) SWIG_fail;
994141e6 38181 if (obj4) {
15afbcd0
RD
38182 arg5 = (int) SWIG_AsInt(obj4);
38183 if (PyErr_Occurred()) SWIG_fail;
994141e6
RD
38184 }
38185 if (obj5) {
15afbcd0
RD
38186 arg6 = (int) SWIG_AsInt(obj5);
38187 if (PyErr_Occurred()) SWIG_fail;
994141e6 38188 }
d14a1e28
RD
38189 {
38190 PyThreadState* __tstate = wxPyBeginAllowThreads();
38191 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
38192
38193 wxPyEndAllowThreads(__tstate);
38194 if (PyErr_Occurred()) SWIG_fail;
38195 }
38196 Py_INCREF(Py_None); resultobj = Py_None;
38197 return resultobj;
38198 fail:
38199 return NULL;
38200}
38201
38202
38203static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
38204 PyObject *resultobj;
38205 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38206 wxWindow *arg2 = (wxWindow *) 0 ;
38207 int arg3 = (int) 0 ;
38208 PyObject * obj0 = 0 ;
38209 PyObject * obj1 = 0 ;
994141e6 38210 PyObject * obj2 = 0 ;
d14a1e28
RD
38211 char *kwnames[] = {
38212 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38213 };
38214
994141e6 38215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38218 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 38220 if (obj2) {
15afbcd0
RD
38221 arg3 = (int) SWIG_AsInt(obj2);
38222 if (PyErr_Occurred()) SWIG_fail;
994141e6 38223 }
d14a1e28
RD
38224 {
38225 PyThreadState* __tstate = wxPyBeginAllowThreads();
38226 (arg1)->LeftOf(arg2,arg3);
38227
38228 wxPyEndAllowThreads(__tstate);
38229 if (PyErr_Occurred()) SWIG_fail;
38230 }
38231 Py_INCREF(Py_None); resultobj = Py_None;
38232 return resultobj;
38233 fail:
38234 return NULL;
38235}
38236
38237
38238static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
38239 PyObject *resultobj;
38240 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38241 wxWindow *arg2 = (wxWindow *) 0 ;
38242 int arg3 = (int) 0 ;
38243 PyObject * obj0 = 0 ;
38244 PyObject * obj1 = 0 ;
994141e6 38245 PyObject * obj2 = 0 ;
d14a1e28
RD
38246 char *kwnames[] = {
38247 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38248 };
38249
994141e6 38250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38253 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 38255 if (obj2) {
15afbcd0
RD
38256 arg3 = (int) SWIG_AsInt(obj2);
38257 if (PyErr_Occurred()) SWIG_fail;
994141e6 38258 }
d14a1e28
RD
38259 {
38260 PyThreadState* __tstate = wxPyBeginAllowThreads();
38261 (arg1)->RightOf(arg2,arg3);
38262
38263 wxPyEndAllowThreads(__tstate);
38264 if (PyErr_Occurred()) SWIG_fail;
38265 }
38266 Py_INCREF(Py_None); resultobj = Py_None;
38267 return resultobj;
38268 fail:
38269 return NULL;
38270}
38271
38272
38273static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
38274 PyObject *resultobj;
38275 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38276 wxWindow *arg2 = (wxWindow *) 0 ;
38277 int arg3 = (int) 0 ;
38278 PyObject * obj0 = 0 ;
38279 PyObject * obj1 = 0 ;
994141e6 38280 PyObject * obj2 = 0 ;
d14a1e28
RD
38281 char *kwnames[] = {
38282 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38283 };
38284
994141e6 38285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38288 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38289 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 38290 if (obj2) {
15afbcd0
RD
38291 arg3 = (int) SWIG_AsInt(obj2);
38292 if (PyErr_Occurred()) SWIG_fail;
994141e6 38293 }
d14a1e28
RD
38294 {
38295 PyThreadState* __tstate = wxPyBeginAllowThreads();
38296 (arg1)->Above(arg2,arg3);
38297
38298 wxPyEndAllowThreads(__tstate);
38299 if (PyErr_Occurred()) SWIG_fail;
38300 }
38301 Py_INCREF(Py_None); resultobj = Py_None;
38302 return resultobj;
38303 fail:
38304 return NULL;
38305}
38306
38307
38308static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
38309 PyObject *resultobj;
38310 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38311 wxWindow *arg2 = (wxWindow *) 0 ;
38312 int arg3 = (int) 0 ;
38313 PyObject * obj0 = 0 ;
38314 PyObject * obj1 = 0 ;
994141e6 38315 PyObject * obj2 = 0 ;
d14a1e28
RD
38316 char *kwnames[] = {
38317 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38318 };
38319
994141e6 38320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38323 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
994141e6 38325 if (obj2) {
15afbcd0
RD
38326 arg3 = (int) SWIG_AsInt(obj2);
38327 if (PyErr_Occurred()) SWIG_fail;
994141e6 38328 }
d14a1e28
RD
38329 {
38330 PyThreadState* __tstate = wxPyBeginAllowThreads();
38331 (arg1)->Below(arg2,arg3);
38332
38333 wxPyEndAllowThreads(__tstate);
38334 if (PyErr_Occurred()) SWIG_fail;
38335 }
38336 Py_INCREF(Py_None); resultobj = Py_None;
38337 return resultobj;
38338 fail:
38339 return NULL;
38340}
38341
38342
38343static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
38344 PyObject *resultobj;
38345 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38346 wxWindow *arg2 = (wxWindow *) 0 ;
38347 int arg3 ;
38348 int arg4 = (int) 0 ;
38349 PyObject * obj0 = 0 ;
38350 PyObject * obj1 = 0 ;
994141e6
RD
38351 PyObject * obj2 = 0 ;
38352 PyObject * obj3 = 0 ;
d14a1e28
RD
38353 char *kwnames[] = {
38354 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
38355 };
38356
994141e6 38357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
38358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38360 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38362 arg3 = (wxEdge) SWIG_AsInt(obj2);
38363 if (PyErr_Occurred()) SWIG_fail;
994141e6 38364 if (obj3) {
15afbcd0
RD
38365 arg4 = (int) SWIG_AsInt(obj3);
38366 if (PyErr_Occurred()) SWIG_fail;
994141e6 38367 }
d14a1e28
RD
38368 {
38369 PyThreadState* __tstate = wxPyBeginAllowThreads();
38370 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
38371
38372 wxPyEndAllowThreads(__tstate);
38373 if (PyErr_Occurred()) SWIG_fail;
38374 }
38375 Py_INCREF(Py_None); resultobj = Py_None;
38376 return resultobj;
38377 fail:
38378 return NULL;
38379}
38380
38381
38382static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
38383 PyObject *resultobj;
38384 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38385 wxWindow *arg2 = (wxWindow *) 0 ;
38386 int arg3 ;
38387 int arg4 ;
38388 PyObject * obj0 = 0 ;
38389 PyObject * obj1 = 0 ;
994141e6
RD
38390 PyObject * obj2 = 0 ;
38391 PyObject * obj3 = 0 ;
d14a1e28
RD
38392 char *kwnames[] = {
38393 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
38394 };
38395
994141e6 38396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
38397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38399 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38401 arg3 = (wxEdge) SWIG_AsInt(obj2);
38402 if (PyErr_Occurred()) SWIG_fail;
38403 arg4 = (int) SWIG_AsInt(obj3);
38404 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38405 {
38406 PyThreadState* __tstate = wxPyBeginAllowThreads();
38407 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
38408
38409 wxPyEndAllowThreads(__tstate);
38410 if (PyErr_Occurred()) SWIG_fail;
38411 }
38412 Py_INCREF(Py_None); resultobj = Py_None;
38413 return resultobj;
38414 fail:
38415 return NULL;
38416}
38417
38418
38419static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
38420 PyObject *resultobj;
38421 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38422 int arg2 ;
38423 PyObject * obj0 = 0 ;
994141e6 38424 PyObject * obj1 = 0 ;
d14a1e28
RD
38425 char *kwnames[] = {
38426 (char *) "self",(char *) "val", NULL
38427 };
38428
994141e6 38429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38432 arg2 = (int) SWIG_AsInt(obj1);
38433 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38434 {
38435 PyThreadState* __tstate = wxPyBeginAllowThreads();
38436 (arg1)->Absolute(arg2);
38437
38438 wxPyEndAllowThreads(__tstate);
38439 if (PyErr_Occurred()) SWIG_fail;
38440 }
38441 Py_INCREF(Py_None); resultobj = Py_None;
38442 return resultobj;
38443 fail:
38444 return NULL;
38445}
38446
38447
38448static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
38449 PyObject *resultobj;
38450 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38451 PyObject * obj0 = 0 ;
38452 char *kwnames[] = {
38453 (char *) "self", NULL
38454 };
38455
38456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
15afbcd0
RD
38457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38459 {
38460 PyThreadState* __tstate = wxPyBeginAllowThreads();
38461 (arg1)->Unconstrained();
38462
38463 wxPyEndAllowThreads(__tstate);
38464 if (PyErr_Occurred()) SWIG_fail;
38465 }
38466 Py_INCREF(Py_None); resultobj = Py_None;
38467 return resultobj;
38468 fail:
38469 return NULL;
38470}
38471
38472
38473static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
38474 PyObject *resultobj;
38475 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38476 PyObject * obj0 = 0 ;
38477 char *kwnames[] = {
38478 (char *) "self", NULL
38479 };
38480
38481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
15afbcd0
RD
38482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38484 {
38485 PyThreadState* __tstate = wxPyBeginAllowThreads();
38486 (arg1)->AsIs();
38487
38488 wxPyEndAllowThreads(__tstate);
38489 if (PyErr_Occurred()) SWIG_fail;
38490 }
38491 Py_INCREF(Py_None); resultobj = Py_None;
38492 return resultobj;
38493 fail:
38494 return NULL;
38495}
38496
38497
38498static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
38499 PyObject *resultobj;
38500 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38501 wxWindow *result;
38502 PyObject * obj0 = 0 ;
38503 char *kwnames[] = {
38504 (char *) "self", NULL
38505 };
38506
38507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
15afbcd0
RD
38508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38510 {
38511 PyThreadState* __tstate = wxPyBeginAllowThreads();
38512 result = (wxWindow *)(arg1)->GetOtherWindow();
38513
38514 wxPyEndAllowThreads(__tstate);
38515 if (PyErr_Occurred()) SWIG_fail;
38516 }
38517 {
38518 resultobj = wxPyMake_wxObject(result);
38519 }
38520 return resultobj;
38521 fail:
38522 return NULL;
38523}
38524
38525
38526static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
38527 PyObject *resultobj;
38528 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38529 int result;
38530 PyObject * obj0 = 0 ;
38531 char *kwnames[] = {
38532 (char *) "self", NULL
38533 };
38534
38535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
38536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38538 {
38539 PyThreadState* __tstate = wxPyBeginAllowThreads();
38540 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
38541
38542 wxPyEndAllowThreads(__tstate);
38543 if (PyErr_Occurred()) SWIG_fail;
38544 }
15afbcd0 38545 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38546 return resultobj;
38547 fail:
38548 return NULL;
38549}
38550
38551
38552static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
38553 PyObject *resultobj;
38554 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38555 int arg2 ;
38556 PyObject * obj0 = 0 ;
994141e6 38557 PyObject * obj1 = 0 ;
d14a1e28
RD
38558 char *kwnames[] = {
38559 (char *) "self",(char *) "which", NULL
38560 };
38561
994141e6 38562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38565 arg2 = (wxEdge) SWIG_AsInt(obj1);
38566 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38567 {
38568 PyThreadState* __tstate = wxPyBeginAllowThreads();
38569 (arg1)->SetEdge((wxEdge )arg2);
38570
38571 wxPyEndAllowThreads(__tstate);
38572 if (PyErr_Occurred()) SWIG_fail;
38573 }
38574 Py_INCREF(Py_None); resultobj = Py_None;
38575 return resultobj;
38576 fail:
38577 return NULL;
38578}
38579
38580
38581static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
38582 PyObject *resultobj;
38583 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38584 int arg2 ;
38585 PyObject * obj0 = 0 ;
994141e6 38586 PyObject * obj1 = 0 ;
d14a1e28
RD
38587 char *kwnames[] = {
38588 (char *) "self",(char *) "v", NULL
38589 };
38590
994141e6 38591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38594 arg2 = (int) SWIG_AsInt(obj1);
38595 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38596 {
38597 PyThreadState* __tstate = wxPyBeginAllowThreads();
38598 (arg1)->SetValue(arg2);
38599
38600 wxPyEndAllowThreads(__tstate);
38601 if (PyErr_Occurred()) SWIG_fail;
38602 }
38603 Py_INCREF(Py_None); resultobj = Py_None;
38604 return resultobj;
38605 fail:
38606 return NULL;
38607}
38608
38609
38610static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
38611 PyObject *resultobj;
38612 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38613 int result;
38614 PyObject * obj0 = 0 ;
38615 char *kwnames[] = {
38616 (char *) "self", NULL
38617 };
38618
38619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
15afbcd0
RD
38620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38622 {
38623 PyThreadState* __tstate = wxPyBeginAllowThreads();
38624 result = (int)(arg1)->GetMargin();
38625
38626 wxPyEndAllowThreads(__tstate);
38627 if (PyErr_Occurred()) SWIG_fail;
38628 }
15afbcd0 38629 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38630 return resultobj;
38631 fail:
38632 return NULL;
38633}
38634
38635
38636static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
38637 PyObject *resultobj;
38638 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38639 int arg2 ;
38640 PyObject * obj0 = 0 ;
994141e6 38641 PyObject * obj1 = 0 ;
d14a1e28
RD
38642 char *kwnames[] = {
38643 (char *) "self",(char *) "m", NULL
38644 };
38645
994141e6 38646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38649 arg2 = (int) SWIG_AsInt(obj1);
38650 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38651 {
38652 PyThreadState* __tstate = wxPyBeginAllowThreads();
38653 (arg1)->SetMargin(arg2);
38654
38655 wxPyEndAllowThreads(__tstate);
38656 if (PyErr_Occurred()) SWIG_fail;
38657 }
38658 Py_INCREF(Py_None); resultobj = Py_None;
38659 return resultobj;
38660 fail:
38661 return NULL;
38662}
38663
38664
38665static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
38666 PyObject *resultobj;
38667 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38668 int result;
38669 PyObject * obj0 = 0 ;
38670 char *kwnames[] = {
38671 (char *) "self", NULL
38672 };
38673
38674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
15afbcd0
RD
38675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38677 {
38678 PyThreadState* __tstate = wxPyBeginAllowThreads();
38679 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
38680
38681 wxPyEndAllowThreads(__tstate);
38682 if (PyErr_Occurred()) SWIG_fail;
38683 }
15afbcd0 38684 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38685 return resultobj;
38686 fail:
38687 return NULL;
38688}
38689
38690
38691static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
38692 PyObject *resultobj;
38693 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38694 int result;
38695 PyObject * obj0 = 0 ;
38696 char *kwnames[] = {
38697 (char *) "self", NULL
38698 };
38699
38700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
15afbcd0
RD
38701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38703 {
38704 PyThreadState* __tstate = wxPyBeginAllowThreads();
38705 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
38706
38707 wxPyEndAllowThreads(__tstate);
38708 if (PyErr_Occurred()) SWIG_fail;
38709 }
15afbcd0 38710 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38711 return resultobj;
38712 fail:
38713 return NULL;
38714}
38715
38716
38717static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
38718 PyObject *resultobj;
38719 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38720 int result;
38721 PyObject * obj0 = 0 ;
38722 char *kwnames[] = {
38723 (char *) "self", NULL
38724 };
38725
38726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
15afbcd0
RD
38727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38729 {
38730 PyThreadState* __tstate = wxPyBeginAllowThreads();
38731 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
38732
38733 wxPyEndAllowThreads(__tstate);
38734 if (PyErr_Occurred()) SWIG_fail;
38735 }
15afbcd0 38736 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38737 return resultobj;
38738 fail:
38739 return NULL;
38740}
38741
38742
38743static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
38744 PyObject *resultobj;
38745 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38746 bool result;
38747 PyObject * obj0 = 0 ;
38748 char *kwnames[] = {
38749 (char *) "self", NULL
38750 };
38751
38752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
15afbcd0
RD
38753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38755 {
38756 PyThreadState* __tstate = wxPyBeginAllowThreads();
38757 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
38758
38759 wxPyEndAllowThreads(__tstate);
38760 if (PyErr_Occurred()) SWIG_fail;
38761 }
4f89f6a3
RD
38762 {
38763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38764 }
d14a1e28
RD
38765 return resultobj;
38766 fail:
38767 return NULL;
38768}
38769
38770
38771static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
38772 PyObject *resultobj;
38773 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38774 bool arg2 ;
38775 PyObject * obj0 = 0 ;
38776 PyObject * obj1 = 0 ;
38777 char *kwnames[] = {
38778 (char *) "self",(char *) "d", NULL
38779 };
38780
38781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38782 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38783 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38784 arg2 = (bool) SWIG_AsBool(obj1);
38785 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38786 {
38787 PyThreadState* __tstate = wxPyBeginAllowThreads();
38788 (arg1)->SetDone(arg2);
38789
38790 wxPyEndAllowThreads(__tstate);
38791 if (PyErr_Occurred()) SWIG_fail;
38792 }
38793 Py_INCREF(Py_None); resultobj = Py_None;
38794 return resultobj;
38795 fail:
38796 return NULL;
38797}
38798
38799
38800static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
38801 PyObject *resultobj;
38802 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38803 int result;
38804 PyObject * obj0 = 0 ;
38805 char *kwnames[] = {
38806 (char *) "self", NULL
38807 };
38808
38809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
15afbcd0
RD
38810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38812 {
38813 PyThreadState* __tstate = wxPyBeginAllowThreads();
38814 result = (int)(arg1)->GetRelationship();
38815
38816 wxPyEndAllowThreads(__tstate);
38817 if (PyErr_Occurred()) SWIG_fail;
38818 }
15afbcd0 38819 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38820 return resultobj;
38821 fail:
38822 return NULL;
38823}
38824
38825
38826static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
38827 PyObject *resultobj;
38828 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38829 int arg2 ;
38830 PyObject * obj0 = 0 ;
994141e6 38831 PyObject * obj1 = 0 ;
d14a1e28
RD
38832 char *kwnames[] = {
38833 (char *) "self",(char *) "r", NULL
38834 };
38835
994141e6 38836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38839 arg2 = (wxRelationship) SWIG_AsInt(obj1);
38840 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38841 {
38842 PyThreadState* __tstate = wxPyBeginAllowThreads();
38843 (arg1)->SetRelationship((wxRelationship )arg2);
38844
38845 wxPyEndAllowThreads(__tstate);
38846 if (PyErr_Occurred()) SWIG_fail;
38847 }
38848 Py_INCREF(Py_None); resultobj = Py_None;
38849 return resultobj;
38850 fail:
38851 return NULL;
38852}
38853
38854
38855static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
38856 PyObject *resultobj;
38857 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38858 wxWindow *arg2 = (wxWindow *) 0 ;
38859 bool result;
38860 PyObject * obj0 = 0 ;
38861 PyObject * obj1 = 0 ;
38862 char *kwnames[] = {
38863 (char *) "self",(char *) "otherW", NULL
38864 };
38865
38866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
38867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38869 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38871 {
38872 PyThreadState* __tstate = wxPyBeginAllowThreads();
38873 result = (bool)(arg1)->ResetIfWin(arg2);
38874
38875 wxPyEndAllowThreads(__tstate);
38876 if (PyErr_Occurred()) SWIG_fail;
38877 }
4f89f6a3
RD
38878 {
38879 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38880 }
d14a1e28
RD
38881 return resultobj;
38882 fail:
38883 return NULL;
38884}
38885
38886
38887static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
38888 PyObject *resultobj;
38889 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38890 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
38891 wxWindow *arg3 = (wxWindow *) 0 ;
38892 bool result;
38893 PyObject * obj0 = 0 ;
38894 PyObject * obj1 = 0 ;
38895 PyObject * obj2 = 0 ;
38896 char *kwnames[] = {
38897 (char *) "self",(char *) "constraints",(char *) "win", NULL
38898 };
38899
38900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
15afbcd0
RD
38901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38903 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
38904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38905 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38907 {
38908 PyThreadState* __tstate = wxPyBeginAllowThreads();
38909 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
38910
38911 wxPyEndAllowThreads(__tstate);
38912 if (PyErr_Occurred()) SWIG_fail;
38913 }
4f89f6a3
RD
38914 {
38915 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38916 }
d14a1e28
RD
38917 return resultobj;
38918 fail:
38919 return NULL;
38920}
38921
38922
38923static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
38924 PyObject *resultobj;
38925 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38926 int arg2 ;
38927 wxWindow *arg3 = (wxWindow *) 0 ;
38928 wxWindow *arg4 = (wxWindow *) 0 ;
38929 int result;
38930 PyObject * obj0 = 0 ;
994141e6 38931 PyObject * obj1 = 0 ;
d14a1e28
RD
38932 PyObject * obj2 = 0 ;
38933 PyObject * obj3 = 0 ;
38934 char *kwnames[] = {
38935 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38936 };
38937
994141e6 38938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
15afbcd0
RD
38939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38941 arg2 = (wxEdge) SWIG_AsInt(obj1);
38942 if (PyErr_Occurred()) SWIG_fail;
38943 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38945 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
38946 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38947 {
38948 PyThreadState* __tstate = wxPyBeginAllowThreads();
38949 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
38950
38951 wxPyEndAllowThreads(__tstate);
38952 if (PyErr_Occurred()) SWIG_fail;
38953 }
15afbcd0 38954 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38955 return resultobj;
38956 fail:
38957 return NULL;
38958}
38959
38960
38961static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
38962 PyObject *obj;
38963 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38964 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
38965 Py_INCREF(obj);
38966 return Py_BuildValue((char *)"");
38967}
38968static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
38969 PyObject *resultobj;
38970 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38971 wxIndividualLayoutConstraint *result;
38972 PyObject * obj0 = 0 ;
38973 char *kwnames[] = {
38974 (char *) "self", NULL
38975 };
38976
38977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
38978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
38979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38980 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
38981
15afbcd0 38982 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
38983 return resultobj;
38984 fail:
38985 return NULL;
38986}
38987
38988
38989static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
38990 PyObject *resultobj;
38991 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
38992 wxIndividualLayoutConstraint *result;
38993 PyObject * obj0 = 0 ;
38994 char *kwnames[] = {
38995 (char *) "self", NULL
38996 };
38997
38998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
38999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39001 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
39002
15afbcd0 39003 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39004 return resultobj;
39005 fail:
39006 return NULL;
39007}
39008
39009
39010static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39011 PyObject *resultobj;
39012 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39013 wxIndividualLayoutConstraint *result;
39014 PyObject * obj0 = 0 ;
39015 char *kwnames[] = {
39016 (char *) "self", NULL
39017 };
39018
39019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39022 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
39023
15afbcd0 39024 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39025 return resultobj;
39026 fail:
39027 return NULL;
39028}
39029
39030
39031static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39032 PyObject *resultobj;
39033 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39034 wxIndividualLayoutConstraint *result;
39035 PyObject * obj0 = 0 ;
39036 char *kwnames[] = {
39037 (char *) "self", NULL
39038 };
39039
39040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39043 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
39044
15afbcd0 39045 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39046 return resultobj;
39047 fail:
39048 return NULL;
39049}
39050
39051
39052static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39053 PyObject *resultobj;
39054 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39055 wxIndividualLayoutConstraint *result;
39056 PyObject * obj0 = 0 ;
39057 char *kwnames[] = {
39058 (char *) "self", NULL
39059 };
39060
39061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39062 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39063 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39064 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
39065
15afbcd0 39066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39067 return resultobj;
39068 fail:
39069 return NULL;
39070}
39071
39072
39073static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39074 PyObject *resultobj;
39075 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39076 wxIndividualLayoutConstraint *result;
39077 PyObject * obj0 = 0 ;
39078 char *kwnames[] = {
39079 (char *) "self", NULL
39080 };
39081
39082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39085 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
39086
15afbcd0 39087 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39088 return resultobj;
39089 fail:
39090 return NULL;
39091}
39092
39093
39094static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39095 PyObject *resultobj;
39096 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39097 wxIndividualLayoutConstraint *result;
39098 PyObject * obj0 = 0 ;
39099 char *kwnames[] = {
39100 (char *) "self", NULL
39101 };
39102
39103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39106 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
39107
15afbcd0 39108 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39109 return resultobj;
39110 fail:
39111 return NULL;
39112}
39113
39114
39115static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39116 PyObject *resultobj;
39117 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39118 wxIndividualLayoutConstraint *result;
39119 PyObject * obj0 = 0 ;
39120 char *kwnames[] = {
39121 (char *) "self", NULL
39122 };
39123
39124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
15afbcd0
RD
39125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39127 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
39128
15afbcd0 39129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39130 return resultobj;
39131 fail:
39132 return NULL;
39133}
39134
39135
39136static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
39137 PyObject *resultobj;
39138 wxLayoutConstraints *result;
39139 char *kwnames[] = {
39140 NULL
39141 };
39142
39143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
39144 {
39145 PyThreadState* __tstate = wxPyBeginAllowThreads();
39146 result = (wxLayoutConstraints *)new wxLayoutConstraints();
39147
39148 wxPyEndAllowThreads(__tstate);
39149 if (PyErr_Occurred()) SWIG_fail;
39150 }
15afbcd0 39151 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
39152 return resultobj;
39153 fail:
39154 return NULL;
39155}
39156
39157
39158static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
39159 PyObject *resultobj;
39160 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39161 wxWindow *arg2 = (wxWindow *) 0 ;
39162 int *arg3 = (int *) 0 ;
39163 bool result;
39164 int temp3 ;
39165 PyObject * obj0 = 0 ;
39166 PyObject * obj1 = 0 ;
39167 char *kwnames[] = {
39168 (char *) "self",(char *) "win", NULL
39169 };
39170
39171 arg3 = &temp3;
39172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
15afbcd0
RD
39173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39175 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39177 {
39178 PyThreadState* __tstate = wxPyBeginAllowThreads();
39179 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
39180
39181 wxPyEndAllowThreads(__tstate);
39182 if (PyErr_Occurred()) SWIG_fail;
39183 }
4f89f6a3
RD
39184 {
39185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39186 }
d14a1e28
RD
39187 {
39188 PyObject *o = PyInt_FromLong((long) (*arg3));
39189 resultobj = t_output_helper(resultobj,o);
39190 }
39191 return resultobj;
39192 fail:
39193 return NULL;
39194}
39195
39196
39197static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
39198 PyObject *resultobj;
39199 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39200 bool result;
39201 PyObject * obj0 = 0 ;
39202 char *kwnames[] = {
39203 (char *) "self", NULL
39204 };
39205
39206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
15afbcd0
RD
39207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39209 {
39210 PyThreadState* __tstate = wxPyBeginAllowThreads();
39211 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
39212
39213 wxPyEndAllowThreads(__tstate);
39214 if (PyErr_Occurred()) SWIG_fail;
39215 }
4f89f6a3
RD
39216 {
39217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39218 }
d14a1e28
RD
39219 return resultobj;
39220 fail:
39221 return NULL;
39222}
39223
39224
39225static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
39226 PyObject *obj;
39227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39228 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
39229 Py_INCREF(obj);
39230 return Py_BuildValue((char *)"");
39231}
39232static PyMethodDef SwigMethods[] = {
39233 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
3a04f143 39234 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
d14a1e28
RD
39235 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
39236 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
39237 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
39238 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
39239 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
39240 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
39241 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
39242 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
39243 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
39244 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
39245 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
39246 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
39247 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
39248 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
39249 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
39250 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
39251 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
39252 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
39253 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
39254 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
e811c8ce 39255 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39256 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
39257 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
39258 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
39259 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
39260 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
39261 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
39262 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39263 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
39264 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
39265 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
39266 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 39267 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 39268 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39269 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
39270 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
39271 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
39272 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
39273 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
39274 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
39275 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
39276 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
39277 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
39278 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
39279 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
39280 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
39281 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
39282 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 39283 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39284 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
39285 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
39286 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
39287 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
39288 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
39289 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
39290 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
39291 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
39292 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
39293 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
39294 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
39295 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
39296 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
39297 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
39298 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
39299 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
39300 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
c9c7117a
RD
39301 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
39302 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
39303 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
39304 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39305 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
39306 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
39307 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
39308 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
39309 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
39310 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
39311 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
39312 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
39313 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
39314 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
39315 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
39316 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
39317 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
39318 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
39319 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
39320 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
39321 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
39322 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
39323 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
39324 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
39325 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
39326 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
39327 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
39328 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
39329 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
39330 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
39331 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
39332 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
39333 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 39334 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39335 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
39336 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
39337 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
39338 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
39339 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
39340 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
39341 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
39342 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
39343 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
39344 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
39345 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
39346 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
39347 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
39348 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
39349 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
39350 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
39351 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
39352 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
39353 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
39354 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
39355 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
39356 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39357 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
39358 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
39359 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
39360 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
39361 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
e811c8ce 39362 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39363 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
39364 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
39365 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
39366 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
39367 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
39368 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
39369 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
39370 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
39371 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
39372 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
39373 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
39374 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
39375 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
39376 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
39377 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
39378 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
39379 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
39380 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
39381 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
39382 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
39383 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
39384 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
39385 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
39386 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
39387 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
39388 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
39389 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
39390 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
39391 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
39392 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
39393 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
39394 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
39395 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
39396 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
39397 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
39398 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
39399 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
39400 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
39401 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
39402 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
39403 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
39404 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
39405 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
39406 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
39407 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
39408 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
39409 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
39410 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
39411 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
39412 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
39413 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
39414 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
39415 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
39416 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
39417 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
39418 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
39419 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
39420 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
39421 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
39422 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
39423 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
39424 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
39425 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
39426 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
39427 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
39428 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
39429 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
39430 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
39431 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
39432 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
39433 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
39434 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
39435 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
39436 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
39437 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
39438 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
39439 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
39440 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
39441 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
39442 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
39443 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
39444 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
39445 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
39446 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
39447 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
39448 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
39449 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
39450 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
39451 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
39452 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
39453 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
39454 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
39455 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
39456 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
39457 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
39458 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
39459 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
39460 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
39461 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
39462 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
39463 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
39464 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
39465 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
39466 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
39467 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
39468 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
39469 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
39470 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
39471 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
39472 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
39473 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
39474 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
39475 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
39476 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
39477 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
39478 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
39479 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
39480 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
39481 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
39482 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
39483 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
39484 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
39485 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
39486 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
39487 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
39488 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
39489 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
39490 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
39491 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
39492 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
39493 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
39494 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
39495 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
39496 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
39497 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
39498 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
39499 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
39500 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
39501 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
39502 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
39503 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
39504 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
39505 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
39506 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
39507 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
39508 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
39509 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
39510 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
39511 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
39512 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
39513 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
39514 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
39515 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
39516 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
39517 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
39518 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
39519 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
39520 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
39521 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
39522 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
39523 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
39524 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
39525 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
39526 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
39527 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
39528 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
39529 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
39530 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
39531 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
39532 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
39533 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
39534 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
39535 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
39536 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
39537 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
39538 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
39539 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
39540 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
39541 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
39542 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
39543 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
39544 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
39545 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
39546 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
39547 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
39548 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
39549 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
39550 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
39551 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
39552 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
39553 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
39554 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
39555 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
39556 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
39557 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
39558 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
39559 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
39560 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
39561 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
39562 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
39563 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
39564 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
39565 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
39566 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
39567 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
39568 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
39569 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
39570 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
39571 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
39572 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
39573 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
39574 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
39575 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
39576 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
39577 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
39578 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
39579 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
39580 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
39581 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
39582 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
39583 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
39584 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
39585 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
39586 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
39587 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
39588 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
39589 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
39590 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
39591 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
39592 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
39593 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
39594 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
39595 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
39596 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
39597 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
39598 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
39599 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
39600 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
39601 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39602 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
39603 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
39604 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
39605 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
39606 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
39607 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39608 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
39609 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
39610 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
39611 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
39612 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
39613 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
39614 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
39615 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
39616 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
39617 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
39618 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
39619 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
39620 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
39621 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
39622 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
39623 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
39624 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
39625 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
39626 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
39627 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
39628 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
39629 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
39630 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
39631 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
39632 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
39633 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
39634 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
39635 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
39636 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
39637 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
39638 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
39639 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39640 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
39641 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
39642 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
39643 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
39644 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
39645 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
39646 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
39647 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
39648 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
39649 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
39650 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
39651 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
39652 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
39653 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
39654 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
39655 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
39656 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
39657 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
39658 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
39659 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
39660 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
39661 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
39662 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
39663 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
39664 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
39665 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
39666 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
39667 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
39668 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
39669 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
39670 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
39671 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
39672 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
39673 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
39674 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
39675 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
39676 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
39677 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
39678 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
39679 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
39680 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
39681 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
39682 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
39683 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
39684 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
39685 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
39686 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
39687 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
39688 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
39689 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
39690 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39691 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
39692 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
39693 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
39694 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
39695 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
39696 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
39697 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
39698 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
39699 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
39700 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
39701 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
39702 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
39703 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
39704 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
39705 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
39706 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
39707 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
39708 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
39709 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
39710 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
39711 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
39712 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
39713 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
39714 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
39715 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
39716 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
39717 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
39718 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
39719 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
39720 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
39721 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
39722 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
39723 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
39724 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
39725 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
39726 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39727 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
39728 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
39729 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
39730 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
39731 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
39732 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
39733 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
39734 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
39735 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
39736 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
39737 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
39738 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
39739 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
39740 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
39741 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
39742 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
39743 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
39744 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
39745 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
39746 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
39747 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
39748 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
39749 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
39750 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
39751 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
39752 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
39753 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
39754 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
39755 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
39756 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
39757 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
39758 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
39759 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
39760 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
39761 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
39762 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
39763 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
39764 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
39765 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
39766 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
39767 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
39768 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
39769 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
39770 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
39771 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
39772 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
39773 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
39774 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
39775 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
39776 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39777 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
39778 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
39779 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
39780 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
39781 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
39782 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
39783 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
39784 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
39785 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
39786 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
39787 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
39788 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
39789 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
39790 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
39791 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
39792 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
39793 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
39794 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
39795 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
39796 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
39797 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
39798 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
39799 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
39800 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
39801 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
39802 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
39803 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
39804 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
39805 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
39806 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
39807 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
39808 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
39809 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
39810 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
39811 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
39812 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
39813 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
39814 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
39815 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
39816 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
39817 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
39818 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
39819 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
39820 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
39821 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
39822 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
39823 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
39824 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
39825 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
39826 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
39827 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39828 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
39829 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
39830 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
39831 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
39832 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
39833 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
39834 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
39835 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
39836 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
39837 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
39838 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
39839 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
39840 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
39841 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
39842 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
39843 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
39844 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
39845 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
39846 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
39847 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
39848 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
39849 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
39850 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
39851 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
39852 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
39853 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
39854 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
39855 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
39856 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
39857 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
39858 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
39859 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
39860 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
39861 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
39862 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
39863 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
39864 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
39865 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
39866 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39867 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
39868 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
39869 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
39870 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
39871 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
39872 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
39873 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
39874 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
39875 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28 39876 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
6c3b4aae 39877 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39878 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
39879 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
39880 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
39881 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
39882 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
39883 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
39884 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
39885 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
39886 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
39887 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
39888 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
39889 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
39890 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
39891 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
39892 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
39893 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
39894 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
39895 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
39896 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
39897 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
39898 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
1e0c8722
RD
39899 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
39900 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
39901 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
39902 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
39903 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
39904 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
39905 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
39906 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
39907 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
39908 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
39909 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
39910 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
39911 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
39912 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39913 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
39914 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
39915 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
39916 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
39917 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
39918 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
39919 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
39920 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
39921 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
39922 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
39923 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
39924 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
39925 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
4276dc52
RD
39926 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS },
39927 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39928 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
39929 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
39930 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
39931 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
39932 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
39933 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
39934 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
39935 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
39936 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
39937 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
39938 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
39939 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
39940 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
39941 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
39942 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
39943 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
39944 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
39945 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
39946 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
39947 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
39948 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
39949 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
39950 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
39951 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
39952 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
39953 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
39954 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
39955 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
39956 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
39957 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
39958 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
39959 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
39960 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
39961 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
39962 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
39963 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
39964 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
39965 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
39966 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
39967 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
39968 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
39969 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
39970 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
39971 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
39972 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
39973 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
39974 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
39975 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
39976 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
39977 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
39978 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
39979 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
39980 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39981 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
39982 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
39983 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
39984 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
39985 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
39986 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
39987 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39988 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
39989 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
39990 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
39991 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
39992 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
39993 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
39994 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
39995 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
39996 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
39997 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
39998 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
39999 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
40000 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
40001 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
40002 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
40003 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40004 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40005 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40006 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40007 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
40008 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
40009 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
40010 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
40011 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
40012 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40013 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40014 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
40015 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
40016 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
40017 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
40018 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
40019 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
40020 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
40021 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
40022 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
40023 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
40024 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
40025 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
40026 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
40027 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
40028 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
40029 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
40030 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
40031 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
40032 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
40033 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
40034 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
40035 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
40036 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
40037 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
4276dc52 40038 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40039 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40040 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
40041 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40042 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
40043 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
40044 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
40045 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
40046 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
40047 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
40048 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
40049 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
40050 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
40051 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
40052 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
40053 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
40054 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
40055 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
40056 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
40057 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
40058 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
15afbcd0 40059 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS },
d14a1e28
RD
40060 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
40061 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
40062 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
40063 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
40064 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
40065 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
40066 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
40067 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
40068 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
40069 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
40070 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
40071 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
40072 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
40073 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
40074 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
40075 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
40076 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
40077 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
40078 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
40079 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
40080 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
40081 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
40082 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
40083 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
40084 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
40085 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
40086 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
40087 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40088 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40089 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
40090 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
40091 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
40092 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
40093 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
40094 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
40095 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
40096 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40097 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40098 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
40099 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
40100 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
40101 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
40102 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
40103 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
40104 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
40105 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
40106 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
40107 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
40108 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
40109 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
40110 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
40111 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40112 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
40113 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
40114 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
40115 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
40116 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
40117 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
40118 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
40119 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
40120 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
40121 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
40122 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
40123 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
40124 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
40125 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
40126 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
40127 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
40128 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
40129 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
40130 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
40131 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
40132 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
40133 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
40134 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
40135 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
40136 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
40137 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
40138 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
40139 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
40140 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
40141 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
40142 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
40143 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
40144 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
40145 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
40146 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40147 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
40148 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
40149 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
40150 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
40151 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
40152 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
40153 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
40154 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
40155 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40156 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40157 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
40158 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
40159 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
40160 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
40161 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
40162 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
40163 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
40164 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
40165 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
40166 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
40167 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
40168 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
40169 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
40170 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
40171 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
40172 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
40173 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
40174 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
40175 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
40176 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
40177 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
40178 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
40179 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
40180 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
40181 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
40182 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
40183 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
40184 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
40185 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40186 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
40187 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
40188 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
40189 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
40190 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
40191 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
40192 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
40193 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
40194 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
40195 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
40196 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
40197 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
40198 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
40199 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
40200 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
40201 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
40202 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
40203 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
40204 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
40205 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
40206 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
40207 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
40208 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
40209 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
40210 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
40211 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
40212 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40213 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
40214 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
40215 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
40216 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
40217 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
40218 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
40219 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
40220 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
40221 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
40222 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
40223 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
40224 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
40225 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
40226 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
40227 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
40228 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
40229 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
40230 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
40231 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
40232 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
40233 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
40234 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
40235 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
40236 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
40237 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
40238 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
40239 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
40240 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
40241 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
40242 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
40243 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
40244 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
40245 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
40246 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
40247 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
40248 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
40249 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
40250 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
40251 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
40252 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
40253 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
40254 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
40255 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
40256 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
40257 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
40258 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
40259 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
40260 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
40261 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
40262 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
40263 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
40264 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
40265 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
40266 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
40267 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
40268 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
40269 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
40270 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
40271 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
40272 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
40273 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
40274 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
40275 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
40276 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
40277 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
40278 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
40279 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
40280 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
40281 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
40282 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
40283 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
40284 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
40285 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
40286 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
40287 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
40288 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
40289 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
40290 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
40291 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
40292 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
40293 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
40294 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
40295 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
40296 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
40297 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
40298 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
40299 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
40300 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
40301 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
40302 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
40303 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
40304 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
40305 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
40306 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
40307 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
40308 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
40309 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
40310 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
40311 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
40312 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
40313 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
40314 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40315 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
40316 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
40317 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40318 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40319 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
40320 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
40321 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
40322 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
40323 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
40324 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
40325 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
40326 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
40327 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
40328 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
40329 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
40330 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
40331 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
40332 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
40333 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
40334 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
40335 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
40336 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
40337 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
40338 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
40339 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
40340 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
40341 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
40342 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
40343 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
40344 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
40345 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
40346 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
40347 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
40348 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
40349 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
40350 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
40351 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40352 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
40353 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
40354 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
40355 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
40356 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
40357 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
40358 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
40359 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
40360 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
40361 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40362 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
40363 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
40364 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
40365 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
40366 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
40367 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
40368 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
40369 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
40370 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
40371 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40372 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
40373 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
40374 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
40375 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
40376 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
40377 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
40378 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
40379 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
40380 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
40381 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
40382 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
40383 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
40384 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
40385 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
40386 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
40387 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
40388 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
40389 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
40390 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
40391 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
40392 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
40393 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
40394 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
40395 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
40396 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
e811c8ce 40397 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40398 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
40399 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
40400 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
40401 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
40402 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
40403 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
40404 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
40405 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
40406 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
40407 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
40408 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
40409 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
40410 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
40411 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
40412 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
40413 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
40414 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
40415 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
40416 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
40417 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
40418 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
40419 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
40420 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
40421 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
40422 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
40423 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
40424 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
40425 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
40426 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
40427 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
40428 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
40429 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
40430 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
40431 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
40432 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
40433 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
40434 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
40435 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
40436 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
40437 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
40438 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
40439 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
40440 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
40441 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
40442 { NULL, NULL }
40443};
40444
40445
40446/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40447
40448static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
40449 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
40450}
40451static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
40452 return (void *)((wxSizer *) ((wxBoxSizer *) x));
40453}
40454static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
40455 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
40456}
40457static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
40458 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
40459}
40460static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
40461 return (void *)((wxSizer *) ((wxGridSizer *) x));
40462}
40463static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
40464 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
40465}
40466static void *_p_wxPySizerTo_p_wxSizer(void *x) {
40467 return (void *)((wxSizer *) ((wxPySizer *) x));
40468}
40469static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
40470 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
40471}
40472static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
40473 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
40474}
40475static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
40476 return (void *)((wxEvent *) ((wxMenuEvent *) x));
40477}
40478static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
40479 return (void *)((wxEvent *) ((wxCloseEvent *) x));
40480}
40481static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
40482 return (void *)((wxEvent *) ((wxMouseEvent *) x));
40483}
40484static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
40485 return (void *)((wxEvent *) ((wxEraseEvent *) x));
40486}
40487static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
40488 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
40489}
40490static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
40491 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
40492}
40493static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
40494 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
40495}
40496static void *_p_wxPyEventTo_p_wxEvent(void *x) {
40497 return (void *)((wxEvent *) ((wxPyEvent *) x));
40498}
40499static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
40500 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
40501}
40502static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
40503 return (void *)((wxEvent *) ((wxIdleEvent *) x));
40504}
40505static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
40506 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
40507}
40508static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
40509 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
40510}
40511static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
40512 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
40513}
40514static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
40515 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
40516}
40517static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
40518 return (void *)((wxEvent *) ((wxActivateEvent *) x));
40519}
40520static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
40521 return (void *)((wxEvent *) ((wxSizeEvent *) x));
40522}
40523static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
40524 return (void *)((wxEvent *) ((wxMoveEvent *) x));
40525}
40526static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
40527 return (void *)((wxEvent *) ((wxPaintEvent *) x));
40528}
40529static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
40530 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
40531}
40532static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
40533 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
40534}
40535static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
40536 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
40537}
40538static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
40539 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
40540}
40541static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
40542 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
40543}
40544static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
40545 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
40546}
40547static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
40548 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
40549}
40550static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
40551 return (void *)((wxEvent *) ((wxFocusEvent *) x));
40552}
40553static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
40554 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
40555}
40556static void *_p_wxShowEventTo_p_wxEvent(void *x) {
40557 return (void *)((wxEvent *) ((wxShowEvent *) x));
40558}
40559static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
40560 return (void *)((wxEvent *) ((wxCommandEvent *) x));
40561}
40562static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
40563 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
40564}
40565static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
40566 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40567}
40568static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
40569 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
40570}
40571static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
40572 return (void *)((wxEvent *) ((wxKeyEvent *) x));
40573}
40574static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
40575 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
40576}
40577static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
40578 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
40579}
40580static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
40581 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
40582}
40583static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
40584 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
40585}
40586static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
40587 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
40588}
40589static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
40590 return (void *)((wxControl *) ((wxControlWithItems *) x));
40591}
40592static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
40593 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
40594}
40595static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
40596 return (void *)((wxEvtHandler *) ((wxWindow *) x));
40597}
40598static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
40599 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
40600}
40601static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
40602 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
40603}
40604static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
40605 return (void *)((wxEvtHandler *) ((wxValidator *) x));
40606}
40607static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
40608 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
40609}
40610static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
40611 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
40612}
40613static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
40614 return (void *)((wxEvtHandler *) ((wxMenu *) x));
40615}
40616static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
40617 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
40618}
40619static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
40620 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
40621}
40622static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
40623 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
40624}
40625static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
40626 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
40627}
40628static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
40629 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
40630}
40631static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
40632 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
40633}
40634static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
40635 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
40636}
40637static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
40638 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
40639}
40640static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
40641 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
40642}
40643static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
40644 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
40645}
40646static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
40647 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
40648}
40649static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
40650 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
40651}
40652static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
40653 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
40654}
40655static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
40656 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
40657}
40658static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
40659 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
40660}
40661static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
40662 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
40663}
40664static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
40665 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
40666}
40667static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
40668 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
40669}
40670static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
40671 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
40672}
40673static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
40674 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
40675}
40676static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
40677 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
40678}
40679static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
40680 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
40681}
40682static void *_p_wxMenuEventTo_p_wxObject(void *x) {
40683 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
40684}
40685static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
40686 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
40687}
40688static void *_p_wxEraseEventTo_p_wxObject(void *x) {
40689 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
40690}
40691static void *_p_wxMouseEventTo_p_wxObject(void *x) {
40692 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
40693}
40694static void *_p_wxCloseEventTo_p_wxObject(void *x) {
40695 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
40696}
40697static void *_p_wxValidatorTo_p_wxObject(void *x) {
40698 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
40699}
40700static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
40701 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
40702}
40703static void *_p_wxMenuBarTo_p_wxObject(void *x) {
40704 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
40705}
40706static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
40707 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
40708}
40709static void *_p_wxSizerTo_p_wxObject(void *x) {
40710 return (void *)((wxObject *) ((wxSizer *) x));
40711}
40712static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
40713 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
40714}
40715static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
40716 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
40717}
40718static void *_p_wxMenuTo_p_wxObject(void *x) {
40719 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
40720}
40721static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
40722 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
40723}
40724static void *_p_wxImageTo_p_wxObject(void *x) {
40725 return (void *)((wxObject *) ((wxImage *) x));
40726}
40727static void *_p_wxScrollEventTo_p_wxObject(void *x) {
40728 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
40729}
40730static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
40731 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
40732}
40733static void *_p_wxPyEventTo_p_wxObject(void *x) {
40734 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
40735}
40736static void *_p_wxWindowTo_p_wxObject(void *x) {
40737 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
40738}
40739static void *_p_wxControlTo_p_wxObject(void *x) {
40740 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
40741}
1e0c8722
RD
40742static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
40743 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
40744}
d14a1e28
RD
40745static void *_p_wxGridSizerTo_p_wxObject(void *x) {
40746 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
40747}
40748static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
40749 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
40750}
40751static void *_p_wxPyAppTo_p_wxObject(void *x) {
40752 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
40753}
40754static void *_p_wxEventTo_p_wxObject(void *x) {
40755 return (void *)((wxObject *) ((wxEvent *) x));
40756}
40757static void *_p_wxActivateEventTo_p_wxObject(void *x) {
40758 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
40759}
40760static void *_p_wxMoveEventTo_p_wxObject(void *x) {
40761 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
40762}
40763static void *_p_wxSizeEventTo_p_wxObject(void *x) {
40764 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
40765}
40766static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
40767 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
40768}
40769static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
40770 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
40771}
40772static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
40773 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
40774}
40775static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
40776 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
40777}
40778static void *_p_wxIdleEventTo_p_wxObject(void *x) {
40779 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
40780}
40781static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
40782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
40783}
40784static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
40785 return (void *)((wxObject *) ((wxEvtHandler *) x));
40786}
40787static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
40788 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
40789}
40790static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
40791 return (void *)((wxObject *) ((wxImageHandler *) x));
40792}
40793static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
40794 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
40795}
40796static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
40797 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
40798}
40799static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
40800 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
40801}
40802static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
40803 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
40804}
40805static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
40806 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
40807}
40808static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
40809 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
40810}
40811static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
40812 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
40813}
40814static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
40815 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
40816}
40817static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
40818 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
40819}
40820static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
40821 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
40822}
40823static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
40824 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
40825}
40826static void *_p_wxPaintEventTo_p_wxObject(void *x) {
40827 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
40828}
40829static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
40830 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
40831}
40832static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
40833 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
40834}
40835static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
40836 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
40837}
40838static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
40839 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
40840}
40841static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
40842 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
40843}
40844static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
40845 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
40846}
40847static void *_p_wxFileSystemTo_p_wxObject(void *x) {
40848 return (void *)((wxObject *) ((wxFileSystem *) x));
40849}
40850static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
40851 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
40852}
40853static void *_p_wxFocusEventTo_p_wxObject(void *x) {
40854 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
40855}
40856static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
40857 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
40858}
40859static void *_p_wxSizerItemTo_p_wxObject(void *x) {
40860 return (void *)((wxObject *) ((wxSizerItem *) x));
40861}
40862static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
40863 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
40864}
40865static void *_p_wxShowEventTo_p_wxObject(void *x) {
40866 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
40867}
40868static void *_p_wxFSFileTo_p_wxObject(void *x) {
40869 return (void *)((wxObject *) ((wxFSFile *) x));
40870}
40871static void *_p_wxCommandEventTo_p_wxObject(void *x) {
40872 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
40873}
40874static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
40875 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
40876}
40877static void *_p_wxKeyEventTo_p_wxObject(void *x) {
40878 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
40879}
40880static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
40881 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
40882}
40883static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
40884 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40885}
40886static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
40887 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
40888}
40889static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
40890 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
40891}
40892static void *_p_wxMenuItemTo_p_wxObject(void *x) {
40893 return (void *)((wxObject *) ((wxMenuItem *) x));
40894}
40895static void *_p_wxPySizerTo_p_wxObject(void *x) {
40896 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
40897}
40898static void *_p_wxControlTo_p_wxWindow(void *x) {
40899 return (void *)((wxWindow *) ((wxControl *) x));
40900}
40901static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
40902 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
40903}
40904static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
40905 return (void *)((wxWindow *) ((wxMenuBar *) x));
40906}
40907static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
40908 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
40909}
40910static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
40911 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
40912}
40913static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
40914 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
40915}
40916static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
40917 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
40918}
40919static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
40920 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40921}
40922static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
40923 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
40924}
40925static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
40926 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
40927}
40928static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
40929 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
40930}
40931static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
40932 return (void *)((wxValidator *) ((wxPyValidator *) x));
40933}
15afbcd0
RD
40934static 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}};
40935static 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}};
40936static 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}};
40937static 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}};
40938static 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}};
40939static 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}};
40940static 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}};
40941static 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}};
40942static 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}};
40943static 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}};
40944static 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}};
40945static 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}};
40946static 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}};
40947static 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}};
40948static 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}};
40949static 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}};
40950static 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}};
40951static 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}};
40952static 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}};
40953static 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}};
40954static 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}};
40955static 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}};
40956static 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}};
40957static 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}};
40958static 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}};
40959static 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}};
40960static 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}};
40961static 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}};
40962static 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}};
40963static 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}};
40964static 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}};
40965static 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}};
40966static 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}};
40967static 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}};
40968static 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}};
40969static 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}};
40970static 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}};
40971static 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}};
40972static 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}};
40973static 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}};
40974static 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}};
40975static 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}};
40976static 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}};
40977static 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}};
40978static 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}};
40979static 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}};
40980static 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}};
40981static 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}};
40982static 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}};
40983static 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}};
40984static 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}};
40985static 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}};
40986static 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}};
40987static 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}};
40988static 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}};
40989static 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}};
40990static 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}};
40991static 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}};
40992static 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}};
40993static 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}};
40994static 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}};
40995static 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}};
40996static 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}};
40997static 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}};
40998static 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}};
40999static 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}};
41000static 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}};
41001static 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}};
41002static 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}};
41003static 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}};
41004static 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}};
41005static 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}};
41006static 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}};
41007static 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}};
41008static 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}};
41009static 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}};
41010static 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}};
41011static 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}};
41012static 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}};
41013static 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}};
41014static 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}};
41015static 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}};
41016static 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}};
41017static 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}};
41018static 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}};
41019static 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}};
41020static 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}};
41021static 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}};
41022static 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}};
41023static 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}};
41024static 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}};
41025static 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}};
41026static 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}};
41027static 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}};
41028static 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}};
41029static 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}};
41030static 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}};
41031static 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}};
41032static 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}};
41033static 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}};
41034static 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}};
41035static 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}};
41036static 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}};
41037static 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}};
41038static 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}};
41039static 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}};
41040static 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}};
41041static 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}};
41042static 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}};
41043static 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}};
41044static 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}};
41045static 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}};
41046static 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}};
41047static 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
41048
41049static swig_type_info *swig_types_initial[] = {
41050_swigt__p_wxLayoutConstraints,
41051_swigt__p_wxRealPoint,
41052_swigt__p_wxSizerItem,
41053_swigt__p_wxGBSizerItem,
41054_swigt__p_wxScrollEvent,
41055_swigt__p_wxIndividualLayoutConstraint,
41056_swigt__p_wxSizer,
41057_swigt__p_wxBoxSizer,
41058_swigt__p_wxStaticBoxSizer,
41059_swigt__p_wxGridBagSizer,
41060_swigt__p_wxAcceleratorEntry,
41061_swigt__p_wxUpdateUIEvent,
41062_swigt__p_wxMenu,
41063_swigt__p_wxEvent,
41064_swigt__p_wxGridSizer,
41065_swigt__p_wxFlexGridSizer,
41066_swigt__p_wxInitDialogEvent,
41067_swigt__p_wxItemContainer,
41068_swigt__p_wxNcPaintEvent,
41069_swigt__p_wxPaintEvent,
41070_swigt__p_wxSysColourChangedEvent,
41071_swigt__p_wxMouseCaptureChangedEvent,
41072_swigt__p_wxDisplayChangedEvent,
41073_swigt__p_wxPaletteChangedEvent,
41074_swigt__p_wxControl,
41075_swigt__p_wxFont,
41076_swigt__p_wxMenuBarBase,
41077_swigt__p_wxSetCursorEvent,
41078_swigt__p_wxFSFile,
41079_swigt__p_wxCaret,
41080_swigt__p_wxRegion,
41081_swigt__p_wxPoint2D,
41082_swigt__p_int,
41083_swigt__p_wxSize,
41084_swigt__p_wxDC,
41085_swigt__p_wxPySizer,
41086_swigt__p_wxNotifyEvent,
41087_swigt__p_wxPyEvent,
41088_swigt__p_wxPropagationDisabler,
41089_swigt__p_wxAppTraits,
41090_swigt__p_wxArrayString,
41091_swigt__p_wxShowEvent,
41092_swigt__p_wxToolTip,
4d5c3d91 41093_swigt__p_wxMaximizeEvent,
d14a1e28
RD
41094_swigt__p_wxIconizeEvent,
41095_swigt__p_wxActivateEvent,
41096_swigt__p_wxMoveEvent,
41097_swigt__p_wxSizeEvent,
41098_swigt__p_wxQueryNewPaletteEvent,
41099_swigt__p_wxWindowCreateEvent,
41100_swigt__p_wxIdleEvent,
41101_swigt__p_wxMenuItem,
41102_swigt__p_wxStaticBox,
41103_swigt__p_long,
41104_swigt__p_wxTIFFHandler,
41105_swigt__p_wxXPMHandler,
41106_swigt__p_wxPNMHandler,
41107_swigt__p_wxJPEGHandler,
41108_swigt__p_wxPCXHandler,
41109_swigt__p_wxGIFHandler,
41110_swigt__p_wxPNGHandler,
41111_swigt__p_wxANIHandler,
41112_swigt__p_wxMemoryFSHandler,
41113_swigt__p_wxEvtHandler,
41114_swigt__p_wxCURHandler,
41115_swigt__p_wxICOHandler,
41116_swigt__p_wxBMPHandler,
41117_swigt__p_wxImageHandler,
41118_swigt__p_wxFileSystemHandler,
41119_swigt__p_wxPyFileSystemHandler,
41120_swigt__p_wxInternetFSHandler,
4d5c3d91 41121_swigt__p_wxZipFSHandler,
d14a1e28
RD
41122_swigt__p_wxRect,
41123_swigt__p_wxGBSpan,
41124_swigt__p_wxPropagateOnce,
41125_swigt__p_wxAcceleratorTable,
994141e6 41126_swigt__p_char,
d14a1e28
RD
41127_swigt__p_wxGBPosition,
41128_swigt__p_wxImage,
41129_swigt__p_wxFrame,
41130_swigt__p_wxScrollWinEvent,
41131_swigt__p_wxImageHistogram,
41132_swigt__p_byte,
41133_swigt__p_wxPoint,
41134_swigt__p_wxCursor,
41135_swigt__p_wxObject,
41136_swigt__p_wxPyInputStream,
41137_swigt__p_wxOutputStream,
41138_swigt__p_wxInputStream,
41139_swigt__p_wxDateTime,
41140_swigt__p_wxKeyEvent,
41141_swigt__p_wxNavigationKeyEvent,
41142_swigt__p_wxWindowDestroyEvent,
41143_swigt__p_wxWindow,
41144_swigt__p_wxMenuBar,
d14a1e28
RD
41145_swigt__p_wxFileSystem,
41146_swigt__p_wxBitmap,
41147_swigt__p_wxMenuEvent,
41148_swigt__p_wxContextMenuEvent,
41149_swigt__p_unsigned_char,
41150_swigt__p_wxCloseEvent,
41151_swigt__p_wxEraseEvent,
41152_swigt__p_wxMouseEvent,
41153_swigt__p_wxPyApp,
41154_swigt__p_wxCommandEvent,
41155_swigt__p_wxPyCommandEvent,
7722248d 41156_swigt__p_wxPyDropTarget,
d14a1e28
RD
41157_swigt__p_wxChildFocusEvent,
41158_swigt__p_wxFocusEvent,
41159_swigt__p_wxDropFilesEvent,
41160_swigt__p_wxControlWithItems,
41161_swigt__p_wxColour,
41162_swigt__p_wxValidator,
41163_swigt__p_wxPyValidator,
411640
41165};
41166
41167
41168/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41169
41170static swig_const_info swig_const_table[] = {
d14a1e28
RD
41171{0}};
41172
41173#ifdef __cplusplus
41174}
41175#endif
41176
41177#ifdef __cplusplus
41178extern "C"
41179#endif
41180SWIGEXPORT(void) SWIG_init(void) {
41181 static PyObject *SWIG_globals = 0;
41182 static int typeinit = 0;
41183 PyObject *m, *d;
41184 int i;
41185 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
41186 m = Py_InitModule((char *) SWIG_name, SwigMethods);
41187 d = PyModule_GetDict(m);
41188
41189 if (!typeinit) {
41190 for (i = 0; swig_types_initial[i]; i++) {
41191 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
41192 }
41193 typeinit = 1;
41194 }
41195 SWIG_InstallConstants(d,swig_const_table);
41196
41197
41198#ifndef wxPyUSE_EXPORT
41199 // Make our API structure a CObject so other modules can import it
41200 // from this module.
41201 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
41202 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
41203 Py_XDECREF(cobj);
41204#endif
41205
15afbcd0
RD
41206 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
41207 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
41208 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
41209 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
41210 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
41211 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
41212 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
41213 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
41214 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
41215 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
41216 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
41217 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
41218 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
41219 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
41220 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
41221 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
41222 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
41223 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
41224 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
41225 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
41226 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
41227 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
41228 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
41229 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
41230 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
41231 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
41232 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
41233 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
41234 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
41235 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
41236 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
41237 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
41238 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
41239 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
41240 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
41241 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
41242 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
41243 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
41244 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
41245 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
41246 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
41247 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
41248 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
41249 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
41250 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
41251 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
41252 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
41253 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
41254 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
41255 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
41256 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
41257 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
41258 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
41259 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
41260 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
41261 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
41262 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
41263 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
41264 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
41265 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
41266 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
41267 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
41268 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
41269 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
41270 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
41271 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
41272 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
41273 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
41274 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
41275 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
41276 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
41277 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
41278 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
41279 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
41280 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
41281 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
41282 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
41283 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
41284 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
41285 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
41286 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
41287 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
41288 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
41289 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
41290 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
41291 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
41292 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
41293 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
41294 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
41295 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
41296 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
41297 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
41298 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
41299 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
41300 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
41301 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
41302 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
41303 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
41304 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
41305 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
41306 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
41307 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
41308 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
41309 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
41310 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
41311 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
41312 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
41313 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
41314 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
41315 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
41316 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
41317 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
41318 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
41319 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
41320 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
41321 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
41322 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
41323 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
41324 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
41325 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
41326 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
41327 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
41328 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
41329 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
41330 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
41331 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
41332 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
41333 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
41334 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
41335 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
41336 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
41337 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
41338 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
41339 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
41340 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
41341 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
41342 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
41343 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
41344 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
41345 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
41346 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
41347 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
41348 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
41349 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
41350 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
41351 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
41352 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
41353 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
41354 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
41355 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
41356 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
41357 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
41358 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
41359 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
41360 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
41361 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
41362 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
41363 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
41364 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
41365 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
41366 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
41367 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
41368 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
41369 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
41370 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
41371 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
41372 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
41373 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
41374 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
41375 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
41376 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
41377 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
41378 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
41379 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
41380 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
41381 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
41382 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
41383 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
41384 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
41385 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
41386 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
41387 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
41388 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
41389 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
41390 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
41391 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
41392 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
41393 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
41394 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
41395 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
41396 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
41397 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
41398 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
41399 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
41400 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
41401 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
41402 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
41403 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
41404 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
41405 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
41406 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
41407 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
41408 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
41409 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
41410 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
41411 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
41412 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
41413 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
41414 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
41415 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
41416 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
41417 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
41418 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
41419 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
41420 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
41421 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
41422 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
41423 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
41424 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
41425 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
41426 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
41427 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
41428 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
41429 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
41430 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
41431 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
41432 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
41433 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
41434 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
41435 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
41436 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
41437 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
41438 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
41439 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
41440 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
41441 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
41442 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
41443 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
41444 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
41445 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
41446 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
41447 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
41448 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
41449 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
41450 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
41451 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
41452 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
41453 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
41454 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
41455 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
41456 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
41457 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
41458 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
41459 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
41460 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
41461 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
41462 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
41463 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
41464 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
41465 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
41466 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
41467 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
41468 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
41469 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
41470 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
41471 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
41472 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
41473 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
41474 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
41475 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
41476 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
41477 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
41478 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
41479 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
41480 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
41481 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
41482 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
41483 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
41484 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
41485 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
41486 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
41487 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
41488 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
41489 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
41490 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
41491 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
41492 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
41493 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
41494 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
41495 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
41496 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
41497 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
41498 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
41499 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
41500 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
41501 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
41502 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
41503 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
41504 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
41505 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
41506 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
41507 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
41508 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
41509 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
41510 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
41511 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
41512 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
41513 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
41514 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
41515 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
41516 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
41517 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
41518 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
41519 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
41520 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
41521 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
41522 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
41523 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
41524 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
41525 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
41526 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
41527 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
41528 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
41529 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
41530 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
41531 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
41532 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
41533 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
41534 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
41535 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
41536 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
41537 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
41538 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
41539 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
41540 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
41541 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
41542 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
41543 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
41544 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
41545 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
41546 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
41547 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
41548 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
41549 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
41550 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
41551 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
41552 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
41553 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
41554 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
41555 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
41556 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
41557 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
41558 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
41559 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
41560 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
41561 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
41562 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
41563 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
41564 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
41565 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
41566 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
41567 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
41568 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
41569 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
41570 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
41571 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
41572 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
41573 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
41574 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
41575 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
41576 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
41577 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
41578 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
41579 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
41580 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
41581 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
41582 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
41583 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
41584 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
41585 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
41586 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
41587 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
41588 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
41589 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
41590 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
41591 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
41592 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
41593 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
41594 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
41595 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
41596 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
41597 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
41598 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
41599 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
41600 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
41601 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
41602 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
41603 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
41604 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
41605 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
41606 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
41607 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
41608 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
41609 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
41610 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
41611 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
41612 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
41613 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
41614 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
41615 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
41616 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
41617 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
41618 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
41619 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
41620 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
41621 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
41622 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
41623 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
41624 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
41625 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
41626 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
41627 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
41628 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
41629 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
41630 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
41631 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
41632 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
41633 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
41634 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
41635 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
41636 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
41637 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
41638 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
41639 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
41640 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
41641 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
41642 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
41643 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
41644 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
41645 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
41646 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
41647 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
41648 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
41649 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
41650 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
41651 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
41652 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
41653 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
41654 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
41655 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
41656 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
41657 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
41658 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
41659 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
41660 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
41661 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
41662 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
41663 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
41664 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
41665 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
41666 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
41667 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
41668 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
41669 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
41670 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
41671 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
41672 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
41673 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
41674 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
41675 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
41676 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
41677 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
41678 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
41679 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
41680 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
41681 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
41682 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
41683 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
41684 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
41685 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
41686 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
41687 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
41688 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
41689 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
41690 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
41691 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
41692 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
41693 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
41694 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
41695 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
41696 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
41697 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
41698 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
41699 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
41700 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
41701 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
41702 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
41703 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
41704 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
41705 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
41706 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
41707 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
41708 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
41709 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
41710 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
41711 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
41712 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
41713 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
41714 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
41715 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
41716 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
41717 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
41718 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
41719 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
41720 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
41721 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
41722 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
41723 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
41724 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
41725 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
41726 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
41727 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
41728 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
41729 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
41730 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
41731 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
41732 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
41733 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
41734 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
41735 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
41736 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
41737 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
41738 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
41739 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
41740 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
41741 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
41742 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
41743 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 41744 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
196addbf 41745 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
15afbcd0
RD
41746 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
41747 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
41748 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
41749 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
41750 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
41751 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
41752 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
41753 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
41754 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
41755 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
41756 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
41757 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
41758 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
41759 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
41760 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
41761 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
41762 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
41763 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
41764 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
41765 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
41766 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
41767 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
41768 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
41769 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
41770 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
41771 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
41772 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
41773 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
41774 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
41775 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
41776 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
41777 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
41778 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
41779 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
41780 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
41781 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
41782 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
41783 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
41784 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
41785 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
41786 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
41787 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
41788 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
41789 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
41790 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
41791 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
41792 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
41793 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
41794 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
41795 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
41796 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
d14a1e28
RD
41797 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
41798 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
15afbcd0
RD
41799 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
41800 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
41801 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
d14a1e28
RD
41802
41803 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41804
41805
41806 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41807
41808 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
41809 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
41810 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
41811 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
41812 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
41813 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
15afbcd0
RD
41814 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
41815 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
41816 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
41817 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
41818 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
41819 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
41820 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
41821 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
41822 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
41823 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
41824 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
41825 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
41826 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
41827 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
41828 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
41829 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
41830 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
41831 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
41832 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
41833 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
41834 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
41835 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
41836 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
41837 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
41838 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
41839 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
41840 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
41841 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
41842 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
41843 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
41844 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
41845 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
41846 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
41847 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
41848 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
41849 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
41850 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
41851 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
41852 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
41853 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
41854 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
41855 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
41856 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
41857 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
41858 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
41859 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
41860 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
41861 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
41862 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
41863 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
41864 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
41865 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
41866 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
41867 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
41868 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
41869 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
41870 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
41871 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
41872 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
41873 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
41874 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
41875 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
41876 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
41877 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
41878 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
41879 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
41880 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
41881 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
41882 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
41883 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
41884 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
41885 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
41886 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
41887 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
41888 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
41889 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
41890 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
41891 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
41892 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
41893 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
41894 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
41895 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
41896 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
41897 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
41898 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
41899 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
41900 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
41901 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
41902 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
41903 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
41904 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
41905 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
41906 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
41907 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
41908 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
41909 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
41910 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
41911 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
41912 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
41913 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
41914 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
41915 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
41916 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
41917 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
41918 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
41919 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
41920 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
41921 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
41922 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
41923 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
41924 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
41925 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
41926 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
41927 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
41928 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
41929 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
41930 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
41931 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
41932 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
41933 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
41934 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
41935 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
41936 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
41937 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
41938 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
41939 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
41940 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
15afbcd0
RD
41941 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
41942 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
41943 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
41944 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
41945 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
41946 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
41947 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
41948 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
41949 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
41950 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
41951 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
41952 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
41953 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
41954 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
41955 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
1e0c8722 41956 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
e811c8ce 41957 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
4276dc52
RD
41958 PyDict_SetItemString(d,"WINDOW_VARIANT_DEFAULT", SWIG_FromInt((int)wxWINDOW_VARIANT_DEFAULT));
41959 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
41960 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
41961 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
41962 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
d14a1e28 41963 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
b2dc1044 41964 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
15afbcd0
RD
41965 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
41966 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
41967 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
d14a1e28 41968 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
15afbcd0
RD
41969 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
41970 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
41971 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
41972 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
41973 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
41974 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
41975 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
41976 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
41977 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
41978 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
41979 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
41980 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
41981 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
41982 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
41983 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
41984 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
41985 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
41986 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
41987 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
d14a1e28
RD
41988
41989 // Initialize threading, some globals and such
41990 __wxPyPreStart(d);
41991
41992
41993 // Although these are defined in __version__ they need to be here too so
41994 // that an assert can be done to ensure that the wxPython and the wxWindows
41995 // versions match.
41996 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
41997 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
41998 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
41999
42000}
42001