]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/core_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / core_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
2dbef272 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
0f774bef
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
0f774bef
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
0f774bef 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
0f774bef 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
0f774bef 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
0f774bef 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
0f774bef
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
126/***********************************************************************
127 * pyrun.swg for wxPython
128 *
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 * anyway.
133 *
134 ************************************************************************/
135
d14a1e28
RD
136#include "Python.h"
137
138#ifdef __cplusplus
139extern "C" {
140#endif
141
142#define SWIG_PY_INT 1
143#define SWIG_PY_FLOAT 2
144#define SWIG_PY_STRING 3
145#define SWIG_PY_POINTER 4
146#define SWIG_PY_BINARY 5
147
148/* Flags for pointer conversion */
149
150#define SWIG_POINTER_EXCEPTION 0x1
151#define SWIG_POINTER_DISOWN 0x2
152
153/* Exception handling in wrappers */
154#define SWIG_fail goto fail
155
156/* Constant information structure */
157typedef struct swig_const_info {
158 int type;
159 char *name;
160 long lvalue;
161 double dvalue;
162 void *pvalue;
163 swig_type_info **ptype;
164} swig_const_info;
165
d14a1e28
RD
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
2dbef272 173
d14a1e28
RD
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
181#define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183#define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
185
8edf1c75 186typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 187
0f774bef
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
423f194a 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210#define SWIGTYPE_p_wxRealPoint swig_types[1]
211#define SWIGTYPE_p_wxSizerItem swig_types[2]
212#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213#define SWIGTYPE_p_wxScrollEvent swig_types[4]
214#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215#define SWIGTYPE_p_wxSizer swig_types[6]
216#define SWIGTYPE_p_wxBoxSizer swig_types[7]
217#define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218#define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219#define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220#define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221#define SWIGTYPE_p_wxMenu swig_types[12]
222#define SWIGTYPE_p_wxEvent swig_types[13]
223#define SWIGTYPE_p_wxGridSizer swig_types[14]
224#define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225#define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226#define SWIGTYPE_p_wxItemContainer swig_types[17]
227#define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228#define SWIGTYPE_p_wxPaintEvent swig_types[19]
229#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233#define SWIGTYPE_p_wxControl swig_types[24]
234#define SWIGTYPE_p_wxFont swig_types[25]
235#define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236#define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237#define SWIGTYPE_p_wxFSFile swig_types[28]
238#define SWIGTYPE_p_wxCaret swig_types[29]
239#define SWIGTYPE_p_wxRegion swig_types[30]
240#define SWIGTYPE_p_wxPoint2D swig_types[31]
241#define SWIGTYPE_p_int swig_types[32]
242#define SWIGTYPE_p_wxSize swig_types[33]
243#define SWIGTYPE_p_wxDC swig_types[34]
244#define SWIGTYPE_p_wxPySizer swig_types[35]
377d47bd
RD
245#define SWIGTYPE_p_wxVisualAttributes swig_types[36]
246#define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247#define SWIGTYPE_p_wxPyEvent swig_types[38]
248#define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249#define SWIGTYPE_p_wxAppTraits swig_types[40]
250#define SWIGTYPE_p_wxArrayString swig_types[41]
251#define SWIGTYPE_p_wxShowEvent swig_types[42]
252#define SWIGTYPE_p_wxToolTip swig_types[43]
253#define SWIGTYPE_p_wxMaximizeEvent swig_types[44]
254#define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255#define SWIGTYPE_p_wxActivateEvent swig_types[46]
256#define SWIGTYPE_p_wxMoveEvent swig_types[47]
257#define SWIGTYPE_p_wxSizeEvent swig_types[48]
258#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259#define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260#define SWIGTYPE_p_wxIdleEvent swig_types[51]
261#define SWIGTYPE_p_wxMenuItem swig_types[52]
262#define SWIGTYPE_p_wxStaticBox swig_types[53]
263#define SWIGTYPE_p_long swig_types[54]
264#define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265#define SWIGTYPE_p_wxXPMHandler swig_types[56]
266#define SWIGTYPE_p_wxPNMHandler swig_types[57]
267#define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268#define SWIGTYPE_p_wxPCXHandler swig_types[59]
269#define SWIGTYPE_p_wxGIFHandler swig_types[60]
270#define SWIGTYPE_p_wxPNGHandler swig_types[61]
271#define SWIGTYPE_p_wxANIHandler swig_types[62]
272#define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273#define SWIGTYPE_p_wxEvtHandler swig_types[64]
274#define SWIGTYPE_p_wxCURHandler swig_types[65]
275#define SWIGTYPE_p_wxICOHandler swig_types[66]
276#define SWIGTYPE_p_wxBMPHandler swig_types[67]
277#define SWIGTYPE_p_wxImageHandler swig_types[68]
278#define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280#define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281#define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282#define SWIGTYPE_p_wxRect swig_types[73]
283#define SWIGTYPE_p_wxGBSpan swig_types[74]
284#define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285#define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286#define SWIGTYPE_p_char swig_types[77]
287#define SWIGTYPE_p_wxGBPosition swig_types[78]
288#define SWIGTYPE_p_wxImage swig_types[79]
289#define SWIGTYPE_p_wxFrame swig_types[80]
290#define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291#define SWIGTYPE_p_wxImageHistogram swig_types[82]
292#define SWIGTYPE_p_byte swig_types[83]
293#define SWIGTYPE_p_wxPoint swig_types[84]
294#define SWIGTYPE_p_wxCursor swig_types[85]
295#define SWIGTYPE_p_wxObject swig_types[86]
296#define SWIGTYPE_p_wxPyInputStream swig_types[87]
297#define SWIGTYPE_p_wxOutputStream swig_types[88]
298#define SWIGTYPE_p_wxInputStream swig_types[89]
299#define SWIGTYPE_p_wxDateTime swig_types[90]
300#define SWIGTYPE_p_wxKeyEvent swig_types[91]
301#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303#define SWIGTYPE_p_wxWindow swig_types[94]
304#define SWIGTYPE_p_wxMenuBar swig_types[95]
305#define SWIGTYPE_p_wxFileSystem swig_types[96]
306#define SWIGTYPE_p_wxBitmap swig_types[97]
307#define SWIGTYPE_p_wxMenuEvent swig_types[98]
308#define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309#define SWIGTYPE_p_unsigned_char swig_types[100]
310#define SWIGTYPE_p_wxCloseEvent swig_types[101]
311#define SWIGTYPE_p_wxEraseEvent swig_types[102]
312#define SWIGTYPE_p_wxMouseEvent swig_types[103]
313#define SWIGTYPE_p_wxPyApp swig_types[104]
314#define SWIGTYPE_p_wxCommandEvent swig_types[105]
315#define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316#define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317#define SWIGTYPE_p_wxChildFocusEvent swig_types[108]
318#define SWIGTYPE_p_wxFocusEvent swig_types[109]
319#define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320#define SWIGTYPE_p_wxControlWithItems swig_types[111]
321#define SWIGTYPE_p_wxColour swig_types[112]
322#define SWIGTYPE_p_wxValidator swig_types[113]
323#define SWIGTYPE_p_wxPyValidator swig_types[114]
324static swig_type_info *swig_types[116];
d14a1e28
RD
325
326/* -------- TYPES TABLE (END) -------- */
327
328
329/*-----------------------------------------------
330 @(target):= _core.so
331 ------------------------------------------------*/
332#define SWIG_init init_core
333
334#define SWIG_name "_core"
335
2f4c0a16 336/* Auxiliar swig macros */
8edf1c75 337
8edf1c75 338#ifdef __cplusplus
2f4c0a16 339#define SWIGSTATICINLINE(a) static inline a
8edf1c75 340#define SWIGSTATIC(a) static a
2f4c0a16
RD
341#define swig_new_array(type, size) (new type[(size)])
342#define swig_delete_array(cptr) delete[] cptr
343#define swig_const_cast(type,a) const_cast<type>(a)
344#define swig_static_cast(type,a) static_cast<type>(a)
345#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
8edf1c75 346
8edf1c75 347#ifdef HAVE_NUMERIC_CAST
2f4c0a16 348#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 349#else
2f4c0a16 350#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
351#endif
352
2f4c0a16
RD
353#else /* C case */
354
355#define SWIGSTATICINLINE(a) static a
356#define SWIGSTATIC(a) static a
357#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358#define swig_delete_array(cptr) free((char*)cptr)
359#define swig_const_cast(type,a) (type)(a)
360#define swig_static_cast(type,a) (type)(a)
361#define swig_reinterpret_cast(type,a) (type)(a)
362#define swig_numeric_cast(type,a) (type)(a)
363
364#endif /* __cplusplus */
8edf1c75
RD
365
366
2f4c0a16
RD
367#define SWIG_FromSignedChar PyInt_FromLong
368#define SWIG_FromUnsignedChar PyInt_FromLong
369#define SWIG_FromShort PyInt_FromLong
370#define SWIG_FromUnsignedShort PyInt_FromLong
371#define SWIG_FromInt PyInt_FromLong
372#define SWIG_FromLong PyInt_FromLong
373#define SWIG_FromFloat PyFloat_FromDouble
374#define SWIG_FromDouble PyFloat_FromDouble
375#define SWIG_FromFloat PyFloat_FromDouble
376#define SWIG_FromDouble PyFloat_FromDouble
8edf1c75
RD
377
378
d14a1e28
RD
379#include "wx/wxPython/wxPython_int.h"
380#include "wx/wxPython/pyclasses.h"
381
382
383#ifndef wxPyUSE_EXPORT
384// Helper functions for dealing with SWIG objects and such. These are
385// located here so they know about the SWIG types and functions declared
386// in the wrapper code.
387
388#include <wx/hashmap.h>
389WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
390
391
392// Maintains a hashmap of className to swig_type_info pointers. Given the
393// name of a class either looks up the type info in the cache, or scans the
394// SWIG tables for it.
395extern PyObject* wxPyPtrTypeMap;
396static
397swig_type_info* wxPyFindSwigType(const wxChar* className) {
398
399 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
400
401 if (typeInfoCache == NULL)
402 typeInfoCache = new wxPyTypeInfoHashMap;
403
404 wxString name(className);
405 swig_type_info* swigType = (*typeInfoCache)[name];
406
407 if (! swigType) {
408 // it wasn't in the cache, so look it up from SWIG
409 name.Append(wxT(" *"));
410 swigType = SWIG_Python_TypeQuery(name.mb_str());
411
412 // if it still wasn't found, try looking for a mapped name
413 if (!swigType) {
414 PyObject* item;
415 name = className;
416
417 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
418 (char*)(const char*)name.mbc_str())) != NULL) {
419 name = wxString(PyString_AsString(item), *wxConvCurrent);
420 name.Append(wxT(" *"));
421 swigType = SWIG_Python_TypeQuery(name.mb_str());
422 }
423 }
424 if (swigType) {
425 // and add it to the map if found
426 (*typeInfoCache)[className] = swigType;
427 }
428 }
429 return swigType;
430}
431
432
433// Check if a class name is a type known to SWIG
434bool wxPyCheckSwigType(const wxChar* className) {
435
436 swig_type_info* swigType = wxPyFindSwigType(className);
437 return swigType != NULL;
438}
439
440
441// Given a pointer to a C++ object and a class name, construct a Python proxy
442// object for it.
443PyObject* wxPyConstructObject(void* ptr,
444 const wxChar* className,
445 int setThisOwn) {
446
447 swig_type_info* swigType = wxPyFindSwigType(className);
448 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
449
450 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
451}
452
453
454// Extract a pointer to the wrapped C++ object from a Python proxy object.
455// Ensures that the proxy object is of the specified (or derived) type. If
456// not able to perform the conversion then a Python exception is set and the
423f194a 457// error should be handled properly in the caller. Returns True on success.
d14a1e28
RD
458bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
459 const wxChar* className) {
460
461 swig_type_info* swigType = wxPyFindSwigType(className);
423f194a 462 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
d14a1e28
RD
463
464 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
465}
466
467
468// Make a SWIGified pointer object suitable for a .this attribute
469PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
470
471 PyObject* robj = NULL;
472
473 swig_type_info* swigType = wxPyFindSwigType(className);
474 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
475
476#ifdef SWIG_COBJECT_TYPES
477 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
478#else
479 {
480 char result[1024];
481 char *r = result;
482 *(r++) = '_';
483 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
484 strcpy(r, swigType->name);
485 robj = PyString_FromString(result);
486 }
487#endif
488
489 return robj;
490}
491
492
493
494
495// Export a C API in a struct. Other modules will be able to load this from
496// the wx.core module and will then have safe access to these functions, even if
497// they are located in another shared library.
498static wxPyCoreAPI API = {
499
500 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
501 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
502 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
503 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
504 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
505 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
506 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
507 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
508 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
509 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
510 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
511 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
512 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
513 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
514 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
515 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
516 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
517
518 wxPyCheckSwigType,
519 wxPyConstructObject,
520 wxPyConvertSwigPtr,
521 wxPyMakeSwigPtr,
522
523 wxPyBeginAllowThreads,
524 wxPyEndAllowThreads,
525 wxPyBeginBlockThreads,
526 wxPyEndBlockThreads,
527
528 wxPy_ConvertList,
529
530 wxString_in_helper,
531 Py2wxString,
532 wx2PyString,
533
534 byte_LIST_helper,
535 int_LIST_helper,
536 long_LIST_helper,
537 string_LIST_helper,
538 wxPoint_LIST_helper,
539 wxBitmap_LIST_helper,
540 wxString_LIST_helper,
541 wxAcceleratorEntry_LIST_helper,
542
543 wxSize_helper,
544 wxPoint_helper,
545 wxRealPoint_helper,
546 wxRect_helper,
547 wxColour_helper,
548 wxPoint2D_helper,
549
550 wxPySimple_typecheck,
551 wxColour_typecheck,
552
553 wxPyCBH_setCallbackInfo,
554 wxPyCBH_findCallback,
555 wxPyCBH_callCallback,
556 wxPyCBH_callCallbackObj,
557 wxPyCBH_delete,
558
559 wxPyMake_wxObject,
560 wxPyMake_wxSizer,
561 wxPyPtrTypeMap_Add,
562 wxPy2int_seq_helper,
563 wxPy4int_seq_helper,
564 wxArrayString2PyList_helper,
565 wxArrayInt2PyList_helper,
566
567 wxPyClientData_dtor,
568 wxPyUserData_dtor,
569 wxPyOORClientData_dtor,
570
571 wxPyCBInputStream_create,
572
573 wxPyInstance_Check,
574 wxPySwigInstance_Check
575
576};
577
578#endif
579
580
d14a1e28
RD
581#if ! wxUSE_HOTKEY
582enum wxHotkeyModifier
583{
584 wxMOD_NONE = 0,
585 wxMOD_ALT = 1,
586 wxMOD_CONTROL = 2,
587 wxMOD_SHIFT = 4,
588 wxMOD_WIN = 8
589};
590#define wxEVT_HOTKEY 9999
591#endif
592
cbd72d4f 593 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
594wxString wxObject_GetClassName(wxObject *self){
595 return self->GetClassInfo()->GetClassName();
596 }
597void wxObject_Destroy(wxObject *self){
598 delete self;
599 }
600
601#ifndef __WXMAC__
602#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
603#endif
604
8edf1c75 605
2f4c0a16
RD
606#include <limits.h>
607
608
609SWIGSTATICINLINE(long)
610SWIG_CheckLongInRange(long value, const char* type,
611 long min_value, long max_value)
612{
613 if (!PyErr_Occurred()) {
614 if (value < min_value) {
615 PyObject *err =
616 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
617 value, type, min_value);
618
619 PyErr_SetObject(PyExc_OverflowError, err);
620 Py_DECREF(err);
621 } else if (value > max_value) {
622 PyObject *err =
623 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
624 value, type, max_value);
625 PyErr_SetObject(PyExc_OverflowError, err);
626 Py_DECREF(err);
627 }
628 }
629 return value;
630}
631
632
633SWIGSTATICINLINE(long)
634SWIG_AsLong(PyObject * obj)
635{
69223c70
RD
636 if (PyNumber_Check(obj))
637 return PyInt_AsLong(obj);
638 else {
639 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
640 obj->ob_type->tp_name);
641 PyErr_SetObject(PyExc_TypeError, errmsg);
642 Py_DECREF(errmsg);
643 return 0;
644 }
2f4c0a16
RD
645}
646
647
648#if INT_MAX != LONG_MAX
649SWIGSTATICINLINE(int)
650SWIG_AsInt(PyObject *obj)
8edf1c75 651{
2f4c0a16
RD
652 return swig_numeric_cast(int,
653 SWIG_CheckLongInRange(SWIG_AsLong(obj),
654 "int", INT_MIN, INT_MAX));
655}
656#else
657#define SWIG_AsInt SWIG_AsLong
658#endif
659
660
661SWIGSTATICINLINE(int)
662SWIG_CheckInt(PyObject* obj)
663{
664 SWIG_AsInt(obj);
665 if (PyErr_Occurred()) {
666 PyErr_Clear();
667 return 0;
668 } else {
669 return 1;
670 }
8edf1c75
RD
671}
672
423f194a 673PyObject *wxSize_Get(wxSize *self){
fbc46b20 674 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
675 PyObject* tup = PyTuple_New(2);
676 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
677 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
fbc46b20 678 wxPyEndBlockThreads(blocked);
d14a1e28
RD
679 return tup;
680 }
8edf1c75 681
2f4c0a16
RD
682SWIGSTATICINLINE(double)
683SWIG_AsDouble(PyObject *obj)
8edf1c75 684{
69223c70
RD
685 if (PyNumber_Check(obj))
686 return PyFloat_AsDouble(obj);
687 else {
688 PyObject* errmsg = PyString_FromFormat("Expected number, got %s",
689 obj->ob_type->tp_name);
690 PyErr_SetObject(PyExc_TypeError, errmsg);
691 Py_DECREF(errmsg);
692 return 0;
693 }
2f4c0a16
RD
694}
695
696
697SWIGSTATICINLINE(int)
698SWIG_CheckDouble(PyObject* obj)
699{
700 SWIG_AsDouble(obj);
701 if (PyErr_Occurred()) {
702 PyErr_Clear();
703 return 0;
704 } else {
705 return 1;
706 }
8edf1c75
RD
707}
708
d14a1e28
RD
709void wxRealPoint_Set(wxRealPoint *self,double x,double y){
710 self->x = x;
711 self->y = y;
712 }
423f194a 713PyObject *wxRealPoint_Get(wxRealPoint *self){
fbc46b20 714 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
715 PyObject* tup = PyTuple_New(2);
716 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
717 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
fbc46b20 718 wxPyEndBlockThreads(blocked);
d14a1e28
RD
719 return tup;
720 }
8edf1c75 721
2f4c0a16
RD
722SWIGSTATICINLINE(int)
723SWIG_CheckLong(PyObject* obj)
8edf1c75 724{
2f4c0a16
RD
725 SWIG_AsLong(obj);
726 if (PyErr_Occurred()) {
727 PyErr_Clear();
728 return 0;
729 } else {
730 return 1;
731 }
8edf1c75
RD
732}
733
d14a1e28
RD
734void wxPoint_Set(wxPoint *self,long x,long y){
735 self->x = x;
736 self->y = y;
737 }
423f194a 738PyObject *wxPoint_Get(wxPoint *self){
fbc46b20 739 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
740 PyObject* tup = PyTuple_New(2);
741 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
742 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
fbc46b20 743 wxPyEndBlockThreads(blocked);
d14a1e28
RD
744 return tup;
745 }
746void wxRect_Set(wxRect *self,int x,int y,int width,int height){
747 self->x = x;
748 self->y = y;
749 self->width = width;
750 self->height = height;
751 }
423f194a 752PyObject *wxRect_Get(wxRect *self){
fbc46b20 753 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
754 PyObject* tup = PyTuple_New(4);
755 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
756 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
757 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
758 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
fbc46b20 759 wxPyEndBlockThreads(blocked);
d14a1e28
RD
760 return tup;
761 }
762
763 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
764 wxRegion reg1(*r1);
765 wxRegion reg2(*r2);
766 wxRect dest(0,0,0,0);
767 PyObject* obj;
768
769 reg1.Intersect(reg2);
770 dest = reg1.GetBox();
771
772 if (dest != wxRect(0,0,0,0)) {
fbc46b20 773 bool blocked = wxPyBeginBlockThreads();
d14a1e28 774 wxRect* newRect = new wxRect(dest);
423f194a 775 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
fbc46b20 776 wxPyEndBlockThreads(blocked);
d14a1e28
RD
777 return obj;
778 }
779 Py_INCREF(Py_None);
780 return Py_None;
781 }
782
783
784static PyObject* t_output_helper(PyObject* target, PyObject* o) {
785 PyObject* o2;
786 PyObject* o3;
787
788 if (!target) {
789 target = o;
790 } else if (target == Py_None) {
791 Py_DECREF(Py_None);
792 target = o;
793 } else {
794 if (!PyTuple_Check(target)) {
795 o2 = target;
796 target = PyTuple_New(1);
797 PyTuple_SetItem(target, 0, o2);
798 }
799 o3 = PyTuple_New(1);
800 PyTuple_SetItem(o3, 0, o);
801
802 o2 = target;
803 target = PySequence_Concat(o2, o3);
804 Py_DECREF(o2);
805 Py_DECREF(o3);
806 }
807 return target;
808}
809
810void wxPoint2D_Set(wxPoint2D *self,double x,double y){
811 self->m_x = x;
812 self->m_y = y;
813 }
423f194a 814PyObject *wxPoint2D_Get(wxPoint2D *self){
fbc46b20 815 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
816 PyObject* tup = PyTuple_New(2);
817 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
818 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
fbc46b20 819 wxPyEndBlockThreads(blocked);
d14a1e28
RD
820 return tup;
821 }
822
823#include "wx/wxPython/pyistream.h"
824
825wxPyInputStream *new_wxPyInputStream(PyObject *p){
826 wxInputStream* wxis = wxPyCBInputStream::create(p);
827 if (wxis)
828 return new wxPyInputStream(wxis);
829 else
830 return NULL;
831 }
8edf1c75 832
2f4c0a16
RD
833SWIGSTATICINLINE(PyObject*)
834SWIG_FromChar(char c)
8edf1c75
RD
835{
836 return PyString_FromStringAndSize(&c,1);
837}
838
839
2f4c0a16
RD
840SWIGSTATICINLINE(PyObject* )
841SWIG_FromUnsignedLong(unsigned long value)
842{
843 return (value > LONG_MAX) ?
844 PyLong_FromUnsignedLong(value)
845 : PyInt_FromLong(swig_numeric_cast(long,value));
846}
847
848
849/* returns '1' if the input is a raw char*, '0' if is a PyString */
850SWIGSTATIC(int)
851SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
8edf1c75 852{
2f4c0a16
RD
853 static swig_type_info* pchar_info = 0;
854 int psize = 0;
855 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
856
857 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
858 PyErr_Clear();
859 PyString_AsStringAndSize(obj, cptr, &psize);
860 if (PyErr_Occurred()) {
861 PyErr_Clear();
862 PyErr_SetString(PyExc_TypeError,"a string is expected");
863 }
864 if (size) *size = psize;
865 return 0;
866 } else {
867 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
868 return 1;
869 }
8edf1c75
RD
870}
871
872
2f4c0a16
RD
873SWIGSTATIC(void)
874SWIG_AsCharArray(PyObject *obj, char* carray, size_t size)
875{
876 char* cptr; size_t csize;
877 SWIG_AsCharPtrAndSize(obj, &cptr, &csize);
878 if (PyErr_Occurred()) {
879 PyErr_Clear();
880 PyObject *err =
881 PyString_FromFormat("a char array of size %d is expected", size);
882 PyErr_SetObject(PyExc_TypeError, err);
883 Py_DECREF(err);
884 } else {
885 /* in C (but not in C++) you can do:
886
887 char x[5] = "hello";
888
889 ie, assing the array using an extra '0' char.
890 */
891#ifndef __cplusplus
892 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
893#endif
894 if (csize > size) {
895 PyObject *err =
896 PyString_FromFormat("a char array of maximum size %d is expected",
897 size);
898 PyErr_SetObject(PyExc_TypeError, err);
899 Py_DECREF(err);
900 } else {
901 if (csize) memcpy(carray, cptr, csize);
902 if (csize < size) memset(carray + csize, 0, size - csize);
903 }
904 }
905}
906
907
908SWIGSTATICINLINE(char)
909SWIG_AsChar(PyObject *obj)
8edf1c75
RD
910{
911 char c = 0;
912 if (PyInt_Check(obj) || PyLong_Check(obj)) {
2f4c0a16
RD
913 c = swig_numeric_cast(char,
914 SWIG_CheckLongInRange(SWIG_AsLong(obj),
915 "char", CHAR_MIN, CHAR_MAX));
8edf1c75 916 } else {
2f4c0a16
RD
917 SWIG_AsCharArray(obj, &c, 1);
918 if (PyErr_Occurred()) {
919 PyErr_Clear();
8edf1c75
RD
920 PyErr_SetString(PyExc_TypeError, "a char is expected");
921 }
922 }
923 return c;
924}
925
2f4c0a16
RD
926
927SWIGSTATICINLINE(int)
928SWIG_CheckChar(PyObject* obj)
929{
930 SWIG_AsChar(obj);
931 if (PyErr_Occurred()) {
932 PyErr_Clear();
933 return 0;
934 } else {
935 return 1;
936 }
937}
938
d14a1e28
RD
939void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
940 // We use only strings for the streams, not unicode
941 PyObject* str = PyObject_Str(obj);
942 if (! str) {
943 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
944 return;
945 }
946 self->Write(PyString_AS_STRING(str),
947 PyString_GET_SIZE(str));
948 Py_DECREF(str);
949 }
950
951#include "wx/wxPython/pyistream.h"
952
953
954class wxPyFileSystemHandler : public wxFileSystemHandler
955{
956public:
957 wxPyFileSystemHandler() : wxFileSystemHandler() {}
958
959 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
960 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
961 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
962 DEC_PYCALLBACK_STRING__pure(FindNext);
963
964 wxString GetProtocol(const wxString& location) {
965 return wxFileSystemHandler::GetProtocol(location);
966 }
967
968 wxString GetLeftLocation(const wxString& location) {
969 return wxFileSystemHandler::GetLeftLocation(location);
970 }
971
972 wxString GetAnchor(const wxString& location) {
973 return wxFileSystemHandler::GetAnchor(location);
974 }
975
976 wxString GetRightLocation(const wxString& location) {
977 return wxFileSystemHandler::GetRightLocation(location);
978 }
979
980 wxString GetMimeTypeFromExt(const wxString& location) {
981 return wxFileSystemHandler::GetMimeTypeFromExt(location);
982 }
983
984 PYPRIVATE;
985};
986
987
988IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
989IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
990IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
991IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
992
993
2f4c0a16
RD
994SWIGSTATICINLINE(bool)
995SWIG_AsBool(PyObject *obj)
8edf1c75
RD
996{
997 return PyObject_IsTrue(obj) ? true : false;
998}
999
1000
2f4c0a16
RD
1001SWIGSTATICINLINE(int)
1002SWIG_CheckBool(PyObject* obj)
1003{
1004 SWIG_AsBool(obj);
1005 if (PyErr_Occurred()) {
1006 PyErr_Clear();
1007 return 0;
1008 } else {
1009 return 1;
1010 }
1011}
1012
1013
d14a1e28
RD
1014 wxString wxFileSystem_URLToFileName(const wxString& url) {
1015 wxFileName fname = wxFileSystem::URLToFileName(url);
1016 return fname.GetFullPath();
1017 }
1018
1019
1020 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1021 wxImage& image,
1022 long type) {
1023 wxMemoryFSHandler::AddFile(filename, image, type);
1024 }
1025
1026 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1027 const wxBitmap& bitmap,
1028 long type) {
1029 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1030 }
1031
1032 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1033 PyObject* data) {
1034 wxMemoryFSHandler::AddFile(filename,
1035 // TODO: Verify data type
1036 (void*)PyString_AsString(data),
1037 (size_t)PyString_Size(data));
1038 }
1039
1040
1041#include "wx/wxPython/pyistream.h"
1042
8edf1c75 1043
2f4c0a16
RD
1044SWIGSTATICINLINE(unsigned long)
1045SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
1046 unsigned long max_value)
1047{
1048 if (!PyErr_Occurred()) {
1049 if (value > max_value) {
1050 PyObject *err =
1051 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1052 value, type, max_value);
1053 PyErr_SetObject(PyExc_OverflowError, err);
1054 Py_DECREF(err);
1055 }
1056 }
1057 return value;
1058}
1059
1060
1061SWIGSTATICINLINE(unsigned long)
1062SWIG_AsUnsignedLong(PyObject * obj)
1063{
1064 if (PyLong_Check(obj)) {
1065 return PyLong_AsUnsignedLong(obj);
1066 } else {
69223c70 1067 long i = SWIG_AsLong(obj);
2f4c0a16 1068 if ( !PyErr_Occurred() && (i < 0)) {
69223c70 1069 PyErr_SetString(PyExc_TypeError, "negative value received for unsigned type");
2f4c0a16
RD
1070 }
1071 return i;
1072 }
1073}
1074
1075
1076SWIGSTATICINLINE(unsigned char)
1077SWIG_AsUnsignedChar(PyObject *obj)
8edf1c75 1078{
2f4c0a16
RD
1079 return swig_numeric_cast(unsigned char,
1080 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1081 "unsigned char", UCHAR_MAX));
1082}
1083
1084
1085SWIGSTATICINLINE(int)
1086SWIG_CheckUnsignedChar(PyObject* obj)
1087{
1088 SWIG_AsUnsignedChar(obj);
1089 if (PyErr_Occurred()) {
1090 PyErr_Clear();
1091 return 0;
1092 } else {
1093 return 1;
1094 }
8edf1c75
RD
1095}
1096
377d47bd 1097wxImage *new_wxImage__SWIG_0(int width,int height,bool clear){
d14a1e28
RD
1098 if (width > 0 && height > 0)
1099 return new wxImage(width, height, clear);
1100 else
1101 return new wxImage;
1102 }
377d47bd
RD
1103wxImage *new_wxImage__SWIG_1(wxSize const &size,bool clear){
1104 return new wxImage(size.x, size.y, clear);
1105 }
d14a1e28
RD
1106wxImage *new_wxImage(wxBitmap const &bitmap){
1107 return new wxImage(bitmap.ConvertToImage());
1108 }
1109wxImage *new_wxImage(int width,int height,unsigned char *data){
1110 // Copy the source data so the wxImage can clean it up later
1111 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1112 if (copy == NULL) {
1113 PyErr_NoMemory();
1114 return NULL;
1115 }
1116 memcpy(copy, data, width*height*3);
423f194a 1117 return new wxImage(width, height, copy, False);
d14a1e28 1118 }
377d47bd
RD
1119wxSize wxImage_GetSize(wxImage *self){
1120 wxSize size(self->GetWidth(), self->GetHeight());
1121 return size;
1122 }
d14a1e28
RD
1123PyObject *wxImage_GetData(wxImage *self){
1124 unsigned char* data = self->GetData();
1125 int len = self->GetWidth() * self->GetHeight() * 3;
1126 PyObject* rv;
1127 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1128 return rv;
1129 }
1130void wxImage_SetData(wxImage *self,PyObject *data){
1131 unsigned char* dataPtr;
1132
1133 if (! PyString_Check(data)) {
1134 PyErr_SetString(PyExc_TypeError, "Expected string object");
1135 return /* NULL */ ;
1136 }
1137
1138 size_t len = self->GetWidth() * self->GetHeight() * 3;
1139 dataPtr = (unsigned char*) malloc(len);
1140 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1141 self->SetData(dataPtr);
1142 // wxImage takes ownership of dataPtr...
1143 }
1144PyObject *wxImage_GetDataBuffer(wxImage *self){
1145 unsigned char* data = self->GetData();
1146 int len = self->GetWidth() * self->GetHeight() * 3;
1147 PyObject* rv;
1148 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1149 return rv;
1150 }
1151void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1152 unsigned char* buffer;
1153 int size;
1154
fbc46b20 1155 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1156 if (!PyArg_Parse(data, "t#", &buffer, &size))
1157 goto done;
1158
1159 if (size != self->GetWidth() * self->GetHeight() * 3) {
1160 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1161 goto done;
1162 }
1163 self->SetData(buffer);
1164 done:
fbc46b20 1165 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1166 }
1167PyObject *wxImage_GetAlphaData(wxImage *self){
1168 unsigned char* data = self->GetAlpha();
1169 if (! data) {
1170 RETURN_NONE();
1171 } else {
1172 int len = self->GetWidth() * self->GetHeight();
1173 PyObject* rv;
1174 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1175 return rv;
1176 }
1177 }
1178void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1179 unsigned char* dataPtr;
1180
1181 if (! PyString_Check(data)) {
1182 PyErr_SetString(PyExc_TypeError, "Expected string object");
1183 return /* NULL */ ;
1184 }
1185
1186 size_t len = self->GetWidth() * self->GetHeight();
1187 dataPtr = (unsigned char*) malloc(len);
1188 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1189 self->SetAlpha(dataPtr);
1190 // wxImage takes ownership of dataPtr...
1191 }
1192PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1193 unsigned char* data = self->GetAlpha();
1194 int len = self->GetWidth() * self->GetHeight();
1195 PyObject* rv;
1196 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1197 return rv;
1198 }
1199void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1200 unsigned char* buffer;
1201 int size;
1202
fbc46b20 1203 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1204 if (!PyArg_Parse(data, "t#", &buffer, &size))
1205 goto done;
1206
1207 if (size != self->GetWidth() * self->GetHeight()) {
1208 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1209 goto done;
1210 }
1211 self->SetAlpha(buffer);
1212 done:
fbc46b20 1213 wxPyEndBlockThreads(blocked);
d14a1e28 1214 }
2f4c0a16
RD
1215
1216SWIGSTATICINLINE(int)
1217SWIG_CheckUnsignedLong(PyObject* obj)
1218{
1219 SWIG_AsUnsignedLong(obj);
1220 if (PyErr_Occurred()) {
1221 PyErr_Clear();
1222 return 0;
1223 } else {
1224 return 1;
1225 }
1226}
1227
d14a1e28
RD
1228wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1229 wxBitmap bitmap(*self);
1230 return bitmap;
1231 }
1232wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1233 wxImage mono = self->ConvertToMono( red, green, blue );
1234 wxBitmap bitmap( mono, 1 );
1235 return bitmap;
1236 }
1237 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1238 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1239 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1240 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1241 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1242void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1243 if (PyCallable_Check(func)) {
1244 self->Connect(id, lastId, eventType,
1245 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1246 new wxPyCallback(func));
1247 }
1248 else if (func == Py_None) {
1249 self->Disconnect(id, lastId, eventType,
1250 (wxObjectEventFunction)
1251 &wxPyCallback::EventThunker);
1252 }
1253 else {
1254 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
1255 }
1256 }
1257bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1258 return self->Disconnect(id, lastId, eventType,
1259 (wxObjectEventFunction)
1260 &wxPyCallback::EventThunker);
1261 }
1262void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1263 if (_self && _self != Py_None) {
1264 self->SetClientObject(new wxPyOORClientData(_self));
1265 }
1266 else {
1267 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1268 if (data) {
1269 self->SetClientObject(NULL); // This will delete it too
1270 }
1271 }
1272 }
1273int wxKeyEvent_GetUniChar(wxKeyEvent *self){
41f1cec7
RD
1274 #if wxUSE_UNICODE
1275 return self->m_uniChar;
1276 #else
d14a1e28 1277 return 0;
41f1cec7 1278 #endif
d14a1e28 1279 }
8edf1c75 1280
2f4c0a16
RD
1281#if UINT_MAX < LONG_MAX
1282#define SWIG_FromUnsignedInt SWIG_FromLong
1283#else
1284#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1285#endif
8edf1c75
RD
1286
1287
2f4c0a16
RD
1288#if UINT_MAX != ULONG_MAX
1289SWIGSTATICINLINE(unsigned int)
1290SWIG_AsUnsignedInt(PyObject *obj)
8edf1c75 1291{
2f4c0a16
RD
1292 return swig_numeric_cast(unsigned int,
1293 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1294 "unsigned int", UINT_MAX));
1295}
1296#else
1297#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1298#endif
1299
1300
1301SWIGSTATICINLINE(int)
1302SWIG_CheckUnsignedInt(PyObject* obj)
1303{
1304 SWIG_AsUnsignedInt(obj);
1305 if (PyErr_Occurred()) {
1306 PyErr_Clear();
1307 return 0;
1308 } else {
1309 return 1;
1310 }
8edf1c75
RD
1311}
1312
d14a1e28
RD
1313void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1314 self->m_size = size;
1315 }
1316void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1317 self->m_pos = pos;
1318 }
1319PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1320 int count = self->GetNumberOfFiles();
1321 wxString* files = self->GetFiles();
1322 PyObject* list = PyList_New(count);
1323
1324 if (!list) {
1325 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1326 return NULL;
1327 }
1328
1329 for (int i=0; i<count; i++) {
41f1cec7 1330 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28
RD
1331 }
1332 return list;
1333 }
1334
1335
1336wxPyApp *new_wxPyApp(){
1337 wxPythonApp = new wxPyApp();
1338 return wxPythonApp;
1339 }
cbd72d4f 1340int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
d14a1e28
RD
1341
1342 void wxApp_CleanUp() {
1343 __wxPyCleanup();
1344 }
1345
1346
1347 wxPyApp* wxGetApp() {
1348 return (wxPyApp*)wxTheApp;
1349 }
1350
1351
1352
423f194a 1353 static const wxString wxPyPanelNameStr(wxPanelNameStr);
377d47bd
RD
1354wxVisualAttributes *new_wxVisualAttributes(){ return new wxVisualAttributes; }
1355void delete_wxVisualAttributes(wxVisualAttributes *self){}
d14a1e28
RD
1356PyObject *wxWindow_GetChildren(wxWindow *self){
1357 wxWindowList& list = self->GetChildren();
1358 return wxPy_ConvertList(&list);
1359 }
1360bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
377d47bd
RD
1361 #if wxUSE_HOTKEY
1362 return self->RegisterHotKey(hotkeyId, modifiers, keycode);
1363 #else
423f194a 1364 return False;
377d47bd 1365 #endif
d14a1e28
RD
1366 }
1367bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1368
1369
1370
423f194a 1371 return False;
d14a1e28
RD
1372
1373 }
1374long wxWindow_GetHandle(wxWindow *self){
1375 return wxPyGetWinHandle(self);
1376 }
1377
1378wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1379 return wxWindow::FindWindowById(id, parent);
1380}
1381
1382wxWindow* wxFindWindowByName( const wxString& name,
1383 const wxWindow *parent = NULL ) {
1384 return wxWindow::FindWindowByName(name, parent);
1385}
1386
1387wxWindow* wxFindWindowByLabel( const wxString& label,
1388 const wxWindow *parent = NULL ) {
1389 return wxWindow::FindWindowByLabel(label, parent);
1390}
1391
1392
d14a1e28 1393#ifdef __WXMSW__
ce7284bd
RD
1394#include <wx/msw/private.h> // to get wxGetWindowId
1395#endif
1396
1397
1398 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1399#ifdef __WXMSW__
1400 WXHWND hWnd = (WXHWND)_hWnd;
1401 long id = wxGetWindowId(hWnd);
d14a1e28 1402 wxWindow* win = new wxWindow;
ce7284bd
RD
1403 parent->AddChild(win);
1404 win->SetEventHandler(win);
1405 win->SetHWND(hWnd);
1406 win->SetId(id);
1407 win->SubclassWin(hWnd);
1408 win->AdoptAttributesFromHWND();
1409 win->SetupColours();
d14a1e28
RD
1410 return win;
1411#else
cbd72d4f 1412 wxPyRaiseNotImplemented();
d14a1e28
RD
1413 return NULL;
1414#endif
1415 }
1416
1417
1418IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1419IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1420IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1421
1422IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1423
1424void wxMenu_Destroy(wxMenu *self){ delete self; }
1425PyObject *wxMenu_GetMenuItems(wxMenu *self){
1426 wxMenuItemList& list = self->GetMenuItems();
1427 return wxPy_ConvertList(&list);
1428 }
1429int MenuItem_GetDefaultMarginWidth(){ return 0; }
cbd72d4f 1430 static const wxString wxPyControlNameStr(wxControlNameStr);
d14a1e28
RD
1431int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1432 if (clientData) {
1433 wxPyClientData* data = new wxPyClientData(clientData);
1434 return self->Append(item, data);
1435 } else
1436 return self->Append(item);
1437 }
1438int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1439 if (clientData) {
1440 wxPyClientData* data = new wxPyClientData(clientData);
1441 return self->Insert(item, pos, data);
1442 } else
1443 return self->Insert(item, pos);
1444 }
1445PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1446 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1447 if (data) {
1448 Py_INCREF(data->m_obj);
1449 return data->m_obj;
1450 } else {
1451 Py_INCREF(Py_None);
1452 return Py_None;
1453 }
1454 }
1455void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1456 wxPyClientData* data = new wxPyClientData(clientData);
1457 self->SetClientObject(n, data);
1458 }
1459
1460
8edf1c75 1461
2f4c0a16
RD
1462#include <float.h>
1463
8edf1c75 1464SWIGSTATIC(float)
2f4c0a16
RD
1465SWIG_FloatCast(double value)
1466{
1467 float f = 0;
1468 if (!PyErr_Occurred()) {
1469 if (value < FLT_MIN) {
1470 PyObject *err =
1471 PyString_FromFormat("value %g is less than float minimum %g",
1472 value, FLT_MIN);
1473 PyErr_SetObject(PyExc_OverflowError, err);
1474 Py_DECREF(err);
1475 } else if (value > FLT_MAX) {
1476 PyObject *err =
1477 PyString_FromFormat("value %g is greater than float maximum %g",
1478 value, FLT_MAX);
1479 PyErr_SetObject(PyExc_OverflowError, err);
1480 Py_DECREF(err);
1481 } else {
1482 f = swig_numeric_cast(float, value);
1483 }
1484 }
1485 return f;
1486}
1487
1488
1489SWIGSTATICINLINE(float)
1490SWIG_AsFloat(PyObject *obj)
8edf1c75 1491{
2f4c0a16
RD
1492 return SWIG_FloatCast(SWIG_AsDouble(obj));
1493}
1494
1495
1496SWIGSTATICINLINE(int)
1497SWIG_CheckFloat(PyObject* obj)
1498{
1499 SWIG_AsFloat(obj);
1500 if (PyErr_Occurred()) {
1501 PyErr_Clear();
1502 return 0;
1503 } else {
1504 return 1;
1505 }
8edf1c75
RD
1506}
1507
d14a1e28
RD
1508PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1509 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1510 if (data) {
1511 Py_INCREF(data->m_obj);
1512 return data->m_obj;
1513 } else {
1514 Py_INCREF(Py_None);
1515 return Py_None;
1516 }
1517 }
1518
1519// Figure out the type of the sizer item
1520
1521struct wxPySizerItemInfo {
1522 wxPySizerItemInfo()
423f194a
RD
1523 : window(NULL), sizer(NULL), gotSize(False),
1524 size(wxDefaultSize), gotPos(False), pos(-1)
d14a1e28
RD
1525 {}
1526
1527 wxWindow* window;
1528 wxSizer* sizer;
1529 bool gotSize;
1530 wxSize size;
1531 bool gotPos;
1532 int pos;
1533};
1534
1535static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1536
1537 wxPySizerItemInfo info;
1538 wxSize size;
1539 wxSize* sizePtr = &size;
1540
1541 // Find out what the type of the item is
1542 // try wxWindow
1543 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1544 PyErr_Clear();
1545 info.window = NULL;
1546
1547 // try wxSizer
1548 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1549 PyErr_Clear();
1550 info.sizer = NULL;
1551
1552 // try wxSize or (w,h)
1553 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1554 info.size = *sizePtr;
423f194a 1555 info.gotSize = True;
d14a1e28
RD
1556 }
1557
1558 // or a single int
1559 if (checkIdx && PyInt_Check(item)) {
1560 info.pos = PyInt_AsLong(item);
423f194a 1561 info.gotPos = True;
d14a1e28
RD
1562 }
1563 }
1564 }
1565
1566 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1567 // no expected type, figure out what kind of error message to generate
1568 if ( !checkSize && !checkIdx )
1569 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1570 else if ( checkSize && !checkIdx )
1571 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1572 else if ( !checkSize && checkIdx)
1573 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1574 else
1575 // can this one happen?
1576 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1577 }
1578
1579 return info;
1580}
1581
1582void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1583 self->SetClientObject(new wxPyOORClientData(_self));
1584 }
1585void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1586
1587 wxPyUserData* data = NULL;
fbc46b20 1588 bool blocked = wxPyBeginBlockThreads();
423f194a 1589 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1590 if ( userData && (info.window || info.sizer || info.gotSize) )
1591 data = new wxPyUserData(userData);
fbc46b20 1592 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1593
1594 // Now call the real Add method if a valid item type was found
1595 if ( info.window )
1596 self->Add(info.window, proportion, flag, border, data);
1597 else if ( info.sizer )
1598 self->Add(info.sizer, proportion, flag, border, data);
1599 else if (info.gotSize)
1600 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1601 proportion, flag, border, data);
1602 }
1603void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1604
1605 wxPyUserData* data = NULL;
fbc46b20 1606 bool blocked = wxPyBeginBlockThreads();
423f194a 1607 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1608 if ( userData && (info.window || info.sizer || info.gotSize) )
1609 data = new wxPyUserData(userData);
fbc46b20 1610 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1611
1612 // Now call the real Insert method if a valid item type was found
1613 if ( info.window )
1614 self->Insert(before, info.window, proportion, flag, border, data);
1615 else if ( info.sizer )
1616 self->Insert(before, info.sizer, proportion, flag, border, data);
1617 else if (info.gotSize)
1618 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1619 proportion, flag, border, data);
1620 }
1621void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1622
1623 wxPyUserData* data = NULL;
fbc46b20 1624 bool blocked = wxPyBeginBlockThreads();
423f194a 1625 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1626 if ( userData && (info.window || info.sizer || info.gotSize) )
1627 data = new wxPyUserData(userData);
fbc46b20 1628 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1629
1630 // Now call the real Prepend method if a valid item type was found
1631 if ( info.window )
1632 self->Prepend(info.window, proportion, flag, border, data);
1633 else if ( info.sizer )
1634 self->Prepend(info.sizer, proportion, flag, border, data);
1635 else if (info.gotSize)
1636 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1637 proportion, flag, border, data);
1638 }
1639bool wxSizer_Remove(wxSizer *self,PyObject *item){
fbc46b20 1640 bool blocked = wxPyBeginBlockThreads();
423f194a 1641 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
fbc46b20 1642 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1643 if ( info.window )
1644 return self->Remove(info.window);
1645 else if ( info.sizer )
1646 return self->Remove(info.sizer);
1647 else if ( info.gotPos )
1648 return self->Remove(info.pos);
1649 else
423f194a 1650 return False;
d14a1e28 1651 }
423f194a 1652void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
fbc46b20 1653 bool blocked = wxPyBeginBlockThreads();
423f194a 1654 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
fbc46b20 1655 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1656 if ( info.window )
1657 self->SetItemMinSize(info.window, size);
1658 else if ( info.sizer )
1659 self->SetItemMinSize(info.sizer, size);
1660 else if ( info.gotPos )
1661 self->SetItemMinSize(info.pos, size);
1662 }
1663PyObject *wxSizer_GetChildren(wxSizer *self){
1664 wxSizerItemList& list = self->GetChildren();
1665 return wxPy_ConvertList(&list);
1666 }
1667void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
423f194a 1668 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1669 if ( info.window )
1670 self->Show(info.window, show);
1671 else if ( info.sizer )
1672 self->Show(info.sizer, show);
1673 }
1674void wxSizer_Hide(wxSizer *self,PyObject *item){
423f194a 1675 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1676 if ( info.window )
1677 self->Hide(info.window);
1678 else if ( info.sizer )
1679 self->Hide(info.sizer);
1680 }
1681bool wxSizer_IsShown(wxSizer *self,PyObject *item){
423f194a 1682 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1683 if ( info.window )
1684 return self->IsShown(info.window);
1685 else if ( info.sizer )
1686 return self->IsShown(info.sizer);
1687 else
423f194a 1688 return False;
d14a1e28
RD
1689 }
1690
1691// See pyclasses.h
1692IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1693IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1694IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1695
1696
1697
1698
1699bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1700{
fbc46b20
RD
1701 if (source == Py_None) {
1702 **obj = wxGBPosition(-1,-1);
1703 return True;
1704 }
d14a1e28
RD
1705 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1706}
1707
1708bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1709{
fbc46b20
RD
1710 if (source == Py_None) {
1711 **obj = wxGBSpan(-1,-1);
1712 return True;
1713 }
d14a1e28
RD
1714 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1715}
1716
1717
423f194a
RD
1718void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1719 self->SetRow(row);
1720 self->SetCol(col);
1721 }
1722PyObject *wxGBPosition_Get(wxGBPosition *self){
fbc46b20 1723 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1724 PyObject* tup = PyTuple_New(2);
1725 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1726 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
fbc46b20 1727 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1728 return tup;
1729 }
423f194a
RD
1730void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1731 self->SetRowspan(rowspan);
1732 self->SetColspan(colspan);
1733 }
1734PyObject *wxGBSpan_Get(wxGBSpan *self){
fbc46b20 1735 bool blocked = wxPyBeginBlockThreads();
d14a1e28
RD
1736 PyObject* tup = PyTuple_New(2);
1737 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1738 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
fbc46b20 1739 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1740 return tup;
1741 }
1742bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1743
1744 wxPyUserData* data = NULL;
fbc46b20 1745 bool blocked = wxPyBeginBlockThreads();
423f194a 1746 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1747 if ( userData && (info.window || info.sizer || info.gotSize) )
1748 data = new wxPyUserData(userData);
fbc46b20 1749 wxPyEndBlockThreads(blocked);
d14a1e28
RD
1750
1751 // Now call the real Add method if a valid item type was found
1752 if ( info.window )
1753 return self->Add(info.window, pos, span, flag, border, data);
1754 else if ( info.sizer )
1755 return self->Add(info.sizer, pos, span, flag, border, data);
1756 else if (info.gotSize)
1757 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1758 pos, span, flag, border, data);
423f194a 1759 return False;
d14a1e28
RD
1760 }
1761
1762
1763#ifdef __cplusplus
1764extern "C" {
1765#endif
8edf1c75 1766static int _wrap_EmptyString_set(PyObject *) {
cbd72d4f
RD
1767 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1768 return 1;
1769}
1770
1771
1772static PyObject *_wrap_EmptyString_get() {
1773 PyObject *pyobj;
1774
1775 {
1776#if wxUSE_UNICODE
1777 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1778#else
1779 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1780#endif
1781 }
1782 return pyobj;
1783}
1784
1785
2f4c0a16 1786static PyObject *_wrap_Object_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1787 PyObject *resultobj;
1788 wxObject *arg1 = (wxObject *) 0 ;
1789 wxString result;
1790 PyObject * obj0 = 0 ;
1791 char *kwnames[] = {
1792 (char *) "self", NULL
1793 };
1794
1795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1798 {
1799 PyThreadState* __tstate = wxPyBeginAllowThreads();
1800 result = wxObject_GetClassName(arg1);
1801
1802 wxPyEndAllowThreads(__tstate);
1803 if (PyErr_Occurred()) SWIG_fail;
1804 }
1805 {
1806#if wxUSE_UNICODE
1807 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1808#else
1809 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1810#endif
1811 }
1812 return resultobj;
1813 fail:
1814 return NULL;
1815}
1816
1817
2f4c0a16 1818static PyObject *_wrap_Object_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1819 PyObject *resultobj;
1820 wxObject *arg1 = (wxObject *) 0 ;
1821 PyObject * obj0 = 0 ;
1822 char *kwnames[] = {
1823 (char *) "self", NULL
1824 };
1825
1826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1829 {
1830 PyThreadState* __tstate = wxPyBeginAllowThreads();
1831 wxObject_Destroy(arg1);
1832
1833 wxPyEndAllowThreads(__tstate);
1834 if (PyErr_Occurred()) SWIG_fail;
1835 }
1836 Py_INCREF(Py_None); resultobj = Py_None;
1837 return resultobj;
1838 fail:
1839 return NULL;
1840}
1841
1842
2f4c0a16 1843static PyObject * Object_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
1844 PyObject *obj;
1845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1846 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1847 Py_INCREF(obj);
1848 return Py_BuildValue((char *)"");
1849}
2f4c0a16 1850static PyObject *_wrap_Size_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1851 PyObject *resultobj;
1852 wxSize *arg1 = (wxSize *) 0 ;
1853 int arg2 ;
1854 PyObject * obj0 = 0 ;
8edf1c75 1855 PyObject * obj1 = 0 ;
d14a1e28
RD
1856 char *kwnames[] = {
1857 (char *) "self",(char *) "x", NULL
1858 };
1859
8edf1c75 1860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1863 arg2 = (int) SWIG_AsInt(obj1);
1864 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1865 if (arg1) (arg1)->x = arg2;
1866
1867 Py_INCREF(Py_None); resultobj = Py_None;
1868 return resultobj;
1869 fail:
1870 return NULL;
1871}
1872
1873
2f4c0a16 1874static PyObject *_wrap_Size_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1875 PyObject *resultobj;
1876 wxSize *arg1 = (wxSize *) 0 ;
1877 int result;
1878 PyObject * obj0 = 0 ;
1879 char *kwnames[] = {
1880 (char *) "self", NULL
1881 };
1882
1883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1886 result = (int) ((arg1)->x);
1887
2f4c0a16 1888 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1889 return resultobj;
1890 fail:
1891 return NULL;
1892}
1893
1894
2f4c0a16 1895static PyObject *_wrap_Size_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1896 PyObject *resultobj;
1897 wxSize *arg1 = (wxSize *) 0 ;
1898 int arg2 ;
1899 PyObject * obj0 = 0 ;
8edf1c75 1900 PyObject * obj1 = 0 ;
d14a1e28
RD
1901 char *kwnames[] = {
1902 (char *) "self",(char *) "y", NULL
1903 };
1904
8edf1c75 1905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1908 arg2 = (int) SWIG_AsInt(obj1);
1909 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1910 if (arg1) (arg1)->y = arg2;
1911
1912 Py_INCREF(Py_None); resultobj = Py_None;
1913 return resultobj;
1914 fail:
1915 return NULL;
1916}
1917
1918
2f4c0a16 1919static PyObject *_wrap_Size_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1920 PyObject *resultobj;
1921 wxSize *arg1 = (wxSize *) 0 ;
1922 int result;
1923 PyObject * obj0 = 0 ;
1924 char *kwnames[] = {
1925 (char *) "self", NULL
1926 };
1927
1928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1931 result = (int) ((arg1)->y);
1932
2f4c0a16 1933 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1934 return resultobj;
1935 fail:
1936 return NULL;
1937}
1938
1939
2f4c0a16 1940static PyObject *_wrap_new_Size(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1941 PyObject *resultobj;
1942 int arg1 = (int) 0 ;
1943 int arg2 = (int) 0 ;
1944 wxSize *result;
8edf1c75
RD
1945 PyObject * obj0 = 0 ;
1946 PyObject * obj1 = 0 ;
d14a1e28
RD
1947 char *kwnames[] = {
1948 (char *) "w",(char *) "h", NULL
1949 };
1950
8edf1c75
RD
1951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
1952 if (obj0) {
2f4c0a16
RD
1953 arg1 = (int) SWIG_AsInt(obj0);
1954 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
1955 }
1956 if (obj1) {
2f4c0a16
RD
1957 arg2 = (int) SWIG_AsInt(obj1);
1958 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1959 }
d14a1e28
RD
1960 {
1961 PyThreadState* __tstate = wxPyBeginAllowThreads();
1962 result = (wxSize *)new wxSize(arg1,arg2);
1963
1964 wxPyEndAllowThreads(__tstate);
1965 if (PyErr_Occurred()) SWIG_fail;
1966 }
2f4c0a16 1967 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1968 return resultobj;
1969 fail:
1970 return NULL;
1971}
1972
1973
2f4c0a16 1974static PyObject *_wrap_delete_Size(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
1975 PyObject *resultobj;
1976 wxSize *arg1 = (wxSize *) 0 ;
1977 PyObject * obj0 = 0 ;
1978 char *kwnames[] = {
1979 (char *) "self", NULL
1980 };
1981
1982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1985 {
1986 PyThreadState* __tstate = wxPyBeginAllowThreads();
1987 delete arg1;
1988
1989 wxPyEndAllowThreads(__tstate);
1990 if (PyErr_Occurred()) SWIG_fail;
1991 }
1992 Py_INCREF(Py_None); resultobj = Py_None;
1993 return resultobj;
1994 fail:
1995 return NULL;
1996}
1997
1998
2f4c0a16 1999static PyObject *_wrap_Size___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2000 PyObject *resultobj;
2001 wxSize *arg1 = (wxSize *) 0 ;
2002 wxSize *arg2 = 0 ;
2003 bool result;
2004 wxSize temp2 ;
2005 PyObject * obj0 = 0 ;
2006 PyObject * obj1 = 0 ;
2007 char *kwnames[] = {
2008 (char *) "self",(char *) "sz", NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2014 {
2015 arg2 = &temp2;
2016 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2017 }
2018 {
2019 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2020 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
2021
2022 wxPyEndAllowThreads(__tstate);
2023 if (PyErr_Occurred()) SWIG_fail;
2024 }
fbc46b20
RD
2025 {
2026 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2027 }
d14a1e28
RD
2028 return resultobj;
2029 fail:
2030 return NULL;
2031}
2032
2033
2f4c0a16 2034static PyObject *_wrap_Size___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2035 PyObject *resultobj;
2036 wxSize *arg1 = (wxSize *) 0 ;
2037 wxSize *arg2 = 0 ;
2038 bool result;
2039 wxSize temp2 ;
2040 PyObject * obj0 = 0 ;
2041 PyObject * obj1 = 0 ;
2042 char *kwnames[] = {
2043 (char *) "self",(char *) "sz", NULL
2044 };
2045
2046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2049 {
2050 arg2 = &temp2;
2051 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2052 }
2053 {
2054 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2055 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
2056
2057 wxPyEndAllowThreads(__tstate);
2058 if (PyErr_Occurred()) SWIG_fail;
2059 }
fbc46b20
RD
2060 {
2061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2062 }
d14a1e28
RD
2063 return resultobj;
2064 fail:
2065 return NULL;
2066}
2067
2068
2f4c0a16 2069static PyObject *_wrap_Size___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2070 PyObject *resultobj;
2071 wxSize *arg1 = (wxSize *) 0 ;
2072 wxSize *arg2 = 0 ;
2073 wxSize result;
2074 wxSize temp2 ;
2075 PyObject * obj0 = 0 ;
2076 PyObject * obj1 = 0 ;
2077 char *kwnames[] = {
2078 (char *) "self",(char *) "sz", NULL
2079 };
2080
2081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2084 {
2085 arg2 = &temp2;
2086 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2087 }
2088 {
2089 PyThreadState* __tstate = wxPyBeginAllowThreads();
2090 result = (arg1)->operator +((wxSize const &)*arg2);
2091
2092 wxPyEndAllowThreads(__tstate);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 }
2095 {
2096 wxSize * resultptr;
2097 resultptr = new wxSize((wxSize &) result);
2f4c0a16 2098 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2099 }
2100 return resultobj;
2101 fail:
2102 return NULL;
2103}
2104
2105
2f4c0a16 2106static PyObject *_wrap_Size___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2107 PyObject *resultobj;
2108 wxSize *arg1 = (wxSize *) 0 ;
2109 wxSize *arg2 = 0 ;
2110 wxSize result;
2111 wxSize temp2 ;
2112 PyObject * obj0 = 0 ;
2113 PyObject * obj1 = 0 ;
2114 char *kwnames[] = {
2115 (char *) "self",(char *) "sz", NULL
2116 };
2117
2118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2121 {
2122 arg2 = &temp2;
2123 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2124 }
2125 {
2126 PyThreadState* __tstate = wxPyBeginAllowThreads();
2127 result = (arg1)->operator -((wxSize const &)*arg2);
2128
2129 wxPyEndAllowThreads(__tstate);
2130 if (PyErr_Occurred()) SWIG_fail;
2131 }
2132 {
2133 wxSize * resultptr;
2134 resultptr = new wxSize((wxSize &) result);
2f4c0a16 2135 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2136 }
2137 return resultobj;
2138 fail:
2139 return NULL;
2140}
2141
2142
2f4c0a16 2143static PyObject *_wrap_Size_IncTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2144 PyObject *resultobj;
2145 wxSize *arg1 = (wxSize *) 0 ;
2146 wxSize *arg2 = 0 ;
2147 wxSize temp2 ;
2148 PyObject * obj0 = 0 ;
2149 PyObject * obj1 = 0 ;
2150 char *kwnames[] = {
2151 (char *) "self",(char *) "sz", NULL
2152 };
2153
2154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2157 {
2158 arg2 = &temp2;
2159 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2160 }
2161 {
2162 PyThreadState* __tstate = wxPyBeginAllowThreads();
2163 (arg1)->IncTo((wxSize const &)*arg2);
2164
2165 wxPyEndAllowThreads(__tstate);
2166 if (PyErr_Occurred()) SWIG_fail;
2167 }
2168 Py_INCREF(Py_None); resultobj = Py_None;
2169 return resultobj;
2170 fail:
2171 return NULL;
2172}
2173
2174
2f4c0a16 2175static PyObject *_wrap_Size_DecTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2176 PyObject *resultobj;
2177 wxSize *arg1 = (wxSize *) 0 ;
2178 wxSize *arg2 = 0 ;
2179 wxSize temp2 ;
2180 PyObject * obj0 = 0 ;
2181 PyObject * obj1 = 0 ;
2182 char *kwnames[] = {
2183 (char *) "self",(char *) "sz", NULL
2184 };
2185
2186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2189 {
2190 arg2 = &temp2;
2191 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2192 }
2193 {
2194 PyThreadState* __tstate = wxPyBeginAllowThreads();
2195 (arg1)->DecTo((wxSize const &)*arg2);
2196
2197 wxPyEndAllowThreads(__tstate);
2198 if (PyErr_Occurred()) SWIG_fail;
2199 }
2200 Py_INCREF(Py_None); resultobj = Py_None;
2201 return resultobj;
2202 fail:
2203 return NULL;
2204}
2205
2206
2f4c0a16 2207static PyObject *_wrap_Size_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2208 PyObject *resultobj;
2209 wxSize *arg1 = (wxSize *) 0 ;
2210 int arg2 ;
2211 int arg3 ;
2212 PyObject * obj0 = 0 ;
8edf1c75
RD
2213 PyObject * obj1 = 0 ;
2214 PyObject * obj2 = 0 ;
d14a1e28 2215 char *kwnames[] = {
423f194a 2216 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
2217 };
2218
8edf1c75 2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2222 arg2 = (int) SWIG_AsInt(obj1);
2223 if (PyErr_Occurred()) SWIG_fail;
2224 arg3 = (int) SWIG_AsInt(obj2);
2225 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2226 {
2227 PyThreadState* __tstate = wxPyBeginAllowThreads();
2228 (arg1)->Set(arg2,arg3);
2229
2230 wxPyEndAllowThreads(__tstate);
2231 if (PyErr_Occurred()) SWIG_fail;
2232 }
2233 Py_INCREF(Py_None); resultobj = Py_None;
2234 return resultobj;
2235 fail:
2236 return NULL;
2237}
2238
2239
2f4c0a16 2240static PyObject *_wrap_Size_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2241 PyObject *resultobj;
2242 wxSize *arg1 = (wxSize *) 0 ;
2243 int arg2 ;
2244 PyObject * obj0 = 0 ;
8edf1c75 2245 PyObject * obj1 = 0 ;
d14a1e28
RD
2246 char *kwnames[] = {
2247 (char *) "self",(char *) "w", NULL
2248 };
2249
8edf1c75 2250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2251 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2252 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2253 arg2 = (int) SWIG_AsInt(obj1);
2254 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2255 {
2256 PyThreadState* __tstate = wxPyBeginAllowThreads();
2257 (arg1)->SetWidth(arg2);
2258
2259 wxPyEndAllowThreads(__tstate);
2260 if (PyErr_Occurred()) SWIG_fail;
2261 }
2262 Py_INCREF(Py_None); resultobj = Py_None;
2263 return resultobj;
2264 fail:
2265 return NULL;
2266}
2267
2268
2f4c0a16 2269static PyObject *_wrap_Size_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2270 PyObject *resultobj;
2271 wxSize *arg1 = (wxSize *) 0 ;
2272 int arg2 ;
2273 PyObject * obj0 = 0 ;
8edf1c75 2274 PyObject * obj1 = 0 ;
d14a1e28
RD
2275 char *kwnames[] = {
2276 (char *) "self",(char *) "h", NULL
2277 };
2278
8edf1c75 2279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2282 arg2 = (int) SWIG_AsInt(obj1);
2283 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2284 {
2285 PyThreadState* __tstate = wxPyBeginAllowThreads();
2286 (arg1)->SetHeight(arg2);
2287
2288 wxPyEndAllowThreads(__tstate);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
2291 Py_INCREF(Py_None); resultobj = Py_None;
2292 return resultobj;
2293 fail:
2294 return NULL;
2295}
2296
2297
2f4c0a16 2298static PyObject *_wrap_Size_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2299 PyObject *resultobj;
2300 wxSize *arg1 = (wxSize *) 0 ;
2301 int result;
2302 PyObject * obj0 = 0 ;
2303 char *kwnames[] = {
2304 (char *) "self", NULL
2305 };
2306
2307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2310 {
2311 PyThreadState* __tstate = wxPyBeginAllowThreads();
2312 result = (int)((wxSize const *)arg1)->GetWidth();
2313
2314 wxPyEndAllowThreads(__tstate);
2315 if (PyErr_Occurred()) SWIG_fail;
2316 }
2f4c0a16 2317 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2318 return resultobj;
2319 fail:
2320 return NULL;
2321}
2322
2323
2f4c0a16 2324static PyObject *_wrap_Size_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2325 PyObject *resultobj;
2326 wxSize *arg1 = (wxSize *) 0 ;
2327 int result;
2328 PyObject * obj0 = 0 ;
2329 char *kwnames[] = {
2330 (char *) "self", NULL
2331 };
2332
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2336 {
2337 PyThreadState* __tstate = wxPyBeginAllowThreads();
2338 result = (int)((wxSize const *)arg1)->GetHeight();
2339
2340 wxPyEndAllowThreads(__tstate);
2341 if (PyErr_Occurred()) SWIG_fail;
2342 }
2f4c0a16 2343 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2344 return resultobj;
2345 fail:
2346 return NULL;
2347}
2348
2349
377d47bd
RD
2350static PyObject *_wrap_Size_IsFullySpecified(PyObject *, PyObject *args, PyObject *kwargs) {
2351 PyObject *resultobj;
2352 wxSize *arg1 = (wxSize *) 0 ;
2353 bool result;
2354 PyObject * obj0 = 0 ;
2355 char *kwnames[] = {
2356 (char *) "self", NULL
2357 };
2358
2359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_IsFullySpecified",kwnames,&obj0)) goto fail;
2360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2362 {
2363 PyThreadState* __tstate = wxPyBeginAllowThreads();
2364 result = (bool)((wxSize const *)arg1)->IsFullySpecified();
2365
2366 wxPyEndAllowThreads(__tstate);
2367 if (PyErr_Occurred()) SWIG_fail;
2368 }
2369 {
2370 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2371 }
2372 return resultobj;
2373 fail:
2374 return NULL;
2375}
2376
2377
2378static PyObject *_wrap_Size_SetDefaults(PyObject *, PyObject *args, PyObject *kwargs) {
2379 PyObject *resultobj;
2380 wxSize *arg1 = (wxSize *) 0 ;
2381 wxSize *arg2 = 0 ;
2382 wxSize temp2 ;
2383 PyObject * obj0 = 0 ;
2384 PyObject * obj1 = 0 ;
2385 char *kwnames[] = {
2386 (char *) "self",(char *) "size", NULL
2387 };
2388
2389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetDefaults",kwnames,&obj0,&obj1)) goto fail;
2390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2392 {
2393 arg2 = &temp2;
2394 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2395 }
2396 {
2397 PyThreadState* __tstate = wxPyBeginAllowThreads();
2398 (arg1)->SetDefaults((wxSize const &)*arg2);
2399
2400 wxPyEndAllowThreads(__tstate);
2401 if (PyErr_Occurred()) SWIG_fail;
2402 }
2403 Py_INCREF(Py_None); resultobj = Py_None;
2404 return resultobj;
2405 fail:
2406 return NULL;
2407}
2408
2409
2f4c0a16 2410static PyObject *_wrap_Size_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2411 PyObject *resultobj;
2412 wxSize *arg1 = (wxSize *) 0 ;
2413 PyObject *result;
2414 PyObject * obj0 = 0 ;
2415 char *kwnames[] = {
2416 (char *) "self", NULL
2417 };
2418
423f194a 2419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2422 {
2423 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2424 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
2425
2426 wxPyEndAllowThreads(__tstate);
2427 if (PyErr_Occurred()) SWIG_fail;
2428 }
2429 resultobj = result;
2430 return resultobj;
2431 fail:
2432 return NULL;
2433}
2434
2435
2f4c0a16 2436static PyObject * Size_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2437 PyObject *obj;
2438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2439 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2440 Py_INCREF(obj);
2441 return Py_BuildValue((char *)"");
2442}
2f4c0a16 2443static PyObject *_wrap_RealPoint_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2444 PyObject *resultobj;
2445 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2446 double arg2 ;
2447 PyObject * obj0 = 0 ;
8edf1c75 2448 PyObject * obj1 = 0 ;
d14a1e28
RD
2449 char *kwnames[] = {
2450 (char *) "self",(char *) "x", NULL
2451 };
2452
8edf1c75 2453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2456 arg2 = (double) SWIG_AsDouble(obj1);
2457 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2458 if (arg1) (arg1)->x = arg2;
2459
2460 Py_INCREF(Py_None); resultobj = Py_None;
2461 return resultobj;
2462 fail:
2463 return NULL;
2464}
2465
2466
2f4c0a16 2467static PyObject *_wrap_RealPoint_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2468 PyObject *resultobj;
2469 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2470 double result;
2471 PyObject * obj0 = 0 ;
2472 char *kwnames[] = {
2473 (char *) "self", NULL
2474 };
2475
2476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2479 result = (double) ((arg1)->x);
2480
2f4c0a16 2481 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2482 return resultobj;
2483 fail:
2484 return NULL;
2485}
2486
2487
2f4c0a16 2488static PyObject *_wrap_RealPoint_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2489 PyObject *resultobj;
2490 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2491 double arg2 ;
2492 PyObject * obj0 = 0 ;
8edf1c75 2493 PyObject * obj1 = 0 ;
d14a1e28
RD
2494 char *kwnames[] = {
2495 (char *) "self",(char *) "y", NULL
2496 };
2497
8edf1c75 2498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2501 arg2 = (double) SWIG_AsDouble(obj1);
2502 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2503 if (arg1) (arg1)->y = arg2;
2504
2505 Py_INCREF(Py_None); resultobj = Py_None;
2506 return resultobj;
2507 fail:
2508 return NULL;
2509}
2510
2511
2f4c0a16 2512static PyObject *_wrap_RealPoint_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2513 PyObject *resultobj;
2514 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2515 double result;
2516 PyObject * obj0 = 0 ;
2517 char *kwnames[] = {
2518 (char *) "self", NULL
2519 };
2520
2521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2524 result = (double) ((arg1)->y);
2525
2f4c0a16 2526 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2527 return resultobj;
2528 fail:
2529 return NULL;
2530}
2531
2532
2f4c0a16 2533static PyObject *_wrap_new_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2534 PyObject *resultobj;
2535 double arg1 = (double) 0.0 ;
2536 double arg2 = (double) 0.0 ;
2537 wxRealPoint *result;
8edf1c75
RD
2538 PyObject * obj0 = 0 ;
2539 PyObject * obj1 = 0 ;
d14a1e28
RD
2540 char *kwnames[] = {
2541 (char *) "x",(char *) "y", NULL
2542 };
2543
8edf1c75
RD
2544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2545 if (obj0) {
2f4c0a16
RD
2546 arg1 = (double) SWIG_AsDouble(obj0);
2547 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2548 }
2549 if (obj1) {
2f4c0a16
RD
2550 arg2 = (double) SWIG_AsDouble(obj1);
2551 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2552 }
d14a1e28
RD
2553 {
2554 PyThreadState* __tstate = wxPyBeginAllowThreads();
2555 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2556
2557 wxPyEndAllowThreads(__tstate);
2558 if (PyErr_Occurred()) SWIG_fail;
2559 }
2f4c0a16 2560 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
d14a1e28
RD
2561 return resultobj;
2562 fail:
2563 return NULL;
2564}
2565
2566
2f4c0a16 2567static PyObject *_wrap_delete_RealPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2568 PyObject *resultobj;
2569 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2570 PyObject * obj0 = 0 ;
2571 char *kwnames[] = {
2572 (char *) "self", NULL
2573 };
2574
2575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2578 {
2579 PyThreadState* __tstate = wxPyBeginAllowThreads();
2580 delete arg1;
2581
2582 wxPyEndAllowThreads(__tstate);
2583 if (PyErr_Occurred()) SWIG_fail;
2584 }
2585 Py_INCREF(Py_None); resultobj = Py_None;
2586 return resultobj;
2587 fail:
2588 return NULL;
2589}
2590
2591
2f4c0a16 2592static PyObject *_wrap_RealPoint___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2593 PyObject *resultobj;
2594 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2595 wxRealPoint *arg2 = 0 ;
423f194a 2596 bool 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
423f194a 2604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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();
423f194a 2613 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2614
2615 wxPyEndAllowThreads(__tstate);
2616 if (PyErr_Occurred()) SWIG_fail;
2617 }
fbc46b20
RD
2618 {
2619 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2620 }
d14a1e28
RD
2621 return resultobj;
2622 fail:
2623 return NULL;
2624}
2625
2626
2f4c0a16 2627static PyObject *_wrap_RealPoint___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2628 PyObject *resultobj;
2629 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2630 wxRealPoint *arg2 = 0 ;
423f194a 2631 bool result;
d14a1e28
RD
2632 wxRealPoint temp2 ;
2633 PyObject * obj0 = 0 ;
2634 PyObject * obj1 = 0 ;
2635 char *kwnames[] = {
2636 (char *) "self",(char *) "pt", NULL
2637 };
2638
423f194a 2639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2642 {
2643 arg2 = &temp2;
2644 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2645 }
2646 {
2647 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2648 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2649
2650 wxPyEndAllowThreads(__tstate);
2651 if (PyErr_Occurred()) SWIG_fail;
2652 }
fbc46b20
RD
2653 {
2654 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2655 }
d14a1e28
RD
2656 return resultobj;
2657 fail:
2658 return NULL;
2659}
2660
2661
2f4c0a16 2662static PyObject *_wrap_RealPoint___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2663 PyObject *resultobj;
2664 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2665 wxRealPoint *arg2 = 0 ;
423f194a 2666 wxRealPoint result;
d14a1e28
RD
2667 wxRealPoint temp2 ;
2668 PyObject * obj0 = 0 ;
2669 PyObject * obj1 = 0 ;
2670 char *kwnames[] = {
2671 (char *) "self",(char *) "pt", NULL
2672 };
2673
423f194a 2674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2677 {
2678 arg2 = &temp2;
2679 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2680 }
2681 {
2682 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2683 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2684
2685 wxPyEndAllowThreads(__tstate);
2686 if (PyErr_Occurred()) SWIG_fail;
2687 }
423f194a
RD
2688 {
2689 wxRealPoint * resultptr;
2690 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 2691 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
423f194a 2692 }
d14a1e28
RD
2693 return resultobj;
2694 fail:
2695 return NULL;
2696}
2697
2698
2f4c0a16 2699static PyObject *_wrap_RealPoint___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2700 PyObject *resultobj;
2701 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2702 wxRealPoint *arg2 = 0 ;
423f194a 2703 wxRealPoint result;
d14a1e28
RD
2704 wxRealPoint temp2 ;
2705 PyObject * obj0 = 0 ;
2706 PyObject * obj1 = 0 ;
2707 char *kwnames[] = {
2708 (char *) "self",(char *) "pt", NULL
2709 };
2710
423f194a 2711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2714 {
2715 arg2 = &temp2;
2716 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2717 }
2718 {
2719 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2720 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2721
2722 wxPyEndAllowThreads(__tstate);
2723 if (PyErr_Occurred()) SWIG_fail;
2724 }
423f194a
RD
2725 {
2726 wxRealPoint * resultptr;
2727 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 2728 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
423f194a 2729 }
d14a1e28
RD
2730 return resultobj;
2731 fail:
2732 return NULL;
2733}
2734
2735
2f4c0a16 2736static PyObject *_wrap_RealPoint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2737 PyObject *resultobj;
2738 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2739 double arg2 ;
2740 double arg3 ;
2741 PyObject * obj0 = 0 ;
8edf1c75
RD
2742 PyObject * obj1 = 0 ;
2743 PyObject * obj2 = 0 ;
d14a1e28
RD
2744 char *kwnames[] = {
2745 (char *) "self",(char *) "x",(char *) "y", NULL
2746 };
2747
8edf1c75 2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2749 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2751 arg2 = (double) SWIG_AsDouble(obj1);
2752 if (PyErr_Occurred()) SWIG_fail;
2753 arg3 = (double) SWIG_AsDouble(obj2);
2754 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2755 {
2756 PyThreadState* __tstate = wxPyBeginAllowThreads();
2757 wxRealPoint_Set(arg1,arg2,arg3);
2758
2759 wxPyEndAllowThreads(__tstate);
2760 if (PyErr_Occurred()) SWIG_fail;
2761 }
2762 Py_INCREF(Py_None); resultobj = Py_None;
2763 return resultobj;
2764 fail:
2765 return NULL;
2766}
2767
2768
2f4c0a16 2769static PyObject *_wrap_RealPoint_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2770 PyObject *resultobj;
2771 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2772 PyObject *result;
2773 PyObject * obj0 = 0 ;
2774 char *kwnames[] = {
2775 (char *) "self", NULL
2776 };
2777
423f194a 2778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2781 {
2782 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2783 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2784
2785 wxPyEndAllowThreads(__tstate);
2786 if (PyErr_Occurred()) SWIG_fail;
2787 }
2788 resultobj = result;
2789 return resultobj;
2790 fail:
2791 return NULL;
2792}
2793
2794
2f4c0a16 2795static PyObject * RealPoint_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
2796 PyObject *obj;
2797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2798 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2799 Py_INCREF(obj);
2800 return Py_BuildValue((char *)"");
2801}
2f4c0a16 2802static PyObject *_wrap_Point_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2803 PyObject *resultobj;
2804 wxPoint *arg1 = (wxPoint *) 0 ;
2805 int arg2 ;
2806 PyObject * obj0 = 0 ;
8edf1c75 2807 PyObject * obj1 = 0 ;
d14a1e28
RD
2808 char *kwnames[] = {
2809 (char *) "self",(char *) "x", NULL
2810 };
2811
8edf1c75 2812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2815 arg2 = (int) SWIG_AsInt(obj1);
2816 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2817 if (arg1) (arg1)->x = arg2;
2818
2819 Py_INCREF(Py_None); resultobj = Py_None;
2820 return resultobj;
2821 fail:
2822 return NULL;
2823}
2824
2825
2f4c0a16 2826static PyObject *_wrap_Point_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2827 PyObject *resultobj;
2828 wxPoint *arg1 = (wxPoint *) 0 ;
2829 int result;
2830 PyObject * obj0 = 0 ;
2831 char *kwnames[] = {
2832 (char *) "self", NULL
2833 };
2834
2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2838 result = (int) ((arg1)->x);
2839
2f4c0a16 2840 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2841 return resultobj;
2842 fail:
2843 return NULL;
2844}
2845
2846
2f4c0a16 2847static PyObject *_wrap_Point_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2848 PyObject *resultobj;
2849 wxPoint *arg1 = (wxPoint *) 0 ;
2850 int arg2 ;
2851 PyObject * obj0 = 0 ;
8edf1c75 2852 PyObject * obj1 = 0 ;
d14a1e28
RD
2853 char *kwnames[] = {
2854 (char *) "self",(char *) "y", NULL
2855 };
2856
8edf1c75 2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2860 arg2 = (int) SWIG_AsInt(obj1);
2861 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2862 if (arg1) (arg1)->y = arg2;
2863
2864 Py_INCREF(Py_None); resultobj = Py_None;
2865 return resultobj;
2866 fail:
2867 return NULL;
2868}
2869
2870
2f4c0a16 2871static PyObject *_wrap_Point_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2872 PyObject *resultobj;
2873 wxPoint *arg1 = (wxPoint *) 0 ;
2874 int result;
2875 PyObject * obj0 = 0 ;
2876 char *kwnames[] = {
2877 (char *) "self", NULL
2878 };
2879
2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2883 result = (int) ((arg1)->y);
2884
2f4c0a16 2885 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2886 return resultobj;
2887 fail:
2888 return NULL;
2889}
2890
2891
2f4c0a16 2892static PyObject *_wrap_new_Point(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2893 PyObject *resultobj;
2894 int arg1 = (int) 0 ;
2895 int arg2 = (int) 0 ;
2896 wxPoint *result;
8edf1c75
RD
2897 PyObject * obj0 = 0 ;
2898 PyObject * obj1 = 0 ;
d14a1e28
RD
2899 char *kwnames[] = {
2900 (char *) "x",(char *) "y", NULL
2901 };
2902
8edf1c75
RD
2903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2904 if (obj0) {
2f4c0a16
RD
2905 arg1 = (int) SWIG_AsInt(obj0);
2906 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2907 }
2908 if (obj1) {
2f4c0a16
RD
2909 arg2 = (int) SWIG_AsInt(obj1);
2910 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2911 }
d14a1e28
RD
2912 {
2913 PyThreadState* __tstate = wxPyBeginAllowThreads();
2914 result = (wxPoint *)new wxPoint(arg1,arg2);
2915
2916 wxPyEndAllowThreads(__tstate);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2f4c0a16 2919 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2920 return resultobj;
2921 fail:
2922 return NULL;
2923}
2924
2925
2f4c0a16 2926static PyObject *_wrap_delete_Point(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2927 PyObject *resultobj;
2928 wxPoint *arg1 = (wxPoint *) 0 ;
2929 PyObject * obj0 = 0 ;
2930 char *kwnames[] = {
2931 (char *) "self", NULL
2932 };
2933
2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2935 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2936 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2937 {
2938 PyThreadState* __tstate = wxPyBeginAllowThreads();
2939 delete arg1;
2940
2941 wxPyEndAllowThreads(__tstate);
2942 if (PyErr_Occurred()) SWIG_fail;
2943 }
2944 Py_INCREF(Py_None); resultobj = Py_None;
2945 return resultobj;
2946 fail:
2947 return NULL;
2948}
2949
2950
2f4c0a16 2951static PyObject *_wrap_Point___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2952 PyObject *resultobj;
2953 wxPoint *arg1 = (wxPoint *) 0 ;
2954 wxPoint *arg2 = 0 ;
2955 bool result;
2956 wxPoint temp2 ;
2957 PyObject * obj0 = 0 ;
2958 PyObject * obj1 = 0 ;
2959 char *kwnames[] = {
423f194a 2960 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2961 };
2962
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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();
423f194a 2972 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
2973
2974 wxPyEndAllowThreads(__tstate);
2975 if (PyErr_Occurred()) SWIG_fail;
2976 }
fbc46b20
RD
2977 {
2978 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2979 }
d14a1e28
RD
2980 return resultobj;
2981 fail:
2982 return NULL;
2983}
2984
2985
2f4c0a16 2986static PyObject *_wrap_Point___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2987 PyObject *resultobj;
2988 wxPoint *arg1 = (wxPoint *) 0 ;
2989 wxPoint *arg2 = 0 ;
2990 bool result;
2991 wxPoint temp2 ;
2992 PyObject * obj0 = 0 ;
2993 PyObject * obj1 = 0 ;
2994 char *kwnames[] = {
423f194a 2995 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2996 };
2997
2998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3001 {
3002 arg2 = &temp2;
3003 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3004 }
3005 {
3006 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 3007 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
3008
3009 wxPyEndAllowThreads(__tstate);
3010 if (PyErr_Occurred()) SWIG_fail;
3011 }
fbc46b20
RD
3012 {
3013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3014 }
d14a1e28
RD
3015 return resultobj;
3016 fail:
3017 return NULL;
3018}
3019
3020
2f4c0a16 3021static PyObject *_wrap_Point___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3022 PyObject *resultobj;
3023 wxPoint *arg1 = (wxPoint *) 0 ;
3024 wxPoint *arg2 = 0 ;
3025 wxPoint result;
3026 wxPoint temp2 ;
3027 PyObject * obj0 = 0 ;
3028 PyObject * obj1 = 0 ;
3029 char *kwnames[] = {
423f194a 3030 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3031 };
3032
3033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3036 {
3037 arg2 = &temp2;
3038 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3039 }
3040 {
3041 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 3042 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
3043
3044 wxPyEndAllowThreads(__tstate);
3045 if (PyErr_Occurred()) SWIG_fail;
3046 }
3047 {
3048 wxPoint * resultptr;
3049 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 3050 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3051 }
3052 return resultobj;
3053 fail:
3054 return NULL;
3055}
3056
3057
2f4c0a16 3058static PyObject *_wrap_Point___sub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3059 PyObject *resultobj;
3060 wxPoint *arg1 = (wxPoint *) 0 ;
3061 wxPoint *arg2 = 0 ;
3062 wxPoint result;
3063 wxPoint temp2 ;
3064 PyObject * obj0 = 0 ;
3065 PyObject * obj1 = 0 ;
3066 char *kwnames[] = {
423f194a 3067 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3068 };
3069
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3073 {
3074 arg2 = &temp2;
3075 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3076 }
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 3079 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 {
3085 wxPoint * resultptr;
3086 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 3087 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3088 }
3089 return resultobj;
3090 fail:
3091 return NULL;
3092}
3093
3094
2f4c0a16 3095static PyObject *_wrap_Point___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3096 PyObject *resultobj;
3097 wxPoint *arg1 = (wxPoint *) 0 ;
3098 wxPoint *arg2 = 0 ;
3099 wxPoint *result;
3100 wxPoint temp2 ;
3101 PyObject * obj0 = 0 ;
3102 PyObject * obj1 = 0 ;
3103 char *kwnames[] = {
423f194a 3104 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3105 };
3106
3107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3110 {
3111 arg2 = &temp2;
3112 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3113 }
3114 {
3115 PyThreadState* __tstate = wxPyBeginAllowThreads();
3116 {
3117 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3118 result = (wxPoint *) &_result_ref;
3119 }
3120
3121 wxPyEndAllowThreads(__tstate);
3122 if (PyErr_Occurred()) SWIG_fail;
3123 }
2f4c0a16 3124 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3125 return resultobj;
3126 fail:
3127 return NULL;
3128}
3129
3130
2f4c0a16 3131static PyObject *_wrap_Point___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3132 PyObject *resultobj;
3133 wxPoint *arg1 = (wxPoint *) 0 ;
3134 wxPoint *arg2 = 0 ;
3135 wxPoint *result;
3136 wxPoint temp2 ;
3137 PyObject * obj0 = 0 ;
3138 PyObject * obj1 = 0 ;
3139 char *kwnames[] = {
423f194a 3140 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3141 };
3142
3143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3144 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3145 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3146 {
3147 arg2 = &temp2;
3148 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3149 }
3150 {
3151 PyThreadState* __tstate = wxPyBeginAllowThreads();
3152 {
3153 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3154 result = (wxPoint *) &_result_ref;
3155 }
3156
3157 wxPyEndAllowThreads(__tstate);
3158 if (PyErr_Occurred()) SWIG_fail;
3159 }
2f4c0a16 3160 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3161 return resultobj;
3162 fail:
3163 return NULL;
3164}
3165
3166
2f4c0a16 3167static PyObject *_wrap_Point_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3168 PyObject *resultobj;
3169 wxPoint *arg1 = (wxPoint *) 0 ;
3170 long arg2 ;
3171 long arg3 ;
3172 PyObject * obj0 = 0 ;
8edf1c75
RD
3173 PyObject * obj1 = 0 ;
3174 PyObject * obj2 = 0 ;
d14a1e28
RD
3175 char *kwnames[] = {
3176 (char *) "self",(char *) "x",(char *) "y", NULL
3177 };
3178
8edf1c75 3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3182 arg2 = (long) SWIG_AsLong(obj1);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 arg3 = (long) SWIG_AsLong(obj2);
3185 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3186 {
3187 PyThreadState* __tstate = wxPyBeginAllowThreads();
3188 wxPoint_Set(arg1,arg2,arg3);
3189
3190 wxPyEndAllowThreads(__tstate);
3191 if (PyErr_Occurred()) SWIG_fail;
3192 }
3193 Py_INCREF(Py_None); resultobj = Py_None;
3194 return resultobj;
3195 fail:
3196 return NULL;
3197}
3198
3199
2f4c0a16 3200static PyObject *_wrap_Point_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3201 PyObject *resultobj;
3202 wxPoint *arg1 = (wxPoint *) 0 ;
3203 PyObject *result;
3204 PyObject * obj0 = 0 ;
3205 char *kwnames[] = {
3206 (char *) "self", NULL
3207 };
3208
423f194a 3209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3212 {
3213 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 3214 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
3215
3216 wxPyEndAllowThreads(__tstate);
3217 if (PyErr_Occurred()) SWIG_fail;
3218 }
3219 resultobj = result;
3220 return resultobj;
3221 fail:
3222 return NULL;
3223}
3224
3225
2f4c0a16 3226static PyObject * Point_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
3227 PyObject *obj;
3228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3229 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3230 Py_INCREF(obj);
3231 return Py_BuildValue((char *)"");
3232}
2f4c0a16 3233static PyObject *_wrap_new_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3234 PyObject *resultobj;
3235 int arg1 = (int) 0 ;
3236 int arg2 = (int) 0 ;
3237 int arg3 = (int) 0 ;
3238 int arg4 = (int) 0 ;
3239 wxRect *result;
8edf1c75
RD
3240 PyObject * obj0 = 0 ;
3241 PyObject * obj1 = 0 ;
3242 PyObject * obj2 = 0 ;
3243 PyObject * obj3 = 0 ;
d14a1e28
RD
3244 char *kwnames[] = {
3245 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3246 };
3247
8edf1c75
RD
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3249 if (obj0) {
2f4c0a16
RD
3250 arg1 = (int) SWIG_AsInt(obj0);
3251 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3252 }
3253 if (obj1) {
2f4c0a16
RD
3254 arg2 = (int) SWIG_AsInt(obj1);
3255 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3256 }
3257 if (obj2) {
2f4c0a16
RD
3258 arg3 = (int) SWIG_AsInt(obj2);
3259 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3260 }
3261 if (obj3) {
2f4c0a16
RD
3262 arg4 = (int) SWIG_AsInt(obj3);
3263 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3264 }
d14a1e28
RD
3265 {
3266 PyThreadState* __tstate = wxPyBeginAllowThreads();
3267 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3268
3269 wxPyEndAllowThreads(__tstate);
3270 if (PyErr_Occurred()) SWIG_fail;
3271 }
2f4c0a16 3272 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3273 return resultobj;
3274 fail:
3275 return NULL;
3276}
3277
3278
2f4c0a16 3279static PyObject *_wrap_new_RectPP(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3280 PyObject *resultobj;
3281 wxPoint *arg1 = 0 ;
3282 wxPoint *arg2 = 0 ;
3283 wxRect *result;
3284 wxPoint temp1 ;
3285 wxPoint temp2 ;
3286 PyObject * obj0 = 0 ;
3287 PyObject * obj1 = 0 ;
3288 char *kwnames[] = {
3289 (char *) "topLeft",(char *) "bottomRight", NULL
3290 };
3291
3292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3293 {
3294 arg1 = &temp1;
3295 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3296 }
3297 {
3298 arg2 = &temp2;
3299 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3300 }
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
2f4c0a16 3308 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3309 return resultobj;
3310 fail:
3311 return NULL;
3312}
3313
3314
2f4c0a16 3315static PyObject *_wrap_new_RectPS(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3316 PyObject *resultobj;
3317 wxPoint *arg1 = 0 ;
3318 wxSize *arg2 = 0 ;
3319 wxRect *result;
3320 wxPoint temp1 ;
3321 wxSize temp2 ;
3322 PyObject * obj0 = 0 ;
3323 PyObject * obj1 = 0 ;
3324 char *kwnames[] = {
3325 (char *) "pos",(char *) "size", NULL
3326 };
3327
3328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3329 {
3330 arg1 = &temp1;
3331 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3332 }
3333 {
3334 arg2 = &temp2;
3335 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3336 }
3337 {
3338 PyThreadState* __tstate = wxPyBeginAllowThreads();
3339 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3340
3341 wxPyEndAllowThreads(__tstate);
3342 if (PyErr_Occurred()) SWIG_fail;
3343 }
2f4c0a16 3344 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3345 return resultobj;
3346 fail:
3347 return NULL;
3348}
3349
3350
2f4c0a16 3351static PyObject *_wrap_delete_Rect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3352 PyObject *resultobj;
3353 wxRect *arg1 = (wxRect *) 0 ;
3354 PyObject * obj0 = 0 ;
3355 char *kwnames[] = {
3356 (char *) "self", NULL
3357 };
3358
3359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3362 {
3363 PyThreadState* __tstate = wxPyBeginAllowThreads();
3364 delete arg1;
3365
3366 wxPyEndAllowThreads(__tstate);
3367 if (PyErr_Occurred()) SWIG_fail;
3368 }
3369 Py_INCREF(Py_None); resultobj = Py_None;
3370 return resultobj;
3371 fail:
3372 return NULL;
3373}
3374
3375
2f4c0a16 3376static PyObject *_wrap_Rect_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3377 PyObject *resultobj;
3378 wxRect *arg1 = (wxRect *) 0 ;
3379 int result;
3380 PyObject * obj0 = 0 ;
3381 char *kwnames[] = {
3382 (char *) "self", NULL
3383 };
3384
3385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3388 {
3389 PyThreadState* __tstate = wxPyBeginAllowThreads();
3390 result = (int)((wxRect const *)arg1)->GetX();
3391
3392 wxPyEndAllowThreads(__tstate);
3393 if (PyErr_Occurred()) SWIG_fail;
3394 }
2f4c0a16 3395 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3396 return resultobj;
3397 fail:
3398 return NULL;
3399}
3400
3401
2f4c0a16 3402static PyObject *_wrap_Rect_SetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3403 PyObject *resultobj;
3404 wxRect *arg1 = (wxRect *) 0 ;
3405 int arg2 ;
3406 PyObject * obj0 = 0 ;
8edf1c75 3407 PyObject * obj1 = 0 ;
d14a1e28
RD
3408 char *kwnames[] = {
3409 (char *) "self",(char *) "x", NULL
3410 };
3411
8edf1c75 3412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3415 arg2 = (int) SWIG_AsInt(obj1);
3416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3417 {
3418 PyThreadState* __tstate = wxPyBeginAllowThreads();
3419 (arg1)->SetX(arg2);
3420
3421 wxPyEndAllowThreads(__tstate);
3422 if (PyErr_Occurred()) SWIG_fail;
3423 }
3424 Py_INCREF(Py_None); resultobj = Py_None;
3425 return resultobj;
3426 fail:
3427 return NULL;
3428}
3429
3430
2f4c0a16 3431static PyObject *_wrap_Rect_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3432 PyObject *resultobj;
3433 wxRect *arg1 = (wxRect *) 0 ;
3434 int result;
3435 PyObject * obj0 = 0 ;
3436 char *kwnames[] = {
3437 (char *) "self", NULL
3438 };
3439
3440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 result = (int)(arg1)->GetY();
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
2f4c0a16 3450 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3451 return resultobj;
3452 fail:
3453 return NULL;
3454}
3455
3456
2f4c0a16 3457static PyObject *_wrap_Rect_SetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3458 PyObject *resultobj;
3459 wxRect *arg1 = (wxRect *) 0 ;
3460 int arg2 ;
3461 PyObject * obj0 = 0 ;
8edf1c75 3462 PyObject * obj1 = 0 ;
d14a1e28
RD
3463 char *kwnames[] = {
3464 (char *) "self",(char *) "y", NULL
3465 };
3466
8edf1c75 3467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3470 arg2 = (int) SWIG_AsInt(obj1);
3471 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3472 {
3473 PyThreadState* __tstate = wxPyBeginAllowThreads();
3474 (arg1)->SetY(arg2);
3475
3476 wxPyEndAllowThreads(__tstate);
3477 if (PyErr_Occurred()) SWIG_fail;
3478 }
3479 Py_INCREF(Py_None); resultobj = Py_None;
3480 return resultobj;
3481 fail:
3482 return NULL;
3483}
3484
3485
2f4c0a16 3486static PyObject *_wrap_Rect_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3487 PyObject *resultobj;
3488 wxRect *arg1 = (wxRect *) 0 ;
3489 int result;
3490 PyObject * obj0 = 0 ;
3491 char *kwnames[] = {
3492 (char *) "self", NULL
3493 };
3494
3495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3498 {
3499 PyThreadState* __tstate = wxPyBeginAllowThreads();
3500 result = (int)((wxRect const *)arg1)->GetWidth();
3501
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
2f4c0a16 3505 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3506 return resultobj;
3507 fail:
3508 return NULL;
3509}
3510
3511
2f4c0a16 3512static PyObject *_wrap_Rect_SetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3513 PyObject *resultobj;
3514 wxRect *arg1 = (wxRect *) 0 ;
3515 int arg2 ;
3516 PyObject * obj0 = 0 ;
8edf1c75 3517 PyObject * obj1 = 0 ;
d14a1e28
RD
3518 char *kwnames[] = {
3519 (char *) "self",(char *) "w", NULL
3520 };
3521
8edf1c75 3522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3525 arg2 = (int) SWIG_AsInt(obj1);
3526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3527 {
3528 PyThreadState* __tstate = wxPyBeginAllowThreads();
3529 (arg1)->SetWidth(arg2);
3530
3531 wxPyEndAllowThreads(__tstate);
3532 if (PyErr_Occurred()) SWIG_fail;
3533 }
3534 Py_INCREF(Py_None); resultobj = Py_None;
3535 return resultobj;
3536 fail:
3537 return NULL;
3538}
3539
3540
2f4c0a16 3541static PyObject *_wrap_Rect_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3542 PyObject *resultobj;
3543 wxRect *arg1 = (wxRect *) 0 ;
3544 int result;
3545 PyObject * obj0 = 0 ;
3546 char *kwnames[] = {
3547 (char *) "self", NULL
3548 };
3549
3550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3551 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3552 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3553 {
3554 PyThreadState* __tstate = wxPyBeginAllowThreads();
3555 result = (int)((wxRect const *)arg1)->GetHeight();
3556
3557 wxPyEndAllowThreads(__tstate);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 }
2f4c0a16 3560 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3561 return resultobj;
3562 fail:
3563 return NULL;
3564}
3565
3566
2f4c0a16 3567static PyObject *_wrap_Rect_SetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3568 PyObject *resultobj;
3569 wxRect *arg1 = (wxRect *) 0 ;
3570 int arg2 ;
3571 PyObject * obj0 = 0 ;
8edf1c75 3572 PyObject * obj1 = 0 ;
d14a1e28
RD
3573 char *kwnames[] = {
3574 (char *) "self",(char *) "h", NULL
3575 };
3576
8edf1c75 3577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3580 arg2 = (int) SWIG_AsInt(obj1);
3581 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3582 {
3583 PyThreadState* __tstate = wxPyBeginAllowThreads();
3584 (arg1)->SetHeight(arg2);
3585
3586 wxPyEndAllowThreads(__tstate);
3587 if (PyErr_Occurred()) SWIG_fail;
3588 }
3589 Py_INCREF(Py_None); resultobj = Py_None;
3590 return resultobj;
3591 fail:
3592 return NULL;
3593}
3594
3595
2f4c0a16 3596static PyObject *_wrap_Rect_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3597 PyObject *resultobj;
3598 wxRect *arg1 = (wxRect *) 0 ;
3599 wxPoint result;
3600 PyObject * obj0 = 0 ;
3601 char *kwnames[] = {
3602 (char *) "self", NULL
3603 };
3604
3605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3606 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3608 {
3609 PyThreadState* __tstate = wxPyBeginAllowThreads();
3610 result = ((wxRect const *)arg1)->GetPosition();
3611
3612 wxPyEndAllowThreads(__tstate);
3613 if (PyErr_Occurred()) SWIG_fail;
3614 }
3615 {
3616 wxPoint * resultptr;
3617 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 3618 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3619 }
3620 return resultobj;
3621 fail:
3622 return NULL;
3623}
3624
3625
2f4c0a16 3626static PyObject *_wrap_Rect_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3627 PyObject *resultobj;
3628 wxRect *arg1 = (wxRect *) 0 ;
3629 wxPoint *arg2 = 0 ;
3630 wxPoint temp2 ;
3631 PyObject * obj0 = 0 ;
3632 PyObject * obj1 = 0 ;
3633 char *kwnames[] = {
3634 (char *) "self",(char *) "p", NULL
3635 };
3636
3637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3640 {
3641 arg2 = &temp2;
3642 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3643 }
3644 {
3645 PyThreadState* __tstate = wxPyBeginAllowThreads();
3646 (arg1)->SetPosition((wxPoint const &)*arg2);
3647
3648 wxPyEndAllowThreads(__tstate);
3649 if (PyErr_Occurred()) SWIG_fail;
3650 }
3651 Py_INCREF(Py_None); resultobj = Py_None;
3652 return resultobj;
3653 fail:
3654 return NULL;
3655}
3656
3657
2f4c0a16 3658static PyObject *_wrap_Rect_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3659 PyObject *resultobj;
3660 wxRect *arg1 = (wxRect *) 0 ;
3661 wxSize result;
3662 PyObject * obj0 = 0 ;
3663 char *kwnames[] = {
3664 (char *) "self", NULL
3665 };
3666
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3670 {
3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
3672 result = ((wxRect const *)arg1)->GetSize();
3673
3674 wxPyEndAllowThreads(__tstate);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 {
3678 wxSize * resultptr;
3679 resultptr = new wxSize((wxSize &) result);
2f4c0a16 3680 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3681 }
3682 return resultobj;
3683 fail:
3684 return NULL;
3685}
3686
3687
2f4c0a16 3688static PyObject *_wrap_Rect_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3689 PyObject *resultobj;
3690 wxRect *arg1 = (wxRect *) 0 ;
3691 wxSize *arg2 = 0 ;
3692 wxSize temp2 ;
3693 PyObject * obj0 = 0 ;
3694 PyObject * obj1 = 0 ;
3695 char *kwnames[] = {
3696 (char *) "self",(char *) "s", NULL
3697 };
3698
3699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3702 {
3703 arg2 = &temp2;
3704 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3705 }
3706 {
3707 PyThreadState* __tstate = wxPyBeginAllowThreads();
3708 (arg1)->SetSize((wxSize const &)*arg2);
3709
3710 wxPyEndAllowThreads(__tstate);
3711 if (PyErr_Occurred()) SWIG_fail;
3712 }
3713 Py_INCREF(Py_None); resultobj = Py_None;
3714 return resultobj;
3715 fail:
3716 return NULL;
3717}
3718
3719
2f4c0a16 3720static PyObject *_wrap_Rect_GetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
9fd4be55
RD
3721 PyObject *resultobj;
3722 wxRect *arg1 = (wxRect *) 0 ;
3723 wxPoint result;
3724 PyObject * obj0 = 0 ;
3725 char *kwnames[] = {
3726 (char *) "self", NULL
3727 };
3728
3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 result = ((wxRect const *)arg1)->GetTopLeft();
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
3739 {
3740 wxPoint * resultptr;
3741 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 3742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9fd4be55
RD
3743 }
3744 return resultobj;
3745 fail:
3746 return NULL;
3747}
3748
3749
2f4c0a16 3750static PyObject *_wrap_Rect_SetTopLeft(PyObject *, PyObject *args, PyObject *kwargs) {
9fd4be55
RD
3751 PyObject *resultobj;
3752 wxRect *arg1 = (wxRect *) 0 ;
3753 wxPoint *arg2 = 0 ;
3754 wxPoint temp2 ;
3755 PyObject * obj0 = 0 ;
3756 PyObject * obj1 = 0 ;
3757 char *kwnames[] = {
3758 (char *) "self",(char *) "p", NULL
3759 };
3760
3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
3764 {
3765 arg2 = &temp2;
3766 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3767 }
3768 {
3769 PyThreadState* __tstate = wxPyBeginAllowThreads();
3770 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3771
3772 wxPyEndAllowThreads(__tstate);
3773 if (PyErr_Occurred()) SWIG_fail;
3774 }
3775 Py_INCREF(Py_None); resultobj = Py_None;
3776 return resultobj;
3777 fail:
3778 return NULL;
3779}
3780
3781
2f4c0a16 3782static PyObject *_wrap_Rect_GetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
9fd4be55
RD
3783 PyObject *resultobj;
3784 wxRect *arg1 = (wxRect *) 0 ;
3785 wxPoint result;
3786 PyObject * obj0 = 0 ;
3787 char *kwnames[] = {
3788 (char *) "self", NULL
3789 };
3790
3791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
3794 {
3795 PyThreadState* __tstate = wxPyBeginAllowThreads();
3796 result = ((wxRect const *)arg1)->GetBottomRight();
3797
3798 wxPyEndAllowThreads(__tstate);
3799 if (PyErr_Occurred()) SWIG_fail;
3800 }
3801 {
3802 wxPoint * resultptr;
3803 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 3804 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9fd4be55
RD
3805 }
3806 return resultobj;
3807 fail:
3808 return NULL;
3809}
3810
3811
2f4c0a16 3812static PyObject *_wrap_Rect_SetBottomRight(PyObject *, PyObject *args, PyObject *kwargs) {
9fd4be55
RD
3813 PyObject *resultobj;
3814 wxRect *arg1 = (wxRect *) 0 ;
3815 wxPoint *arg2 = 0 ;
3816 wxPoint temp2 ;
3817 PyObject * obj0 = 0 ;
3818 PyObject * obj1 = 0 ;
3819 char *kwnames[] = {
3820 (char *) "self",(char *) "p", NULL
3821 };
3822
3823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
3826 {
3827 arg2 = &temp2;
3828 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3829 }
3830 {
3831 PyThreadState* __tstate = wxPyBeginAllowThreads();
3832 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3833
3834 wxPyEndAllowThreads(__tstate);
3835 if (PyErr_Occurred()) SWIG_fail;
3836 }
3837 Py_INCREF(Py_None); resultobj = Py_None;
3838 return resultobj;
3839 fail:
3840 return NULL;
3841}
3842
3843
2f4c0a16 3844static PyObject *_wrap_Rect_GetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3845 PyObject *resultobj;
3846 wxRect *arg1 = (wxRect *) 0 ;
3847 int result;
3848 PyObject * obj0 = 0 ;
3849 char *kwnames[] = {
3850 (char *) "self", NULL
3851 };
3852
3853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3856 {
3857 PyThreadState* __tstate = wxPyBeginAllowThreads();
3858 result = (int)((wxRect const *)arg1)->GetLeft();
3859
3860 wxPyEndAllowThreads(__tstate);
3861 if (PyErr_Occurred()) SWIG_fail;
3862 }
2f4c0a16 3863 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3864 return resultobj;
3865 fail:
3866 return NULL;
3867}
3868
3869
2f4c0a16 3870static PyObject *_wrap_Rect_GetTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3871 PyObject *resultobj;
3872 wxRect *arg1 = (wxRect *) 0 ;
3873 int result;
3874 PyObject * obj0 = 0 ;
3875 char *kwnames[] = {
3876 (char *) "self", NULL
3877 };
3878
3879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3882 {
3883 PyThreadState* __tstate = wxPyBeginAllowThreads();
3884 result = (int)((wxRect const *)arg1)->GetTop();
3885
3886 wxPyEndAllowThreads(__tstate);
3887 if (PyErr_Occurred()) SWIG_fail;
3888 }
2f4c0a16 3889 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3890 return resultobj;
3891 fail:
3892 return NULL;
3893}
3894
3895
2f4c0a16 3896static PyObject *_wrap_Rect_GetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3897 PyObject *resultobj;
3898 wxRect *arg1 = (wxRect *) 0 ;
3899 int result;
3900 PyObject * obj0 = 0 ;
3901 char *kwnames[] = {
3902 (char *) "self", NULL
3903 };
3904
3905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3908 {
3909 PyThreadState* __tstate = wxPyBeginAllowThreads();
3910 result = (int)((wxRect const *)arg1)->GetBottom();
3911
3912 wxPyEndAllowThreads(__tstate);
3913 if (PyErr_Occurred()) SWIG_fail;
3914 }
2f4c0a16 3915 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3916 return resultobj;
3917 fail:
3918 return NULL;
3919}
3920
3921
2f4c0a16 3922static PyObject *_wrap_Rect_GetRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3923 PyObject *resultobj;
3924 wxRect *arg1 = (wxRect *) 0 ;
3925 int result;
3926 PyObject * obj0 = 0 ;
3927 char *kwnames[] = {
3928 (char *) "self", NULL
3929 };
3930
3931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3934 {
3935 PyThreadState* __tstate = wxPyBeginAllowThreads();
3936 result = (int)((wxRect const *)arg1)->GetRight();
3937
3938 wxPyEndAllowThreads(__tstate);
3939 if (PyErr_Occurred()) SWIG_fail;
3940 }
2f4c0a16 3941 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3942 return resultobj;
3943 fail:
3944 return NULL;
3945}
3946
3947
2f4c0a16 3948static PyObject *_wrap_Rect_SetLeft(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3949 PyObject *resultobj;
3950 wxRect *arg1 = (wxRect *) 0 ;
3951 int arg2 ;
3952 PyObject * obj0 = 0 ;
8edf1c75 3953 PyObject * obj1 = 0 ;
d14a1e28
RD
3954 char *kwnames[] = {
3955 (char *) "self",(char *) "left", NULL
3956 };
3957
8edf1c75 3958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3961 arg2 = (int) SWIG_AsInt(obj1);
3962 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 (arg1)->SetLeft(arg2);
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 Py_INCREF(Py_None); resultobj = Py_None;
3971 return resultobj;
3972 fail:
3973 return NULL;
3974}
3975
3976
2f4c0a16 3977static PyObject *_wrap_Rect_SetRight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3978 PyObject *resultobj;
3979 wxRect *arg1 = (wxRect *) 0 ;
3980 int arg2 ;
3981 PyObject * obj0 = 0 ;
8edf1c75 3982 PyObject * obj1 = 0 ;
d14a1e28
RD
3983 char *kwnames[] = {
3984 (char *) "self",(char *) "right", NULL
3985 };
3986
8edf1c75 3987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3990 arg2 = (int) SWIG_AsInt(obj1);
3991 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3992 {
3993 PyThreadState* __tstate = wxPyBeginAllowThreads();
3994 (arg1)->SetRight(arg2);
3995
3996 wxPyEndAllowThreads(__tstate);
3997 if (PyErr_Occurred()) SWIG_fail;
3998 }
3999 Py_INCREF(Py_None); resultobj = Py_None;
4000 return resultobj;
4001 fail:
4002 return NULL;
4003}
4004
4005
2f4c0a16 4006static PyObject *_wrap_Rect_SetTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4007 PyObject *resultobj;
4008 wxRect *arg1 = (wxRect *) 0 ;
4009 int arg2 ;
4010 PyObject * obj0 = 0 ;
8edf1c75 4011 PyObject * obj1 = 0 ;
d14a1e28
RD
4012 char *kwnames[] = {
4013 (char *) "self",(char *) "top", NULL
4014 };
4015
8edf1c75 4016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4019 arg2 = (int) SWIG_AsInt(obj1);
4020 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4021 {
4022 PyThreadState* __tstate = wxPyBeginAllowThreads();
4023 (arg1)->SetTop(arg2);
4024
4025 wxPyEndAllowThreads(__tstate);
4026 if (PyErr_Occurred()) SWIG_fail;
4027 }
4028 Py_INCREF(Py_None); resultobj = Py_None;
4029 return resultobj;
4030 fail:
4031 return NULL;
4032}
4033
4034
2f4c0a16 4035static PyObject *_wrap_Rect_SetBottom(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4036 PyObject *resultobj;
4037 wxRect *arg1 = (wxRect *) 0 ;
4038 int arg2 ;
4039 PyObject * obj0 = 0 ;
8edf1c75 4040 PyObject * obj1 = 0 ;
d14a1e28
RD
4041 char *kwnames[] = {
4042 (char *) "self",(char *) "bottom", NULL
4043 };
4044
8edf1c75 4045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4048 arg2 = (int) SWIG_AsInt(obj1);
4049 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4050 {
4051 PyThreadState* __tstate = wxPyBeginAllowThreads();
4052 (arg1)->SetBottom(arg2);
4053
4054 wxPyEndAllowThreads(__tstate);
4055 if (PyErr_Occurred()) SWIG_fail;
4056 }
4057 Py_INCREF(Py_None); resultobj = Py_None;
4058 return resultobj;
4059 fail:
4060 return NULL;
4061}
4062
4063
2f4c0a16 4064static PyObject *_wrap_Rect_Inflate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4065 PyObject *resultobj;
4066 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
4067 int arg2 ;
4068 int arg3 ;
d14a1e28
RD
4069 wxRect *result;
4070 PyObject * obj0 = 0 ;
8edf1c75
RD
4071 PyObject * obj1 = 0 ;
4072 PyObject * obj2 = 0 ;
d14a1e28
RD
4073 char *kwnames[] = {
4074 (char *) "self",(char *) "dx",(char *) "dy", NULL
4075 };
4076
8edf1c75 4077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4080 arg2 = (int) SWIG_AsInt(obj1);
4081 if (PyErr_Occurred()) SWIG_fail;
4082 arg3 = (int) SWIG_AsInt(obj2);
4083 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 {
4087 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
4088 result = (wxRect *) &_result_ref;
4089 }
4090
4091 wxPyEndAllowThreads(__tstate);
4092 if (PyErr_Occurred()) SWIG_fail;
4093 }
2f4c0a16 4094 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4095 return resultobj;
4096 fail:
4097 return NULL;
4098}
4099
4100
2f4c0a16 4101static PyObject *_wrap_Rect_Deflate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4102 PyObject *resultobj;
4103 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
4104 int arg2 ;
4105 int arg3 ;
d14a1e28
RD
4106 wxRect *result;
4107 PyObject * obj0 = 0 ;
8edf1c75
RD
4108 PyObject * obj1 = 0 ;
4109 PyObject * obj2 = 0 ;
d14a1e28
RD
4110 char *kwnames[] = {
4111 (char *) "self",(char *) "dx",(char *) "dy", NULL
4112 };
4113
8edf1c75 4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4117 arg2 = (int) SWIG_AsInt(obj1);
4118 if (PyErr_Occurred()) SWIG_fail;
4119 arg3 = (int) SWIG_AsInt(obj2);
4120 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4121 {
4122 PyThreadState* __tstate = wxPyBeginAllowThreads();
4123 {
4124 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4125 result = (wxRect *) &_result_ref;
4126 }
4127
4128 wxPyEndAllowThreads(__tstate);
4129 if (PyErr_Occurred()) SWIG_fail;
4130 }
2f4c0a16 4131 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4132 return resultobj;
4133 fail:
4134 return NULL;
4135}
4136
4137
2f4c0a16 4138static PyObject *_wrap_Rect_OffsetXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4139 PyObject *resultobj;
4140 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
4141 int arg2 ;
4142 int arg3 ;
d14a1e28 4143 PyObject * obj0 = 0 ;
8edf1c75
RD
4144 PyObject * obj1 = 0 ;
4145 PyObject * obj2 = 0 ;
d14a1e28
RD
4146 char *kwnames[] = {
4147 (char *) "self",(char *) "dx",(char *) "dy", NULL
4148 };
4149
8edf1c75 4150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4153 arg2 = (int) SWIG_AsInt(obj1);
4154 if (PyErr_Occurred()) SWIG_fail;
4155 arg3 = (int) SWIG_AsInt(obj2);
4156 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4157 {
4158 PyThreadState* __tstate = wxPyBeginAllowThreads();
4159 (arg1)->Offset(arg2,arg3);
4160
4161 wxPyEndAllowThreads(__tstate);
4162 if (PyErr_Occurred()) SWIG_fail;
4163 }
4164 Py_INCREF(Py_None); resultobj = Py_None;
4165 return resultobj;
4166 fail:
4167 return NULL;
4168}
4169
4170
2f4c0a16 4171static PyObject *_wrap_Rect_Offset(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4172 PyObject *resultobj;
4173 wxRect *arg1 = (wxRect *) 0 ;
4174 wxPoint *arg2 = 0 ;
4175 wxPoint temp2 ;
4176 PyObject * obj0 = 0 ;
4177 PyObject * obj1 = 0 ;
4178 char *kwnames[] = {
4179 (char *) "self",(char *) "pt", NULL
4180 };
4181
4182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4185 {
4186 arg2 = &temp2;
4187 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4188 }
4189 {
4190 PyThreadState* __tstate = wxPyBeginAllowThreads();
4191 (arg1)->Offset((wxPoint const &)*arg2);
4192
4193 wxPyEndAllowThreads(__tstate);
4194 if (PyErr_Occurred()) SWIG_fail;
4195 }
4196 Py_INCREF(Py_None); resultobj = Py_None;
4197 return resultobj;
4198 fail:
4199 return NULL;
4200}
4201
4202
2f4c0a16 4203static PyObject *_wrap_Rect_Intersect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4204 PyObject *resultobj;
4205 wxRect *arg1 = (wxRect *) 0 ;
4206 wxRect *arg2 = 0 ;
4207 wxRect *result;
4208 wxRect temp2 ;
4209 PyObject * obj0 = 0 ;
4210 PyObject * obj1 = 0 ;
4211 char *kwnames[] = {
4212 (char *) "self",(char *) "rect", NULL
4213 };
4214
4215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4218 {
4219 arg2 = &temp2;
4220 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4221 }
4222 {
4223 PyThreadState* __tstate = wxPyBeginAllowThreads();
4224 {
4225 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4226 result = (wxRect *) &_result_ref;
4227 }
4228
4229 wxPyEndAllowThreads(__tstate);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
2f4c0a16 4232 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4233 return resultobj;
4234 fail:
4235 return NULL;
4236}
4237
4238
2f4c0a16 4239static PyObject *_wrap_Rect___add__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4240 PyObject *resultobj;
4241 wxRect *arg1 = (wxRect *) 0 ;
4242 wxRect *arg2 = 0 ;
4243 wxRect result;
4244 wxRect temp2 ;
4245 PyObject * obj0 = 0 ;
4246 PyObject * obj1 = 0 ;
4247 char *kwnames[] = {
4248 (char *) "self",(char *) "rect", NULL
4249 };
4250
4251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4254 {
4255 arg2 = &temp2;
4256 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4257 }
4258 {
4259 PyThreadState* __tstate = wxPyBeginAllowThreads();
4260 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4261
4262 wxPyEndAllowThreads(__tstate);
4263 if (PyErr_Occurred()) SWIG_fail;
4264 }
4265 {
4266 wxRect * resultptr;
4267 resultptr = new wxRect((wxRect &) result);
2f4c0a16 4268 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4269 }
4270 return resultobj;
4271 fail:
4272 return NULL;
4273}
4274
4275
2f4c0a16 4276static PyObject *_wrap_Rect___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4277 PyObject *resultobj;
4278 wxRect *arg1 = (wxRect *) 0 ;
4279 wxRect *arg2 = 0 ;
4280 wxRect *result;
4281 wxRect temp2 ;
4282 PyObject * obj0 = 0 ;
4283 PyObject * obj1 = 0 ;
4284 char *kwnames[] = {
4285 (char *) "self",(char *) "rect", NULL
4286 };
4287
4288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4289 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4290 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4291 {
4292 arg2 = &temp2;
4293 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4294 }
4295 {
4296 PyThreadState* __tstate = wxPyBeginAllowThreads();
4297 {
4298 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4299 result = (wxRect *) &_result_ref;
4300 }
4301
4302 wxPyEndAllowThreads(__tstate);
4303 if (PyErr_Occurred()) SWIG_fail;
4304 }
2f4c0a16 4305 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4306 return resultobj;
4307 fail:
4308 return NULL;
4309}
4310
4311
2f4c0a16 4312static PyObject *_wrap_Rect___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4313 PyObject *resultobj;
4314 wxRect *arg1 = (wxRect *) 0 ;
4315 wxRect *arg2 = 0 ;
4316 bool result;
4317 wxRect temp2 ;
4318 PyObject * obj0 = 0 ;
4319 PyObject * obj1 = 0 ;
4320 char *kwnames[] = {
4321 (char *) "self",(char *) "rect", NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4327 {
4328 arg2 = &temp2;
4329 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4330 }
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
fbc46b20
RD
4338 {
4339 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4340 }
d14a1e28
RD
4341 return resultobj;
4342 fail:
4343 return NULL;
4344}
4345
4346
2f4c0a16 4347static PyObject *_wrap_Rect___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4348 PyObject *resultobj;
4349 wxRect *arg1 = (wxRect *) 0 ;
4350 wxRect *arg2 = 0 ;
4351 bool result;
4352 wxRect temp2 ;
4353 PyObject * obj0 = 0 ;
4354 PyObject * obj1 = 0 ;
4355 char *kwnames[] = {
4356 (char *) "self",(char *) "rect", NULL
4357 };
4358
4359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4362 {
4363 arg2 = &temp2;
4364 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4365 }
4366 {
4367 PyThreadState* __tstate = wxPyBeginAllowThreads();
4368 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4369
4370 wxPyEndAllowThreads(__tstate);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 }
fbc46b20
RD
4373 {
4374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4375 }
d14a1e28
RD
4376 return resultobj;
4377 fail:
4378 return NULL;
4379}
4380
4381
2f4c0a16 4382static PyObject *_wrap_Rect_InsideXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4383 PyObject *resultobj;
4384 wxRect *arg1 = (wxRect *) 0 ;
4385 int arg2 ;
4386 int arg3 ;
4387 bool result;
4388 PyObject * obj0 = 0 ;
8edf1c75
RD
4389 PyObject * obj1 = 0 ;
4390 PyObject * obj2 = 0 ;
d14a1e28
RD
4391 char *kwnames[] = {
4392 (char *) "self",(char *) "x",(char *) "y", NULL
4393 };
4394
8edf1c75 4395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4398 arg2 = (int) SWIG_AsInt(obj1);
4399 if (PyErr_Occurred()) SWIG_fail;
4400 arg3 = (int) SWIG_AsInt(obj2);
4401 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4402 {
4403 PyThreadState* __tstate = wxPyBeginAllowThreads();
4404 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4405
4406 wxPyEndAllowThreads(__tstate);
4407 if (PyErr_Occurred()) SWIG_fail;
4408 }
fbc46b20
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
2f4c0a16 4418static PyObject *_wrap_Rect_Inside(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4419 PyObject *resultobj;
4420 wxRect *arg1 = (wxRect *) 0 ;
4421 wxPoint *arg2 = 0 ;
4422 bool result;
4423 wxPoint temp2 ;
4424 PyObject * obj0 = 0 ;
4425 PyObject * obj1 = 0 ;
4426 char *kwnames[] = {
4427 (char *) "self",(char *) "pt", NULL
4428 };
4429
4430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4433 {
4434 arg2 = &temp2;
4435 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4436 }
4437 {
4438 PyThreadState* __tstate = wxPyBeginAllowThreads();
4439 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4440
4441 wxPyEndAllowThreads(__tstate);
4442 if (PyErr_Occurred()) SWIG_fail;
4443 }
fbc46b20
RD
4444 {
4445 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4446 }
d14a1e28
RD
4447 return resultobj;
4448 fail:
4449 return NULL;
4450}
4451
4452
2f4c0a16 4453static PyObject *_wrap_Rect_Intersects(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4454 PyObject *resultobj;
4455 wxRect *arg1 = (wxRect *) 0 ;
4456 wxRect *arg2 = 0 ;
4457 bool result;
4458 wxRect temp2 ;
4459 PyObject * obj0 = 0 ;
4460 PyObject * obj1 = 0 ;
4461 char *kwnames[] = {
4462 (char *) "self",(char *) "rect", NULL
4463 };
4464
4465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4468 {
4469 arg2 = &temp2;
4470 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4471 }
4472 {
4473 PyThreadState* __tstate = wxPyBeginAllowThreads();
4474 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4475
4476 wxPyEndAllowThreads(__tstate);
4477 if (PyErr_Occurred()) SWIG_fail;
4478 }
fbc46b20
RD
4479 {
4480 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4481 }
d14a1e28
RD
4482 return resultobj;
4483 fail:
4484 return NULL;
4485}
4486
4487
2f4c0a16 4488static PyObject *_wrap_Rect_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4489 PyObject *resultobj;
4490 wxRect *arg1 = (wxRect *) 0 ;
4491 int arg2 ;
4492 PyObject * obj0 = 0 ;
8edf1c75 4493 PyObject * obj1 = 0 ;
d14a1e28
RD
4494 char *kwnames[] = {
4495 (char *) "self",(char *) "x", NULL
4496 };
4497
8edf1c75 4498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4501 arg2 = (int) SWIG_AsInt(obj1);
4502 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4503 if (arg1) (arg1)->x = arg2;
4504
4505 Py_INCREF(Py_None); resultobj = Py_None;
4506 return resultobj;
4507 fail:
4508 return NULL;
4509}
4510
4511
2f4c0a16 4512static PyObject *_wrap_Rect_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4513 PyObject *resultobj;
4514 wxRect *arg1 = (wxRect *) 0 ;
4515 int result;
4516 PyObject * obj0 = 0 ;
4517 char *kwnames[] = {
4518 (char *) "self", NULL
4519 };
4520
4521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4522 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4523 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4524 result = (int) ((arg1)->x);
4525
2f4c0a16 4526 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4527 return resultobj;
4528 fail:
4529 return NULL;
4530}
4531
4532
2f4c0a16 4533static PyObject *_wrap_Rect_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4534 PyObject *resultobj;
4535 wxRect *arg1 = (wxRect *) 0 ;
4536 int arg2 ;
4537 PyObject * obj0 = 0 ;
8edf1c75 4538 PyObject * obj1 = 0 ;
d14a1e28
RD
4539 char *kwnames[] = {
4540 (char *) "self",(char *) "y", NULL
4541 };
4542
8edf1c75 4543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4546 arg2 = (int) SWIG_AsInt(obj1);
4547 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4548 if (arg1) (arg1)->y = arg2;
4549
4550 Py_INCREF(Py_None); resultobj = Py_None;
4551 return resultobj;
4552 fail:
4553 return NULL;
4554}
4555
4556
2f4c0a16 4557static PyObject *_wrap_Rect_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4558 PyObject *resultobj;
4559 wxRect *arg1 = (wxRect *) 0 ;
4560 int result;
4561 PyObject * obj0 = 0 ;
4562 char *kwnames[] = {
4563 (char *) "self", NULL
4564 };
4565
4566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4567 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4568 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4569 result = (int) ((arg1)->y);
4570
2f4c0a16 4571 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4572 return resultobj;
4573 fail:
4574 return NULL;
4575}
4576
4577
2f4c0a16 4578static PyObject *_wrap_Rect_width_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4579 PyObject *resultobj;
4580 wxRect *arg1 = (wxRect *) 0 ;
4581 int arg2 ;
4582 PyObject * obj0 = 0 ;
8edf1c75 4583 PyObject * obj1 = 0 ;
d14a1e28
RD
4584 char *kwnames[] = {
4585 (char *) "self",(char *) "width", NULL
4586 };
4587
8edf1c75 4588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4591 arg2 = (int) SWIG_AsInt(obj1);
4592 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4593 if (arg1) (arg1)->width = arg2;
4594
4595 Py_INCREF(Py_None); resultobj = Py_None;
4596 return resultobj;
4597 fail:
4598 return NULL;
4599}
4600
4601
2f4c0a16 4602static PyObject *_wrap_Rect_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4603 PyObject *resultobj;
4604 wxRect *arg1 = (wxRect *) 0 ;
4605 int result;
4606 PyObject * obj0 = 0 ;
4607 char *kwnames[] = {
4608 (char *) "self", NULL
4609 };
4610
4611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4614 result = (int) ((arg1)->width);
4615
2f4c0a16 4616 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4617 return resultobj;
4618 fail:
4619 return NULL;
4620}
4621
4622
2f4c0a16 4623static PyObject *_wrap_Rect_height_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4624 PyObject *resultobj;
4625 wxRect *arg1 = (wxRect *) 0 ;
4626 int arg2 ;
4627 PyObject * obj0 = 0 ;
8edf1c75 4628 PyObject * obj1 = 0 ;
d14a1e28
RD
4629 char *kwnames[] = {
4630 (char *) "self",(char *) "height", NULL
4631 };
4632
8edf1c75 4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4634 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4635 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4636 arg2 = (int) SWIG_AsInt(obj1);
4637 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4638 if (arg1) (arg1)->height = arg2;
4639
4640 Py_INCREF(Py_None); resultobj = Py_None;
4641 return resultobj;
4642 fail:
4643 return NULL;
4644}
4645
4646
2f4c0a16 4647static PyObject *_wrap_Rect_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4648 PyObject *resultobj;
4649 wxRect *arg1 = (wxRect *) 0 ;
4650 int result;
4651 PyObject * obj0 = 0 ;
4652 char *kwnames[] = {
4653 (char *) "self", NULL
4654 };
4655
4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4657 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4658 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4659 result = (int) ((arg1)->height);
4660
2f4c0a16 4661 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4662 return resultobj;
4663 fail:
4664 return NULL;
4665}
4666
4667
2f4c0a16 4668static PyObject *_wrap_Rect_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4669 PyObject *resultobj;
4670 wxRect *arg1 = (wxRect *) 0 ;
4671 int arg2 = (int) 0 ;
4672 int arg3 = (int) 0 ;
4673 int arg4 = (int) 0 ;
4674 int arg5 = (int) 0 ;
4675 PyObject * obj0 = 0 ;
8edf1c75
RD
4676 PyObject * obj1 = 0 ;
4677 PyObject * obj2 = 0 ;
4678 PyObject * obj3 = 0 ;
4679 PyObject * obj4 = 0 ;
d14a1e28
RD
4680 char *kwnames[] = {
4681 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4682 };
4683
8edf1c75 4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
4685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 4687 if (obj1) {
2f4c0a16
RD
4688 arg2 = (int) SWIG_AsInt(obj1);
4689 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4690 }
4691 if (obj2) {
2f4c0a16
RD
4692 arg3 = (int) SWIG_AsInt(obj2);
4693 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4694 }
4695 if (obj3) {
2f4c0a16
RD
4696 arg4 = (int) SWIG_AsInt(obj3);
4697 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4698 }
4699 if (obj4) {
2f4c0a16
RD
4700 arg5 = (int) SWIG_AsInt(obj4);
4701 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4702 }
d14a1e28
RD
4703 {
4704 PyThreadState* __tstate = wxPyBeginAllowThreads();
4705 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4706
4707 wxPyEndAllowThreads(__tstate);
4708 if (PyErr_Occurred()) SWIG_fail;
4709 }
4710 Py_INCREF(Py_None); resultobj = Py_None;
4711 return resultobj;
4712 fail:
4713 return NULL;
4714}
4715
4716
2f4c0a16 4717static PyObject *_wrap_Rect_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4718 PyObject *resultobj;
4719 wxRect *arg1 = (wxRect *) 0 ;
4720 PyObject *result;
4721 PyObject * obj0 = 0 ;
4722 char *kwnames[] = {
4723 (char *) "self", NULL
4724 };
4725
423f194a 4726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4729 {
4730 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 4731 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
4732
4733 wxPyEndAllowThreads(__tstate);
4734 if (PyErr_Occurred()) SWIG_fail;
4735 }
4736 resultobj = result;
4737 return resultobj;
4738 fail:
4739 return NULL;
4740}
4741
4742
2f4c0a16 4743static PyObject * Rect_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
4744 PyObject *obj;
4745 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4746 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4747 Py_INCREF(obj);
4748 return Py_BuildValue((char *)"");
4749}
2f4c0a16 4750static PyObject *_wrap_IntersectRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4751 PyObject *resultobj;
4752 wxRect *arg1 = (wxRect *) 0 ;
4753 wxRect *arg2 = (wxRect *) 0 ;
4754 PyObject *result;
4755 PyObject * obj0 = 0 ;
4756 PyObject * obj1 = 0 ;
4757 char *kwnames[] = {
4758 (char *) "r1",(char *) "r2", NULL
4759 };
4760
4761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4764 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4765 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4766 {
4767 PyThreadState* __tstate = wxPyBeginAllowThreads();
4768 result = (PyObject *)wxIntersectRect(arg1,arg2);
4769
4770 wxPyEndAllowThreads(__tstate);
4771 if (PyErr_Occurred()) SWIG_fail;
4772 }
4773 resultobj = result;
4774 return resultobj;
4775 fail:
4776 return NULL;
4777}
4778
4779
2f4c0a16 4780static PyObject *_wrap_new_Point2D(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4781 PyObject *resultobj;
4782 double arg1 = (double) 0.0 ;
4783 double arg2 = (double) 0.0 ;
4784 wxPoint2D *result;
8edf1c75
RD
4785 PyObject * obj0 = 0 ;
4786 PyObject * obj1 = 0 ;
d14a1e28
RD
4787 char *kwnames[] = {
4788 (char *) "x",(char *) "y", NULL
4789 };
4790
8edf1c75
RD
4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4792 if (obj0) {
2f4c0a16
RD
4793 arg1 = (double) SWIG_AsDouble(obj0);
4794 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4795 }
4796 if (obj1) {
2f4c0a16
RD
4797 arg2 = (double) SWIG_AsDouble(obj1);
4798 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4799 }
d14a1e28
RD
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
2f4c0a16 4807 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4808 return resultobj;
4809 fail:
4810 return NULL;
4811}
4812
4813
2f4c0a16 4814static PyObject *_wrap_new_Point2DCopy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4815 PyObject *resultobj;
4816 wxPoint2D *arg1 = 0 ;
4817 wxPoint2D *result;
4818 wxPoint2D temp1 ;
4819 PyObject * obj0 = 0 ;
4820 char *kwnames[] = {
4821 (char *) "pt", NULL
4822 };
4823
4824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4825 {
4826 arg1 = &temp1;
4827 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4828 }
4829 {
4830 PyThreadState* __tstate = wxPyBeginAllowThreads();
4831 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4832
4833 wxPyEndAllowThreads(__tstate);
4834 if (PyErr_Occurred()) SWIG_fail;
4835 }
2f4c0a16 4836 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4837 return resultobj;
4838 fail:
4839 return NULL;
4840}
4841
4842
2f4c0a16 4843static PyObject *_wrap_new_Point2DFromPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4844 PyObject *resultobj;
4845 wxPoint *arg1 = 0 ;
4846 wxPoint2D *result;
4847 wxPoint temp1 ;
4848 PyObject * obj0 = 0 ;
4849 char *kwnames[] = {
4850 (char *) "pt", NULL
4851 };
4852
4853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4854 {
4855 arg1 = &temp1;
4856 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4857 }
4858 {
4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
4860 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4861
4862 wxPyEndAllowThreads(__tstate);
4863 if (PyErr_Occurred()) SWIG_fail;
4864 }
2f4c0a16 4865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4866 return resultobj;
4867 fail:
4868 return NULL;
4869}
4870
4871
2f4c0a16 4872static PyObject *_wrap_Point2D_GetFloor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4873 PyObject *resultobj;
4874 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4875 int *arg2 = (int *) 0 ;
4876 int *arg3 = (int *) 0 ;
4877 int temp2 ;
4878 int temp3 ;
4879 PyObject * obj0 = 0 ;
4880 char *kwnames[] = {
4881 (char *) "self", NULL
4882 };
4883
4884 arg2 = &temp2;
4885 arg3 = &temp3;
4886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4889 {
4890 PyThreadState* __tstate = wxPyBeginAllowThreads();
4891 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4892
4893 wxPyEndAllowThreads(__tstate);
4894 if (PyErr_Occurred()) SWIG_fail;
4895 }
4896 Py_INCREF(Py_None); resultobj = Py_None;
4897 {
4898 PyObject *o = PyInt_FromLong((long) (*arg2));
4899 resultobj = t_output_helper(resultobj,o);
4900 }
4901 {
4902 PyObject *o = PyInt_FromLong((long) (*arg3));
4903 resultobj = t_output_helper(resultobj,o);
4904 }
4905 return resultobj;
4906 fail:
4907 return NULL;
4908}
4909
4910
2f4c0a16 4911static PyObject *_wrap_Point2D_GetRounded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4912 PyObject *resultobj;
4913 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4914 int *arg2 = (int *) 0 ;
4915 int *arg3 = (int *) 0 ;
4916 int temp2 ;
4917 int temp3 ;
4918 PyObject * obj0 = 0 ;
4919 char *kwnames[] = {
4920 (char *) "self", NULL
4921 };
4922
4923 arg2 = &temp2;
4924 arg3 = &temp3;
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4928 {
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4931
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) SWIG_fail;
4934 }
4935 Py_INCREF(Py_None); resultobj = Py_None;
4936 {
4937 PyObject *o = PyInt_FromLong((long) (*arg2));
4938 resultobj = t_output_helper(resultobj,o);
4939 }
4940 {
4941 PyObject *o = PyInt_FromLong((long) (*arg3));
4942 resultobj = t_output_helper(resultobj,o);
4943 }
4944 return resultobj;
4945 fail:
4946 return NULL;
4947}
4948
4949
2f4c0a16 4950static PyObject *_wrap_Point2D_GetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4951 PyObject *resultobj;
4952 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4953 double result;
4954 PyObject * obj0 = 0 ;
4955 char *kwnames[] = {
4956 (char *) "self", NULL
4957 };
4958
4959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4962 {
4963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4964 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4965
4966 wxPyEndAllowThreads(__tstate);
4967 if (PyErr_Occurred()) SWIG_fail;
4968 }
2f4c0a16 4969 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4970 return resultobj;
4971 fail:
4972 return NULL;
4973}
4974
4975
2f4c0a16 4976static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4977 PyObject *resultobj;
4978 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4979 double result;
4980 PyObject * obj0 = 0 ;
4981 char *kwnames[] = {
4982 (char *) "self", NULL
4983 };
4984
4985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4988 {
4989 PyThreadState* __tstate = wxPyBeginAllowThreads();
4990 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4991
4992 wxPyEndAllowThreads(__tstate);
4993 if (PyErr_Occurred()) SWIG_fail;
4994 }
2f4c0a16 4995 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4996 return resultobj;
4997 fail:
4998 return NULL;
4999}
5000
5001
2f4c0a16 5002static PyObject *_wrap_Point2D_SetVectorLength(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5003 PyObject *resultobj;
5004 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5005 double arg2 ;
5006 PyObject * obj0 = 0 ;
8edf1c75 5007 PyObject * obj1 = 0 ;
d14a1e28
RD
5008 char *kwnames[] = {
5009 (char *) "self",(char *) "length", NULL
5010 };
5011
8edf1c75 5012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5015 arg2 = (double) SWIG_AsDouble(obj1);
5016 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5017 {
5018 PyThreadState* __tstate = wxPyBeginAllowThreads();
5019 (arg1)->SetVectorLength(arg2);
5020
5021 wxPyEndAllowThreads(__tstate);
5022 if (PyErr_Occurred()) SWIG_fail;
5023 }
5024 Py_INCREF(Py_None); resultobj = Py_None;
5025 return resultobj;
5026 fail:
5027 return NULL;
5028}
5029
5030
2f4c0a16 5031static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5032 PyObject *resultobj;
5033 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5034 double arg2 ;
5035 PyObject * obj0 = 0 ;
8edf1c75 5036 PyObject * obj1 = 0 ;
d14a1e28
RD
5037 char *kwnames[] = {
5038 (char *) "self",(char *) "degrees", NULL
5039 };
5040
8edf1c75 5041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5044 arg2 = (double) SWIG_AsDouble(obj1);
5045 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5046 {
5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5048 (arg1)->SetVectorAngle(arg2);
5049
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 Py_INCREF(Py_None); resultobj = Py_None;
5054 return resultobj;
5055 fail:
5056 return NULL;
5057}
5058
5059
2f4c0a16 5060static PyObject *_wrap_Point2D_GetDistance(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5061 PyObject *resultobj;
5062 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5063 wxPoint2D *arg2 = 0 ;
5064 double result;
5065 wxPoint2D temp2 ;
5066 PyObject * obj0 = 0 ;
5067 PyObject * obj1 = 0 ;
5068 char *kwnames[] = {
5069 (char *) "self",(char *) "pt", NULL
5070 };
5071
5072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5075 {
5076 arg2 = &temp2;
5077 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5078 }
5079 {
5080 PyThreadState* __tstate = wxPyBeginAllowThreads();
5081 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
5082
5083 wxPyEndAllowThreads(__tstate);
5084 if (PyErr_Occurred()) SWIG_fail;
5085 }
2f4c0a16 5086 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5087 return resultobj;
5088 fail:
5089 return NULL;
5090}
5091
5092
2f4c0a16 5093static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5094 PyObject *resultobj;
5095 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5096 wxPoint2D *arg2 = 0 ;
5097 double result;
5098 wxPoint2D temp2 ;
5099 PyObject * obj0 = 0 ;
5100 PyObject * obj1 = 0 ;
5101 char *kwnames[] = {
5102 (char *) "self",(char *) "pt", NULL
5103 };
5104
5105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5108 {
5109 arg2 = &temp2;
5110 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5111 }
5112 {
5113 PyThreadState* __tstate = wxPyBeginAllowThreads();
5114 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5115
5116 wxPyEndAllowThreads(__tstate);
5117 if (PyErr_Occurred()) SWIG_fail;
5118 }
2f4c0a16 5119 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5120 return resultobj;
5121 fail:
5122 return NULL;
5123}
5124
5125
2f4c0a16 5126static PyObject *_wrap_Point2D_GetDotProduct(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5127 PyObject *resultobj;
5128 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5129 wxPoint2D *arg2 = 0 ;
5130 double result;
5131 wxPoint2D temp2 ;
5132 PyObject * obj0 = 0 ;
5133 PyObject * obj1 = 0 ;
5134 char *kwnames[] = {
5135 (char *) "self",(char *) "vec", NULL
5136 };
5137
5138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5141 {
5142 arg2 = &temp2;
5143 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5144 }
5145 {
5146 PyThreadState* __tstate = wxPyBeginAllowThreads();
5147 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5148
5149 wxPyEndAllowThreads(__tstate);
5150 if (PyErr_Occurred()) SWIG_fail;
5151 }
2f4c0a16 5152 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5153 return resultobj;
5154 fail:
5155 return NULL;
5156}
5157
5158
2f4c0a16 5159static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5160 PyObject *resultobj;
5161 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5162 wxPoint2D *arg2 = 0 ;
5163 double result;
5164 wxPoint2D temp2 ;
5165 PyObject * obj0 = 0 ;
5166 PyObject * obj1 = 0 ;
5167 char *kwnames[] = {
5168 (char *) "self",(char *) "vec", NULL
5169 };
5170
5171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5174 {
5175 arg2 = &temp2;
5176 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5177 }
5178 {
5179 PyThreadState* __tstate = wxPyBeginAllowThreads();
5180 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5181
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
2f4c0a16 5185 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5186 return resultobj;
5187 fail:
5188 return NULL;
5189}
5190
5191
2f4c0a16 5192static PyObject *_wrap_Point2D___neg__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5193 PyObject *resultobj;
5194 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5195 wxPoint2D result;
5196 PyObject * obj0 = 0 ;
5197 char *kwnames[] = {
5198 (char *) "self", NULL
5199 };
5200
5201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5204 {
5205 PyThreadState* __tstate = wxPyBeginAllowThreads();
5206 result = (arg1)->operator -();
5207
5208 wxPyEndAllowThreads(__tstate);
5209 if (PyErr_Occurred()) SWIG_fail;
5210 }
5211 {
5212 wxPoint2D * resultptr;
5213 resultptr = new wxPoint2D((wxPoint2D &) result);
2f4c0a16 5214 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5215 }
5216 return resultobj;
5217 fail:
5218 return NULL;
5219}
5220
5221
2f4c0a16 5222static PyObject *_wrap_Point2D___iadd__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5223 PyObject *resultobj;
5224 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5225 wxPoint2D *arg2 = 0 ;
5226 wxPoint2D *result;
5227 wxPoint2D temp2 ;
5228 PyObject * obj0 = 0 ;
5229 PyObject * obj1 = 0 ;
5230 char *kwnames[] = {
5231 (char *) "self",(char *) "pt", NULL
5232 };
5233
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5237 {
5238 arg2 = &temp2;
5239 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5240 }
5241 {
5242 PyThreadState* __tstate = wxPyBeginAllowThreads();
5243 {
5244 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5245 result = (wxPoint2D *) &_result_ref;
5246 }
5247
5248 wxPyEndAllowThreads(__tstate);
5249 if (PyErr_Occurred()) SWIG_fail;
5250 }
2f4c0a16 5251 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5252 return resultobj;
5253 fail:
5254 return NULL;
5255}
5256
5257
2f4c0a16 5258static PyObject *_wrap_Point2D___isub__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5259 PyObject *resultobj;
5260 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5261 wxPoint2D *arg2 = 0 ;
5262 wxPoint2D *result;
5263 wxPoint2D temp2 ;
5264 PyObject * obj0 = 0 ;
5265 PyObject * obj1 = 0 ;
5266 char *kwnames[] = {
5267 (char *) "self",(char *) "pt", NULL
5268 };
5269
5270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5273 {
5274 arg2 = &temp2;
5275 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5276 }
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 {
5280 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5281 result = (wxPoint2D *) &_result_ref;
5282 }
5283
5284 wxPyEndAllowThreads(__tstate);
5285 if (PyErr_Occurred()) SWIG_fail;
5286 }
2f4c0a16 5287 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5288 return resultobj;
5289 fail:
5290 return NULL;
5291}
5292
5293
2f4c0a16 5294static PyObject *_wrap_Point2D___imul__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5295 PyObject *resultobj;
5296 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5297 wxPoint2D *arg2 = 0 ;
5298 wxPoint2D *result;
5299 wxPoint2D temp2 ;
5300 PyObject * obj0 = 0 ;
5301 PyObject * obj1 = 0 ;
5302 char *kwnames[] = {
5303 (char *) "self",(char *) "pt", NULL
5304 };
5305
5306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5309 {
5310 arg2 = &temp2;
5311 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5312 }
5313 {
5314 PyThreadState* __tstate = wxPyBeginAllowThreads();
5315 {
5316 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5317 result = (wxPoint2D *) &_result_ref;
5318 }
5319
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
2f4c0a16 5323 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5324 return resultobj;
5325 fail:
5326 return NULL;
5327}
5328
5329
2f4c0a16 5330static PyObject *_wrap_Point2D___idiv__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5331 PyObject *resultobj;
5332 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5333 wxPoint2D *arg2 = 0 ;
5334 wxPoint2D *result;
5335 wxPoint2D temp2 ;
5336 PyObject * obj0 = 0 ;
5337 PyObject * obj1 = 0 ;
5338 char *kwnames[] = {
5339 (char *) "self",(char *) "pt", NULL
5340 };
5341
5342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5345 {
5346 arg2 = &temp2;
5347 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5348 }
5349 {
5350 PyThreadState* __tstate = wxPyBeginAllowThreads();
5351 {
5352 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5353 result = (wxPoint2D *) &_result_ref;
5354 }
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
2f4c0a16 5359 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5360 return resultobj;
5361 fail:
5362 return NULL;
5363}
5364
5365
2f4c0a16 5366static PyObject *_wrap_Point2D___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5367 PyObject *resultobj;
5368 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5369 wxPoint2D *arg2 = 0 ;
5370 bool result;
5371 wxPoint2D temp2 ;
5372 PyObject * obj0 = 0 ;
5373 PyObject * obj1 = 0 ;
5374 char *kwnames[] = {
5375 (char *) "self",(char *) "pt", NULL
5376 };
5377
5378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5381 {
5382 arg2 = &temp2;
5383 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5384 }
5385 {
5386 PyThreadState* __tstate = wxPyBeginAllowThreads();
5387 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5388
5389 wxPyEndAllowThreads(__tstate);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 }
fbc46b20
RD
5392 {
5393 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5394 }
d14a1e28
RD
5395 return resultobj;
5396 fail:
5397 return NULL;
5398}
5399
5400
2f4c0a16 5401static PyObject *_wrap_Point2D___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5402 PyObject *resultobj;
5403 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5404 wxPoint2D *arg2 = 0 ;
5405 bool result;
5406 wxPoint2D temp2 ;
5407 PyObject * obj0 = 0 ;
5408 PyObject * obj1 = 0 ;
5409 char *kwnames[] = {
5410 (char *) "self",(char *) "pt", NULL
5411 };
5412
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5416 {
5417 arg2 = &temp2;
5418 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5419 }
5420 {
5421 PyThreadState* __tstate = wxPyBeginAllowThreads();
5422 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5423
5424 wxPyEndAllowThreads(__tstate);
5425 if (PyErr_Occurred()) SWIG_fail;
5426 }
fbc46b20
RD
5427 {
5428 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5429 }
d14a1e28
RD
5430 return resultobj;
5431 fail:
5432 return NULL;
5433}
5434
5435
2f4c0a16 5436static PyObject *_wrap_Point2D_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5437 PyObject *resultobj;
5438 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5439 double arg2 ;
5440 PyObject * obj0 = 0 ;
8edf1c75 5441 PyObject * obj1 = 0 ;
d14a1e28
RD
5442 char *kwnames[] = {
5443 (char *) "self",(char *) "m_x", NULL
5444 };
5445
8edf1c75 5446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5447 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5448 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5449 arg2 = (double) SWIG_AsDouble(obj1);
5450 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5451 if (arg1) (arg1)->m_x = arg2;
5452
5453 Py_INCREF(Py_None); resultobj = Py_None;
5454 return resultobj;
5455 fail:
5456 return NULL;
5457}
5458
5459
2f4c0a16 5460static PyObject *_wrap_Point2D_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5461 PyObject *resultobj;
5462 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5463 double result;
5464 PyObject * obj0 = 0 ;
5465 char *kwnames[] = {
5466 (char *) "self", NULL
5467 };
5468
5469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5472 result = (double) ((arg1)->m_x);
5473
2f4c0a16 5474 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5475 return resultobj;
5476 fail:
5477 return NULL;
5478}
5479
5480
2f4c0a16 5481static PyObject *_wrap_Point2D_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5482 PyObject *resultobj;
5483 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5484 double arg2 ;
5485 PyObject * obj0 = 0 ;
8edf1c75 5486 PyObject * obj1 = 0 ;
d14a1e28
RD
5487 char *kwnames[] = {
5488 (char *) "self",(char *) "m_y", NULL
5489 };
5490
8edf1c75 5491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5492 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5493 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5494 arg2 = (double) SWIG_AsDouble(obj1);
5495 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5496 if (arg1) (arg1)->m_y = arg2;
5497
5498 Py_INCREF(Py_None); resultobj = Py_None;
5499 return resultobj;
5500 fail:
5501 return NULL;
5502}
5503
5504
2f4c0a16 5505static PyObject *_wrap_Point2D_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5506 PyObject *resultobj;
5507 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5508 double result;
5509 PyObject * obj0 = 0 ;
5510 char *kwnames[] = {
5511 (char *) "self", NULL
5512 };
5513
5514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5517 result = (double) ((arg1)->m_y);
5518
2f4c0a16 5519 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5520 return resultobj;
5521 fail:
5522 return NULL;
5523}
5524
5525
2f4c0a16 5526static PyObject *_wrap_Point2D_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5527 PyObject *resultobj;
5528 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5529 double arg2 = (double) 0 ;
5530 double arg3 = (double) 0 ;
5531 PyObject * obj0 = 0 ;
8edf1c75
RD
5532 PyObject * obj1 = 0 ;
5533 PyObject * obj2 = 0 ;
d14a1e28
RD
5534 char *kwnames[] = {
5535 (char *) "self",(char *) "x",(char *) "y", NULL
5536 };
5537
8edf1c75 5538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5541 if (obj1) {
2f4c0a16
RD
5542 arg2 = (double) SWIG_AsDouble(obj1);
5543 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5544 }
5545 if (obj2) {
2f4c0a16
RD
5546 arg3 = (double) SWIG_AsDouble(obj2);
5547 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5548 }
d14a1e28
RD
5549 {
5550 PyThreadState* __tstate = wxPyBeginAllowThreads();
5551 wxPoint2D_Set(arg1,arg2,arg3);
5552
5553 wxPyEndAllowThreads(__tstate);
5554 if (PyErr_Occurred()) SWIG_fail;
5555 }
5556 Py_INCREF(Py_None); resultobj = Py_None;
5557 return resultobj;
5558 fail:
5559 return NULL;
5560}
5561
5562
2f4c0a16 5563static PyObject *_wrap_Point2D_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5564 PyObject *resultobj;
5565 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5566 PyObject *result;
5567 PyObject * obj0 = 0 ;
5568 char *kwnames[] = {
5569 (char *) "self", NULL
5570 };
5571
423f194a 5572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5575 {
5576 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 5577 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
5578
5579 wxPyEndAllowThreads(__tstate);
5580 if (PyErr_Occurred()) SWIG_fail;
5581 }
5582 resultobj = result;
5583 return resultobj;
5584 fail:
5585 return NULL;
5586}
5587
5588
2f4c0a16 5589static PyObject * Point2D_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
5590 PyObject *obj;
5591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5592 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5593 Py_INCREF(obj);
5594 return Py_BuildValue((char *)"");
5595}
8edf1c75 5596static int _wrap_DefaultPosition_set(PyObject *) {
d14a1e28
RD
5597 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5598 return 1;
5599}
5600
5601
5602static PyObject *_wrap_DefaultPosition_get() {
5603 PyObject *pyobj;
5604
2f4c0a16 5605 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
5606 return pyobj;
5607}
5608
5609
8edf1c75 5610static int _wrap_DefaultSize_set(PyObject *) {
d14a1e28
RD
5611 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5612 return 1;
5613}
5614
5615
5616static PyObject *_wrap_DefaultSize_get() {
5617 PyObject *pyobj;
5618
2f4c0a16 5619 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
5620 return pyobj;
5621}
5622
5623
2f4c0a16 5624static PyObject *_wrap_new_InputStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5625 PyObject *resultobj;
5626 PyObject *arg1 = (PyObject *) 0 ;
5627 wxPyInputStream *result;
5628 PyObject * obj0 = 0 ;
5629 char *kwnames[] = {
5630 (char *) "p", NULL
5631 };
5632
5633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5634 arg1 = obj0;
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
2f4c0a16 5642 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
d14a1e28
RD
5643 return resultobj;
5644 fail:
5645 return NULL;
5646}
5647
5648
2f4c0a16 5649static PyObject *_wrap_InputStream_close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5650 PyObject *resultobj;
5651 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5652 PyObject * obj0 = 0 ;
5653 char *kwnames[] = {
5654 (char *) "self", NULL
5655 };
5656
5657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5660 {
5661 PyThreadState* __tstate = wxPyBeginAllowThreads();
5662 (arg1)->close();
5663
5664 wxPyEndAllowThreads(__tstate);
5665 if (PyErr_Occurred()) SWIG_fail;
5666 }
5667 Py_INCREF(Py_None); resultobj = Py_None;
5668 return resultobj;
5669 fail:
5670 return NULL;
5671}
5672
5673
2f4c0a16 5674static PyObject *_wrap_InputStream_flush(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5675 PyObject *resultobj;
5676 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5677 PyObject * obj0 = 0 ;
5678 char *kwnames[] = {
5679 (char *) "self", NULL
5680 };
5681
5682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5685 {
5686 PyThreadState* __tstate = wxPyBeginAllowThreads();
5687 (arg1)->flush();
5688
5689 wxPyEndAllowThreads(__tstate);
5690 if (PyErr_Occurred()) SWIG_fail;
5691 }
5692 Py_INCREF(Py_None); resultobj = Py_None;
5693 return resultobj;
5694 fail:
5695 return NULL;
5696}
5697
5698
2f4c0a16 5699static PyObject *_wrap_InputStream_eof(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5700 PyObject *resultobj;
5701 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5702 bool result;
5703 PyObject * obj0 = 0 ;
5704 char *kwnames[] = {
5705 (char *) "self", NULL
5706 };
5707
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5711 {
5712 PyThreadState* __tstate = wxPyBeginAllowThreads();
5713 result = (bool)(arg1)->eof();
5714
5715 wxPyEndAllowThreads(__tstate);
5716 if (PyErr_Occurred()) SWIG_fail;
5717 }
fbc46b20
RD
5718 {
5719 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5720 }
d14a1e28
RD
5721 return resultobj;
5722 fail:
5723 return NULL;
5724}
5725
5726
2f4c0a16 5727static PyObject *_wrap_InputStream_read(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5728 PyObject *resultobj;
5729 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5730 int arg2 = (int) -1 ;
5731 PyObject *result;
5732 PyObject * obj0 = 0 ;
8edf1c75 5733 PyObject * obj1 = 0 ;
d14a1e28
RD
5734 char *kwnames[] = {
5735 (char *) "self",(char *) "size", NULL
5736 };
5737
8edf1c75 5738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5741 if (obj1) {
2f4c0a16
RD
5742 arg2 = (int) SWIG_AsInt(obj1);
5743 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5744 }
d14a1e28
RD
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 result = (PyObject *)(arg1)->read(arg2);
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 resultobj = result;
5753 return resultobj;
5754 fail:
5755 return NULL;
5756}
5757
5758
2f4c0a16 5759static PyObject *_wrap_InputStream_readline(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5760 PyObject *resultobj;
5761 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5762 int arg2 = (int) -1 ;
5763 PyObject *result;
5764 PyObject * obj0 = 0 ;
8edf1c75 5765 PyObject * obj1 = 0 ;
d14a1e28
RD
5766 char *kwnames[] = {
5767 (char *) "self",(char *) "size", NULL
5768 };
5769
8edf1c75 5770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5771 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5772 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5773 if (obj1) {
2f4c0a16
RD
5774 arg2 = (int) SWIG_AsInt(obj1);
5775 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5776 }
d14a1e28
RD
5777 {
5778 PyThreadState* __tstate = wxPyBeginAllowThreads();
5779 result = (PyObject *)(arg1)->readline(arg2);
5780
5781 wxPyEndAllowThreads(__tstate);
5782 if (PyErr_Occurred()) SWIG_fail;
5783 }
5784 resultobj = result;
5785 return resultobj;
5786 fail:
5787 return NULL;
5788}
5789
5790
2f4c0a16 5791static PyObject *_wrap_InputStream_readlines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5792 PyObject *resultobj;
5793 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5794 int arg2 = (int) -1 ;
5795 PyObject *result;
5796 PyObject * obj0 = 0 ;
8edf1c75 5797 PyObject * obj1 = 0 ;
d14a1e28
RD
5798 char *kwnames[] = {
5799 (char *) "self",(char *) "sizehint", NULL
5800 };
5801
8edf1c75 5802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5805 if (obj1) {
2f4c0a16
RD
5806 arg2 = (int) SWIG_AsInt(obj1);
5807 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5808 }
d14a1e28
RD
5809 {
5810 PyThreadState* __tstate = wxPyBeginAllowThreads();
5811 result = (PyObject *)(arg1)->readlines(arg2);
5812
5813 wxPyEndAllowThreads(__tstate);
5814 if (PyErr_Occurred()) SWIG_fail;
5815 }
5816 resultobj = result;
5817 return resultobj;
5818 fail:
5819 return NULL;
5820}
5821
5822
2f4c0a16 5823static PyObject *_wrap_InputStream_seek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5824 PyObject *resultobj;
5825 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5826 int arg2 ;
5827 int arg3 = (int) 0 ;
5828 PyObject * obj0 = 0 ;
8edf1c75
RD
5829 PyObject * obj1 = 0 ;
5830 PyObject * obj2 = 0 ;
d14a1e28
RD
5831 char *kwnames[] = {
5832 (char *) "self",(char *) "offset",(char *) "whence", NULL
5833 };
5834
8edf1c75 5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5838 arg2 = (int) SWIG_AsInt(obj1);
5839 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5840 if (obj2) {
2f4c0a16
RD
5841 arg3 = (int) SWIG_AsInt(obj2);
5842 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5843 }
d14a1e28
RD
5844 {
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 (arg1)->seek(arg2,arg3);
5847
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 Py_INCREF(Py_None); resultobj = Py_None;
5852 return resultobj;
5853 fail:
5854 return NULL;
5855}
5856
5857
2f4c0a16 5858static PyObject *_wrap_InputStream_tell(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5859 PyObject *resultobj;
5860 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5861 int result;
5862 PyObject * obj0 = 0 ;
5863 char *kwnames[] = {
5864 (char *) "self", NULL
5865 };
5866
5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 result = (int)(arg1)->tell();
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
2f4c0a16 5877 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5878 return resultobj;
5879 fail:
5880 return NULL;
5881}
5882
5883
2f4c0a16 5884static PyObject *_wrap_InputStream_Peek(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5885 PyObject *resultobj;
5886 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5887 char result;
5888 PyObject * obj0 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5896 {
5897 PyThreadState* __tstate = wxPyBeginAllowThreads();
5898 result = (char)(arg1)->Peek();
5899
5900 wxPyEndAllowThreads(__tstate);
5901 if (PyErr_Occurred()) SWIG_fail;
5902 }
2f4c0a16 5903 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5904 return resultobj;
5905 fail:
5906 return NULL;
5907}
5908
5909
2f4c0a16 5910static PyObject *_wrap_InputStream_GetC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5911 PyObject *resultobj;
5912 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5913 char result;
5914 PyObject * obj0 = 0 ;
5915 char *kwnames[] = {
5916 (char *) "self", NULL
5917 };
5918
5919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5922 {
5923 PyThreadState* __tstate = wxPyBeginAllowThreads();
5924 result = (char)(arg1)->GetC();
5925
5926 wxPyEndAllowThreads(__tstate);
5927 if (PyErr_Occurred()) SWIG_fail;
5928 }
2f4c0a16 5929 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5930 return resultobj;
5931 fail:
5932 return NULL;
5933}
5934
5935
2f4c0a16 5936static PyObject *_wrap_InputStream_LastRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5937 PyObject *resultobj;
5938 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5939 size_t result;
5940 PyObject * obj0 = 0 ;
5941 char *kwnames[] = {
5942 (char *) "self", NULL
5943 };
5944
5945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5948 {
5949 PyThreadState* __tstate = wxPyBeginAllowThreads();
5950 result = (size_t)(arg1)->LastRead();
5951
5952 wxPyEndAllowThreads(__tstate);
5953 if (PyErr_Occurred()) SWIG_fail;
5954 }
2f4c0a16 5955 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
5956 return resultobj;
5957 fail:
5958 return NULL;
5959}
5960
5961
2f4c0a16 5962static PyObject *_wrap_InputStream_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5963 PyObject *resultobj;
5964 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5965 bool result;
5966 PyObject * obj0 = 0 ;
5967 char *kwnames[] = {
5968 (char *) "self", NULL
5969 };
5970
5971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5974 {
5975 PyThreadState* __tstate = wxPyBeginAllowThreads();
5976 result = (bool)(arg1)->CanRead();
5977
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
fbc46b20
RD
5981 {
5982 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5983 }
d14a1e28
RD
5984 return resultobj;
5985 fail:
5986 return NULL;
5987}
5988
5989
2f4c0a16 5990static PyObject *_wrap_InputStream_Eof(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5991 PyObject *resultobj;
5992 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5993 bool result;
5994 PyObject * obj0 = 0 ;
5995 char *kwnames[] = {
5996 (char *) "self", NULL
5997 };
5998
5999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6000 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6001 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6002 {
6003 PyThreadState* __tstate = wxPyBeginAllowThreads();
6004 result = (bool)(arg1)->Eof();
6005
6006 wxPyEndAllowThreads(__tstate);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 }
fbc46b20
RD
6009 {
6010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6011 }
d14a1e28
RD
6012 return resultobj;
6013 fail:
6014 return NULL;
6015}
6016
6017
2f4c0a16 6018static PyObject *_wrap_InputStream_Ungetch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6019 PyObject *resultobj;
6020 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6021 char arg2 ;
6022 bool result;
6023 PyObject * obj0 = 0 ;
8edf1c75 6024 PyObject * obj1 = 0 ;
d14a1e28
RD
6025 char *kwnames[] = {
6026 (char *) "self",(char *) "c", NULL
6027 };
6028
8edf1c75 6029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6032 arg2 = (char) SWIG_AsChar(obj1);
6033 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6034 {
6035 PyThreadState* __tstate = wxPyBeginAllowThreads();
6036 result = (bool)(arg1)->Ungetch(arg2);
6037
6038 wxPyEndAllowThreads(__tstate);
6039 if (PyErr_Occurred()) SWIG_fail;
6040 }
fbc46b20
RD
6041 {
6042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6043 }
d14a1e28
RD
6044 return resultobj;
6045 fail:
6046 return NULL;
6047}
6048
6049
2f4c0a16 6050static PyObject *_wrap_InputStream_SeekI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6051 PyObject *resultobj;
6052 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6053 long arg2 ;
6054 int arg3 = (int) wxFromStart ;
6055 long result;
6056 PyObject * obj0 = 0 ;
8edf1c75
RD
6057 PyObject * obj1 = 0 ;
6058 PyObject * obj2 = 0 ;
d14a1e28
RD
6059 char *kwnames[] = {
6060 (char *) "self",(char *) "pos",(char *) "mode", NULL
6061 };
6062
8edf1c75 6063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6066 arg2 = (long) SWIG_AsLong(obj1);
6067 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6068 if (obj2) {
2f4c0a16
RD
6069 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
6070 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6071 }
d14a1e28
RD
6072 {
6073 PyThreadState* __tstate = wxPyBeginAllowThreads();
6074 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
6075
6076 wxPyEndAllowThreads(__tstate);
6077 if (PyErr_Occurred()) SWIG_fail;
6078 }
2f4c0a16 6079 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6080 return resultobj;
6081 fail:
6082 return NULL;
6083}
6084
6085
2f4c0a16 6086static PyObject *_wrap_InputStream_TellI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6087 PyObject *resultobj;
6088 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
6089 long result;
6090 PyObject * obj0 = 0 ;
6091 char *kwnames[] = {
6092 (char *) "self", NULL
6093 };
6094
6095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
6097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6098 {
6099 PyThreadState* __tstate = wxPyBeginAllowThreads();
6100 result = (long)(arg1)->TellI();
6101
6102 wxPyEndAllowThreads(__tstate);
6103 if (PyErr_Occurred()) SWIG_fail;
6104 }
2f4c0a16 6105 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
6106 return resultobj;
6107 fail:
6108 return NULL;
6109}
6110
6111
2f4c0a16 6112static PyObject * InputStream_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6113 PyObject *obj;
6114 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6115 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6116 Py_INCREF(obj);
6117 return Py_BuildValue((char *)"");
6118}
2f4c0a16 6119static PyObject *_wrap_OutputStream_write(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6120 PyObject *resultobj;
6121 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6122 PyObject *arg2 = (PyObject *) 0 ;
6123 PyObject * obj0 = 0 ;
6124 PyObject * obj1 = 0 ;
6125 char *kwnames[] = {
6126 (char *) "self",(char *) "obj", NULL
6127 };
6128
6129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6132 arg2 = obj1;
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 wxOutputStream_write(arg1,arg2);
6136
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 }
6140 Py_INCREF(Py_None); resultobj = Py_None;
6141 return resultobj;
6142 fail:
6143 return NULL;
6144}
6145
6146
2f4c0a16 6147static PyObject * OutputStream_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6148 PyObject *obj;
6149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6150 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6151 Py_INCREF(obj);
6152 return Py_BuildValue((char *)"");
6153}
2f4c0a16 6154static PyObject *_wrap_new_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6155 PyObject *resultobj;
6156 wxInputStream *arg1 = (wxInputStream *) 0 ;
6157 wxString *arg2 = 0 ;
6158 wxString *arg3 = 0 ;
6159 wxString *arg4 = 0 ;
6160 wxDateTime arg5 ;
6161 wxFSFile *result;
6162 wxPyInputStream *temp1 ;
6163 bool created1 ;
423f194a
RD
6164 bool temp2 = False ;
6165 bool temp3 = False ;
6166 bool temp4 = False ;
d14a1e28
RD
6167 wxDateTime *argp5 ;
6168 PyObject * obj0 = 0 ;
6169 PyObject * obj1 = 0 ;
6170 PyObject * obj2 = 0 ;
6171 PyObject * obj3 = 0 ;
6172 PyObject * obj4 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6175 };
6176
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6178 {
6179 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6180 arg1 = temp1->m_wxis;
423f194a 6181 created1 = False;
d14a1e28
RD
6182 } else {
6183 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 6184 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
6185 if (arg1 == NULL) {
6186 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6187 SWIG_fail;
6188 }
423f194a 6189 created1 = True;
d14a1e28
RD
6190 }
6191 }
6192 {
6193 arg2 = wxString_in_helper(obj1);
6194 if (arg2 == NULL) SWIG_fail;
423f194a 6195 temp2 = True;
d14a1e28
RD
6196 }
6197 {
6198 arg3 = wxString_in_helper(obj2);
6199 if (arg3 == NULL) SWIG_fail;
423f194a 6200 temp3 = True;
d14a1e28
RD
6201 }
6202 {
6203 arg4 = wxString_in_helper(obj3);
6204 if (arg4 == NULL) SWIG_fail;
423f194a 6205 temp4 = True;
d14a1e28 6206 }
2f4c0a16
RD
6207 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6208 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6209 arg5 = *argp5;
d14a1e28
RD
6210 {
6211 PyThreadState* __tstate = wxPyBeginAllowThreads();
6212 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6213
6214 wxPyEndAllowThreads(__tstate);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 {
6218 resultobj = wxPyMake_wxObject(result);
6219 }
6220 {
6221 if (created1)
6222 delete arg1;
6223 }
6224 {
6225 if (temp2)
6226 delete arg2;
6227 }
6228 {
6229 if (temp3)
6230 delete arg3;
6231 }
6232 {
6233 if (temp4)
6234 delete arg4;
6235 }
6236 return resultobj;
6237 fail:
6238 {
6239 if (created1)
6240 delete arg1;
6241 }
6242 {
6243 if (temp2)
6244 delete arg2;
6245 }
6246 {
6247 if (temp3)
6248 delete arg3;
6249 }
6250 {
6251 if (temp4)
6252 delete arg4;
6253 }
6254 return NULL;
6255}
6256
6257
2f4c0a16 6258static PyObject *_wrap_delete_FSFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6259 PyObject *resultobj;
6260 wxFSFile *arg1 = (wxFSFile *) 0 ;
6261 PyObject * obj0 = 0 ;
6262 char *kwnames[] = {
6263 (char *) "self", NULL
6264 };
6265
6266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6269 {
6270 PyThreadState* __tstate = wxPyBeginAllowThreads();
6271 delete arg1;
6272
6273 wxPyEndAllowThreads(__tstate);
6274 if (PyErr_Occurred()) SWIG_fail;
6275 }
6276 Py_INCREF(Py_None); resultobj = Py_None;
6277 return resultobj;
6278 fail:
6279 return NULL;
6280}
6281
6282
2f4c0a16 6283static PyObject *_wrap_FSFile_GetStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6284 PyObject *resultobj;
6285 wxFSFile *arg1 = (wxFSFile *) 0 ;
6286 wxInputStream *result;
6287 PyObject * obj0 = 0 ;
6288 char *kwnames[] = {
6289 (char *) "self", NULL
6290 };
6291
6292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6295 {
6296 PyThreadState* __tstate = wxPyBeginAllowThreads();
6297 result = (wxInputStream *)(arg1)->GetStream();
6298
6299 wxPyEndAllowThreads(__tstate);
6300 if (PyErr_Occurred()) SWIG_fail;
6301 }
6302 {
6303 wxPyInputStream * _ptr = NULL;
6304
6305 if (result) {
6306 _ptr = new wxPyInputStream(result);
6307 }
423f194a 6308 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
6309 }
6310 return resultobj;
6311 fail:
6312 return NULL;
6313}
6314
6315
2f4c0a16 6316static PyObject *_wrap_FSFile_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
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_GetMimeType",kwnames,&obj0)) goto fail;
2f4c0a16
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)->GetMimeType();
6332 result = (wxString *) &_result_ref;
6333 }
6334
6335 wxPyEndAllowThreads(__tstate);
6336 if (PyErr_Occurred()) SWIG_fail;
6337 }
0f774bef
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
2f4c0a16 6351static PyObject *_wrap_FSFile_GetLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6352 PyObject *resultobj;
6353 wxFSFile *arg1 = (wxFSFile *) 0 ;
6354 wxString *result;
6355 PyObject * obj0 = 0 ;
6356 char *kwnames[] = {
6357 (char *) "self", NULL
6358 };
6359
6360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
2f4c0a16
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 {
6366 wxString const &_result_ref = (arg1)->GetLocation();
6367 result = (wxString *) &_result_ref;
6368 }
6369
6370 wxPyEndAllowThreads(__tstate);
6371 if (PyErr_Occurred()) SWIG_fail;
6372 }
0f774bef
RD
6373 {
6374#if wxUSE_UNICODE
6375 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6376#else
6377 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6378#endif
6379 }
d14a1e28
RD
6380 return resultobj;
6381 fail:
6382 return NULL;
6383}
6384
6385
2f4c0a16 6386static PyObject *_wrap_FSFile_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6387 PyObject *resultobj;
6388 wxFSFile *arg1 = (wxFSFile *) 0 ;
6389 wxString *result;
6390 PyObject * obj0 = 0 ;
6391 char *kwnames[] = {
6392 (char *) "self", NULL
6393 };
6394
6395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6396 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6397 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6398 {
6399 PyThreadState* __tstate = wxPyBeginAllowThreads();
6400 {
6401 wxString const &_result_ref = (arg1)->GetAnchor();
6402 result = (wxString *) &_result_ref;
6403 }
6404
6405 wxPyEndAllowThreads(__tstate);
6406 if (PyErr_Occurred()) SWIG_fail;
6407 }
0f774bef
RD
6408 {
6409#if wxUSE_UNICODE
6410 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6411#else
6412 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6413#endif
6414 }
d14a1e28
RD
6415 return resultobj;
6416 fail:
6417 return NULL;
6418}
6419
6420
2f4c0a16 6421static PyObject *_wrap_FSFile_GetModificationTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6422 PyObject *resultobj;
6423 wxFSFile *arg1 = (wxFSFile *) 0 ;
6424 wxDateTime result;
6425 PyObject * obj0 = 0 ;
6426 char *kwnames[] = {
6427 (char *) "self", NULL
6428 };
6429
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6433 {
6434 PyThreadState* __tstate = wxPyBeginAllowThreads();
6435 result = (arg1)->GetModificationTime();
6436
6437 wxPyEndAllowThreads(__tstate);
6438 if (PyErr_Occurred()) SWIG_fail;
6439 }
6440 {
6441 wxDateTime * resultptr;
6442 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 6443 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
6444 }
6445 return resultobj;
6446 fail:
6447 return NULL;
6448}
6449
6450
2f4c0a16 6451static PyObject * FSFile_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6452 PyObject *obj;
6453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6454 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6455 Py_INCREF(obj);
6456 return Py_BuildValue((char *)"");
6457}
2f4c0a16 6458static PyObject * CPPFileSystemHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6459 PyObject *obj;
6460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6461 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6462 Py_INCREF(obj);
6463 return Py_BuildValue((char *)"");
6464}
2f4c0a16 6465static PyObject *_wrap_new_FileSystemHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6466 PyObject *resultobj;
6467 wxPyFileSystemHandler *result;
6468 char *kwnames[] = {
6469 NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
2f4c0a16 6480 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
d14a1e28
RD
6481 return resultobj;
6482 fail:
6483 return NULL;
6484}
6485
6486
2f4c0a16 6487static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6488 PyObject *resultobj;
6489 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6490 PyObject *arg2 = (PyObject *) 0 ;
6491 PyObject *arg3 = (PyObject *) 0 ;
6492 PyObject * obj0 = 0 ;
6493 PyObject * obj1 = 0 ;
6494 PyObject * obj2 = 0 ;
6495 char *kwnames[] = {
6496 (char *) "self",(char *) "self",(char *) "_class", NULL
6497 };
6498
6499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6502 arg2 = obj1;
6503 arg3 = obj2;
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 (arg1)->_setCallbackInfo(arg2,arg3);
6507
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 Py_INCREF(Py_None); resultobj = Py_None;
6512 return resultobj;
6513 fail:
6514 return NULL;
6515}
6516
6517
2f4c0a16 6518static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6519 PyObject *resultobj;
6520 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6521 wxString *arg2 = 0 ;
6522 bool result;
423f194a 6523 bool temp2 = False ;
d14a1e28
RD
6524 PyObject * obj0 = 0 ;
6525 PyObject * obj1 = 0 ;
6526 char *kwnames[] = {
6527 (char *) "self",(char *) "location", NULL
6528 };
6529
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6533 {
6534 arg2 = wxString_in_helper(obj1);
6535 if (arg2 == NULL) SWIG_fail;
423f194a 6536 temp2 = True;
d14a1e28
RD
6537 }
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6541
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
fbc46b20
RD
6545 {
6546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6547 }
d14a1e28
RD
6548 {
6549 if (temp2)
6550 delete arg2;
6551 }
6552 return resultobj;
6553 fail:
6554 {
6555 if (temp2)
6556 delete arg2;
6557 }
6558 return NULL;
6559}
6560
6561
2f4c0a16 6562static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6563 PyObject *resultobj;
6564 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6565 wxFileSystem *arg2 = 0 ;
6566 wxString *arg3 = 0 ;
6567 wxFSFile *result;
423f194a 6568 bool temp3 = False ;
d14a1e28
RD
6569 PyObject * obj0 = 0 ;
6570 PyObject * obj1 = 0 ;
6571 PyObject * obj2 = 0 ;
6572 char *kwnames[] = {
6573 (char *) "self",(char *) "fs",(char *) "location", NULL
6574 };
6575
6576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6579 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6580 SWIG_POINTER_EXCEPTION | 0)) == -1)
6581 SWIG_fail;
d14a1e28 6582 if (arg2 == NULL) {
2f4c0a16
RD
6583 PyErr_SetString(PyExc_TypeError,"null reference");
6584 SWIG_fail;
d14a1e28
RD
6585 }
6586 {
6587 arg3 = wxString_in_helper(obj2);
6588 if (arg3 == NULL) SWIG_fail;
423f194a 6589 temp3 = True;
d14a1e28
RD
6590 }
6591 {
6592 PyThreadState* __tstate = wxPyBeginAllowThreads();
6593 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6594
6595 wxPyEndAllowThreads(__tstate);
6596 if (PyErr_Occurred()) SWIG_fail;
6597 }
6598 {
6599 resultobj = wxPyMake_wxObject(result);
6600 }
6601 {
6602 if (temp3)
6603 delete arg3;
6604 }
6605 return resultobj;
6606 fail:
6607 {
6608 if (temp3)
6609 delete arg3;
6610 }
6611 return NULL;
6612}
6613
6614
2f4c0a16 6615static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6616 PyObject *resultobj;
6617 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6618 wxString *arg2 = 0 ;
6619 int arg3 = (int) 0 ;
6620 wxString result;
423f194a 6621 bool temp2 = False ;
d14a1e28
RD
6622 PyObject * obj0 = 0 ;
6623 PyObject * obj1 = 0 ;
8edf1c75 6624 PyObject * obj2 = 0 ;
d14a1e28
RD
6625 char *kwnames[] = {
6626 (char *) "self",(char *) "spec",(char *) "flags", NULL
6627 };
6628
8edf1c75 6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6632 {
6633 arg2 = wxString_in_helper(obj1);
6634 if (arg2 == NULL) SWIG_fail;
423f194a 6635 temp2 = True;
d14a1e28 6636 }
8edf1c75 6637 if (obj2) {
2f4c0a16
RD
6638 arg3 = (int) SWIG_AsInt(obj2);
6639 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6640 }
d14a1e28
RD
6641 {
6642 PyThreadState* __tstate = wxPyBeginAllowThreads();
6643 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6644
6645 wxPyEndAllowThreads(__tstate);
6646 if (PyErr_Occurred()) SWIG_fail;
6647 }
6648 {
6649#if wxUSE_UNICODE
6650 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6651#else
6652 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6653#endif
6654 }
6655 {
6656 if (temp2)
6657 delete arg2;
6658 }
6659 return resultobj;
6660 fail:
6661 {
6662 if (temp2)
6663 delete arg2;
6664 }
6665 return NULL;
6666}
6667
6668
2f4c0a16 6669static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6670 PyObject *resultobj;
6671 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6672 wxString result;
6673 PyObject * obj0 = 0 ;
6674 char *kwnames[] = {
6675 (char *) "self", NULL
6676 };
6677
6678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 result = (arg1)->FindNext();
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 {
6689#if wxUSE_UNICODE
6690 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6691#else
6692 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6693#endif
6694 }
6695 return resultobj;
6696 fail:
6697 return NULL;
6698}
6699
6700
2f4c0a16 6701static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6702 PyObject *resultobj;
6703 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6704 wxString *arg2 = 0 ;
6705 wxString result;
423f194a 6706 bool temp2 = False ;
d14a1e28
RD
6707 PyObject * obj0 = 0 ;
6708 PyObject * obj1 = 0 ;
6709 char *kwnames[] = {
6710 (char *) "self",(char *) "location", NULL
6711 };
6712
6713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6716 {
6717 arg2 = wxString_in_helper(obj1);
6718 if (arg2 == NULL) SWIG_fail;
423f194a 6719 temp2 = True;
d14a1e28
RD
6720 }
6721 {
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
6723 result = (arg1)->GetProtocol((wxString const &)*arg2);
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 {
6729#if wxUSE_UNICODE
6730 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6731#else
6732 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6733#endif
6734 }
6735 {
6736 if (temp2)
6737 delete arg2;
6738 }
6739 return resultobj;
6740 fail:
6741 {
6742 if (temp2)
6743 delete arg2;
6744 }
6745 return NULL;
6746}
6747
6748
2f4c0a16 6749static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6750 PyObject *resultobj;
6751 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6752 wxString *arg2 = 0 ;
6753 wxString result;
423f194a 6754 bool temp2 = False ;
d14a1e28
RD
6755 PyObject * obj0 = 0 ;
6756 PyObject * obj1 = 0 ;
6757 char *kwnames[] = {
6758 (char *) "self",(char *) "location", NULL
6759 };
6760
6761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6764 {
6765 arg2 = wxString_in_helper(obj1);
6766 if (arg2 == NULL) SWIG_fail;
423f194a 6767 temp2 = True;
d14a1e28
RD
6768 }
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 {
6777#if wxUSE_UNICODE
6778 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6779#else
6780 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6781#endif
6782 }
6783 {
6784 if (temp2)
6785 delete arg2;
6786 }
6787 return resultobj;
6788 fail:
6789 {
6790 if (temp2)
6791 delete arg2;
6792 }
6793 return NULL;
6794}
6795
6796
2f4c0a16 6797static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6798 PyObject *resultobj;
6799 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6800 wxString *arg2 = 0 ;
6801 wxString result;
423f194a 6802 bool temp2 = False ;
d14a1e28
RD
6803 PyObject * obj0 = 0 ;
6804 PyObject * obj1 = 0 ;
6805 char *kwnames[] = {
6806 (char *) "self",(char *) "location", NULL
6807 };
6808
6809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6812 {
6813 arg2 = wxString_in_helper(obj1);
6814 if (arg2 == NULL) SWIG_fail;
423f194a 6815 temp2 = True;
d14a1e28
RD
6816 }
6817 {
6818 PyThreadState* __tstate = wxPyBeginAllowThreads();
6819 result = (arg1)->GetAnchor((wxString const &)*arg2);
6820
6821 wxPyEndAllowThreads(__tstate);
6822 if (PyErr_Occurred()) SWIG_fail;
6823 }
6824 {
6825#if wxUSE_UNICODE
6826 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6827#else
6828 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6829#endif
6830 }
6831 {
6832 if (temp2)
6833 delete arg2;
6834 }
6835 return resultobj;
6836 fail:
6837 {
6838 if (temp2)
6839 delete arg2;
6840 }
6841 return NULL;
6842}
6843
6844
2f4c0a16 6845static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6846 PyObject *resultobj;
6847 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6848 wxString *arg2 = 0 ;
6849 wxString result;
423f194a 6850 bool temp2 = False ;
d14a1e28
RD
6851 PyObject * obj0 = 0 ;
6852 PyObject * obj1 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "self",(char *) "location", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6860 {
6861 arg2 = wxString_in_helper(obj1);
6862 if (arg2 == NULL) SWIG_fail;
423f194a 6863 temp2 = True;
d14a1e28
RD
6864 }
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 {
6873#if wxUSE_UNICODE
6874 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6875#else
6876 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6877#endif
6878 }
6879 {
6880 if (temp2)
6881 delete arg2;
6882 }
6883 return resultobj;
6884 fail:
6885 {
6886 if (temp2)
6887 delete arg2;
6888 }
6889 return NULL;
6890}
6891
6892
2f4c0a16 6893static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6894 PyObject *resultobj;
6895 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6896 wxString *arg2 = 0 ;
6897 wxString result;
423f194a 6898 bool temp2 = False ;
d14a1e28
RD
6899 PyObject * obj0 = 0 ;
6900 PyObject * obj1 = 0 ;
6901 char *kwnames[] = {
6902 (char *) "self",(char *) "location", NULL
6903 };
6904
6905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6906 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6907 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6908 {
6909 arg2 = wxString_in_helper(obj1);
6910 if (arg2 == NULL) SWIG_fail;
423f194a 6911 temp2 = True;
d14a1e28
RD
6912 }
6913 {
6914 PyThreadState* __tstate = wxPyBeginAllowThreads();
6915 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6916
6917 wxPyEndAllowThreads(__tstate);
6918 if (PyErr_Occurred()) SWIG_fail;
6919 }
6920 {
6921#if wxUSE_UNICODE
6922 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6923#else
6924 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6925#endif
6926 }
6927 {
6928 if (temp2)
6929 delete arg2;
6930 }
6931 return resultobj;
6932 fail:
6933 {
6934 if (temp2)
6935 delete arg2;
6936 }
6937 return NULL;
6938}
6939
6940
2f4c0a16 6941static PyObject * FileSystemHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
6942 PyObject *obj;
6943 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6944 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
6945 Py_INCREF(obj);
6946 return Py_BuildValue((char *)"");
6947}
2f4c0a16 6948static PyObject *_wrap_new_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6949 PyObject *resultobj;
6950 wxFileSystem *result;
6951 char *kwnames[] = {
6952 NULL
6953 };
6954
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 result = (wxFileSystem *)new wxFileSystem();
6959
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 {
6964 resultobj = wxPyMake_wxObject(result);
6965 }
6966 return resultobj;
6967 fail:
6968 return NULL;
6969}
6970
6971
2f4c0a16 6972static PyObject *_wrap_delete_FileSystem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6973 PyObject *resultobj;
6974 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6975 PyObject * obj0 = 0 ;
6976 char *kwnames[] = {
6977 (char *) "self", NULL
6978 };
6979
6980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 delete arg1;
6986
6987 wxPyEndAllowThreads(__tstate);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
6990 Py_INCREF(Py_None); resultobj = Py_None;
6991 return resultobj;
6992 fail:
6993 return NULL;
6994}
6995
6996
2f4c0a16 6997static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
6998 PyObject *resultobj;
6999 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7000 wxString *arg2 = 0 ;
423f194a
RD
7001 bool arg3 = (bool) False ;
7002 bool temp2 = False ;
d14a1e28
RD
7003 PyObject * obj0 = 0 ;
7004 PyObject * obj1 = 0 ;
7005 PyObject * obj2 = 0 ;
7006 char *kwnames[] = {
7007 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7008 };
7009
7010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7013 {
7014 arg2 = wxString_in_helper(obj1);
7015 if (arg2 == NULL) SWIG_fail;
423f194a 7016 temp2 = True;
d14a1e28
RD
7017 }
7018 if (obj2) {
2f4c0a16
RD
7019 arg3 = (bool) SWIG_AsBool(obj2);
7020 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7021 }
7022 {
7023 PyThreadState* __tstate = wxPyBeginAllowThreads();
7024 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
7025
7026 wxPyEndAllowThreads(__tstate);
7027 if (PyErr_Occurred()) SWIG_fail;
7028 }
7029 Py_INCREF(Py_None); resultobj = Py_None;
7030 {
7031 if (temp2)
7032 delete arg2;
7033 }
7034 return resultobj;
7035 fail:
7036 {
7037 if (temp2)
7038 delete arg2;
7039 }
7040 return NULL;
7041}
7042
7043
2f4c0a16 7044static PyObject *_wrap_FileSystem_GetPath(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7045 PyObject *resultobj;
7046 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7047 wxString result;
7048 PyObject * obj0 = 0 ;
7049 char *kwnames[] = {
7050 (char *) "self", NULL
7051 };
7052
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 result = (arg1)->GetPath();
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 {
7064#if wxUSE_UNICODE
7065 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7066#else
7067 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7068#endif
7069 }
7070 return resultobj;
7071 fail:
7072 return NULL;
7073}
7074
7075
2f4c0a16 7076static PyObject *_wrap_FileSystem_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7077 PyObject *resultobj;
7078 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7079 wxString *arg2 = 0 ;
7080 wxFSFile *result;
423f194a 7081 bool temp2 = False ;
d14a1e28
RD
7082 PyObject * obj0 = 0 ;
7083 PyObject * obj1 = 0 ;
7084 char *kwnames[] = {
7085 (char *) "self",(char *) "location", NULL
7086 };
7087
7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7091 {
7092 arg2 = wxString_in_helper(obj1);
7093 if (arg2 == NULL) SWIG_fail;
423f194a 7094 temp2 = True;
d14a1e28
RD
7095 }
7096 {
7097 PyThreadState* __tstate = wxPyBeginAllowThreads();
7098 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
7099
7100 wxPyEndAllowThreads(__tstate);
7101 if (PyErr_Occurred()) SWIG_fail;
7102 }
7103 {
7104 resultobj = wxPyMake_wxObject(result);
7105 }
7106 {
7107 if (temp2)
7108 delete arg2;
7109 }
7110 return resultobj;
7111 fail:
7112 {
7113 if (temp2)
7114 delete arg2;
7115 }
7116 return NULL;
7117}
7118
7119
2f4c0a16 7120static PyObject *_wrap_FileSystem_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7121 PyObject *resultobj;
7122 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7123 wxString *arg2 = 0 ;
7124 int arg3 = (int) 0 ;
7125 wxString result;
423f194a 7126 bool temp2 = False ;
d14a1e28
RD
7127 PyObject * obj0 = 0 ;
7128 PyObject * obj1 = 0 ;
8edf1c75 7129 PyObject * obj2 = 0 ;
d14a1e28
RD
7130 char *kwnames[] = {
7131 (char *) "self",(char *) "spec",(char *) "flags", NULL
7132 };
7133
8edf1c75 7134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7137 {
7138 arg2 = wxString_in_helper(obj1);
7139 if (arg2 == NULL) SWIG_fail;
423f194a 7140 temp2 = True;
d14a1e28 7141 }
8edf1c75 7142 if (obj2) {
2f4c0a16
RD
7143 arg3 = (int) SWIG_AsInt(obj2);
7144 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7145 }
d14a1e28
RD
7146 {
7147 PyThreadState* __tstate = wxPyBeginAllowThreads();
7148 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7149
7150 wxPyEndAllowThreads(__tstate);
7151 if (PyErr_Occurred()) SWIG_fail;
7152 }
7153 {
7154#if wxUSE_UNICODE
7155 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7156#else
7157 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7158#endif
7159 }
7160 {
7161 if (temp2)
7162 delete arg2;
7163 }
7164 return resultobj;
7165 fail:
7166 {
7167 if (temp2)
7168 delete arg2;
7169 }
7170 return NULL;
7171}
7172
7173
2f4c0a16 7174static PyObject *_wrap_FileSystem_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7175 PyObject *resultobj;
7176 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7177 wxString result;
7178 PyObject * obj0 = 0 ;
7179 char *kwnames[] = {
7180 (char *) "self", NULL
7181 };
7182
7183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7186 {
7187 PyThreadState* __tstate = wxPyBeginAllowThreads();
7188 result = (arg1)->FindNext();
7189
7190 wxPyEndAllowThreads(__tstate);
7191 if (PyErr_Occurred()) SWIG_fail;
7192 }
7193 {
7194#if wxUSE_UNICODE
7195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7196#else
7197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7198#endif
7199 }
7200 return resultobj;
7201 fail:
7202 return NULL;
7203}
7204
7205
2f4c0a16 7206static PyObject *_wrap_FileSystem_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7207 PyObject *resultobj;
7208 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7209 PyObject * obj0 = 0 ;
7210 char *kwnames[] = {
7211 (char *) "handler", NULL
7212 };
7213
7214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7215 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7216 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7217 {
7218 PyThreadState* __tstate = wxPyBeginAllowThreads();
7219 wxFileSystem::AddHandler(arg1);
7220
7221 wxPyEndAllowThreads(__tstate);
7222 if (PyErr_Occurred()) SWIG_fail;
7223 }
7224 Py_INCREF(Py_None); resultobj = Py_None;
7225 return resultobj;
7226 fail:
7227 return NULL;
7228}
7229
7230
2f4c0a16 7231static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7232 PyObject *resultobj;
7233 char *kwnames[] = {
7234 NULL
7235 };
7236
7237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 wxFileSystem::CleanUpHandlers();
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 Py_INCREF(Py_None); resultobj = Py_None;
7246 return resultobj;
7247 fail:
7248 return NULL;
7249}
7250
7251
2f4c0a16 7252static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7253 PyObject *resultobj;
7254 wxString *arg1 = 0 ;
7255 wxString result;
423f194a 7256 bool temp1 = False ;
d14a1e28
RD
7257 PyObject * obj0 = 0 ;
7258 char *kwnames[] = {
7259 (char *) "filename", NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7263 {
7264 arg1 = wxString_in_helper(obj0);
7265 if (arg1 == NULL) SWIG_fail;
423f194a 7266 temp1 = True;
d14a1e28
RD
7267 }
7268 {
7269 PyThreadState* __tstate = wxPyBeginAllowThreads();
7270 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7271
7272 wxPyEndAllowThreads(__tstate);
7273 if (PyErr_Occurred()) SWIG_fail;
7274 }
7275 {
7276#if wxUSE_UNICODE
7277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7278#else
7279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7280#endif
7281 }
7282 {
7283 if (temp1)
7284 delete arg1;
7285 }
7286 return resultobj;
7287 fail:
7288 {
7289 if (temp1)
7290 delete arg1;
7291 }
7292 return NULL;
7293}
7294
7295
2f4c0a16 7296static PyObject * FileSystem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7297 PyObject *obj;
7298 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7299 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7300 Py_INCREF(obj);
7301 return Py_BuildValue((char *)"");
7302}
2f4c0a16 7303static PyObject *_wrap_FileSystem_URLToFileName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7304 PyObject *resultobj;
7305 wxString *arg1 = 0 ;
7306 wxString result;
423f194a 7307 bool temp1 = False ;
d14a1e28
RD
7308 PyObject * obj0 = 0 ;
7309 char *kwnames[] = {
7310 (char *) "url", NULL
7311 };
7312
7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7314 {
7315 arg1 = wxString_in_helper(obj0);
7316 if (arg1 == NULL) SWIG_fail;
423f194a 7317 temp1 = True;
d14a1e28
RD
7318 }
7319 {
7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7321 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7322
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 {
7327#if wxUSE_UNICODE
7328 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7329#else
7330 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7331#endif
7332 }
7333 {
7334 if (temp1)
7335 delete arg1;
7336 }
7337 return resultobj;
7338 fail:
7339 {
7340 if (temp1)
7341 delete arg1;
7342 }
7343 return NULL;
7344}
7345
7346
2f4c0a16 7347static PyObject *_wrap_new_InternetFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7348 PyObject *resultobj;
7349 wxInternetFSHandler *result;
7350 char *kwnames[] = {
7351 NULL
7352 };
7353
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7355 {
7356 PyThreadState* __tstate = wxPyBeginAllowThreads();
7357 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7358
7359 wxPyEndAllowThreads(__tstate);
7360 if (PyErr_Occurred()) SWIG_fail;
7361 }
2f4c0a16 7362 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
d14a1e28
RD
7363 return resultobj;
7364 fail:
7365 return NULL;
7366}
7367
7368
2f4c0a16 7369static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7370 PyObject *resultobj;
7371 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7372 wxString *arg2 = 0 ;
7373 bool result;
423f194a 7374 bool temp2 = False ;
d14a1e28
RD
7375 PyObject * obj0 = 0 ;
7376 PyObject * obj1 = 0 ;
7377 char *kwnames[] = {
7378 (char *) "self",(char *) "location", NULL
7379 };
7380
7381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7384 {
7385 arg2 = wxString_in_helper(obj1);
7386 if (arg2 == NULL) SWIG_fail;
423f194a 7387 temp2 = True;
d14a1e28
RD
7388 }
7389 {
7390 PyThreadState* __tstate = wxPyBeginAllowThreads();
7391 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7392
7393 wxPyEndAllowThreads(__tstate);
7394 if (PyErr_Occurred()) SWIG_fail;
7395 }
fbc46b20
RD
7396 {
7397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7398 }
d14a1e28
RD
7399 {
7400 if (temp2)
7401 delete arg2;
7402 }
7403 return resultobj;
7404 fail:
7405 {
7406 if (temp2)
7407 delete arg2;
7408 }
7409 return NULL;
7410}
7411
7412
2f4c0a16 7413static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7414 PyObject *resultobj;
7415 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7416 wxFileSystem *arg2 = 0 ;
7417 wxString *arg3 = 0 ;
7418 wxFSFile *result;
423f194a 7419 bool temp3 = False ;
d14a1e28
RD
7420 PyObject * obj0 = 0 ;
7421 PyObject * obj1 = 0 ;
7422 PyObject * obj2 = 0 ;
7423 char *kwnames[] = {
7424 (char *) "self",(char *) "fs",(char *) "location", NULL
7425 };
7426
7427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7430 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7431 SWIG_POINTER_EXCEPTION | 0)) == -1)
7432 SWIG_fail;
d14a1e28 7433 if (arg2 == NULL) {
2f4c0a16
RD
7434 PyErr_SetString(PyExc_TypeError,"null reference");
7435 SWIG_fail;
d14a1e28
RD
7436 }
7437 {
7438 arg3 = wxString_in_helper(obj2);
7439 if (arg3 == NULL) SWIG_fail;
423f194a 7440 temp3 = True;
d14a1e28
RD
7441 }
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 {
7450 resultobj = wxPyMake_wxObject(result);
7451 }
7452 {
7453 if (temp3)
7454 delete arg3;
7455 }
7456 return resultobj;
7457 fail:
7458 {
7459 if (temp3)
7460 delete arg3;
7461 }
7462 return NULL;
7463}
7464
7465
2f4c0a16 7466static PyObject * InternetFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7467 PyObject *obj;
7468 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7469 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7470 Py_INCREF(obj);
7471 return Py_BuildValue((char *)"");
7472}
2f4c0a16 7473static PyObject *_wrap_new_ZipFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7474 PyObject *resultobj;
7475 wxZipFSHandler *result;
7476 char *kwnames[] = {
7477 NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 result = (wxZipFSHandler *)new wxZipFSHandler();
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
2f4c0a16 7488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
d14a1e28
RD
7489 return resultobj;
7490 fail:
7491 return NULL;
7492}
7493
7494
2f4c0a16 7495static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7496 PyObject *resultobj;
7497 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7498 wxString *arg2 = 0 ;
7499 bool result;
423f194a 7500 bool temp2 = False ;
d14a1e28
RD
7501 PyObject * obj0 = 0 ;
7502 PyObject * obj1 = 0 ;
7503 char *kwnames[] = {
7504 (char *) "self",(char *) "location", NULL
7505 };
7506
7507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7510 {
7511 arg2 = wxString_in_helper(obj1);
7512 if (arg2 == NULL) SWIG_fail;
423f194a 7513 temp2 = True;
d14a1e28
RD
7514 }
7515 {
7516 PyThreadState* __tstate = wxPyBeginAllowThreads();
7517 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7518
7519 wxPyEndAllowThreads(__tstate);
7520 if (PyErr_Occurred()) SWIG_fail;
7521 }
fbc46b20
RD
7522 {
7523 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7524 }
d14a1e28
RD
7525 {
7526 if (temp2)
7527 delete arg2;
7528 }
7529 return resultobj;
7530 fail:
7531 {
7532 if (temp2)
7533 delete arg2;
7534 }
7535 return NULL;
7536}
7537
7538
2f4c0a16 7539static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7540 PyObject *resultobj;
7541 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7542 wxFileSystem *arg2 = 0 ;
7543 wxString *arg3 = 0 ;
7544 wxFSFile *result;
423f194a 7545 bool temp3 = False ;
d14a1e28
RD
7546 PyObject * obj0 = 0 ;
7547 PyObject * obj1 = 0 ;
7548 PyObject * obj2 = 0 ;
7549 char *kwnames[] = {
7550 (char *) "self",(char *) "fs",(char *) "location", NULL
7551 };
7552
7553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7557 SWIG_POINTER_EXCEPTION | 0)) == -1)
7558 SWIG_fail;
d14a1e28 7559 if (arg2 == NULL) {
2f4c0a16
RD
7560 PyErr_SetString(PyExc_TypeError,"null reference");
7561 SWIG_fail;
d14a1e28
RD
7562 }
7563 {
7564 arg3 = wxString_in_helper(obj2);
7565 if (arg3 == NULL) SWIG_fail;
423f194a 7566 temp3 = True;
d14a1e28
RD
7567 }
7568 {
7569 PyThreadState* __tstate = wxPyBeginAllowThreads();
7570 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7571
7572 wxPyEndAllowThreads(__tstate);
7573 if (PyErr_Occurred()) SWIG_fail;
7574 }
7575 {
7576 resultobj = wxPyMake_wxObject(result);
7577 }
7578 {
7579 if (temp3)
7580 delete arg3;
7581 }
7582 return resultobj;
7583 fail:
7584 {
7585 if (temp3)
7586 delete arg3;
7587 }
7588 return NULL;
7589}
7590
7591
2f4c0a16 7592static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7593 PyObject *resultobj;
7594 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7595 wxString *arg2 = 0 ;
7596 int arg3 = (int) 0 ;
7597 wxString result;
423f194a 7598 bool temp2 = False ;
d14a1e28
RD
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
8edf1c75 7601 PyObject * obj2 = 0 ;
d14a1e28
RD
7602 char *kwnames[] = {
7603 (char *) "self",(char *) "spec",(char *) "flags", NULL
7604 };
7605
8edf1c75 7606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7609 {
7610 arg2 = wxString_in_helper(obj1);
7611 if (arg2 == NULL) SWIG_fail;
423f194a 7612 temp2 = True;
d14a1e28 7613 }
8edf1c75 7614 if (obj2) {
2f4c0a16
RD
7615 arg3 = (int) SWIG_AsInt(obj2);
7616 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7617 }
d14a1e28
RD
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 {
7626#if wxUSE_UNICODE
7627 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7628#else
7629 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7630#endif
7631 }
7632 {
7633 if (temp2)
7634 delete arg2;
7635 }
7636 return resultobj;
7637 fail:
7638 {
7639 if (temp2)
7640 delete arg2;
7641 }
7642 return NULL;
7643}
7644
7645
2f4c0a16 7646static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7647 PyObject *resultobj;
7648 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7649 wxString result;
7650 PyObject * obj0 = 0 ;
7651 char *kwnames[] = {
7652 (char *) "self", NULL
7653 };
7654
7655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7658 {
7659 PyThreadState* __tstate = wxPyBeginAllowThreads();
7660 result = (arg1)->FindNext();
7661
7662 wxPyEndAllowThreads(__tstate);
7663 if (PyErr_Occurred()) SWIG_fail;
7664 }
7665 {
7666#if wxUSE_UNICODE
7667 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7668#else
7669 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7670#endif
7671 }
7672 return resultobj;
7673 fail:
7674 return NULL;
7675}
7676
7677
2f4c0a16 7678static PyObject * ZipFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
7679 PyObject *obj;
7680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7681 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7682 Py_INCREF(obj);
7683 return Py_BuildValue((char *)"");
7684}
2f4c0a16 7685static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7686 PyObject *resultobj;
7687 wxString *arg1 = 0 ;
7688 wxImage *arg2 = 0 ;
7689 long arg3 ;
423f194a 7690 bool temp1 = False ;
d14a1e28
RD
7691 PyObject * obj0 = 0 ;
7692 PyObject * obj1 = 0 ;
8edf1c75 7693 PyObject * obj2 = 0 ;
d14a1e28
RD
7694 char *kwnames[] = {
7695 (char *) "filename",(char *) "image",(char *) "type", NULL
7696 };
7697
8edf1c75 7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7699 {
7700 arg1 = wxString_in_helper(obj0);
7701 if (arg1 == NULL) SWIG_fail;
423f194a 7702 temp1 = True;
d14a1e28 7703 }
2f4c0a16
RD
7704 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
7705 SWIG_POINTER_EXCEPTION | 0)) == -1)
7706 SWIG_fail;
d14a1e28 7707 if (arg2 == NULL) {
2f4c0a16
RD
7708 PyErr_SetString(PyExc_TypeError,"null reference");
7709 SWIG_fail;
8edf1c75 7710 }
2f4c0a16
RD
7711 arg3 = (long) SWIG_AsLong(obj2);
7712 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7713 {
7714 PyThreadState* __tstate = wxPyBeginAllowThreads();
7715 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7716
7717 wxPyEndAllowThreads(__tstate);
7718 if (PyErr_Occurred()) SWIG_fail;
7719 }
7720 Py_INCREF(Py_None); resultobj = Py_None;
7721 {
7722 if (temp1)
7723 delete arg1;
7724 }
7725 return resultobj;
7726 fail:
7727 {
7728 if (temp1)
7729 delete arg1;
7730 }
7731 return NULL;
7732}
7733
7734
2f4c0a16 7735static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7736 PyObject *resultobj;
7737 wxString *arg1 = 0 ;
7738 wxBitmap *arg2 = 0 ;
7739 long arg3 ;
423f194a 7740 bool temp1 = False ;
d14a1e28
RD
7741 PyObject * obj0 = 0 ;
7742 PyObject * obj1 = 0 ;
8edf1c75 7743 PyObject * obj2 = 0 ;
d14a1e28
RD
7744 char *kwnames[] = {
7745 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7746 };
7747
8edf1c75 7748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7749 {
7750 arg1 = wxString_in_helper(obj0);
7751 if (arg1 == NULL) SWIG_fail;
423f194a 7752 temp1 = True;
d14a1e28 7753 }
2f4c0a16
RD
7754 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7755 SWIG_POINTER_EXCEPTION | 0)) == -1)
7756 SWIG_fail;
d14a1e28 7757 if (arg2 == NULL) {
2f4c0a16
RD
7758 PyErr_SetString(PyExc_TypeError,"null reference");
7759 SWIG_fail;
8edf1c75 7760 }
2f4c0a16
RD
7761 arg3 = (long) SWIG_AsLong(obj2);
7762 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7763 {
7764 PyThreadState* __tstate = wxPyBeginAllowThreads();
7765 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7766
7767 wxPyEndAllowThreads(__tstate);
7768 if (PyErr_Occurred()) SWIG_fail;
7769 }
7770 Py_INCREF(Py_None); resultobj = Py_None;
7771 {
7772 if (temp1)
7773 delete arg1;
7774 }
7775 return resultobj;
7776 fail:
7777 {
7778 if (temp1)
7779 delete arg1;
7780 }
7781 return NULL;
7782}
7783
7784
2f4c0a16 7785static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7786 PyObject *resultobj;
7787 wxString *arg1 = 0 ;
7788 PyObject *arg2 = (PyObject *) 0 ;
423f194a 7789 bool temp1 = False ;
d14a1e28
RD
7790 PyObject * obj0 = 0 ;
7791 PyObject * obj1 = 0 ;
7792 char *kwnames[] = {
7793 (char *) "filename",(char *) "data", NULL
7794 };
7795
7796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7797 {
7798 arg1 = wxString_in_helper(obj0);
7799 if (arg1 == NULL) SWIG_fail;
423f194a 7800 temp1 = True;
d14a1e28
RD
7801 }
7802 arg2 = obj1;
7803 {
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7806
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
7810 Py_INCREF(Py_None); resultobj = Py_None;
7811 {
7812 if (temp1)
7813 delete arg1;
7814 }
7815 return resultobj;
7816 fail:
7817 {
7818 if (temp1)
7819 delete arg1;
7820 }
7821 return NULL;
7822}
7823
7824
2f4c0a16 7825static PyObject *_wrap_new_MemoryFSHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7826 PyObject *resultobj;
7827 wxMemoryFSHandler *result;
7828 char *kwnames[] = {
7829 NULL
7830 };
7831
7832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7833 {
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7836
7837 wxPyEndAllowThreads(__tstate);
7838 if (PyErr_Occurred()) SWIG_fail;
7839 }
2f4c0a16 7840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
d14a1e28
RD
7841 return resultobj;
7842 fail:
7843 return NULL;
7844}
7845
7846
2f4c0a16 7847static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7848 PyObject *resultobj;
7849 wxString *arg1 = 0 ;
423f194a 7850 bool temp1 = False ;
d14a1e28
RD
7851 PyObject * obj0 = 0 ;
7852 char *kwnames[] = {
7853 (char *) "filename", NULL
7854 };
7855
7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7857 {
7858 arg1 = wxString_in_helper(obj0);
7859 if (arg1 == NULL) SWIG_fail;
423f194a 7860 temp1 = True;
d14a1e28
RD
7861 }
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 Py_INCREF(Py_None); resultobj = Py_None;
7870 {
7871 if (temp1)
7872 delete arg1;
7873 }
7874 return resultobj;
7875 fail:
7876 {
7877 if (temp1)
7878 delete arg1;
7879 }
7880 return NULL;
7881}
7882
7883
2f4c0a16 7884static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7885 PyObject *resultobj;
7886 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7887 wxString *arg2 = 0 ;
7888 bool result;
423f194a 7889 bool temp2 = False ;
d14a1e28
RD
7890 PyObject * obj0 = 0 ;
7891 PyObject * obj1 = 0 ;
7892 char *kwnames[] = {
7893 (char *) "self",(char *) "location", NULL
7894 };
7895
7896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7899 {
7900 arg2 = wxString_in_helper(obj1);
7901 if (arg2 == NULL) SWIG_fail;
423f194a 7902 temp2 = True;
d14a1e28
RD
7903 }
7904 {
7905 PyThreadState* __tstate = wxPyBeginAllowThreads();
7906 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7907
7908 wxPyEndAllowThreads(__tstate);
7909 if (PyErr_Occurred()) SWIG_fail;
7910 }
fbc46b20
RD
7911 {
7912 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7913 }
d14a1e28
RD
7914 {
7915 if (temp2)
7916 delete arg2;
7917 }
7918 return resultobj;
7919 fail:
7920 {
7921 if (temp2)
7922 delete arg2;
7923 }
7924 return NULL;
7925}
7926
7927
2f4c0a16 7928static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7929 PyObject *resultobj;
7930 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7931 wxFileSystem *arg2 = 0 ;
7932 wxString *arg3 = 0 ;
7933 wxFSFile *result;
423f194a 7934 bool temp3 = False ;
d14a1e28
RD
7935 PyObject * obj0 = 0 ;
7936 PyObject * obj1 = 0 ;
7937 PyObject * obj2 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "self",(char *) "fs",(char *) "location", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7943 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7944 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7945 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7946 SWIG_POINTER_EXCEPTION | 0)) == -1)
7947 SWIG_fail;
d14a1e28 7948 if (arg2 == NULL) {
2f4c0a16
RD
7949 PyErr_SetString(PyExc_TypeError,"null reference");
7950 SWIG_fail;
d14a1e28
RD
7951 }
7952 {
7953 arg3 = wxString_in_helper(obj2);
7954 if (arg3 == NULL) SWIG_fail;
423f194a 7955 temp3 = True;
d14a1e28
RD
7956 }
7957 {
7958 PyThreadState* __tstate = wxPyBeginAllowThreads();
7959 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7960
7961 wxPyEndAllowThreads(__tstate);
7962 if (PyErr_Occurred()) SWIG_fail;
7963 }
7964 {
7965 resultobj = wxPyMake_wxObject(result);
7966 }
7967 {
7968 if (temp3)
7969 delete arg3;
7970 }
7971 return resultobj;
7972 fail:
7973 {
7974 if (temp3)
7975 delete arg3;
7976 }
7977 return NULL;
7978}
7979
7980
2f4c0a16 7981static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
7982 PyObject *resultobj;
7983 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7984 wxString *arg2 = 0 ;
7985 int arg3 = (int) 0 ;
7986 wxString result;
423f194a 7987 bool temp2 = False ;
d14a1e28
RD
7988 PyObject * obj0 = 0 ;
7989 PyObject * obj1 = 0 ;
8edf1c75 7990 PyObject * obj2 = 0 ;
d14a1e28
RD
7991 char *kwnames[] = {
7992 (char *) "self",(char *) "spec",(char *) "flags", NULL
7993 };
7994
8edf1c75 7995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7998 {
7999 arg2 = wxString_in_helper(obj1);
8000 if (arg2 == NULL) SWIG_fail;
423f194a 8001 temp2 = True;
d14a1e28 8002 }
8edf1c75 8003 if (obj2) {
2f4c0a16
RD
8004 arg3 = (int) SWIG_AsInt(obj2);
8005 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8006 }
d14a1e28
RD
8007 {
8008 PyThreadState* __tstate = wxPyBeginAllowThreads();
8009 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
8010
8011 wxPyEndAllowThreads(__tstate);
8012 if (PyErr_Occurred()) SWIG_fail;
8013 }
8014 {
8015#if wxUSE_UNICODE
8016 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8017#else
8018 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8019#endif
8020 }
8021 {
8022 if (temp2)
8023 delete arg2;
8024 }
8025 return resultobj;
8026 fail:
8027 {
8028 if (temp2)
8029 delete arg2;
8030 }
8031 return NULL;
8032}
8033
8034
2f4c0a16 8035static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8036 PyObject *resultobj;
8037 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
8038 wxString result;
8039 PyObject * obj0 = 0 ;
8040 char *kwnames[] = {
8041 (char *) "self", NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
8046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8047 {
8048 PyThreadState* __tstate = wxPyBeginAllowThreads();
8049 result = (arg1)->FindNext();
8050
8051 wxPyEndAllowThreads(__tstate);
8052 if (PyErr_Occurred()) SWIG_fail;
8053 }
8054 {
8055#if wxUSE_UNICODE
8056 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8057#else
8058 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8059#endif
8060 }
8061 return resultobj;
8062 fail:
8063 return NULL;
8064}
8065
8066
2f4c0a16 8067static PyObject * MemoryFSHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8068 PyObject *obj;
8069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8070 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
8071 Py_INCREF(obj);
8072 return Py_BuildValue((char *)"");
8073}
2f4c0a16 8074static PyObject *_wrap_ImageHandler_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8075 PyObject *resultobj;
8076 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8077 wxString result;
8078 PyObject * obj0 = 0 ;
8079 char *kwnames[] = {
8080 (char *) "self", NULL
8081 };
8082
8083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 result = (arg1)->GetName();
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 {
8094#if wxUSE_UNICODE
8095 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8096#else
8097 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8098#endif
8099 }
8100 return resultobj;
8101 fail:
8102 return NULL;
8103}
8104
8105
2f4c0a16 8106static PyObject *_wrap_ImageHandler_GetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8107 PyObject *resultobj;
8108 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8109 wxString result;
8110 PyObject * obj0 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8118 {
8119 PyThreadState* __tstate = wxPyBeginAllowThreads();
8120 result = (arg1)->GetExtension();
8121
8122 wxPyEndAllowThreads(__tstate);
8123 if (PyErr_Occurred()) SWIG_fail;
8124 }
8125 {
8126#if wxUSE_UNICODE
8127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8128#else
8129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8130#endif
8131 }
8132 return resultobj;
8133 fail:
8134 return NULL;
8135}
8136
8137
2f4c0a16 8138static PyObject *_wrap_ImageHandler_GetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8139 PyObject *resultobj;
8140 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8141 long result;
8142 PyObject * obj0 = 0 ;
8143 char *kwnames[] = {
8144 (char *) "self", NULL
8145 };
8146
8147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8150 {
8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
8152 result = (long)(arg1)->GetType();
8153
8154 wxPyEndAllowThreads(__tstate);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
2f4c0a16 8157 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
8158 return resultobj;
8159 fail:
8160 return NULL;
8161}
8162
8163
2f4c0a16 8164static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8165 PyObject *resultobj;
8166 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8167 wxString result;
8168 PyObject * obj0 = 0 ;
8169 char *kwnames[] = {
8170 (char *) "self", NULL
8171 };
8172
8173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8176 {
8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
8178 result = (arg1)->GetMimeType();
8179
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 {
8184#if wxUSE_UNICODE
8185 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8186#else
8187 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8188#endif
8189 }
8190 return resultobj;
8191 fail:
8192 return NULL;
8193}
8194
8195
2f4c0a16 8196static PyObject *_wrap_ImageHandler_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8197 PyObject *resultobj;
8198 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8199 wxString *arg2 = 0 ;
8200 bool result;
423f194a 8201 bool temp2 = False ;
d14a1e28
RD
8202 PyObject * obj0 = 0 ;
8203 PyObject * obj1 = 0 ;
8204 char *kwnames[] = {
8205 (char *) "self",(char *) "name", NULL
8206 };
8207
8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8211 {
8212 arg2 = wxString_in_helper(obj1);
8213 if (arg2 == NULL) SWIG_fail;
423f194a 8214 temp2 = True;
d14a1e28
RD
8215 }
8216 {
8217 PyThreadState* __tstate = wxPyBeginAllowThreads();
8218 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8219
8220 wxPyEndAllowThreads(__tstate);
8221 if (PyErr_Occurred()) SWIG_fail;
8222 }
fbc46b20
RD
8223 {
8224 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8225 }
d14a1e28
RD
8226 {
8227 if (temp2)
8228 delete arg2;
8229 }
8230 return resultobj;
8231 fail:
8232 {
8233 if (temp2)
8234 delete arg2;
8235 }
8236 return NULL;
8237}
8238
8239
2f4c0a16 8240static PyObject *_wrap_ImageHandler_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8241 PyObject *resultobj;
8242 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8243 wxString *arg2 = 0 ;
423f194a 8244 bool temp2 = False ;
d14a1e28
RD
8245 PyObject * obj0 = 0 ;
8246 PyObject * obj1 = 0 ;
8247 char *kwnames[] = {
8248 (char *) "self",(char *) "name", NULL
8249 };
8250
8251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8254 {
8255 arg2 = wxString_in_helper(obj1);
8256 if (arg2 == NULL) SWIG_fail;
423f194a 8257 temp2 = True;
d14a1e28
RD
8258 }
8259 {
8260 PyThreadState* __tstate = wxPyBeginAllowThreads();
8261 (arg1)->SetName((wxString const &)*arg2);
8262
8263 wxPyEndAllowThreads(__tstate);
8264 if (PyErr_Occurred()) SWIG_fail;
8265 }
8266 Py_INCREF(Py_None); resultobj = Py_None;
8267 {
8268 if (temp2)
8269 delete arg2;
8270 }
8271 return resultobj;
8272 fail:
8273 {
8274 if (temp2)
8275 delete arg2;
8276 }
8277 return NULL;
8278}
8279
8280
2f4c0a16 8281static PyObject *_wrap_ImageHandler_SetExtension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8282 PyObject *resultobj;
8283 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8284 wxString *arg2 = 0 ;
423f194a 8285 bool temp2 = False ;
d14a1e28
RD
8286 PyObject * obj0 = 0 ;
8287 PyObject * obj1 = 0 ;
8288 char *kwnames[] = {
8289 (char *) "self",(char *) "extension", NULL
8290 };
8291
8292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
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;
423f194a 8298 temp2 = True;
d14a1e28
RD
8299 }
8300 {
8301 PyThreadState* __tstate = wxPyBeginAllowThreads();
8302 (arg1)->SetExtension((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
2f4c0a16 8322static PyObject *_wrap_ImageHandler_SetType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8323 PyObject *resultobj;
8324 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8325 long arg2 ;
8326 PyObject * obj0 = 0 ;
8edf1c75 8327 PyObject * obj1 = 0 ;
d14a1e28
RD
8328 char *kwnames[] = {
8329 (char *) "self",(char *) "type", NULL
8330 };
8331
8edf1c75 8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8333 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8334 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8335 arg2 = (long) SWIG_AsLong(obj1);
8336 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8337 {
8338 PyThreadState* __tstate = wxPyBeginAllowThreads();
8339 (arg1)->SetType(arg2);
8340
8341 wxPyEndAllowThreads(__tstate);
8342 if (PyErr_Occurred()) SWIG_fail;
8343 }
8344 Py_INCREF(Py_None); resultobj = Py_None;
8345 return resultobj;
8346 fail:
8347 return NULL;
8348}
8349
8350
2f4c0a16 8351static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8352 PyObject *resultobj;
8353 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8354 wxString *arg2 = 0 ;
423f194a 8355 bool temp2 = False ;
d14a1e28
RD
8356 PyObject * obj0 = 0 ;
8357 PyObject * obj1 = 0 ;
8358 char *kwnames[] = {
8359 (char *) "self",(char *) "mimetype", NULL
8360 };
8361
8362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8365 {
8366 arg2 = wxString_in_helper(obj1);
8367 if (arg2 == NULL) SWIG_fail;
423f194a 8368 temp2 = True;
d14a1e28
RD
8369 }
8370 {
8371 PyThreadState* __tstate = wxPyBeginAllowThreads();
8372 (arg1)->SetMimeType((wxString const &)*arg2);
8373
8374 wxPyEndAllowThreads(__tstate);
8375 if (PyErr_Occurred()) SWIG_fail;
8376 }
8377 Py_INCREF(Py_None); resultobj = Py_None;
8378 {
8379 if (temp2)
8380 delete arg2;
8381 }
8382 return resultobj;
8383 fail:
8384 {
8385 if (temp2)
8386 delete arg2;
8387 }
8388 return NULL;
8389}
8390
8391
2f4c0a16 8392static PyObject * ImageHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8393 PyObject *obj;
8394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8395 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8396 Py_INCREF(obj);
8397 return Py_BuildValue((char *)"");
8398}
2f4c0a16 8399static PyObject *_wrap_new_ImageHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8400 PyObject *resultobj;
8401 wxImageHistogram *result;
8402 char *kwnames[] = {
8403 NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8407 {
8408 PyThreadState* __tstate = wxPyBeginAllowThreads();
8409 result = (wxImageHistogram *)new wxImageHistogram();
8410
8411 wxPyEndAllowThreads(__tstate);
8412 if (PyErr_Occurred()) SWIG_fail;
8413 }
2f4c0a16 8414 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
d14a1e28
RD
8415 return resultobj;
8416 fail:
8417 return NULL;
8418}
8419
8420
2f4c0a16 8421static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8422 PyObject *resultobj;
8423 unsigned char arg1 ;
8424 unsigned char arg2 ;
8425 unsigned char arg3 ;
8426 unsigned long result;
8427 PyObject * obj0 = 0 ;
8428 PyObject * obj1 = 0 ;
8429 PyObject * obj2 = 0 ;
8430 char *kwnames[] = {
8431 (char *) "r",(char *) "g",(char *) "b", NULL
8432 };
8433
8434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8435 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8436 if (PyErr_Occurred()) SWIG_fail;
8437 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8438 if (PyErr_Occurred()) SWIG_fail;
8439 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8440 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8441 {
8442 PyThreadState* __tstate = wxPyBeginAllowThreads();
8443 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8444
8445 wxPyEndAllowThreads(__tstate);
8446 if (PyErr_Occurred()) SWIG_fail;
8447 }
2f4c0a16 8448 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
8449 return resultobj;
8450 fail:
8451 return NULL;
8452}
8453
8454
2f4c0a16 8455static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8456 PyObject *resultobj;
8457 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8458 unsigned char *arg2 = (unsigned char *) 0 ;
8459 unsigned char *arg3 = (unsigned char *) 0 ;
8460 unsigned char *arg4 = (unsigned char *) 0 ;
8461 unsigned char arg5 = (unsigned char) 1 ;
8462 unsigned char arg6 = (unsigned char) 0 ;
8463 unsigned char arg7 = (unsigned char) 0 ;
8464 bool result;
8465 unsigned char temp2 ;
8466 unsigned char temp3 ;
8467 unsigned char temp4 ;
8468 PyObject * obj0 = 0 ;
8469 PyObject * obj1 = 0 ;
8470 PyObject * obj2 = 0 ;
8471 PyObject * obj3 = 0 ;
8472 char *kwnames[] = {
8473 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8474 };
8475
8476 arg2 = &temp2;
8477 arg3 = &temp3;
8478 arg4 = &temp4;
8479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8482 if (obj1) {
2f4c0a16
RD
8483 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8484 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8485 }
8486 if (obj2) {
2f4c0a16
RD
8487 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8489 }
8490 if (obj3) {
2f4c0a16
RD
8491 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8492 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8493 }
8494 {
8495 PyThreadState* __tstate = wxPyBeginAllowThreads();
8496 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8497
8498 wxPyEndAllowThreads(__tstate);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
fbc46b20
RD
8501 {
8502 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8503 }
d14a1e28
RD
8504 {
8505 PyObject *o = PyInt_FromLong((long) (*arg2));
8506 resultobj = t_output_helper(resultobj,o);
8507 }
8508 {
8509 PyObject *o = PyInt_FromLong((long) (*arg3));
8510 resultobj = t_output_helper(resultobj,o);
8511 }
8512 {
8513 PyObject *o = PyInt_FromLong((long) (*arg4));
8514 resultobj = t_output_helper(resultobj,o);
8515 }
8516 return resultobj;
8517 fail:
8518 return NULL;
8519}
8520
8521
2f4c0a16 8522static PyObject * ImageHistogram_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
8523 PyObject *obj;
8524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8525 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8526 Py_INCREF(obj);
8527 return Py_BuildValue((char *)"");
8528}
2f4c0a16 8529static PyObject *_wrap_new_Image(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8530 PyObject *resultobj;
8531 wxString *arg1 = 0 ;
8532 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8533 int arg3 = (int) -1 ;
8534 wxImage *result;
423f194a 8535 bool temp1 = False ;
d14a1e28 8536 PyObject * obj0 = 0 ;
8edf1c75
RD
8537 PyObject * obj1 = 0 ;
8538 PyObject * obj2 = 0 ;
d14a1e28
RD
8539 char *kwnames[] = {
8540 (char *) "name",(char *) "type",(char *) "index", NULL
8541 };
8542
8edf1c75 8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8544 {
8545 arg1 = wxString_in_helper(obj0);
8546 if (arg1 == NULL) SWIG_fail;
423f194a 8547 temp1 = True;
d14a1e28 8548 }
8edf1c75 8549 if (obj1) {
2f4c0a16
RD
8550 arg2 = (long) SWIG_AsLong(obj1);
8551 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8552 }
8553 if (obj2) {
2f4c0a16
RD
8554 arg3 = (int) SWIG_AsInt(obj2);
8555 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8556 }
d14a1e28
RD
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
2f4c0a16 8564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8565 {
8566 if (temp1)
8567 delete arg1;
8568 }
8569 return resultobj;
8570 fail:
8571 {
8572 if (temp1)
8573 delete arg1;
8574 }
8575 return NULL;
8576}
8577
8578
2f4c0a16 8579static PyObject *_wrap_delete_Image(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8580 PyObject *resultobj;
8581 wxImage *arg1 = (wxImage *) 0 ;
8582 PyObject * obj0 = 0 ;
8583 char *kwnames[] = {
8584 (char *) "self", NULL
8585 };
8586
8587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8588 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8589 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8590 {
8591 PyThreadState* __tstate = wxPyBeginAllowThreads();
8592 delete arg1;
8593
8594 wxPyEndAllowThreads(__tstate);
8595 if (PyErr_Occurred()) SWIG_fail;
8596 }
8597 Py_INCREF(Py_None); resultobj = Py_None;
8598 return resultobj;
8599 fail:
8600 return NULL;
8601}
8602
8603
2f4c0a16 8604static PyObject *_wrap_new_ImageFromMime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8605 PyObject *resultobj;
8606 wxString *arg1 = 0 ;
8607 wxString *arg2 = 0 ;
8608 int arg3 = (int) -1 ;
8609 wxImage *result;
423f194a
RD
8610 bool temp1 = False ;
8611 bool temp2 = False ;
d14a1e28
RD
8612 PyObject * obj0 = 0 ;
8613 PyObject * obj1 = 0 ;
8edf1c75 8614 PyObject * obj2 = 0 ;
d14a1e28
RD
8615 char *kwnames[] = {
8616 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8617 };
8618
8edf1c75 8619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8620 {
8621 arg1 = wxString_in_helper(obj0);
8622 if (arg1 == NULL) SWIG_fail;
423f194a 8623 temp1 = True;
d14a1e28
RD
8624 }
8625 {
8626 arg2 = wxString_in_helper(obj1);
8627 if (arg2 == NULL) SWIG_fail;
423f194a 8628 temp2 = True;
d14a1e28 8629 }
8edf1c75 8630 if (obj2) {
2f4c0a16
RD
8631 arg3 = (int) SWIG_AsInt(obj2);
8632 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8633 }
d14a1e28
RD
8634 {
8635 PyThreadState* __tstate = wxPyBeginAllowThreads();
8636 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8637
8638 wxPyEndAllowThreads(__tstate);
8639 if (PyErr_Occurred()) SWIG_fail;
8640 }
2f4c0a16 8641 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8642 {
8643 if (temp1)
8644 delete arg1;
8645 }
8646 {
8647 if (temp2)
8648 delete arg2;
8649 }
8650 return resultobj;
8651 fail:
8652 {
8653 if (temp1)
8654 delete arg1;
8655 }
8656 {
8657 if (temp2)
8658 delete arg2;
8659 }
8660 return NULL;
8661}
8662
8663
2f4c0a16 8664static PyObject *_wrap_new_ImageFromStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8665 PyObject *resultobj;
8666 wxInputStream *arg1 = 0 ;
8667 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8668 int arg3 = (int) -1 ;
8669 wxImage *result;
8670 wxPyInputStream *temp1 ;
8671 bool created1 ;
8672 PyObject * obj0 = 0 ;
8edf1c75
RD
8673 PyObject * obj1 = 0 ;
8674 PyObject * obj2 = 0 ;
d14a1e28
RD
8675 char *kwnames[] = {
8676 (char *) "stream",(char *) "type",(char *) "index", NULL
8677 };
8678
8edf1c75 8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8680 {
8681 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8682 arg1 = temp1->m_wxis;
423f194a 8683 created1 = False;
d14a1e28
RD
8684 } else {
8685 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 8686 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8687 if (arg1 == NULL) {
8688 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8689 SWIG_fail;
8690 }
423f194a 8691 created1 = True;
d14a1e28
RD
8692 }
8693 }
8edf1c75 8694 if (obj1) {
2f4c0a16
RD
8695 arg2 = (long) SWIG_AsLong(obj1);
8696 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8697 }
8698 if (obj2) {
2f4c0a16
RD
8699 arg3 = (int) SWIG_AsInt(obj2);
8700 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8701 }
d14a1e28
RD
8702 {
8703 PyThreadState* __tstate = wxPyBeginAllowThreads();
8704 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8705
8706 wxPyEndAllowThreads(__tstate);
8707 if (PyErr_Occurred()) SWIG_fail;
8708 }
2f4c0a16 8709 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8710 {
8711 if (created1)
8712 delete arg1;
8713 }
8714 return resultobj;
8715 fail:
8716 {
8717 if (created1)
8718 delete arg1;
8719 }
8720 return NULL;
8721}
8722
8723
2f4c0a16 8724static PyObject *_wrap_new_ImageFromStreamMime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8725 PyObject *resultobj;
8726 wxInputStream *arg1 = 0 ;
8727 wxString *arg2 = 0 ;
8728 int arg3 = (int) -1 ;
8729 wxImage *result;
8730 wxPyInputStream *temp1 ;
8731 bool created1 ;
423f194a 8732 bool temp2 = False ;
d14a1e28
RD
8733 PyObject * obj0 = 0 ;
8734 PyObject * obj1 = 0 ;
8edf1c75 8735 PyObject * obj2 = 0 ;
d14a1e28
RD
8736 char *kwnames[] = {
8737 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8738 };
8739
8edf1c75 8740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8741 {
8742 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8743 arg1 = temp1->m_wxis;
423f194a 8744 created1 = False;
d14a1e28
RD
8745 } else {
8746 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 8747 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8748 if (arg1 == NULL) {
8749 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8750 SWIG_fail;
8751 }
423f194a 8752 created1 = True;
d14a1e28
RD
8753 }
8754 }
8755 {
8756 arg2 = wxString_in_helper(obj1);
8757 if (arg2 == NULL) SWIG_fail;
423f194a 8758 temp2 = True;
d14a1e28 8759 }
8edf1c75 8760 if (obj2) {
2f4c0a16
RD
8761 arg3 = (int) SWIG_AsInt(obj2);
8762 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8763 }
d14a1e28
RD
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
2f4c0a16 8771 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8772 {
8773 if (created1)
8774 delete arg1;
8775 }
8776 {
8777 if (temp2)
8778 delete arg2;
8779 }
8780 return resultobj;
8781 fail:
8782 {
8783 if (created1)
8784 delete arg1;
8785 }
8786 {
8787 if (temp2)
8788 delete arg2;
8789 }
8790 return NULL;
8791}
8792
8793
377d47bd 8794static PyObject *_wrap_new_EmptyImage__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
8795 PyObject *resultobj;
8796 int arg1 = (int) 0 ;
8797 int arg2 = (int) 0 ;
423f194a 8798 bool arg3 = (bool) True ;
d14a1e28 8799 wxImage *result;
8edf1c75
RD
8800 PyObject * obj0 = 0 ;
8801 PyObject * obj1 = 0 ;
d14a1e28 8802 PyObject * obj2 = 0 ;
d14a1e28 8803
377d47bd 8804 if(!PyArg_ParseTuple(args,(char *)"|OOO:new_EmptyImage",&obj0,&obj1,&obj2)) goto fail;
8edf1c75 8805 if (obj0) {
2f4c0a16
RD
8806 arg1 = (int) SWIG_AsInt(obj0);
8807 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8808 }
8809 if (obj1) {
2f4c0a16
RD
8810 arg2 = (int) SWIG_AsInt(obj1);
8811 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8812 }
d14a1e28 8813 if (obj2) {
2f4c0a16
RD
8814 arg3 = (bool) SWIG_AsBool(obj2);
8815 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8816 }
8817 {
8818 PyThreadState* __tstate = wxPyBeginAllowThreads();
377d47bd 8819 result = (wxImage *)new_wxImage__SWIG_0(arg1,arg2,arg3);
d14a1e28
RD
8820
8821 wxPyEndAllowThreads(__tstate);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
2f4c0a16 8824 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8825 return resultobj;
8826 fail:
8827 return NULL;
8828}
8829
8830
377d47bd
RD
8831static PyObject *_wrap_new_EmptyImage__SWIG_1(PyObject *, PyObject *args) {
8832 PyObject *resultobj;
8833 wxSize *arg1 = 0 ;
8834 bool arg2 = (bool) True ;
8835 wxImage *result;
8836 wxSize temp1 ;
8837 PyObject * obj0 = 0 ;
8838 PyObject * obj1 = 0 ;
8839
8840 if(!PyArg_ParseTuple(args,(char *)"O|O:new_EmptyImage",&obj0,&obj1)) goto fail;
8841 {
8842 arg1 = &temp1;
8843 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
8844 }
8845 if (obj1) {
8846 arg2 = (bool) SWIG_AsBool(obj1);
8847 if (PyErr_Occurred()) SWIG_fail;
8848 }
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 result = (wxImage *)new_wxImage__SWIG_1((wxSize const &)*arg1,arg2);
8852
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
8857 return resultobj;
8858 fail:
8859 return NULL;
8860}
8861
8862
8863static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args) {
8864 int argc;
8865 PyObject *argv[4];
8866 int ii;
8867
8868 argc = PyObject_Length(args);
8869 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
8870 argv[ii] = PyTuple_GetItem(args,ii);
8871 }
8872 if ((argc >= 0) && (argc <= 3)) {
8873 int _v;
8874 if (argc <= 0) {
8875 return _wrap_new_EmptyImage__SWIG_0(self,args);
8876 }
8877 _v = SWIG_CheckInt(argv[0]);
8878 if (_v) {
8879 if (argc <= 1) {
8880 return _wrap_new_EmptyImage__SWIG_0(self,args);
8881 }
8882 _v = SWIG_CheckInt(argv[1]);
8883 if (_v) {
8884 if (argc <= 2) {
8885 return _wrap_new_EmptyImage__SWIG_0(self,args);
8886 }
8887 _v = SWIG_CheckBool(argv[2]);
8888 if (_v) {
8889 return _wrap_new_EmptyImage__SWIG_0(self,args);
8890 }
8891 }
8892 }
8893 }
8894 if ((argc >= 1) && (argc <= 2)) {
8895 int _v;
8896 {
8897 _v = wxPySimple_typecheck(argv[0], wxT("wxSize"), 2);
8898 }
8899 if (_v) {
8900 if (argc <= 1) {
8901 return _wrap_new_EmptyImage__SWIG_1(self,args);
8902 }
8903 _v = SWIG_CheckBool(argv[1]);
8904 if (_v) {
8905 return _wrap_new_EmptyImage__SWIG_1(self,args);
8906 }
8907 }
8908 }
8909
8910 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_EmptyImage'");
8911 return NULL;
8912}
8913
8914
2f4c0a16 8915static PyObject *_wrap_new_ImageFromBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8916 PyObject *resultobj;
8917 wxBitmap *arg1 = 0 ;
8918 wxImage *result;
8919 PyObject * obj0 = 0 ;
8920 char *kwnames[] = {
8921 (char *) "bitmap", NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8926 SWIG_POINTER_EXCEPTION | 0)) == -1)
8927 SWIG_fail;
d14a1e28 8928 if (arg1 == NULL) {
2f4c0a16
RD
8929 PyErr_SetString(PyExc_TypeError,"null reference");
8930 SWIG_fail;
d14a1e28
RD
8931 }
8932 {
8933 PyThreadState* __tstate = wxPyBeginAllowThreads();
8934 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8935
8936 wxPyEndAllowThreads(__tstate);
8937 if (PyErr_Occurred()) SWIG_fail;
8938 }
2f4c0a16 8939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8940 return resultobj;
8941 fail:
8942 return NULL;
8943}
8944
8945
2f4c0a16 8946static PyObject *_wrap_new_ImageFromData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8947 PyObject *resultobj;
8948 int arg1 ;
8949 int arg2 ;
8950 unsigned char *arg3 = (unsigned char *) 0 ;
8951 wxImage *result;
8edf1c75
RD
8952 PyObject * obj0 = 0 ;
8953 PyObject * obj1 = 0 ;
d14a1e28
RD
8954 PyObject * obj2 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "width",(char *) "height",(char *) "data", NULL
8957 };
8958
8edf1c75 8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8960 arg1 = (int) SWIG_AsInt(obj0);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 arg2 = (int) SWIG_AsInt(obj1);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
8968 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8969
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
2f4c0a16 8973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8974 return resultobj;
8975 fail:
8976 return NULL;
8977}
8978
8979
2f4c0a16 8980static PyObject *_wrap_Image_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
8981 PyObject *resultobj;
8982 wxImage *arg1 = (wxImage *) 0 ;
8983 int arg2 ;
8984 int arg3 ;
8985 PyObject * obj0 = 0 ;
8edf1c75
RD
8986 PyObject * obj1 = 0 ;
8987 PyObject * obj2 = 0 ;
d14a1e28
RD
8988 char *kwnames[] = {
8989 (char *) "self",(char *) "width",(char *) "height", NULL
8990 };
8991
8edf1c75 8992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8993 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8995 arg2 = (int) SWIG_AsInt(obj1);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 arg3 = (int) SWIG_AsInt(obj2);
8998 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 (arg1)->Create(arg2,arg3);
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 Py_INCREF(Py_None); resultobj = Py_None;
9007 return resultobj;
9008 fail:
9009 return NULL;
9010}
9011
9012
2f4c0a16 9013static PyObject *_wrap_Image_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9014 PyObject *resultobj;
9015 wxImage *arg1 = (wxImage *) 0 ;
9016 PyObject * obj0 = 0 ;
9017 char *kwnames[] = {
9018 (char *) "self", NULL
9019 };
9020
9021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9024 {
9025 PyThreadState* __tstate = wxPyBeginAllowThreads();
9026 (arg1)->Destroy();
9027
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 }
9031 Py_INCREF(Py_None); resultobj = Py_None;
9032 return resultobj;
9033 fail:
9034 return NULL;
9035}
9036
9037
2f4c0a16 9038static PyObject *_wrap_Image_Scale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9039 PyObject *resultobj;
9040 wxImage *arg1 = (wxImage *) 0 ;
9041 int arg2 ;
9042 int arg3 ;
9043 SwigValueWrapper< wxImage > result;
9044 PyObject * obj0 = 0 ;
8edf1c75
RD
9045 PyObject * obj1 = 0 ;
9046 PyObject * obj2 = 0 ;
d14a1e28
RD
9047 char *kwnames[] = {
9048 (char *) "self",(char *) "width",(char *) "height", NULL
9049 };
9050
8edf1c75 9051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9054 arg2 = (int) SWIG_AsInt(obj1);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 arg3 = (int) SWIG_AsInt(obj2);
9057 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 result = (arg1)->Scale(arg2,arg3);
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 {
9066 wxImage * resultptr;
9067 resultptr = new wxImage((wxImage &) result);
2f4c0a16 9068 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9069 }
9070 return resultobj;
9071 fail:
9072 return NULL;
9073}
9074
9075
2f4c0a16 9076static PyObject *_wrap_Image_ShrinkBy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9077 PyObject *resultobj;
9078 wxImage *arg1 = (wxImage *) 0 ;
9079 int arg2 ;
9080 int arg3 ;
9081 SwigValueWrapper< wxImage > result;
9082 PyObject * obj0 = 0 ;
8edf1c75
RD
9083 PyObject * obj1 = 0 ;
9084 PyObject * obj2 = 0 ;
d14a1e28
RD
9085 char *kwnames[] = {
9086 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9087 };
9088
8edf1c75 9089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9090 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9092 arg2 = (int) SWIG_AsInt(obj1);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 arg3 = (int) SWIG_AsInt(obj2);
9095 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9096 {
9097 PyThreadState* __tstate = wxPyBeginAllowThreads();
9098 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
9099
9100 wxPyEndAllowThreads(__tstate);
9101 if (PyErr_Occurred()) SWIG_fail;
9102 }
9103 {
9104 wxImage * resultptr;
9105 resultptr = new wxImage((wxImage &) result);
2f4c0a16 9106 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9107 }
9108 return resultobj;
9109 fail:
9110 return NULL;
9111}
9112
9113
2f4c0a16 9114static PyObject *_wrap_Image_Rescale(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9115 PyObject *resultobj;
9116 wxImage *arg1 = (wxImage *) 0 ;
9117 int arg2 ;
9118 int arg3 ;
9119 wxImage *result;
9120 PyObject * obj0 = 0 ;
8edf1c75
RD
9121 PyObject * obj1 = 0 ;
9122 PyObject * obj2 = 0 ;
d14a1e28
RD
9123 char *kwnames[] = {
9124 (char *) "self",(char *) "width",(char *) "height", NULL
9125 };
9126
8edf1c75 9127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9130 arg2 = (int) SWIG_AsInt(obj1);
9131 if (PyErr_Occurred()) SWIG_fail;
9132 arg3 = (int) SWIG_AsInt(obj2);
9133 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9134 {
9135 PyThreadState* __tstate = wxPyBeginAllowThreads();
9136 {
9137 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
9138 result = (wxImage *) &_result_ref;
9139 }
9140
9141 wxPyEndAllowThreads(__tstate);
9142 if (PyErr_Occurred()) SWIG_fail;
9143 }
2f4c0a16 9144 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
9145 return resultobj;
9146 fail:
9147 return NULL;
9148}
9149
9150
2f4c0a16 9151static PyObject *_wrap_Image_SetRGB(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9152 PyObject *resultobj;
9153 wxImage *arg1 = (wxImage *) 0 ;
9154 int arg2 ;
9155 int arg3 ;
9156 unsigned char arg4 ;
9157 unsigned char arg5 ;
9158 unsigned char arg6 ;
9159 PyObject * obj0 = 0 ;
8edf1c75
RD
9160 PyObject * obj1 = 0 ;
9161 PyObject * obj2 = 0 ;
d14a1e28
RD
9162 PyObject * obj3 = 0 ;
9163 PyObject * obj4 = 0 ;
9164 PyObject * obj5 = 0 ;
9165 char *kwnames[] = {
9166 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9167 };
9168
8edf1c75 9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
9170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9172 arg2 = (int) SWIG_AsInt(obj1);
9173 if (PyErr_Occurred()) SWIG_fail;
9174 arg3 = (int) SWIG_AsInt(obj2);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
9181 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9182 {
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
9184 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
9185
9186 wxPyEndAllowThreads(__tstate);
9187 if (PyErr_Occurred()) SWIG_fail;
9188 }
9189 Py_INCREF(Py_None); resultobj = Py_None;
9190 return resultobj;
9191 fail:
9192 return NULL;
9193}
9194
9195
2f4c0a16 9196static PyObject *_wrap_Image_GetRed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9197 PyObject *resultobj;
9198 wxImage *arg1 = (wxImage *) 0 ;
9199 int arg2 ;
9200 int arg3 ;
9201 unsigned char result;
9202 PyObject * obj0 = 0 ;
8edf1c75
RD
9203 PyObject * obj1 = 0 ;
9204 PyObject * obj2 = 0 ;
d14a1e28
RD
9205 char *kwnames[] = {
9206 (char *) "self",(char *) "x",(char *) "y", NULL
9207 };
9208
8edf1c75 9209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9212 arg2 = (int) SWIG_AsInt(obj1);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 arg3 = (int) SWIG_AsInt(obj2);
9215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9216 {
9217 PyThreadState* __tstate = wxPyBeginAllowThreads();
9218 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9219
9220 wxPyEndAllowThreads(__tstate);
9221 if (PyErr_Occurred()) SWIG_fail;
9222 }
2f4c0a16 9223 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9224 return resultobj;
9225 fail:
9226 return NULL;
9227}
9228
9229
2f4c0a16 9230static PyObject *_wrap_Image_GetGreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9231 PyObject *resultobj;
9232 wxImage *arg1 = (wxImage *) 0 ;
9233 int arg2 ;
9234 int arg3 ;
9235 unsigned char result;
9236 PyObject * obj0 = 0 ;
8edf1c75
RD
9237 PyObject * obj1 = 0 ;
9238 PyObject * obj2 = 0 ;
d14a1e28
RD
9239 char *kwnames[] = {
9240 (char *) "self",(char *) "x",(char *) "y", NULL
9241 };
9242
8edf1c75 9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9244 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9245 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9246 arg2 = (int) SWIG_AsInt(obj1);
9247 if (PyErr_Occurred()) SWIG_fail;
9248 arg3 = (int) SWIG_AsInt(obj2);
9249 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9250 {
9251 PyThreadState* __tstate = wxPyBeginAllowThreads();
9252 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9253
9254 wxPyEndAllowThreads(__tstate);
9255 if (PyErr_Occurred()) SWIG_fail;
9256 }
2f4c0a16 9257 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9258 return resultobj;
9259 fail:
9260 return NULL;
9261}
9262
9263
2f4c0a16 9264static PyObject *_wrap_Image_GetBlue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9265 PyObject *resultobj;
9266 wxImage *arg1 = (wxImage *) 0 ;
9267 int arg2 ;
9268 int arg3 ;
9269 unsigned char result;
9270 PyObject * obj0 = 0 ;
8edf1c75
RD
9271 PyObject * obj1 = 0 ;
9272 PyObject * obj2 = 0 ;
d14a1e28
RD
9273 char *kwnames[] = {
9274 (char *) "self",(char *) "x",(char *) "y", NULL
9275 };
9276
8edf1c75 9277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9280 arg2 = (int) SWIG_AsInt(obj1);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 arg3 = (int) SWIG_AsInt(obj2);
9283 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9287
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
2f4c0a16 9291 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9292 return resultobj;
9293 fail:
9294 return NULL;
9295}
9296
9297
2f4c0a16 9298static PyObject *_wrap_Image_SetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9299 PyObject *resultobj;
9300 wxImage *arg1 = (wxImage *) 0 ;
9301 int arg2 ;
9302 int arg3 ;
9303 unsigned char arg4 ;
9304 PyObject * obj0 = 0 ;
8edf1c75
RD
9305 PyObject * obj1 = 0 ;
9306 PyObject * obj2 = 0 ;
d14a1e28
RD
9307 PyObject * obj3 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9310 };
9311
8edf1c75 9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9315 arg2 = (int) SWIG_AsInt(obj1);
9316 if (PyErr_Occurred()) SWIG_fail;
9317 arg3 = (int) SWIG_AsInt(obj2);
9318 if (PyErr_Occurred()) SWIG_fail;
9319 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9320 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 (arg1)->SetAlpha(arg2,arg3,arg4);
9324
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 Py_INCREF(Py_None); resultobj = Py_None;
9329 return resultobj;
9330 fail:
9331 return NULL;
9332}
9333
9334
2f4c0a16 9335static PyObject *_wrap_Image_GetAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9336 PyObject *resultobj;
9337 wxImage *arg1 = (wxImage *) 0 ;
9338 int arg2 ;
9339 int arg3 ;
9340 unsigned char result;
9341 PyObject * obj0 = 0 ;
8edf1c75
RD
9342 PyObject * obj1 = 0 ;
9343 PyObject * obj2 = 0 ;
d14a1e28
RD
9344 char *kwnames[] = {
9345 (char *) "self",(char *) "x",(char *) "y", NULL
9346 };
9347
8edf1c75 9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9351 arg2 = (int) SWIG_AsInt(obj1);
9352 if (PyErr_Occurred()) SWIG_fail;
9353 arg3 = (int) SWIG_AsInt(obj2);
9354 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9355 {
9356 PyThreadState* __tstate = wxPyBeginAllowThreads();
9357 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9358
9359 wxPyEndAllowThreads(__tstate);
9360 if (PyErr_Occurred()) SWIG_fail;
9361 }
2f4c0a16 9362 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9363 return resultobj;
9364 fail:
9365 return NULL;
9366}
9367
9368
2f4c0a16 9369static PyObject *_wrap_Image_HasAlpha(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9370 PyObject *resultobj;
9371 wxImage *arg1 = (wxImage *) 0 ;
9372 bool result;
9373 PyObject * obj0 = 0 ;
9374 char *kwnames[] = {
9375 (char *) "self", NULL
9376 };
9377
9378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9381 {
9382 PyThreadState* __tstate = wxPyBeginAllowThreads();
9383 result = (bool)(arg1)->HasAlpha();
9384
9385 wxPyEndAllowThreads(__tstate);
9386 if (PyErr_Occurred()) SWIG_fail;
9387 }
fbc46b20
RD
9388 {
9389 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9390 }
d14a1e28
RD
9391 return resultobj;
9392 fail:
9393 return NULL;
9394}
9395
9396
2f4c0a16 9397static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9398 PyObject *resultobj;
9399 wxImage *arg1 = (wxImage *) 0 ;
9400 byte *arg2 = (byte *) 0 ;
9401 byte *arg3 = (byte *) 0 ;
9402 byte *arg4 = (byte *) 0 ;
9403 byte arg5 = (byte) 0 ;
9404 byte arg6 = (byte) 0 ;
9405 byte arg7 = (byte) 0 ;
9406 bool result;
9407 byte temp2 ;
9408 byte temp3 ;
9409 byte temp4 ;
9410 PyObject * obj0 = 0 ;
9411 PyObject * obj1 = 0 ;
9412 PyObject * obj2 = 0 ;
9413 PyObject * obj3 = 0 ;
9414 char *kwnames[] = {
9415 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9416 };
9417
9418 arg2 = &temp2;
9419 arg3 = &temp3;
9420 arg4 = &temp4;
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9422 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9423 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9424 if (obj1) {
2f4c0a16
RD
9425 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9426 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9427 }
9428 if (obj2) {
2f4c0a16
RD
9429 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9430 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9431 }
9432 if (obj3) {
2f4c0a16
RD
9433 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9434 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9435 }
9436 {
9437 PyThreadState* __tstate = wxPyBeginAllowThreads();
9438 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9439
9440 wxPyEndAllowThreads(__tstate);
9441 if (PyErr_Occurred()) SWIG_fail;
9442 }
fbc46b20
RD
9443 {
9444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9445 }
d14a1e28
RD
9446 {
9447 PyObject *o = PyInt_FromLong((long) (*arg2));
9448 resultobj = t_output_helper(resultobj,o);
9449 }
9450 {
9451 PyObject *o = PyInt_FromLong((long) (*arg3));
9452 resultobj = t_output_helper(resultobj,o);
9453 }
9454 {
9455 PyObject *o = PyInt_FromLong((long) (*arg4));
9456 resultobj = t_output_helper(resultobj,o);
9457 }
9458 return resultobj;
9459 fail:
9460 return NULL;
9461}
9462
9463
2f4c0a16 9464static PyObject *_wrap_Image_SetMaskFromImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9465 PyObject *resultobj;
9466 wxImage *arg1 = (wxImage *) 0 ;
9467 wxImage *arg2 = 0 ;
9468 byte arg3 ;
9469 byte arg4 ;
9470 byte arg5 ;
9471 bool result;
9472 PyObject * obj0 = 0 ;
9473 PyObject * obj1 = 0 ;
9474 PyObject * obj2 = 0 ;
9475 PyObject * obj3 = 0 ;
9476 PyObject * obj4 = 0 ;
9477 char *kwnames[] = {
9478 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9479 };
9480
9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
9482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9484 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9485 SWIG_POINTER_EXCEPTION | 0)) == -1)
9486 SWIG_fail;
d14a1e28 9487 if (arg2 == NULL) {
2f4c0a16
RD
9488 PyErr_SetString(PyExc_TypeError,"null reference");
9489 SWIG_fail;
2dbef272 9490 }
2f4c0a16
RD
9491 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9492 if (PyErr_Occurred()) SWIG_fail;
9493 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9494 if (PyErr_Occurred()) SWIG_fail;
9495 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9496 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9497 {
9498 PyThreadState* __tstate = wxPyBeginAllowThreads();
9499 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9500
9501 wxPyEndAllowThreads(__tstate);
9502 if (PyErr_Occurred()) SWIG_fail;
9503 }
fbc46b20
RD
9504 {
9505 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9506 }
d14a1e28
RD
9507 return resultobj;
9508 fail:
9509 return NULL;
9510}
9511
9512
2f4c0a16 9513static PyObject *_wrap_Image_CanRead(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9514 PyObject *resultobj;
9515 wxString *arg1 = 0 ;
9516 bool result;
423f194a 9517 bool temp1 = False ;
d14a1e28
RD
9518 PyObject * obj0 = 0 ;
9519 char *kwnames[] = {
9520 (char *) "name", NULL
9521 };
9522
9523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9524 {
9525 arg1 = wxString_in_helper(obj0);
9526 if (arg1 == NULL) SWIG_fail;
423f194a 9527 temp1 = True;
d14a1e28
RD
9528 }
9529 {
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9532
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
fbc46b20
RD
9536 {
9537 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9538 }
d14a1e28
RD
9539 {
9540 if (temp1)
9541 delete arg1;
9542 }
9543 return resultobj;
9544 fail:
9545 {
9546 if (temp1)
9547 delete arg1;
9548 }
9549 return NULL;
9550}
9551
9552
2f4c0a16 9553static PyObject *_wrap_Image_GetImageCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9554 PyObject *resultobj;
9555 wxString *arg1 = 0 ;
9556 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9557 int result;
423f194a 9558 bool temp1 = False ;
d14a1e28 9559 PyObject * obj0 = 0 ;
8edf1c75 9560 PyObject * obj1 = 0 ;
d14a1e28
RD
9561 char *kwnames[] = {
9562 (char *) "name",(char *) "type", NULL
9563 };
9564
8edf1c75 9565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9566 {
9567 arg1 = wxString_in_helper(obj0);
9568 if (arg1 == NULL) SWIG_fail;
423f194a 9569 temp1 = True;
d14a1e28 9570 }
8edf1c75 9571 if (obj1) {
2f4c0a16
RD
9572 arg2 = (long) SWIG_AsLong(obj1);
9573 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9574 }
d14a1e28
RD
9575 {
9576 PyThreadState* __tstate = wxPyBeginAllowThreads();
9577 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9578
9579 wxPyEndAllowThreads(__tstate);
9580 if (PyErr_Occurred()) SWIG_fail;
9581 }
2f4c0a16 9582 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9583 {
9584 if (temp1)
9585 delete arg1;
9586 }
9587 return resultobj;
9588 fail:
9589 {
9590 if (temp1)
9591 delete arg1;
9592 }
9593 return NULL;
9594}
9595
9596
2f4c0a16 9597static PyObject *_wrap_Image_LoadFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9598 PyObject *resultobj;
9599 wxImage *arg1 = (wxImage *) 0 ;
9600 wxString *arg2 = 0 ;
9601 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9602 int arg4 = (int) -1 ;
9603 bool result;
423f194a 9604 bool temp2 = False ;
d14a1e28
RD
9605 PyObject * obj0 = 0 ;
9606 PyObject * obj1 = 0 ;
8edf1c75
RD
9607 PyObject * obj2 = 0 ;
9608 PyObject * obj3 = 0 ;
d14a1e28
RD
9609 char *kwnames[] = {
9610 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9611 };
9612
8edf1c75 9613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9616 {
9617 arg2 = wxString_in_helper(obj1);
9618 if (arg2 == NULL) SWIG_fail;
423f194a 9619 temp2 = True;
d14a1e28 9620 }
8edf1c75 9621 if (obj2) {
2f4c0a16
RD
9622 arg3 = (long) SWIG_AsLong(obj2);
9623 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9624 }
9625 if (obj3) {
2f4c0a16
RD
9626 arg4 = (int) SWIG_AsInt(obj3);
9627 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9628 }
d14a1e28
RD
9629 {
9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
9631 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9632
9633 wxPyEndAllowThreads(__tstate);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
fbc46b20
RD
9636 {
9637 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9638 }
d14a1e28
RD
9639 {
9640 if (temp2)
9641 delete arg2;
9642 }
9643 return resultobj;
9644 fail:
9645 {
9646 if (temp2)
9647 delete arg2;
9648 }
9649 return NULL;
9650}
9651
9652
2f4c0a16 9653static PyObject *_wrap_Image_LoadMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9654 PyObject *resultobj;
9655 wxImage *arg1 = (wxImage *) 0 ;
9656 wxString *arg2 = 0 ;
9657 wxString *arg3 = 0 ;
9658 int arg4 = (int) -1 ;
9659 bool result;
423f194a
RD
9660 bool temp2 = False ;
9661 bool temp3 = False ;
d14a1e28
RD
9662 PyObject * obj0 = 0 ;
9663 PyObject * obj1 = 0 ;
9664 PyObject * obj2 = 0 ;
8edf1c75 9665 PyObject * obj3 = 0 ;
d14a1e28
RD
9666 char *kwnames[] = {
9667 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9668 };
9669
8edf1c75 9670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9673 {
9674 arg2 = wxString_in_helper(obj1);
9675 if (arg2 == NULL) SWIG_fail;
423f194a 9676 temp2 = True;
d14a1e28
RD
9677 }
9678 {
9679 arg3 = wxString_in_helper(obj2);
9680 if (arg3 == NULL) SWIG_fail;
423f194a 9681 temp3 = True;
d14a1e28 9682 }
8edf1c75 9683 if (obj3) {
2f4c0a16
RD
9684 arg4 = (int) SWIG_AsInt(obj3);
9685 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9686 }
d14a1e28
RD
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9690
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
fbc46b20
RD
9694 {
9695 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9696 }
d14a1e28
RD
9697 {
9698 if (temp2)
9699 delete arg2;
9700 }
9701 {
9702 if (temp3)
9703 delete arg3;
9704 }
9705 return resultobj;
9706 fail:
9707 {
9708 if (temp2)
9709 delete arg2;
9710 }
9711 {
9712 if (temp3)
9713 delete arg3;
9714 }
9715 return NULL;
9716}
9717
9718
2f4c0a16 9719static PyObject *_wrap_Image_SaveFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9720 PyObject *resultobj;
9721 wxImage *arg1 = (wxImage *) 0 ;
9722 wxString *arg2 = 0 ;
9723 int arg3 ;
9724 bool result;
423f194a 9725 bool temp2 = False ;
d14a1e28
RD
9726 PyObject * obj0 = 0 ;
9727 PyObject * obj1 = 0 ;
8edf1c75 9728 PyObject * obj2 = 0 ;
d14a1e28
RD
9729 char *kwnames[] = {
9730 (char *) "self",(char *) "name",(char *) "type", NULL
9731 };
9732
8edf1c75 9733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9736 {
9737 arg2 = wxString_in_helper(obj1);
9738 if (arg2 == NULL) SWIG_fail;
423f194a 9739 temp2 = True;
d14a1e28 9740 }
2f4c0a16
RD
9741 arg3 = (int) SWIG_AsInt(obj2);
9742 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9743 {
9744 PyThreadState* __tstate = wxPyBeginAllowThreads();
9745 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9746
9747 wxPyEndAllowThreads(__tstate);
9748 if (PyErr_Occurred()) SWIG_fail;
9749 }
fbc46b20
RD
9750 {
9751 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9752 }
d14a1e28
RD
9753 {
9754 if (temp2)
9755 delete arg2;
9756 }
9757 return resultobj;
9758 fail:
9759 {
9760 if (temp2)
9761 delete arg2;
9762 }
9763 return NULL;
9764}
9765
9766
2f4c0a16 9767static PyObject *_wrap_Image_SaveMimeFile(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9768 PyObject *resultobj;
9769 wxImage *arg1 = (wxImage *) 0 ;
9770 wxString *arg2 = 0 ;
9771 wxString *arg3 = 0 ;
9772 bool result;
423f194a
RD
9773 bool temp2 = False ;
9774 bool temp3 = False ;
d14a1e28
RD
9775 PyObject * obj0 = 0 ;
9776 PyObject * obj1 = 0 ;
9777 PyObject * obj2 = 0 ;
9778 char *kwnames[] = {
9779 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9780 };
9781
9782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9785 {
9786 arg2 = wxString_in_helper(obj1);
9787 if (arg2 == NULL) SWIG_fail;
423f194a 9788 temp2 = True;
d14a1e28
RD
9789 }
9790 {
9791 arg3 = wxString_in_helper(obj2);
9792 if (arg3 == NULL) SWIG_fail;
423f194a 9793 temp3 = True;
d14a1e28
RD
9794 }
9795 {
9796 PyThreadState* __tstate = wxPyBeginAllowThreads();
9797 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9798
9799 wxPyEndAllowThreads(__tstate);
9800 if (PyErr_Occurred()) SWIG_fail;
9801 }
fbc46b20
RD
9802 {
9803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9804 }
d14a1e28
RD
9805 {
9806 if (temp2)
9807 delete arg2;
9808 }
9809 {
9810 if (temp3)
9811 delete arg3;
9812 }
9813 return resultobj;
9814 fail:
9815 {
9816 if (temp2)
9817 delete arg2;
9818 }
9819 {
9820 if (temp3)
9821 delete arg3;
9822 }
9823 return NULL;
9824}
9825
9826
2f4c0a16 9827static PyObject *_wrap_Image_CanReadStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9828 PyObject *resultobj;
9829 wxInputStream *arg1 = 0 ;
9830 bool result;
9831 wxPyInputStream *temp1 ;
9832 bool created1 ;
9833 PyObject * obj0 = 0 ;
9834 char *kwnames[] = {
9835 (char *) "stream", NULL
9836 };
9837
9838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9839 {
9840 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9841 arg1 = temp1->m_wxis;
423f194a 9842 created1 = False;
d14a1e28
RD
9843 } else {
9844 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 9845 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
9846 if (arg1 == NULL) {
9847 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9848 SWIG_fail;
9849 }
423f194a 9850 created1 = True;
d14a1e28
RD
9851 }
9852 }
9853 {
9854 PyThreadState* __tstate = wxPyBeginAllowThreads();
9855 result = (bool)wxImage::CanRead(*arg1);
9856
9857 wxPyEndAllowThreads(__tstate);
9858 if (PyErr_Occurred()) SWIG_fail;
9859 }
fbc46b20
RD
9860 {
9861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9862 }
d14a1e28
RD
9863 {
9864 if (created1)
9865 delete arg1;
9866 }
9867 return resultobj;
9868 fail:
9869 {
9870 if (created1)
9871 delete arg1;
9872 }
9873 return NULL;
9874}
9875
9876
2f4c0a16 9877static PyObject *_wrap_Image_LoadStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9878 PyObject *resultobj;
9879 wxImage *arg1 = (wxImage *) 0 ;
9880 wxInputStream *arg2 = 0 ;
9881 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9882 int arg4 = (int) -1 ;
9883 bool result;
9884 wxPyInputStream *temp2 ;
9885 bool created2 ;
9886 PyObject * obj0 = 0 ;
9887 PyObject * obj1 = 0 ;
8edf1c75
RD
9888 PyObject * obj2 = 0 ;
9889 PyObject * obj3 = 0 ;
d14a1e28
RD
9890 char *kwnames[] = {
9891 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9892 };
9893
8edf1c75 9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9897 {
9898 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9899 arg2 = temp2->m_wxis;
423f194a 9900 created2 = False;
d14a1e28
RD
9901 } else {
9902 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 9903 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9904 if (arg2 == NULL) {
9905 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9906 SWIG_fail;
9907 }
423f194a 9908 created2 = True;
d14a1e28
RD
9909 }
9910 }
8edf1c75 9911 if (obj2) {
2f4c0a16
RD
9912 arg3 = (long) SWIG_AsLong(obj2);
9913 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9914 }
9915 if (obj3) {
2f4c0a16
RD
9916 arg4 = (int) SWIG_AsInt(obj3);
9917 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9918 }
d14a1e28
RD
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9922
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
fbc46b20
RD
9926 {
9927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9928 }
d14a1e28
RD
9929 {
9930 if (created2)
9931 delete arg2;
9932 }
9933 return resultobj;
9934 fail:
9935 {
9936 if (created2)
9937 delete arg2;
9938 }
9939 return NULL;
9940}
9941
9942
2f4c0a16 9943static PyObject *_wrap_Image_LoadMimeStream(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
9944 PyObject *resultobj;
9945 wxImage *arg1 = (wxImage *) 0 ;
9946 wxInputStream *arg2 = 0 ;
9947 wxString *arg3 = 0 ;
9948 int arg4 = (int) -1 ;
9949 bool result;
9950 wxPyInputStream *temp2 ;
9951 bool created2 ;
423f194a 9952 bool temp3 = False ;
d14a1e28
RD
9953 PyObject * obj0 = 0 ;
9954 PyObject * obj1 = 0 ;
9955 PyObject * obj2 = 0 ;
8edf1c75 9956 PyObject * obj3 = 0 ;
d14a1e28
RD
9957 char *kwnames[] = {
9958 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9959 };
9960
8edf1c75 9961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9964 {
9965 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9966 arg2 = temp2->m_wxis;
423f194a 9967 created2 = False;
d14a1e28
RD
9968 } else {
9969 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 9970 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9971 if (arg2 == NULL) {
9972 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9973 SWIG_fail;
9974 }
423f194a 9975 created2 = True;
d14a1e28
RD
9976 }
9977 }
9978 {
9979 arg3 = wxString_in_helper(obj2);
9980 if (arg3 == NULL) SWIG_fail;
423f194a 9981 temp3 = True;
d14a1e28 9982 }
8edf1c75 9983 if (obj3) {
2f4c0a16
RD
9984 arg4 = (int) SWIG_AsInt(obj3);
9985 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9986 }
d14a1e28
RD
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9990
9991 wxPyEndAllowThreads(__tstate);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 }
fbc46b20
RD
9994 {
9995 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9996 }
d14a1e28
RD
9997 {
9998 if (created2)
9999 delete arg2;
10000 }
10001 {
10002 if (temp3)
10003 delete arg3;
10004 }
10005 return resultobj;
10006 fail:
10007 {
10008 if (created2)
10009 delete arg2;
10010 }
10011 {
10012 if (temp3)
10013 delete arg3;
10014 }
10015 return NULL;
10016}
10017
10018
2f4c0a16 10019static PyObject *_wrap_Image_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10020 PyObject *resultobj;
10021 wxImage *arg1 = (wxImage *) 0 ;
10022 bool result;
10023 PyObject * obj0 = 0 ;
10024 char *kwnames[] = {
10025 (char *) "self", NULL
10026 };
10027
10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10029 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10030 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10031 {
10032 PyThreadState* __tstate = wxPyBeginAllowThreads();
10033 result = (bool)(arg1)->Ok();
10034
10035 wxPyEndAllowThreads(__tstate);
10036 if (PyErr_Occurred()) SWIG_fail;
10037 }
fbc46b20
RD
10038 {
10039 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10040 }
d14a1e28
RD
10041 return resultobj;
10042 fail:
10043 return NULL;
10044}
10045
10046
2f4c0a16 10047static PyObject *_wrap_Image_GetWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10048 PyObject *resultobj;
10049 wxImage *arg1 = (wxImage *) 0 ;
10050 int result;
10051 PyObject * obj0 = 0 ;
10052 char *kwnames[] = {
10053 (char *) "self", NULL
10054 };
10055
10056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10059 {
10060 PyThreadState* __tstate = wxPyBeginAllowThreads();
10061 result = (int)(arg1)->GetWidth();
10062
10063 wxPyEndAllowThreads(__tstate);
10064 if (PyErr_Occurred()) SWIG_fail;
10065 }
2f4c0a16 10066 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10067 return resultobj;
10068 fail:
10069 return NULL;
10070}
10071
10072
2f4c0a16 10073static PyObject *_wrap_Image_GetHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10074 PyObject *resultobj;
10075 wxImage *arg1 = (wxImage *) 0 ;
10076 int result;
10077 PyObject * obj0 = 0 ;
10078 char *kwnames[] = {
10079 (char *) "self", NULL
10080 };
10081
10082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
10087 result = (int)(arg1)->GetHeight();
10088
10089 wxPyEndAllowThreads(__tstate);
10090 if (PyErr_Occurred()) SWIG_fail;
10091 }
2f4c0a16 10092 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10093 return resultobj;
10094 fail:
10095 return NULL;
10096}
10097
10098
377d47bd
RD
10099static PyObject *_wrap_Image_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
10100 PyObject *resultobj;
10101 wxImage *arg1 = (wxImage *) 0 ;
10102 wxSize result;
10103 PyObject * obj0 = 0 ;
10104 char *kwnames[] = {
10105 (char *) "self", NULL
10106 };
10107
10108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetSize",kwnames,&obj0)) goto fail;
10109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10111 {
10112 PyThreadState* __tstate = wxPyBeginAllowThreads();
10113 result = wxImage_GetSize(arg1);
10114
10115 wxPyEndAllowThreads(__tstate);
10116 if (PyErr_Occurred()) SWIG_fail;
10117 }
10118 {
10119 wxSize * resultptr;
10120 resultptr = new wxSize((wxSize &) result);
10121 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
10122 }
10123 return resultobj;
10124 fail:
10125 return NULL;
10126}
10127
10128
2f4c0a16 10129static PyObject *_wrap_Image_GetSubImage(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10130 PyObject *resultobj;
10131 wxImage *arg1 = (wxImage *) 0 ;
10132 wxRect *arg2 = 0 ;
10133 SwigValueWrapper< wxImage > result;
10134 wxRect temp2 ;
10135 PyObject * obj0 = 0 ;
10136 PyObject * obj1 = 0 ;
10137 char *kwnames[] = {
10138 (char *) "self",(char *) "rect", NULL
10139 };
10140
10141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10142 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10143 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10144 {
10145 arg2 = &temp2;
10146 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
10147 }
10148 {
10149 PyThreadState* __tstate = wxPyBeginAllowThreads();
10150 result = (arg1)->GetSubImage((wxRect const &)*arg2);
10151
10152 wxPyEndAllowThreads(__tstate);
10153 if (PyErr_Occurred()) SWIG_fail;
10154 }
10155 {
10156 wxImage * resultptr;
10157 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10158 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10159 }
10160 return resultobj;
10161 fail:
10162 return NULL;
10163}
10164
10165
2f4c0a16 10166static PyObject *_wrap_Image_Copy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10167 PyObject *resultobj;
10168 wxImage *arg1 = (wxImage *) 0 ;
10169 SwigValueWrapper< wxImage > result;
10170 PyObject * obj0 = 0 ;
10171 char *kwnames[] = {
10172 (char *) "self", NULL
10173 };
10174
10175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10178 {
10179 PyThreadState* __tstate = wxPyBeginAllowThreads();
10180 result = (arg1)->Copy();
10181
10182 wxPyEndAllowThreads(__tstate);
10183 if (PyErr_Occurred()) SWIG_fail;
10184 }
10185 {
10186 wxImage * resultptr;
10187 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10188 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10189 }
10190 return resultobj;
10191 fail:
10192 return NULL;
10193}
10194
10195
2f4c0a16 10196static PyObject *_wrap_Image_Paste(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10197 PyObject *resultobj;
10198 wxImage *arg1 = (wxImage *) 0 ;
10199 wxImage *arg2 = 0 ;
10200 int arg3 ;
10201 int arg4 ;
10202 PyObject * obj0 = 0 ;
10203 PyObject * obj1 = 0 ;
8edf1c75
RD
10204 PyObject * obj2 = 0 ;
10205 PyObject * obj3 = 0 ;
d14a1e28
RD
10206 char *kwnames[] = {
10207 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10208 };
10209
8edf1c75 10210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
10214 SWIG_POINTER_EXCEPTION | 0)) == -1)
10215 SWIG_fail;
d14a1e28 10216 if (arg2 == NULL) {
2f4c0a16
RD
10217 PyErr_SetString(PyExc_TypeError,"null reference");
10218 SWIG_fail;
8edf1c75 10219 }
2f4c0a16
RD
10220 arg3 = (int) SWIG_AsInt(obj2);
10221 if (PyErr_Occurred()) SWIG_fail;
10222 arg4 = (int) SWIG_AsInt(obj3);
10223 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 Py_INCREF(Py_None); resultobj = Py_None;
10232 return resultobj;
10233 fail:
10234 return NULL;
10235}
10236
10237
2f4c0a16 10238static PyObject *_wrap_Image_GetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10239 PyObject *resultobj;
10240 wxImage *arg1 = (wxImage *) 0 ;
10241 PyObject *result;
10242 PyObject * obj0 = 0 ;
10243 char *kwnames[] = {
10244 (char *) "self", NULL
10245 };
10246
10247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10248 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10250 {
10251 PyThreadState* __tstate = wxPyBeginAllowThreads();
10252 result = (PyObject *)wxImage_GetData(arg1);
10253
10254 wxPyEndAllowThreads(__tstate);
10255 if (PyErr_Occurred()) SWIG_fail;
10256 }
10257 resultobj = result;
10258 return resultobj;
10259 fail:
10260 return NULL;
10261}
10262
10263
2f4c0a16 10264static PyObject *_wrap_Image_SetData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10265 PyObject *resultobj;
10266 wxImage *arg1 = (wxImage *) 0 ;
10267 PyObject *arg2 = (PyObject *) 0 ;
10268 PyObject * obj0 = 0 ;
10269 PyObject * obj1 = 0 ;
10270 char *kwnames[] = {
10271 (char *) "self",(char *) "data", NULL
10272 };
10273
10274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10277 arg2 = obj1;
10278 {
10279 PyThreadState* __tstate = wxPyBeginAllowThreads();
10280 wxImage_SetData(arg1,arg2);
10281
10282 wxPyEndAllowThreads(__tstate);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 Py_INCREF(Py_None); resultobj = Py_None;
10286 return resultobj;
10287 fail:
10288 return NULL;
10289}
10290
10291
2f4c0a16 10292static PyObject *_wrap_Image_GetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10293 PyObject *resultobj;
10294 wxImage *arg1 = (wxImage *) 0 ;
10295 PyObject *result;
10296 PyObject * obj0 = 0 ;
10297 char *kwnames[] = {
10298 (char *) "self", NULL
10299 };
10300
10301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10302 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10303 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10304 {
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
10306 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10307
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 resultobj = result;
10312 return resultobj;
10313 fail:
10314 return NULL;
10315}
10316
10317
2f4c0a16 10318static PyObject *_wrap_Image_SetDataBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10319 PyObject *resultobj;
10320 wxImage *arg1 = (wxImage *) 0 ;
10321 PyObject *arg2 = (PyObject *) 0 ;
10322 PyObject * obj0 = 0 ;
10323 PyObject * obj1 = 0 ;
10324 char *kwnames[] = {
10325 (char *) "self",(char *) "data", NULL
10326 };
10327
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10331 arg2 = obj1;
10332 {
10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
10334 wxImage_SetDataBuffer(arg1,arg2);
10335
10336 wxPyEndAllowThreads(__tstate);
10337 if (PyErr_Occurred()) SWIG_fail;
10338 }
10339 Py_INCREF(Py_None); resultobj = Py_None;
10340 return resultobj;
10341 fail:
10342 return NULL;
10343}
10344
10345
2f4c0a16 10346static PyObject *_wrap_Image_GetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10347 PyObject *resultobj;
10348 wxImage *arg1 = (wxImage *) 0 ;
10349 PyObject *result;
10350 PyObject * obj0 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10356 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10357 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 result = (PyObject *)wxImage_GetAlphaData(arg1);
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 resultobj = result;
10366 return resultobj;
10367 fail:
10368 return NULL;
10369}
10370
10371
2f4c0a16 10372static PyObject *_wrap_Image_SetAlphaData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10373 PyObject *resultobj;
10374 wxImage *arg1 = (wxImage *) 0 ;
10375 PyObject *arg2 = (PyObject *) 0 ;
10376 PyObject * obj0 = 0 ;
10377 PyObject * obj1 = 0 ;
10378 char *kwnames[] = {
10379 (char *) "self",(char *) "data", NULL
10380 };
10381
10382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10385 arg2 = obj1;
10386 {
10387 PyThreadState* __tstate = wxPyBeginAllowThreads();
10388 wxImage_SetAlphaData(arg1,arg2);
10389
10390 wxPyEndAllowThreads(__tstate);
10391 if (PyErr_Occurred()) SWIG_fail;
10392 }
10393 Py_INCREF(Py_None); resultobj = Py_None;
10394 return resultobj;
10395 fail:
10396 return NULL;
10397}
10398
10399
2f4c0a16 10400static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10401 PyObject *resultobj;
10402 wxImage *arg1 = (wxImage *) 0 ;
10403 PyObject *result;
10404 PyObject * obj0 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10412 {
10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
10414 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10415
10416 wxPyEndAllowThreads(__tstate);
10417 if (PyErr_Occurred()) SWIG_fail;
10418 }
10419 resultobj = result;
10420 return resultobj;
10421 fail:
10422 return NULL;
10423}
10424
10425
2f4c0a16 10426static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10427 PyObject *resultobj;
10428 wxImage *arg1 = (wxImage *) 0 ;
10429 PyObject *arg2 = (PyObject *) 0 ;
10430 PyObject * obj0 = 0 ;
10431 PyObject * obj1 = 0 ;
10432 char *kwnames[] = {
10433 (char *) "self",(char *) "data", NULL
10434 };
10435
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10439 arg2 = obj1;
10440 {
10441 PyThreadState* __tstate = wxPyBeginAllowThreads();
10442 wxImage_SetAlphaBuffer(arg1,arg2);
10443
10444 wxPyEndAllowThreads(__tstate);
10445 if (PyErr_Occurred()) SWIG_fail;
10446 }
10447 Py_INCREF(Py_None); resultobj = Py_None;
10448 return resultobj;
10449 fail:
10450 return NULL;
10451}
10452
10453
2f4c0a16 10454static PyObject *_wrap_Image_SetMaskColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10455 PyObject *resultobj;
10456 wxImage *arg1 = (wxImage *) 0 ;
10457 unsigned char arg2 ;
10458 unsigned char arg3 ;
10459 unsigned char arg4 ;
10460 PyObject * obj0 = 0 ;
10461 PyObject * obj1 = 0 ;
10462 PyObject * obj2 = 0 ;
10463 PyObject * obj3 = 0 ;
10464 char *kwnames[] = {
10465 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10466 };
10467
10468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10471 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10472 if (PyErr_Occurred()) SWIG_fail;
10473 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10476 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10477 {
10478 PyThreadState* __tstate = wxPyBeginAllowThreads();
10479 (arg1)->SetMaskColour(arg2,arg3,arg4);
10480
10481 wxPyEndAllowThreads(__tstate);
10482 if (PyErr_Occurred()) SWIG_fail;
10483 }
10484 Py_INCREF(Py_None); resultobj = Py_None;
10485 return resultobj;
10486 fail:
10487 return NULL;
10488}
10489
10490
2f4c0a16 10491static PyObject *_wrap_Image_GetMaskRed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10492 PyObject *resultobj;
10493 wxImage *arg1 = (wxImage *) 0 ;
10494 unsigned char result;
10495 PyObject * obj0 = 0 ;
10496 char *kwnames[] = {
10497 (char *) "self", NULL
10498 };
10499
10500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 result = (unsigned char)(arg1)->GetMaskRed();
10506
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
2f4c0a16 10510 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10511 return resultobj;
10512 fail:
10513 return NULL;
10514}
10515
10516
2f4c0a16 10517static PyObject *_wrap_Image_GetMaskGreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10518 PyObject *resultobj;
10519 wxImage *arg1 = (wxImage *) 0 ;
10520 unsigned char result;
10521 PyObject * obj0 = 0 ;
10522 char *kwnames[] = {
10523 (char *) "self", NULL
10524 };
10525
10526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10527 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10528 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10529 {
10530 PyThreadState* __tstate = wxPyBeginAllowThreads();
10531 result = (unsigned char)(arg1)->GetMaskGreen();
10532
10533 wxPyEndAllowThreads(__tstate);
10534 if (PyErr_Occurred()) SWIG_fail;
10535 }
2f4c0a16 10536 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10537 return resultobj;
10538 fail:
10539 return NULL;
10540}
10541
10542
2f4c0a16 10543static PyObject *_wrap_Image_GetMaskBlue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10544 PyObject *resultobj;
10545 wxImage *arg1 = (wxImage *) 0 ;
10546 unsigned char result;
10547 PyObject * obj0 = 0 ;
10548 char *kwnames[] = {
10549 (char *) "self", NULL
10550 };
10551
10552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10555 {
10556 PyThreadState* __tstate = wxPyBeginAllowThreads();
10557 result = (unsigned char)(arg1)->GetMaskBlue();
10558
10559 wxPyEndAllowThreads(__tstate);
10560 if (PyErr_Occurred()) SWIG_fail;
10561 }
2f4c0a16 10562 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10563 return resultobj;
10564 fail:
10565 return NULL;
10566}
10567
10568
2f4c0a16 10569static PyObject *_wrap_Image_SetMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10570 PyObject *resultobj;
10571 wxImage *arg1 = (wxImage *) 0 ;
423f194a 10572 bool arg2 = (bool) True ;
d14a1e28
RD
10573 PyObject * obj0 = 0 ;
10574 PyObject * obj1 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "self",(char *) "mask", NULL
10577 };
10578
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10582 if (obj1) {
2f4c0a16
RD
10583 arg2 = (bool) SWIG_AsBool(obj1);
10584 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10585 }
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 (arg1)->SetMask(arg2);
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 Py_INCREF(Py_None); resultobj = Py_None;
10594 return resultobj;
10595 fail:
10596 return NULL;
10597}
10598
10599
2f4c0a16 10600static PyObject *_wrap_Image_HasMask(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10601 PyObject *resultobj;
10602 wxImage *arg1 = (wxImage *) 0 ;
10603 bool result;
10604 PyObject * obj0 = 0 ;
10605 char *kwnames[] = {
10606 (char *) "self", NULL
10607 };
10608
10609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10610 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10611 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10612 {
10613 PyThreadState* __tstate = wxPyBeginAllowThreads();
10614 result = (bool)(arg1)->HasMask();
10615
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
fbc46b20
RD
10619 {
10620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10621 }
d14a1e28
RD
10622 return resultobj;
10623 fail:
10624 return NULL;
10625}
10626
10627
2f4c0a16 10628static PyObject *_wrap_Image_Rotate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10629 PyObject *resultobj;
10630 wxImage *arg1 = (wxImage *) 0 ;
10631 double arg2 ;
10632 wxPoint *arg3 = 0 ;
423f194a 10633 bool arg4 = (bool) True ;
d14a1e28
RD
10634 wxPoint *arg5 = (wxPoint *) NULL ;
10635 SwigValueWrapper< wxImage > result;
10636 wxPoint temp3 ;
10637 PyObject * obj0 = 0 ;
8edf1c75 10638 PyObject * obj1 = 0 ;
d14a1e28
RD
10639 PyObject * obj2 = 0 ;
10640 PyObject * obj3 = 0 ;
10641 PyObject * obj4 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10644 };
10645
8edf1c75 10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
10647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10649 arg2 = (double) SWIG_AsDouble(obj1);
10650 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10651 {
10652 arg3 = &temp3;
10653 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10654 }
10655 if (obj3) {
2f4c0a16
RD
10656 arg4 = (bool) SWIG_AsBool(obj3);
10657 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10658 }
10659 if (obj4) {
2f4c0a16
RD
10660 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10662 }
10663 {
10664 PyThreadState* __tstate = wxPyBeginAllowThreads();
10665 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10666
10667 wxPyEndAllowThreads(__tstate);
10668 if (PyErr_Occurred()) SWIG_fail;
10669 }
10670 {
10671 wxImage * resultptr;
10672 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10673 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10674 }
10675 return resultobj;
10676 fail:
10677 return NULL;
10678}
10679
10680
2f4c0a16 10681static PyObject *_wrap_Image_Rotate90(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10682 PyObject *resultobj;
10683 wxImage *arg1 = (wxImage *) 0 ;
423f194a 10684 bool arg2 = (bool) True ;
d14a1e28
RD
10685 SwigValueWrapper< wxImage > result;
10686 PyObject * obj0 = 0 ;
10687 PyObject * obj1 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "self",(char *) "clockwise", NULL
10690 };
10691
10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10695 if (obj1) {
2f4c0a16
RD
10696 arg2 = (bool) SWIG_AsBool(obj1);
10697 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10698 }
10699 {
10700 PyThreadState* __tstate = wxPyBeginAllowThreads();
10701 result = (arg1)->Rotate90(arg2);
10702
10703 wxPyEndAllowThreads(__tstate);
10704 if (PyErr_Occurred()) SWIG_fail;
10705 }
10706 {
10707 wxImage * resultptr;
10708 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10709 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10710 }
10711 return resultobj;
10712 fail:
10713 return NULL;
10714}
10715
10716
2f4c0a16 10717static PyObject *_wrap_Image_Mirror(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10718 PyObject *resultobj;
10719 wxImage *arg1 = (wxImage *) 0 ;
423f194a 10720 bool arg2 = (bool) True ;
d14a1e28
RD
10721 SwigValueWrapper< wxImage > result;
10722 PyObject * obj0 = 0 ;
10723 PyObject * obj1 = 0 ;
10724 char *kwnames[] = {
10725 (char *) "self",(char *) "horizontally", NULL
10726 };
10727
10728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10731 if (obj1) {
2f4c0a16
RD
10732 arg2 = (bool) SWIG_AsBool(obj1);
10733 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10734 }
10735 {
10736 PyThreadState* __tstate = wxPyBeginAllowThreads();
10737 result = (arg1)->Mirror(arg2);
10738
10739 wxPyEndAllowThreads(__tstate);
10740 if (PyErr_Occurred()) SWIG_fail;
10741 }
10742 {
10743 wxImage * resultptr;
10744 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10745 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10746 }
10747 return resultobj;
10748 fail:
10749 return NULL;
10750}
10751
10752
2f4c0a16 10753static PyObject *_wrap_Image_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10754 PyObject *resultobj;
10755 wxImage *arg1 = (wxImage *) 0 ;
10756 unsigned char arg2 ;
10757 unsigned char arg3 ;
10758 unsigned char arg4 ;
10759 unsigned char arg5 ;
10760 unsigned char arg6 ;
10761 unsigned char arg7 ;
10762 PyObject * obj0 = 0 ;
10763 PyObject * obj1 = 0 ;
10764 PyObject * obj2 = 0 ;
10765 PyObject * obj3 = 0 ;
10766 PyObject * obj4 = 0 ;
10767 PyObject * obj5 = 0 ;
10768 PyObject * obj6 = 0 ;
10769 char *kwnames[] = {
10770 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10771 };
10772
10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
10774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10776 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10777 if (PyErr_Occurred()) SWIG_fail;
10778 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10779 if (PyErr_Occurred()) SWIG_fail;
10780 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10781 if (PyErr_Occurred()) SWIG_fail;
10782 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10785 if (PyErr_Occurred()) SWIG_fail;
10786 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10787 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10788 {
10789 PyThreadState* __tstate = wxPyBeginAllowThreads();
10790 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10791
10792 wxPyEndAllowThreads(__tstate);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 Py_INCREF(Py_None); resultobj = Py_None;
10796 return resultobj;
10797 fail:
10798 return NULL;
10799}
10800
10801
2f4c0a16 10802static PyObject *_wrap_Image_ConvertToMono(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10803 PyObject *resultobj;
10804 wxImage *arg1 = (wxImage *) 0 ;
10805 unsigned char arg2 ;
10806 unsigned char arg3 ;
10807 unsigned char arg4 ;
10808 SwigValueWrapper< wxImage > result;
10809 PyObject * obj0 = 0 ;
10810 PyObject * obj1 = 0 ;
10811 PyObject * obj2 = 0 ;
10812 PyObject * obj3 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10820 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10821 if (PyErr_Occurred()) SWIG_fail;
10822 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10825 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10826 {
10827 PyThreadState* __tstate = wxPyBeginAllowThreads();
10828 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10829
10830 wxPyEndAllowThreads(__tstate);
10831 if (PyErr_Occurred()) SWIG_fail;
10832 }
10833 {
10834 wxImage * resultptr;
10835 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10836 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10837 }
10838 return resultobj;
10839 fail:
10840 return NULL;
10841}
10842
10843
2f4c0a16 10844static PyObject *_wrap_Image_SetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10845 PyObject *resultobj;
10846 wxImage *arg1 = (wxImage *) 0 ;
10847 wxString *arg2 = 0 ;
10848 wxString *arg3 = 0 ;
423f194a
RD
10849 bool temp2 = False ;
10850 bool temp3 = False ;
d14a1e28
RD
10851 PyObject * obj0 = 0 ;
10852 PyObject * obj1 = 0 ;
10853 PyObject * obj2 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self",(char *) "name",(char *) "value", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10861 {
10862 arg2 = wxString_in_helper(obj1);
10863 if (arg2 == NULL) SWIG_fail;
423f194a 10864 temp2 = True;
d14a1e28
RD
10865 }
10866 {
10867 arg3 = wxString_in_helper(obj2);
10868 if (arg3 == NULL) SWIG_fail;
423f194a 10869 temp3 = True;
d14a1e28
RD
10870 }
10871 {
10872 PyThreadState* __tstate = wxPyBeginAllowThreads();
10873 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10874
10875 wxPyEndAllowThreads(__tstate);
10876 if (PyErr_Occurred()) SWIG_fail;
10877 }
10878 Py_INCREF(Py_None); resultobj = Py_None;
10879 {
10880 if (temp2)
10881 delete arg2;
10882 }
10883 {
10884 if (temp3)
10885 delete arg3;
10886 }
10887 return resultobj;
10888 fail:
10889 {
10890 if (temp2)
10891 delete arg2;
10892 }
10893 {
10894 if (temp3)
10895 delete arg3;
10896 }
10897 return NULL;
10898}
10899
10900
2f4c0a16 10901static PyObject *_wrap_Image_SetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10902 PyObject *resultobj;
10903 wxImage *arg1 = (wxImage *) 0 ;
10904 wxString *arg2 = 0 ;
10905 int arg3 ;
423f194a 10906 bool temp2 = False ;
d14a1e28
RD
10907 PyObject * obj0 = 0 ;
10908 PyObject * obj1 = 0 ;
8edf1c75 10909 PyObject * obj2 = 0 ;
d14a1e28
RD
10910 char *kwnames[] = {
10911 (char *) "self",(char *) "name",(char *) "value", NULL
10912 };
10913
8edf1c75 10914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10917 {
10918 arg2 = wxString_in_helper(obj1);
10919 if (arg2 == NULL) SWIG_fail;
423f194a 10920 temp2 = True;
d14a1e28 10921 }
2f4c0a16
RD
10922 arg3 = (int) SWIG_AsInt(obj2);
10923 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10924 {
10925 PyThreadState* __tstate = wxPyBeginAllowThreads();
10926 (arg1)->SetOption((wxString const &)*arg2,arg3);
10927
10928 wxPyEndAllowThreads(__tstate);
10929 if (PyErr_Occurred()) SWIG_fail;
10930 }
10931 Py_INCREF(Py_None); resultobj = Py_None;
10932 {
10933 if (temp2)
10934 delete arg2;
10935 }
10936 return resultobj;
10937 fail:
10938 {
10939 if (temp2)
10940 delete arg2;
10941 }
10942 return NULL;
10943}
10944
10945
2f4c0a16 10946static PyObject *_wrap_Image_GetOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10947 PyObject *resultobj;
10948 wxImage *arg1 = (wxImage *) 0 ;
10949 wxString *arg2 = 0 ;
10950 wxString result;
423f194a 10951 bool temp2 = False ;
d14a1e28
RD
10952 PyObject * obj0 = 0 ;
10953 PyObject * obj1 = 0 ;
10954 char *kwnames[] = {
10955 (char *) "self",(char *) "name", NULL
10956 };
10957
10958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10961 {
10962 arg2 = wxString_in_helper(obj1);
10963 if (arg2 == NULL) SWIG_fail;
423f194a 10964 temp2 = True;
d14a1e28
RD
10965 }
10966 {
10967 PyThreadState* __tstate = wxPyBeginAllowThreads();
10968 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10969
10970 wxPyEndAllowThreads(__tstate);
10971 if (PyErr_Occurred()) SWIG_fail;
10972 }
10973 {
10974#if wxUSE_UNICODE
10975 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10976#else
10977 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10978#endif
10979 }
10980 {
10981 if (temp2)
10982 delete arg2;
10983 }
10984 return resultobj;
10985 fail:
10986 {
10987 if (temp2)
10988 delete arg2;
10989 }
10990 return NULL;
10991}
10992
10993
2f4c0a16 10994static PyObject *_wrap_Image_GetOptionInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
10995 PyObject *resultobj;
10996 wxImage *arg1 = (wxImage *) 0 ;
10997 wxString *arg2 = 0 ;
10998 int result;
423f194a 10999 bool temp2 = False ;
d14a1e28
RD
11000 PyObject * obj0 = 0 ;
11001 PyObject * obj1 = 0 ;
11002 char *kwnames[] = {
11003 (char *) "self",(char *) "name", NULL
11004 };
11005
11006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11009 {
11010 arg2 = wxString_in_helper(obj1);
11011 if (arg2 == NULL) SWIG_fail;
423f194a 11012 temp2 = True;
d14a1e28
RD
11013 }
11014 {
11015 PyThreadState* __tstate = wxPyBeginAllowThreads();
11016 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
11017
11018 wxPyEndAllowThreads(__tstate);
11019 if (PyErr_Occurred()) SWIG_fail;
11020 }
2f4c0a16 11021 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11022 {
11023 if (temp2)
11024 delete arg2;
11025 }
11026 return resultobj;
11027 fail:
11028 {
11029 if (temp2)
11030 delete arg2;
11031 }
11032 return NULL;
11033}
11034
11035
2f4c0a16 11036static PyObject *_wrap_Image_HasOption(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11037 PyObject *resultobj;
11038 wxImage *arg1 = (wxImage *) 0 ;
11039 wxString *arg2 = 0 ;
11040 bool result;
423f194a 11041 bool temp2 = False ;
d14a1e28
RD
11042 PyObject * obj0 = 0 ;
11043 PyObject * obj1 = 0 ;
11044 char *kwnames[] = {
11045 (char *) "self",(char *) "name", NULL
11046 };
11047
11048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11049 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11050 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11051 {
11052 arg2 = wxString_in_helper(obj1);
11053 if (arg2 == NULL) SWIG_fail;
423f194a 11054 temp2 = True;
d14a1e28
RD
11055 }
11056 {
11057 PyThreadState* __tstate = wxPyBeginAllowThreads();
11058 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
11059
11060 wxPyEndAllowThreads(__tstate);
11061 if (PyErr_Occurred()) SWIG_fail;
11062 }
fbc46b20
RD
11063 {
11064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11065 }
d14a1e28
RD
11066 {
11067 if (temp2)
11068 delete arg2;
11069 }
11070 return resultobj;
11071 fail:
11072 {
11073 if (temp2)
11074 delete arg2;
11075 }
11076 return NULL;
11077}
11078
11079
2f4c0a16 11080static PyObject *_wrap_Image_CountColours(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11081 PyObject *resultobj;
11082 wxImage *arg1 = (wxImage *) 0 ;
11083 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
11084 unsigned long result;
11085 PyObject * obj0 = 0 ;
11086 PyObject * obj1 = 0 ;
11087 char *kwnames[] = {
11088 (char *) "self",(char *) "stopafter", NULL
11089 };
11090
11091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 11094 if (obj1) {
2f4c0a16
RD
11095 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
11096 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11097 }
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 result = (unsigned long)(arg1)->CountColours(arg2);
11101
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
2f4c0a16 11105 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11106 return resultobj;
11107 fail:
11108 return NULL;
11109}
11110
11111
2f4c0a16 11112static PyObject *_wrap_Image_ComputeHistogram(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11113 PyObject *resultobj;
11114 wxImage *arg1 = (wxImage *) 0 ;
11115 wxImageHistogram *arg2 = 0 ;
11116 unsigned long result;
11117 PyObject * obj0 = 0 ;
11118 PyObject * obj1 = 0 ;
11119 char *kwnames[] = {
11120 (char *) "self",(char *) "h", NULL
11121 };
11122
11123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11126 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
11127 SWIG_POINTER_EXCEPTION | 0)) == -1)
11128 SWIG_fail;
d14a1e28 11129 if (arg2 == NULL) {
2f4c0a16
RD
11130 PyErr_SetString(PyExc_TypeError,"null reference");
11131 SWIG_fail;
d14a1e28
RD
11132 }
11133 {
11134 PyThreadState* __tstate = wxPyBeginAllowThreads();
11135 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
11136
11137 wxPyEndAllowThreads(__tstate);
11138 if (PyErr_Occurred()) SWIG_fail;
11139 }
2f4c0a16 11140 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
11141 return resultobj;
11142 fail:
11143 return NULL;
11144}
11145
11146
2f4c0a16 11147static PyObject *_wrap_Image_AddHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11148 PyObject *resultobj;
11149 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11150 PyObject * obj0 = 0 ;
11151 char *kwnames[] = {
11152 (char *) "handler", NULL
11153 };
11154
11155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11156 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11157 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11158 {
11159 PyThreadState* __tstate = wxPyBeginAllowThreads();
11160 wxImage::AddHandler(arg1);
11161
11162 wxPyEndAllowThreads(__tstate);
11163 if (PyErr_Occurred()) SWIG_fail;
11164 }
11165 Py_INCREF(Py_None); resultobj = Py_None;
11166 return resultobj;
11167 fail:
11168 return NULL;
11169}
11170
11171
2f4c0a16 11172static PyObject *_wrap_Image_InsertHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11173 PyObject *resultobj;
11174 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
11175 PyObject * obj0 = 0 ;
11176 char *kwnames[] = {
11177 (char *) "handler", NULL
11178 };
11179
11180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11181 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
11182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11183 {
11184 PyThreadState* __tstate = wxPyBeginAllowThreads();
11185 wxImage::InsertHandler(arg1);
11186
11187 wxPyEndAllowThreads(__tstate);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
11190 Py_INCREF(Py_None); resultobj = Py_None;
11191 return resultobj;
11192 fail:
11193 return NULL;
11194}
11195
11196
2f4c0a16 11197static PyObject *_wrap_Image_RemoveHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11198 PyObject *resultobj;
11199 wxString *arg1 = 0 ;
11200 bool result;
423f194a 11201 bool temp1 = False ;
d14a1e28
RD
11202 PyObject * obj0 = 0 ;
11203 char *kwnames[] = {
11204 (char *) "name", NULL
11205 };
11206
11207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
11208 {
11209 arg1 = wxString_in_helper(obj0);
11210 if (arg1 == NULL) SWIG_fail;
423f194a 11211 temp1 = True;
d14a1e28
RD
11212 }
11213 {
11214 PyThreadState* __tstate = wxPyBeginAllowThreads();
11215 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
11216
11217 wxPyEndAllowThreads(__tstate);
11218 if (PyErr_Occurred()) SWIG_fail;
11219 }
fbc46b20
RD
11220 {
11221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11222 }
d14a1e28
RD
11223 {
11224 if (temp1)
11225 delete arg1;
11226 }
11227 return resultobj;
11228 fail:
11229 {
11230 if (temp1)
11231 delete arg1;
11232 }
11233 return NULL;
11234}
11235
11236
2f4c0a16 11237static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11238 PyObject *resultobj;
11239 wxString result;
11240 char *kwnames[] = {
11241 NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
11245 {
11246 PyThreadState* __tstate = wxPyBeginAllowThreads();
11247 result = wxImage::GetImageExtWildcard();
11248
11249 wxPyEndAllowThreads(__tstate);
11250 if (PyErr_Occurred()) SWIG_fail;
11251 }
11252 {
11253#if wxUSE_UNICODE
11254 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11255#else
11256 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11257#endif
11258 }
11259 return resultobj;
11260 fail:
11261 return NULL;
11262}
11263
11264
2f4c0a16 11265static PyObject *_wrap_Image_ConvertToBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11266 PyObject *resultobj;
11267 wxImage *arg1 = (wxImage *) 0 ;
11268 wxBitmap result;
11269 PyObject * obj0 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self", NULL
11272 };
11273
11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 result = wxImage_ConvertToBitmap(arg1);
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 {
11285 wxBitmap * resultptr;
11286 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 11287 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11288 }
11289 return resultobj;
11290 fail:
11291 return NULL;
11292}
11293
11294
2f4c0a16 11295static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11296 PyObject *resultobj;
11297 wxImage *arg1 = (wxImage *) 0 ;
11298 unsigned char arg2 ;
11299 unsigned char arg3 ;
11300 unsigned char arg4 ;
11301 wxBitmap result;
11302 PyObject * obj0 = 0 ;
11303 PyObject * obj1 = 0 ;
11304 PyObject * obj2 = 0 ;
11305 PyObject * obj3 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11313 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11318 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11319 {
11320 PyThreadState* __tstate = wxPyBeginAllowThreads();
11321 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11322
11323 wxPyEndAllowThreads(__tstate);
11324 if (PyErr_Occurred()) SWIG_fail;
11325 }
11326 {
11327 wxBitmap * resultptr;
11328 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 11329 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11330 }
11331 return resultobj;
11332 fail:
11333 return NULL;
11334}
11335
11336
2f4c0a16 11337static PyObject * Image_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11338 PyObject *obj;
11339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11340 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11341 Py_INCREF(obj);
11342 return Py_BuildValue((char *)"");
11343}
2f4c0a16 11344static PyObject *_wrap_InitAllImageHandlers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11345 PyObject *resultobj;
11346 char *kwnames[] = {
11347 NULL
11348 };
11349
11350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
11351 {
11352 PyThreadState* __tstate = wxPyBeginAllowThreads();
11353 wxInitAllImageHandlers();
11354
11355 wxPyEndAllowThreads(__tstate);
11356 if (PyErr_Occurred()) SWIG_fail;
11357 }
11358 Py_INCREF(Py_None); resultobj = Py_None;
11359 return resultobj;
11360 fail:
11361 return NULL;
11362}
11363
11364
8edf1c75 11365static int _wrap_NullImage_set(PyObject *) {
d14a1e28
RD
11366 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11367 return 1;
11368}
11369
11370
11371static PyObject *_wrap_NullImage_get() {
11372 PyObject *pyobj;
11373
2f4c0a16 11374 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11375 return pyobj;
11376}
11377
11378
8edf1c75 11379static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *) {
d14a1e28
RD
11380 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11381 return 1;
11382}
11383
11384
11385static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11386 PyObject *pyobj;
11387
11388 {
11389#if wxUSE_UNICODE
11390 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11391#else
11392 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11393#endif
11394 }
11395 return pyobj;
11396}
11397
11398
8edf1c75 11399static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *) {
d14a1e28
RD
11400 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11401 return 1;
11402}
11403
11404
11405static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11406 PyObject *pyobj;
11407
11408 {
11409#if wxUSE_UNICODE
11410 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11411#else
11412 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11413#endif
11414 }
11415 return pyobj;
11416}
11417
11418
8edf1c75 11419static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *) {
d14a1e28
RD
11420 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11421 return 1;
11422}
11423
11424
11425static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11426 PyObject *pyobj;
11427
11428 {
11429#if wxUSE_UNICODE
11430 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11431#else
11432 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11433#endif
11434 }
11435 return pyobj;
11436}
11437
11438
8edf1c75 11439static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *) {
d14a1e28
RD
11440 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11441 return 1;
11442}
11443
11444
11445static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11446 PyObject *pyobj;
11447
11448 {
11449#if wxUSE_UNICODE
11450 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11451#else
11452 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11453#endif
11454 }
11455 return pyobj;
11456}
11457
11458
8edf1c75 11459static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *) {
d14a1e28
RD
11460 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11461 return 1;
11462}
11463
11464
11465static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11466 PyObject *pyobj;
11467
11468 {
11469#if wxUSE_UNICODE
11470 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11471#else
11472 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11473#endif
11474 }
11475 return pyobj;
11476}
11477
11478
2f4c0a16 11479static PyObject *_wrap_new_BMPHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11480 PyObject *resultobj;
11481 wxBMPHandler *result;
11482 char *kwnames[] = {
11483 NULL
11484 };
11485
11486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 result = (wxBMPHandler *)new wxBMPHandler();
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
2f4c0a16 11494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
11495 return resultobj;
11496 fail:
11497 return NULL;
11498}
11499
11500
2f4c0a16 11501static PyObject * BMPHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11502 PyObject *obj;
11503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11504 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11505 Py_INCREF(obj);
11506 return Py_BuildValue((char *)"");
11507}
2f4c0a16 11508static PyObject *_wrap_new_ICOHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11509 PyObject *resultobj;
11510 wxICOHandler *result;
11511 char *kwnames[] = {
11512 NULL
11513 };
11514
11515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 result = (wxICOHandler *)new wxICOHandler();
11519
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
2f4c0a16 11523 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
11524 return resultobj;
11525 fail:
11526 return NULL;
11527}
11528
11529
2f4c0a16 11530static PyObject * ICOHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11531 PyObject *obj;
11532 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11533 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11534 Py_INCREF(obj);
11535 return Py_BuildValue((char *)"");
11536}
2f4c0a16 11537static PyObject *_wrap_new_CURHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11538 PyObject *resultobj;
11539 wxCURHandler *result;
11540 char *kwnames[] = {
11541 NULL
11542 };
11543
11544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11545 {
11546 PyThreadState* __tstate = wxPyBeginAllowThreads();
11547 result = (wxCURHandler *)new wxCURHandler();
11548
11549 wxPyEndAllowThreads(__tstate);
11550 if (PyErr_Occurred()) SWIG_fail;
11551 }
2f4c0a16 11552 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
11553 return resultobj;
11554 fail:
11555 return NULL;
11556}
11557
11558
2f4c0a16 11559static PyObject * CURHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11560 PyObject *obj;
11561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11562 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11563 Py_INCREF(obj);
11564 return Py_BuildValue((char *)"");
11565}
2f4c0a16 11566static PyObject *_wrap_new_ANIHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11567 PyObject *resultobj;
11568 wxANIHandler *result;
11569 char *kwnames[] = {
11570 NULL
11571 };
11572
11573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11574 {
11575 PyThreadState* __tstate = wxPyBeginAllowThreads();
11576 result = (wxANIHandler *)new wxANIHandler();
11577
11578 wxPyEndAllowThreads(__tstate);
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
2f4c0a16 11581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
11582 return resultobj;
11583 fail:
11584 return NULL;
11585}
11586
11587
2f4c0a16 11588static PyObject * ANIHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11589 PyObject *obj;
11590 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11591 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11592 Py_INCREF(obj);
11593 return Py_BuildValue((char *)"");
11594}
2f4c0a16 11595static PyObject *_wrap_new_PNGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11596 PyObject *resultobj;
11597 wxPNGHandler *result;
11598 char *kwnames[] = {
11599 NULL
11600 };
11601
11602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 result = (wxPNGHandler *)new wxPNGHandler();
11606
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
2f4c0a16 11610 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
11611 return resultobj;
11612 fail:
11613 return NULL;
11614}
11615
11616
2f4c0a16 11617static PyObject * PNGHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11618 PyObject *obj;
11619 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11620 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11621 Py_INCREF(obj);
11622 return Py_BuildValue((char *)"");
11623}
2f4c0a16 11624static PyObject *_wrap_new_GIFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11625 PyObject *resultobj;
11626 wxGIFHandler *result;
11627 char *kwnames[] = {
11628 NULL
11629 };
11630
11631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11632 {
11633 PyThreadState* __tstate = wxPyBeginAllowThreads();
11634 result = (wxGIFHandler *)new wxGIFHandler();
11635
11636 wxPyEndAllowThreads(__tstate);
11637 if (PyErr_Occurred()) SWIG_fail;
11638 }
2f4c0a16 11639 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
11640 return resultobj;
11641 fail:
11642 return NULL;
11643}
11644
11645
2f4c0a16 11646static PyObject * GIFHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11647 PyObject *obj;
11648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11649 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11650 Py_INCREF(obj);
11651 return Py_BuildValue((char *)"");
11652}
2f4c0a16 11653static PyObject *_wrap_new_PCXHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11654 PyObject *resultobj;
11655 wxPCXHandler *result;
11656 char *kwnames[] = {
11657 NULL
11658 };
11659
11660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 result = (wxPCXHandler *)new wxPCXHandler();
11664
11665 wxPyEndAllowThreads(__tstate);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
2f4c0a16 11668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
11669 return resultobj;
11670 fail:
11671 return NULL;
11672}
11673
11674
2f4c0a16 11675static PyObject * PCXHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11676 PyObject *obj;
11677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11679 Py_INCREF(obj);
11680 return Py_BuildValue((char *)"");
11681}
2f4c0a16 11682static PyObject *_wrap_new_JPEGHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11683 PyObject *resultobj;
11684 wxJPEGHandler *result;
11685 char *kwnames[] = {
11686 NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11690 {
11691 PyThreadState* __tstate = wxPyBeginAllowThreads();
11692 result = (wxJPEGHandler *)new wxJPEGHandler();
11693
11694 wxPyEndAllowThreads(__tstate);
11695 if (PyErr_Occurred()) SWIG_fail;
11696 }
2f4c0a16 11697 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
11698 return resultobj;
11699 fail:
11700 return NULL;
11701}
11702
11703
2f4c0a16 11704static PyObject * JPEGHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11705 PyObject *obj;
11706 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11707 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11708 Py_INCREF(obj);
11709 return Py_BuildValue((char *)"");
11710}
2f4c0a16 11711static PyObject *_wrap_new_PNMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11712 PyObject *resultobj;
11713 wxPNMHandler *result;
11714 char *kwnames[] = {
11715 NULL
11716 };
11717
11718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 result = (wxPNMHandler *)new wxPNMHandler();
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
2f4c0a16 11726 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
11727 return resultobj;
11728 fail:
11729 return NULL;
11730}
11731
11732
2f4c0a16 11733static PyObject * PNMHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11734 PyObject *obj;
11735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11736 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11737 Py_INCREF(obj);
11738 return Py_BuildValue((char *)"");
11739}
2f4c0a16 11740static PyObject *_wrap_new_XPMHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11741 PyObject *resultobj;
11742 wxXPMHandler *result;
11743 char *kwnames[] = {
11744 NULL
11745 };
11746
11747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 result = (wxXPMHandler *)new wxXPMHandler();
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
2f4c0a16 11755 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
11756 return resultobj;
11757 fail:
11758 return NULL;
11759}
11760
11761
2f4c0a16 11762static PyObject * XPMHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11763 PyObject *obj;
11764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11765 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11766 Py_INCREF(obj);
11767 return Py_BuildValue((char *)"");
11768}
2f4c0a16 11769static PyObject *_wrap_new_TIFFHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11770 PyObject *resultobj;
11771 wxTIFFHandler *result;
11772 char *kwnames[] = {
11773 NULL
11774 };
11775
11776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 result = (wxTIFFHandler *)new wxTIFFHandler();
11780
11781 wxPyEndAllowThreads(__tstate);
11782 if (PyErr_Occurred()) SWIG_fail;
11783 }
2f4c0a16 11784 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
11785 return resultobj;
11786 fail:
11787 return NULL;
11788}
11789
11790
2f4c0a16 11791static PyObject * TIFFHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
11792 PyObject *obj;
11793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11794 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11795 Py_INCREF(obj);
11796 return Py_BuildValue((char *)"");
11797}
2f4c0a16 11798static PyObject *_wrap_new_EvtHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11799 PyObject *resultobj;
11800 wxEvtHandler *result;
11801 char *kwnames[] = {
11802 NULL
11803 };
11804
11805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 result = (wxEvtHandler *)new wxEvtHandler();
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 {
11814 resultobj = wxPyMake_wxObject(result);
11815 }
11816 return resultobj;
11817 fail:
11818 return NULL;
11819}
11820
11821
2f4c0a16 11822static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11823 PyObject *resultobj;
11824 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11825 wxEvtHandler *result;
11826 PyObject * obj0 = 0 ;
11827 char *kwnames[] = {
11828 (char *) "self", NULL
11829 };
11830
11831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11834 {
11835 PyThreadState* __tstate = wxPyBeginAllowThreads();
11836 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11837
11838 wxPyEndAllowThreads(__tstate);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 {
11842 resultobj = wxPyMake_wxObject(result);
11843 }
11844 return resultobj;
11845 fail:
11846 return NULL;
11847}
11848
11849
2f4c0a16 11850static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11851 PyObject *resultobj;
11852 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11853 wxEvtHandler *result;
11854 PyObject * obj0 = 0 ;
11855 char *kwnames[] = {
11856 (char *) "self", NULL
11857 };
11858
11859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11862 {
11863 PyThreadState* __tstate = wxPyBeginAllowThreads();
11864 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11865
11866 wxPyEndAllowThreads(__tstate);
11867 if (PyErr_Occurred()) SWIG_fail;
11868 }
11869 {
11870 resultobj = wxPyMake_wxObject(result);
11871 }
11872 return resultobj;
11873 fail:
11874 return NULL;
11875}
11876
11877
2f4c0a16 11878static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11879 PyObject *resultobj;
11880 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11881 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11882 PyObject * obj0 = 0 ;
11883 PyObject * obj1 = 0 ;
11884 char *kwnames[] = {
11885 (char *) "self",(char *) "handler", NULL
11886 };
11887
11888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11891 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 (arg1)->SetNextHandler(arg2);
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 Py_INCREF(Py_None); resultobj = Py_None;
11901 return resultobj;
11902 fail:
11903 return NULL;
11904}
11905
11906
2f4c0a16 11907static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11908 PyObject *resultobj;
11909 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11910 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11911 PyObject * obj0 = 0 ;
11912 PyObject * obj1 = 0 ;
11913 char *kwnames[] = {
11914 (char *) "self",(char *) "handler", NULL
11915 };
11916
11917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11918 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11920 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11922 {
11923 PyThreadState* __tstate = wxPyBeginAllowThreads();
11924 (arg1)->SetPreviousHandler(arg2);
11925
11926 wxPyEndAllowThreads(__tstate);
11927 if (PyErr_Occurred()) SWIG_fail;
11928 }
11929 Py_INCREF(Py_None); resultobj = Py_None;
11930 return resultobj;
11931 fail:
11932 return NULL;
11933}
11934
11935
2f4c0a16 11936static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11937 PyObject *resultobj;
11938 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11939 bool result;
11940 PyObject * obj0 = 0 ;
11941 char *kwnames[] = {
11942 (char *) "self", NULL
11943 };
11944
11945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11948 {
11949 PyThreadState* __tstate = wxPyBeginAllowThreads();
11950 result = (bool)(arg1)->GetEvtHandlerEnabled();
11951
11952 wxPyEndAllowThreads(__tstate);
11953 if (PyErr_Occurred()) SWIG_fail;
11954 }
fbc46b20
RD
11955 {
11956 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
11957 }
d14a1e28
RD
11958 return resultobj;
11959 fail:
11960 return NULL;
11961}
11962
11963
2f4c0a16 11964static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11965 PyObject *resultobj;
11966 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11967 bool arg2 ;
11968 PyObject * obj0 = 0 ;
11969 PyObject * obj1 = 0 ;
11970 char *kwnames[] = {
11971 (char *) "self",(char *) "enabled", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11977 arg2 = (bool) SWIG_AsBool(obj1);
11978 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11979 {
11980 PyThreadState* __tstate = wxPyBeginAllowThreads();
11981 (arg1)->SetEvtHandlerEnabled(arg2);
11982
11983 wxPyEndAllowThreads(__tstate);
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
11986 Py_INCREF(Py_None); resultobj = Py_None;
11987 return resultobj;
11988 fail:
11989 return NULL;
11990}
11991
11992
2f4c0a16 11993static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
11994 PyObject *resultobj;
11995 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11996 wxEvent *arg2 = 0 ;
11997 bool result;
11998 PyObject * obj0 = 0 ;
11999 PyObject * obj1 = 0 ;
12000 char *kwnames[] = {
12001 (char *) "self",(char *) "event", NULL
12002 };
12003
12004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12007 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12008 SWIG_POINTER_EXCEPTION | 0)) == -1)
12009 SWIG_fail;
d14a1e28 12010 if (arg2 == NULL) {
2f4c0a16
RD
12011 PyErr_SetString(PyExc_TypeError,"null reference");
12012 SWIG_fail;
d14a1e28
RD
12013 }
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 result = (bool)(arg1)->ProcessEvent(*arg2);
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
fbc46b20
RD
12021 {
12022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12023 }
d14a1e28
RD
12024 return resultobj;
12025 fail:
12026 return NULL;
12027}
12028
12029
2f4c0a16 12030static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12031 PyObject *resultobj;
12032 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12033 wxEvent *arg2 = 0 ;
12034 PyObject * obj0 = 0 ;
12035 PyObject * obj1 = 0 ;
12036 char *kwnames[] = {
12037 (char *) "self",(char *) "event", NULL
12038 };
12039
12040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12041 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12043 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
12044 SWIG_POINTER_EXCEPTION | 0)) == -1)
12045 SWIG_fail;
d14a1e28 12046 if (arg2 == NULL) {
2f4c0a16
RD
12047 PyErr_SetString(PyExc_TypeError,"null reference");
12048 SWIG_fail;
d14a1e28
RD
12049 }
12050 {
12051 PyThreadState* __tstate = wxPyBeginAllowThreads();
12052 (arg1)->AddPendingEvent(*arg2);
12053
12054 wxPyEndAllowThreads(__tstate);
12055 if (PyErr_Occurred()) SWIG_fail;
12056 }
12057 Py_INCREF(Py_None); resultobj = Py_None;
12058 return resultobj;
12059 fail:
12060 return NULL;
12061}
12062
12063
2f4c0a16 12064static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12065 PyObject *resultobj;
12066 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12067 PyObject * obj0 = 0 ;
12068 char *kwnames[] = {
12069 (char *) "self", NULL
12070 };
12071
12072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12073 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12074 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 (arg1)->ProcessPendingEvents();
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 Py_INCREF(Py_None); resultobj = Py_None;
12083 return resultobj;
12084 fail:
12085 return NULL;
12086}
12087
12088
2f4c0a16 12089static PyObject *_wrap_EvtHandler_Connect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12090 PyObject *resultobj;
12091 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12092 int arg2 ;
12093 int arg3 ;
12094 int arg4 ;
12095 PyObject *arg5 = (PyObject *) 0 ;
12096 PyObject * obj0 = 0 ;
8edf1c75
RD
12097 PyObject * obj1 = 0 ;
12098 PyObject * obj2 = 0 ;
12099 PyObject * obj3 = 0 ;
d14a1e28
RD
12100 PyObject * obj4 = 0 ;
12101 char *kwnames[] = {
12102 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12103 };
12104
8edf1c75 12105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
12106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12108 arg2 = (int) SWIG_AsInt(obj1);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 arg3 = (int) SWIG_AsInt(obj2);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 arg4 = (int) SWIG_AsInt(obj3);
12113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12114 arg5 = obj4;
12115 {
12116 PyThreadState* __tstate = wxPyBeginAllowThreads();
12117 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
12118
12119 wxPyEndAllowThreads(__tstate);
12120 if (PyErr_Occurred()) SWIG_fail;
12121 }
12122 Py_INCREF(Py_None); resultobj = Py_None;
12123 return resultobj;
12124 fail:
12125 return NULL;
12126}
12127
12128
2f4c0a16 12129static PyObject *_wrap_EvtHandler_Disconnect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12130 PyObject *resultobj;
12131 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12132 int arg2 ;
12133 int arg3 = (int) -1 ;
12134 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
12135 bool result;
12136 PyObject * obj0 = 0 ;
8edf1c75
RD
12137 PyObject * obj1 = 0 ;
12138 PyObject * obj2 = 0 ;
12139 PyObject * obj3 = 0 ;
d14a1e28
RD
12140 char *kwnames[] = {
12141 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12142 };
12143
8edf1c75 12144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
12145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12147 arg2 = (int) SWIG_AsInt(obj1);
12148 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12149 if (obj2) {
2f4c0a16
RD
12150 arg3 = (int) SWIG_AsInt(obj2);
12151 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12152 }
12153 if (obj3) {
2f4c0a16
RD
12154 arg4 = (wxEventType) SWIG_AsInt(obj3);
12155 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12156 }
d14a1e28
RD
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
12160
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
fbc46b20
RD
12164 {
12165 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12166 }
d14a1e28
RD
12167 return resultobj;
12168 fail:
12169 return NULL;
12170}
12171
12172
2f4c0a16 12173static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12174 PyObject *resultobj;
12175 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
12176 PyObject *arg2 = (PyObject *) 0 ;
12177 PyObject * obj0 = 0 ;
12178 PyObject * obj1 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self",(char *) "_self", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
12185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12186 arg2 = obj1;
12187 {
12188 PyThreadState* __tstate = wxPyBeginAllowThreads();
12189 wxEvtHandler__setOORInfo(arg1,arg2);
12190
12191 wxPyEndAllowThreads(__tstate);
12192 if (PyErr_Occurred()) SWIG_fail;
12193 }
12194 Py_INCREF(Py_None); resultobj = Py_None;
12195 return resultobj;
12196 fail:
12197 return NULL;
12198}
12199
12200
2f4c0a16 12201static PyObject * EvtHandler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12202 PyObject *obj;
12203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12204 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
12205 Py_INCREF(obj);
12206 return Py_BuildValue((char *)"");
12207}
2f4c0a16 12208static PyObject *_wrap_NewEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12209 PyObject *resultobj;
12210 wxEventType result;
12211 char *kwnames[] = {
12212 NULL
12213 };
12214
12215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
12216 {
12217 PyThreadState* __tstate = wxPyBeginAllowThreads();
12218 result = (wxEventType)wxNewEventType();
12219
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
2f4c0a16 12223 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12224 return resultobj;
12225 fail:
12226 return NULL;
12227}
12228
12229
2f4c0a16 12230static PyObject *_wrap_delete_Event(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12231 PyObject *resultobj;
12232 wxEvent *arg1 = (wxEvent *) 0 ;
12233 PyObject * obj0 = 0 ;
12234 char *kwnames[] = {
12235 (char *) "self", NULL
12236 };
12237
12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12241 {
12242 PyThreadState* __tstate = wxPyBeginAllowThreads();
12243 delete arg1;
12244
12245 wxPyEndAllowThreads(__tstate);
12246 if (PyErr_Occurred()) SWIG_fail;
12247 }
12248 Py_INCREF(Py_None); resultobj = Py_None;
12249 return resultobj;
12250 fail:
12251 return NULL;
12252}
12253
12254
2f4c0a16 12255static PyObject *_wrap_Event_SetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12256 PyObject *resultobj;
12257 wxEvent *arg1 = (wxEvent *) 0 ;
12258 wxEventType arg2 ;
12259 PyObject * obj0 = 0 ;
8edf1c75 12260 PyObject * obj1 = 0 ;
d14a1e28
RD
12261 char *kwnames[] = {
12262 (char *) "self",(char *) "typ", NULL
12263 };
12264
8edf1c75 12265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12268 arg2 = (wxEventType) SWIG_AsInt(obj1);
12269 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12270 {
12271 PyThreadState* __tstate = wxPyBeginAllowThreads();
12272 (arg1)->SetEventType(arg2);
12273
12274 wxPyEndAllowThreads(__tstate);
12275 if (PyErr_Occurred()) SWIG_fail;
12276 }
12277 Py_INCREF(Py_None); resultobj = Py_None;
12278 return resultobj;
12279 fail:
12280 return NULL;
12281}
12282
12283
2f4c0a16 12284static PyObject *_wrap_Event_GetEventType(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12285 PyObject *resultobj;
12286 wxEvent *arg1 = (wxEvent *) 0 ;
12287 wxEventType result;
12288 PyObject * obj0 = 0 ;
12289 char *kwnames[] = {
12290 (char *) "self", NULL
12291 };
12292
12293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12296 {
12297 PyThreadState* __tstate = wxPyBeginAllowThreads();
12298 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12299
12300 wxPyEndAllowThreads(__tstate);
12301 if (PyErr_Occurred()) SWIG_fail;
12302 }
2f4c0a16 12303 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12304 return resultobj;
12305 fail:
12306 return NULL;
12307}
12308
12309
2f4c0a16 12310static PyObject *_wrap_Event_GetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12311 PyObject *resultobj;
12312 wxEvent *arg1 = (wxEvent *) 0 ;
12313 wxObject *result;
12314 PyObject * obj0 = 0 ;
12315 char *kwnames[] = {
12316 (char *) "self", NULL
12317 };
12318
12319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12322 {
12323 PyThreadState* __tstate = wxPyBeginAllowThreads();
12324 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12325
12326 wxPyEndAllowThreads(__tstate);
12327 if (PyErr_Occurred()) SWIG_fail;
12328 }
12329 {
12330 resultobj = wxPyMake_wxObject(result);
12331 }
12332 return resultobj;
12333 fail:
12334 return NULL;
12335}
12336
12337
2f4c0a16 12338static PyObject *_wrap_Event_SetEventObject(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12339 PyObject *resultobj;
12340 wxEvent *arg1 = (wxEvent *) 0 ;
12341 wxObject *arg2 = (wxObject *) 0 ;
12342 PyObject * obj0 = 0 ;
12343 PyObject * obj1 = 0 ;
12344 char *kwnames[] = {
12345 (char *) "self",(char *) "obj", NULL
12346 };
12347
12348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12351 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12353 {
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 (arg1)->SetEventObject(arg2);
12356
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
12360 Py_INCREF(Py_None); resultobj = Py_None;
12361 return resultobj;
12362 fail:
12363 return NULL;
12364}
12365
12366
2f4c0a16 12367static PyObject *_wrap_Event_GetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12368 PyObject *resultobj;
12369 wxEvent *arg1 = (wxEvent *) 0 ;
12370 long result;
12371 PyObject * obj0 = 0 ;
12372 char *kwnames[] = {
12373 (char *) "self", NULL
12374 };
12375
12376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12377 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12379 {
12380 PyThreadState* __tstate = wxPyBeginAllowThreads();
12381 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12382
12383 wxPyEndAllowThreads(__tstate);
12384 if (PyErr_Occurred()) SWIG_fail;
12385 }
2f4c0a16 12386 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12387 return resultobj;
12388 fail:
12389 return NULL;
12390}
12391
12392
2f4c0a16 12393static PyObject *_wrap_Event_SetTimestamp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12394 PyObject *resultobj;
12395 wxEvent *arg1 = (wxEvent *) 0 ;
12396 long arg2 = (long) 0 ;
12397 PyObject * obj0 = 0 ;
8edf1c75 12398 PyObject * obj1 = 0 ;
d14a1e28
RD
12399 char *kwnames[] = {
12400 (char *) "self",(char *) "ts", NULL
12401 };
12402
8edf1c75 12403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 12406 if (obj1) {
2f4c0a16
RD
12407 arg2 = (long) SWIG_AsLong(obj1);
12408 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12409 }
d14a1e28
RD
12410 {
12411 PyThreadState* __tstate = wxPyBeginAllowThreads();
12412 (arg1)->SetTimestamp(arg2);
12413
12414 wxPyEndAllowThreads(__tstate);
12415 if (PyErr_Occurred()) SWIG_fail;
12416 }
12417 Py_INCREF(Py_None); resultobj = Py_None;
12418 return resultobj;
12419 fail:
12420 return NULL;
12421}
12422
12423
2f4c0a16 12424static PyObject *_wrap_Event_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12425 PyObject *resultobj;
12426 wxEvent *arg1 = (wxEvent *) 0 ;
12427 int result;
12428 PyObject * obj0 = 0 ;
12429 char *kwnames[] = {
12430 (char *) "self", NULL
12431 };
12432
12433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12436 {
12437 PyThreadState* __tstate = wxPyBeginAllowThreads();
12438 result = (int)((wxEvent const *)arg1)->GetId();
12439
12440 wxPyEndAllowThreads(__tstate);
12441 if (PyErr_Occurred()) SWIG_fail;
12442 }
2f4c0a16 12443 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12444 return resultobj;
12445 fail:
12446 return NULL;
12447}
12448
12449
2f4c0a16 12450static PyObject *_wrap_Event_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12451 PyObject *resultobj;
12452 wxEvent *arg1 = (wxEvent *) 0 ;
12453 int arg2 ;
12454 PyObject * obj0 = 0 ;
8edf1c75 12455 PyObject * obj1 = 0 ;
d14a1e28
RD
12456 char *kwnames[] = {
12457 (char *) "self",(char *) "Id", NULL
12458 };
12459
8edf1c75 12460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12463 arg2 = (int) SWIG_AsInt(obj1);
12464 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12465 {
12466 PyThreadState* __tstate = wxPyBeginAllowThreads();
12467 (arg1)->SetId(arg2);
12468
12469 wxPyEndAllowThreads(__tstate);
12470 if (PyErr_Occurred()) SWIG_fail;
12471 }
12472 Py_INCREF(Py_None); resultobj = Py_None;
12473 return resultobj;
12474 fail:
12475 return NULL;
12476}
12477
12478
2f4c0a16 12479static PyObject *_wrap_Event_IsCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12480 PyObject *resultobj;
12481 wxEvent *arg1 = (wxEvent *) 0 ;
12482 bool result;
12483 PyObject * obj0 = 0 ;
12484 char *kwnames[] = {
12485 (char *) "self", NULL
12486 };
12487
12488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12489 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12490 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12491 {
12492 PyThreadState* __tstate = wxPyBeginAllowThreads();
12493 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12494
12495 wxPyEndAllowThreads(__tstate);
12496 if (PyErr_Occurred()) SWIG_fail;
12497 }
fbc46b20
RD
12498 {
12499 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12500 }
d14a1e28
RD
12501 return resultobj;
12502 fail:
12503 return NULL;
12504}
12505
12506
2f4c0a16 12507static PyObject *_wrap_Event_Skip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12508 PyObject *resultobj;
12509 wxEvent *arg1 = (wxEvent *) 0 ;
423f194a 12510 bool arg2 = (bool) True ;
d14a1e28
RD
12511 PyObject * obj0 = 0 ;
12512 PyObject * obj1 = 0 ;
12513 char *kwnames[] = {
12514 (char *) "self",(char *) "skip", NULL
12515 };
12516
12517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12520 if (obj1) {
2f4c0a16
RD
12521 arg2 = (bool) SWIG_AsBool(obj1);
12522 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12523 }
12524 {
12525 PyThreadState* __tstate = wxPyBeginAllowThreads();
12526 (arg1)->Skip(arg2);
12527
12528 wxPyEndAllowThreads(__tstate);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 Py_INCREF(Py_None); resultobj = Py_None;
12532 return resultobj;
12533 fail:
12534 return NULL;
12535}
12536
12537
2f4c0a16 12538static PyObject *_wrap_Event_GetSkipped(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12539 PyObject *resultobj;
12540 wxEvent *arg1 = (wxEvent *) 0 ;
12541 bool result;
12542 PyObject * obj0 = 0 ;
12543 char *kwnames[] = {
12544 (char *) "self", NULL
12545 };
12546
12547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12550 {
12551 PyThreadState* __tstate = wxPyBeginAllowThreads();
12552 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12553
12554 wxPyEndAllowThreads(__tstate);
12555 if (PyErr_Occurred()) SWIG_fail;
12556 }
fbc46b20
RD
12557 {
12558 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12559 }
d14a1e28
RD
12560 return resultobj;
12561 fail:
12562 return NULL;
12563}
12564
12565
2f4c0a16 12566static PyObject *_wrap_Event_ShouldPropagate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12567 PyObject *resultobj;
12568 wxEvent *arg1 = (wxEvent *) 0 ;
12569 bool result;
12570 PyObject * obj0 = 0 ;
12571 char *kwnames[] = {
12572 (char *) "self", NULL
12573 };
12574
12575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12578 {
12579 PyThreadState* __tstate = wxPyBeginAllowThreads();
12580 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12581
12582 wxPyEndAllowThreads(__tstate);
12583 if (PyErr_Occurred()) SWIG_fail;
12584 }
fbc46b20
RD
12585 {
12586 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12587 }
d14a1e28
RD
12588 return resultobj;
12589 fail:
12590 return NULL;
12591}
12592
12593
2f4c0a16 12594static PyObject *_wrap_Event_StopPropagation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12595 PyObject *resultobj;
12596 wxEvent *arg1 = (wxEvent *) 0 ;
12597 int result;
12598 PyObject * obj0 = 0 ;
12599 char *kwnames[] = {
12600 (char *) "self", NULL
12601 };
12602
12603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 result = (int)(arg1)->StopPropagation();
12609
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
2f4c0a16 12613 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12614 return resultobj;
12615 fail:
12616 return NULL;
12617}
12618
12619
2f4c0a16 12620static PyObject *_wrap_Event_ResumePropagation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12621 PyObject *resultobj;
12622 wxEvent *arg1 = (wxEvent *) 0 ;
12623 int arg2 ;
12624 PyObject * obj0 = 0 ;
8edf1c75 12625 PyObject * obj1 = 0 ;
d14a1e28
RD
12626 char *kwnames[] = {
12627 (char *) "self",(char *) "propagationLevel", NULL
12628 };
12629
8edf1c75 12630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12633 arg2 = (int) SWIG_AsInt(obj1);
12634 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12635 {
12636 PyThreadState* __tstate = wxPyBeginAllowThreads();
12637 (arg1)->ResumePropagation(arg2);
12638
12639 wxPyEndAllowThreads(__tstate);
12640 if (PyErr_Occurred()) SWIG_fail;
12641 }
12642 Py_INCREF(Py_None); resultobj = Py_None;
12643 return resultobj;
12644 fail:
12645 return NULL;
12646}
12647
12648
2f4c0a16 12649static PyObject *_wrap_Event_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12650 PyObject *resultobj;
12651 wxEvent *arg1 = (wxEvent *) 0 ;
12652 wxEvent *result;
12653 PyObject * obj0 = 0 ;
12654 char *kwnames[] = {
12655 (char *) "self", NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12661 {
12662 PyThreadState* __tstate = wxPyBeginAllowThreads();
12663 result = (wxEvent *)(arg1)->Clone();
12664
12665 wxPyEndAllowThreads(__tstate);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
2f4c0a16 12668 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12669 return resultobj;
12670 fail:
12671 return NULL;
12672}
12673
12674
2f4c0a16 12675static PyObject * Event_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12676 PyObject *obj;
12677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12678 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12679 Py_INCREF(obj);
12680 return Py_BuildValue((char *)"");
12681}
2f4c0a16 12682static PyObject *_wrap_new_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12683 PyObject *resultobj;
12684 wxEvent *arg1 = 0 ;
12685 wxPropagationDisabler *result;
12686 PyObject * obj0 = 0 ;
12687 char *kwnames[] = {
12688 (char *) "event", NULL
12689 };
12690
12691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12693 SWIG_POINTER_EXCEPTION | 0)) == -1)
12694 SWIG_fail;
d14a1e28 12695 if (arg1 == NULL) {
2f4c0a16
RD
12696 PyErr_SetString(PyExc_TypeError,"null reference");
12697 SWIG_fail;
d14a1e28
RD
12698 }
12699 {
12700 PyThreadState* __tstate = wxPyBeginAllowThreads();
12701 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12702
12703 wxPyEndAllowThreads(__tstate);
12704 if (PyErr_Occurred()) SWIG_fail;
12705 }
2f4c0a16 12706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
12707 return resultobj;
12708 fail:
12709 return NULL;
12710}
12711
12712
2f4c0a16 12713static PyObject *_wrap_delete_PropagationDisabler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12714 PyObject *resultobj;
12715 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12716 PyObject * obj0 = 0 ;
12717 char *kwnames[] = {
12718 (char *) "self", NULL
12719 };
12720
12721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12724 {
12725 PyThreadState* __tstate = wxPyBeginAllowThreads();
12726 delete arg1;
12727
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 Py_INCREF(Py_None); resultobj = Py_None;
12732 return resultobj;
12733 fail:
12734 return NULL;
12735}
12736
12737
2f4c0a16 12738static PyObject * PropagationDisabler_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12739 PyObject *obj;
12740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12741 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12742 Py_INCREF(obj);
12743 return Py_BuildValue((char *)"");
12744}
2f4c0a16 12745static PyObject *_wrap_new_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12746 PyObject *resultobj;
12747 wxEvent *arg1 = 0 ;
12748 wxPropagateOnce *result;
12749 PyObject * obj0 = 0 ;
12750 char *kwnames[] = {
12751 (char *) "event", NULL
12752 };
12753
12754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12756 SWIG_POINTER_EXCEPTION | 0)) == -1)
12757 SWIG_fail;
d14a1e28 12758 if (arg1 == NULL) {
2f4c0a16
RD
12759 PyErr_SetString(PyExc_TypeError,"null reference");
12760 SWIG_fail;
d14a1e28
RD
12761 }
12762 {
12763 PyThreadState* __tstate = wxPyBeginAllowThreads();
12764 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12765
12766 wxPyEndAllowThreads(__tstate);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
2f4c0a16 12769 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
12770 return resultobj;
12771 fail:
12772 return NULL;
12773}
12774
12775
2f4c0a16 12776static PyObject *_wrap_delete_PropagateOnce(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12777 PyObject *resultobj;
12778 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12779 PyObject * obj0 = 0 ;
12780 char *kwnames[] = {
12781 (char *) "self", NULL
12782 };
12783
12784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 delete arg1;
12790
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 Py_INCREF(Py_None); resultobj = Py_None;
12795 return resultobj;
12796 fail:
12797 return NULL;
12798}
12799
12800
2f4c0a16 12801static PyObject * PropagateOnce_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
12802 PyObject *obj;
12803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12804 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12805 Py_INCREF(obj);
12806 return Py_BuildValue((char *)"");
12807}
2f4c0a16 12808static PyObject *_wrap_new_CommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12809 PyObject *resultobj;
12810 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12811 int arg2 = (int) 0 ;
12812 wxCommandEvent *result;
8edf1c75
RD
12813 PyObject * obj0 = 0 ;
12814 PyObject * obj1 = 0 ;
d14a1e28
RD
12815 char *kwnames[] = {
12816 (char *) "commandType",(char *) "winid", NULL
12817 };
12818
8edf1c75
RD
12819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12820 if (obj0) {
2f4c0a16
RD
12821 arg1 = (wxEventType) SWIG_AsInt(obj0);
12822 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12823 }
12824 if (obj1) {
2f4c0a16
RD
12825 arg2 = (int) SWIG_AsInt(obj1);
12826 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12827 }
d14a1e28
RD
12828 {
12829 PyThreadState* __tstate = wxPyBeginAllowThreads();
12830 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12831
12832 wxPyEndAllowThreads(__tstate);
12833 if (PyErr_Occurred()) SWIG_fail;
12834 }
2f4c0a16 12835 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
12836 return resultobj;
12837 fail:
12838 return NULL;
12839}
12840
12841
2f4c0a16 12842static PyObject *_wrap_CommandEvent_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12843 PyObject *resultobj;
12844 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12845 int result;
12846 PyObject * obj0 = 0 ;
12847 char *kwnames[] = {
12848 (char *) "self", NULL
12849 };
12850
12851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12854 {
12855 PyThreadState* __tstate = wxPyBeginAllowThreads();
12856 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12857
12858 wxPyEndAllowThreads(__tstate);
12859 if (PyErr_Occurred()) SWIG_fail;
12860 }
2f4c0a16 12861 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12862 return resultobj;
12863 fail:
12864 return NULL;
12865}
12866
12867
2f4c0a16 12868static PyObject *_wrap_CommandEvent_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12869 PyObject *resultobj;
12870 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12871 wxString *arg2 = 0 ;
423f194a 12872 bool temp2 = False ;
d14a1e28
RD
12873 PyObject * obj0 = 0 ;
12874 PyObject * obj1 = 0 ;
12875 char *kwnames[] = {
12876 (char *) "self",(char *) "s", NULL
12877 };
12878
12879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12880 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12881 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12882 {
12883 arg2 = wxString_in_helper(obj1);
12884 if (arg2 == NULL) SWIG_fail;
423f194a 12885 temp2 = True;
d14a1e28
RD
12886 }
12887 {
12888 PyThreadState* __tstate = wxPyBeginAllowThreads();
12889 (arg1)->SetString((wxString const &)*arg2);
12890
12891 wxPyEndAllowThreads(__tstate);
12892 if (PyErr_Occurred()) SWIG_fail;
12893 }
12894 Py_INCREF(Py_None); resultobj = Py_None;
12895 {
12896 if (temp2)
12897 delete arg2;
12898 }
12899 return resultobj;
12900 fail:
12901 {
12902 if (temp2)
12903 delete arg2;
12904 }
12905 return NULL;
12906}
12907
12908
2f4c0a16 12909static PyObject *_wrap_CommandEvent_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12910 PyObject *resultobj;
12911 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12912 wxString result;
12913 PyObject * obj0 = 0 ;
12914 char *kwnames[] = {
12915 (char *) "self", NULL
12916 };
12917
12918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12921 {
12922 PyThreadState* __tstate = wxPyBeginAllowThreads();
12923 result = ((wxCommandEvent const *)arg1)->GetString();
12924
12925 wxPyEndAllowThreads(__tstate);
12926 if (PyErr_Occurred()) SWIG_fail;
12927 }
12928 {
12929#if wxUSE_UNICODE
12930 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12931#else
12932 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12933#endif
12934 }
12935 return resultobj;
12936 fail:
12937 return NULL;
12938}
12939
12940
2f4c0a16 12941static PyObject *_wrap_CommandEvent_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12942 PyObject *resultobj;
12943 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12944 bool result;
12945 PyObject * obj0 = 0 ;
12946 char *kwnames[] = {
12947 (char *) "self", NULL
12948 };
12949
12950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12953 {
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12956
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
fbc46b20
RD
12960 {
12961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12962 }
d14a1e28
RD
12963 return resultobj;
12964 fail:
12965 return NULL;
12966}
12967
12968
2f4c0a16 12969static PyObject *_wrap_CommandEvent_IsSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12970 PyObject *resultobj;
12971 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12972 bool result;
12973 PyObject * obj0 = 0 ;
12974 char *kwnames[] = {
12975 (char *) "self", NULL
12976 };
12977
12978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12981 {
12982 PyThreadState* __tstate = wxPyBeginAllowThreads();
12983 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12984
12985 wxPyEndAllowThreads(__tstate);
12986 if (PyErr_Occurred()) SWIG_fail;
12987 }
fbc46b20
RD
12988 {
12989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12990 }
d14a1e28
RD
12991 return resultobj;
12992 fail:
12993 return NULL;
12994}
12995
12996
2f4c0a16 12997static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
12998 PyObject *resultobj;
12999 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13000 long arg2 ;
13001 PyObject * obj0 = 0 ;
8edf1c75 13002 PyObject * obj1 = 0 ;
d14a1e28
RD
13003 char *kwnames[] = {
13004 (char *) "self",(char *) "extraLong", NULL
13005 };
13006
8edf1c75 13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13010 arg2 = (long) SWIG_AsLong(obj1);
13011 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13012 {
13013 PyThreadState* __tstate = wxPyBeginAllowThreads();
13014 (arg1)->SetExtraLong(arg2);
13015
13016 wxPyEndAllowThreads(__tstate);
13017 if (PyErr_Occurred()) SWIG_fail;
13018 }
13019 Py_INCREF(Py_None); resultobj = Py_None;
13020 return resultobj;
13021 fail:
13022 return NULL;
13023}
13024
13025
2f4c0a16 13026static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13027 PyObject *resultobj;
13028 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13029 long result;
13030 PyObject * obj0 = 0 ;
13031 char *kwnames[] = {
13032 (char *) "self", NULL
13033 };
13034
13035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13038 {
13039 PyThreadState* __tstate = wxPyBeginAllowThreads();
13040 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
13041
13042 wxPyEndAllowThreads(__tstate);
13043 if (PyErr_Occurred()) SWIG_fail;
13044 }
2f4c0a16 13045 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
13046 return resultobj;
13047 fail:
13048 return NULL;
13049}
13050
13051
2f4c0a16 13052static PyObject *_wrap_CommandEvent_SetInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13053 PyObject *resultobj;
13054 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13055 int arg2 ;
13056 PyObject * obj0 = 0 ;
8edf1c75 13057 PyObject * obj1 = 0 ;
d14a1e28
RD
13058 char *kwnames[] = {
13059 (char *) "self",(char *) "i", NULL
13060 };
13061
8edf1c75 13062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13065 arg2 = (int) SWIG_AsInt(obj1);
13066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13067 {
13068 PyThreadState* __tstate = wxPyBeginAllowThreads();
13069 (arg1)->SetInt(arg2);
13070
13071 wxPyEndAllowThreads(__tstate);
13072 if (PyErr_Occurred()) SWIG_fail;
13073 }
13074 Py_INCREF(Py_None); resultobj = Py_None;
13075 return resultobj;
13076 fail:
13077 return NULL;
13078}
13079
13080
2f4c0a16 13081static PyObject *_wrap_CommandEvent_GetInt(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13082 PyObject *resultobj;
13083 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13084 long result;
13085 PyObject * obj0 = 0 ;
13086 char *kwnames[] = {
13087 (char *) "self", NULL
13088 };
13089
13090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13093 {
13094 PyThreadState* __tstate = wxPyBeginAllowThreads();
13095 result = (long)((wxCommandEvent const *)arg1)->GetInt();
13096
13097 wxPyEndAllowThreads(__tstate);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 }
2f4c0a16 13100 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
13101 return resultobj;
13102 fail:
13103 return NULL;
13104}
13105
13106
2f4c0a16 13107static PyObject *_wrap_CommandEvent_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13108 PyObject *resultobj;
13109 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
13110 wxEvent *result;
13111 PyObject * obj0 = 0 ;
13112 char *kwnames[] = {
13113 (char *) "self", NULL
13114 };
13115
13116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
13118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13119 {
13120 PyThreadState* __tstate = wxPyBeginAllowThreads();
13121 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
13122
13123 wxPyEndAllowThreads(__tstate);
13124 if (PyErr_Occurred()) SWIG_fail;
13125 }
2f4c0a16 13126 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
13127 return resultobj;
13128 fail:
13129 return NULL;
13130}
13131
13132
2f4c0a16 13133static PyObject * CommandEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13134 PyObject *obj;
13135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13136 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
13137 Py_INCREF(obj);
13138 return Py_BuildValue((char *)"");
13139}
2f4c0a16 13140static PyObject *_wrap_new_NotifyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13141 PyObject *resultobj;
13142 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13143 int arg2 = (int) 0 ;
13144 wxNotifyEvent *result;
8edf1c75
RD
13145 PyObject * obj0 = 0 ;
13146 PyObject * obj1 = 0 ;
d14a1e28
RD
13147 char *kwnames[] = {
13148 (char *) "commandType",(char *) "winid", NULL
13149 };
13150
8edf1c75
RD
13151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
13152 if (obj0) {
2f4c0a16
RD
13153 arg1 = (wxEventType) SWIG_AsInt(obj0);
13154 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13155 }
13156 if (obj1) {
2f4c0a16
RD
13157 arg2 = (int) SWIG_AsInt(obj1);
13158 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13159 }
d14a1e28
RD
13160 {
13161 PyThreadState* __tstate = wxPyBeginAllowThreads();
13162 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
13163
13164 wxPyEndAllowThreads(__tstate);
13165 if (PyErr_Occurred()) SWIG_fail;
13166 }
2f4c0a16 13167 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
13168 return resultobj;
13169 fail:
13170 return NULL;
13171}
13172
13173
2f4c0a16 13174static PyObject *_wrap_NotifyEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13175 PyObject *resultobj;
13176 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13177 PyObject * obj0 = 0 ;
13178 char *kwnames[] = {
13179 (char *) "self", NULL
13180 };
13181
13182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13185 {
13186 PyThreadState* __tstate = wxPyBeginAllowThreads();
13187 (arg1)->Veto();
13188
13189 wxPyEndAllowThreads(__tstate);
13190 if (PyErr_Occurred()) SWIG_fail;
13191 }
13192 Py_INCREF(Py_None); resultobj = Py_None;
13193 return resultobj;
13194 fail:
13195 return NULL;
13196}
13197
13198
2f4c0a16 13199static PyObject *_wrap_NotifyEvent_Allow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13200 PyObject *resultobj;
13201 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13202 PyObject * obj0 = 0 ;
13203 char *kwnames[] = {
13204 (char *) "self", NULL
13205 };
13206
13207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13210 {
13211 PyThreadState* __tstate = wxPyBeginAllowThreads();
13212 (arg1)->Allow();
13213
13214 wxPyEndAllowThreads(__tstate);
13215 if (PyErr_Occurred()) SWIG_fail;
13216 }
13217 Py_INCREF(Py_None); resultobj = Py_None;
13218 return resultobj;
13219 fail:
13220 return NULL;
13221}
13222
13223
2f4c0a16 13224static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13225 PyObject *resultobj;
13226 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
13227 bool result;
13228 PyObject * obj0 = 0 ;
13229 char *kwnames[] = {
13230 (char *) "self", NULL
13231 };
13232
13233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13234 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
13235 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13236 {
13237 PyThreadState* __tstate = wxPyBeginAllowThreads();
13238 result = (bool)(arg1)->IsAllowed();
13239
13240 wxPyEndAllowThreads(__tstate);
13241 if (PyErr_Occurred()) SWIG_fail;
13242 }
fbc46b20
RD
13243 {
13244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13245 }
d14a1e28
RD
13246 return resultobj;
13247 fail:
13248 return NULL;
13249}
13250
13251
2f4c0a16 13252static PyObject * NotifyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13253 PyObject *obj;
13254 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13255 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
13256 Py_INCREF(obj);
13257 return Py_BuildValue((char *)"");
13258}
2f4c0a16 13259static PyObject *_wrap_new_ScrollEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13260 PyObject *resultobj;
13261 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13262 int arg2 = (int) 0 ;
13263 int arg3 = (int) 0 ;
13264 int arg4 = (int) 0 ;
13265 wxScrollEvent *result;
8edf1c75
RD
13266 PyObject * obj0 = 0 ;
13267 PyObject * obj1 = 0 ;
13268 PyObject * obj2 = 0 ;
13269 PyObject * obj3 = 0 ;
d14a1e28
RD
13270 char *kwnames[] = {
13271 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13272 };
13273
8edf1c75
RD
13274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13275 if (obj0) {
2f4c0a16
RD
13276 arg1 = (wxEventType) SWIG_AsInt(obj0);
13277 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13278 }
13279 if (obj1) {
2f4c0a16
RD
13280 arg2 = (int) SWIG_AsInt(obj1);
13281 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13282 }
13283 if (obj2) {
2f4c0a16
RD
13284 arg3 = (int) SWIG_AsInt(obj2);
13285 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13286 }
13287 if (obj3) {
2f4c0a16
RD
13288 arg4 = (int) SWIG_AsInt(obj3);
13289 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13290 }
d14a1e28
RD
13291 {
13292 PyThreadState* __tstate = wxPyBeginAllowThreads();
13293 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13294
13295 wxPyEndAllowThreads(__tstate);
13296 if (PyErr_Occurred()) SWIG_fail;
13297 }
2f4c0a16 13298 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
13299 return resultobj;
13300 fail:
13301 return NULL;
13302}
13303
13304
2f4c0a16 13305static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13306 PyObject *resultobj;
13307 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13308 int result;
13309 PyObject * obj0 = 0 ;
13310 char *kwnames[] = {
13311 (char *) "self", NULL
13312 };
13313
13314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13317 {
13318 PyThreadState* __tstate = wxPyBeginAllowThreads();
13319 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13320
13321 wxPyEndAllowThreads(__tstate);
13322 if (PyErr_Occurred()) SWIG_fail;
13323 }
2f4c0a16 13324 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13325 return resultobj;
13326 fail:
13327 return NULL;
13328}
13329
13330
2f4c0a16 13331static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13332 PyObject *resultobj;
13333 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13334 int result;
13335 PyObject * obj0 = 0 ;
13336 char *kwnames[] = {
13337 (char *) "self", NULL
13338 };
13339
13340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
2f4c0a16 13350 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13351 return resultobj;
13352 fail:
13353 return NULL;
13354}
13355
13356
2f4c0a16 13357static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13358 PyObject *resultobj;
13359 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13360 int arg2 ;
13361 PyObject * obj0 = 0 ;
8edf1c75 13362 PyObject * obj1 = 0 ;
d14a1e28
RD
13363 char *kwnames[] = {
13364 (char *) "self",(char *) "orient", NULL
13365 };
13366
8edf1c75 13367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13370 arg2 = (int) SWIG_AsInt(obj1);
13371 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13372 {
13373 PyThreadState* __tstate = wxPyBeginAllowThreads();
13374 (arg1)->SetOrientation(arg2);
13375
13376 wxPyEndAllowThreads(__tstate);
13377 if (PyErr_Occurred()) SWIG_fail;
13378 }
13379 Py_INCREF(Py_None); resultobj = Py_None;
13380 return resultobj;
13381 fail:
13382 return NULL;
13383}
13384
13385
2f4c0a16 13386static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13387 PyObject *resultobj;
13388 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13389 int arg2 ;
13390 PyObject * obj0 = 0 ;
8edf1c75 13391 PyObject * obj1 = 0 ;
d14a1e28
RD
13392 char *kwnames[] = {
13393 (char *) "self",(char *) "pos", NULL
13394 };
13395
8edf1c75 13396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13399 arg2 = (int) SWIG_AsInt(obj1);
13400 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13401 {
13402 PyThreadState* __tstate = wxPyBeginAllowThreads();
13403 (arg1)->SetPosition(arg2);
13404
13405 wxPyEndAllowThreads(__tstate);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 Py_INCREF(Py_None); resultobj = Py_None;
13409 return resultobj;
13410 fail:
13411 return NULL;
13412}
13413
13414
2f4c0a16 13415static PyObject * ScrollEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13416 PyObject *obj;
13417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13418 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13419 Py_INCREF(obj);
13420 return Py_BuildValue((char *)"");
13421}
2f4c0a16 13422static PyObject *_wrap_new_ScrollWinEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13423 PyObject *resultobj;
13424 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13425 int arg2 = (int) 0 ;
13426 int arg3 = (int) 0 ;
13427 wxScrollWinEvent *result;
8edf1c75
RD
13428 PyObject * obj0 = 0 ;
13429 PyObject * obj1 = 0 ;
13430 PyObject * obj2 = 0 ;
d14a1e28
RD
13431 char *kwnames[] = {
13432 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13433 };
13434
8edf1c75
RD
13435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13436 if (obj0) {
2f4c0a16
RD
13437 arg1 = (wxEventType) SWIG_AsInt(obj0);
13438 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13439 }
13440 if (obj1) {
2f4c0a16
RD
13441 arg2 = (int) SWIG_AsInt(obj1);
13442 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13443 }
13444 if (obj2) {
2f4c0a16
RD
13445 arg3 = (int) SWIG_AsInt(obj2);
13446 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13447 }
d14a1e28
RD
13448 {
13449 PyThreadState* __tstate = wxPyBeginAllowThreads();
13450 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
2f4c0a16 13455 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
13456 return resultobj;
13457 fail:
13458 return NULL;
13459}
13460
13461
2f4c0a16 13462static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13463 PyObject *resultobj;
13464 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13465 int result;
13466 PyObject * obj0 = 0 ;
13467 char *kwnames[] = {
13468 (char *) "self", NULL
13469 };
13470
13471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13472 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13473 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13474 {
13475 PyThreadState* __tstate = wxPyBeginAllowThreads();
13476 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13477
13478 wxPyEndAllowThreads(__tstate);
13479 if (PyErr_Occurred()) SWIG_fail;
13480 }
2f4c0a16 13481 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13482 return resultobj;
13483 fail:
13484 return NULL;
13485}
13486
13487
2f4c0a16 13488static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13489 PyObject *resultobj;
13490 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13491 int result;
13492 PyObject * obj0 = 0 ;
13493 char *kwnames[] = {
13494 (char *) "self", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13503
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
2f4c0a16 13507 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13508 return resultobj;
13509 fail:
13510 return NULL;
13511}
13512
13513
2f4c0a16 13514static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13515 PyObject *resultobj;
13516 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13517 int arg2 ;
13518 PyObject * obj0 = 0 ;
8edf1c75 13519 PyObject * obj1 = 0 ;
d14a1e28
RD
13520 char *kwnames[] = {
13521 (char *) "self",(char *) "orient", NULL
13522 };
13523
8edf1c75 13524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13527 arg2 = (int) SWIG_AsInt(obj1);
13528 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13529 {
13530 PyThreadState* __tstate = wxPyBeginAllowThreads();
13531 (arg1)->SetOrientation(arg2);
13532
13533 wxPyEndAllowThreads(__tstate);
13534 if (PyErr_Occurred()) SWIG_fail;
13535 }
13536 Py_INCREF(Py_None); resultobj = Py_None;
13537 return resultobj;
13538 fail:
13539 return NULL;
13540}
13541
13542
2f4c0a16 13543static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13544 PyObject *resultobj;
13545 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13546 int arg2 ;
13547 PyObject * obj0 = 0 ;
8edf1c75 13548 PyObject * obj1 = 0 ;
d14a1e28
RD
13549 char *kwnames[] = {
13550 (char *) "self",(char *) "pos", NULL
13551 };
13552
8edf1c75 13553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13556 arg2 = (int) SWIG_AsInt(obj1);
13557 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13558 {
13559 PyThreadState* __tstate = wxPyBeginAllowThreads();
13560 (arg1)->SetPosition(arg2);
13561
13562 wxPyEndAllowThreads(__tstate);
13563 if (PyErr_Occurred()) SWIG_fail;
13564 }
13565 Py_INCREF(Py_None); resultobj = Py_None;
13566 return resultobj;
13567 fail:
13568 return NULL;
13569}
13570
13571
2f4c0a16 13572static PyObject * ScrollWinEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
13573 PyObject *obj;
13574 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13575 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13576 Py_INCREF(obj);
13577 return Py_BuildValue((char *)"");
13578}
2f4c0a16 13579static PyObject *_wrap_new_MouseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13580 PyObject *resultobj;
13581 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13582 wxMouseEvent *result;
8edf1c75 13583 PyObject * obj0 = 0 ;
d14a1e28
RD
13584 char *kwnames[] = {
13585 (char *) "mouseType", NULL
13586 };
13587
8edf1c75
RD
13588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13589 if (obj0) {
2f4c0a16
RD
13590 arg1 = (wxEventType) SWIG_AsInt(obj0);
13591 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13592 }
d14a1e28
RD
13593 {
13594 PyThreadState* __tstate = wxPyBeginAllowThreads();
13595 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13596
13597 wxPyEndAllowThreads(__tstate);
13598 if (PyErr_Occurred()) SWIG_fail;
13599 }
13600 {
13601 resultobj = wxPyMake_wxObject(result);
13602 }
13603 return resultobj;
13604 fail:
13605 return NULL;
13606}
13607
13608
2f4c0a16 13609static PyObject *_wrap_MouseEvent_IsButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13610 PyObject *resultobj;
13611 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13612 bool result;
13613 PyObject * obj0 = 0 ;
13614 char *kwnames[] = {
13615 (char *) "self", NULL
13616 };
13617
13618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13621 {
13622 PyThreadState* __tstate = wxPyBeginAllowThreads();
13623 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13624
13625 wxPyEndAllowThreads(__tstate);
13626 if (PyErr_Occurred()) SWIG_fail;
13627 }
fbc46b20
RD
13628 {
13629 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13630 }
d14a1e28
RD
13631 return resultobj;
13632 fail:
13633 return NULL;
13634}
13635
13636
2f4c0a16 13637static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13638 PyObject *resultobj;
13639 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13640 int arg2 = (int) wxMOUSE_BTN_ANY ;
13641 bool result;
13642 PyObject * obj0 = 0 ;
8edf1c75 13643 PyObject * obj1 = 0 ;
d14a1e28
RD
13644 char *kwnames[] = {
13645 (char *) "self",(char *) "but", NULL
13646 };
13647
8edf1c75 13648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13651 if (obj1) {
2f4c0a16
RD
13652 arg2 = (int) SWIG_AsInt(obj1);
13653 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13654 }
d14a1e28
RD
13655 {
13656 PyThreadState* __tstate = wxPyBeginAllowThreads();
13657 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13658
13659 wxPyEndAllowThreads(__tstate);
13660 if (PyErr_Occurred()) SWIG_fail;
13661 }
fbc46b20
RD
13662 {
13663 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13664 }
d14a1e28
RD
13665 return resultobj;
13666 fail:
13667 return NULL;
13668}
13669
13670
2f4c0a16 13671static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13672 PyObject *resultobj;
13673 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13674 int arg2 = (int) wxMOUSE_BTN_ANY ;
13675 bool result;
13676 PyObject * obj0 = 0 ;
8edf1c75 13677 PyObject * obj1 = 0 ;
d14a1e28
RD
13678 char *kwnames[] = {
13679 (char *) "self",(char *) "but", NULL
13680 };
13681
8edf1c75 13682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13683 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13684 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13685 if (obj1) {
2f4c0a16
RD
13686 arg2 = (int) SWIG_AsInt(obj1);
13687 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13688 }
d14a1e28
RD
13689 {
13690 PyThreadState* __tstate = wxPyBeginAllowThreads();
13691 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13692
13693 wxPyEndAllowThreads(__tstate);
13694 if (PyErr_Occurred()) SWIG_fail;
13695 }
fbc46b20
RD
13696 {
13697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13698 }
d14a1e28
RD
13699 return resultobj;
13700 fail:
13701 return NULL;
13702}
13703
13704
2f4c0a16 13705static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13706 PyObject *resultobj;
13707 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13708 int arg2 = (int) wxMOUSE_BTN_ANY ;
13709 bool result;
13710 PyObject * obj0 = 0 ;
8edf1c75 13711 PyObject * obj1 = 0 ;
d14a1e28
RD
13712 char *kwnames[] = {
13713 (char *) "self",(char *) "but", NULL
13714 };
13715
8edf1c75 13716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13717 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13718 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13719 if (obj1) {
2f4c0a16
RD
13720 arg2 = (int) SWIG_AsInt(obj1);
13721 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13722 }
d14a1e28
RD
13723 {
13724 PyThreadState* __tstate = wxPyBeginAllowThreads();
13725 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13726
13727 wxPyEndAllowThreads(__tstate);
13728 if (PyErr_Occurred()) SWIG_fail;
13729 }
fbc46b20
RD
13730 {
13731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13732 }
d14a1e28
RD
13733 return resultobj;
13734 fail:
13735 return NULL;
13736}
13737
13738
2f4c0a16 13739static PyObject *_wrap_MouseEvent_Button(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13740 PyObject *resultobj;
13741 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13742 int arg2 ;
13743 bool result;
13744 PyObject * obj0 = 0 ;
8edf1c75 13745 PyObject * obj1 = 0 ;
d14a1e28
RD
13746 char *kwnames[] = {
13747 (char *) "self",(char *) "but", NULL
13748 };
13749
8edf1c75 13750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13753 arg2 = (int) SWIG_AsInt(obj1);
13754 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13755 {
13756 PyThreadState* __tstate = wxPyBeginAllowThreads();
13757 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13758
13759 wxPyEndAllowThreads(__tstate);
13760 if (PyErr_Occurred()) SWIG_fail;
13761 }
fbc46b20
RD
13762 {
13763 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13764 }
d14a1e28
RD
13765 return resultobj;
13766 fail:
13767 return NULL;
13768}
13769
13770
2f4c0a16 13771static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13772 PyObject *resultobj;
13773 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13774 int arg2 ;
13775 bool result;
13776 PyObject * obj0 = 0 ;
8edf1c75 13777 PyObject * obj1 = 0 ;
d14a1e28
RD
13778 char *kwnames[] = {
13779 (char *) "self",(char *) "but", NULL
13780 };
13781
8edf1c75 13782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13785 arg2 = (int) SWIG_AsInt(obj1);
13786 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13787 {
13788 PyThreadState* __tstate = wxPyBeginAllowThreads();
13789 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13790
13791 wxPyEndAllowThreads(__tstate);
13792 if (PyErr_Occurred()) SWIG_fail;
13793 }
fbc46b20
RD
13794 {
13795 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13796 }
d14a1e28
RD
13797 return resultobj;
13798 fail:
13799 return NULL;
13800}
13801
13802
2f4c0a16 13803static PyObject *_wrap_MouseEvent_GetButton(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13804 PyObject *resultobj;
13805 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13806 int result;
13807 PyObject * obj0 = 0 ;
13808 char *kwnames[] = {
13809 (char *) "self", NULL
13810 };
13811
13812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13815 {
13816 PyThreadState* __tstate = wxPyBeginAllowThreads();
13817 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13818
13819 wxPyEndAllowThreads(__tstate);
13820 if (PyErr_Occurred()) SWIG_fail;
13821 }
2f4c0a16 13822 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13823 return resultobj;
13824 fail:
13825 return NULL;
13826}
13827
13828
2f4c0a16 13829static PyObject *_wrap_MouseEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13830 PyObject *resultobj;
13831 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13832 bool result;
13833 PyObject * obj0 = 0 ;
13834 char *kwnames[] = {
13835 (char *) "self", NULL
13836 };
13837
13838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13841 {
13842 PyThreadState* __tstate = wxPyBeginAllowThreads();
13843 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13844
13845 wxPyEndAllowThreads(__tstate);
13846 if (PyErr_Occurred()) SWIG_fail;
13847 }
fbc46b20
RD
13848 {
13849 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13850 }
d14a1e28
RD
13851 return resultobj;
13852 fail:
13853 return NULL;
13854}
13855
13856
2f4c0a16 13857static PyObject *_wrap_MouseEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13858 PyObject *resultobj;
13859 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13860 bool result;
13861 PyObject * obj0 = 0 ;
13862 char *kwnames[] = {
13863 (char *) "self", NULL
13864 };
13865
13866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13867 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13868 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13869 {
13870 PyThreadState* __tstate = wxPyBeginAllowThreads();
13871 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13872
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
fbc46b20
RD
13876 {
13877 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13878 }
d14a1e28
RD
13879 return resultobj;
13880 fail:
13881 return NULL;
13882}
13883
13884
2f4c0a16 13885static PyObject *_wrap_MouseEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13886 PyObject *resultobj;
13887 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13888 bool result;
13889 PyObject * obj0 = 0 ;
13890 char *kwnames[] = {
13891 (char *) "self", NULL
13892 };
13893
13894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13895 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13896 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13897 {
13898 PyThreadState* __tstate = wxPyBeginAllowThreads();
13899 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13900
13901 wxPyEndAllowThreads(__tstate);
13902 if (PyErr_Occurred()) SWIG_fail;
13903 }
fbc46b20
RD
13904 {
13905 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13906 }
d14a1e28
RD
13907 return resultobj;
13908 fail:
13909 return NULL;
13910}
13911
13912
2f4c0a16 13913static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13914 PyObject *resultobj;
13915 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13916 bool result;
13917 PyObject * obj0 = 0 ;
13918 char *kwnames[] = {
13919 (char *) "self", NULL
13920 };
13921
13922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13925 {
13926 PyThreadState* __tstate = wxPyBeginAllowThreads();
13927 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13928
13929 wxPyEndAllowThreads(__tstate);
13930 if (PyErr_Occurred()) SWIG_fail;
13931 }
fbc46b20
RD
13932 {
13933 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13934 }
d14a1e28
RD
13935 return resultobj;
13936 fail:
13937 return NULL;
13938}
13939
13940
2f4c0a16 13941static PyObject *_wrap_MouseEvent_LeftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13942 PyObject *resultobj;
13943 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13944 bool result;
13945 PyObject * obj0 = 0 ;
13946 char *kwnames[] = {
13947 (char *) "self", NULL
13948 };
13949
13950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13953 {
13954 PyThreadState* __tstate = wxPyBeginAllowThreads();
13955 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13956
13957 wxPyEndAllowThreads(__tstate);
13958 if (PyErr_Occurred()) SWIG_fail;
13959 }
fbc46b20
RD
13960 {
13961 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13962 }
d14a1e28
RD
13963 return resultobj;
13964 fail:
13965 return NULL;
13966}
13967
13968
2f4c0a16 13969static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13970 PyObject *resultobj;
13971 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13972 bool result;
13973 PyObject * obj0 = 0 ;
13974 char *kwnames[] = {
13975 (char *) "self", NULL
13976 };
13977
13978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13984
13985 wxPyEndAllowThreads(__tstate);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 }
fbc46b20
RD
13988 {
13989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13990 }
d14a1e28
RD
13991 return resultobj;
13992 fail:
13993 return NULL;
13994}
13995
13996
2f4c0a16 13997static PyObject *_wrap_MouseEvent_RightDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
13998 PyObject *resultobj;
13999 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14000 bool result;
14001 PyObject * obj0 = 0 ;
14002 char *kwnames[] = {
14003 (char *) "self", NULL
14004 };
14005
14006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14009 {
14010 PyThreadState* __tstate = wxPyBeginAllowThreads();
14011 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
14012
14013 wxPyEndAllowThreads(__tstate);
14014 if (PyErr_Occurred()) SWIG_fail;
14015 }
fbc46b20
RD
14016 {
14017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14018 }
d14a1e28
RD
14019 return resultobj;
14020 fail:
14021 return NULL;
14022}
14023
14024
2f4c0a16 14025static PyObject *_wrap_MouseEvent_LeftUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14026 PyObject *resultobj;
14027 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14028 bool result;
14029 PyObject * obj0 = 0 ;
14030 char *kwnames[] = {
14031 (char *) "self", NULL
14032 };
14033
14034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14037 {
14038 PyThreadState* __tstate = wxPyBeginAllowThreads();
14039 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
14040
14041 wxPyEndAllowThreads(__tstate);
14042 if (PyErr_Occurred()) SWIG_fail;
14043 }
fbc46b20
RD
14044 {
14045 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14046 }
d14a1e28
RD
14047 return resultobj;
14048 fail:
14049 return NULL;
14050}
14051
14052
2f4c0a16 14053static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14054 PyObject *resultobj;
14055 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14056 bool result;
14057 PyObject * obj0 = 0 ;
14058 char *kwnames[] = {
14059 (char *) "self", NULL
14060 };
14061
14062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14065 {
14066 PyThreadState* __tstate = wxPyBeginAllowThreads();
14067 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
14068
14069 wxPyEndAllowThreads(__tstate);
14070 if (PyErr_Occurred()) SWIG_fail;
14071 }
fbc46b20
RD
14072 {
14073 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14074 }
d14a1e28
RD
14075 return resultobj;
14076 fail:
14077 return NULL;
14078}
14079
14080
2f4c0a16 14081static PyObject *_wrap_MouseEvent_RightUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14082 PyObject *resultobj;
14083 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14084 bool result;
14085 PyObject * obj0 = 0 ;
14086 char *kwnames[] = {
14087 (char *) "self", NULL
14088 };
14089
14090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
14096
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
fbc46b20
RD
14100 {
14101 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14102 }
d14a1e28
RD
14103 return resultobj;
14104 fail:
14105 return NULL;
14106}
14107
14108
2f4c0a16 14109static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14110 PyObject *resultobj;
14111 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14112 bool result;
14113 PyObject * obj0 = 0 ;
14114 char *kwnames[] = {
14115 (char *) "self", NULL
14116 };
14117
14118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14119 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14120 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14121 {
14122 PyThreadState* __tstate = wxPyBeginAllowThreads();
14123 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
14124
14125 wxPyEndAllowThreads(__tstate);
14126 if (PyErr_Occurred()) SWIG_fail;
14127 }
fbc46b20
RD
14128 {
14129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14130 }
d14a1e28
RD
14131 return resultobj;
14132 fail:
14133 return NULL;
14134}
14135
14136
2f4c0a16 14137static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14138 PyObject *resultobj;
14139 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14140 bool result;
14141 PyObject * obj0 = 0 ;
14142 char *kwnames[] = {
14143 (char *) "self", NULL
14144 };
14145
14146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
14152
14153 wxPyEndAllowThreads(__tstate);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
fbc46b20
RD
14156 {
14157 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14158 }
d14a1e28
RD
14159 return resultobj;
14160 fail:
14161 return NULL;
14162}
14163
14164
2f4c0a16 14165static PyObject *_wrap_MouseEvent_RightDClick(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14166 PyObject *resultobj;
14167 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14168 bool result;
14169 PyObject * obj0 = 0 ;
14170 char *kwnames[] = {
14171 (char *) "self", NULL
14172 };
14173
14174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14177 {
14178 PyThreadState* __tstate = wxPyBeginAllowThreads();
14179 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
14180
14181 wxPyEndAllowThreads(__tstate);
14182 if (PyErr_Occurred()) SWIG_fail;
14183 }
fbc46b20
RD
14184 {
14185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14186 }
d14a1e28
RD
14187 return resultobj;
14188 fail:
14189 return NULL;
14190}
14191
14192
2f4c0a16 14193static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14194 PyObject *resultobj;
14195 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14196 bool result;
14197 PyObject * obj0 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "self", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14205 {
14206 PyThreadState* __tstate = wxPyBeginAllowThreads();
14207 result = (bool)(arg1)->LeftIsDown();
14208
14209 wxPyEndAllowThreads(__tstate);
14210 if (PyErr_Occurred()) SWIG_fail;
14211 }
fbc46b20
RD
14212 {
14213 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14214 }
d14a1e28
RD
14215 return resultobj;
14216 fail:
14217 return NULL;
14218}
14219
14220
2f4c0a16 14221static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14222 PyObject *resultobj;
14223 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14224 bool result;
14225 PyObject * obj0 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14233 {
14234 PyThreadState* __tstate = wxPyBeginAllowThreads();
14235 result = (bool)(arg1)->MiddleIsDown();
14236
14237 wxPyEndAllowThreads(__tstate);
14238 if (PyErr_Occurred()) SWIG_fail;
14239 }
fbc46b20
RD
14240 {
14241 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14242 }
d14a1e28
RD
14243 return resultobj;
14244 fail:
14245 return NULL;
14246}
14247
14248
2f4c0a16 14249static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14250 PyObject *resultobj;
14251 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14252 bool result;
14253 PyObject * obj0 = 0 ;
14254 char *kwnames[] = {
14255 (char *) "self", NULL
14256 };
14257
14258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14259 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14260 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14261 {
14262 PyThreadState* __tstate = wxPyBeginAllowThreads();
14263 result = (bool)(arg1)->RightIsDown();
14264
14265 wxPyEndAllowThreads(__tstate);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
fbc46b20
RD
14268 {
14269 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14270 }
d14a1e28
RD
14271 return resultobj;
14272 fail:
14273 return NULL;
14274}
14275
14276
2f4c0a16 14277static PyObject *_wrap_MouseEvent_Dragging(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14278 PyObject *resultobj;
14279 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14280 bool result;
14281 PyObject * obj0 = 0 ;
14282 char *kwnames[] = {
14283 (char *) "self", NULL
14284 };
14285
14286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14289 {
14290 PyThreadState* __tstate = wxPyBeginAllowThreads();
14291 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
14292
14293 wxPyEndAllowThreads(__tstate);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 }
fbc46b20
RD
14296 {
14297 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14298 }
d14a1e28
RD
14299 return resultobj;
14300 fail:
14301 return NULL;
14302}
14303
14304
2f4c0a16 14305static PyObject *_wrap_MouseEvent_Moving(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14306 PyObject *resultobj;
14307 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14308 bool result;
14309 PyObject * obj0 = 0 ;
14310 char *kwnames[] = {
14311 (char *) "self", NULL
14312 };
14313
14314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14317 {
14318 PyThreadState* __tstate = wxPyBeginAllowThreads();
14319 result = (bool)((wxMouseEvent const *)arg1)->Moving();
14320
14321 wxPyEndAllowThreads(__tstate);
14322 if (PyErr_Occurred()) SWIG_fail;
14323 }
fbc46b20
RD
14324 {
14325 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14326 }
d14a1e28
RD
14327 return resultobj;
14328 fail:
14329 return NULL;
14330}
14331
14332
2f4c0a16 14333static PyObject *_wrap_MouseEvent_Entering(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14334 PyObject *resultobj;
14335 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14336 bool result;
14337 PyObject * obj0 = 0 ;
14338 char *kwnames[] = {
14339 (char *) "self", NULL
14340 };
14341
14342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14345 {
14346 PyThreadState* __tstate = wxPyBeginAllowThreads();
14347 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14348
14349 wxPyEndAllowThreads(__tstate);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
fbc46b20
RD
14352 {
14353 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14354 }
d14a1e28
RD
14355 return resultobj;
14356 fail:
14357 return NULL;
14358}
14359
14360
2f4c0a16 14361static PyObject *_wrap_MouseEvent_Leaving(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14362 PyObject *resultobj;
14363 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14364 bool result;
14365 PyObject * obj0 = 0 ;
14366 char *kwnames[] = {
14367 (char *) "self", NULL
14368 };
14369
14370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14371 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14373 {
14374 PyThreadState* __tstate = wxPyBeginAllowThreads();
14375 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14376
14377 wxPyEndAllowThreads(__tstate);
14378 if (PyErr_Occurred()) SWIG_fail;
14379 }
fbc46b20
RD
14380 {
14381 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14382 }
d14a1e28
RD
14383 return resultobj;
14384 fail:
14385 return NULL;
14386}
14387
14388
2f4c0a16 14389static PyObject *_wrap_MouseEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14390 PyObject *resultobj;
14391 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14392 wxPoint result;
14393 PyObject * obj0 = 0 ;
14394 char *kwnames[] = {
14395 (char *) "self", NULL
14396 };
14397
14398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14401 {
14402 PyThreadState* __tstate = wxPyBeginAllowThreads();
14403 result = (arg1)->GetPosition();
14404
14405 wxPyEndAllowThreads(__tstate);
14406 if (PyErr_Occurred()) SWIG_fail;
14407 }
14408 {
14409 wxPoint * resultptr;
14410 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14411 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14412 }
14413 return resultobj;
14414 fail:
14415 return NULL;
14416}
14417
14418
2f4c0a16 14419static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14420 PyObject *resultobj;
14421 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14422 long *arg2 = (long *) 0 ;
14423 long *arg3 = (long *) 0 ;
14424 long temp2 ;
14425 long temp3 ;
14426 PyObject * obj0 = 0 ;
14427 char *kwnames[] = {
14428 (char *) "self", NULL
14429 };
14430
14431 arg2 = &temp2;
14432 arg3 = &temp3;
14433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 (arg1)->GetPosition(arg2,arg3);
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 Py_INCREF(Py_None); resultobj = Py_None;
14444 {
14445 PyObject *o = PyInt_FromLong((long) (*arg2));
14446 resultobj = t_output_helper(resultobj,o);
14447 }
14448 {
14449 PyObject *o = PyInt_FromLong((long) (*arg3));
14450 resultobj = t_output_helper(resultobj,o);
14451 }
14452 return resultobj;
14453 fail:
14454 return NULL;
14455}
14456
14457
2f4c0a16 14458static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14459 PyObject *resultobj;
14460 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14461 wxDC *arg2 = 0 ;
14462 wxPoint result;
14463 PyObject * obj0 = 0 ;
14464 PyObject * obj1 = 0 ;
14465 char *kwnames[] = {
14466 (char *) "self",(char *) "dc", NULL
14467 };
14468
14469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14472 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14473 SWIG_POINTER_EXCEPTION | 0)) == -1)
14474 SWIG_fail;
d14a1e28 14475 if (arg2 == NULL) {
2f4c0a16
RD
14476 PyErr_SetString(PyExc_TypeError,"null reference");
14477 SWIG_fail;
d14a1e28
RD
14478 }
14479 {
14480 PyThreadState* __tstate = wxPyBeginAllowThreads();
14481 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14482
14483 wxPyEndAllowThreads(__tstate);
14484 if (PyErr_Occurred()) SWIG_fail;
14485 }
14486 {
14487 wxPoint * resultptr;
14488 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14489 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14490 }
14491 return resultobj;
14492 fail:
14493 return NULL;
14494}
14495
14496
2f4c0a16 14497static PyObject *_wrap_MouseEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14498 PyObject *resultobj;
14499 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14500 int result;
d14a1e28
RD
14501 PyObject * obj0 = 0 ;
14502 char *kwnames[] = {
14503 (char *) "self", NULL
14504 };
14505
14506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14507 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14508 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14509 {
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14511 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
14512
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
2f4c0a16 14516 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14517 return resultobj;
14518 fail:
14519 return NULL;
14520}
14521
14522
2f4c0a16 14523static PyObject *_wrap_MouseEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14524 PyObject *resultobj;
14525 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14526 int result;
d14a1e28
RD
14527 PyObject * obj0 = 0 ;
14528 char *kwnames[] = {
14529 (char *) "self", NULL
14530 };
14531
14532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14535 {
14536 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14537 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
14538
14539 wxPyEndAllowThreads(__tstate);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 }
2f4c0a16 14542 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14543 return resultobj;
14544 fail:
14545 return NULL;
14546}
14547
14548
2f4c0a16 14549static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14550 PyObject *resultobj;
14551 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14552 int result;
14553 PyObject * obj0 = 0 ;
14554 char *kwnames[] = {
14555 (char *) "self", NULL
14556 };
14557
14558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14559 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14560 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14561 {
14562 PyThreadState* __tstate = wxPyBeginAllowThreads();
14563 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14564
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
2f4c0a16 14568 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14569 return resultobj;
14570 fail:
14571 return NULL;
14572}
14573
14574
2f4c0a16 14575static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14576 PyObject *resultobj;
14577 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14578 int result;
14579 PyObject * obj0 = 0 ;
14580 char *kwnames[] = {
14581 (char *) "self", NULL
14582 };
14583
14584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14587 {
14588 PyThreadState* __tstate = wxPyBeginAllowThreads();
14589 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14590
14591 wxPyEndAllowThreads(__tstate);
14592 if (PyErr_Occurred()) SWIG_fail;
14593 }
2f4c0a16 14594 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14595 return resultobj;
14596 fail:
14597 return NULL;
14598}
14599
14600
2f4c0a16 14601static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14602 PyObject *resultobj;
14603 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14604 int result;
14605 PyObject * obj0 = 0 ;
14606 char *kwnames[] = {
14607 (char *) "self", NULL
14608 };
14609
14610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14611 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14612 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14613 {
14614 PyThreadState* __tstate = wxPyBeginAllowThreads();
14615 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14616
14617 wxPyEndAllowThreads(__tstate);
14618 if (PyErr_Occurred()) SWIG_fail;
14619 }
2f4c0a16 14620 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14621 return resultobj;
14622 fail:
14623 return NULL;
14624}
14625
14626
2f4c0a16 14627static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14628 PyObject *resultobj;
14629 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14630 bool result;
14631 PyObject * obj0 = 0 ;
14632 char *kwnames[] = {
14633 (char *) "self", NULL
14634 };
14635
14636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14639 {
14640 PyThreadState* __tstate = wxPyBeginAllowThreads();
14641 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14642
14643 wxPyEndAllowThreads(__tstate);
14644 if (PyErr_Occurred()) SWIG_fail;
14645 }
fbc46b20
RD
14646 {
14647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14648 }
d14a1e28
RD
14649 return resultobj;
14650 fail:
14651 return NULL;
14652}
14653
14654
2f4c0a16 14655static PyObject *_wrap_MouseEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14656 PyObject *resultobj;
14657 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14658 int arg2 ;
d14a1e28 14659 PyObject * obj0 = 0 ;
8edf1c75 14660 PyObject * obj1 = 0 ;
d14a1e28
RD
14661 char *kwnames[] = {
14662 (char *) "self",(char *) "m_x", NULL
14663 };
14664
8edf1c75 14665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14668 arg2 = (int) SWIG_AsInt(obj1);
14669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14670 if (arg1) (arg1)->m_x = arg2;
14671
14672 Py_INCREF(Py_None); resultobj = Py_None;
14673 return resultobj;
14674 fail:
14675 return NULL;
14676}
14677
14678
2f4c0a16 14679static PyObject *_wrap_MouseEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14680 PyObject *resultobj;
14681 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14682 int result;
d14a1e28
RD
14683 PyObject * obj0 = 0 ;
14684 char *kwnames[] = {
14685 (char *) "self", NULL
14686 };
14687
14688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 14691 result = (int) ((arg1)->m_x);
d14a1e28 14692
2f4c0a16 14693 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14694 return resultobj;
14695 fail:
14696 return NULL;
14697}
14698
14699
2f4c0a16 14700static PyObject *_wrap_MouseEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14701 PyObject *resultobj;
14702 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14703 int arg2 ;
d14a1e28 14704 PyObject * obj0 = 0 ;
8edf1c75 14705 PyObject * obj1 = 0 ;
d14a1e28
RD
14706 char *kwnames[] = {
14707 (char *) "self",(char *) "m_y", NULL
14708 };
14709
8edf1c75 14710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14713 arg2 = (int) SWIG_AsInt(obj1);
14714 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14715 if (arg1) (arg1)->m_y = arg2;
14716
14717 Py_INCREF(Py_None); resultobj = Py_None;
14718 return resultobj;
14719 fail:
14720 return NULL;
14721}
14722
14723
2f4c0a16 14724static PyObject *_wrap_MouseEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14725 PyObject *resultobj;
14726 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14727 int result;
d14a1e28
RD
14728 PyObject * obj0 = 0 ;
14729 char *kwnames[] = {
14730 (char *) "self", NULL
14731 };
14732
14733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 14736 result = (int) ((arg1)->m_y);
d14a1e28 14737
2f4c0a16 14738 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14739 return resultobj;
14740 fail:
14741 return NULL;
14742}
14743
14744
2f4c0a16 14745static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14746 PyObject *resultobj;
14747 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14748 bool arg2 ;
14749 PyObject * obj0 = 0 ;
14750 PyObject * obj1 = 0 ;
14751 char *kwnames[] = {
14752 (char *) "self",(char *) "m_leftDown", NULL
14753 };
14754
14755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14758 arg2 = (bool) SWIG_AsBool(obj1);
14759 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14760 if (arg1) (arg1)->m_leftDown = arg2;
14761
14762 Py_INCREF(Py_None); resultobj = Py_None;
14763 return resultobj;
14764 fail:
14765 return NULL;
14766}
14767
14768
2f4c0a16 14769static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14770 PyObject *resultobj;
14771 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14772 bool result;
14773 PyObject * obj0 = 0 ;
14774 char *kwnames[] = {
14775 (char *) "self", NULL
14776 };
14777
14778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14779 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14780 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14781 result = (bool) ((arg1)->m_leftDown);
14782
fbc46b20
RD
14783 {
14784 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14785 }
d14a1e28
RD
14786 return resultobj;
14787 fail:
14788 return NULL;
14789}
14790
14791
2f4c0a16 14792static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14793 PyObject *resultobj;
14794 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14795 bool arg2 ;
14796 PyObject * obj0 = 0 ;
14797 PyObject * obj1 = 0 ;
14798 char *kwnames[] = {
14799 (char *) "self",(char *) "m_middleDown", NULL
14800 };
14801
14802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14805 arg2 = (bool) SWIG_AsBool(obj1);
14806 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14807 if (arg1) (arg1)->m_middleDown = arg2;
14808
14809 Py_INCREF(Py_None); resultobj = Py_None;
14810 return resultobj;
14811 fail:
14812 return NULL;
14813}
14814
14815
2f4c0a16 14816static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14817 PyObject *resultobj;
14818 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14819 bool result;
14820 PyObject * obj0 = 0 ;
14821 char *kwnames[] = {
14822 (char *) "self", NULL
14823 };
14824
14825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14828 result = (bool) ((arg1)->m_middleDown);
14829
fbc46b20
RD
14830 {
14831 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14832 }
d14a1e28
RD
14833 return resultobj;
14834 fail:
14835 return NULL;
14836}
14837
14838
2f4c0a16 14839static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14840 PyObject *resultobj;
14841 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14842 bool arg2 ;
14843 PyObject * obj0 = 0 ;
14844 PyObject * obj1 = 0 ;
14845 char *kwnames[] = {
14846 (char *) "self",(char *) "m_rightDown", NULL
14847 };
14848
14849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14852 arg2 = (bool) SWIG_AsBool(obj1);
14853 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14854 if (arg1) (arg1)->m_rightDown = arg2;
14855
14856 Py_INCREF(Py_None); resultobj = Py_None;
14857 return resultobj;
14858 fail:
14859 return NULL;
14860}
14861
14862
2f4c0a16 14863static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14864 PyObject *resultobj;
14865 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14866 bool result;
14867 PyObject * obj0 = 0 ;
14868 char *kwnames[] = {
14869 (char *) "self", NULL
14870 };
14871
14872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14873 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14874 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14875 result = (bool) ((arg1)->m_rightDown);
14876
fbc46b20
RD
14877 {
14878 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14879 }
d14a1e28
RD
14880 return resultobj;
14881 fail:
14882 return NULL;
14883}
14884
14885
2f4c0a16 14886static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14887 PyObject *resultobj;
14888 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14889 bool arg2 ;
14890 PyObject * obj0 = 0 ;
14891 PyObject * obj1 = 0 ;
14892 char *kwnames[] = {
14893 (char *) "self",(char *) "m_controlDown", NULL
14894 };
14895
14896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14899 arg2 = (bool) SWIG_AsBool(obj1);
14900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14901 if (arg1) (arg1)->m_controlDown = arg2;
14902
14903 Py_INCREF(Py_None); resultobj = Py_None;
14904 return resultobj;
14905 fail:
14906 return NULL;
14907}
14908
14909
2f4c0a16 14910static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14911 PyObject *resultobj;
14912 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14913 bool result;
14914 PyObject * obj0 = 0 ;
14915 char *kwnames[] = {
14916 (char *) "self", NULL
14917 };
14918
14919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14922 result = (bool) ((arg1)->m_controlDown);
14923
fbc46b20
RD
14924 {
14925 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14926 }
d14a1e28
RD
14927 return resultobj;
14928 fail:
14929 return NULL;
14930}
14931
14932
2f4c0a16 14933static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14934 PyObject *resultobj;
14935 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14936 bool arg2 ;
14937 PyObject * obj0 = 0 ;
14938 PyObject * obj1 = 0 ;
14939 char *kwnames[] = {
14940 (char *) "self",(char *) "m_shiftDown", NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14946 arg2 = (bool) SWIG_AsBool(obj1);
14947 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14948 if (arg1) (arg1)->m_shiftDown = arg2;
14949
14950 Py_INCREF(Py_None); resultobj = Py_None;
14951 return resultobj;
14952 fail:
14953 return NULL;
14954}
14955
14956
2f4c0a16 14957static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14958 PyObject *resultobj;
14959 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14960 bool result;
14961 PyObject * obj0 = 0 ;
14962 char *kwnames[] = {
14963 (char *) "self", NULL
14964 };
14965
14966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14967 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14968 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14969 result = (bool) ((arg1)->m_shiftDown);
14970
fbc46b20
RD
14971 {
14972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14973 }
d14a1e28
RD
14974 return resultobj;
14975 fail:
14976 return NULL;
14977}
14978
14979
2f4c0a16 14980static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
14981 PyObject *resultobj;
14982 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14983 bool arg2 ;
14984 PyObject * obj0 = 0 ;
14985 PyObject * obj1 = 0 ;
14986 char *kwnames[] = {
14987 (char *) "self",(char *) "m_altDown", NULL
14988 };
14989
14990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14993 arg2 = (bool) SWIG_AsBool(obj1);
14994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14995 if (arg1) (arg1)->m_altDown = arg2;
14996
14997 Py_INCREF(Py_None); resultobj = Py_None;
14998 return resultobj;
14999 fail:
15000 return NULL;
15001}
15002
15003
2f4c0a16 15004static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15005 PyObject *resultobj;
15006 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15007 bool result;
15008 PyObject * obj0 = 0 ;
15009 char *kwnames[] = {
15010 (char *) "self", NULL
15011 };
15012
15013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15016 result = (bool) ((arg1)->m_altDown);
15017
fbc46b20
RD
15018 {
15019 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15020 }
d14a1e28
RD
15021 return resultobj;
15022 fail:
15023 return NULL;
15024}
15025
15026
2f4c0a16 15027static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15028 PyObject *resultobj;
15029 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15030 bool arg2 ;
15031 PyObject * obj0 = 0 ;
15032 PyObject * obj1 = 0 ;
15033 char *kwnames[] = {
15034 (char *) "self",(char *) "m_metaDown", NULL
15035 };
15036
15037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15038 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15039 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15040 arg2 = (bool) SWIG_AsBool(obj1);
15041 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15042 if (arg1) (arg1)->m_metaDown = arg2;
15043
15044 Py_INCREF(Py_None); resultobj = Py_None;
15045 return resultobj;
15046 fail:
15047 return NULL;
15048}
15049
15050
2f4c0a16 15051static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15052 PyObject *resultobj;
15053 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15054 bool result;
15055 PyObject * obj0 = 0 ;
15056 char *kwnames[] = {
15057 (char *) "self", NULL
15058 };
15059
15060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15063 result = (bool) ((arg1)->m_metaDown);
15064
fbc46b20
RD
15065 {
15066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15067 }
d14a1e28
RD
15068 return resultobj;
15069 fail:
15070 return NULL;
15071}
15072
15073
2f4c0a16 15074static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15075 PyObject *resultobj;
15076 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15077 int arg2 ;
15078 PyObject * obj0 = 0 ;
8edf1c75 15079 PyObject * obj1 = 0 ;
d14a1e28
RD
15080 char *kwnames[] = {
15081 (char *) "self",(char *) "m_wheelRotation", NULL
15082 };
15083
8edf1c75 15084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15087 arg2 = (int) SWIG_AsInt(obj1);
15088 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15089 if (arg1) (arg1)->m_wheelRotation = arg2;
15090
15091 Py_INCREF(Py_None); resultobj = Py_None;
15092 return resultobj;
15093 fail:
15094 return NULL;
15095}
15096
15097
2f4c0a16 15098static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15099 PyObject *resultobj;
15100 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15101 int result;
15102 PyObject * obj0 = 0 ;
15103 char *kwnames[] = {
15104 (char *) "self", NULL
15105 };
15106
15107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15108 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15109 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15110 result = (int) ((arg1)->m_wheelRotation);
15111
2f4c0a16 15112 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15113 return resultobj;
15114 fail:
15115 return NULL;
15116}
15117
15118
2f4c0a16 15119static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15120 PyObject *resultobj;
15121 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15122 int arg2 ;
15123 PyObject * obj0 = 0 ;
8edf1c75 15124 PyObject * obj1 = 0 ;
d14a1e28
RD
15125 char *kwnames[] = {
15126 (char *) "self",(char *) "m_wheelDelta", NULL
15127 };
15128
8edf1c75 15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15132 arg2 = (int) SWIG_AsInt(obj1);
15133 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15134 if (arg1) (arg1)->m_wheelDelta = arg2;
15135
15136 Py_INCREF(Py_None); resultobj = Py_None;
15137 return resultobj;
15138 fail:
15139 return NULL;
15140}
15141
15142
2f4c0a16 15143static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15144 PyObject *resultobj;
15145 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15146 int result;
15147 PyObject * obj0 = 0 ;
15148 char *kwnames[] = {
15149 (char *) "self", NULL
15150 };
15151
15152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15155 result = (int) ((arg1)->m_wheelDelta);
15156
2f4c0a16 15157 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15158 return resultobj;
15159 fail:
15160 return NULL;
15161}
15162
15163
2f4c0a16 15164static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15165 PyObject *resultobj;
15166 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15167 int arg2 ;
15168 PyObject * obj0 = 0 ;
8edf1c75 15169 PyObject * obj1 = 0 ;
d14a1e28
RD
15170 char *kwnames[] = {
15171 (char *) "self",(char *) "m_linesPerAction", NULL
15172 };
15173
8edf1c75 15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15175 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15176 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15177 arg2 = (int) SWIG_AsInt(obj1);
15178 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15179 if (arg1) (arg1)->m_linesPerAction = arg2;
15180
15181 Py_INCREF(Py_None); resultobj = Py_None;
15182 return resultobj;
15183 fail:
15184 return NULL;
15185}
15186
15187
2f4c0a16 15188static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15189 PyObject *resultobj;
15190 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
15191 int result;
15192 PyObject * obj0 = 0 ;
15193 char *kwnames[] = {
15194 (char *) "self", NULL
15195 };
15196
15197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
15199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15200 result = (int) ((arg1)->m_linesPerAction);
15201
2f4c0a16 15202 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15203 return resultobj;
15204 fail:
15205 return NULL;
15206}
15207
15208
2f4c0a16 15209static PyObject * MouseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15210 PyObject *obj;
15211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15212 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
15213 Py_INCREF(obj);
15214 return Py_BuildValue((char *)"");
15215}
2f4c0a16 15216static PyObject *_wrap_new_SetCursorEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 15217 PyObject *resultobj;
423f194a
RD
15218 int arg1 = (int) 0 ;
15219 int arg2 = (int) 0 ;
d14a1e28 15220 wxSetCursorEvent *result;
8edf1c75
RD
15221 PyObject * obj0 = 0 ;
15222 PyObject * obj1 = 0 ;
d14a1e28
RD
15223 char *kwnames[] = {
15224 (char *) "x",(char *) "y", NULL
15225 };
15226
8edf1c75
RD
15227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
15228 if (obj0) {
2f4c0a16
RD
15229 arg1 = (int) SWIG_AsInt(obj0);
15230 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
15231 }
15232 if (obj1) {
2f4c0a16
RD
15233 arg2 = (int) SWIG_AsInt(obj1);
15234 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15235 }
d14a1e28
RD
15236 {
15237 PyThreadState* __tstate = wxPyBeginAllowThreads();
15238 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
15239
15240 wxPyEndAllowThreads(__tstate);
15241 if (PyErr_Occurred()) SWIG_fail;
15242 }
2f4c0a16 15243 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
15244 return resultobj;
15245 fail:
15246 return NULL;
15247}
15248
15249
2f4c0a16 15250static PyObject *_wrap_SetCursorEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15251 PyObject *resultobj;
15252 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
423f194a 15253 int result;
d14a1e28
RD
15254 PyObject * obj0 = 0 ;
15255 char *kwnames[] = {
15256 (char *) "self", NULL
15257 };
15258
15259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15260 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15261 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15262 {
15263 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15264 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
15265
15266 wxPyEndAllowThreads(__tstate);
15267 if (PyErr_Occurred()) SWIG_fail;
15268 }
2f4c0a16 15269 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15270 return resultobj;
15271 fail:
15272 return NULL;
15273}
15274
15275
2f4c0a16 15276static PyObject *_wrap_SetCursorEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15277 PyObject *resultobj;
15278 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
423f194a 15279 int result;
d14a1e28
RD
15280 PyObject * obj0 = 0 ;
15281 char *kwnames[] = {
15282 (char *) "self", NULL
15283 };
15284
15285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15288 {
15289 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15290 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
15291
15292 wxPyEndAllowThreads(__tstate);
15293 if (PyErr_Occurred()) SWIG_fail;
15294 }
2f4c0a16 15295 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15296 return resultobj;
15297 fail:
15298 return NULL;
15299}
15300
15301
2f4c0a16 15302static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15303 PyObject *resultobj;
15304 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15305 wxCursor *arg2 = 0 ;
15306 PyObject * obj0 = 0 ;
15307 PyObject * obj1 = 0 ;
15308 char *kwnames[] = {
15309 (char *) "self",(char *) "cursor", NULL
15310 };
15311
15312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15315 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
15316 SWIG_POINTER_EXCEPTION | 0)) == -1)
15317 SWIG_fail;
d14a1e28 15318 if (arg2 == NULL) {
2f4c0a16
RD
15319 PyErr_SetString(PyExc_TypeError,"null reference");
15320 SWIG_fail;
d14a1e28
RD
15321 }
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 (arg1)->SetCursor((wxCursor const &)*arg2);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 return resultobj;
15331 fail:
15332 return NULL;
15333}
15334
15335
2f4c0a16 15336static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15337 PyObject *resultobj;
15338 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15339 wxCursor *result;
15340 PyObject * obj0 = 0 ;
15341 char *kwnames[] = {
15342 (char *) "self", NULL
15343 };
15344
15345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15348 {
15349 PyThreadState* __tstate = wxPyBeginAllowThreads();
15350 {
15351 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
15352 result = (wxCursor *) &_result_ref;
15353 }
15354
15355 wxPyEndAllowThreads(__tstate);
15356 if (PyErr_Occurred()) SWIG_fail;
15357 }
ce7284bd
RD
15358 {
15359 wxCursor* resultptr = new wxCursor(*result);
15360 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15361 }
d14a1e28
RD
15362 return resultobj;
15363 fail:
15364 return NULL;
15365}
15366
15367
2f4c0a16 15368static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15369 PyObject *resultobj;
15370 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15371 bool result;
15372 PyObject * obj0 = 0 ;
15373 char *kwnames[] = {
15374 (char *) "self", NULL
15375 };
15376
15377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15380 {
15381 PyThreadState* __tstate = wxPyBeginAllowThreads();
15382 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15383
15384 wxPyEndAllowThreads(__tstate);
15385 if (PyErr_Occurred()) SWIG_fail;
15386 }
fbc46b20
RD
15387 {
15388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15389 }
d14a1e28
RD
15390 return resultobj;
15391 fail:
15392 return NULL;
15393}
15394
15395
2f4c0a16 15396static PyObject * SetCursorEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
15397 PyObject *obj;
15398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15399 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15400 Py_INCREF(obj);
15401 return Py_BuildValue((char *)"");
15402}
2f4c0a16 15403static PyObject *_wrap_new_KeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15404 PyObject *resultobj;
15405 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15406 wxKeyEvent *result;
8edf1c75 15407 PyObject * obj0 = 0 ;
d14a1e28
RD
15408 char *kwnames[] = {
15409 (char *) "keyType", NULL
15410 };
15411
8edf1c75
RD
15412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15413 if (obj0) {
2f4c0a16
RD
15414 arg1 = (wxEventType) SWIG_AsInt(obj0);
15415 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15416 }
d14a1e28
RD
15417 {
15418 PyThreadState* __tstate = wxPyBeginAllowThreads();
15419 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15420
15421 wxPyEndAllowThreads(__tstate);
15422 if (PyErr_Occurred()) SWIG_fail;
15423 }
2f4c0a16 15424 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
15425 return resultobj;
15426 fail:
15427 return NULL;
15428}
15429
15430
2f4c0a16 15431static PyObject *_wrap_KeyEvent_ControlDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15432 PyObject *resultobj;
15433 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15434 bool result;
15435 PyObject * obj0 = 0 ;
15436 char *kwnames[] = {
15437 (char *) "self", NULL
15438 };
15439
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
fbc46b20
RD
15450 {
15451 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15452 }
d14a1e28
RD
15453 return resultobj;
15454 fail:
15455 return NULL;
15456}
15457
15458
2f4c0a16 15459static PyObject *_wrap_KeyEvent_MetaDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15460 PyObject *resultobj;
15461 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15462 bool result;
15463 PyObject * obj0 = 0 ;
15464 char *kwnames[] = {
15465 (char *) "self", NULL
15466 };
15467
15468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15471 {
15472 PyThreadState* __tstate = wxPyBeginAllowThreads();
15473 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15474
15475 wxPyEndAllowThreads(__tstate);
15476 if (PyErr_Occurred()) SWIG_fail;
15477 }
fbc46b20
RD
15478 {
15479 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15480 }
d14a1e28
RD
15481 return resultobj;
15482 fail:
15483 return NULL;
15484}
15485
15486
2f4c0a16 15487static PyObject *_wrap_KeyEvent_AltDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15488 PyObject *resultobj;
15489 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15490 bool result;
15491 PyObject * obj0 = 0 ;
15492 char *kwnames[] = {
15493 (char *) "self", NULL
15494 };
15495
15496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15499 {
15500 PyThreadState* __tstate = wxPyBeginAllowThreads();
15501 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15502
15503 wxPyEndAllowThreads(__tstate);
15504 if (PyErr_Occurred()) SWIG_fail;
15505 }
fbc46b20
RD
15506 {
15507 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15508 }
d14a1e28
RD
15509 return resultobj;
15510 fail:
15511 return NULL;
15512}
15513
15514
2f4c0a16 15515static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15516 PyObject *resultobj;
15517 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15518 bool result;
15519 PyObject * obj0 = 0 ;
15520 char *kwnames[] = {
15521 (char *) "self", NULL
15522 };
15523
15524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15525 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15526 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15527 {
15528 PyThreadState* __tstate = wxPyBeginAllowThreads();
15529 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15530
15531 wxPyEndAllowThreads(__tstate);
15532 if (PyErr_Occurred()) SWIG_fail;
15533 }
fbc46b20
RD
15534 {
15535 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15536 }
d14a1e28
RD
15537 return resultobj;
15538 fail:
15539 return NULL;
15540}
15541
15542
2f4c0a16 15543static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15544 PyObject *resultobj;
15545 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15546 bool result;
15547 PyObject * obj0 = 0 ;
15548 char *kwnames[] = {
15549 (char *) "self", NULL
15550 };
15551
15552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15555 {
15556 PyThreadState* __tstate = wxPyBeginAllowThreads();
15557 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15558
15559 wxPyEndAllowThreads(__tstate);
15560 if (PyErr_Occurred()) SWIG_fail;
15561 }
fbc46b20
RD
15562 {
15563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15564 }
d14a1e28
RD
15565 return resultobj;
15566 fail:
15567 return NULL;
15568}
15569
15570
2f4c0a16 15571static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15572 PyObject *resultobj;
15573 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15574 int result;
15575 PyObject * obj0 = 0 ;
15576 char *kwnames[] = {
15577 (char *) "self", NULL
15578 };
15579
15580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
2f4c0a16 15590 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15591 return resultobj;
15592 fail:
15593 return NULL;
15594}
15595
15596
2f4c0a16 15597static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15598 PyObject *resultobj;
15599 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15600 int result;
15601 PyObject * obj0 = 0 ;
15602 char *kwnames[] = {
15603 (char *) "self", NULL
15604 };
15605
15606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15609 {
15610 PyThreadState* __tstate = wxPyBeginAllowThreads();
15611 result = (int)wxKeyEvent_GetUniChar(arg1);
15612
15613 wxPyEndAllowThreads(__tstate);
15614 if (PyErr_Occurred()) SWIG_fail;
15615 }
2f4c0a16 15616 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15617 return resultobj;
15618 fail:
15619 return NULL;
15620}
15621
15622
2f4c0a16 15623static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15624 PyObject *resultobj;
15625 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15626 unsigned int result;
d14a1e28
RD
15627 PyObject * obj0 = 0 ;
15628 char *kwnames[] = {
15629 (char *) "self", NULL
15630 };
15631
15632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15635 {
15636 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15637 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
15638
15639 wxPyEndAllowThreads(__tstate);
15640 if (PyErr_Occurred()) SWIG_fail;
15641 }
2f4c0a16 15642 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15643 return resultobj;
15644 fail:
15645 return NULL;
15646}
15647
15648
2f4c0a16 15649static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15650 PyObject *resultobj;
15651 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15652 unsigned int result;
d14a1e28
RD
15653 PyObject * obj0 = 0 ;
15654 char *kwnames[] = {
15655 (char *) "self", NULL
15656 };
15657
15658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15661 {
15662 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15663 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
15664
15665 wxPyEndAllowThreads(__tstate);
15666 if (PyErr_Occurred()) SWIG_fail;
15667 }
2f4c0a16 15668 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15669 return resultobj;
15670 fail:
15671 return NULL;
15672}
15673
15674
2f4c0a16 15675static PyObject *_wrap_KeyEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15676 PyObject *resultobj;
15677 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15678 wxPoint result;
15679 PyObject * obj0 = 0 ;
15680 char *kwnames[] = {
15681 (char *) "self", NULL
15682 };
15683
15684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15687 {
15688 PyThreadState* __tstate = wxPyBeginAllowThreads();
15689 result = (arg1)->GetPosition();
15690
15691 wxPyEndAllowThreads(__tstate);
15692 if (PyErr_Occurred()) SWIG_fail;
15693 }
15694 {
15695 wxPoint * resultptr;
15696 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 15697 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
15698 }
15699 return resultobj;
15700 fail:
15701 return NULL;
15702}
15703
15704
2f4c0a16 15705static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15706 PyObject *resultobj;
15707 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15708 long *arg2 = (long *) 0 ;
15709 long *arg3 = (long *) 0 ;
15710 long temp2 ;
15711 long temp3 ;
15712 PyObject * obj0 = 0 ;
15713 char *kwnames[] = {
15714 (char *) "self", NULL
15715 };
15716
15717 arg2 = &temp2;
15718 arg3 = &temp3;
15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15720 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15721 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 (arg1)->GetPosition(arg2,arg3);
15725
15726 wxPyEndAllowThreads(__tstate);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 }
15729 Py_INCREF(Py_None); resultobj = Py_None;
15730 {
15731 PyObject *o = PyInt_FromLong((long) (*arg2));
15732 resultobj = t_output_helper(resultobj,o);
15733 }
15734 {
15735 PyObject *o = PyInt_FromLong((long) (*arg3));
15736 resultobj = t_output_helper(resultobj,o);
15737 }
15738 return resultobj;
15739 fail:
15740 return NULL;
15741}
15742
15743
2f4c0a16 15744static PyObject *_wrap_KeyEvent_GetX(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15745 PyObject *resultobj;
15746 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15747 int result;
d14a1e28
RD
15748 PyObject * obj0 = 0 ;
15749 char *kwnames[] = {
15750 (char *) "self", NULL
15751 };
15752
15753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15754 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15755 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15756 {
15757 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15758 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
15759
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
2f4c0a16 15763 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15764 return resultobj;
15765 fail:
15766 return NULL;
15767}
15768
15769
2f4c0a16 15770static PyObject *_wrap_KeyEvent_GetY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15771 PyObject *resultobj;
15772 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15773 int result;
d14a1e28
RD
15774 PyObject * obj0 = 0 ;
15775 char *kwnames[] = {
15776 (char *) "self", NULL
15777 };
15778
15779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15780 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15781 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15782 {
15783 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15784 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
15785
15786 wxPyEndAllowThreads(__tstate);
15787 if (PyErr_Occurred()) SWIG_fail;
15788 }
2f4c0a16 15789 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15790 return resultobj;
15791 fail:
15792 return NULL;
15793}
15794
15795
2f4c0a16 15796static PyObject *_wrap_KeyEvent_m_x_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15797 PyObject *resultobj;
15798 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15799 int arg2 ;
d14a1e28 15800 PyObject * obj0 = 0 ;
8edf1c75 15801 PyObject * obj1 = 0 ;
d14a1e28
RD
15802 char *kwnames[] = {
15803 (char *) "self",(char *) "m_x", NULL
15804 };
15805
8edf1c75 15806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15809 arg2 = (int) SWIG_AsInt(obj1);
15810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15811 if (arg1) (arg1)->m_x = arg2;
15812
15813 Py_INCREF(Py_None); resultobj = Py_None;
15814 return resultobj;
15815 fail:
15816 return NULL;
15817}
15818
15819
2f4c0a16 15820static PyObject *_wrap_KeyEvent_m_x_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15821 PyObject *resultobj;
15822 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15823 int result;
d14a1e28
RD
15824 PyObject * obj0 = 0 ;
15825 char *kwnames[] = {
15826 (char *) "self", NULL
15827 };
15828
15829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15830 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 15832 result = (int) ((arg1)->m_x);
d14a1e28 15833
2f4c0a16 15834 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15835 return resultobj;
15836 fail:
15837 return NULL;
15838}
15839
15840
2f4c0a16 15841static PyObject *_wrap_KeyEvent_m_y_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15842 PyObject *resultobj;
15843 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15844 int arg2 ;
d14a1e28 15845 PyObject * obj0 = 0 ;
8edf1c75 15846 PyObject * obj1 = 0 ;
d14a1e28
RD
15847 char *kwnames[] = {
15848 (char *) "self",(char *) "m_y", NULL
15849 };
15850
8edf1c75 15851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15854 arg2 = (int) SWIG_AsInt(obj1);
15855 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15856 if (arg1) (arg1)->m_y = arg2;
15857
15858 Py_INCREF(Py_None); resultobj = Py_None;
15859 return resultobj;
15860 fail:
15861 return NULL;
15862}
15863
15864
2f4c0a16 15865static PyObject *_wrap_KeyEvent_m_y_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15866 PyObject *resultobj;
15867 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15868 int result;
d14a1e28
RD
15869 PyObject * obj0 = 0 ;
15870 char *kwnames[] = {
15871 (char *) "self", NULL
15872 };
15873
15874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15875 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15876 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 15877 result = (int) ((arg1)->m_y);
d14a1e28 15878
2f4c0a16 15879 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15880 return resultobj;
15881 fail:
15882 return NULL;
15883}
15884
15885
2f4c0a16 15886static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15887 PyObject *resultobj;
15888 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15889 long arg2 ;
15890 PyObject * obj0 = 0 ;
8edf1c75 15891 PyObject * obj1 = 0 ;
d14a1e28
RD
15892 char *kwnames[] = {
15893 (char *) "self",(char *) "m_keyCode", NULL
15894 };
15895
8edf1c75 15896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15897 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15898 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15899 arg2 = (long) SWIG_AsLong(obj1);
15900 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15901 if (arg1) (arg1)->m_keyCode = arg2;
15902
15903 Py_INCREF(Py_None); resultobj = Py_None;
15904 return resultobj;
15905 fail:
15906 return NULL;
15907}
15908
15909
2f4c0a16 15910static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15911 PyObject *resultobj;
15912 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15913 long result;
15914 PyObject * obj0 = 0 ;
15915 char *kwnames[] = {
15916 (char *) "self", NULL
15917 };
15918
15919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15922 result = (long) ((arg1)->m_keyCode);
15923
2f4c0a16 15924 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15925 return resultobj;
15926 fail:
15927 return NULL;
15928}
15929
15930
2f4c0a16 15931static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15932 PyObject *resultobj;
15933 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15934 bool arg2 ;
15935 PyObject * obj0 = 0 ;
15936 PyObject * obj1 = 0 ;
15937 char *kwnames[] = {
15938 (char *) "self",(char *) "m_controlDown", NULL
15939 };
15940
15941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15942 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15943 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15944 arg2 = (bool) SWIG_AsBool(obj1);
15945 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15946 if (arg1) (arg1)->m_controlDown = arg2;
15947
15948 Py_INCREF(Py_None); resultobj = Py_None;
15949 return resultobj;
15950 fail:
15951 return NULL;
15952}
15953
15954
2f4c0a16 15955static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15956 PyObject *resultobj;
15957 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15958 bool result;
15959 PyObject * obj0 = 0 ;
15960 char *kwnames[] = {
15961 (char *) "self", NULL
15962 };
15963
15964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15967 result = (bool) ((arg1)->m_controlDown);
15968
fbc46b20
RD
15969 {
15970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15971 }
d14a1e28
RD
15972 return resultobj;
15973 fail:
15974 return NULL;
15975}
15976
15977
2f4c0a16 15978static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
15979 PyObject *resultobj;
15980 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15981 bool arg2 ;
15982 PyObject * obj0 = 0 ;
15983 PyObject * obj1 = 0 ;
15984 char *kwnames[] = {
15985 (char *) "self",(char *) "m_shiftDown", NULL
15986 };
15987
15988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15991 arg2 = (bool) SWIG_AsBool(obj1);
15992 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15993 if (arg1) (arg1)->m_shiftDown = arg2;
15994
15995 Py_INCREF(Py_None); resultobj = Py_None;
15996 return resultobj;
15997 fail:
15998 return NULL;
15999}
16000
16001
2f4c0a16 16002static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16003 PyObject *resultobj;
16004 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16005 bool result;
16006 PyObject * obj0 = 0 ;
16007 char *kwnames[] = {
16008 (char *) "self", NULL
16009 };
16010
16011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16014 result = (bool) ((arg1)->m_shiftDown);
16015
fbc46b20
RD
16016 {
16017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16018 }
d14a1e28
RD
16019 return resultobj;
16020 fail:
16021 return NULL;
16022}
16023
16024
2f4c0a16 16025static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16026 PyObject *resultobj;
16027 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16028 bool arg2 ;
16029 PyObject * obj0 = 0 ;
16030 PyObject * obj1 = 0 ;
16031 char *kwnames[] = {
16032 (char *) "self",(char *) "m_altDown", NULL
16033 };
16034
16035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16036 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16038 arg2 = (bool) SWIG_AsBool(obj1);
16039 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16040 if (arg1) (arg1)->m_altDown = arg2;
16041
16042 Py_INCREF(Py_None); resultobj = Py_None;
16043 return resultobj;
16044 fail:
16045 return NULL;
16046}
16047
16048
2f4c0a16 16049static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16050 PyObject *resultobj;
16051 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16052 bool result;
16053 PyObject * obj0 = 0 ;
16054 char *kwnames[] = {
16055 (char *) "self", NULL
16056 };
16057
16058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16059 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16061 result = (bool) ((arg1)->m_altDown);
16062
fbc46b20
RD
16063 {
16064 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16065 }
d14a1e28
RD
16066 return resultobj;
16067 fail:
16068 return NULL;
16069}
16070
16071
2f4c0a16 16072static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16073 PyObject *resultobj;
16074 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16075 bool arg2 ;
16076 PyObject * obj0 = 0 ;
16077 PyObject * obj1 = 0 ;
16078 char *kwnames[] = {
16079 (char *) "self",(char *) "m_metaDown", NULL
16080 };
16081
16082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16083 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16085 arg2 = (bool) SWIG_AsBool(obj1);
16086 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16087 if (arg1) (arg1)->m_metaDown = arg2;
16088
16089 Py_INCREF(Py_None); resultobj = Py_None;
16090 return resultobj;
16091 fail:
16092 return NULL;
16093}
16094
16095
2f4c0a16 16096static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16097 PyObject *resultobj;
16098 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16099 bool result;
16100 PyObject * obj0 = 0 ;
16101 char *kwnames[] = {
16102 (char *) "self", NULL
16103 };
16104
16105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16108 result = (bool) ((arg1)->m_metaDown);
16109
fbc46b20
RD
16110 {
16111 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16112 }
d14a1e28
RD
16113 return resultobj;
16114 fail:
16115 return NULL;
16116}
16117
16118
2f4c0a16 16119static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16120 PyObject *resultobj;
16121 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16122 bool arg2 ;
16123 PyObject * obj0 = 0 ;
16124 PyObject * obj1 = 0 ;
16125 char *kwnames[] = {
16126 (char *) "self",(char *) "m_scanCode", NULL
16127 };
16128
16129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16132 arg2 = (bool) SWIG_AsBool(obj1);
16133 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16134 if (arg1) (arg1)->m_scanCode = arg2;
16135
16136 Py_INCREF(Py_None); resultobj = Py_None;
16137 return resultobj;
16138 fail:
16139 return NULL;
16140}
16141
16142
2f4c0a16 16143static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16144 PyObject *resultobj;
16145 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
16146 bool result;
16147 PyObject * obj0 = 0 ;
16148 char *kwnames[] = {
16149 (char *) "self", NULL
16150 };
16151
16152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16155 result = (bool) ((arg1)->m_scanCode);
16156
fbc46b20
RD
16157 {
16158 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16159 }
d14a1e28
RD
16160 return resultobj;
16161 fail:
16162 return NULL;
16163}
16164
16165
2f4c0a16 16166static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16167 PyObject *resultobj;
16168 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 16169 unsigned int arg2 ;
d14a1e28
RD
16170 PyObject * obj0 = 0 ;
16171 PyObject * obj1 = 0 ;
16172 char *kwnames[] = {
16173 (char *) "self",(char *) "m_rawCode", NULL
16174 };
16175
16176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16179 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16180 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16181 if (arg1) (arg1)->m_rawCode = arg2;
16182
16183 Py_INCREF(Py_None); resultobj = Py_None;
16184 return resultobj;
16185 fail:
16186 return NULL;
16187}
16188
16189
2f4c0a16 16190static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16191 PyObject *resultobj;
16192 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 16193 unsigned int result;
d14a1e28
RD
16194 PyObject * obj0 = 0 ;
16195 char *kwnames[] = {
16196 (char *) "self", NULL
16197 };
16198
16199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 16202 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 16203
2f4c0a16 16204 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16205 return resultobj;
16206 fail:
16207 return NULL;
16208}
16209
16210
2f4c0a16 16211static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16212 PyObject *resultobj;
16213 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 16214 unsigned int arg2 ;
d14a1e28
RD
16215 PyObject * obj0 = 0 ;
16216 PyObject * obj1 = 0 ;
16217 char *kwnames[] = {
16218 (char *) "self",(char *) "m_rawFlags", NULL
16219 };
16220
16221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16224 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
16225 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16226 if (arg1) (arg1)->m_rawFlags = arg2;
16227
16228 Py_INCREF(Py_None); resultobj = Py_None;
16229 return resultobj;
16230 fail:
16231 return NULL;
16232}
16233
16234
2f4c0a16 16235static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16236 PyObject *resultobj;
16237 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 16238 unsigned int result;
d14a1e28
RD
16239 PyObject * obj0 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
16246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 16247 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 16248
2f4c0a16 16249 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
16250 return resultobj;
16251 fail:
16252 return NULL;
16253}
16254
16255
2f4c0a16 16256static PyObject * KeyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16257 PyObject *obj;
16258 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16259 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
16260 Py_INCREF(obj);
16261 return Py_BuildValue((char *)"");
16262}
2f4c0a16 16263static PyObject *_wrap_new_SizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16264 PyObject *resultobj;
16265 wxSize const &arg1_defvalue = wxDefaultSize ;
16266 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
16267 int arg2 = (int) 0 ;
16268 wxSizeEvent *result;
16269 wxSize temp1 ;
16270 PyObject * obj0 = 0 ;
8edf1c75 16271 PyObject * obj1 = 0 ;
d14a1e28
RD
16272 char *kwnames[] = {
16273 (char *) "sz",(char *) "winid", NULL
16274 };
16275
8edf1c75 16276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16277 if (obj0) {
16278 {
16279 arg1 = &temp1;
16280 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
16281 }
16282 }
8edf1c75 16283 if (obj1) {
2f4c0a16
RD
16284 arg2 = (int) SWIG_AsInt(obj1);
16285 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16286 }
d14a1e28
RD
16287 {
16288 PyThreadState* __tstate = wxPyBeginAllowThreads();
16289 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
16290
16291 wxPyEndAllowThreads(__tstate);
16292 if (PyErr_Occurred()) SWIG_fail;
16293 }
2f4c0a16 16294 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
16295 return resultobj;
16296 fail:
16297 return NULL;
16298}
16299
16300
2f4c0a16 16301static PyObject *_wrap_SizeEvent_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16302 PyObject *resultobj;
16303 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16304 wxSize result;
16305 PyObject * obj0 = 0 ;
16306 char *kwnames[] = {
16307 (char *) "self", NULL
16308 };
16309
16310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16313 {
16314 PyThreadState* __tstate = wxPyBeginAllowThreads();
16315 result = ((wxSizeEvent const *)arg1)->GetSize();
16316
16317 wxPyEndAllowThreads(__tstate);
16318 if (PyErr_Occurred()) SWIG_fail;
16319 }
16320 {
16321 wxSize * resultptr;
16322 resultptr = new wxSize((wxSize &) result);
2f4c0a16 16323 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
16324 }
16325 return resultobj;
16326 fail:
16327 return NULL;
16328}
16329
16330
2f4c0a16 16331static PyObject *_wrap_SizeEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16332 PyObject *resultobj;
16333 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16334 wxRect result;
16335 PyObject * obj0 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self", NULL
16338 };
16339
16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16341 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16343 {
16344 PyThreadState* __tstate = wxPyBeginAllowThreads();
16345 result = ((wxSizeEvent const *)arg1)->GetRect();
16346
16347 wxPyEndAllowThreads(__tstate);
16348 if (PyErr_Occurred()) SWIG_fail;
16349 }
16350 {
16351 wxRect * resultptr;
16352 resultptr = new wxRect((wxRect &) result);
2f4c0a16 16353 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16354 }
16355 return resultobj;
16356 fail:
16357 return NULL;
16358}
16359
16360
2f4c0a16 16361static PyObject *_wrap_SizeEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16362 PyObject *resultobj;
16363 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16364 wxRect arg2 ;
16365 wxRect *argp2 ;
16366 PyObject * obj0 = 0 ;
16367 PyObject * obj1 = 0 ;
16368 char *kwnames[] = {
16369 (char *) "self",(char *) "rect", NULL
16370 };
16371
16372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16373 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16374 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16375 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16376 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16377 arg2 = *argp2;
d14a1e28
RD
16378 {
16379 PyThreadState* __tstate = wxPyBeginAllowThreads();
16380 (arg1)->SetRect(arg2);
16381
16382 wxPyEndAllowThreads(__tstate);
16383 if (PyErr_Occurred()) SWIG_fail;
16384 }
16385 Py_INCREF(Py_None); resultobj = Py_None;
16386 return resultobj;
16387 fail:
16388 return NULL;
16389}
16390
16391
2f4c0a16 16392static PyObject *_wrap_SizeEvent_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16393 PyObject *resultobj;
16394 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16395 wxSize arg2 ;
16396 wxSize *argp2 ;
16397 PyObject * obj0 = 0 ;
16398 PyObject * obj1 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self",(char *) "size", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16404 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16405 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16406 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16407 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16408 arg2 = *argp2;
d14a1e28
RD
16409 {
16410 PyThreadState* __tstate = wxPyBeginAllowThreads();
16411 wxSizeEvent_SetSize(arg1,arg2);
16412
16413 wxPyEndAllowThreads(__tstate);
16414 if (PyErr_Occurred()) SWIG_fail;
16415 }
16416 Py_INCREF(Py_None); resultobj = Py_None;
16417 return resultobj;
16418 fail:
16419 return NULL;
16420}
16421
16422
2f4c0a16 16423static PyObject *_wrap_SizeEvent_m_size_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16424 PyObject *resultobj;
16425 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16426 wxSize *arg2 = (wxSize *) 0 ;
16427 PyObject * obj0 = 0 ;
16428 PyObject * obj1 = 0 ;
16429 char *kwnames[] = {
16430 (char *) "self",(char *) "m_size", NULL
16431 };
16432
16433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16434 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16435 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16436 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16438 if (arg1) (arg1)->m_size = *arg2;
16439
16440 Py_INCREF(Py_None); resultobj = Py_None;
16441 return resultobj;
16442 fail:
16443 return NULL;
16444}
16445
16446
2f4c0a16 16447static PyObject *_wrap_SizeEvent_m_size_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16448 PyObject *resultobj;
16449 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16450 wxSize *result;
16451 PyObject * obj0 = 0 ;
16452 char *kwnames[] = {
16453 (char *) "self", NULL
16454 };
16455
16456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16459 result = (wxSize *)& ((arg1)->m_size);
16460
2f4c0a16 16461 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
16462 return resultobj;
16463 fail:
16464 return NULL;
16465}
16466
16467
2f4c0a16 16468static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16469 PyObject *resultobj;
16470 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16471 wxRect *arg2 = (wxRect *) 0 ;
16472 PyObject * obj0 = 0 ;
16473 PyObject * obj1 = 0 ;
16474 char *kwnames[] = {
16475 (char *) "self",(char *) "m_rect", NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16481 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16483 if (arg1) (arg1)->m_rect = *arg2;
16484
16485 Py_INCREF(Py_None); resultobj = Py_None;
16486 return resultobj;
16487 fail:
16488 return NULL;
16489}
16490
16491
2f4c0a16 16492static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16493 PyObject *resultobj;
16494 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16495 wxRect *result;
16496 PyObject * obj0 = 0 ;
16497 char *kwnames[] = {
16498 (char *) "self", NULL
16499 };
16500
16501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16504 result = (wxRect *)& ((arg1)->m_rect);
16505
2f4c0a16 16506 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16507 return resultobj;
16508 fail:
16509 return NULL;
16510}
16511
16512
2f4c0a16 16513static PyObject * SizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16514 PyObject *obj;
16515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16516 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16517 Py_INCREF(obj);
16518 return Py_BuildValue((char *)"");
16519}
2f4c0a16 16520static PyObject *_wrap_new_MoveEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16521 PyObject *resultobj;
16522 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16523 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16524 int arg2 = (int) 0 ;
16525 wxMoveEvent *result;
16526 wxPoint temp1 ;
16527 PyObject * obj0 = 0 ;
8edf1c75 16528 PyObject * obj1 = 0 ;
d14a1e28
RD
16529 char *kwnames[] = {
16530 (char *) "pos",(char *) "winid", NULL
16531 };
16532
8edf1c75 16533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16534 if (obj0) {
16535 {
16536 arg1 = &temp1;
16537 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16538 }
16539 }
8edf1c75 16540 if (obj1) {
2f4c0a16
RD
16541 arg2 = (int) SWIG_AsInt(obj1);
16542 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16543 }
d14a1e28
RD
16544 {
16545 PyThreadState* __tstate = wxPyBeginAllowThreads();
16546 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16547
16548 wxPyEndAllowThreads(__tstate);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 }
2f4c0a16 16551 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
16552 return resultobj;
16553 fail:
16554 return NULL;
16555}
16556
16557
2f4c0a16 16558static PyObject *_wrap_MoveEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16559 PyObject *resultobj;
16560 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16561 wxPoint result;
16562 PyObject * obj0 = 0 ;
16563 char *kwnames[] = {
16564 (char *) "self", NULL
16565 };
16566
16567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16570 {
16571 PyThreadState* __tstate = wxPyBeginAllowThreads();
16572 result = ((wxMoveEvent const *)arg1)->GetPosition();
16573
16574 wxPyEndAllowThreads(__tstate);
16575 if (PyErr_Occurred()) SWIG_fail;
16576 }
16577 {
16578 wxPoint * resultptr;
16579 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 16580 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16581 }
16582 return resultobj;
16583 fail:
16584 return NULL;
16585}
16586
16587
2f4c0a16 16588static PyObject *_wrap_MoveEvent_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16589 PyObject *resultobj;
16590 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16591 wxRect result;
16592 PyObject * obj0 = 0 ;
16593 char *kwnames[] = {
16594 (char *) "self", NULL
16595 };
16596
16597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 result = ((wxMoveEvent const *)arg1)->GetRect();
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 {
16608 wxRect * resultptr;
16609 resultptr = new wxRect((wxRect &) result);
2f4c0a16 16610 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16611 }
16612 return resultobj;
16613 fail:
16614 return NULL;
16615}
16616
16617
2f4c0a16 16618static PyObject *_wrap_MoveEvent_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16619 PyObject *resultobj;
16620 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16621 wxRect arg2 ;
16622 wxRect *argp2 ;
16623 PyObject * obj0 = 0 ;
16624 PyObject * obj1 = 0 ;
16625 char *kwnames[] = {
16626 (char *) "self",(char *) "rect", NULL
16627 };
16628
16629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16630 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16631 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16632 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16633 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16634 arg2 = *argp2;
d14a1e28
RD
16635 {
16636 PyThreadState* __tstate = wxPyBeginAllowThreads();
16637 (arg1)->SetRect(arg2);
16638
16639 wxPyEndAllowThreads(__tstate);
16640 if (PyErr_Occurred()) SWIG_fail;
16641 }
16642 Py_INCREF(Py_None); resultobj = Py_None;
16643 return resultobj;
16644 fail:
16645 return NULL;
16646}
16647
16648
2f4c0a16 16649static PyObject *_wrap_MoveEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16650 PyObject *resultobj;
16651 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16652 wxPoint arg2 ;
16653 wxPoint *argp2 ;
16654 PyObject * obj0 = 0 ;
16655 PyObject * obj1 = 0 ;
16656 char *kwnames[] = {
16657 (char *) "self",(char *) "pos", NULL
16658 };
16659
16660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16663 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16664 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16665 arg2 = *argp2;
d14a1e28
RD
16666 {
16667 PyThreadState* __tstate = wxPyBeginAllowThreads();
16668 wxMoveEvent_SetPosition(arg1,arg2);
16669
16670 wxPyEndAllowThreads(__tstate);
16671 if (PyErr_Occurred()) SWIG_fail;
16672 }
16673 Py_INCREF(Py_None); resultobj = Py_None;
16674 return resultobj;
16675 fail:
16676 return NULL;
16677}
16678
16679
2f4c0a16 16680static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16681 PyObject *resultobj;
16682 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16683 wxPoint *arg2 = (wxPoint *) 0 ;
16684 PyObject * obj0 = 0 ;
16685 PyObject * obj1 = 0 ;
16686 char *kwnames[] = {
16687 (char *) "self",(char *) "m_pos", NULL
16688 };
16689
16690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16691 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16692 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16693 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16695 if (arg1) (arg1)->m_pos = *arg2;
16696
16697 Py_INCREF(Py_None); resultobj = Py_None;
16698 return resultobj;
16699 fail:
16700 return NULL;
16701}
16702
16703
2f4c0a16 16704static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16705 PyObject *resultobj;
16706 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16707 wxPoint *result;
16708 PyObject * obj0 = 0 ;
16709 char *kwnames[] = {
16710 (char *) "self", NULL
16711 };
16712
16713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16716 result = (wxPoint *)& ((arg1)->m_pos);
16717
2f4c0a16 16718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
16719 return resultobj;
16720 fail:
16721 return NULL;
16722}
16723
16724
2f4c0a16 16725static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16726 PyObject *resultobj;
16727 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16728 wxRect *arg2 = (wxRect *) 0 ;
16729 PyObject * obj0 = 0 ;
16730 PyObject * obj1 = 0 ;
16731 char *kwnames[] = {
16732 (char *) "self",(char *) "m_rect", NULL
16733 };
16734
16735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16736 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16737 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16738 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16739 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16740 if (arg1) (arg1)->m_rect = *arg2;
16741
16742 Py_INCREF(Py_None); resultobj = Py_None;
16743 return resultobj;
16744 fail:
16745 return NULL;
16746}
16747
16748
2f4c0a16 16749static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16750 PyObject *resultobj;
16751 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16752 wxRect *result;
16753 PyObject * obj0 = 0 ;
16754 char *kwnames[] = {
16755 (char *) "self", NULL
16756 };
16757
16758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16761 result = (wxRect *)& ((arg1)->m_rect);
16762
2f4c0a16 16763 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16764 return resultobj;
16765 fail:
16766 return NULL;
16767}
16768
16769
2f4c0a16 16770static PyObject * MoveEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16771 PyObject *obj;
16772 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16773 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16774 Py_INCREF(obj);
16775 return Py_BuildValue((char *)"");
16776}
2f4c0a16 16777static PyObject *_wrap_new_PaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16778 PyObject *resultobj;
16779 int arg1 = (int) 0 ;
16780 wxPaintEvent *result;
8edf1c75 16781 PyObject * obj0 = 0 ;
d14a1e28
RD
16782 char *kwnames[] = {
16783 (char *) "Id", NULL
16784 };
16785
8edf1c75
RD
16786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16787 if (obj0) {
2f4c0a16
RD
16788 arg1 = (int) SWIG_AsInt(obj0);
16789 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16790 }
d14a1e28
RD
16791 {
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16794
16795 wxPyEndAllowThreads(__tstate);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
2f4c0a16 16798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
16799 return resultobj;
16800 fail:
16801 return NULL;
16802}
16803
16804
2f4c0a16 16805static PyObject * PaintEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16806 PyObject *obj;
16807 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16808 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16809 Py_INCREF(obj);
16810 return Py_BuildValue((char *)"");
16811}
2f4c0a16 16812static PyObject *_wrap_new_NcPaintEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16813 PyObject *resultobj;
16814 int arg1 = (int) 0 ;
16815 wxNcPaintEvent *result;
8edf1c75 16816 PyObject * obj0 = 0 ;
d14a1e28
RD
16817 char *kwnames[] = {
16818 (char *) "winid", NULL
16819 };
16820
8edf1c75
RD
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16822 if (obj0) {
2f4c0a16
RD
16823 arg1 = (int) SWIG_AsInt(obj0);
16824 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16825 }
d14a1e28
RD
16826 {
16827 PyThreadState* __tstate = wxPyBeginAllowThreads();
16828 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16829
16830 wxPyEndAllowThreads(__tstate);
16831 if (PyErr_Occurred()) SWIG_fail;
16832 }
2f4c0a16 16833 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
16834 return resultobj;
16835 fail:
16836 return NULL;
16837}
16838
16839
2f4c0a16 16840static PyObject * NcPaintEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16841 PyObject *obj;
16842 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16843 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16844 Py_INCREF(obj);
16845 return Py_BuildValue((char *)"");
16846}
2f4c0a16 16847static PyObject *_wrap_new_EraseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16848 PyObject *resultobj;
16849 int arg1 = (int) 0 ;
16850 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16851 wxEraseEvent *result;
8edf1c75 16852 PyObject * obj0 = 0 ;
d14a1e28
RD
16853 PyObject * obj1 = 0 ;
16854 char *kwnames[] = {
16855 (char *) "Id",(char *) "dc", NULL
16856 };
16857
8edf1c75
RD
16858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16859 if (obj0) {
2f4c0a16
RD
16860 arg1 = (int) SWIG_AsInt(obj0);
16861 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16862 }
d14a1e28 16863 if (obj1) {
2f4c0a16
RD
16864 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16866 }
16867 {
16868 PyThreadState* __tstate = wxPyBeginAllowThreads();
16869 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16870
16871 wxPyEndAllowThreads(__tstate);
16872 if (PyErr_Occurred()) SWIG_fail;
16873 }
2f4c0a16 16874 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
16875 return resultobj;
16876 fail:
16877 return NULL;
16878}
16879
16880
2f4c0a16 16881static PyObject *_wrap_EraseEvent_GetDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16882 PyObject *resultobj;
16883 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16884 wxDC *result;
16885 PyObject * obj0 = 0 ;
16886 char *kwnames[] = {
16887 (char *) "self", NULL
16888 };
16889
16890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16893 {
16894 PyThreadState* __tstate = wxPyBeginAllowThreads();
16895 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16896
16897 wxPyEndAllowThreads(__tstate);
16898 if (PyErr_Occurred()) SWIG_fail;
16899 }
16900 {
16901 resultobj = wxPyMake_wxObject(result);
16902 }
16903 return resultobj;
16904 fail:
16905 return NULL;
16906}
16907
16908
2f4c0a16 16909static PyObject * EraseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
16910 PyObject *obj;
16911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16912 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16913 Py_INCREF(obj);
16914 return Py_BuildValue((char *)"");
16915}
2f4c0a16 16916static PyObject *_wrap_new_FocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16917 PyObject *resultobj;
16918 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16919 int arg2 = (int) 0 ;
16920 wxFocusEvent *result;
8edf1c75
RD
16921 PyObject * obj0 = 0 ;
16922 PyObject * obj1 = 0 ;
d14a1e28
RD
16923 char *kwnames[] = {
16924 (char *) "type",(char *) "winid", NULL
16925 };
16926
8edf1c75
RD
16927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16928 if (obj0) {
2f4c0a16
RD
16929 arg1 = (wxEventType) SWIG_AsInt(obj0);
16930 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16931 }
16932 if (obj1) {
2f4c0a16
RD
16933 arg2 = (int) SWIG_AsInt(obj1);
16934 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16935 }
d14a1e28
RD
16936 {
16937 PyThreadState* __tstate = wxPyBeginAllowThreads();
16938 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16939
16940 wxPyEndAllowThreads(__tstate);
16941 if (PyErr_Occurred()) SWIG_fail;
16942 }
2f4c0a16 16943 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
16944 return resultobj;
16945 fail:
16946 return NULL;
16947}
16948
16949
2f4c0a16 16950static PyObject *_wrap_FocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16951 PyObject *resultobj;
16952 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16953 wxWindow *result;
16954 PyObject * obj0 = 0 ;
16955 char *kwnames[] = {
16956 (char *) "self", NULL
16957 };
16958
16959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16962 {
16963 PyThreadState* __tstate = wxPyBeginAllowThreads();
16964 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16965
16966 wxPyEndAllowThreads(__tstate);
16967 if (PyErr_Occurred()) SWIG_fail;
16968 }
16969 {
16970 resultobj = wxPyMake_wxObject(result);
16971 }
16972 return resultobj;
16973 fail:
16974 return NULL;
16975}
16976
16977
2f4c0a16 16978static PyObject *_wrap_FocusEvent_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
16979 PyObject *resultobj;
16980 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16981 wxWindow *arg2 = (wxWindow *) 0 ;
16982 PyObject * obj0 = 0 ;
16983 PyObject * obj1 = 0 ;
16984 char *kwnames[] = {
16985 (char *) "self",(char *) "win", NULL
16986 };
16987
16988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16991 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16993 {
16994 PyThreadState* __tstate = wxPyBeginAllowThreads();
16995 (arg1)->SetWindow(arg2);
16996
16997 wxPyEndAllowThreads(__tstate);
16998 if (PyErr_Occurred()) SWIG_fail;
16999 }
17000 Py_INCREF(Py_None); resultobj = Py_None;
17001 return resultobj;
17002 fail:
17003 return NULL;
17004}
17005
17006
2f4c0a16 17007static PyObject * FocusEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17008 PyObject *obj;
17009 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17010 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
17011 Py_INCREF(obj);
17012 return Py_BuildValue((char *)"");
17013}
2f4c0a16 17014static PyObject *_wrap_new_ChildFocusEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17015 PyObject *resultobj;
17016 wxWindow *arg1 = (wxWindow *) NULL ;
17017 wxChildFocusEvent *result;
17018 PyObject * obj0 = 0 ;
17019 char *kwnames[] = {
17020 (char *) "win", NULL
17021 };
17022
17023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
17024 if (obj0) {
2f4c0a16
RD
17025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17027 }
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
17031
17032 wxPyEndAllowThreads(__tstate);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
2f4c0a16 17035 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
17036 return resultobj;
17037 fail:
17038 return NULL;
17039}
17040
17041
2f4c0a16 17042static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17043 PyObject *resultobj;
17044 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
17045 wxWindow *result;
17046 PyObject * obj0 = 0 ;
17047 char *kwnames[] = {
17048 (char *) "self", NULL
17049 };
17050
17051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
17053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17054 {
17055 PyThreadState* __tstate = wxPyBeginAllowThreads();
17056 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
17057
17058 wxPyEndAllowThreads(__tstate);
17059 if (PyErr_Occurred()) SWIG_fail;
17060 }
17061 {
17062 resultobj = wxPyMake_wxObject(result);
17063 }
17064 return resultobj;
17065 fail:
17066 return NULL;
17067}
17068
17069
2f4c0a16 17070static PyObject * ChildFocusEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17071 PyObject *obj;
17072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17073 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
17074 Py_INCREF(obj);
17075 return Py_BuildValue((char *)"");
17076}
2f4c0a16 17077static PyObject *_wrap_new_ActivateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17078 PyObject *resultobj;
17079 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 17080 bool arg2 = (bool) True ;
d14a1e28
RD
17081 int arg3 = (int) 0 ;
17082 wxActivateEvent *result;
8edf1c75 17083 PyObject * obj0 = 0 ;
d14a1e28 17084 PyObject * obj1 = 0 ;
8edf1c75 17085 PyObject * obj2 = 0 ;
d14a1e28
RD
17086 char *kwnames[] = {
17087 (char *) "type",(char *) "active",(char *) "Id", NULL
17088 };
17089
8edf1c75
RD
17090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17091 if (obj0) {
2f4c0a16
RD
17092 arg1 = (wxEventType) SWIG_AsInt(obj0);
17093 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17094 }
d14a1e28 17095 if (obj1) {
2f4c0a16
RD
17096 arg2 = (bool) SWIG_AsBool(obj1);
17097 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17098 }
17099 if (obj2) {
2f4c0a16
RD
17100 arg3 = (int) SWIG_AsInt(obj2);
17101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17102 }
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
2f4c0a16 17110 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
17111 return resultobj;
17112 fail:
17113 return NULL;
17114}
17115
17116
2f4c0a16 17117static PyObject *_wrap_ActivateEvent_GetActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17118 PyObject *resultobj;
17119 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
17120 bool result;
17121 PyObject * obj0 = 0 ;
17122 char *kwnames[] = {
17123 (char *) "self", NULL
17124 };
17125
17126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17127 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
17128 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17129 {
17130 PyThreadState* __tstate = wxPyBeginAllowThreads();
17131 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
17132
17133 wxPyEndAllowThreads(__tstate);
17134 if (PyErr_Occurred()) SWIG_fail;
17135 }
fbc46b20
RD
17136 {
17137 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17138 }
d14a1e28
RD
17139 return resultobj;
17140 fail:
17141 return NULL;
17142}
17143
17144
2f4c0a16 17145static PyObject * ActivateEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17146 PyObject *obj;
17147 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17148 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
17149 Py_INCREF(obj);
17150 return Py_BuildValue((char *)"");
17151}
2f4c0a16 17152static PyObject *_wrap_new_InitDialogEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17153 PyObject *resultobj;
17154 int arg1 = (int) 0 ;
17155 wxInitDialogEvent *result;
8edf1c75 17156 PyObject * obj0 = 0 ;
d14a1e28
RD
17157 char *kwnames[] = {
17158 (char *) "Id", NULL
17159 };
17160
8edf1c75
RD
17161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
17162 if (obj0) {
2f4c0a16
RD
17163 arg1 = (int) SWIG_AsInt(obj0);
17164 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17165 }
d14a1e28
RD
17166 {
17167 PyThreadState* __tstate = wxPyBeginAllowThreads();
17168 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
17169
17170 wxPyEndAllowThreads(__tstate);
17171 if (PyErr_Occurred()) SWIG_fail;
17172 }
2f4c0a16 17173 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
17174 return resultobj;
17175 fail:
17176 return NULL;
17177}
17178
17179
2f4c0a16 17180static PyObject * InitDialogEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17181 PyObject *obj;
17182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17183 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
17184 Py_INCREF(obj);
17185 return Py_BuildValue((char *)"");
17186}
2f4c0a16 17187static PyObject *_wrap_new_MenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17188 PyObject *resultobj;
17189 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17190 int arg2 = (int) 0 ;
17191 wxMenu *arg3 = (wxMenu *) NULL ;
17192 wxMenuEvent *result;
8edf1c75
RD
17193 PyObject * obj0 = 0 ;
17194 PyObject * obj1 = 0 ;
d14a1e28
RD
17195 PyObject * obj2 = 0 ;
17196 char *kwnames[] = {
17197 (char *) "type",(char *) "winid",(char *) "menu", NULL
17198 };
17199
8edf1c75
RD
17200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
17201 if (obj0) {
2f4c0a16
RD
17202 arg1 = (wxEventType) SWIG_AsInt(obj0);
17203 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17204 }
17205 if (obj1) {
2f4c0a16
RD
17206 arg2 = (int) SWIG_AsInt(obj1);
17207 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17208 }
d14a1e28 17209 if (obj2) {
2f4c0a16
RD
17210 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
17211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17212 }
17213 {
17214 PyThreadState* __tstate = wxPyBeginAllowThreads();
17215 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
17216
17217 wxPyEndAllowThreads(__tstate);
17218 if (PyErr_Occurred()) SWIG_fail;
17219 }
2f4c0a16 17220 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
17221 return resultobj;
17222 fail:
17223 return NULL;
17224}
17225
17226
2f4c0a16 17227static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17228 PyObject *resultobj;
17229 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17230 int result;
17231 PyObject * obj0 = 0 ;
17232 char *kwnames[] = {
17233 (char *) "self", NULL
17234 };
17235
17236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17239 {
17240 PyThreadState* __tstate = wxPyBeginAllowThreads();
17241 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
17242
17243 wxPyEndAllowThreads(__tstate);
17244 if (PyErr_Occurred()) SWIG_fail;
17245 }
2f4c0a16 17246 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17247 return resultobj;
17248 fail:
17249 return NULL;
17250}
17251
17252
2f4c0a16 17253static PyObject *_wrap_MenuEvent_IsPopup(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17254 PyObject *resultobj;
17255 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17256 bool result;
17257 PyObject * obj0 = 0 ;
17258 char *kwnames[] = {
17259 (char *) "self", NULL
17260 };
17261
17262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
17268
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
fbc46b20
RD
17272 {
17273 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17274 }
d14a1e28
RD
17275 return resultobj;
17276 fail:
17277 return NULL;
17278}
17279
17280
2f4c0a16 17281static PyObject *_wrap_MenuEvent_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17282 PyObject *resultobj;
17283 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
17284 wxMenu *result;
17285 PyObject * obj0 = 0 ;
17286 char *kwnames[] = {
17287 (char *) "self", NULL
17288 };
17289
17290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
17292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17293 {
17294 PyThreadState* __tstate = wxPyBeginAllowThreads();
17295 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
17296
17297 wxPyEndAllowThreads(__tstate);
17298 if (PyErr_Occurred()) SWIG_fail;
17299 }
17300 {
17301 resultobj = wxPyMake_wxObject(result);
17302 }
17303 return resultobj;
17304 fail:
17305 return NULL;
17306}
17307
17308
2f4c0a16 17309static PyObject * MenuEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17310 PyObject *obj;
17311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17312 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
17313 Py_INCREF(obj);
17314 return Py_BuildValue((char *)"");
17315}
2f4c0a16 17316static PyObject *_wrap_new_CloseEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17317 PyObject *resultobj;
17318 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
17319 int arg2 = (int) 0 ;
17320 wxCloseEvent *result;
8edf1c75
RD
17321 PyObject * obj0 = 0 ;
17322 PyObject * obj1 = 0 ;
d14a1e28
RD
17323 char *kwnames[] = {
17324 (char *) "type",(char *) "winid", NULL
17325 };
17326
8edf1c75
RD
17327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
17328 if (obj0) {
2f4c0a16
RD
17329 arg1 = (wxEventType) SWIG_AsInt(obj0);
17330 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
17331 }
17332 if (obj1) {
2f4c0a16
RD
17333 arg2 = (int) SWIG_AsInt(obj1);
17334 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17335 }
d14a1e28
RD
17336 {
17337 PyThreadState* __tstate = wxPyBeginAllowThreads();
17338 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
17339
17340 wxPyEndAllowThreads(__tstate);
17341 if (PyErr_Occurred()) SWIG_fail;
17342 }
2f4c0a16 17343 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
17344 return resultobj;
17345 fail:
17346 return NULL;
17347}
17348
17349
2f4c0a16 17350static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17351 PyObject *resultobj;
17352 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17353 bool arg2 ;
17354 PyObject * obj0 = 0 ;
17355 PyObject * obj1 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self",(char *) "logOff", NULL
17358 };
17359
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17363 arg2 = (bool) SWIG_AsBool(obj1);
17364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17365 {
17366 PyThreadState* __tstate = wxPyBeginAllowThreads();
17367 (arg1)->SetLoggingOff(arg2);
17368
17369 wxPyEndAllowThreads(__tstate);
17370 if (PyErr_Occurred()) SWIG_fail;
17371 }
17372 Py_INCREF(Py_None); resultobj = Py_None;
17373 return resultobj;
17374 fail:
17375 return NULL;
17376}
17377
17378
2f4c0a16 17379static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17380 PyObject *resultobj;
17381 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17382 bool result;
17383 PyObject * obj0 = 0 ;
17384 char *kwnames[] = {
17385 (char *) "self", NULL
17386 };
17387
17388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17391 {
17392 PyThreadState* __tstate = wxPyBeginAllowThreads();
17393 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17394
17395 wxPyEndAllowThreads(__tstate);
17396 if (PyErr_Occurred()) SWIG_fail;
17397 }
fbc46b20
RD
17398 {
17399 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17400 }
d14a1e28
RD
17401 return resultobj;
17402 fail:
17403 return NULL;
17404}
17405
17406
2f4c0a16 17407static PyObject *_wrap_CloseEvent_Veto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17408 PyObject *resultobj;
17409 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
423f194a 17410 bool arg2 = (bool) True ;
d14a1e28
RD
17411 PyObject * obj0 = 0 ;
17412 PyObject * obj1 = 0 ;
17413 char *kwnames[] = {
17414 (char *) "self",(char *) "veto", NULL
17415 };
17416
17417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 17420 if (obj1) {
2f4c0a16
RD
17421 arg2 = (bool) SWIG_AsBool(obj1);
17422 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17423 }
17424 {
17425 PyThreadState* __tstate = wxPyBeginAllowThreads();
17426 (arg1)->Veto(arg2);
17427
17428 wxPyEndAllowThreads(__tstate);
17429 if (PyErr_Occurred()) SWIG_fail;
17430 }
17431 Py_INCREF(Py_None); resultobj = Py_None;
17432 return resultobj;
17433 fail:
17434 return NULL;
17435}
17436
17437
2f4c0a16 17438static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17439 PyObject *resultobj;
17440 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17441 bool arg2 ;
17442 PyObject * obj0 = 0 ;
17443 PyObject * obj1 = 0 ;
17444 char *kwnames[] = {
17445 (char *) "self",(char *) "canVeto", NULL
17446 };
17447
17448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17451 arg2 = (bool) SWIG_AsBool(obj1);
17452 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17453 {
17454 PyThreadState* __tstate = wxPyBeginAllowThreads();
17455 (arg1)->SetCanVeto(arg2);
17456
17457 wxPyEndAllowThreads(__tstate);
17458 if (PyErr_Occurred()) SWIG_fail;
17459 }
17460 Py_INCREF(Py_None); resultobj = Py_None;
17461 return resultobj;
17462 fail:
17463 return NULL;
17464}
17465
17466
2f4c0a16 17467static PyObject *_wrap_CloseEvent_CanVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17468 PyObject *resultobj;
17469 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17470 bool result;
17471 PyObject * obj0 = 0 ;
17472 char *kwnames[] = {
17473 (char *) "self", NULL
17474 };
17475
17476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17479 {
17480 PyThreadState* __tstate = wxPyBeginAllowThreads();
17481 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17482
17483 wxPyEndAllowThreads(__tstate);
17484 if (PyErr_Occurred()) SWIG_fail;
17485 }
fbc46b20
RD
17486 {
17487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17488 }
d14a1e28
RD
17489 return resultobj;
17490 fail:
17491 return NULL;
17492}
17493
17494
2f4c0a16 17495static PyObject *_wrap_CloseEvent_GetVeto(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17496 PyObject *resultobj;
17497 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17498 bool result;
17499 PyObject * obj0 = 0 ;
17500 char *kwnames[] = {
17501 (char *) "self", NULL
17502 };
17503
17504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17507 {
17508 PyThreadState* __tstate = wxPyBeginAllowThreads();
17509 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17510
17511 wxPyEndAllowThreads(__tstate);
17512 if (PyErr_Occurred()) SWIG_fail;
17513 }
fbc46b20
RD
17514 {
17515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17516 }
d14a1e28
RD
17517 return resultobj;
17518 fail:
17519 return NULL;
17520}
17521
17522
2f4c0a16 17523static PyObject * CloseEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17524 PyObject *obj;
17525 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17526 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17527 Py_INCREF(obj);
17528 return Py_BuildValue((char *)"");
17529}
2f4c0a16 17530static PyObject *_wrap_new_ShowEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17531 PyObject *resultobj;
17532 int arg1 = (int) 0 ;
423f194a 17533 bool arg2 = (bool) False ;
d14a1e28 17534 wxShowEvent *result;
8edf1c75 17535 PyObject * obj0 = 0 ;
d14a1e28
RD
17536 PyObject * obj1 = 0 ;
17537 char *kwnames[] = {
17538 (char *) "winid",(char *) "show", NULL
17539 };
17540
8edf1c75
RD
17541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17542 if (obj0) {
2f4c0a16
RD
17543 arg1 = (int) SWIG_AsInt(obj0);
17544 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17545 }
d14a1e28 17546 if (obj1) {
2f4c0a16
RD
17547 arg2 = (bool) SWIG_AsBool(obj1);
17548 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17549 }
17550 {
17551 PyThreadState* __tstate = wxPyBeginAllowThreads();
17552 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17553
17554 wxPyEndAllowThreads(__tstate);
17555 if (PyErr_Occurred()) SWIG_fail;
17556 }
2f4c0a16 17557 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
17558 return resultobj;
17559 fail:
17560 return NULL;
17561}
17562
17563
2f4c0a16 17564static PyObject *_wrap_ShowEvent_SetShow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17565 PyObject *resultobj;
17566 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17567 bool arg2 ;
17568 PyObject * obj0 = 0 ;
17569 PyObject * obj1 = 0 ;
17570 char *kwnames[] = {
17571 (char *) "self",(char *) "show", NULL
17572 };
17573
17574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17577 arg2 = (bool) SWIG_AsBool(obj1);
17578 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17579 {
17580 PyThreadState* __tstate = wxPyBeginAllowThreads();
17581 (arg1)->SetShow(arg2);
17582
17583 wxPyEndAllowThreads(__tstate);
17584 if (PyErr_Occurred()) SWIG_fail;
17585 }
17586 Py_INCREF(Py_None); resultobj = Py_None;
17587 return resultobj;
17588 fail:
17589 return NULL;
17590}
17591
17592
2f4c0a16 17593static PyObject *_wrap_ShowEvent_GetShow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17594 PyObject *resultobj;
17595 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17596 bool result;
17597 PyObject * obj0 = 0 ;
17598 char *kwnames[] = {
17599 (char *) "self", NULL
17600 };
17601
17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17608
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
fbc46b20
RD
17612 {
17613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17614 }
d14a1e28
RD
17615 return resultobj;
17616 fail:
17617 return NULL;
17618}
17619
17620
2f4c0a16 17621static PyObject * ShowEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17622 PyObject *obj;
17623 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17624 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17625 Py_INCREF(obj);
17626 return Py_BuildValue((char *)"");
17627}
2f4c0a16 17628static PyObject *_wrap_new_IconizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17629 PyObject *resultobj;
17630 int arg1 = (int) 0 ;
423f194a 17631 bool arg2 = (bool) True ;
d14a1e28 17632 wxIconizeEvent *result;
8edf1c75 17633 PyObject * obj0 = 0 ;
d14a1e28
RD
17634 PyObject * obj1 = 0 ;
17635 char *kwnames[] = {
17636 (char *) "id",(char *) "iconized", NULL
17637 };
17638
8edf1c75
RD
17639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17640 if (obj0) {
2f4c0a16
RD
17641 arg1 = (int) SWIG_AsInt(obj0);
17642 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17643 }
d14a1e28 17644 if (obj1) {
2f4c0a16
RD
17645 arg2 = (bool) SWIG_AsBool(obj1);
17646 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17647 }
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
2f4c0a16 17655 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
17656 return resultobj;
17657 fail:
17658 return NULL;
17659}
17660
17661
2f4c0a16 17662static PyObject *_wrap_IconizeEvent_Iconized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17663 PyObject *resultobj;
17664 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17665 bool result;
17666 PyObject * obj0 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17672 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17674 {
17675 PyThreadState* __tstate = wxPyBeginAllowThreads();
17676 result = (bool)(arg1)->Iconized();
17677
17678 wxPyEndAllowThreads(__tstate);
17679 if (PyErr_Occurred()) SWIG_fail;
17680 }
fbc46b20
RD
17681 {
17682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17683 }
d14a1e28
RD
17684 return resultobj;
17685 fail:
17686 return NULL;
17687}
17688
17689
2f4c0a16 17690static PyObject * IconizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17691 PyObject *obj;
17692 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17693 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17694 Py_INCREF(obj);
17695 return Py_BuildValue((char *)"");
17696}
2f4c0a16 17697static PyObject *_wrap_new_MaximizeEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17698 PyObject *resultobj;
17699 int arg1 = (int) 0 ;
17700 wxMaximizeEvent *result;
8edf1c75 17701 PyObject * obj0 = 0 ;
d14a1e28
RD
17702 char *kwnames[] = {
17703 (char *) "id", NULL
17704 };
17705
8edf1c75
RD
17706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17707 if (obj0) {
2f4c0a16
RD
17708 arg1 = (int) SWIG_AsInt(obj0);
17709 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17710 }
d14a1e28
RD
17711 {
17712 PyThreadState* __tstate = wxPyBeginAllowThreads();
17713 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17714
17715 wxPyEndAllowThreads(__tstate);
17716 if (PyErr_Occurred()) SWIG_fail;
17717 }
2f4c0a16 17718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
17719 return resultobj;
17720 fail:
17721 return NULL;
17722}
17723
17724
2f4c0a16 17725static PyObject * MaximizeEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17726 PyObject *obj;
17727 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17728 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17729 Py_INCREF(obj);
17730 return Py_BuildValue((char *)"");
17731}
2f4c0a16 17732static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17733 PyObject *resultobj;
17734 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17735 wxPoint result;
17736 PyObject * obj0 = 0 ;
17737 char *kwnames[] = {
17738 (char *) "self", NULL
17739 };
17740
17741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17744 {
17745 PyThreadState* __tstate = wxPyBeginAllowThreads();
17746 result = (arg1)->GetPosition();
17747
17748 wxPyEndAllowThreads(__tstate);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 {
17752 wxPoint * resultptr;
17753 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 17754 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
17755 }
17756 return resultobj;
17757 fail:
17758 return NULL;
17759}
17760
17761
2f4c0a16 17762static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17763 PyObject *resultobj;
17764 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17765 int result;
17766 PyObject * obj0 = 0 ;
17767 char *kwnames[] = {
17768 (char *) "self", NULL
17769 };
17770
17771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17774 {
17775 PyThreadState* __tstate = wxPyBeginAllowThreads();
17776 result = (int)(arg1)->GetNumberOfFiles();
17777
17778 wxPyEndAllowThreads(__tstate);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
2f4c0a16 17781 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17782 return resultobj;
17783 fail:
17784 return NULL;
17785}
17786
17787
2f4c0a16 17788static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17789 PyObject *resultobj;
17790 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17791 PyObject *result;
17792 PyObject * obj0 = 0 ;
17793 char *kwnames[] = {
17794 (char *) "self", NULL
17795 };
17796
17797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17800 {
17801 PyThreadState* __tstate = wxPyBeginAllowThreads();
17802 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17803
17804 wxPyEndAllowThreads(__tstate);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 }
17807 resultobj = result;
17808 return resultobj;
17809 fail:
17810 return NULL;
17811}
17812
17813
2f4c0a16 17814static PyObject * DropFilesEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
17815 PyObject *obj;
17816 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17817 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17818 Py_INCREF(obj);
17819 return Py_BuildValue((char *)"");
17820}
2f4c0a16 17821static PyObject *_wrap_new_UpdateUIEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 17822 PyObject *resultobj;
423f194a 17823 int arg1 = (int) 0 ;
d14a1e28 17824 wxUpdateUIEvent *result;
8edf1c75 17825 PyObject * obj0 = 0 ;
d14a1e28
RD
17826 char *kwnames[] = {
17827 (char *) "commandId", NULL
17828 };
17829
8edf1c75
RD
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17831 if (obj0) {
2f4c0a16
RD
17832 arg1 = (int) SWIG_AsInt(obj0);
17833 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17834 }
d14a1e28
RD
17835 {
17836 PyThreadState* __tstate = wxPyBeginAllowThreads();
17837 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17838
17839 wxPyEndAllowThreads(__tstate);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
2f4c0a16 17842 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
17843 return resultobj;
17844 fail:
17845 return NULL;
17846}
17847
17848
2f4c0a16 17849static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17850 PyObject *resultobj;
17851 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17852 bool result;
17853 PyObject * obj0 = 0 ;
17854 char *kwnames[] = {
17855 (char *) "self", NULL
17856 };
17857
17858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17861 {
17862 PyThreadState* __tstate = wxPyBeginAllowThreads();
17863 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17864
17865 wxPyEndAllowThreads(__tstate);
17866 if (PyErr_Occurred()) SWIG_fail;
17867 }
fbc46b20
RD
17868 {
17869 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17870 }
d14a1e28
RD
17871 return resultobj;
17872 fail:
17873 return NULL;
17874}
17875
17876
2f4c0a16 17877static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17878 PyObject *resultobj;
17879 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17880 bool result;
17881 PyObject * obj0 = 0 ;
17882 char *kwnames[] = {
17883 (char *) "self", NULL
17884 };
17885
17886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17892
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
fbc46b20
RD
17896 {
17897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17898 }
d14a1e28
RD
17899 return resultobj;
17900 fail:
17901 return NULL;
17902}
17903
17904
2f4c0a16 17905static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17906 PyObject *resultobj;
17907 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17908 wxString result;
17909 PyObject * obj0 = 0 ;
17910 char *kwnames[] = {
17911 (char *) "self", NULL
17912 };
17913
17914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17915 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17916 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17917 {
17918 PyThreadState* __tstate = wxPyBeginAllowThreads();
17919 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17920
17921 wxPyEndAllowThreads(__tstate);
17922 if (PyErr_Occurred()) SWIG_fail;
17923 }
17924 {
17925#if wxUSE_UNICODE
17926 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17927#else
17928 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17929#endif
17930 }
17931 return resultobj;
17932 fail:
17933 return NULL;
17934}
17935
17936
2f4c0a16 17937static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17938 PyObject *resultobj;
17939 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17940 bool result;
17941 PyObject * obj0 = 0 ;
17942 char *kwnames[] = {
17943 (char *) "self", NULL
17944 };
17945
17946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17949 {
17950 PyThreadState* __tstate = wxPyBeginAllowThreads();
17951 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17952
17953 wxPyEndAllowThreads(__tstate);
17954 if (PyErr_Occurred()) SWIG_fail;
17955 }
fbc46b20
RD
17956 {
17957 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17958 }
d14a1e28
RD
17959 return resultobj;
17960 fail:
17961 return NULL;
17962}
17963
17964
2f4c0a16 17965static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17966 PyObject *resultobj;
17967 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17968 bool result;
17969 PyObject * obj0 = 0 ;
17970 char *kwnames[] = {
17971 (char *) "self", NULL
17972 };
17973
17974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
17980
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
fbc46b20
RD
17984 {
17985 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17986 }
d14a1e28
RD
17987 return resultobj;
17988 fail:
17989 return NULL;
17990}
17991
17992
2f4c0a16 17993static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
17994 PyObject *resultobj;
17995 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17996 bool result;
17997 PyObject * obj0 = 0 ;
17998 char *kwnames[] = {
17999 (char *) "self", NULL
18000 };
18001
18002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18005 {
18006 PyThreadState* __tstate = wxPyBeginAllowThreads();
18007 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
18008
18009 wxPyEndAllowThreads(__tstate);
18010 if (PyErr_Occurred()) SWIG_fail;
18011 }
fbc46b20
RD
18012 {
18013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18014 }
d14a1e28
RD
18015 return resultobj;
18016 fail:
18017 return NULL;
18018}
18019
18020
2f4c0a16 18021static PyObject *_wrap_UpdateUIEvent_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18022 PyObject *resultobj;
18023 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18024 bool arg2 ;
18025 PyObject * obj0 = 0 ;
18026 PyObject * obj1 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self",(char *) "check", NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18034 arg2 = (bool) SWIG_AsBool(obj1);
18035 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18036 {
18037 PyThreadState* __tstate = wxPyBeginAllowThreads();
18038 (arg1)->Check(arg2);
18039
18040 wxPyEndAllowThreads(__tstate);
18041 if (PyErr_Occurred()) SWIG_fail;
18042 }
18043 Py_INCREF(Py_None); resultobj = Py_None;
18044 return resultobj;
18045 fail:
18046 return NULL;
18047}
18048
18049
2f4c0a16 18050static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18051 PyObject *resultobj;
18052 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18053 bool arg2 ;
18054 PyObject * obj0 = 0 ;
18055 PyObject * obj1 = 0 ;
18056 char *kwnames[] = {
18057 (char *) "self",(char *) "enable", NULL
18058 };
18059
18060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18063 arg2 = (bool) SWIG_AsBool(obj1);
18064 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 (arg1)->Enable(arg2);
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 Py_INCREF(Py_None); resultobj = Py_None;
18073 return resultobj;
18074 fail:
18075 return NULL;
18076}
18077
18078
2f4c0a16 18079static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18080 PyObject *resultobj;
18081 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
18082 wxString *arg2 = 0 ;
423f194a 18083 bool temp2 = False ;
d14a1e28
RD
18084 PyObject * obj0 = 0 ;
18085 PyObject * obj1 = 0 ;
18086 char *kwnames[] = {
18087 (char *) "self",(char *) "text", NULL
18088 };
18089
18090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
18092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18093 {
18094 arg2 = wxString_in_helper(obj1);
18095 if (arg2 == NULL) SWIG_fail;
423f194a 18096 temp2 = True;
d14a1e28
RD
18097 }
18098 {
18099 PyThreadState* __tstate = wxPyBeginAllowThreads();
18100 (arg1)->SetText((wxString const &)*arg2);
18101
18102 wxPyEndAllowThreads(__tstate);
18103 if (PyErr_Occurred()) SWIG_fail;
18104 }
18105 Py_INCREF(Py_None); resultobj = Py_None;
18106 {
18107 if (temp2)
18108 delete arg2;
18109 }
18110 return resultobj;
18111 fail:
18112 {
18113 if (temp2)
18114 delete arg2;
18115 }
18116 return NULL;
18117}
18118
18119
2f4c0a16 18120static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18121 PyObject *resultobj;
18122 long arg1 ;
8edf1c75 18123 PyObject * obj0 = 0 ;
d14a1e28
RD
18124 char *kwnames[] = {
18125 (char *) "updateInterval", NULL
18126 };
18127
8edf1c75 18128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18129 arg1 = (long) SWIG_AsLong(obj0);
18130 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18131 {
18132 PyThreadState* __tstate = wxPyBeginAllowThreads();
18133 wxUpdateUIEvent::SetUpdateInterval(arg1);
18134
18135 wxPyEndAllowThreads(__tstate);
18136 if (PyErr_Occurred()) SWIG_fail;
18137 }
18138 Py_INCREF(Py_None); resultobj = Py_None;
18139 return resultobj;
18140 fail:
18141 return NULL;
18142}
18143
18144
2f4c0a16 18145static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18146 PyObject *resultobj;
18147 long result;
18148 char *kwnames[] = {
18149 NULL
18150 };
18151
18152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
18153 {
18154 PyThreadState* __tstate = wxPyBeginAllowThreads();
18155 result = (long)wxUpdateUIEvent::GetUpdateInterval();
18156
18157 wxPyEndAllowThreads(__tstate);
18158 if (PyErr_Occurred()) SWIG_fail;
18159 }
2f4c0a16 18160 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
18161 return resultobj;
18162 fail:
18163 return NULL;
18164}
18165
18166
2f4c0a16 18167static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18168 PyObject *resultobj;
18169 wxWindow *arg1 = (wxWindow *) 0 ;
18170 bool result;
18171 PyObject * obj0 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "win", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18179 {
18180 PyThreadState* __tstate = wxPyBeginAllowThreads();
18181 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
18182
18183 wxPyEndAllowThreads(__tstate);
18184 if (PyErr_Occurred()) SWIG_fail;
18185 }
fbc46b20
RD
18186 {
18187 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18188 }
d14a1e28
RD
18189 return resultobj;
18190 fail:
18191 return NULL;
18192}
18193
18194
2f4c0a16 18195static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18196 PyObject *resultobj;
18197 char *kwnames[] = {
18198 NULL
18199 };
18200
18201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
18202 {
18203 PyThreadState* __tstate = wxPyBeginAllowThreads();
18204 wxUpdateUIEvent::ResetUpdateTime();
18205
18206 wxPyEndAllowThreads(__tstate);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 }
18209 Py_INCREF(Py_None); resultobj = Py_None;
18210 return resultobj;
18211 fail:
18212 return NULL;
18213}
18214
18215
2f4c0a16 18216static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18217 PyObject *resultobj;
18218 int arg1 ;
8edf1c75 18219 PyObject * obj0 = 0 ;
d14a1e28
RD
18220 char *kwnames[] = {
18221 (char *) "mode", NULL
18222 };
18223
8edf1c75 18224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18225 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
18226 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
18230
18231 wxPyEndAllowThreads(__tstate);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 }
18234 Py_INCREF(Py_None); resultobj = Py_None;
18235 return resultobj;
18236 fail:
18237 return NULL;
18238}
18239
18240
2f4c0a16 18241static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18242 PyObject *resultobj;
18243 int result;
18244 char *kwnames[] = {
18245 NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
18249 {
18250 PyThreadState* __tstate = wxPyBeginAllowThreads();
18251 result = (int)wxUpdateUIEvent::GetMode();
18252
18253 wxPyEndAllowThreads(__tstate);
18254 if (PyErr_Occurred()) SWIG_fail;
18255 }
2f4c0a16 18256 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18257 return resultobj;
18258 fail:
18259 return NULL;
18260}
18261
18262
2f4c0a16 18263static PyObject * UpdateUIEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18264 PyObject *obj;
18265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18266 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
18267 Py_INCREF(obj);
18268 return Py_BuildValue((char *)"");
18269}
2f4c0a16 18270static PyObject *_wrap_new_SysColourChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18271 PyObject *resultobj;
18272 wxSysColourChangedEvent *result;
18273 char *kwnames[] = {
18274 NULL
18275 };
18276
18277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
18278 {
18279 PyThreadState* __tstate = wxPyBeginAllowThreads();
18280 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
18281
18282 wxPyEndAllowThreads(__tstate);
18283 if (PyErr_Occurred()) SWIG_fail;
18284 }
2f4c0a16 18285 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
18286 return resultobj;
18287 fail:
18288 return NULL;
18289}
18290
18291
2f4c0a16 18292static PyObject * SysColourChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18293 PyObject *obj;
18294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18295 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
18296 Py_INCREF(obj);
18297 return Py_BuildValue((char *)"");
18298}
2f4c0a16 18299static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18300 PyObject *resultobj;
423f194a 18301 int arg1 = (int) 0 ;
d14a1e28
RD
18302 wxWindow *arg2 = (wxWindow *) NULL ;
18303 wxMouseCaptureChangedEvent *result;
8edf1c75 18304 PyObject * obj0 = 0 ;
d14a1e28
RD
18305 PyObject * obj1 = 0 ;
18306 char *kwnames[] = {
18307 (char *) "winid",(char *) "gainedCapture", NULL
18308 };
18309
8edf1c75
RD
18310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
18311 if (obj0) {
2f4c0a16
RD
18312 arg1 = (int) SWIG_AsInt(obj0);
18313 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18314 }
d14a1e28 18315 if (obj1) {
2f4c0a16
RD
18316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18318 }
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
18322
18323 wxPyEndAllowThreads(__tstate);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
2f4c0a16 18326 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
18327 return resultobj;
18328 fail:
18329 return NULL;
18330}
18331
18332
2f4c0a16 18333static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18334 PyObject *resultobj;
18335 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
18336 wxWindow *result;
18337 PyObject * obj0 = 0 ;
18338 char *kwnames[] = {
18339 (char *) "self", NULL
18340 };
18341
18342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18343 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
18344 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
18347 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
18348
18349 wxPyEndAllowThreads(__tstate);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 {
18353 resultobj = wxPyMake_wxObject(result);
18354 }
18355 return resultobj;
18356 fail:
18357 return NULL;
18358}
18359
18360
2f4c0a16 18361static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18362 PyObject *obj;
18363 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18364 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
18365 Py_INCREF(obj);
18366 return Py_BuildValue((char *)"");
18367}
2f4c0a16 18368static PyObject *_wrap_new_DisplayChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18369 PyObject *resultobj;
18370 wxDisplayChangedEvent *result;
18371 char *kwnames[] = {
18372 NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
18376 {
18377 PyThreadState* __tstate = wxPyBeginAllowThreads();
18378 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
18379
18380 wxPyEndAllowThreads(__tstate);
18381 if (PyErr_Occurred()) SWIG_fail;
18382 }
2f4c0a16 18383 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
18384 return resultobj;
18385 fail:
18386 return NULL;
18387}
18388
18389
2f4c0a16 18390static PyObject * DisplayChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18391 PyObject *obj;
18392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18393 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
18394 Py_INCREF(obj);
18395 return Py_BuildValue((char *)"");
18396}
2f4c0a16 18397static PyObject *_wrap_new_PaletteChangedEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18398 PyObject *resultobj;
423f194a 18399 int arg1 = (int) 0 ;
d14a1e28 18400 wxPaletteChangedEvent *result;
8edf1c75 18401 PyObject * obj0 = 0 ;
d14a1e28
RD
18402 char *kwnames[] = {
18403 (char *) "id", NULL
18404 };
18405
8edf1c75
RD
18406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18407 if (obj0) {
2f4c0a16
RD
18408 arg1 = (int) SWIG_AsInt(obj0);
18409 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18410 }
d14a1e28
RD
18411 {
18412 PyThreadState* __tstate = wxPyBeginAllowThreads();
18413 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18414
18415 wxPyEndAllowThreads(__tstate);
18416 if (PyErr_Occurred()) SWIG_fail;
18417 }
2f4c0a16 18418 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
18419 return resultobj;
18420 fail:
18421 return NULL;
18422}
18423
18424
2f4c0a16 18425static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18426 PyObject *resultobj;
18427 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18428 wxWindow *arg2 = (wxWindow *) 0 ;
18429 PyObject * obj0 = 0 ;
18430 PyObject * obj1 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self",(char *) "win", NULL
18433 };
18434
18435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18438 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18440 {
18441 PyThreadState* __tstate = wxPyBeginAllowThreads();
18442 (arg1)->SetChangedWindow(arg2);
18443
18444 wxPyEndAllowThreads(__tstate);
18445 if (PyErr_Occurred()) SWIG_fail;
18446 }
18447 Py_INCREF(Py_None); resultobj = Py_None;
18448 return resultobj;
18449 fail:
18450 return NULL;
18451}
18452
18453
2f4c0a16 18454static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18455 PyObject *resultobj;
18456 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18457 wxWindow *result;
18458 PyObject * obj0 = 0 ;
18459 char *kwnames[] = {
18460 (char *) "self", NULL
18461 };
18462
18463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18466 {
18467 PyThreadState* __tstate = wxPyBeginAllowThreads();
18468 result = (wxWindow *)(arg1)->GetChangedWindow();
18469
18470 wxPyEndAllowThreads(__tstate);
18471 if (PyErr_Occurred()) SWIG_fail;
18472 }
18473 {
18474 resultobj = wxPyMake_wxObject(result);
18475 }
18476 return resultobj;
18477 fail:
18478 return NULL;
18479}
18480
18481
2f4c0a16 18482static PyObject * PaletteChangedEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18483 PyObject *obj;
18484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18485 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18486 Py_INCREF(obj);
18487 return Py_BuildValue((char *)"");
18488}
2f4c0a16 18489static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 18490 PyObject *resultobj;
423f194a 18491 int arg1 = (int) 0 ;
d14a1e28 18492 wxQueryNewPaletteEvent *result;
8edf1c75 18493 PyObject * obj0 = 0 ;
d14a1e28
RD
18494 char *kwnames[] = {
18495 (char *) "winid", NULL
18496 };
18497
8edf1c75
RD
18498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18499 if (obj0) {
2f4c0a16
RD
18500 arg1 = (int) SWIG_AsInt(obj0);
18501 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18502 }
d14a1e28
RD
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18506
18507 wxPyEndAllowThreads(__tstate);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
2f4c0a16 18510 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
18511 return resultobj;
18512 fail:
18513 return NULL;
18514}
18515
18516
2f4c0a16 18517static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18518 PyObject *resultobj;
18519 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18520 bool arg2 ;
18521 PyObject * obj0 = 0 ;
18522 PyObject * obj1 = 0 ;
18523 char *kwnames[] = {
18524 (char *) "self",(char *) "realized", NULL
18525 };
18526
18527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18530 arg2 = (bool) SWIG_AsBool(obj1);
18531 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18532 {
18533 PyThreadState* __tstate = wxPyBeginAllowThreads();
18534 (arg1)->SetPaletteRealized(arg2);
18535
18536 wxPyEndAllowThreads(__tstate);
18537 if (PyErr_Occurred()) SWIG_fail;
18538 }
18539 Py_INCREF(Py_None); resultobj = Py_None;
18540 return resultobj;
18541 fail:
18542 return NULL;
18543}
18544
18545
2f4c0a16 18546static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18547 PyObject *resultobj;
18548 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18549 bool result;
18550 PyObject * obj0 = 0 ;
18551 char *kwnames[] = {
18552 (char *) "self", NULL
18553 };
18554
18555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18558 {
18559 PyThreadState* __tstate = wxPyBeginAllowThreads();
18560 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18561
18562 wxPyEndAllowThreads(__tstate);
18563 if (PyErr_Occurred()) SWIG_fail;
18564 }
fbc46b20
RD
18565 {
18566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18567 }
d14a1e28
RD
18568 return resultobj;
18569 fail:
18570 return NULL;
18571}
18572
18573
2f4c0a16 18574static PyObject * QueryNewPaletteEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18575 PyObject *obj;
18576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18577 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18578 Py_INCREF(obj);
18579 return Py_BuildValue((char *)"");
18580}
2f4c0a16 18581static PyObject *_wrap_new_NavigationKeyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18582 PyObject *resultobj;
18583 wxNavigationKeyEvent *result;
18584 char *kwnames[] = {
18585 NULL
18586 };
18587
18588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18592
18593 wxPyEndAllowThreads(__tstate);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 }
2f4c0a16 18596 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
18597 return resultobj;
18598 fail:
18599 return NULL;
18600}
18601
18602
2f4c0a16 18603static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18604 PyObject *resultobj;
18605 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18606 bool result;
18607 PyObject * obj0 = 0 ;
18608 char *kwnames[] = {
18609 (char *) "self", NULL
18610 };
18611
18612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18615 {
18616 PyThreadState* __tstate = wxPyBeginAllowThreads();
18617 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18618
18619 wxPyEndAllowThreads(__tstate);
18620 if (PyErr_Occurred()) SWIG_fail;
18621 }
fbc46b20
RD
18622 {
18623 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18624 }
d14a1e28
RD
18625 return resultobj;
18626 fail:
18627 return NULL;
18628}
18629
18630
2f4c0a16 18631static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18632 PyObject *resultobj;
18633 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18634 bool arg2 ;
18635 PyObject * obj0 = 0 ;
18636 PyObject * obj1 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self",(char *) "bForward", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18642 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18643 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18644 arg2 = (bool) SWIG_AsBool(obj1);
18645 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18646 {
18647 PyThreadState* __tstate = wxPyBeginAllowThreads();
18648 (arg1)->SetDirection(arg2);
18649
18650 wxPyEndAllowThreads(__tstate);
18651 if (PyErr_Occurred()) SWIG_fail;
18652 }
18653 Py_INCREF(Py_None); resultobj = Py_None;
18654 return resultobj;
18655 fail:
18656 return NULL;
18657}
18658
18659
2f4c0a16 18660static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18661 PyObject *resultobj;
18662 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18663 bool result;
18664 PyObject * obj0 = 0 ;
18665 char *kwnames[] = {
18666 (char *) "self", NULL
18667 };
18668
18669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18675
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
fbc46b20
RD
18679 {
18680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18681 }
d14a1e28
RD
18682 return resultobj;
18683 fail:
18684 return NULL;
18685}
18686
18687
2f4c0a16 18688static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18689 PyObject *resultobj;
18690 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18691 bool arg2 ;
18692 PyObject * obj0 = 0 ;
18693 PyObject * obj1 = 0 ;
18694 char *kwnames[] = {
18695 (char *) "self",(char *) "bIs", NULL
18696 };
18697
18698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18701 arg2 = (bool) SWIG_AsBool(obj1);
18702 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18703 {
18704 PyThreadState* __tstate = wxPyBeginAllowThreads();
18705 (arg1)->SetWindowChange(arg2);
18706
18707 wxPyEndAllowThreads(__tstate);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
18710 Py_INCREF(Py_None); resultobj = Py_None;
18711 return resultobj;
18712 fail:
18713 return NULL;
18714}
18715
18716
2f4c0a16 18717static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18718 PyObject *resultobj;
18719 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18720 wxWindow *result;
18721 PyObject * obj0 = 0 ;
18722 char *kwnames[] = {
18723 (char *) "self", NULL
18724 };
18725
18726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18729 {
18730 PyThreadState* __tstate = wxPyBeginAllowThreads();
18731 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18732
18733 wxPyEndAllowThreads(__tstate);
18734 if (PyErr_Occurred()) SWIG_fail;
18735 }
18736 {
18737 resultobj = wxPyMake_wxObject(result);
18738 }
18739 return resultobj;
18740 fail:
18741 return NULL;
18742}
18743
18744
2f4c0a16 18745static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18746 PyObject *resultobj;
18747 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18748 wxWindow *arg2 = (wxWindow *) 0 ;
18749 PyObject * obj0 = 0 ;
18750 PyObject * obj1 = 0 ;
18751 char *kwnames[] = {
18752 (char *) "self",(char *) "win", NULL
18753 };
18754
18755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18758 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 (arg1)->SetCurrentFocus(arg2);
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 Py_INCREF(Py_None); resultobj = Py_None;
18768 return resultobj;
18769 fail:
18770 return NULL;
18771}
18772
18773
2f4c0a16 18774static PyObject * NavigationKeyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18775 PyObject *obj;
18776 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18777 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18778 Py_INCREF(obj);
18779 return Py_BuildValue((char *)"");
18780}
2f4c0a16 18781static PyObject *_wrap_new_WindowCreateEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18782 PyObject *resultobj;
18783 wxWindow *arg1 = (wxWindow *) NULL ;
18784 wxWindowCreateEvent *result;
18785 PyObject * obj0 = 0 ;
18786 char *kwnames[] = {
18787 (char *) "win", NULL
18788 };
18789
18790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18791 if (obj0) {
2f4c0a16
RD
18792 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18793 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18794 }
18795 {
18796 PyThreadState* __tstate = wxPyBeginAllowThreads();
18797 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18798
18799 wxPyEndAllowThreads(__tstate);
18800 if (PyErr_Occurred()) SWIG_fail;
18801 }
2f4c0a16 18802 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
18803 return resultobj;
18804 fail:
18805 return NULL;
18806}
18807
18808
2f4c0a16 18809static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18810 PyObject *resultobj;
18811 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18812 wxWindow *result;
18813 PyObject * obj0 = 0 ;
18814 char *kwnames[] = {
18815 (char *) "self", NULL
18816 };
18817
18818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18821 {
18822 PyThreadState* __tstate = wxPyBeginAllowThreads();
18823 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18824
18825 wxPyEndAllowThreads(__tstate);
18826 if (PyErr_Occurred()) SWIG_fail;
18827 }
18828 {
18829 resultobj = wxPyMake_wxObject(result);
18830 }
18831 return resultobj;
18832 fail:
18833 return NULL;
18834}
18835
18836
2f4c0a16 18837static PyObject * WindowCreateEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18838 PyObject *obj;
18839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18840 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18841 Py_INCREF(obj);
18842 return Py_BuildValue((char *)"");
18843}
2f4c0a16 18844static PyObject *_wrap_new_WindowDestroyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18845 PyObject *resultobj;
18846 wxWindow *arg1 = (wxWindow *) NULL ;
18847 wxWindowDestroyEvent *result;
18848 PyObject * obj0 = 0 ;
18849 char *kwnames[] = {
18850 (char *) "win", NULL
18851 };
18852
18853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18854 if (obj0) {
2f4c0a16
RD
18855 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18856 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18857 }
18858 {
18859 PyThreadState* __tstate = wxPyBeginAllowThreads();
18860 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18861
18862 wxPyEndAllowThreads(__tstate);
18863 if (PyErr_Occurred()) SWIG_fail;
18864 }
2f4c0a16 18865 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
18866 return resultobj;
18867 fail:
18868 return NULL;
18869}
18870
18871
2f4c0a16 18872static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18873 PyObject *resultobj;
18874 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18875 wxWindow *result;
18876 PyObject * obj0 = 0 ;
18877 char *kwnames[] = {
18878 (char *) "self", NULL
18879 };
18880
18881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18884 {
18885 PyThreadState* __tstate = wxPyBeginAllowThreads();
18886 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18887
18888 wxPyEndAllowThreads(__tstate);
18889 if (PyErr_Occurred()) SWIG_fail;
18890 }
18891 {
18892 resultobj = wxPyMake_wxObject(result);
18893 }
18894 return resultobj;
18895 fail:
18896 return NULL;
18897}
18898
18899
2f4c0a16 18900static PyObject * WindowDestroyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
18901 PyObject *obj;
18902 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18903 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18904 Py_INCREF(obj);
18905 return Py_BuildValue((char *)"");
18906}
2f4c0a16 18907static PyObject *_wrap_new_ContextMenuEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18908 PyObject *resultobj;
18909 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 18910 int arg2 = (int) 0 ;
d14a1e28
RD
18911 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18912 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18913 wxContextMenuEvent *result;
18914 wxPoint temp3 ;
8edf1c75
RD
18915 PyObject * obj0 = 0 ;
18916 PyObject * obj1 = 0 ;
d14a1e28
RD
18917 PyObject * obj2 = 0 ;
18918 char *kwnames[] = {
18919 (char *) "type",(char *) "winid",(char *) "pt", NULL
18920 };
18921
8edf1c75
RD
18922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18923 if (obj0) {
2f4c0a16
RD
18924 arg1 = (wxEventType) SWIG_AsInt(obj0);
18925 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18926 }
18927 if (obj1) {
2f4c0a16
RD
18928 arg2 = (int) SWIG_AsInt(obj1);
18929 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18930 }
d14a1e28
RD
18931 if (obj2) {
18932 {
18933 arg3 = &temp3;
18934 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18935 }
18936 }
18937 {
18938 PyThreadState* __tstate = wxPyBeginAllowThreads();
18939 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18940
18941 wxPyEndAllowThreads(__tstate);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
2f4c0a16 18944 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
18945 return resultobj;
18946 fail:
18947 return NULL;
18948}
18949
18950
2f4c0a16 18951static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18952 PyObject *resultobj;
18953 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18954 wxPoint *result;
18955 PyObject * obj0 = 0 ;
18956 char *kwnames[] = {
18957 (char *) "self", NULL
18958 };
18959
18960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18963 {
18964 PyThreadState* __tstate = wxPyBeginAllowThreads();
18965 {
18966 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
18967 result = (wxPoint *) &_result_ref;
18968 }
18969
18970 wxPyEndAllowThreads(__tstate);
18971 if (PyErr_Occurred()) SWIG_fail;
18972 }
2f4c0a16 18973 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
18974 return resultobj;
18975 fail:
18976 return NULL;
18977}
18978
18979
2f4c0a16 18980static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18981 PyObject *resultobj;
18982 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18983 wxPoint *arg2 = 0 ;
18984 wxPoint temp2 ;
18985 PyObject * obj0 = 0 ;
18986 PyObject * obj1 = 0 ;
18987 char *kwnames[] = {
18988 (char *) "self",(char *) "pos", NULL
18989 };
18990
18991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18994 {
18995 arg2 = &temp2;
18996 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18997 }
18998 {
18999 PyThreadState* __tstate = wxPyBeginAllowThreads();
19000 (arg1)->SetPosition((wxPoint const &)*arg2);
19001
19002 wxPyEndAllowThreads(__tstate);
19003 if (PyErr_Occurred()) SWIG_fail;
19004 }
19005 Py_INCREF(Py_None); resultobj = Py_None;
19006 return resultobj;
19007 fail:
19008 return NULL;
19009}
19010
19011
2f4c0a16 19012static PyObject * ContextMenuEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19013 PyObject *obj;
19014 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19015 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
19016 Py_INCREF(obj);
19017 return Py_BuildValue((char *)"");
19018}
2f4c0a16 19019static PyObject *_wrap_new_IdleEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19020 PyObject *resultobj;
19021 wxIdleEvent *result;
19022 char *kwnames[] = {
19023 NULL
19024 };
19025
19026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
19027 {
19028 PyThreadState* __tstate = wxPyBeginAllowThreads();
19029 result = (wxIdleEvent *)new wxIdleEvent();
19030
19031 wxPyEndAllowThreads(__tstate);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
2f4c0a16 19034 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
19035 return resultobj;
19036 fail:
19037 return NULL;
19038}
19039
19040
2f4c0a16 19041static PyObject *_wrap_IdleEvent_RequestMore(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19042 PyObject *resultobj;
19043 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
423f194a 19044 bool arg2 = (bool) True ;
d14a1e28
RD
19045 PyObject * obj0 = 0 ;
19046 PyObject * obj1 = 0 ;
19047 char *kwnames[] = {
19048 (char *) "self",(char *) "needMore", NULL
19049 };
19050
19051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19054 if (obj1) {
2f4c0a16
RD
19055 arg2 = (bool) SWIG_AsBool(obj1);
19056 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19057 }
19058 {
19059 PyThreadState* __tstate = wxPyBeginAllowThreads();
19060 (arg1)->RequestMore(arg2);
19061
19062 wxPyEndAllowThreads(__tstate);
19063 if (PyErr_Occurred()) SWIG_fail;
19064 }
19065 Py_INCREF(Py_None); resultobj = Py_None;
19066 return resultobj;
19067 fail:
19068 return NULL;
19069}
19070
19071
2f4c0a16 19072static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19073 PyObject *resultobj;
19074 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
19075 bool result;
19076 PyObject * obj0 = 0 ;
19077 char *kwnames[] = {
19078 (char *) "self", NULL
19079 };
19080
19081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
19083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19084 {
19085 PyThreadState* __tstate = wxPyBeginAllowThreads();
19086 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
19087
19088 wxPyEndAllowThreads(__tstate);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
fbc46b20
RD
19091 {
19092 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19093 }
d14a1e28
RD
19094 return resultobj;
19095 fail:
19096 return NULL;
19097}
19098
19099
2f4c0a16 19100static PyObject *_wrap_IdleEvent_SetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19101 PyObject *resultobj;
19102 int arg1 ;
8edf1c75 19103 PyObject * obj0 = 0 ;
d14a1e28
RD
19104 char *kwnames[] = {
19105 (char *) "mode", NULL
19106 };
19107
8edf1c75 19108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19109 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
19110 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19111 {
19112 PyThreadState* __tstate = wxPyBeginAllowThreads();
19113 wxIdleEvent::SetMode((wxIdleMode )arg1);
19114
19115 wxPyEndAllowThreads(__tstate);
19116 if (PyErr_Occurred()) SWIG_fail;
19117 }
19118 Py_INCREF(Py_None); resultobj = Py_None;
19119 return resultobj;
19120 fail:
19121 return NULL;
19122}
19123
19124
2f4c0a16 19125static PyObject *_wrap_IdleEvent_GetMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19126 PyObject *resultobj;
19127 int result;
19128 char *kwnames[] = {
19129 NULL
19130 };
19131
19132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
19133 {
19134 PyThreadState* __tstate = wxPyBeginAllowThreads();
19135 result = (int)wxIdleEvent::GetMode();
19136
19137 wxPyEndAllowThreads(__tstate);
19138 if (PyErr_Occurred()) SWIG_fail;
19139 }
2f4c0a16 19140 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19141 return resultobj;
19142 fail:
19143 return NULL;
19144}
19145
19146
2f4c0a16 19147static PyObject *_wrap_IdleEvent_CanSend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19148 PyObject *resultobj;
19149 wxWindow *arg1 = (wxWindow *) 0 ;
19150 bool result;
19151 PyObject * obj0 = 0 ;
19152 char *kwnames[] = {
19153 (char *) "win", NULL
19154 };
19155
19156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
19158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19159 {
19160 PyThreadState* __tstate = wxPyBeginAllowThreads();
19161 result = (bool)wxIdleEvent::CanSend(arg1);
19162
19163 wxPyEndAllowThreads(__tstate);
19164 if (PyErr_Occurred()) SWIG_fail;
19165 }
fbc46b20
RD
19166 {
19167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19168 }
d14a1e28
RD
19169 return resultobj;
19170 fail:
19171 return NULL;
19172}
19173
19174
2f4c0a16 19175static PyObject * IdleEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19176 PyObject *obj;
19177 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19178 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
19179 Py_INCREF(obj);
19180 return Py_BuildValue((char *)"");
19181}
2f4c0a16 19182static PyObject *_wrap_new_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19183 PyObject *resultobj;
19184 int arg1 = (int) 0 ;
19185 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
19186 wxPyEvent *result;
8edf1c75
RD
19187 PyObject * obj0 = 0 ;
19188 PyObject * obj1 = 0 ;
d14a1e28
RD
19189 char *kwnames[] = {
19190 (char *) "winid",(char *) "commandType", NULL
19191 };
19192
8edf1c75
RD
19193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
19194 if (obj0) {
2f4c0a16
RD
19195 arg1 = (int) SWIG_AsInt(obj0);
19196 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19197 }
19198 if (obj1) {
2f4c0a16
RD
19199 arg2 = (wxEventType) SWIG_AsInt(obj1);
19200 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19201 }
d14a1e28
RD
19202 {
19203 PyThreadState* __tstate = wxPyBeginAllowThreads();
19204 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
19205
19206 wxPyEndAllowThreads(__tstate);
19207 if (PyErr_Occurred()) SWIG_fail;
19208 }
2f4c0a16 19209 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
19210 return resultobj;
19211 fail:
19212 return NULL;
19213}
19214
19215
2f4c0a16 19216static PyObject *_wrap_delete_PyEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19217 PyObject *resultobj;
19218 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19219 PyObject * obj0 = 0 ;
19220 char *kwnames[] = {
19221 (char *) "self", NULL
19222 };
19223
19224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19227 {
19228 PyThreadState* __tstate = wxPyBeginAllowThreads();
19229 delete arg1;
19230
19231 wxPyEndAllowThreads(__tstate);
19232 if (PyErr_Occurred()) SWIG_fail;
19233 }
19234 Py_INCREF(Py_None); resultobj = Py_None;
19235 return resultobj;
19236 fail:
19237 return NULL;
19238}
19239
19240
2f4c0a16 19241static PyObject *_wrap_PyEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19242 PyObject *resultobj;
19243 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19244 PyObject *arg2 = (PyObject *) 0 ;
19245 PyObject * obj0 = 0 ;
19246 PyObject * obj1 = 0 ;
19247 char *kwnames[] = {
19248 (char *) "self",(char *) "self", NULL
19249 };
19250
19251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19254 arg2 = obj1;
19255 {
19256 PyThreadState* __tstate = wxPyBeginAllowThreads();
19257 (arg1)->SetSelf(arg2);
19258
19259 wxPyEndAllowThreads(__tstate);
19260 if (PyErr_Occurred()) SWIG_fail;
19261 }
19262 Py_INCREF(Py_None); resultobj = Py_None;
19263 return resultobj;
19264 fail:
19265 return NULL;
19266}
19267
19268
2f4c0a16 19269static PyObject *_wrap_PyEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19270 PyObject *resultobj;
19271 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
19272 PyObject *result;
19273 PyObject * obj0 = 0 ;
19274 char *kwnames[] = {
19275 (char *) "self", NULL
19276 };
19277
19278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
19280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19281 {
19282 PyThreadState* __tstate = wxPyBeginAllowThreads();
19283 result = (PyObject *)(arg1)->GetSelf();
19284
19285 wxPyEndAllowThreads(__tstate);
19286 if (PyErr_Occurred()) SWIG_fail;
19287 }
19288 resultobj = result;
19289 return resultobj;
19290 fail:
19291 return NULL;
19292}
19293
19294
2f4c0a16 19295static PyObject * PyEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19296 PyObject *obj;
19297 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19298 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
19299 Py_INCREF(obj);
19300 return Py_BuildValue((char *)"");
19301}
2f4c0a16 19302static PyObject *_wrap_new_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19303 PyObject *resultobj;
19304 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19305 int arg2 = (int) 0 ;
19306 wxPyCommandEvent *result;
8edf1c75
RD
19307 PyObject * obj0 = 0 ;
19308 PyObject * obj1 = 0 ;
d14a1e28
RD
19309 char *kwnames[] = {
19310 (char *) "commandType",(char *) "id", NULL
19311 };
19312
8edf1c75
RD
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
19314 if (obj0) {
2f4c0a16
RD
19315 arg1 = (wxEventType) SWIG_AsInt(obj0);
19316 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
19317 }
19318 if (obj1) {
2f4c0a16
RD
19319 arg2 = (int) SWIG_AsInt(obj1);
19320 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 19321 }
d14a1e28
RD
19322 {
19323 PyThreadState* __tstate = wxPyBeginAllowThreads();
19324 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
19325
19326 wxPyEndAllowThreads(__tstate);
19327 if (PyErr_Occurred()) SWIG_fail;
19328 }
2f4c0a16 19329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
19330 return resultobj;
19331 fail:
19332 return NULL;
19333}
19334
19335
2f4c0a16 19336static PyObject *_wrap_delete_PyCommandEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19337 PyObject *resultobj;
19338 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19339 PyObject * obj0 = 0 ;
19340 char *kwnames[] = {
19341 (char *) "self", NULL
19342 };
19343
19344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19347 {
19348 PyThreadState* __tstate = wxPyBeginAllowThreads();
19349 delete arg1;
19350
19351 wxPyEndAllowThreads(__tstate);
19352 if (PyErr_Occurred()) SWIG_fail;
19353 }
19354 Py_INCREF(Py_None); resultobj = Py_None;
19355 return resultobj;
19356 fail:
19357 return NULL;
19358}
19359
19360
2f4c0a16 19361static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19362 PyObject *resultobj;
19363 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19364 PyObject *arg2 = (PyObject *) 0 ;
19365 PyObject * obj0 = 0 ;
19366 PyObject * obj1 = 0 ;
19367 char *kwnames[] = {
19368 (char *) "self",(char *) "self", NULL
19369 };
19370
19371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19372 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19374 arg2 = obj1;
19375 {
19376 PyThreadState* __tstate = wxPyBeginAllowThreads();
19377 (arg1)->SetSelf(arg2);
19378
19379 wxPyEndAllowThreads(__tstate);
19380 if (PyErr_Occurred()) SWIG_fail;
19381 }
19382 Py_INCREF(Py_None); resultobj = Py_None;
19383 return resultobj;
19384 fail:
19385 return NULL;
19386}
19387
19388
2f4c0a16 19389static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19390 PyObject *resultobj;
19391 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
19392 PyObject *result;
19393 PyObject * obj0 = 0 ;
19394 char *kwnames[] = {
19395 (char *) "self", NULL
19396 };
19397
19398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
19400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19401 {
19402 PyThreadState* __tstate = wxPyBeginAllowThreads();
19403 result = (PyObject *)(arg1)->GetSelf();
19404
19405 wxPyEndAllowThreads(__tstate);
19406 if (PyErr_Occurred()) SWIG_fail;
19407 }
19408 resultobj = result;
19409 return resultobj;
19410 fail:
19411 return NULL;
19412}
19413
19414
2f4c0a16 19415static PyObject * PyCommandEvent_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
19416 PyObject *obj;
19417 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19418 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19419 Py_INCREF(obj);
19420 return Py_BuildValue((char *)"");
19421}
2f4c0a16 19422static PyObject *_wrap_new_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19423 PyObject *resultobj;
19424 wxPyApp *result;
19425 char *kwnames[] = {
19426 NULL
19427 };
19428
19429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19430 {
19431 PyThreadState* __tstate = wxPyBeginAllowThreads();
19432 result = (wxPyApp *)new_wxPyApp();
19433
19434 wxPyEndAllowThreads(__tstate);
19435 if (PyErr_Occurred()) SWIG_fail;
19436 }
19437 {
19438 resultobj = wxPyMake_wxObject(result);
19439 }
19440 return resultobj;
19441 fail:
19442 return NULL;
19443}
19444
19445
2f4c0a16 19446static PyObject *_wrap_delete_PyApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19447 PyObject *resultobj;
19448 wxPyApp *arg1 = (wxPyApp *) 0 ;
19449 PyObject * obj0 = 0 ;
19450 char *kwnames[] = {
19451 (char *) "self", NULL
19452 };
19453
19454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19457 {
19458 PyThreadState* __tstate = wxPyBeginAllowThreads();
19459 delete arg1;
19460
19461 wxPyEndAllowThreads(__tstate);
19462 if (PyErr_Occurred()) SWIG_fail;
19463 }
19464 Py_INCREF(Py_None); resultobj = Py_None;
19465 return resultobj;
19466 fail:
19467 return NULL;
19468}
19469
19470
2f4c0a16 19471static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19472 PyObject *resultobj;
19473 wxPyApp *arg1 = (wxPyApp *) 0 ;
19474 PyObject *arg2 = (PyObject *) 0 ;
19475 PyObject *arg3 = (PyObject *) 0 ;
19476 PyObject * obj0 = 0 ;
19477 PyObject * obj1 = 0 ;
19478 PyObject * obj2 = 0 ;
19479 char *kwnames[] = {
19480 (char *) "self",(char *) "self",(char *) "_class", NULL
19481 };
19482
19483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19486 arg2 = obj1;
19487 arg3 = obj2;
19488 {
19489 PyThreadState* __tstate = wxPyBeginAllowThreads();
19490 (arg1)->_setCallbackInfo(arg2,arg3);
19491
19492 wxPyEndAllowThreads(__tstate);
19493 if (PyErr_Occurred()) SWIG_fail;
19494 }
19495 Py_INCREF(Py_None); resultobj = Py_None;
19496 return resultobj;
19497 fail:
19498 return NULL;
19499}
19500
19501
2f4c0a16 19502static PyObject *_wrap_PyApp_GetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19503 PyObject *resultobj;
19504 wxPyApp *arg1 = (wxPyApp *) 0 ;
19505 wxString result;
19506 PyObject * obj0 = 0 ;
19507 char *kwnames[] = {
19508 (char *) "self", NULL
19509 };
19510
19511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19514 {
19515 PyThreadState* __tstate = wxPyBeginAllowThreads();
19516 result = ((wxPyApp const *)arg1)->GetAppName();
19517
19518 wxPyEndAllowThreads(__tstate);
19519 if (PyErr_Occurred()) SWIG_fail;
19520 }
19521 {
19522#if wxUSE_UNICODE
19523 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19524#else
19525 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19526#endif
19527 }
19528 return resultobj;
19529 fail:
19530 return NULL;
19531}
19532
19533
2f4c0a16 19534static PyObject *_wrap_PyApp_SetAppName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19535 PyObject *resultobj;
19536 wxPyApp *arg1 = (wxPyApp *) 0 ;
19537 wxString *arg2 = 0 ;
423f194a 19538 bool temp2 = False ;
d14a1e28
RD
19539 PyObject * obj0 = 0 ;
19540 PyObject * obj1 = 0 ;
19541 char *kwnames[] = {
19542 (char *) "self",(char *) "name", NULL
19543 };
19544
19545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19548 {
19549 arg2 = wxString_in_helper(obj1);
19550 if (arg2 == NULL) SWIG_fail;
423f194a 19551 temp2 = True;
d14a1e28
RD
19552 }
19553 {
19554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19555 (arg1)->SetAppName((wxString const &)*arg2);
19556
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 Py_INCREF(Py_None); resultobj = Py_None;
19561 {
19562 if (temp2)
19563 delete arg2;
19564 }
19565 return resultobj;
19566 fail:
19567 {
19568 if (temp2)
19569 delete arg2;
19570 }
19571 return NULL;
19572}
19573
19574
2f4c0a16 19575static PyObject *_wrap_PyApp_GetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19576 PyObject *resultobj;
19577 wxPyApp *arg1 = (wxPyApp *) 0 ;
19578 wxString result;
19579 PyObject * obj0 = 0 ;
19580 char *kwnames[] = {
19581 (char *) "self", NULL
19582 };
19583
19584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19587 {
19588 PyThreadState* __tstate = wxPyBeginAllowThreads();
19589 result = ((wxPyApp const *)arg1)->GetClassName();
19590
19591 wxPyEndAllowThreads(__tstate);
19592 if (PyErr_Occurred()) SWIG_fail;
19593 }
19594 {
19595#if wxUSE_UNICODE
19596 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19597#else
19598 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19599#endif
19600 }
19601 return resultobj;
19602 fail:
19603 return NULL;
19604}
19605
19606
2f4c0a16 19607static PyObject *_wrap_PyApp_SetClassName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19608 PyObject *resultobj;
19609 wxPyApp *arg1 = (wxPyApp *) 0 ;
19610 wxString *arg2 = 0 ;
423f194a 19611 bool temp2 = False ;
d14a1e28
RD
19612 PyObject * obj0 = 0 ;
19613 PyObject * obj1 = 0 ;
19614 char *kwnames[] = {
19615 (char *) "self",(char *) "name", NULL
19616 };
19617
19618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19619 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19620 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19621 {
19622 arg2 = wxString_in_helper(obj1);
19623 if (arg2 == NULL) SWIG_fail;
423f194a 19624 temp2 = True;
d14a1e28
RD
19625 }
19626 {
19627 PyThreadState* __tstate = wxPyBeginAllowThreads();
19628 (arg1)->SetClassName((wxString const &)*arg2);
19629
19630 wxPyEndAllowThreads(__tstate);
19631 if (PyErr_Occurred()) SWIG_fail;
19632 }
19633 Py_INCREF(Py_None); resultobj = Py_None;
19634 {
19635 if (temp2)
19636 delete arg2;
19637 }
19638 return resultobj;
19639 fail:
19640 {
19641 if (temp2)
19642 delete arg2;
19643 }
19644 return NULL;
19645}
19646
19647
2f4c0a16 19648static PyObject *_wrap_PyApp_GetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19649 PyObject *resultobj;
19650 wxPyApp *arg1 = (wxPyApp *) 0 ;
19651 wxString *result;
19652 PyObject * obj0 = 0 ;
19653 char *kwnames[] = {
19654 (char *) "self", NULL
19655 };
19656
19657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19660 {
19661 PyThreadState* __tstate = wxPyBeginAllowThreads();
19662 {
19663 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19664 result = (wxString *) &_result_ref;
19665 }
19666
19667 wxPyEndAllowThreads(__tstate);
19668 if (PyErr_Occurred()) SWIG_fail;
19669 }
0f774bef
RD
19670 {
19671#if wxUSE_UNICODE
19672 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19673#else
19674 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19675#endif
19676 }
d14a1e28
RD
19677 return resultobj;
19678 fail:
19679 return NULL;
19680}
19681
19682
2f4c0a16 19683static PyObject *_wrap_PyApp_SetVendorName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19684 PyObject *resultobj;
19685 wxPyApp *arg1 = (wxPyApp *) 0 ;
19686 wxString *arg2 = 0 ;
423f194a 19687 bool temp2 = False ;
d14a1e28
RD
19688 PyObject * obj0 = 0 ;
19689 PyObject * obj1 = 0 ;
19690 char *kwnames[] = {
19691 (char *) "self",(char *) "name", NULL
19692 };
19693
19694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19697 {
19698 arg2 = wxString_in_helper(obj1);
19699 if (arg2 == NULL) SWIG_fail;
423f194a 19700 temp2 = True;
d14a1e28
RD
19701 }
19702 {
19703 PyThreadState* __tstate = wxPyBeginAllowThreads();
19704 (arg1)->SetVendorName((wxString const &)*arg2);
19705
19706 wxPyEndAllowThreads(__tstate);
19707 if (PyErr_Occurred()) SWIG_fail;
19708 }
19709 Py_INCREF(Py_None); resultobj = Py_None;
19710 {
19711 if (temp2)
19712 delete arg2;
19713 }
19714 return resultobj;
19715 fail:
19716 {
19717 if (temp2)
19718 delete arg2;
19719 }
19720 return NULL;
19721}
19722
19723
2f4c0a16 19724static PyObject *_wrap_PyApp_GetTraits(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19725 PyObject *resultobj;
19726 wxPyApp *arg1 = (wxPyApp *) 0 ;
19727 wxAppTraits *result;
19728 PyObject * obj0 = 0 ;
19729 char *kwnames[] = {
19730 (char *) "self", NULL
19731 };
19732
19733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19736 {
19737 PyThreadState* __tstate = wxPyBeginAllowThreads();
19738 result = (wxAppTraits *)(arg1)->GetTraits();
19739
19740 wxPyEndAllowThreads(__tstate);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
2f4c0a16 19743 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
19744 return resultobj;
19745 fail:
19746 return NULL;
19747}
19748
19749
2f4c0a16 19750static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19751 PyObject *resultobj;
19752 wxPyApp *arg1 = (wxPyApp *) 0 ;
19753 PyObject * obj0 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "self", NULL
19756 };
19757
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19761 {
19762 PyThreadState* __tstate = wxPyBeginAllowThreads();
19763 (arg1)->ProcessPendingEvents();
19764
19765 wxPyEndAllowThreads(__tstate);
19766 if (PyErr_Occurred()) SWIG_fail;
19767 }
19768 Py_INCREF(Py_None); resultobj = Py_None;
19769 return resultobj;
19770 fail:
19771 return NULL;
19772}
19773
19774
2f4c0a16 19775static PyObject *_wrap_PyApp_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19776 PyObject *resultobj;
19777 wxPyApp *arg1 = (wxPyApp *) 0 ;
423f194a 19778 bool arg2 = (bool) False ;
d14a1e28
RD
19779 bool result;
19780 PyObject * obj0 = 0 ;
19781 PyObject * obj1 = 0 ;
19782 char *kwnames[] = {
19783 (char *) "self",(char *) "onlyIfNeeded", NULL
19784 };
19785
19786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19789 if (obj1) {
2f4c0a16
RD
19790 arg2 = (bool) SWIG_AsBool(obj1);
19791 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19792 }
19793 {
19794 PyThreadState* __tstate = wxPyBeginAllowThreads();
19795 result = (bool)(arg1)->Yield(arg2);
19796
19797 wxPyEndAllowThreads(__tstate);
19798 if (PyErr_Occurred()) SWIG_fail;
19799 }
fbc46b20
RD
19800 {
19801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19802 }
d14a1e28
RD
19803 return resultobj;
19804 fail:
19805 return NULL;
19806}
19807
19808
2f4c0a16 19809static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19810 PyObject *resultobj;
19811 wxPyApp *arg1 = (wxPyApp *) 0 ;
19812 PyObject * obj0 = 0 ;
19813 char *kwnames[] = {
19814 (char *) "self", NULL
19815 };
19816
19817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 (arg1)->WakeUpIdle();
19823
19824 wxPyEndAllowThreads(__tstate);
19825 if (PyErr_Occurred()) SWIG_fail;
19826 }
19827 Py_INCREF(Py_None); resultobj = Py_None;
19828 return resultobj;
19829 fail:
19830 return NULL;
19831}
19832
19833
2f4c0a16 19834static PyObject *_wrap_PyApp_MainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19835 PyObject *resultobj;
19836 wxPyApp *arg1 = (wxPyApp *) 0 ;
19837 int result;
19838 PyObject * obj0 = 0 ;
19839 char *kwnames[] = {
19840 (char *) "self", NULL
19841 };
19842
19843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19844 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19845 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19846 {
19847 PyThreadState* __tstate = wxPyBeginAllowThreads();
19848 result = (int)(arg1)->MainLoop();
19849
19850 wxPyEndAllowThreads(__tstate);
19851 if (PyErr_Occurred()) SWIG_fail;
19852 }
2f4c0a16 19853 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19854 return resultobj;
19855 fail:
19856 return NULL;
19857}
19858
19859
2f4c0a16 19860static PyObject *_wrap_PyApp_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19861 PyObject *resultobj;
19862 wxPyApp *arg1 = (wxPyApp *) 0 ;
19863 PyObject * obj0 = 0 ;
19864 char *kwnames[] = {
19865 (char *) "self", NULL
19866 };
19867
19868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19871 {
19872 PyThreadState* __tstate = wxPyBeginAllowThreads();
19873 (arg1)->Exit();
19874
19875 wxPyEndAllowThreads(__tstate);
19876 if (PyErr_Occurred()) SWIG_fail;
19877 }
19878 Py_INCREF(Py_None); resultobj = Py_None;
19879 return resultobj;
19880 fail:
19881 return NULL;
19882}
19883
19884
2f4c0a16 19885static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19886 PyObject *resultobj;
19887 wxPyApp *arg1 = (wxPyApp *) 0 ;
19888 PyObject * obj0 = 0 ;
19889 char *kwnames[] = {
19890 (char *) "self", NULL
19891 };
19892
19893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19896 {
19897 PyThreadState* __tstate = wxPyBeginAllowThreads();
19898 (arg1)->ExitMainLoop();
19899
19900 wxPyEndAllowThreads(__tstate);
19901 if (PyErr_Occurred()) SWIG_fail;
19902 }
19903 Py_INCREF(Py_None); resultobj = Py_None;
19904 return resultobj;
19905 fail:
19906 return NULL;
19907}
19908
19909
2f4c0a16 19910static PyObject *_wrap_PyApp_Pending(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19911 PyObject *resultobj;
19912 wxPyApp *arg1 = (wxPyApp *) 0 ;
19913 bool result;
19914 PyObject * obj0 = 0 ;
19915 char *kwnames[] = {
19916 (char *) "self", NULL
19917 };
19918
19919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19922 {
19923 PyThreadState* __tstate = wxPyBeginAllowThreads();
19924 result = (bool)(arg1)->Pending();
19925
19926 wxPyEndAllowThreads(__tstate);
19927 if (PyErr_Occurred()) SWIG_fail;
19928 }
fbc46b20
RD
19929 {
19930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19931 }
d14a1e28
RD
19932 return resultobj;
19933 fail:
19934 return NULL;
19935}
19936
19937
2f4c0a16 19938static PyObject *_wrap_PyApp_Dispatch(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19939 PyObject *resultobj;
19940 wxPyApp *arg1 = (wxPyApp *) 0 ;
19941 bool result;
19942 PyObject * obj0 = 0 ;
19943 char *kwnames[] = {
19944 (char *) "self", NULL
19945 };
19946
19947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 result = (bool)(arg1)->Dispatch();
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
fbc46b20
RD
19957 {
19958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19959 }
d14a1e28
RD
19960 return resultobj;
19961 fail:
19962 return NULL;
19963}
19964
19965
2f4c0a16 19966static PyObject *_wrap_PyApp_ProcessIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19967 PyObject *resultobj;
19968 wxPyApp *arg1 = (wxPyApp *) 0 ;
19969 bool result;
19970 PyObject * obj0 = 0 ;
19971 char *kwnames[] = {
19972 (char *) "self", NULL
19973 };
19974
19975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19976 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19977 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19978 {
19979 PyThreadState* __tstate = wxPyBeginAllowThreads();
19980 result = (bool)(arg1)->ProcessIdle();
19981
19982 wxPyEndAllowThreads(__tstate);
19983 if (PyErr_Occurred()) SWIG_fail;
19984 }
fbc46b20
RD
19985 {
19986 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19987 }
d14a1e28
RD
19988 return resultobj;
19989 fail:
19990 return NULL;
19991}
19992
19993
2f4c0a16 19994static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19995 PyObject *resultobj;
19996 wxPyApp *arg1 = (wxPyApp *) 0 ;
19997 wxWindow *arg2 = (wxWindow *) 0 ;
19998 wxIdleEvent *arg3 = 0 ;
19999 bool result;
20000 PyObject * obj0 = 0 ;
20001 PyObject * obj1 = 0 ;
20002 PyObject * obj2 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self",(char *) "win",(char *) "event", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
20008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20012 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
20013 SWIG_POINTER_EXCEPTION | 0)) == -1)
20014 SWIG_fail;
d14a1e28 20015 if (arg3 == NULL) {
2f4c0a16
RD
20016 PyErr_SetString(PyExc_TypeError,"null reference");
20017 SWIG_fail;
d14a1e28
RD
20018 }
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
20022
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
fbc46b20
RD
20026 {
20027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20028 }
d14a1e28
RD
20029 return resultobj;
20030 fail:
20031 return NULL;
20032}
20033
20034
2f4c0a16 20035static PyObject *_wrap_PyApp_IsActive(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20036 PyObject *resultobj;
20037 wxPyApp *arg1 = (wxPyApp *) 0 ;
20038 bool result;
20039 PyObject * obj0 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20047 {
20048 PyThreadState* __tstate = wxPyBeginAllowThreads();
20049 result = (bool)((wxPyApp const *)arg1)->IsActive();
20050
20051 wxPyEndAllowThreads(__tstate);
20052 if (PyErr_Occurred()) SWIG_fail;
20053 }
fbc46b20
RD
20054 {
20055 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20056 }
d14a1e28
RD
20057 return resultobj;
20058 fail:
20059 return NULL;
20060}
20061
20062
2f4c0a16 20063static PyObject *_wrap_PyApp_SetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20064 PyObject *resultobj;
20065 wxPyApp *arg1 = (wxPyApp *) 0 ;
20066 wxWindow *arg2 = (wxWindow *) 0 ;
20067 PyObject * obj0 = 0 ;
20068 PyObject * obj1 = 0 ;
20069 char *kwnames[] = {
20070 (char *) "self",(char *) "win", NULL
20071 };
20072
20073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20076 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 (arg1)->SetTopWindow(arg2);
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 Py_INCREF(Py_None); resultobj = Py_None;
20086 return resultobj;
20087 fail:
20088 return NULL;
20089}
20090
20091
2f4c0a16 20092static PyObject *_wrap_PyApp_GetTopWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20093 PyObject *resultobj;
20094 wxPyApp *arg1 = (wxPyApp *) 0 ;
20095 wxWindow *result;
20096 PyObject * obj0 = 0 ;
20097 char *kwnames[] = {
20098 (char *) "self", NULL
20099 };
20100
20101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
20107
20108 wxPyEndAllowThreads(__tstate);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 {
20112 resultobj = wxPyMake_wxObject(result);
20113 }
20114 return resultobj;
20115 fail:
20116 return NULL;
20117}
20118
20119
2f4c0a16 20120static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20121 PyObject *resultobj;
20122 wxPyApp *arg1 = (wxPyApp *) 0 ;
20123 bool arg2 ;
20124 PyObject * obj0 = 0 ;
20125 PyObject * obj1 = 0 ;
20126 char *kwnames[] = {
20127 (char *) "self",(char *) "flag", NULL
20128 };
20129
20130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20133 arg2 = (bool) SWIG_AsBool(obj1);
20134 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20135 {
20136 PyThreadState* __tstate = wxPyBeginAllowThreads();
20137 (arg1)->SetExitOnFrameDelete(arg2);
20138
20139 wxPyEndAllowThreads(__tstate);
20140 if (PyErr_Occurred()) SWIG_fail;
20141 }
20142 Py_INCREF(Py_None); resultobj = Py_None;
20143 return resultobj;
20144 fail:
20145 return NULL;
20146}
20147
20148
2f4c0a16 20149static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20150 PyObject *resultobj;
20151 wxPyApp *arg1 = (wxPyApp *) 0 ;
20152 bool result;
20153 PyObject * obj0 = 0 ;
20154 char *kwnames[] = {
20155 (char *) "self", NULL
20156 };
20157
20158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20161 {
20162 PyThreadState* __tstate = wxPyBeginAllowThreads();
20163 result = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
20164
20165 wxPyEndAllowThreads(__tstate);
20166 if (PyErr_Occurred()) SWIG_fail;
20167 }
fbc46b20
RD
20168 {
20169 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20170 }
d14a1e28
RD
20171 return resultobj;
20172 fail:
20173 return NULL;
20174}
20175
20176
2f4c0a16 20177static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20178 PyObject *resultobj;
20179 wxPyApp *arg1 = (wxPyApp *) 0 ;
20180 bool arg2 ;
20181 PyObject * obj0 = 0 ;
20182 PyObject * obj1 = 0 ;
20183 char *kwnames[] = {
20184 (char *) "self",(char *) "flag", NULL
20185 };
20186
20187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20190 arg2 = (bool) SWIG_AsBool(obj1);
20191 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20192 {
20193 PyThreadState* __tstate = wxPyBeginAllowThreads();
20194 (arg1)->SetUseBestVisual(arg2);
20195
20196 wxPyEndAllowThreads(__tstate);
20197 if (PyErr_Occurred()) SWIG_fail;
20198 }
20199 Py_INCREF(Py_None); resultobj = Py_None;
20200 return resultobj;
20201 fail:
20202 return NULL;
20203}
20204
20205
2f4c0a16 20206static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20207 PyObject *resultobj;
20208 wxPyApp *arg1 = (wxPyApp *) 0 ;
20209 bool result;
20210 PyObject * obj0 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20218 {
20219 PyThreadState* __tstate = wxPyBeginAllowThreads();
20220 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
20221
20222 wxPyEndAllowThreads(__tstate);
20223 if (PyErr_Occurred()) SWIG_fail;
20224 }
fbc46b20
RD
20225 {
20226 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20227 }
d14a1e28
RD
20228 return resultobj;
20229 fail:
20230 return NULL;
20231}
20232
20233
2f4c0a16 20234static PyObject *_wrap_PyApp_SetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20235 PyObject *resultobj;
20236 wxPyApp *arg1 = (wxPyApp *) 0 ;
20237 int arg2 ;
20238 PyObject * obj0 = 0 ;
8edf1c75 20239 PyObject * obj1 = 0 ;
d14a1e28
RD
20240 char *kwnames[] = {
20241 (char *) "self",(char *) "mode", NULL
20242 };
20243
8edf1c75 20244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20247 arg2 = (int) SWIG_AsInt(obj1);
20248 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20249 {
20250 PyThreadState* __tstate = wxPyBeginAllowThreads();
20251 (arg1)->SetPrintMode(arg2);
20252
20253 wxPyEndAllowThreads(__tstate);
20254 if (PyErr_Occurred()) SWIG_fail;
20255 }
20256 Py_INCREF(Py_None); resultobj = Py_None;
20257 return resultobj;
20258 fail:
20259 return NULL;
20260}
20261
20262
2f4c0a16 20263static PyObject *_wrap_PyApp_GetPrintMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20264 PyObject *resultobj;
20265 wxPyApp *arg1 = (wxPyApp *) 0 ;
20266 int result;
20267 PyObject * obj0 = 0 ;
20268 char *kwnames[] = {
20269 (char *) "self", NULL
20270 };
20271
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetPrintMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20275 {
20276 PyThreadState* __tstate = wxPyBeginAllowThreads();
20277 result = (int)((wxPyApp const *)arg1)->GetPrintMode();
20278
20279 wxPyEndAllowThreads(__tstate);
20280 if (PyErr_Occurred()) SWIG_fail;
20281 }
2f4c0a16 20282 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20283 return resultobj;
20284 fail:
20285 return NULL;
20286}
20287
20288
2f4c0a16 20289static PyObject *_wrap_PyApp_SetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20290 PyObject *resultobj;
20291 wxPyApp *arg1 = (wxPyApp *) 0 ;
44127b65 20292 int arg2 ;
d14a1e28 20293 PyObject * obj0 = 0 ;
8edf1c75 20294 PyObject * obj1 = 0 ;
d14a1e28 20295 char *kwnames[] = {
44127b65 20296 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
20297 };
20298
8edf1c75 20299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20302 arg2 = (int) SWIG_AsInt(obj1);
20303 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 20306 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
20307
20308 wxPyEndAllowThreads(__tstate);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
44127b65 20311 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
20312 return resultobj;
20313 fail:
20314 return NULL;
20315}
20316
20317
2f4c0a16 20318static PyObject *_wrap_PyApp_GetAssertMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20319 PyObject *resultobj;
20320 wxPyApp *arg1 = (wxPyApp *) 0 ;
44127b65 20321 int result;
d14a1e28
RD
20322 PyObject * obj0 = 0 ;
20323 char *kwnames[] = {
44127b65 20324 (char *) "self", NULL
d14a1e28
RD
20325 };
20326
44127b65 20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20328 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20329 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20330 {
20331 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 20332 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
20333
20334 wxPyEndAllowThreads(__tstate);
20335 if (PyErr_Occurred()) SWIG_fail;
20336 }
2f4c0a16 20337 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20338 return resultobj;
20339 fail:
20340 return NULL;
20341}
20342
20343
2f4c0a16 20344static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20345 PyObject *resultobj;
20346 bool result;
20347 char *kwnames[] = {
20348 NULL
20349 };
20350
20351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
20352 {
20353 PyThreadState* __tstate = wxPyBeginAllowThreads();
20354 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20355
20356 wxPyEndAllowThreads(__tstate);
20357 if (PyErr_Occurred()) SWIG_fail;
20358 }
fbc46b20
RD
20359 {
20360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20361 }
d14a1e28
RD
20362 return resultobj;
20363 fail:
20364 return NULL;
20365}
20366
20367
2f4c0a16 20368static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20369 PyObject *resultobj;
20370 long result;
20371 char *kwnames[] = {
20372 NULL
20373 };
20374
20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
20376 {
20377 PyThreadState* __tstate = wxPyBeginAllowThreads();
20378 result = (long)wxPyApp::GetMacAboutMenuItemId();
20379
20380 wxPyEndAllowThreads(__tstate);
20381 if (PyErr_Occurred()) SWIG_fail;
20382 }
2f4c0a16 20383 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20384 return resultobj;
20385 fail:
20386 return NULL;
20387}
20388
20389
2f4c0a16 20390static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20391 PyObject *resultobj;
20392 long result;
20393 char *kwnames[] = {
20394 NULL
20395 };
20396
20397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
20398 {
20399 PyThreadState* __tstate = wxPyBeginAllowThreads();
20400 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
20401
20402 wxPyEndAllowThreads(__tstate);
20403 if (PyErr_Occurred()) SWIG_fail;
20404 }
2f4c0a16 20405 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20406 return resultobj;
20407 fail:
20408 return NULL;
20409}
20410
20411
2f4c0a16 20412static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20413 PyObject *resultobj;
20414 long result;
20415 char *kwnames[] = {
20416 NULL
20417 };
20418
20419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
20420 {
20421 PyThreadState* __tstate = wxPyBeginAllowThreads();
20422 result = (long)wxPyApp::GetMacExitMenuItemId();
20423
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
2f4c0a16 20427 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
20428 return resultobj;
20429 fail:
20430 return NULL;
20431}
20432
20433
2f4c0a16 20434static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20435 PyObject *resultobj;
20436 wxString result;
20437 char *kwnames[] = {
20438 NULL
20439 };
20440
20441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20442 {
20443 PyThreadState* __tstate = wxPyBeginAllowThreads();
20444 result = wxPyApp::GetMacHelpMenuTitleName();
20445
20446 wxPyEndAllowThreads(__tstate);
20447 if (PyErr_Occurred()) SWIG_fail;
20448 }
20449 {
20450#if wxUSE_UNICODE
20451 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20452#else
20453 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20454#endif
20455 }
20456 return resultobj;
20457 fail:
20458 return NULL;
20459}
20460
20461
2f4c0a16 20462static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20463 PyObject *resultobj;
20464 bool arg1 ;
20465 PyObject * obj0 = 0 ;
20466 char *kwnames[] = {
20467 (char *) "val", NULL
20468 };
20469
20470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20471 arg1 = (bool) SWIG_AsBool(obj0);
20472 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20473 {
20474 PyThreadState* __tstate = wxPyBeginAllowThreads();
20475 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20476
20477 wxPyEndAllowThreads(__tstate);
20478 if (PyErr_Occurred()) SWIG_fail;
20479 }
20480 Py_INCREF(Py_None); resultobj = Py_None;
20481 return resultobj;
20482 fail:
20483 return NULL;
20484}
20485
20486
2f4c0a16 20487static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20488 PyObject *resultobj;
20489 long arg1 ;
8edf1c75 20490 PyObject * obj0 = 0 ;
d14a1e28
RD
20491 char *kwnames[] = {
20492 (char *) "val", NULL
20493 };
20494
8edf1c75 20495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20496 arg1 = (long) SWIG_AsLong(obj0);
20497 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20498 {
20499 PyThreadState* __tstate = wxPyBeginAllowThreads();
20500 wxPyApp::SetMacAboutMenuItemId(arg1);
20501
20502 wxPyEndAllowThreads(__tstate);
20503 if (PyErr_Occurred()) SWIG_fail;
20504 }
20505 Py_INCREF(Py_None); resultobj = Py_None;
20506 return resultobj;
20507 fail:
20508 return NULL;
20509}
20510
20511
2f4c0a16 20512static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20513 PyObject *resultobj;
20514 long arg1 ;
8edf1c75 20515 PyObject * obj0 = 0 ;
d14a1e28
RD
20516 char *kwnames[] = {
20517 (char *) "val", NULL
20518 };
20519
8edf1c75 20520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20521 arg1 = (long) SWIG_AsLong(obj0);
20522 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20523 {
20524 PyThreadState* __tstate = wxPyBeginAllowThreads();
20525 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20526
20527 wxPyEndAllowThreads(__tstate);
20528 if (PyErr_Occurred()) SWIG_fail;
20529 }
20530 Py_INCREF(Py_None); resultobj = Py_None;
20531 return resultobj;
20532 fail:
20533 return NULL;
20534}
20535
20536
2f4c0a16 20537static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20538 PyObject *resultobj;
20539 long arg1 ;
8edf1c75 20540 PyObject * obj0 = 0 ;
d14a1e28
RD
20541 char *kwnames[] = {
20542 (char *) "val", NULL
20543 };
20544
8edf1c75 20545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20546 arg1 = (long) SWIG_AsLong(obj0);
20547 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20548 {
20549 PyThreadState* __tstate = wxPyBeginAllowThreads();
20550 wxPyApp::SetMacExitMenuItemId(arg1);
20551
20552 wxPyEndAllowThreads(__tstate);
20553 if (PyErr_Occurred()) SWIG_fail;
20554 }
20555 Py_INCREF(Py_None); resultobj = Py_None;
20556 return resultobj;
20557 fail:
20558 return NULL;
20559}
20560
20561
2f4c0a16 20562static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20563 PyObject *resultobj;
20564 wxString *arg1 = 0 ;
423f194a 20565 bool temp1 = False ;
d14a1e28
RD
20566 PyObject * obj0 = 0 ;
20567 char *kwnames[] = {
20568 (char *) "val", NULL
20569 };
20570
20571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20572 {
20573 arg1 = wxString_in_helper(obj0);
20574 if (arg1 == NULL) SWIG_fail;
423f194a 20575 temp1 = True;
d14a1e28
RD
20576 }
20577 {
20578 PyThreadState* __tstate = wxPyBeginAllowThreads();
20579 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20580
20581 wxPyEndAllowThreads(__tstate);
20582 if (PyErr_Occurred()) SWIG_fail;
20583 }
20584 Py_INCREF(Py_None); resultobj = Py_None;
20585 {
20586 if (temp1)
20587 delete arg1;
20588 }
20589 return resultobj;
20590 fail:
20591 {
20592 if (temp1)
20593 delete arg1;
20594 }
20595 return NULL;
20596}
20597
20598
2f4c0a16 20599static PyObject *_wrap_PyApp__BootstrapApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20600 PyObject *resultobj;
20601 wxPyApp *arg1 = (wxPyApp *) 0 ;
20602 PyObject * obj0 = 0 ;
20603 char *kwnames[] = {
20604 (char *) "self", NULL
20605 };
20606
20607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20610 {
20611 PyThreadState* __tstate = wxPyBeginAllowThreads();
20612 (arg1)->_BootstrapApp();
20613
20614 wxPyEndAllowThreads(__tstate);
20615 if (PyErr_Occurred()) SWIG_fail;
20616 }
20617 Py_INCREF(Py_None); resultobj = Py_None;
20618 return resultobj;
20619 fail:
20620 return NULL;
20621}
20622
20623
2f4c0a16 20624static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20625 PyObject *resultobj;
20626 int result;
20627 char *kwnames[] = {
20628 NULL
20629 };
20630
20631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20632 {
20633 PyThreadState* __tstate = wxPyBeginAllowThreads();
20634 result = (int)PyApp_GetComCtl32Version();
20635
20636 wxPyEndAllowThreads(__tstate);
20637 if (PyErr_Occurred()) SWIG_fail;
20638 }
2f4c0a16 20639 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20640 return resultobj;
20641 fail:
20642 return NULL;
20643}
20644
20645
2f4c0a16 20646static PyObject * PyApp_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
20647 PyObject *obj;
20648 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20649 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20650 Py_INCREF(obj);
20651 return Py_BuildValue((char *)"");
20652}
2f4c0a16 20653static PyObject *_wrap_Exit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20654 PyObject *resultobj;
20655 char *kwnames[] = {
20656 NULL
20657 };
20658
20659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20660 {
20661 PyThreadState* __tstate = wxPyBeginAllowThreads();
20662 wxExit();
20663
20664 wxPyEndAllowThreads(__tstate);
20665 if (PyErr_Occurred()) SWIG_fail;
20666 }
20667 Py_INCREF(Py_None); resultobj = Py_None;
20668 return resultobj;
20669 fail:
20670 return NULL;
20671}
20672
20673
2f4c0a16 20674static PyObject *_wrap_Yield(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20675 PyObject *resultobj;
20676 bool result;
20677 char *kwnames[] = {
20678 NULL
20679 };
20680
20681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20682 {
20683 PyThreadState* __tstate = wxPyBeginAllowThreads();
20684 result = (bool)wxYield();
20685
20686 wxPyEndAllowThreads(__tstate);
20687 if (PyErr_Occurred()) SWIG_fail;
20688 }
fbc46b20
RD
20689 {
20690 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20691 }
d14a1e28
RD
20692 return resultobj;
20693 fail:
20694 return NULL;
20695}
20696
20697
2f4c0a16 20698static PyObject *_wrap_YieldIfNeeded(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20699 PyObject *resultobj;
20700 bool result;
20701 char *kwnames[] = {
20702 NULL
20703 };
20704
20705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20706 {
20707 PyThreadState* __tstate = wxPyBeginAllowThreads();
20708 result = (bool)wxYieldIfNeeded();
20709
20710 wxPyEndAllowThreads(__tstate);
20711 if (PyErr_Occurred()) SWIG_fail;
20712 }
fbc46b20
RD
20713 {
20714 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20715 }
d14a1e28
RD
20716 return resultobj;
20717 fail:
20718 return NULL;
20719}
20720
20721
2f4c0a16 20722static PyObject *_wrap_SafeYield(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20723 PyObject *resultobj;
20724 wxWindow *arg1 = (wxWindow *) NULL ;
423f194a 20725 bool arg2 = (bool) False ;
d14a1e28
RD
20726 bool result;
20727 PyObject * obj0 = 0 ;
20728 PyObject * obj1 = 0 ;
20729 char *kwnames[] = {
20730 (char *) "win",(char *) "onlyIfNeeded", NULL
20731 };
20732
20733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20734 if (obj0) {
2f4c0a16
RD
20735 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20736 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20737 }
20738 if (obj1) {
2f4c0a16
RD
20739 arg2 = (bool) SWIG_AsBool(obj1);
20740 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20741 }
20742 {
20743 PyThreadState* __tstate = wxPyBeginAllowThreads();
20744 result = (bool)wxSafeYield(arg1,arg2);
20745
20746 wxPyEndAllowThreads(__tstate);
20747 if (PyErr_Occurred()) SWIG_fail;
20748 }
fbc46b20
RD
20749 {
20750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20751 }
d14a1e28
RD
20752 return resultobj;
20753 fail:
20754 return NULL;
20755}
20756
20757
2f4c0a16 20758static PyObject *_wrap_WakeUpIdle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20759 PyObject *resultobj;
20760 char *kwnames[] = {
20761 NULL
20762 };
20763
20764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 wxWakeUpIdle();
20768
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 Py_INCREF(Py_None); resultobj = Py_None;
20773 return resultobj;
20774 fail:
20775 return NULL;
20776}
20777
20778
2f4c0a16 20779static PyObject *_wrap_PostEvent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20780 PyObject *resultobj;
20781 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20782 wxEvent *arg2 = 0 ;
20783 PyObject * obj0 = 0 ;
20784 PyObject * obj1 = 0 ;
20785 char *kwnames[] = {
20786 (char *) "dest",(char *) "event", NULL
20787 };
20788
20789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20790 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20791 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20792 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20793 SWIG_POINTER_EXCEPTION | 0)) == -1)
20794 SWIG_fail;
d14a1e28 20795 if (arg2 == NULL) {
2f4c0a16
RD
20796 PyErr_SetString(PyExc_TypeError,"null reference");
20797 SWIG_fail;
d14a1e28
RD
20798 }
20799 {
20800 PyThreadState* __tstate = wxPyBeginAllowThreads();
20801 wxPostEvent(arg1,*arg2);
20802
20803 wxPyEndAllowThreads(__tstate);
20804 if (PyErr_Occurred()) SWIG_fail;
20805 }
20806 Py_INCREF(Py_None); resultobj = Py_None;
20807 return resultobj;
20808 fail:
20809 return NULL;
20810}
20811
20812
2f4c0a16 20813static PyObject *_wrap_App_CleanUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20814 PyObject *resultobj;
20815 char *kwnames[] = {
20816 NULL
20817 };
20818
20819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20820 {
20821 PyThreadState* __tstate = wxPyBeginAllowThreads();
20822 wxApp_CleanUp();
20823
20824 wxPyEndAllowThreads(__tstate);
20825 if (PyErr_Occurred()) SWIG_fail;
20826 }
20827 Py_INCREF(Py_None); resultobj = Py_None;
20828 return resultobj;
20829 fail:
20830 return NULL;
20831}
20832
20833
2f4c0a16 20834static PyObject *_wrap_GetApp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20835 PyObject *resultobj;
20836 wxPyApp *result;
20837 char *kwnames[] = {
20838 NULL
20839 };
20840
20841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20842 {
20843 PyThreadState* __tstate = wxPyBeginAllowThreads();
20844 result = (wxPyApp *)wxGetApp();
20845
20846 wxPyEndAllowThreads(__tstate);
20847 if (PyErr_Occurred()) SWIG_fail;
20848 }
20849 {
20850 resultobj = wxPyMake_wxObject(result);
20851 }
20852 return resultobj;
20853 fail:
20854 return NULL;
20855}
20856
20857
2f4c0a16 20858static PyObject *_wrap_new_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20859 PyObject *resultobj;
20860 int arg1 = (int) 0 ;
20861 int arg2 = (int) 0 ;
20862 int arg3 = (int) 0 ;
20863 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
20864 wxAcceleratorEntry *result;
8edf1c75
RD
20865 PyObject * obj0 = 0 ;
20866 PyObject * obj1 = 0 ;
20867 PyObject * obj2 = 0 ;
41f1cec7
RD
20868 PyObject * obj3 = 0 ;
20869 char *kwnames[] = {
20870 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20871 };
20872
8edf1c75
RD
20873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20874 if (obj0) {
2f4c0a16
RD
20875 arg1 = (int) SWIG_AsInt(obj0);
20876 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
20877 }
20878 if (obj1) {
2f4c0a16
RD
20879 arg2 = (int) SWIG_AsInt(obj1);
20880 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
20881 }
20882 if (obj2) {
2f4c0a16
RD
20883 arg3 = (int) SWIG_AsInt(obj2);
20884 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20885 }
41f1cec7 20886 if (obj3) {
2f4c0a16
RD
20887 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenuItem,
20888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20889 }
20890 {
20891 PyThreadState* __tstate = wxPyBeginAllowThreads();
20892 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
20893
20894 wxPyEndAllowThreads(__tstate);
20895 if (PyErr_Occurred()) SWIG_fail;
20896 }
2f4c0a16 20897 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
41f1cec7
RD
20898 return resultobj;
20899 fail:
20900 return NULL;
20901}
20902
20903
2f4c0a16 20904static PyObject *_wrap_delete_AcceleratorEntry(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20905 PyObject *resultobj;
20906 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20907 PyObject * obj0 = 0 ;
20908 char *kwnames[] = {
20909 (char *) "self", NULL
20910 };
20911
20912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20915 {
20916 PyThreadState* __tstate = wxPyBeginAllowThreads();
20917 delete arg1;
20918
20919 wxPyEndAllowThreads(__tstate);
20920 if (PyErr_Occurred()) SWIG_fail;
20921 }
20922 Py_INCREF(Py_None); resultobj = Py_None;
20923 return resultobj;
20924 fail:
20925 return NULL;
20926}
20927
20928
2f4c0a16 20929static PyObject *_wrap_AcceleratorEntry_Set(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20930 PyObject *resultobj;
20931 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20932 int arg2 ;
20933 int arg3 ;
20934 int arg4 ;
20935 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
20936 PyObject * obj0 = 0 ;
8edf1c75
RD
20937 PyObject * obj1 = 0 ;
20938 PyObject * obj2 = 0 ;
20939 PyObject * obj3 = 0 ;
41f1cec7
RD
20940 PyObject * obj4 = 0 ;
20941 char *kwnames[] = {
20942 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20943 };
20944
8edf1c75 20945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
20946 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20948 arg2 = (int) SWIG_AsInt(obj1);
20949 if (PyErr_Occurred()) SWIG_fail;
20950 arg3 = (int) SWIG_AsInt(obj2);
20951 if (PyErr_Occurred()) SWIG_fail;
20952 arg4 = (int) SWIG_AsInt(obj3);
20953 if (PyErr_Occurred()) SWIG_fail;
41f1cec7 20954 if (obj4) {
2f4c0a16
RD
20955 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenuItem,
20956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20957 }
20958 {
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 (arg1)->Set(arg2,arg3,arg4,arg5);
20961
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
20965 Py_INCREF(Py_None); resultobj = Py_None;
20966 return resultobj;
20967 fail:
20968 return NULL;
20969}
20970
20971
2f4c0a16 20972static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
20973 PyObject *resultobj;
20974 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20975 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
20976 PyObject * obj0 = 0 ;
20977 PyObject * obj1 = 0 ;
20978 char *kwnames[] = {
20979 (char *) "self",(char *) "item", NULL
20980 };
20981
20982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20985 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
20986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20987 {
20988 PyThreadState* __tstate = wxPyBeginAllowThreads();
20989 (arg1)->SetMenuItem(arg2);
20990
20991 wxPyEndAllowThreads(__tstate);
20992 if (PyErr_Occurred()) SWIG_fail;
20993 }
20994 Py_INCREF(Py_None); resultobj = Py_None;
20995 return resultobj;
20996 fail:
20997 return NULL;
20998}
20999
21000
2f4c0a16 21001static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
21002 PyObject *resultobj;
21003 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21004 wxMenuItem *result;
21005 PyObject * obj0 = 0 ;
21006 char *kwnames[] = {
21007 (char *) "self", NULL
21008 };
21009
21010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
21013 {
21014 PyThreadState* __tstate = wxPyBeginAllowThreads();
21015 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
21016
21017 wxPyEndAllowThreads(__tstate);
21018 if (PyErr_Occurred()) SWIG_fail;
21019 }
21020 {
21021 resultobj = wxPyMake_wxObject(result);
21022 }
21023 return resultobj;
21024 fail:
21025 return NULL;
21026}
21027
21028
2f4c0a16 21029static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
21030 PyObject *resultobj;
21031 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21032 int result;
21033 PyObject * obj0 = 0 ;
21034 char *kwnames[] = {
21035 (char *) "self", NULL
21036 };
21037
21038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = (int)(arg1)->GetFlags();
21044
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
2f4c0a16 21048 resultobj = SWIG_FromInt((int)result);
41f1cec7
RD
21049 return resultobj;
21050 fail:
21051 return NULL;
21052}
21053
21054
2f4c0a16 21055static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
21056 PyObject *resultobj;
21057 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21058 int result;
21059 PyObject * obj0 = 0 ;
21060 char *kwnames[] = {
21061 (char *) "self", NULL
21062 };
21063
21064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 result = (int)(arg1)->GetKeyCode();
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
2f4c0a16 21074 resultobj = SWIG_FromInt((int)result);
41f1cec7
RD
21075 return resultobj;
21076 fail:
21077 return NULL;
21078}
21079
21080
2f4c0a16 21081static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
21082 PyObject *resultobj;
21083 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
21084 int result;
21085 PyObject * obj0 = 0 ;
21086 char *kwnames[] = {
21087 (char *) "self", NULL
21088 };
21089
21090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
21092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 result = (int)(arg1)->GetCommand();
21096
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
2f4c0a16 21100 resultobj = SWIG_FromInt((int)result);
41f1cec7
RD
21101 return resultobj;
21102 fail:
21103 return NULL;
21104}
21105
21106
2f4c0a16 21107static PyObject * AcceleratorEntry_swigregister(PyObject *, PyObject *args) {
41f1cec7
RD
21108 PyObject *obj;
21109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21110 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
21111 Py_INCREF(obj);
21112 return Py_BuildValue((char *)"");
21113}
2f4c0a16 21114static PyObject *_wrap_new_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
21115 PyObject *resultobj;
21116 int arg1 ;
21117 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
21118 wxAcceleratorTable *result;
21119 PyObject * obj0 = 0 ;
21120 char *kwnames[] = {
21121 (char *) "n", NULL
21122 };
21123
21124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
21125 {
21126 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
21127 if (arg2) arg1 = PyList_Size(obj0);
21128 else arg1 = 0;
21129 }
21130 {
21131 PyThreadState* __tstate = wxPyBeginAllowThreads();
21132 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
21133
21134 wxPyEndAllowThreads(__tstate);
21135 if (PyErr_Occurred()) SWIG_fail;
21136 }
2f4c0a16 21137 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
41f1cec7
RD
21138 {
21139 delete [] arg2;
21140 }
21141 return resultobj;
21142 fail:
21143 {
21144 delete [] arg2;
21145 }
21146 return NULL;
21147}
21148
21149
2f4c0a16 21150static PyObject *_wrap_delete_AcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
21151 PyObject *resultobj;
21152 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21153 PyObject * obj0 = 0 ;
21154 char *kwnames[] = {
21155 (char *) "self", NULL
21156 };
21157
21158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
21161 {
21162 PyThreadState* __tstate = wxPyBeginAllowThreads();
21163 delete arg1;
21164
21165 wxPyEndAllowThreads(__tstate);
21166 if (PyErr_Occurred()) SWIG_fail;
21167 }
21168 Py_INCREF(Py_None); resultobj = Py_None;
21169 return resultobj;
21170 fail:
21171 return NULL;
21172}
21173
21174
2f4c0a16 21175static PyObject *_wrap_AcceleratorTable_Ok(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
21176 PyObject *resultobj;
21177 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
21178 bool result;
21179 PyObject * obj0 = 0 ;
21180 char *kwnames[] = {
21181 (char *) "self", NULL
21182 };
21183
21184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
21186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
21187 {
21188 PyThreadState* __tstate = wxPyBeginAllowThreads();
21189 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
21190
21191 wxPyEndAllowThreads(__tstate);
21192 if (PyErr_Occurred()) SWIG_fail;
21193 }
fbc46b20
RD
21194 {
21195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21196 }
41f1cec7
RD
21197 return resultobj;
21198 fail:
21199 return NULL;
21200}
21201
21202
2f4c0a16 21203static PyObject * AcceleratorTable_swigregister(PyObject *, PyObject *args) {
41f1cec7
RD
21204 PyObject *obj;
21205 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21206 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
21207 Py_INCREF(obj);
21208 return Py_BuildValue((char *)"");
21209}
8edf1c75 21210static int _wrap_NullAcceleratorTable_set(PyObject *) {
41f1cec7
RD
21211 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
21212 return 1;
21213}
21214
21215
21216static PyObject *_wrap_NullAcceleratorTable_get() {
21217 PyObject *pyobj;
21218
2f4c0a16 21219 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
41f1cec7
RD
21220 return pyobj;
21221}
21222
21223
2f4c0a16 21224static PyObject *_wrap_GetAccelFromString(PyObject *, PyObject *args, PyObject *kwargs) {
41f1cec7
RD
21225 PyObject *resultobj;
21226 wxString *arg1 = 0 ;
21227 wxAcceleratorEntry *result;
21228 bool temp1 = False ;
21229 PyObject * obj0 = 0 ;
21230 char *kwnames[] = {
21231 (char *) "label", NULL
21232 };
21233
21234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
21235 {
21236 arg1 = wxString_in_helper(obj0);
21237 if (arg1 == NULL) SWIG_fail;
21238 temp1 = True;
21239 }
21240 {
21241 PyThreadState* __tstate = wxPyBeginAllowThreads();
21242 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
21243
21244 wxPyEndAllowThreads(__tstate);
21245 if (PyErr_Occurred()) SWIG_fail;
21246 }
2f4c0a16 21247 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
41f1cec7
RD
21248 {
21249 if (temp1)
21250 delete arg1;
21251 }
21252 return resultobj;
21253 fail:
21254 {
21255 if (temp1)
21256 delete arg1;
21257 }
21258 return NULL;
21259}
21260
21261
8edf1c75 21262static int _wrap_PanelNameStr_set(PyObject *) {
423f194a
RD
21263 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
21264 return 1;
21265}
21266
21267
21268static PyObject *_wrap_PanelNameStr_get() {
21269 PyObject *pyobj;
21270
21271 {
21272#if wxUSE_UNICODE
21273 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21274#else
21275 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
21276#endif
21277 }
21278 return pyobj;
21279}
21280
21281
377d47bd
RD
21282static PyObject *_wrap_new_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxVisualAttributes *result;
21285 char *kwnames[] = {
21286 NULL
21287 };
21288
21289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_VisualAttributes",kwnames)) goto fail;
21290 {
21291 PyThreadState* __tstate = wxPyBeginAllowThreads();
21292 result = (wxVisualAttributes *)new_wxVisualAttributes();
21293
21294 wxPyEndAllowThreads(__tstate);
21295 if (PyErr_Occurred()) SWIG_fail;
21296 }
21297 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxVisualAttributes, 1);
21298 return resultobj;
21299 fail:
21300 return NULL;
21301}
21302
21303
21304static PyObject *_wrap_delete_VisualAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
21305 PyObject *resultobj;
21306 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21307 PyObject * obj0 = 0 ;
21308 char *kwnames[] = {
21309 (char *) "self", NULL
21310 };
21311
21312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_VisualAttributes",kwnames,&obj0)) goto fail;
21313 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21314 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21315 {
21316 PyThreadState* __tstate = wxPyBeginAllowThreads();
21317 delete_wxVisualAttributes(arg1);
21318
21319 wxPyEndAllowThreads(__tstate);
21320 if (PyErr_Occurred()) SWIG_fail;
21321 }
21322 Py_INCREF(Py_None); resultobj = Py_None;
21323 return resultobj;
21324 fail:
21325 return NULL;
21326}
21327
21328
21329static PyObject *_wrap_VisualAttributes_font_set(PyObject *, PyObject *args, PyObject *kwargs) {
21330 PyObject *resultobj;
21331 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21332 wxFont *arg2 = (wxFont *) 0 ;
21333 PyObject * obj0 = 0 ;
21334 PyObject * obj1 = 0 ;
21335 char *kwnames[] = {
21336 (char *) "self",(char *) "font", NULL
21337 };
21338
21339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_font_set",kwnames,&obj0,&obj1)) goto fail;
21340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
21343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21344 if (arg1) (arg1)->font = *arg2;
21345
21346 Py_INCREF(Py_None); resultobj = Py_None;
21347 return resultobj;
21348 fail:
21349 return NULL;
21350}
21351
21352
21353static PyObject *_wrap_VisualAttributes_font_get(PyObject *, PyObject *args, PyObject *kwargs) {
21354 PyObject *resultobj;
21355 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21356 wxFont *result;
21357 PyObject * obj0 = 0 ;
21358 char *kwnames[] = {
21359 (char *) "self", NULL
21360 };
21361
21362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_font_get",kwnames,&obj0)) goto fail;
21363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21365 result = (wxFont *)& ((arg1)->font);
21366
21367 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFont, 0);
21368 return resultobj;
21369 fail:
21370 return NULL;
21371}
21372
21373
21374static PyObject *_wrap_VisualAttributes_colFg_set(PyObject *, PyObject *args, PyObject *kwargs) {
21375 PyObject *resultobj;
21376 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21377 wxColour *arg2 = (wxColour *) 0 ;
21378 PyObject * obj0 = 0 ;
21379 PyObject * obj1 = 0 ;
21380 char *kwnames[] = {
21381 (char *) "self",(char *) "colFg", NULL
21382 };
21383
21384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colFg_set",kwnames,&obj0,&obj1)) goto fail;
21385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21387 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21389 if (arg1) (arg1)->colFg = *arg2;
21390
21391 Py_INCREF(Py_None); resultobj = Py_None;
21392 return resultobj;
21393 fail:
21394 return NULL;
21395}
21396
21397
21398static PyObject *_wrap_VisualAttributes_colFg_get(PyObject *, PyObject *args, PyObject *kwargs) {
21399 PyObject *resultobj;
21400 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21401 wxColour *result;
21402 PyObject * obj0 = 0 ;
21403 char *kwnames[] = {
21404 (char *) "self", NULL
21405 };
21406
21407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colFg_get",kwnames,&obj0)) goto fail;
21408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21410 result = (wxColour *)& ((arg1)->colFg);
21411
21412 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21413 return resultobj;
21414 fail:
21415 return NULL;
21416}
21417
21418
21419static PyObject *_wrap_VisualAttributes_colBg_set(PyObject *, PyObject *args, PyObject *kwargs) {
21420 PyObject *resultobj;
21421 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21422 wxColour *arg2 = (wxColour *) 0 ;
21423 PyObject * obj0 = 0 ;
21424 PyObject * obj1 = 0 ;
21425 char *kwnames[] = {
21426 (char *) "self",(char *) "colBg", NULL
21427 };
21428
21429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VisualAttributes_colBg_set",kwnames,&obj0,&obj1)) goto fail;
21430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21432 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxColour,
21433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21434 if (arg1) (arg1)->colBg = *arg2;
21435
21436 Py_INCREF(Py_None); resultobj = Py_None;
21437 return resultobj;
21438 fail:
21439 return NULL;
21440}
21441
21442
21443static PyObject *_wrap_VisualAttributes_colBg_get(PyObject *, PyObject *args, PyObject *kwargs) {
21444 PyObject *resultobj;
21445 wxVisualAttributes *arg1 = (wxVisualAttributes *) 0 ;
21446 wxColour *result;
21447 PyObject * obj0 = 0 ;
21448 char *kwnames[] = {
21449 (char *) "self", NULL
21450 };
21451
21452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VisualAttributes_colBg_get",kwnames,&obj0)) goto fail;
21453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxVisualAttributes,
21454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21455 result = (wxColour *)& ((arg1)->colBg);
21456
21457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxColour, 0);
21458 return resultobj;
21459 fail:
21460 return NULL;
21461}
21462
21463
21464static PyObject * VisualAttributes_swigregister(PyObject *, PyObject *args) {
21465 PyObject *obj;
21466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21467 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes, obj);
21468 Py_INCREF(obj);
21469 return Py_BuildValue((char *)"");
21470}
2f4c0a16 21471static PyObject *_wrap_new_Window(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21472 PyObject *resultobj;
21473 wxWindow *arg1 = (wxWindow *) 0 ;
377d47bd 21474 int arg2 = (int) (int)-1 ;
d14a1e28
RD
21475 wxPoint const &arg3_defvalue = wxDefaultPosition ;
21476 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
21477 wxSize const &arg4_defvalue = wxDefaultSize ;
21478 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
21479 long arg5 = (long) 0 ;
21480 wxString const &arg6_defvalue = wxPyPanelNameStr ;
21481 wxString *arg6 = (wxString *) &arg6_defvalue ;
21482 wxWindow *result;
21483 wxPoint temp3 ;
21484 wxSize temp4 ;
423f194a 21485 bool temp6 = False ;
d14a1e28 21486 PyObject * obj0 = 0 ;
8edf1c75 21487 PyObject * obj1 = 0 ;
d14a1e28
RD
21488 PyObject * obj2 = 0 ;
21489 PyObject * obj3 = 0 ;
8edf1c75 21490 PyObject * obj4 = 0 ;
d14a1e28
RD
21491 PyObject * obj5 = 0 ;
21492 char *kwnames[] = {
21493 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21494 };
21495
377d47bd 21496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21497 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21498 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
377d47bd
RD
21499 if (obj1) {
21500 arg2 = (int const) SWIG_AsInt(obj1);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
d14a1e28
RD
21503 if (obj2) {
21504 {
21505 arg3 = &temp3;
21506 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
21507 }
21508 }
21509 if (obj3) {
21510 {
21511 arg4 = &temp4;
21512 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
21513 }
21514 }
8edf1c75 21515 if (obj4) {
2f4c0a16
RD
21516 arg5 = (long) SWIG_AsLong(obj4);
21517 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21518 }
d14a1e28
RD
21519 if (obj5) {
21520 {
21521 arg6 = wxString_in_helper(obj5);
21522 if (arg6 == NULL) SWIG_fail;
423f194a 21523 temp6 = True;
d14a1e28
RD
21524 }
21525 }
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
21529
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 {
21534 resultobj = wxPyMake_wxObject(result);
21535 }
21536 {
21537 if (temp6)
21538 delete arg6;
21539 }
21540 return resultobj;
21541 fail:
21542 {
21543 if (temp6)
21544 delete arg6;
21545 }
21546 return NULL;
21547}
21548
21549
2f4c0a16 21550static PyObject *_wrap_new_PreWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21551 PyObject *resultobj;
21552 wxWindow *result;
21553 char *kwnames[] = {
21554 NULL
21555 };
21556
21557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
21558 {
21559 PyThreadState* __tstate = wxPyBeginAllowThreads();
21560 result = (wxWindow *)new wxWindow();
21561
21562 wxPyEndAllowThreads(__tstate);
21563 if (PyErr_Occurred()) SWIG_fail;
21564 }
21565 {
21566 resultobj = wxPyMake_wxObject(result);
21567 }
21568 return resultobj;
21569 fail:
21570 return NULL;
21571}
21572
21573
2f4c0a16 21574static PyObject *_wrap_Window_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21575 PyObject *resultobj;
21576 wxWindow *arg1 = (wxWindow *) 0 ;
21577 wxWindow *arg2 = (wxWindow *) 0 ;
377d47bd 21578 int arg3 = (int) (int)-1 ;
d14a1e28
RD
21579 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21580 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21581 wxSize const &arg5_defvalue = wxDefaultSize ;
21582 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21583 long arg6 = (long) 0 ;
21584 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21585 wxString *arg7 = (wxString *) &arg7_defvalue ;
21586 bool result;
21587 wxPoint temp4 ;
21588 wxSize temp5 ;
423f194a 21589 bool temp7 = False ;
d14a1e28
RD
21590 PyObject * obj0 = 0 ;
21591 PyObject * obj1 = 0 ;
8edf1c75 21592 PyObject * obj2 = 0 ;
d14a1e28
RD
21593 PyObject * obj3 = 0 ;
21594 PyObject * obj4 = 0 ;
8edf1c75 21595 PyObject * obj5 = 0 ;
d14a1e28
RD
21596 PyObject * obj6 = 0 ;
21597 char *kwnames[] = {
21598 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21599 };
21600
377d47bd 21601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
21602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21604 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
21605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
377d47bd
RD
21606 if (obj2) {
21607 arg3 = (int const) SWIG_AsInt(obj2);
21608 if (PyErr_Occurred()) SWIG_fail;
21609 }
d14a1e28
RD
21610 if (obj3) {
21611 {
21612 arg4 = &temp4;
21613 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21614 }
21615 }
21616 if (obj4) {
21617 {
21618 arg5 = &temp5;
21619 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21620 }
21621 }
8edf1c75 21622 if (obj5) {
2f4c0a16
RD
21623 arg6 = (long) SWIG_AsLong(obj5);
21624 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21625 }
d14a1e28
RD
21626 if (obj6) {
21627 {
21628 arg7 = wxString_in_helper(obj6);
21629 if (arg7 == NULL) SWIG_fail;
423f194a 21630 temp7 = True;
d14a1e28
RD
21631 }
21632 }
21633 {
21634 PyThreadState* __tstate = wxPyBeginAllowThreads();
21635 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21636
21637 wxPyEndAllowThreads(__tstate);
21638 if (PyErr_Occurred()) SWIG_fail;
21639 }
fbc46b20
RD
21640 {
21641 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21642 }
d14a1e28
RD
21643 {
21644 if (temp7)
21645 delete arg7;
21646 }
21647 return resultobj;
21648 fail:
21649 {
21650 if (temp7)
21651 delete arg7;
21652 }
21653 return NULL;
21654}
21655
21656
2f4c0a16 21657static PyObject *_wrap_Window_Close(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21658 PyObject *resultobj;
21659 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21660 bool arg2 = (bool) False ;
d14a1e28
RD
21661 bool result;
21662 PyObject * obj0 = 0 ;
21663 PyObject * obj1 = 0 ;
21664 char *kwnames[] = {
21665 (char *) "self",(char *) "force", NULL
21666 };
21667
21668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21671 if (obj1) {
2f4c0a16
RD
21672 arg2 = (bool) SWIG_AsBool(obj1);
21673 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21674 }
21675 {
21676 PyThreadState* __tstate = wxPyBeginAllowThreads();
21677 result = (bool)(arg1)->Close(arg2);
21678
21679 wxPyEndAllowThreads(__tstate);
21680 if (PyErr_Occurred()) SWIG_fail;
21681 }
fbc46b20
RD
21682 {
21683 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21684 }
d14a1e28
RD
21685 return resultobj;
21686 fail:
21687 return NULL;
21688}
21689
21690
2f4c0a16 21691static PyObject *_wrap_Window_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21692 PyObject *resultobj;
21693 wxWindow *arg1 = (wxWindow *) 0 ;
21694 bool result;
21695 PyObject * obj0 = 0 ;
21696 char *kwnames[] = {
21697 (char *) "self", NULL
21698 };
21699
21700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21703 {
21704 PyThreadState* __tstate = wxPyBeginAllowThreads();
21705 result = (bool)(arg1)->Destroy();
21706
21707 wxPyEndAllowThreads(__tstate);
21708 if (PyErr_Occurred()) SWIG_fail;
21709 }
fbc46b20
RD
21710 {
21711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21712 }
d14a1e28
RD
21713 return resultobj;
21714 fail:
21715 return NULL;
21716}
21717
21718
2f4c0a16 21719static PyObject *_wrap_Window_DestroyChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21720 PyObject *resultobj;
21721 wxWindow *arg1 = (wxWindow *) 0 ;
21722 bool result;
21723 PyObject * obj0 = 0 ;
21724 char *kwnames[] = {
21725 (char *) "self", NULL
21726 };
21727
21728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21731 {
21732 PyThreadState* __tstate = wxPyBeginAllowThreads();
21733 result = (bool)(arg1)->DestroyChildren();
21734
21735 wxPyEndAllowThreads(__tstate);
21736 if (PyErr_Occurred()) SWIG_fail;
21737 }
fbc46b20
RD
21738 {
21739 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21740 }
d14a1e28
RD
21741 return resultobj;
21742 fail:
21743 return NULL;
21744}
21745
21746
2f4c0a16 21747static PyObject *_wrap_Window_IsBeingDeleted(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21748 PyObject *resultobj;
21749 wxWindow *arg1 = (wxWindow *) 0 ;
21750 bool result;
21751 PyObject * obj0 = 0 ;
21752 char *kwnames[] = {
21753 (char *) "self", NULL
21754 };
21755
21756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21759 {
21760 PyThreadState* __tstate = wxPyBeginAllowThreads();
21761 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21762
21763 wxPyEndAllowThreads(__tstate);
21764 if (PyErr_Occurred()) SWIG_fail;
21765 }
fbc46b20
RD
21766 {
21767 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21768 }
d14a1e28
RD
21769 return resultobj;
21770 fail:
21771 return NULL;
21772}
21773
21774
2f4c0a16 21775static PyObject *_wrap_Window_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21776 PyObject *resultobj;
21777 wxWindow *arg1 = (wxWindow *) 0 ;
21778 wxString *arg2 = 0 ;
423f194a 21779 bool temp2 = False ;
d14a1e28
RD
21780 PyObject * obj0 = 0 ;
21781 PyObject * obj1 = 0 ;
21782 char *kwnames[] = {
21783 (char *) "self",(char *) "title", NULL
21784 };
21785
21786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21789 {
21790 arg2 = wxString_in_helper(obj1);
21791 if (arg2 == NULL) SWIG_fail;
423f194a 21792 temp2 = True;
d14a1e28
RD
21793 }
21794 {
21795 PyThreadState* __tstate = wxPyBeginAllowThreads();
21796 (arg1)->SetTitle((wxString const &)*arg2);
21797
21798 wxPyEndAllowThreads(__tstate);
21799 if (PyErr_Occurred()) SWIG_fail;
21800 }
21801 Py_INCREF(Py_None); resultobj = Py_None;
21802 {
21803 if (temp2)
21804 delete arg2;
21805 }
21806 return resultobj;
21807 fail:
21808 {
21809 if (temp2)
21810 delete arg2;
21811 }
21812 return NULL;
21813}
21814
21815
2f4c0a16 21816static PyObject *_wrap_Window_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21817 PyObject *resultobj;
21818 wxWindow *arg1 = (wxWindow *) 0 ;
21819 wxString result;
21820 PyObject * obj0 = 0 ;
21821 char *kwnames[] = {
21822 (char *) "self", NULL
21823 };
21824
21825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21828 {
21829 PyThreadState* __tstate = wxPyBeginAllowThreads();
21830 result = ((wxWindow const *)arg1)->GetTitle();
21831
21832 wxPyEndAllowThreads(__tstate);
21833 if (PyErr_Occurred()) SWIG_fail;
21834 }
21835 {
21836#if wxUSE_UNICODE
21837 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21838#else
21839 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21840#endif
21841 }
21842 return resultobj;
21843 fail:
21844 return NULL;
21845}
21846
21847
2f4c0a16 21848static PyObject *_wrap_Window_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21849 PyObject *resultobj;
21850 wxWindow *arg1 = (wxWindow *) 0 ;
21851 wxString *arg2 = 0 ;
423f194a 21852 bool temp2 = False ;
d14a1e28
RD
21853 PyObject * obj0 = 0 ;
21854 PyObject * obj1 = 0 ;
21855 char *kwnames[] = {
21856 (char *) "self",(char *) "label", NULL
21857 };
21858
21859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21862 {
21863 arg2 = wxString_in_helper(obj1);
21864 if (arg2 == NULL) SWIG_fail;
423f194a 21865 temp2 = True;
d14a1e28
RD
21866 }
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 (arg1)->SetLabel((wxString const &)*arg2);
21870
21871 wxPyEndAllowThreads(__tstate);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 Py_INCREF(Py_None); resultobj = Py_None;
21875 {
21876 if (temp2)
21877 delete arg2;
21878 }
21879 return resultobj;
21880 fail:
21881 {
21882 if (temp2)
21883 delete arg2;
21884 }
21885 return NULL;
21886}
21887
21888
2f4c0a16 21889static PyObject *_wrap_Window_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21890 PyObject *resultobj;
21891 wxWindow *arg1 = (wxWindow *) 0 ;
21892 wxString result;
21893 PyObject * obj0 = 0 ;
21894 char *kwnames[] = {
21895 (char *) "self", NULL
21896 };
21897
21898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21901 {
21902 PyThreadState* __tstate = wxPyBeginAllowThreads();
21903 result = ((wxWindow const *)arg1)->GetLabel();
21904
21905 wxPyEndAllowThreads(__tstate);
21906 if (PyErr_Occurred()) SWIG_fail;
21907 }
21908 {
21909#if wxUSE_UNICODE
21910 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21911#else
21912 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21913#endif
21914 }
21915 return resultobj;
21916 fail:
21917 return NULL;
21918}
21919
21920
2f4c0a16 21921static PyObject *_wrap_Window_SetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21922 PyObject *resultobj;
21923 wxWindow *arg1 = (wxWindow *) 0 ;
21924 wxString *arg2 = 0 ;
423f194a 21925 bool temp2 = False ;
d14a1e28
RD
21926 PyObject * obj0 = 0 ;
21927 PyObject * obj1 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self",(char *) "name", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21933 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21934 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21935 {
21936 arg2 = wxString_in_helper(obj1);
21937 if (arg2 == NULL) SWIG_fail;
423f194a 21938 temp2 = True;
d14a1e28
RD
21939 }
21940 {
21941 PyThreadState* __tstate = wxPyBeginAllowThreads();
21942 (arg1)->SetName((wxString const &)*arg2);
21943
21944 wxPyEndAllowThreads(__tstate);
21945 if (PyErr_Occurred()) SWIG_fail;
21946 }
21947 Py_INCREF(Py_None); resultobj = Py_None;
21948 {
21949 if (temp2)
21950 delete arg2;
21951 }
21952 return resultobj;
21953 fail:
21954 {
21955 if (temp2)
21956 delete arg2;
21957 }
21958 return NULL;
21959}
21960
21961
2f4c0a16 21962static PyObject *_wrap_Window_GetName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
21963 PyObject *resultobj;
21964 wxWindow *arg1 = (wxWindow *) 0 ;
21965 wxString result;
21966 PyObject * obj0 = 0 ;
21967 char *kwnames[] = {
21968 (char *) "self", NULL
21969 };
21970
21971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21974 {
21975 PyThreadState* __tstate = wxPyBeginAllowThreads();
21976 result = ((wxWindow const *)arg1)->GetName();
21977
21978 wxPyEndAllowThreads(__tstate);
21979 if (PyErr_Occurred()) SWIG_fail;
21980 }
21981 {
21982#if wxUSE_UNICODE
21983 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21984#else
21985 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21986#endif
21987 }
21988 return resultobj;
21989 fail:
21990 return NULL;
21991}
21992
21993
ce7284bd
RD
21994static PyObject *_wrap_Window_SetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
21995 PyObject *resultobj;
21996 wxWindow *arg1 = (wxWindow *) 0 ;
21997 int arg2 ;
21998 PyObject * obj0 = 0 ;
21999 PyObject * obj1 = 0 ;
22000 char *kwnames[] = {
22001 (char *) "self",(char *) "variant", NULL
22002 };
22003
22004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
22005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22007 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
22008 if (PyErr_Occurred()) SWIG_fail;
22009 {
22010 PyThreadState* __tstate = wxPyBeginAllowThreads();
22011 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
22012
22013 wxPyEndAllowThreads(__tstate);
22014 if (PyErr_Occurred()) SWIG_fail;
22015 }
22016 Py_INCREF(Py_None); resultobj = Py_None;
22017 return resultobj;
22018 fail:
22019 return NULL;
22020}
22021
22022
22023static PyObject *_wrap_Window_GetWindowVariant(PyObject *, PyObject *args, PyObject *kwargs) {
22024 PyObject *resultobj;
22025 wxWindow *arg1 = (wxWindow *) 0 ;
22026 int result;
22027 PyObject * obj0 = 0 ;
22028 char *kwnames[] = {
22029 (char *) "self", NULL
22030 };
22031
22032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
22033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22035 {
22036 PyThreadState* __tstate = wxPyBeginAllowThreads();
22037 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
22038
22039 wxPyEndAllowThreads(__tstate);
22040 if (PyErr_Occurred()) SWIG_fail;
22041 }
22042 resultobj = SWIG_FromInt((int)result);
22043 return resultobj;
22044 fail:
22045 return NULL;
22046}
22047
22048
2f4c0a16 22049static PyObject *_wrap_Window_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22050 PyObject *resultobj;
22051 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 22052 int arg2 ;
d14a1e28 22053 PyObject * obj0 = 0 ;
8edf1c75 22054 PyObject * obj1 = 0 ;
d14a1e28
RD
22055 char *kwnames[] = {
22056 (char *) "self",(char *) "winid", NULL
22057 };
22058
8edf1c75 22059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22062 arg2 = (int) SWIG_AsInt(obj1);
22063 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22064 {
22065 PyThreadState* __tstate = wxPyBeginAllowThreads();
22066 (arg1)->SetId(arg2);
22067
22068 wxPyEndAllowThreads(__tstate);
22069 if (PyErr_Occurred()) SWIG_fail;
22070 }
22071 Py_INCREF(Py_None); resultobj = Py_None;
22072 return resultobj;
22073 fail:
22074 return NULL;
22075}
22076
22077
2f4c0a16 22078static PyObject *_wrap_Window_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22079 PyObject *resultobj;
22080 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 22081 int result;
d14a1e28
RD
22082 PyObject * obj0 = 0 ;
22083 char *kwnames[] = {
22084 (char *) "self", NULL
22085 };
22086
22087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22090 {
22091 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 22092 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
2f4c0a16 22097 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22098 return resultobj;
22099 fail:
22100 return NULL;
22101}
22102
22103
2f4c0a16 22104static PyObject *_wrap_Window_NewControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22105 PyObject *resultobj;
22106 int result;
22107 char *kwnames[] = {
22108 NULL
22109 };
22110
22111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
22112 {
22113 PyThreadState* __tstate = wxPyBeginAllowThreads();
22114 result = (int)wxWindow::NewControlId();
22115
22116 wxPyEndAllowThreads(__tstate);
22117 if (PyErr_Occurred()) SWIG_fail;
22118 }
2f4c0a16 22119 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22120 return resultobj;
22121 fail:
22122 return NULL;
22123}
22124
22125
2f4c0a16 22126static PyObject *_wrap_Window_NextControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22127 PyObject *resultobj;
22128 int arg1 ;
22129 int result;
8edf1c75 22130 PyObject * obj0 = 0 ;
d14a1e28
RD
22131 char *kwnames[] = {
22132 (char *) "winid", NULL
22133 };
22134
8edf1c75 22135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22136 arg1 = (int) SWIG_AsInt(obj0);
22137 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22138 {
22139 PyThreadState* __tstate = wxPyBeginAllowThreads();
22140 result = (int)wxWindow::NextControlId(arg1);
22141
22142 wxPyEndAllowThreads(__tstate);
22143 if (PyErr_Occurred()) SWIG_fail;
22144 }
2f4c0a16 22145 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22146 return resultobj;
22147 fail:
22148 return NULL;
22149}
22150
22151
2f4c0a16 22152static PyObject *_wrap_Window_PrevControlId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22153 PyObject *resultobj;
22154 int arg1 ;
22155 int result;
8edf1c75 22156 PyObject * obj0 = 0 ;
d14a1e28
RD
22157 char *kwnames[] = {
22158 (char *) "winid", NULL
22159 };
22160
8edf1c75 22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22162 arg1 = (int) SWIG_AsInt(obj0);
22163 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22164 {
22165 PyThreadState* __tstate = wxPyBeginAllowThreads();
22166 result = (int)wxWindow::PrevControlId(arg1);
22167
22168 wxPyEndAllowThreads(__tstate);
22169 if (PyErr_Occurred()) SWIG_fail;
22170 }
2f4c0a16 22171 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22172 return resultobj;
22173 fail:
22174 return NULL;
22175}
22176
22177
2f4c0a16 22178static PyObject *_wrap_Window_SetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22179 PyObject *resultobj;
22180 wxWindow *arg1 = (wxWindow *) 0 ;
22181 wxSize *arg2 = 0 ;
22182 wxSize temp2 ;
22183 PyObject * obj0 = 0 ;
22184 PyObject * obj1 = 0 ;
22185 char *kwnames[] = {
22186 (char *) "self",(char *) "size", NULL
22187 };
22188
22189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22190 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22191 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22192 {
22193 arg2 = &temp2;
22194 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22195 }
22196 {
22197 PyThreadState* __tstate = wxPyBeginAllowThreads();
22198 (arg1)->SetSize((wxSize const &)*arg2);
22199
22200 wxPyEndAllowThreads(__tstate);
22201 if (PyErr_Occurred()) SWIG_fail;
22202 }
22203 Py_INCREF(Py_None); resultobj = Py_None;
22204 return resultobj;
22205 fail:
22206 return NULL;
22207}
22208
22209
2f4c0a16 22210static PyObject *_wrap_Window_SetDimensions(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22211 PyObject *resultobj;
22212 wxWindow *arg1 = (wxWindow *) 0 ;
22213 int arg2 ;
22214 int arg3 ;
22215 int arg4 ;
22216 int arg5 ;
22217 int arg6 = (int) wxSIZE_AUTO ;
22218 PyObject * obj0 = 0 ;
8edf1c75
RD
22219 PyObject * obj1 = 0 ;
22220 PyObject * obj2 = 0 ;
22221 PyObject * obj3 = 0 ;
22222 PyObject * obj4 = 0 ;
22223 PyObject * obj5 = 0 ;
d14a1e28
RD
22224 char *kwnames[] = {
22225 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22226 };
22227
8edf1c75 22228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
22229 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22230 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22231 arg2 = (int) SWIG_AsInt(obj1);
22232 if (PyErr_Occurred()) SWIG_fail;
22233 arg3 = (int) SWIG_AsInt(obj2);
22234 if (PyErr_Occurred()) SWIG_fail;
22235 arg4 = (int) SWIG_AsInt(obj3);
22236 if (PyErr_Occurred()) SWIG_fail;
22237 arg5 = (int) SWIG_AsInt(obj4);
22238 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22239 if (obj5) {
2f4c0a16
RD
22240 arg6 = (int) SWIG_AsInt(obj5);
22241 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22242 }
d14a1e28
RD
22243 {
22244 PyThreadState* __tstate = wxPyBeginAllowThreads();
22245 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
22246
22247 wxPyEndAllowThreads(__tstate);
22248 if (PyErr_Occurred()) SWIG_fail;
22249 }
22250 Py_INCREF(Py_None); resultobj = Py_None;
22251 return resultobj;
22252 fail:
22253 return NULL;
22254}
22255
22256
2f4c0a16 22257static PyObject *_wrap_Window_SetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22258 PyObject *resultobj;
22259 wxWindow *arg1 = (wxWindow *) 0 ;
22260 wxRect *arg2 = 0 ;
22261 int arg3 = (int) wxSIZE_AUTO ;
22262 wxRect temp2 ;
22263 PyObject * obj0 = 0 ;
22264 PyObject * obj1 = 0 ;
8edf1c75 22265 PyObject * obj2 = 0 ;
d14a1e28
RD
22266 char *kwnames[] = {
22267 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22268 };
22269
8edf1c75 22270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22273 {
22274 arg2 = &temp2;
22275 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22276 }
8edf1c75 22277 if (obj2) {
2f4c0a16
RD
22278 arg3 = (int) SWIG_AsInt(obj2);
22279 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22280 }
d14a1e28
RD
22281 {
22282 PyThreadState* __tstate = wxPyBeginAllowThreads();
22283 (arg1)->SetSize((wxRect const &)*arg2,arg3);
22284
22285 wxPyEndAllowThreads(__tstate);
22286 if (PyErr_Occurred()) SWIG_fail;
22287 }
22288 Py_INCREF(Py_None); resultobj = Py_None;
22289 return resultobj;
22290 fail:
22291 return NULL;
22292}
22293
22294
2f4c0a16 22295static PyObject *_wrap_Window_SetSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22296 PyObject *resultobj;
22297 wxWindow *arg1 = (wxWindow *) 0 ;
22298 int arg2 ;
22299 int arg3 ;
22300 PyObject * obj0 = 0 ;
8edf1c75
RD
22301 PyObject * obj1 = 0 ;
22302 PyObject * obj2 = 0 ;
d14a1e28
RD
22303 char *kwnames[] = {
22304 (char *) "self",(char *) "width",(char *) "height", NULL
22305 };
22306
8edf1c75 22307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22310 arg2 = (int) SWIG_AsInt(obj1);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 arg3 = (int) SWIG_AsInt(obj2);
22313 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22314 {
22315 PyThreadState* __tstate = wxPyBeginAllowThreads();
22316 (arg1)->SetSize(arg2,arg3);
22317
22318 wxPyEndAllowThreads(__tstate);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 }
22321 Py_INCREF(Py_None); resultobj = Py_None;
22322 return resultobj;
22323 fail:
22324 return NULL;
22325}
22326
22327
2f4c0a16 22328static PyObject *_wrap_Window_Move(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22329 PyObject *resultobj;
22330 wxWindow *arg1 = (wxWindow *) 0 ;
22331 wxPoint *arg2 = 0 ;
22332 int arg3 = (int) wxSIZE_USE_EXISTING ;
22333 wxPoint temp2 ;
22334 PyObject * obj0 = 0 ;
22335 PyObject * obj1 = 0 ;
8edf1c75 22336 PyObject * obj2 = 0 ;
d14a1e28
RD
22337 char *kwnames[] = {
22338 (char *) "self",(char *) "pt",(char *) "flags", NULL
22339 };
22340
8edf1c75 22341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22342 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22344 {
22345 arg2 = &temp2;
22346 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22347 }
8edf1c75 22348 if (obj2) {
2f4c0a16
RD
22349 arg3 = (int) SWIG_AsInt(obj2);
22350 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22351 }
d14a1e28
RD
22352 {
22353 PyThreadState* __tstate = wxPyBeginAllowThreads();
22354 (arg1)->Move((wxPoint const &)*arg2,arg3);
22355
22356 wxPyEndAllowThreads(__tstate);
22357 if (PyErr_Occurred()) SWIG_fail;
22358 }
22359 Py_INCREF(Py_None); resultobj = Py_None;
22360 return resultobj;
22361 fail:
22362 return NULL;
22363}
22364
22365
2f4c0a16 22366static PyObject *_wrap_Window_MoveXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22367 PyObject *resultobj;
22368 wxWindow *arg1 = (wxWindow *) 0 ;
22369 int arg2 ;
22370 int arg3 ;
22371 int arg4 = (int) wxSIZE_USE_EXISTING ;
22372 PyObject * obj0 = 0 ;
8edf1c75
RD
22373 PyObject * obj1 = 0 ;
22374 PyObject * obj2 = 0 ;
22375 PyObject * obj3 = 0 ;
d14a1e28
RD
22376 char *kwnames[] = {
22377 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22378 };
22379
8edf1c75 22380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
22381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22383 arg2 = (int) SWIG_AsInt(obj1);
22384 if (PyErr_Occurred()) SWIG_fail;
22385 arg3 = (int) SWIG_AsInt(obj2);
22386 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22387 if (obj3) {
2f4c0a16
RD
22388 arg4 = (int) SWIG_AsInt(obj3);
22389 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22390 }
d14a1e28
RD
22391 {
22392 PyThreadState* __tstate = wxPyBeginAllowThreads();
22393 (arg1)->Move(arg2,arg3,arg4);
22394
22395 wxPyEndAllowThreads(__tstate);
22396 if (PyErr_Occurred()) SWIG_fail;
22397 }
22398 Py_INCREF(Py_None); resultobj = Py_None;
22399 return resultobj;
22400 fail:
22401 return NULL;
22402}
22403
22404
2f4c0a16 22405static PyObject *_wrap_Window_Raise(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22406 PyObject *resultobj;
22407 wxWindow *arg1 = (wxWindow *) 0 ;
22408 PyObject * obj0 = 0 ;
22409 char *kwnames[] = {
22410 (char *) "self", NULL
22411 };
22412
22413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22416 {
22417 PyThreadState* __tstate = wxPyBeginAllowThreads();
22418 (arg1)->Raise();
22419
22420 wxPyEndAllowThreads(__tstate);
22421 if (PyErr_Occurred()) SWIG_fail;
22422 }
22423 Py_INCREF(Py_None); resultobj = Py_None;
22424 return resultobj;
22425 fail:
22426 return NULL;
22427}
22428
22429
2f4c0a16 22430static PyObject *_wrap_Window_Lower(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22431 PyObject *resultobj;
22432 wxWindow *arg1 = (wxWindow *) 0 ;
22433 PyObject * obj0 = 0 ;
22434 char *kwnames[] = {
22435 (char *) "self", NULL
22436 };
22437
22438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22439 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22440 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22441 {
22442 PyThreadState* __tstate = wxPyBeginAllowThreads();
22443 (arg1)->Lower();
22444
22445 wxPyEndAllowThreads(__tstate);
22446 if (PyErr_Occurred()) SWIG_fail;
22447 }
22448 Py_INCREF(Py_None); resultobj = Py_None;
22449 return resultobj;
22450 fail:
22451 return NULL;
22452}
22453
22454
2f4c0a16 22455static PyObject *_wrap_Window_SetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22456 PyObject *resultobj;
22457 wxWindow *arg1 = (wxWindow *) 0 ;
22458 wxSize *arg2 = 0 ;
22459 wxSize temp2 ;
22460 PyObject * obj0 = 0 ;
22461 PyObject * obj1 = 0 ;
22462 char *kwnames[] = {
22463 (char *) "self",(char *) "size", NULL
22464 };
22465
22466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22467 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22469 {
22470 arg2 = &temp2;
22471 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22472 }
22473 {
22474 PyThreadState* __tstate = wxPyBeginAllowThreads();
22475 (arg1)->SetClientSize((wxSize const &)*arg2);
22476
22477 wxPyEndAllowThreads(__tstate);
22478 if (PyErr_Occurred()) SWIG_fail;
22479 }
22480 Py_INCREF(Py_None); resultobj = Py_None;
22481 return resultobj;
22482 fail:
22483 return NULL;
22484}
22485
22486
2f4c0a16 22487static PyObject *_wrap_Window_SetClientSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22488 PyObject *resultobj;
22489 wxWindow *arg1 = (wxWindow *) 0 ;
22490 int arg2 ;
22491 int arg3 ;
22492 PyObject * obj0 = 0 ;
8edf1c75
RD
22493 PyObject * obj1 = 0 ;
22494 PyObject * obj2 = 0 ;
d14a1e28
RD
22495 char *kwnames[] = {
22496 (char *) "self",(char *) "width",(char *) "height", NULL
22497 };
22498
8edf1c75 22499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22502 arg2 = (int) SWIG_AsInt(obj1);
22503 if (PyErr_Occurred()) SWIG_fail;
22504 arg3 = (int) SWIG_AsInt(obj2);
22505 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22506 {
22507 PyThreadState* __tstate = wxPyBeginAllowThreads();
22508 (arg1)->SetClientSize(arg2,arg3);
22509
22510 wxPyEndAllowThreads(__tstate);
22511 if (PyErr_Occurred()) SWIG_fail;
22512 }
22513 Py_INCREF(Py_None); resultobj = Py_None;
22514 return resultobj;
22515 fail:
22516 return NULL;
22517}
22518
22519
2f4c0a16 22520static PyObject *_wrap_Window_SetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22521 PyObject *resultobj;
22522 wxWindow *arg1 = (wxWindow *) 0 ;
22523 wxRect *arg2 = 0 ;
22524 wxRect temp2 ;
22525 PyObject * obj0 = 0 ;
22526 PyObject * obj1 = 0 ;
22527 char *kwnames[] = {
22528 (char *) "self",(char *) "rect", NULL
22529 };
22530
22531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22534 {
22535 arg2 = &temp2;
22536 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
22537 }
22538 {
22539 PyThreadState* __tstate = wxPyBeginAllowThreads();
22540 (arg1)->SetClientSize((wxRect const &)*arg2);
22541
22542 wxPyEndAllowThreads(__tstate);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 }
22545 Py_INCREF(Py_None); resultobj = Py_None;
22546 return resultobj;
22547 fail:
22548 return NULL;
22549}
22550
22551
2f4c0a16 22552static PyObject *_wrap_Window_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22553 PyObject *resultobj;
22554 wxWindow *arg1 = (wxWindow *) 0 ;
22555 wxPoint result;
22556 PyObject * obj0 = 0 ;
22557 char *kwnames[] = {
22558 (char *) "self", NULL
22559 };
22560
22561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22564 {
22565 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 22566 result = (arg1)->GetPosition();
d14a1e28
RD
22567
22568 wxPyEndAllowThreads(__tstate);
22569 if (PyErr_Occurred()) SWIG_fail;
22570 }
22571 {
22572 wxPoint * resultptr;
22573 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 22574 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22575 }
22576 return resultobj;
22577 fail:
22578 return NULL;
22579}
22580
22581
2f4c0a16 22582static PyObject *_wrap_Window_GetPositionTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22583 PyObject *resultobj;
22584 wxWindow *arg1 = (wxWindow *) 0 ;
22585 int *arg2 = (int *) 0 ;
22586 int *arg3 = (int *) 0 ;
22587 int temp2 ;
22588 int temp3 ;
22589 PyObject * obj0 = 0 ;
22590 char *kwnames[] = {
22591 (char *) "self", NULL
22592 };
22593
22594 arg2 = &temp2;
22595 arg3 = &temp3;
22596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22599 {
22600 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 22601 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
22602
22603 wxPyEndAllowThreads(__tstate);
22604 if (PyErr_Occurred()) SWIG_fail;
22605 }
22606 Py_INCREF(Py_None); resultobj = Py_None;
22607 {
22608 PyObject *o = PyInt_FromLong((long) (*arg2));
22609 resultobj = t_output_helper(resultobj,o);
22610 }
22611 {
22612 PyObject *o = PyInt_FromLong((long) (*arg3));
22613 resultobj = t_output_helper(resultobj,o);
22614 }
22615 return resultobj;
22616 fail:
22617 return NULL;
22618}
22619
22620
2f4c0a16 22621static PyObject *_wrap_Window_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22622 PyObject *resultobj;
22623 wxWindow *arg1 = (wxWindow *) 0 ;
22624 wxSize result;
22625 PyObject * obj0 = 0 ;
22626 char *kwnames[] = {
22627 (char *) "self", NULL
22628 };
22629
22630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22633 {
22634 PyThreadState* __tstate = wxPyBeginAllowThreads();
22635 result = ((wxWindow const *)arg1)->GetSize();
22636
22637 wxPyEndAllowThreads(__tstate);
22638 if (PyErr_Occurred()) SWIG_fail;
22639 }
22640 {
22641 wxSize * resultptr;
22642 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22643 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22644 }
22645 return resultobj;
22646 fail:
22647 return NULL;
22648}
22649
22650
2f4c0a16 22651static PyObject *_wrap_Window_GetSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22652 PyObject *resultobj;
22653 wxWindow *arg1 = (wxWindow *) 0 ;
22654 int *arg2 = (int *) 0 ;
22655 int *arg3 = (int *) 0 ;
22656 int temp2 ;
22657 int temp3 ;
22658 PyObject * obj0 = 0 ;
22659 char *kwnames[] = {
22660 (char *) "self", NULL
22661 };
22662
22663 arg2 = &temp2;
22664 arg3 = &temp3;
22665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22668 {
22669 PyThreadState* __tstate = wxPyBeginAllowThreads();
22670 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22671
22672 wxPyEndAllowThreads(__tstate);
22673 if (PyErr_Occurred()) SWIG_fail;
22674 }
22675 Py_INCREF(Py_None); resultobj = Py_None;
22676 {
22677 PyObject *o = PyInt_FromLong((long) (*arg2));
22678 resultobj = t_output_helper(resultobj,o);
22679 }
22680 {
22681 PyObject *o = PyInt_FromLong((long) (*arg3));
22682 resultobj = t_output_helper(resultobj,o);
22683 }
22684 return resultobj;
22685 fail:
22686 return NULL;
22687}
22688
22689
2f4c0a16 22690static PyObject *_wrap_Window_GetRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22691 PyObject *resultobj;
22692 wxWindow *arg1 = (wxWindow *) 0 ;
22693 wxRect result;
22694 PyObject * obj0 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22702 {
22703 PyThreadState* __tstate = wxPyBeginAllowThreads();
22704 result = ((wxWindow const *)arg1)->GetRect();
22705
22706 wxPyEndAllowThreads(__tstate);
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 {
22710 wxRect * resultptr;
22711 resultptr = new wxRect((wxRect &) result);
2f4c0a16 22712 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22713 }
22714 return resultobj;
22715 fail:
22716 return NULL;
22717}
22718
22719
2f4c0a16 22720static PyObject *_wrap_Window_GetClientSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22721 PyObject *resultobj;
22722 wxWindow *arg1 = (wxWindow *) 0 ;
22723 wxSize result;
22724 PyObject * obj0 = 0 ;
22725 char *kwnames[] = {
22726 (char *) "self", NULL
22727 };
22728
22729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22732 {
22733 PyThreadState* __tstate = wxPyBeginAllowThreads();
22734 result = ((wxWindow const *)arg1)->GetClientSize();
22735
22736 wxPyEndAllowThreads(__tstate);
22737 if (PyErr_Occurred()) SWIG_fail;
22738 }
22739 {
22740 wxSize * resultptr;
22741 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22742 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22743 }
22744 return resultobj;
22745 fail:
22746 return NULL;
22747}
22748
22749
2f4c0a16 22750static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22751 PyObject *resultobj;
22752 wxWindow *arg1 = (wxWindow *) 0 ;
22753 int *arg2 = (int *) 0 ;
22754 int *arg3 = (int *) 0 ;
22755 int temp2 ;
22756 int temp3 ;
22757 PyObject * obj0 = 0 ;
22758 char *kwnames[] = {
22759 (char *) "self", NULL
22760 };
22761
22762 arg2 = &temp2;
22763 arg3 = &temp3;
22764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22767 {
22768 PyThreadState* __tstate = wxPyBeginAllowThreads();
22769 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22770
22771 wxPyEndAllowThreads(__tstate);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 Py_INCREF(Py_None); resultobj = Py_None;
22775 {
22776 PyObject *o = PyInt_FromLong((long) (*arg2));
22777 resultobj = t_output_helper(resultobj,o);
22778 }
22779 {
22780 PyObject *o = PyInt_FromLong((long) (*arg3));
22781 resultobj = t_output_helper(resultobj,o);
22782 }
22783 return resultobj;
22784 fail:
22785 return NULL;
22786}
22787
22788
2f4c0a16 22789static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22790 PyObject *resultobj;
22791 wxWindow *arg1 = (wxWindow *) 0 ;
22792 wxPoint result;
22793 PyObject * obj0 = 0 ;
22794 char *kwnames[] = {
22795 (char *) "self", NULL
22796 };
22797
22798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22799 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22800 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22801 {
22802 PyThreadState* __tstate = wxPyBeginAllowThreads();
22803 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22804
22805 wxPyEndAllowThreads(__tstate);
22806 if (PyErr_Occurred()) SWIG_fail;
22807 }
22808 {
22809 wxPoint * resultptr;
22810 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 22811 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22812 }
22813 return resultobj;
22814 fail:
22815 return NULL;
22816}
22817
22818
2f4c0a16 22819static PyObject *_wrap_Window_GetClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22820 PyObject *resultobj;
22821 wxWindow *arg1 = (wxWindow *) 0 ;
22822 wxRect result;
22823 PyObject * obj0 = 0 ;
22824 char *kwnames[] = {
22825 (char *) "self", NULL
22826 };
22827
22828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
2f4c0a16
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 = ((wxWindow const *)arg1)->GetClientRect();
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 {
22839 wxRect * resultptr;
22840 resultptr = new wxRect((wxRect &) result);
2f4c0a16 22841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22842 }
22843 return resultobj;
22844 fail:
22845 return NULL;
22846}
22847
22848
2f4c0a16 22849static PyObject *_wrap_Window_GetBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22850 PyObject *resultobj;
22851 wxWindow *arg1 = (wxWindow *) 0 ;
22852 wxSize result;
22853 PyObject * obj0 = 0 ;
22854 char *kwnames[] = {
22855 (char *) "self", NULL
22856 };
22857
22858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22861 {
22862 PyThreadState* __tstate = wxPyBeginAllowThreads();
22863 result = ((wxWindow const *)arg1)->GetBestSize();
22864
22865 wxPyEndAllowThreads(__tstate);
22866 if (PyErr_Occurred()) SWIG_fail;
22867 }
22868 {
22869 wxSize * resultptr;
22870 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22871 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22872 }
22873 return resultobj;
22874 fail:
22875 return NULL;
22876}
22877
22878
2f4c0a16 22879static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22880 PyObject *resultobj;
22881 wxWindow *arg1 = (wxWindow *) 0 ;
22882 int *arg2 = (int *) 0 ;
22883 int *arg3 = (int *) 0 ;
22884 int temp2 ;
22885 int temp3 ;
22886 PyObject * obj0 = 0 ;
22887 char *kwnames[] = {
22888 (char *) "self", NULL
22889 };
22890
22891 arg2 = &temp2;
22892 arg3 = &temp3;
22893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22896 {
22897 PyThreadState* __tstate = wxPyBeginAllowThreads();
22898 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22899
22900 wxPyEndAllowThreads(__tstate);
22901 if (PyErr_Occurred()) SWIG_fail;
22902 }
22903 Py_INCREF(Py_None); resultobj = Py_None;
22904 {
22905 PyObject *o = PyInt_FromLong((long) (*arg2));
22906 resultobj = t_output_helper(resultobj,o);
22907 }
22908 {
22909 PyObject *o = PyInt_FromLong((long) (*arg3));
22910 resultobj = t_output_helper(resultobj,o);
22911 }
22912 return resultobj;
22913 fail:
22914 return NULL;
22915}
22916
22917
2f4c0a16 22918static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22919 PyObject *resultobj;
22920 wxWindow *arg1 = (wxWindow *) 0 ;
22921 wxSize result;
22922 PyObject * obj0 = 0 ;
22923 char *kwnames[] = {
22924 (char *) "self", NULL
22925 };
22926
22927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22928 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22929 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22930 {
22931 PyThreadState* __tstate = wxPyBeginAllowThreads();
22932 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
22933
22934 wxPyEndAllowThreads(__tstate);
22935 if (PyErr_Occurred()) SWIG_fail;
22936 }
22937 {
22938 wxSize * resultptr;
22939 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22940 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22941 }
22942 return resultobj;
22943 fail:
22944 return NULL;
22945}
22946
22947
2f4c0a16 22948static PyObject *_wrap_Window_Center(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22949 PyObject *resultobj;
22950 wxWindow *arg1 = (wxWindow *) 0 ;
22951 int arg2 = (int) wxBOTH ;
22952 PyObject * obj0 = 0 ;
8edf1c75 22953 PyObject * obj1 = 0 ;
d14a1e28
RD
22954 char *kwnames[] = {
22955 (char *) "self",(char *) "direction", NULL
22956 };
22957
8edf1c75 22958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 22961 if (obj1) {
2f4c0a16
RD
22962 arg2 = (int) SWIG_AsInt(obj1);
22963 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22964 }
d14a1e28
RD
22965 {
22966 PyThreadState* __tstate = wxPyBeginAllowThreads();
22967 (arg1)->Center(arg2);
22968
22969 wxPyEndAllowThreads(__tstate);
22970 if (PyErr_Occurred()) SWIG_fail;
22971 }
22972 Py_INCREF(Py_None); resultobj = Py_None;
22973 return resultobj;
22974 fail:
22975 return NULL;
22976}
22977
22978
2f4c0a16 22979static PyObject *_wrap_Window_CenterOnScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
22980 PyObject *resultobj;
22981 wxWindow *arg1 = (wxWindow *) 0 ;
22982 int arg2 = (int) wxBOTH ;
22983 PyObject * obj0 = 0 ;
8edf1c75 22984 PyObject * obj1 = 0 ;
d14a1e28
RD
22985 char *kwnames[] = {
22986 (char *) "self",(char *) "dir", NULL
22987 };
22988
8edf1c75 22989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 22992 if (obj1) {
2f4c0a16
RD
22993 arg2 = (int) SWIG_AsInt(obj1);
22994 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22995 }
d14a1e28
RD
22996 {
22997 PyThreadState* __tstate = wxPyBeginAllowThreads();
22998 (arg1)->CenterOnScreen(arg2);
22999
23000 wxPyEndAllowThreads(__tstate);
23001 if (PyErr_Occurred()) SWIG_fail;
23002 }
23003 Py_INCREF(Py_None); resultobj = Py_None;
23004 return resultobj;
23005 fail:
23006 return NULL;
23007}
23008
23009
2f4c0a16 23010static PyObject *_wrap_Window_CenterOnParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23011 PyObject *resultobj;
23012 wxWindow *arg1 = (wxWindow *) 0 ;
23013 int arg2 = (int) wxBOTH ;
23014 PyObject * obj0 = 0 ;
8edf1c75 23015 PyObject * obj1 = 0 ;
d14a1e28
RD
23016 char *kwnames[] = {
23017 (char *) "self",(char *) "dir", NULL
23018 };
23019
8edf1c75 23020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 23023 if (obj1) {
2f4c0a16
RD
23024 arg2 = (int) SWIG_AsInt(obj1);
23025 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23026 }
d14a1e28
RD
23027 {
23028 PyThreadState* __tstate = wxPyBeginAllowThreads();
23029 (arg1)->CenterOnParent(arg2);
23030
23031 wxPyEndAllowThreads(__tstate);
23032 if (PyErr_Occurred()) SWIG_fail;
23033 }
23034 Py_INCREF(Py_None); resultobj = Py_None;
23035 return resultobj;
23036 fail:
23037 return NULL;
23038}
23039
23040
2f4c0a16 23041static PyObject *_wrap_Window_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23042 PyObject *resultobj;
23043 wxWindow *arg1 = (wxWindow *) 0 ;
23044 PyObject * obj0 = 0 ;
23045 char *kwnames[] = {
23046 (char *) "self", NULL
23047 };
23048
23049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23052 {
23053 PyThreadState* __tstate = wxPyBeginAllowThreads();
23054 (arg1)->Fit();
23055
23056 wxPyEndAllowThreads(__tstate);
23057 if (PyErr_Occurred()) SWIG_fail;
23058 }
23059 Py_INCREF(Py_None); resultobj = Py_None;
23060 return resultobj;
23061 fail:
23062 return NULL;
23063}
23064
23065
2f4c0a16 23066static PyObject *_wrap_Window_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23067 PyObject *resultobj;
23068 wxWindow *arg1 = (wxWindow *) 0 ;
23069 PyObject * obj0 = 0 ;
23070 char *kwnames[] = {
23071 (char *) "self", NULL
23072 };
23073
23074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23077 {
23078 PyThreadState* __tstate = wxPyBeginAllowThreads();
23079 (arg1)->FitInside();
23080
23081 wxPyEndAllowThreads(__tstate);
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
23084 Py_INCREF(Py_None); resultobj = Py_None;
23085 return resultobj;
23086 fail:
23087 return NULL;
23088}
23089
23090
377d47bd 23091static PyObject *_wrap_Window_SetSizeHints__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
23092 PyObject *resultobj;
23093 wxWindow *arg1 = (wxWindow *) 0 ;
23094 int arg2 ;
23095 int arg3 ;
23096 int arg4 = (int) -1 ;
23097 int arg5 = (int) -1 ;
23098 int arg6 = (int) -1 ;
23099 int arg7 = (int) -1 ;
23100 PyObject * obj0 = 0 ;
8edf1c75
RD
23101 PyObject * obj1 = 0 ;
23102 PyObject * obj2 = 0 ;
23103 PyObject * obj3 = 0 ;
23104 PyObject * obj4 = 0 ;
23105 PyObject * obj5 = 0 ;
23106 PyObject * obj6 = 0 ;
d14a1e28 23107
377d47bd 23108 if(!PyArg_ParseTuple(args,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
23109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23111 arg2 = (int) SWIG_AsInt(obj1);
23112 if (PyErr_Occurred()) SWIG_fail;
23113 arg3 = (int) SWIG_AsInt(obj2);
23114 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23115 if (obj3) {
2f4c0a16
RD
23116 arg4 = (int) SWIG_AsInt(obj3);
23117 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23118 }
23119 if (obj4) {
2f4c0a16
RD
23120 arg5 = (int) SWIG_AsInt(obj4);
23121 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23122 }
23123 if (obj5) {
2f4c0a16
RD
23124 arg6 = (int) SWIG_AsInt(obj5);
23125 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23126 }
23127 if (obj6) {
2f4c0a16
RD
23128 arg7 = (int) SWIG_AsInt(obj6);
23129 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23130 }
d14a1e28
RD
23131 {
23132 PyThreadState* __tstate = wxPyBeginAllowThreads();
23133 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
23134
23135 wxPyEndAllowThreads(__tstate);
23136 if (PyErr_Occurred()) SWIG_fail;
23137 }
23138 Py_INCREF(Py_None); resultobj = Py_None;
23139 return resultobj;
23140 fail:
23141 return NULL;
23142}
23143
23144
377d47bd
RD
23145static PyObject *_wrap_Window_SetSizeHints__SWIG_1(PyObject *, PyObject *args) {
23146 PyObject *resultobj;
23147 wxWindow *arg1 = (wxWindow *) 0 ;
23148 wxSize *arg2 = 0 ;
23149 wxSize const &arg3_defvalue = wxDefaultSize ;
23150 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23151 wxSize const &arg4_defvalue = wxDefaultSize ;
23152 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23153 wxSize temp2 ;
23154 wxSize temp3 ;
23155 wxSize temp4 ;
23156 PyObject * obj0 = 0 ;
23157 PyObject * obj1 = 0 ;
23158 PyObject * obj2 = 0 ;
23159 PyObject * obj3 = 0 ;
23160
23161 if(!PyArg_ParseTuple(args,(char *)"OO|OO:Window_SetSizeHints",&obj0,&obj1,&obj2,&obj3)) goto fail;
23162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23164 {
23165 arg2 = &temp2;
23166 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23167 }
23168 if (obj2) {
23169 {
23170 arg3 = &temp3;
23171 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23172 }
23173 }
23174 if (obj3) {
23175 {
23176 arg4 = &temp4;
23177 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23178 }
23179 }
23180 {
23181 PyThreadState* __tstate = wxPyBeginAllowThreads();
23182 (arg1)->SetSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3,(wxSize const &)*arg4);
23183
23184 wxPyEndAllowThreads(__tstate);
23185 if (PyErr_Occurred()) SWIG_fail;
23186 }
23187 Py_INCREF(Py_None); resultobj = Py_None;
23188 return resultobj;
23189 fail:
23190 return NULL;
23191}
23192
23193
23194static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args) {
23195 int argc;
23196 PyObject *argv[8];
23197 int ii;
23198
23199 argc = PyObject_Length(args);
23200 for (ii = 0; (ii < argc) && (ii < 7); ii++) {
23201 argv[ii] = PyTuple_GetItem(args,ii);
23202 }
23203 if ((argc >= 2) && (argc <= 4)) {
23204 int _v;
23205 {
23206 void *ptr;
23207 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23208 _v = 0;
23209 PyErr_Clear();
23210 } else {
23211 _v = 1;
23212 }
23213 }
23214 if (_v) {
23215 {
23216 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23217 }
23218 if (_v) {
23219 if (argc <= 2) {
23220 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23221 }
23222 {
23223 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23224 }
23225 if (_v) {
23226 if (argc <= 3) {
23227 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23228 }
23229 {
23230 _v = wxPySimple_typecheck(argv[3], wxT("wxSize"), 2);
23231 }
23232 if (_v) {
23233 return _wrap_Window_SetSizeHints__SWIG_1(self,args);
23234 }
23235 }
23236 }
23237 }
23238 }
23239 if ((argc >= 3) && (argc <= 7)) {
23240 int _v;
23241 {
23242 void *ptr;
23243 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23244 _v = 0;
23245 PyErr_Clear();
23246 } else {
23247 _v = 1;
23248 }
23249 }
23250 if (_v) {
23251 _v = SWIG_CheckInt(argv[1]);
23252 if (_v) {
23253 _v = SWIG_CheckInt(argv[2]);
23254 if (_v) {
23255 if (argc <= 3) {
23256 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23257 }
23258 _v = SWIG_CheckInt(argv[3]);
23259 if (_v) {
23260 if (argc <= 4) {
23261 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23262 }
23263 _v = SWIG_CheckInt(argv[4]);
23264 if (_v) {
23265 if (argc <= 5) {
23266 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23267 }
23268 _v = SWIG_CheckInt(argv[5]);
23269 if (_v) {
23270 if (argc <= 6) {
23271 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23272 }
23273 _v = SWIG_CheckInt(argv[6]);
23274 if (_v) {
23275 return _wrap_Window_SetSizeHints__SWIG_0(self,args);
23276 }
23277 }
23278 }
23279 }
23280 }
23281 }
23282 }
23283 }
23284
23285 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetSizeHints'");
23286 return NULL;
23287}
23288
23289
23290static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
23291 PyObject *resultobj;
23292 wxWindow *arg1 = (wxWindow *) 0 ;
23293 int arg2 ;
23294 int arg3 ;
23295 int arg4 = (int) -1 ;
23296 int arg5 = (int) -1 ;
23297 PyObject * obj0 = 0 ;
8edf1c75
RD
23298 PyObject * obj1 = 0 ;
23299 PyObject * obj2 = 0 ;
23300 PyObject * obj3 = 0 ;
23301 PyObject * obj4 = 0 ;
d14a1e28 23302
377d47bd 23303 if(!PyArg_ParseTuple(args,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
23304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23306 arg2 = (int) SWIG_AsInt(obj1);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 arg3 = (int) SWIG_AsInt(obj2);
23309 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23310 if (obj3) {
2f4c0a16
RD
23311 arg4 = (int) SWIG_AsInt(obj3);
23312 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
23313 }
23314 if (obj4) {
2f4c0a16
RD
23315 arg5 = (int) SWIG_AsInt(obj4);
23316 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 23317 }
d14a1e28
RD
23318 {
23319 PyThreadState* __tstate = wxPyBeginAllowThreads();
23320 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
23321
23322 wxPyEndAllowThreads(__tstate);
23323 if (PyErr_Occurred()) SWIG_fail;
23324 }
23325 Py_INCREF(Py_None); resultobj = Py_None;
23326 return resultobj;
23327 fail:
23328 return NULL;
23329}
23330
23331
377d47bd
RD
23332static PyObject *_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject *, PyObject *args) {
23333 PyObject *resultobj;
23334 wxWindow *arg1 = (wxWindow *) 0 ;
23335 wxSize *arg2 = 0 ;
23336 wxSize const &arg3_defvalue = wxDefaultSize ;
23337 wxSize *arg3 = (wxSize *) &arg3_defvalue ;
23338 wxSize temp2 ;
23339 wxSize temp3 ;
23340 PyObject * obj0 = 0 ;
23341 PyObject * obj1 = 0 ;
23342 PyObject * obj2 = 0 ;
23343
23344 if(!PyArg_ParseTuple(args,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0,&obj1,&obj2)) goto fail;
23345 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23346 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23347 {
23348 arg2 = &temp2;
23349 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23350 }
23351 if (obj2) {
23352 {
23353 arg3 = &temp3;
23354 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
23355 }
23356 }
23357 {
23358 PyThreadState* __tstate = wxPyBeginAllowThreads();
23359 (arg1)->SetVirtualSizeHints((wxSize const &)*arg2,(wxSize const &)*arg3);
23360
23361 wxPyEndAllowThreads(__tstate);
23362 if (PyErr_Occurred()) SWIG_fail;
23363 }
23364 Py_INCREF(Py_None); resultobj = Py_None;
23365 return resultobj;
23366 fail:
23367 return NULL;
23368}
23369
23370
23371static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args) {
23372 int argc;
23373 PyObject *argv[6];
23374 int ii;
23375
23376 argc = PyObject_Length(args);
23377 for (ii = 0; (ii < argc) && (ii < 5); ii++) {
23378 argv[ii] = PyTuple_GetItem(args,ii);
23379 }
23380 if ((argc >= 2) && (argc <= 3)) {
23381 int _v;
23382 {
23383 void *ptr;
23384 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23385 _v = 0;
23386 PyErr_Clear();
23387 } else {
23388 _v = 1;
23389 }
23390 }
23391 if (_v) {
23392 {
23393 _v = wxPySimple_typecheck(argv[1], wxT("wxSize"), 2);
23394 }
23395 if (_v) {
23396 if (argc <= 2) {
23397 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23398 }
23399 {
23400 _v = wxPySimple_typecheck(argv[2], wxT("wxSize"), 2);
23401 }
23402 if (_v) {
23403 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self,args);
23404 }
23405 }
23406 }
23407 }
23408 if ((argc >= 3) && (argc <= 5)) {
23409 int _v;
23410 {
23411 void *ptr;
23412 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
23413 _v = 0;
23414 PyErr_Clear();
23415 } else {
23416 _v = 1;
23417 }
23418 }
23419 if (_v) {
23420 _v = SWIG_CheckInt(argv[1]);
23421 if (_v) {
23422 _v = SWIG_CheckInt(argv[2]);
23423 if (_v) {
23424 if (argc <= 3) {
23425 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23426 }
23427 _v = SWIG_CheckInt(argv[3]);
23428 if (_v) {
23429 if (argc <= 4) {
23430 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23431 }
23432 _v = SWIG_CheckInt(argv[4]);
23433 if (_v) {
23434 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self,args);
23435 }
23436 }
23437 }
23438 }
23439 }
23440 }
23441
23442 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23443 return NULL;
23444}
23445
23446
2f4c0a16 23447static PyObject *_wrap_Window_GetMinWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23448 PyObject *resultobj;
23449 wxWindow *arg1 = (wxWindow *) 0 ;
23450 int result;
23451 PyObject * obj0 = 0 ;
23452 char *kwnames[] = {
23453 (char *) "self", NULL
23454 };
23455
23456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23459 {
23460 PyThreadState* __tstate = wxPyBeginAllowThreads();
23461 result = (int)((wxWindow const *)arg1)->GetMinWidth();
23462
23463 wxPyEndAllowThreads(__tstate);
23464 if (PyErr_Occurred()) SWIG_fail;
23465 }
2f4c0a16 23466 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23467 return resultobj;
23468 fail:
23469 return NULL;
23470}
23471
23472
2f4c0a16 23473static PyObject *_wrap_Window_GetMinHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23474 PyObject *resultobj;
23475 wxWindow *arg1 = (wxWindow *) 0 ;
23476 int result;
23477 PyObject * obj0 = 0 ;
23478 char *kwnames[] = {
23479 (char *) "self", NULL
23480 };
23481
23482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23485 {
23486 PyThreadState* __tstate = wxPyBeginAllowThreads();
23487 result = (int)((wxWindow const *)arg1)->GetMinHeight();
23488
23489 wxPyEndAllowThreads(__tstate);
23490 if (PyErr_Occurred()) SWIG_fail;
23491 }
2f4c0a16 23492 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23493 return resultobj;
23494 fail:
23495 return NULL;
23496}
23497
23498
2f4c0a16 23499static PyObject *_wrap_Window_GetMaxWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23500 PyObject *resultobj;
23501 wxWindow *arg1 = (wxWindow *) 0 ;
23502 int result;
23503 PyObject * obj0 = 0 ;
23504 char *kwnames[] = {
23505 (char *) "self", NULL
23506 };
23507
23508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23511 {
23512 PyThreadState* __tstate = wxPyBeginAllowThreads();
23513 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
23514
23515 wxPyEndAllowThreads(__tstate);
23516 if (PyErr_Occurred()) SWIG_fail;
23517 }
2f4c0a16 23518 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23519 return resultobj;
23520 fail:
23521 return NULL;
23522}
23523
23524
2f4c0a16 23525static PyObject *_wrap_Window_GetMaxHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23526 PyObject *resultobj;
23527 wxWindow *arg1 = (wxWindow *) 0 ;
23528 int result;
23529 PyObject * obj0 = 0 ;
23530 char *kwnames[] = {
23531 (char *) "self", NULL
23532 };
23533
23534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23535 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23536 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23537 {
23538 PyThreadState* __tstate = wxPyBeginAllowThreads();
23539 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
23540
23541 wxPyEndAllowThreads(__tstate);
23542 if (PyErr_Occurred()) SWIG_fail;
23543 }
2f4c0a16 23544 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
23545 return resultobj;
23546 fail:
23547 return NULL;
23548}
23549
23550
2f4c0a16 23551static PyObject *_wrap_Window_GetMaxSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23552 PyObject *resultobj;
23553 wxWindow *arg1 = (wxWindow *) 0 ;
23554 wxSize result;
23555 PyObject * obj0 = 0 ;
23556 char *kwnames[] = {
23557 (char *) "self", NULL
23558 };
23559
23560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23563 {
23564 PyThreadState* __tstate = wxPyBeginAllowThreads();
23565 result = ((wxWindow const *)arg1)->GetMaxSize();
23566
23567 wxPyEndAllowThreads(__tstate);
23568 if (PyErr_Occurred()) SWIG_fail;
23569 }
23570 {
23571 wxSize * resultptr;
23572 resultptr = new wxSize((wxSize &) result);
2f4c0a16 23573 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23574 }
23575 return resultobj;
23576 fail:
23577 return NULL;
23578}
23579
23580
377d47bd
RD
23581static PyObject *_wrap_Window_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
23582 PyObject *resultobj;
23583 wxWindow *arg1 = (wxWindow *) 0 ;
23584 wxSize result;
23585 PyObject * obj0 = 0 ;
23586 char *kwnames[] = {
23587 (char *) "self", NULL
23588 };
23589
23590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinSize",kwnames,&obj0)) goto fail;
23591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23593 {
23594 PyThreadState* __tstate = wxPyBeginAllowThreads();
23595 result = ((wxWindow const *)arg1)->GetMinSize();
23596
23597 wxPyEndAllowThreads(__tstate);
23598 if (PyErr_Occurred()) SWIG_fail;
23599 }
23600 {
23601 wxSize * resultptr;
23602 resultptr = new wxSize((wxSize &) result);
23603 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
23604 }
23605 return resultobj;
23606 fail:
23607 return NULL;
23608}
23609
23610
2f4c0a16 23611static PyObject *_wrap_Window_SetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23612 PyObject *resultobj;
23613 wxWindow *arg1 = (wxWindow *) 0 ;
23614 wxSize *arg2 = 0 ;
23615 wxSize temp2 ;
23616 PyObject * obj0 = 0 ;
23617 PyObject * obj1 = 0 ;
23618 char *kwnames[] = {
23619 (char *) "self",(char *) "size", NULL
23620 };
23621
23622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23625 {
23626 arg2 = &temp2;
23627 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
23628 }
23629 {
23630 PyThreadState* __tstate = wxPyBeginAllowThreads();
23631 (arg1)->SetVirtualSize((wxSize const &)*arg2);
23632
23633 wxPyEndAllowThreads(__tstate);
23634 if (PyErr_Occurred()) SWIG_fail;
23635 }
23636 Py_INCREF(Py_None); resultobj = Py_None;
23637 return resultobj;
23638 fail:
23639 return NULL;
23640}
23641
23642
2f4c0a16 23643static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23644 PyObject *resultobj;
23645 wxWindow *arg1 = (wxWindow *) 0 ;
23646 int arg2 ;
23647 int arg3 ;
23648 PyObject * obj0 = 0 ;
8edf1c75
RD
23649 PyObject * obj1 = 0 ;
23650 PyObject * obj2 = 0 ;
d14a1e28
RD
23651 char *kwnames[] = {
23652 (char *) "self",(char *) "w",(char *) "h", NULL
23653 };
23654
8edf1c75 23655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
23656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23658 arg2 = (int) SWIG_AsInt(obj1);
23659 if (PyErr_Occurred()) SWIG_fail;
23660 arg3 = (int) SWIG_AsInt(obj2);
23661 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23662 {
23663 PyThreadState* __tstate = wxPyBeginAllowThreads();
23664 (arg1)->SetVirtualSize(arg2,arg3);
23665
23666 wxPyEndAllowThreads(__tstate);
23667 if (PyErr_Occurred()) SWIG_fail;
23668 }
23669 Py_INCREF(Py_None); resultobj = Py_None;
23670 return resultobj;
23671 fail:
23672 return NULL;
23673}
23674
23675
2f4c0a16 23676static PyObject *_wrap_Window_GetVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23677 PyObject *resultobj;
23678 wxWindow *arg1 = (wxWindow *) 0 ;
23679 wxSize result;
23680 PyObject * obj0 = 0 ;
23681 char *kwnames[] = {
23682 (char *) "self", NULL
23683 };
23684
23685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23686 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23687 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23688 {
23689 PyThreadState* __tstate = wxPyBeginAllowThreads();
23690 result = ((wxWindow const *)arg1)->GetVirtualSize();
23691
23692 wxPyEndAllowThreads(__tstate);
23693 if (PyErr_Occurred()) SWIG_fail;
23694 }
23695 {
23696 wxSize * resultptr;
23697 resultptr = new wxSize((wxSize &) result);
2f4c0a16 23698 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23699 }
23700 return resultobj;
23701 fail:
23702 return NULL;
23703}
23704
23705
2f4c0a16 23706static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23707 PyObject *resultobj;
23708 wxWindow *arg1 = (wxWindow *) 0 ;
23709 int *arg2 = (int *) 0 ;
23710 int *arg3 = (int *) 0 ;
23711 int temp2 ;
23712 int temp3 ;
23713 PyObject * obj0 = 0 ;
23714 char *kwnames[] = {
23715 (char *) "self", NULL
23716 };
23717
23718 arg2 = &temp2;
23719 arg3 = &temp3;
23720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23721 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23722 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23723 {
23724 PyThreadState* __tstate = wxPyBeginAllowThreads();
23725 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
23726
23727 wxPyEndAllowThreads(__tstate);
23728 if (PyErr_Occurred()) SWIG_fail;
23729 }
23730 Py_INCREF(Py_None); resultobj = Py_None;
23731 {
23732 PyObject *o = PyInt_FromLong((long) (*arg2));
23733 resultobj = t_output_helper(resultobj,o);
23734 }
23735 {
23736 PyObject *o = PyInt_FromLong((long) (*arg3));
23737 resultobj = t_output_helper(resultobj,o);
23738 }
23739 return resultobj;
23740 fail:
23741 return NULL;
23742}
23743
23744
2f4c0a16 23745static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23746 PyObject *resultobj;
23747 wxWindow *arg1 = (wxWindow *) 0 ;
23748 wxSize result;
23749 PyObject * obj0 = 0 ;
23750 char *kwnames[] = {
23751 (char *) "self", NULL
23752 };
23753
23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23757 {
23758 PyThreadState* __tstate = wxPyBeginAllowThreads();
23759 result = ((wxWindow const *)arg1)->GetBestVirtualSize();
23760
23761 wxPyEndAllowThreads(__tstate);
23762 if (PyErr_Occurred()) SWIG_fail;
23763 }
23764 {
23765 wxSize * resultptr;
23766 resultptr = new wxSize((wxSize &) result);
2f4c0a16 23767 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
23768 }
23769 return resultobj;
23770 fail:
23771 return NULL;
23772}
23773
23774
2f4c0a16 23775static PyObject *_wrap_Window_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23776 PyObject *resultobj;
23777 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 23778 bool arg2 = (bool) True ;
d14a1e28
RD
23779 bool result;
23780 PyObject * obj0 = 0 ;
23781 PyObject * obj1 = 0 ;
23782 char *kwnames[] = {
23783 (char *) "self",(char *) "show", NULL
23784 };
23785
23786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23787 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23789 if (obj1) {
2f4c0a16
RD
23790 arg2 = (bool) SWIG_AsBool(obj1);
23791 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23792 }
23793 {
23794 PyThreadState* __tstate = wxPyBeginAllowThreads();
23795 result = (bool)(arg1)->Show(arg2);
23796
23797 wxPyEndAllowThreads(__tstate);
23798 if (PyErr_Occurred()) SWIG_fail;
23799 }
fbc46b20
RD
23800 {
23801 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23802 }
d14a1e28
RD
23803 return resultobj;
23804 fail:
23805 return NULL;
23806}
23807
23808
2f4c0a16 23809static PyObject *_wrap_Window_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23810 PyObject *resultobj;
23811 wxWindow *arg1 = (wxWindow *) 0 ;
23812 bool result;
23813 PyObject * obj0 = 0 ;
23814 char *kwnames[] = {
23815 (char *) "self", NULL
23816 };
23817
23818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23821 {
23822 PyThreadState* __tstate = wxPyBeginAllowThreads();
23823 result = (bool)(arg1)->Hide();
23824
23825 wxPyEndAllowThreads(__tstate);
23826 if (PyErr_Occurred()) SWIG_fail;
23827 }
fbc46b20
RD
23828 {
23829 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23830 }
d14a1e28
RD
23831 return resultobj;
23832 fail:
23833 return NULL;
23834}
23835
23836
2f4c0a16 23837static PyObject *_wrap_Window_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23838 PyObject *resultobj;
23839 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 23840 bool arg2 = (bool) True ;
d14a1e28
RD
23841 bool result;
23842 PyObject * obj0 = 0 ;
23843 PyObject * obj1 = 0 ;
23844 char *kwnames[] = {
23845 (char *) "self",(char *) "enable", NULL
23846 };
23847
23848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23849 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23850 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23851 if (obj1) {
2f4c0a16
RD
23852 arg2 = (bool) SWIG_AsBool(obj1);
23853 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23854 }
23855 {
23856 PyThreadState* __tstate = wxPyBeginAllowThreads();
23857 result = (bool)(arg1)->Enable(arg2);
23858
23859 wxPyEndAllowThreads(__tstate);
23860 if (PyErr_Occurred()) SWIG_fail;
23861 }
fbc46b20
RD
23862 {
23863 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23864 }
d14a1e28
RD
23865 return resultobj;
23866 fail:
23867 return NULL;
23868}
23869
23870
2f4c0a16 23871static PyObject *_wrap_Window_Disable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23872 PyObject *resultobj;
23873 wxWindow *arg1 = (wxWindow *) 0 ;
23874 bool result;
23875 PyObject * obj0 = 0 ;
23876 char *kwnames[] = {
23877 (char *) "self", NULL
23878 };
23879
23880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 result = (bool)(arg1)->Disable();
23886
23887 wxPyEndAllowThreads(__tstate);
23888 if (PyErr_Occurred()) SWIG_fail;
23889 }
fbc46b20
RD
23890 {
23891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23892 }
d14a1e28
RD
23893 return resultobj;
23894 fail:
23895 return NULL;
23896}
23897
23898
2f4c0a16 23899static PyObject *_wrap_Window_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23900 PyObject *resultobj;
23901 wxWindow *arg1 = (wxWindow *) 0 ;
23902 bool result;
23903 PyObject * obj0 = 0 ;
23904 char *kwnames[] = {
23905 (char *) "self", NULL
23906 };
23907
23908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23911 {
23912 PyThreadState* __tstate = wxPyBeginAllowThreads();
23913 result = (bool)((wxWindow const *)arg1)->IsShown();
23914
23915 wxPyEndAllowThreads(__tstate);
23916 if (PyErr_Occurred()) SWIG_fail;
23917 }
fbc46b20
RD
23918 {
23919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23920 }
d14a1e28
RD
23921 return resultobj;
23922 fail:
23923 return NULL;
23924}
23925
23926
2f4c0a16 23927static PyObject *_wrap_Window_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23928 PyObject *resultobj;
23929 wxWindow *arg1 = (wxWindow *) 0 ;
23930 bool result;
23931 PyObject * obj0 = 0 ;
23932 char *kwnames[] = {
23933 (char *) "self", NULL
23934 };
23935
23936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23939 {
23940 PyThreadState* __tstate = wxPyBeginAllowThreads();
23941 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23942
23943 wxPyEndAllowThreads(__tstate);
23944 if (PyErr_Occurred()) SWIG_fail;
23945 }
fbc46b20
RD
23946 {
23947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
23948 }
d14a1e28
RD
23949 return resultobj;
23950 fail:
23951 return NULL;
23952}
23953
23954
2f4c0a16 23955static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23956 PyObject *resultobj;
23957 wxWindow *arg1 = (wxWindow *) 0 ;
23958 long arg2 ;
23959 PyObject * obj0 = 0 ;
8edf1c75 23960 PyObject * obj1 = 0 ;
d14a1e28
RD
23961 char *kwnames[] = {
23962 (char *) "self",(char *) "style", NULL
23963 };
23964
8edf1c75 23965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23968 arg2 = (long) SWIG_AsLong(obj1);
23969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23970 {
23971 PyThreadState* __tstate = wxPyBeginAllowThreads();
23972 (arg1)->SetWindowStyleFlag(arg2);
23973
23974 wxPyEndAllowThreads(__tstate);
23975 if (PyErr_Occurred()) SWIG_fail;
23976 }
23977 Py_INCREF(Py_None); resultobj = Py_None;
23978 return resultobj;
23979 fail:
23980 return NULL;
23981}
23982
23983
2f4c0a16 23984static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
23985 PyObject *resultobj;
23986 wxWindow *arg1 = (wxWindow *) 0 ;
23987 long result;
23988 PyObject * obj0 = 0 ;
23989 char *kwnames[] = {
23990 (char *) "self", NULL
23991 };
23992
23993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
23999
24000 wxPyEndAllowThreads(__tstate);
24001 if (PyErr_Occurred()) SWIG_fail;
24002 }
2f4c0a16 24003 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
24004 return resultobj;
24005 fail:
24006 return NULL;
24007}
24008
24009
2f4c0a16 24010static PyObject *_wrap_Window_HasFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24011 PyObject *resultobj;
24012 wxWindow *arg1 = (wxWindow *) 0 ;
24013 int arg2 ;
24014 bool result;
24015 PyObject * obj0 = 0 ;
8edf1c75 24016 PyObject * obj1 = 0 ;
d14a1e28
RD
24017 char *kwnames[] = {
24018 (char *) "self",(char *) "flag", NULL
24019 };
24020
8edf1c75 24021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24024 arg2 = (int) SWIG_AsInt(obj1);
24025 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
24029
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
fbc46b20
RD
24033 {
24034 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24035 }
d14a1e28
RD
24036 return resultobj;
24037 fail:
24038 return NULL;
24039}
24040
24041
2f4c0a16 24042static PyObject *_wrap_Window_IsRetained(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24043 PyObject *resultobj;
24044 wxWindow *arg1 = (wxWindow *) 0 ;
24045 bool result;
24046 PyObject * obj0 = 0 ;
24047 char *kwnames[] = {
24048 (char *) "self", NULL
24049 };
24050
24051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24052 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24054 {
24055 PyThreadState* __tstate = wxPyBeginAllowThreads();
24056 result = (bool)((wxWindow const *)arg1)->IsRetained();
24057
24058 wxPyEndAllowThreads(__tstate);
24059 if (PyErr_Occurred()) SWIG_fail;
24060 }
fbc46b20
RD
24061 {
24062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24063 }
d14a1e28
RD
24064 return resultobj;
24065 fail:
24066 return NULL;
24067}
24068
24069
2f4c0a16 24070static PyObject *_wrap_Window_SetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24071 PyObject *resultobj;
24072 wxWindow *arg1 = (wxWindow *) 0 ;
24073 long arg2 ;
24074 PyObject * obj0 = 0 ;
8edf1c75 24075 PyObject * obj1 = 0 ;
d14a1e28
RD
24076 char *kwnames[] = {
24077 (char *) "self",(char *) "exStyle", NULL
24078 };
24079
8edf1c75 24080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24083 arg2 = (long) SWIG_AsLong(obj1);
24084 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24085 {
24086 PyThreadState* __tstate = wxPyBeginAllowThreads();
24087 (arg1)->SetExtraStyle(arg2);
24088
24089 wxPyEndAllowThreads(__tstate);
24090 if (PyErr_Occurred()) SWIG_fail;
24091 }
24092 Py_INCREF(Py_None); resultobj = Py_None;
24093 return resultobj;
24094 fail:
24095 return NULL;
24096}
24097
24098
2f4c0a16 24099static PyObject *_wrap_Window_GetExtraStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24100 PyObject *resultobj;
24101 wxWindow *arg1 = (wxWindow *) 0 ;
24102 long result;
24103 PyObject * obj0 = 0 ;
24104 char *kwnames[] = {
24105 (char *) "self", NULL
24106 };
24107
24108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24109 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24110 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24111 {
24112 PyThreadState* __tstate = wxPyBeginAllowThreads();
24113 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
24114
24115 wxPyEndAllowThreads(__tstate);
24116 if (PyErr_Occurred()) SWIG_fail;
24117 }
2f4c0a16 24118 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
24119 return resultobj;
24120 fail:
24121 return NULL;
24122}
24123
24124
2f4c0a16 24125static PyObject *_wrap_Window_MakeModal(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24126 PyObject *resultobj;
24127 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 24128 bool arg2 = (bool) True ;
d14a1e28
RD
24129 PyObject * obj0 = 0 ;
24130 PyObject * obj1 = 0 ;
24131 char *kwnames[] = {
24132 (char *) "self",(char *) "modal", NULL
24133 };
24134
24135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24138 if (obj1) {
2f4c0a16
RD
24139 arg2 = (bool) SWIG_AsBool(obj1);
24140 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24141 }
24142 {
24143 PyThreadState* __tstate = wxPyBeginAllowThreads();
24144 (arg1)->MakeModal(arg2);
24145
24146 wxPyEndAllowThreads(__tstate);
24147 if (PyErr_Occurred()) SWIG_fail;
24148 }
24149 Py_INCREF(Py_None); resultobj = Py_None;
24150 return resultobj;
24151 fail:
24152 return NULL;
24153}
24154
24155
2f4c0a16 24156static PyObject *_wrap_Window_SetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24157 PyObject *resultobj;
24158 wxWindow *arg1 = (wxWindow *) 0 ;
24159 bool arg2 ;
24160 PyObject * obj0 = 0 ;
24161 PyObject * obj1 = 0 ;
24162 char *kwnames[] = {
24163 (char *) "self",(char *) "enableTheme", NULL
24164 };
24165
24166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24169 arg2 = (bool) SWIG_AsBool(obj1);
24170 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24171 {
24172 PyThreadState* __tstate = wxPyBeginAllowThreads();
24173 (arg1)->SetThemeEnabled(arg2);
24174
24175 wxPyEndAllowThreads(__tstate);
24176 if (PyErr_Occurred()) SWIG_fail;
24177 }
24178 Py_INCREF(Py_None); resultobj = Py_None;
24179 return resultobj;
24180 fail:
24181 return NULL;
24182}
24183
24184
2f4c0a16 24185static PyObject *_wrap_Window_GetThemeEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24186 PyObject *resultobj;
24187 wxWindow *arg1 = (wxWindow *) 0 ;
24188 bool result;
24189 PyObject * obj0 = 0 ;
24190 char *kwnames[] = {
24191 (char *) "self", NULL
24192 };
24193
24194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24197 {
24198 PyThreadState* __tstate = wxPyBeginAllowThreads();
24199 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
24200
24201 wxPyEndAllowThreads(__tstate);
24202 if (PyErr_Occurred()) SWIG_fail;
24203 }
fbc46b20
RD
24204 {
24205 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24206 }
d14a1e28
RD
24207 return resultobj;
24208 fail:
24209 return NULL;
24210}
24211
24212
2f4c0a16 24213static PyObject *_wrap_Window_SetFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24214 PyObject *resultobj;
24215 wxWindow *arg1 = (wxWindow *) 0 ;
24216 PyObject * obj0 = 0 ;
24217 char *kwnames[] = {
24218 (char *) "self", NULL
24219 };
24220
24221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24224 {
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 (arg1)->SetFocus();
24227
24228 wxPyEndAllowThreads(__tstate);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 }
24231 Py_INCREF(Py_None); resultobj = Py_None;
24232 return resultobj;
24233 fail:
24234 return NULL;
24235}
24236
24237
2f4c0a16 24238static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24239 PyObject *resultobj;
24240 wxWindow *arg1 = (wxWindow *) 0 ;
24241 PyObject * obj0 = 0 ;
24242 char *kwnames[] = {
24243 (char *) "self", NULL
24244 };
24245
24246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24247 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24248 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24249 {
24250 PyThreadState* __tstate = wxPyBeginAllowThreads();
24251 (arg1)->SetFocusFromKbd();
24252
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
24256 Py_INCREF(Py_None); resultobj = Py_None;
24257 return resultobj;
24258 fail:
24259 return NULL;
24260}
24261
24262
2f4c0a16 24263static PyObject *_wrap_Window_FindFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24264 PyObject *resultobj;
24265 wxWindow *result;
24266 char *kwnames[] = {
24267 NULL
24268 };
24269
24270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
24271 {
24272 PyThreadState* __tstate = wxPyBeginAllowThreads();
24273 result = (wxWindow *)wxWindow::FindFocus();
24274
24275 wxPyEndAllowThreads(__tstate);
24276 if (PyErr_Occurred()) SWIG_fail;
24277 }
24278 {
24279 resultobj = wxPyMake_wxObject(result);
24280 }
24281 return resultobj;
24282 fail:
24283 return NULL;
24284}
24285
24286
2f4c0a16 24287static PyObject *_wrap_Window_AcceptsFocus(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24288 PyObject *resultobj;
24289 wxWindow *arg1 = (wxWindow *) 0 ;
24290 bool result;
24291 PyObject * obj0 = 0 ;
24292 char *kwnames[] = {
24293 (char *) "self", NULL
24294 };
24295
24296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24299 {
24300 PyThreadState* __tstate = wxPyBeginAllowThreads();
24301 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
24302
24303 wxPyEndAllowThreads(__tstate);
24304 if (PyErr_Occurred()) SWIG_fail;
24305 }
fbc46b20
RD
24306 {
24307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24308 }
d14a1e28
RD
24309 return resultobj;
24310 fail:
24311 return NULL;
24312}
24313
24314
2f4c0a16 24315static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24316 PyObject *resultobj;
24317 wxWindow *arg1 = (wxWindow *) 0 ;
24318 bool result;
24319 PyObject * obj0 = 0 ;
24320 char *kwnames[] = {
24321 (char *) "self", NULL
24322 };
24323
24324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24327 {
24328 PyThreadState* __tstate = wxPyBeginAllowThreads();
24329 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
24330
24331 wxPyEndAllowThreads(__tstate);
24332 if (PyErr_Occurred()) SWIG_fail;
24333 }
fbc46b20
RD
24334 {
24335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24336 }
d14a1e28
RD
24337 return resultobj;
24338 fail:
24339 return NULL;
24340}
24341
24342
2f4c0a16 24343static PyObject *_wrap_Window_GetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24344 PyObject *resultobj;
24345 wxWindow *arg1 = (wxWindow *) 0 ;
24346 wxWindow *result;
24347 PyObject * obj0 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self", NULL
24350 };
24351
24352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24355 {
24356 PyThreadState* __tstate = wxPyBeginAllowThreads();
24357 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
24358
24359 wxPyEndAllowThreads(__tstate);
24360 if (PyErr_Occurred()) SWIG_fail;
24361 }
24362 {
24363 resultobj = wxPyMake_wxObject(result);
24364 }
24365 return resultobj;
24366 fail:
24367 return NULL;
24368}
24369
24370
2f4c0a16 24371static PyObject *_wrap_Window_SetDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24372 PyObject *resultobj;
24373 wxWindow *arg1 = (wxWindow *) 0 ;
24374 wxWindow *arg2 = (wxWindow *) 0 ;
24375 wxWindow *result;
24376 PyObject * obj0 = 0 ;
24377 PyObject * obj1 = 0 ;
24378 char *kwnames[] = {
24379 (char *) "self",(char *) "child", NULL
24380 };
24381
24382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24385 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24387 {
24388 PyThreadState* __tstate = wxPyBeginAllowThreads();
24389 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
24390
24391 wxPyEndAllowThreads(__tstate);
24392 if (PyErr_Occurred()) SWIG_fail;
24393 }
24394 {
24395 resultobj = wxPyMake_wxObject(result);
24396 }
24397 return resultobj;
24398 fail:
24399 return NULL;
24400}
24401
24402
2f4c0a16 24403static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24404 PyObject *resultobj;
24405 wxWindow *arg1 = (wxWindow *) 0 ;
24406 wxWindow *arg2 = (wxWindow *) 0 ;
24407 PyObject * obj0 = 0 ;
24408 PyObject * obj1 = 0 ;
24409 char *kwnames[] = {
24410 (char *) "self",(char *) "win", NULL
24411 };
24412
24413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24416 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24418 {
24419 PyThreadState* __tstate = wxPyBeginAllowThreads();
24420 (arg1)->SetTmpDefaultItem(arg2);
24421
24422 wxPyEndAllowThreads(__tstate);
24423 if (PyErr_Occurred()) SWIG_fail;
24424 }
24425 Py_INCREF(Py_None); resultobj = Py_None;
24426 return resultobj;
24427 fail:
24428 return NULL;
24429}
24430
24431
2f4c0a16 24432static PyObject *_wrap_Window_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24433 PyObject *resultobj;
24434 wxWindow *arg1 = (wxWindow *) 0 ;
24435 PyObject *result;
24436 PyObject * obj0 = 0 ;
24437 char *kwnames[] = {
24438 (char *) "self", NULL
24439 };
24440
24441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24444 {
24445 PyThreadState* __tstate = wxPyBeginAllowThreads();
24446 result = (PyObject *)wxWindow_GetChildren(arg1);
24447
24448 wxPyEndAllowThreads(__tstate);
24449 if (PyErr_Occurred()) SWIG_fail;
24450 }
24451 resultobj = result;
24452 return resultobj;
24453 fail:
24454 return NULL;
24455}
24456
24457
2f4c0a16 24458static PyObject *_wrap_Window_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24459 PyObject *resultobj;
24460 wxWindow *arg1 = (wxWindow *) 0 ;
24461 wxWindow *result;
24462 PyObject * obj0 = 0 ;
24463 char *kwnames[] = {
24464 (char *) "self", NULL
24465 };
24466
24467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24470 {
24471 PyThreadState* __tstate = wxPyBeginAllowThreads();
24472 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
24473
24474 wxPyEndAllowThreads(__tstate);
24475 if (PyErr_Occurred()) SWIG_fail;
24476 }
24477 {
24478 resultobj = wxPyMake_wxObject(result);
24479 }
24480 return resultobj;
24481 fail:
24482 return NULL;
24483}
24484
24485
2f4c0a16 24486static PyObject *_wrap_Window_GetGrandParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24487 PyObject *resultobj;
24488 wxWindow *arg1 = (wxWindow *) 0 ;
24489 wxWindow *result;
24490 PyObject * obj0 = 0 ;
24491 char *kwnames[] = {
24492 (char *) "self", NULL
24493 };
24494
24495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24498 {
24499 PyThreadState* __tstate = wxPyBeginAllowThreads();
24500 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
24501
24502 wxPyEndAllowThreads(__tstate);
24503 if (PyErr_Occurred()) SWIG_fail;
24504 }
24505 {
24506 resultobj = wxPyMake_wxObject(result);
24507 }
24508 return resultobj;
24509 fail:
24510 return NULL;
24511}
24512
24513
2f4c0a16 24514static PyObject *_wrap_Window_IsTopLevel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24515 PyObject *resultobj;
24516 wxWindow *arg1 = (wxWindow *) 0 ;
24517 bool result;
24518 PyObject * obj0 = 0 ;
24519 char *kwnames[] = {
24520 (char *) "self", NULL
24521 };
24522
24523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24526 {
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
24529
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
fbc46b20
RD
24533 {
24534 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24535 }
d14a1e28
RD
24536 return resultobj;
24537 fail:
24538 return NULL;
24539}
24540
24541
2f4c0a16 24542static PyObject *_wrap_Window_Reparent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24543 PyObject *resultobj;
24544 wxWindow *arg1 = (wxWindow *) 0 ;
24545 wxWindow *arg2 = (wxWindow *) 0 ;
24546 bool result;
24547 PyObject * obj0 = 0 ;
24548 PyObject * obj1 = 0 ;
24549 char *kwnames[] = {
24550 (char *) "self",(char *) "newParent", NULL
24551 };
24552
24553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24556 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24558 {
24559 PyThreadState* __tstate = wxPyBeginAllowThreads();
24560 result = (bool)(arg1)->Reparent(arg2);
24561
24562 wxPyEndAllowThreads(__tstate);
24563 if (PyErr_Occurred()) SWIG_fail;
24564 }
fbc46b20
RD
24565 {
24566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24567 }
d14a1e28
RD
24568 return resultobj;
24569 fail:
24570 return NULL;
24571}
24572
24573
2f4c0a16 24574static PyObject *_wrap_Window_AddChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24575 PyObject *resultobj;
24576 wxWindow *arg1 = (wxWindow *) 0 ;
24577 wxWindow *arg2 = (wxWindow *) 0 ;
24578 PyObject * obj0 = 0 ;
24579 PyObject * obj1 = 0 ;
24580 char *kwnames[] = {
24581 (char *) "self",(char *) "child", NULL
24582 };
24583
24584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24589 {
24590 PyThreadState* __tstate = wxPyBeginAllowThreads();
24591 (arg1)->AddChild(arg2);
24592
24593 wxPyEndAllowThreads(__tstate);
24594 if (PyErr_Occurred()) SWIG_fail;
24595 }
24596 Py_INCREF(Py_None); resultobj = Py_None;
24597 return resultobj;
24598 fail:
24599 return NULL;
24600}
24601
24602
2f4c0a16 24603static PyObject *_wrap_Window_RemoveChild(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24604 PyObject *resultobj;
24605 wxWindow *arg1 = (wxWindow *) 0 ;
24606 wxWindow *arg2 = (wxWindow *) 0 ;
24607 PyObject * obj0 = 0 ;
24608 PyObject * obj1 = 0 ;
24609 char *kwnames[] = {
24610 (char *) "self",(char *) "child", NULL
24611 };
24612
24613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24614 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24616 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
24617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24618 {
24619 PyThreadState* __tstate = wxPyBeginAllowThreads();
24620 (arg1)->RemoveChild(arg2);
24621
24622 wxPyEndAllowThreads(__tstate);
24623 if (PyErr_Occurred()) SWIG_fail;
24624 }
24625 Py_INCREF(Py_None); resultobj = Py_None;
24626 return resultobj;
24627 fail:
24628 return NULL;
24629}
24630
24631
2f4c0a16 24632static PyObject *_wrap_Window_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24633 PyObject *resultobj;
24634 wxWindow *arg1 = (wxWindow *) 0 ;
24635 long arg2 ;
24636 wxWindow *result;
24637 PyObject * obj0 = 0 ;
8edf1c75 24638 PyObject * obj1 = 0 ;
d14a1e28
RD
24639 char *kwnames[] = {
24640 (char *) "self",(char *) "winid", NULL
24641 };
24642
8edf1c75 24643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24646 arg2 = (long) SWIG_AsLong(obj1);
24647 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24648 {
24649 PyThreadState* __tstate = wxPyBeginAllowThreads();
24650 result = (wxWindow *)(arg1)->FindWindow(arg2);
24651
24652 wxPyEndAllowThreads(__tstate);
24653 if (PyErr_Occurred()) SWIG_fail;
24654 }
24655 {
24656 resultobj = wxPyMake_wxObject(result);
24657 }
24658 return resultobj;
24659 fail:
24660 return NULL;
24661}
24662
24663
2f4c0a16 24664static PyObject *_wrap_Window_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24665 PyObject *resultobj;
24666 wxWindow *arg1 = (wxWindow *) 0 ;
24667 wxString *arg2 = 0 ;
24668 wxWindow *result;
423f194a 24669 bool temp2 = False ;
d14a1e28
RD
24670 PyObject * obj0 = 0 ;
24671 PyObject * obj1 = 0 ;
24672 char *kwnames[] = {
24673 (char *) "self",(char *) "name", NULL
24674 };
24675
24676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24679 {
24680 arg2 = wxString_in_helper(obj1);
24681 if (arg2 == NULL) SWIG_fail;
423f194a 24682 temp2 = True;
d14a1e28
RD
24683 }
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
24687
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 {
24692 resultobj = wxPyMake_wxObject(result);
24693 }
24694 {
24695 if (temp2)
24696 delete arg2;
24697 }
24698 return resultobj;
24699 fail:
24700 {
24701 if (temp2)
24702 delete arg2;
24703 }
24704 return NULL;
24705}
24706
24707
2f4c0a16 24708static PyObject *_wrap_Window_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24709 PyObject *resultobj;
24710 wxWindow *arg1 = (wxWindow *) 0 ;
24711 wxEvtHandler *result;
24712 PyObject * obj0 = 0 ;
24713 char *kwnames[] = {
24714 (char *) "self", NULL
24715 };
24716
24717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24720 {
24721 PyThreadState* __tstate = wxPyBeginAllowThreads();
24722 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
24723
24724 wxPyEndAllowThreads(__tstate);
24725 if (PyErr_Occurred()) SWIG_fail;
24726 }
24727 {
24728 resultobj = wxPyMake_wxObject(result);
24729 }
24730 return resultobj;
24731 fail:
24732 return NULL;
24733}
24734
24735
2f4c0a16 24736static PyObject *_wrap_Window_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24737 PyObject *resultobj;
24738 wxWindow *arg1 = (wxWindow *) 0 ;
24739 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24740 PyObject * obj0 = 0 ;
24741 PyObject * obj1 = 0 ;
24742 char *kwnames[] = {
24743 (char *) "self",(char *) "handler", NULL
24744 };
24745
24746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24747 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24749 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24750 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24751 {
24752 PyThreadState* __tstate = wxPyBeginAllowThreads();
24753 (arg1)->SetEventHandler(arg2);
24754
24755 wxPyEndAllowThreads(__tstate);
24756 if (PyErr_Occurred()) SWIG_fail;
24757 }
24758 Py_INCREF(Py_None); resultobj = Py_None;
24759 return resultobj;
24760 fail:
24761 return NULL;
24762}
24763
24764
2f4c0a16 24765static PyObject *_wrap_Window_PushEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24766 PyObject *resultobj;
24767 wxWindow *arg1 = (wxWindow *) 0 ;
24768 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24769 PyObject * obj0 = 0 ;
24770 PyObject * obj1 = 0 ;
24771 char *kwnames[] = {
24772 (char *) "self",(char *) "handler", NULL
24773 };
24774
24775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24778 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24780 {
24781 PyThreadState* __tstate = wxPyBeginAllowThreads();
24782 (arg1)->PushEventHandler(arg2);
24783
24784 wxPyEndAllowThreads(__tstate);
24785 if (PyErr_Occurred()) SWIG_fail;
24786 }
24787 Py_INCREF(Py_None); resultobj = Py_None;
24788 return resultobj;
24789 fail:
24790 return NULL;
24791}
24792
24793
2f4c0a16 24794static PyObject *_wrap_Window_PopEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24795 PyObject *resultobj;
24796 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 24797 bool arg2 = (bool) False ;
d14a1e28
RD
24798 wxEvtHandler *result;
24799 PyObject * obj0 = 0 ;
24800 PyObject * obj1 = 0 ;
24801 char *kwnames[] = {
24802 (char *) "self",(char *) "deleteHandler", NULL
24803 };
24804
24805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24808 if (obj1) {
2f4c0a16
RD
24809 arg2 = (bool) SWIG_AsBool(obj1);
24810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24811 }
24812 {
24813 PyThreadState* __tstate = wxPyBeginAllowThreads();
24814 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
24815
24816 wxPyEndAllowThreads(__tstate);
24817 if (PyErr_Occurred()) SWIG_fail;
24818 }
24819 {
24820 resultobj = wxPyMake_wxObject(result);
24821 }
24822 return resultobj;
24823 fail:
24824 return NULL;
24825}
24826
24827
2f4c0a16 24828static PyObject *_wrap_Window_RemoveEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24829 PyObject *resultobj;
24830 wxWindow *arg1 = (wxWindow *) 0 ;
24831 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
24832 bool result;
24833 PyObject * obj0 = 0 ;
24834 PyObject * obj1 = 0 ;
24835 char *kwnames[] = {
24836 (char *) "self",(char *) "handler", NULL
24837 };
24838
24839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24840 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24841 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24842 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
24843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24844 {
24845 PyThreadState* __tstate = wxPyBeginAllowThreads();
24846 result = (bool)(arg1)->RemoveEventHandler(arg2);
24847
24848 wxPyEndAllowThreads(__tstate);
24849 if (PyErr_Occurred()) SWIG_fail;
24850 }
fbc46b20
RD
24851 {
24852 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24853 }
d14a1e28
RD
24854 return resultobj;
24855 fail:
24856 return NULL;
24857}
24858
24859
2f4c0a16 24860static PyObject *_wrap_Window_SetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24861 PyObject *resultobj;
24862 wxWindow *arg1 = (wxWindow *) 0 ;
24863 wxValidator *arg2 = 0 ;
24864 PyObject * obj0 = 0 ;
24865 PyObject * obj1 = 0 ;
24866 char *kwnames[] = {
24867 (char *) "self",(char *) "validator", NULL
24868 };
24869
24870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24873 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
24874 SWIG_POINTER_EXCEPTION | 0)) == -1)
24875 SWIG_fail;
d14a1e28 24876 if (arg2 == NULL) {
2f4c0a16
RD
24877 PyErr_SetString(PyExc_TypeError,"null reference");
24878 SWIG_fail;
d14a1e28
RD
24879 }
24880 {
24881 PyThreadState* __tstate = wxPyBeginAllowThreads();
24882 (arg1)->SetValidator((wxValidator const &)*arg2);
24883
24884 wxPyEndAllowThreads(__tstate);
24885 if (PyErr_Occurred()) SWIG_fail;
24886 }
24887 Py_INCREF(Py_None); resultobj = Py_None;
24888 return resultobj;
24889 fail:
24890 return NULL;
24891}
24892
24893
2f4c0a16 24894static PyObject *_wrap_Window_GetValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24895 PyObject *resultobj;
24896 wxWindow *arg1 = (wxWindow *) 0 ;
24897 wxValidator *result;
24898 PyObject * obj0 = 0 ;
24899 char *kwnames[] = {
24900 (char *) "self", NULL
24901 };
24902
24903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24906 {
24907 PyThreadState* __tstate = wxPyBeginAllowThreads();
24908 result = (wxValidator *)(arg1)->GetValidator();
24909
24910 wxPyEndAllowThreads(__tstate);
24911 if (PyErr_Occurred()) SWIG_fail;
24912 }
24913 {
24914 resultobj = wxPyMake_wxObject(result);
24915 }
24916 return resultobj;
24917 fail:
24918 return NULL;
24919}
24920
24921
377d47bd
RD
24922static PyObject *_wrap_Window_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
24923 PyObject *resultobj;
24924 wxWindow *arg1 = (wxWindow *) 0 ;
24925 bool result;
24926 PyObject * obj0 = 0 ;
24927 char *kwnames[] = {
24928 (char *) "self", NULL
24929 };
24930
24931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Validate",kwnames,&obj0)) goto fail;
24932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24934 {
24935 PyThreadState* __tstate = wxPyBeginAllowThreads();
24936 result = (bool)(arg1)->Validate();
24937
24938 wxPyEndAllowThreads(__tstate);
24939 if (PyErr_Occurred()) SWIG_fail;
24940 }
24941 {
24942 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24943 }
24944 return resultobj;
24945 fail:
24946 return NULL;
24947}
24948
24949
24950static PyObject *_wrap_Window_TransferDataToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24951 PyObject *resultobj;
24952 wxWindow *arg1 = (wxWindow *) 0 ;
24953 bool result;
24954 PyObject * obj0 = 0 ;
24955 char *kwnames[] = {
24956 (char *) "self", NULL
24957 };
24958
24959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataToWindow",kwnames,&obj0)) goto fail;
24960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 result = (bool)(arg1)->TransferDataToWindow();
24965
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 {
24970 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24971 }
24972 return resultobj;
24973 fail:
24974 return NULL;
24975}
24976
24977
24978static PyObject *_wrap_Window_TransferDataFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
24979 PyObject *resultobj;
24980 wxWindow *arg1 = (wxWindow *) 0 ;
24981 bool result;
24982 PyObject * obj0 = 0 ;
24983 char *kwnames[] = {
24984 (char *) "self", NULL
24985 };
24986
24987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24990 {
24991 PyThreadState* __tstate = wxPyBeginAllowThreads();
24992 result = (bool)(arg1)->TransferDataFromWindow();
24993
24994 wxPyEndAllowThreads(__tstate);
24995 if (PyErr_Occurred()) SWIG_fail;
24996 }
24997 {
24998 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
24999 }
25000 return resultobj;
25001 fail:
25002 return NULL;
25003}
25004
25005
25006static PyObject *_wrap_Window_InitDialog(PyObject *, PyObject *args, PyObject *kwargs) {
25007 PyObject *resultobj;
25008 wxWindow *arg1 = (wxWindow *) 0 ;
25009 PyObject * obj0 = 0 ;
25010 char *kwnames[] = {
25011 (char *) "self", NULL
25012 };
25013
25014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_InitDialog",kwnames,&obj0)) goto fail;
25015 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25016 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25017 {
25018 PyThreadState* __tstate = wxPyBeginAllowThreads();
25019 (arg1)->InitDialog();
25020
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
25024 Py_INCREF(Py_None); resultobj = Py_None;
25025 return resultobj;
25026 fail:
25027 return NULL;
25028}
25029
25030
2f4c0a16 25031static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25032 PyObject *resultobj;
25033 wxWindow *arg1 = (wxWindow *) 0 ;
25034 wxAcceleratorTable *arg2 = 0 ;
25035 PyObject * obj0 = 0 ;
25036 PyObject * obj1 = 0 ;
25037 char *kwnames[] = {
25038 (char *) "self",(char *) "accel", NULL
25039 };
25040
25041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
25045 SWIG_POINTER_EXCEPTION | 0)) == -1)
25046 SWIG_fail;
d14a1e28 25047 if (arg2 == NULL) {
2f4c0a16
RD
25048 PyErr_SetString(PyExc_TypeError,"null reference");
25049 SWIG_fail;
d14a1e28
RD
25050 }
25051 {
25052 PyThreadState* __tstate = wxPyBeginAllowThreads();
25053 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
25054
25055 wxPyEndAllowThreads(__tstate);
25056 if (PyErr_Occurred()) SWIG_fail;
25057 }
25058 Py_INCREF(Py_None); resultobj = Py_None;
25059 return resultobj;
25060 fail:
25061 return NULL;
25062}
25063
25064
2f4c0a16 25065static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25066 PyObject *resultobj;
25067 wxWindow *arg1 = (wxWindow *) 0 ;
25068 wxAcceleratorTable *result;
25069 PyObject * obj0 = 0 ;
25070 char *kwnames[] = {
25071 (char *) "self", NULL
25072 };
25073
25074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25075 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25076 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25077 {
25078 PyThreadState* __tstate = wxPyBeginAllowThreads();
25079 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
25080
25081 wxPyEndAllowThreads(__tstate);
25082 if (PyErr_Occurred()) SWIG_fail;
25083 }
2f4c0a16 25084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
25085 return resultobj;
25086 fail:
25087 return NULL;
25088}
25089
25090
2f4c0a16 25091static PyObject *_wrap_Window_RegisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25092 PyObject *resultobj;
25093 wxWindow *arg1 = (wxWindow *) 0 ;
25094 int arg2 ;
25095 int arg3 ;
25096 int arg4 ;
25097 bool result;
25098 PyObject * obj0 = 0 ;
8edf1c75
RD
25099 PyObject * obj1 = 0 ;
25100 PyObject * obj2 = 0 ;
25101 PyObject * obj3 = 0 ;
d14a1e28
RD
25102 char *kwnames[] = {
25103 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25104 };
25105
8edf1c75 25106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25107 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25108 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25109 arg2 = (int) SWIG_AsInt(obj1);
25110 if (PyErr_Occurred()) SWIG_fail;
25111 arg3 = (int) SWIG_AsInt(obj2);
25112 if (PyErr_Occurred()) SWIG_fail;
25113 arg4 = (int) SWIG_AsInt(obj3);
25114 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25115 {
25116 PyThreadState* __tstate = wxPyBeginAllowThreads();
25117 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
25118
25119 wxPyEndAllowThreads(__tstate);
25120 if (PyErr_Occurred()) SWIG_fail;
25121 }
fbc46b20
RD
25122 {
25123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25124 }
d14a1e28
RD
25125 return resultobj;
25126 fail:
25127 return NULL;
25128}
25129
25130
2f4c0a16 25131static PyObject *_wrap_Window_UnregisterHotKey(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25132 PyObject *resultobj;
25133 wxWindow *arg1 = (wxWindow *) 0 ;
25134 int arg2 ;
25135 bool result;
25136 PyObject * obj0 = 0 ;
8edf1c75 25137 PyObject * obj1 = 0 ;
d14a1e28
RD
25138 char *kwnames[] = {
25139 (char *) "self",(char *) "hotkeyId", NULL
25140 };
25141
8edf1c75 25142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25143 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25144 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25145 arg2 = (int) SWIG_AsInt(obj1);
25146 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25147 {
25148 PyThreadState* __tstate = wxPyBeginAllowThreads();
25149 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
25150
25151 wxPyEndAllowThreads(__tstate);
25152 if (PyErr_Occurred()) SWIG_fail;
25153 }
fbc46b20
RD
25154 {
25155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25156 }
d14a1e28
RD
25157 return resultobj;
25158 fail:
25159 return NULL;
25160}
25161
25162
2f4c0a16 25163static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25164 PyObject *resultobj;
25165 wxWindow *arg1 = (wxWindow *) 0 ;
25166 wxPoint *arg2 = 0 ;
25167 wxPoint result;
25168 wxPoint temp2 ;
25169 PyObject * obj0 = 0 ;
25170 PyObject * obj1 = 0 ;
25171 char *kwnames[] = {
25172 (char *) "self",(char *) "pt", NULL
25173 };
25174
25175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25178 {
25179 arg2 = &temp2;
25180 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25181 }
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25185
25186 wxPyEndAllowThreads(__tstate);
25187 if (PyErr_Occurred()) SWIG_fail;
25188 }
25189 {
25190 wxPoint * resultptr;
25191 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 25192 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25193 }
25194 return resultobj;
25195 fail:
25196 return NULL;
25197}
25198
25199
2f4c0a16 25200static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25201 PyObject *resultobj;
25202 wxWindow *arg1 = (wxWindow *) 0 ;
25203 wxSize *arg2 = 0 ;
25204 wxSize result;
25205 wxSize temp2 ;
25206 PyObject * obj0 = 0 ;
25207 PyObject * obj1 = 0 ;
25208 char *kwnames[] = {
25209 (char *) "self",(char *) "sz", NULL
25210 };
25211
25212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25213 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25215 {
25216 arg2 = &temp2;
25217 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25218 }
25219 {
25220 PyThreadState* __tstate = wxPyBeginAllowThreads();
25221 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25222
25223 wxPyEndAllowThreads(__tstate);
25224 if (PyErr_Occurred()) SWIG_fail;
25225 }
25226 {
25227 wxSize * resultptr;
25228 resultptr = new wxSize((wxSize &) result);
2f4c0a16 25229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25230 }
25231 return resultobj;
25232 fail:
25233 return NULL;
25234}
25235
25236
2f4c0a16 25237static PyObject *_wrap_Window_DLG_PNT(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25238 PyObject *resultobj;
25239 wxWindow *arg1 = (wxWindow *) 0 ;
25240 wxPoint *arg2 = 0 ;
25241 wxPoint result;
25242 wxPoint temp2 ;
25243 PyObject * obj0 = 0 ;
25244 PyObject * obj1 = 0 ;
25245 char *kwnames[] = {
25246 (char *) "self",(char *) "pt", NULL
25247 };
25248
25249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25252 {
25253 arg2 = &temp2;
25254 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25255 }
25256 {
25257 PyThreadState* __tstate = wxPyBeginAllowThreads();
25258 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
25259
25260 wxPyEndAllowThreads(__tstate);
25261 if (PyErr_Occurred()) SWIG_fail;
25262 }
25263 {
25264 wxPoint * resultptr;
25265 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 25266 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25267 }
25268 return resultobj;
25269 fail:
25270 return NULL;
25271}
25272
25273
2f4c0a16 25274static PyObject *_wrap_Window_DLG_SZE(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25275 PyObject *resultobj;
25276 wxWindow *arg1 = (wxWindow *) 0 ;
25277 wxSize *arg2 = 0 ;
25278 wxSize result;
25279 wxSize temp2 ;
25280 PyObject * obj0 = 0 ;
25281 PyObject * obj1 = 0 ;
25282 char *kwnames[] = {
25283 (char *) "self",(char *) "sz", NULL
25284 };
25285
25286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25289 {
25290 arg2 = &temp2;
25291 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25292 }
25293 {
25294 PyThreadState* __tstate = wxPyBeginAllowThreads();
25295 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
25296
25297 wxPyEndAllowThreads(__tstate);
25298 if (PyErr_Occurred()) SWIG_fail;
25299 }
25300 {
25301 wxSize * resultptr;
25302 resultptr = new wxSize((wxSize &) result);
2f4c0a16 25303 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25304 }
25305 return resultobj;
25306 fail:
25307 return NULL;
25308}
25309
25310
2f4c0a16 25311static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25312 PyObject *resultobj;
25313 wxWindow *arg1 = (wxWindow *) 0 ;
25314 wxPoint *arg2 = 0 ;
25315 wxPoint result;
25316 wxPoint temp2 ;
25317 PyObject * obj0 = 0 ;
25318 PyObject * obj1 = 0 ;
25319 char *kwnames[] = {
25320 (char *) "self",(char *) "pt", NULL
25321 };
25322
25323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25324 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25325 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25326 {
25327 arg2 = &temp2;
25328 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25329 }
25330 {
25331 PyThreadState* __tstate = wxPyBeginAllowThreads();
25332 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
25333
25334 wxPyEndAllowThreads(__tstate);
25335 if (PyErr_Occurred()) SWIG_fail;
25336 }
25337 {
25338 wxPoint * resultptr;
25339 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 25340 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25341 }
25342 return resultobj;
25343 fail:
25344 return NULL;
25345}
25346
25347
2f4c0a16 25348static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25349 PyObject *resultobj;
25350 wxWindow *arg1 = (wxWindow *) 0 ;
25351 wxSize *arg2 = 0 ;
25352 wxSize result;
25353 wxSize temp2 ;
25354 PyObject * obj0 = 0 ;
25355 PyObject * obj1 = 0 ;
25356 char *kwnames[] = {
25357 (char *) "self",(char *) "sz", NULL
25358 };
25359
25360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25363 {
25364 arg2 = &temp2;
25365 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
25366 }
25367 {
25368 PyThreadState* __tstate = wxPyBeginAllowThreads();
25369 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
25370
25371 wxPyEndAllowThreads(__tstate);
25372 if (PyErr_Occurred()) SWIG_fail;
25373 }
25374 {
25375 wxSize * resultptr;
25376 resultptr = new wxSize((wxSize &) result);
2f4c0a16 25377 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
25378 }
25379 return resultobj;
25380 fail:
25381 return NULL;
25382}
25383
25384
2f4c0a16 25385static PyObject *_wrap_Window_WarpPointer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25386 PyObject *resultobj;
25387 wxWindow *arg1 = (wxWindow *) 0 ;
25388 int arg2 ;
25389 int arg3 ;
25390 PyObject * obj0 = 0 ;
8edf1c75
RD
25391 PyObject * obj1 = 0 ;
25392 PyObject * obj2 = 0 ;
d14a1e28
RD
25393 char *kwnames[] = {
25394 (char *) "self",(char *) "x",(char *) "y", NULL
25395 };
25396
8edf1c75 25397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25400 arg2 = (int) SWIG_AsInt(obj1);
25401 if (PyErr_Occurred()) SWIG_fail;
25402 arg3 = (int) SWIG_AsInt(obj2);
25403 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25404 {
25405 PyThreadState* __tstate = wxPyBeginAllowThreads();
25406 (arg1)->WarpPointer(arg2,arg3);
25407
25408 wxPyEndAllowThreads(__tstate);
25409 if (PyErr_Occurred()) SWIG_fail;
25410 }
25411 Py_INCREF(Py_None); resultobj = Py_None;
25412 return resultobj;
25413 fail:
25414 return NULL;
25415}
25416
25417
2f4c0a16 25418static PyObject *_wrap_Window_CaptureMouse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25419 PyObject *resultobj;
25420 wxWindow *arg1 = (wxWindow *) 0 ;
25421 PyObject * obj0 = 0 ;
25422 char *kwnames[] = {
25423 (char *) "self", NULL
25424 };
25425
25426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25429 {
25430 PyThreadState* __tstate = wxPyBeginAllowThreads();
25431 (arg1)->CaptureMouse();
25432
25433 wxPyEndAllowThreads(__tstate);
25434 if (PyErr_Occurred()) SWIG_fail;
25435 }
25436 Py_INCREF(Py_None); resultobj = Py_None;
25437 return resultobj;
25438 fail:
25439 return NULL;
25440}
25441
25442
2f4c0a16 25443static PyObject *_wrap_Window_ReleaseMouse(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25444 PyObject *resultobj;
25445 wxWindow *arg1 = (wxWindow *) 0 ;
25446 PyObject * obj0 = 0 ;
25447 char *kwnames[] = {
25448 (char *) "self", NULL
25449 };
25450
25451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25454 {
25455 PyThreadState* __tstate = wxPyBeginAllowThreads();
25456 (arg1)->ReleaseMouse();
25457
25458 wxPyEndAllowThreads(__tstate);
25459 if (PyErr_Occurred()) SWIG_fail;
25460 }
25461 Py_INCREF(Py_None); resultobj = Py_None;
25462 return resultobj;
25463 fail:
25464 return NULL;
25465}
25466
25467
2f4c0a16 25468static PyObject *_wrap_Window_GetCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25469 PyObject *resultobj;
25470 wxWindow *result;
25471 char *kwnames[] = {
25472 NULL
25473 };
25474
25475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
25476 {
25477 PyThreadState* __tstate = wxPyBeginAllowThreads();
25478 result = (wxWindow *)wxWindow::GetCapture();
25479
25480 wxPyEndAllowThreads(__tstate);
25481 if (PyErr_Occurred()) SWIG_fail;
25482 }
25483 {
25484 resultobj = wxPyMake_wxObject(result);
25485 }
25486 return resultobj;
25487 fail:
25488 return NULL;
25489}
25490
25491
2f4c0a16 25492static PyObject *_wrap_Window_HasCapture(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25493 PyObject *resultobj;
25494 wxWindow *arg1 = (wxWindow *) 0 ;
25495 bool result;
25496 PyObject * obj0 = 0 ;
25497 char *kwnames[] = {
25498 (char *) "self", NULL
25499 };
25500
25501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25502 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25503 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25504 {
25505 PyThreadState* __tstate = wxPyBeginAllowThreads();
25506 result = (bool)((wxWindow const *)arg1)->HasCapture();
25507
25508 wxPyEndAllowThreads(__tstate);
25509 if (PyErr_Occurred()) SWIG_fail;
25510 }
fbc46b20
RD
25511 {
25512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25513 }
d14a1e28
RD
25514 return resultobj;
25515 fail:
25516 return NULL;
25517}
25518
25519
2f4c0a16 25520static PyObject *_wrap_Window_Refresh(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25521 PyObject *resultobj;
25522 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 25523 bool arg2 = (bool) True ;
d14a1e28
RD
25524 wxRect *arg3 = (wxRect *) NULL ;
25525 PyObject * obj0 = 0 ;
25526 PyObject * obj1 = 0 ;
25527 PyObject * obj2 = 0 ;
25528 char *kwnames[] = {
25529 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25530 };
25531
25532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25533 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 25535 if (obj1) {
2f4c0a16
RD
25536 arg2 = (bool) SWIG_AsBool(obj1);
25537 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25538 }
25539 if (obj2) {
2f4c0a16
RD
25540 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
25541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25542 }
25543 {
25544 PyThreadState* __tstate = wxPyBeginAllowThreads();
25545 (arg1)->Refresh(arg2,(wxRect const *)arg3);
25546
25547 wxPyEndAllowThreads(__tstate);
25548 if (PyErr_Occurred()) SWIG_fail;
25549 }
25550 Py_INCREF(Py_None); resultobj = Py_None;
25551 return resultobj;
25552 fail:
25553 return NULL;
25554}
25555
25556
2f4c0a16 25557static PyObject *_wrap_Window_RefreshRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25558 PyObject *resultobj;
25559 wxWindow *arg1 = (wxWindow *) 0 ;
25560 wxRect *arg2 = 0 ;
25561 wxRect temp2 ;
25562 PyObject * obj0 = 0 ;
25563 PyObject * obj1 = 0 ;
25564 char *kwnames[] = {
25565 (char *) "self",(char *) "rect", NULL
25566 };
25567
25568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25571 {
25572 arg2 = &temp2;
25573 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25574 }
25575 {
25576 PyThreadState* __tstate = wxPyBeginAllowThreads();
25577 (arg1)->RefreshRect((wxRect const &)*arg2);
25578
25579 wxPyEndAllowThreads(__tstate);
25580 if (PyErr_Occurred()) SWIG_fail;
25581 }
25582 Py_INCREF(Py_None); resultobj = Py_None;
25583 return resultobj;
25584 fail:
25585 return NULL;
25586}
25587
25588
2f4c0a16 25589static PyObject *_wrap_Window_Update(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25590 PyObject *resultobj;
25591 wxWindow *arg1 = (wxWindow *) 0 ;
25592 PyObject * obj0 = 0 ;
25593 char *kwnames[] = {
25594 (char *) "self", NULL
25595 };
25596
25597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25600 {
25601 PyThreadState* __tstate = wxPyBeginAllowThreads();
25602 (arg1)->Update();
25603
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 Py_INCREF(Py_None); resultobj = Py_None;
25608 return resultobj;
25609 fail:
25610 return NULL;
25611}
25612
25613
2f4c0a16 25614static PyObject *_wrap_Window_ClearBackground(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25615 PyObject *resultobj;
25616 wxWindow *arg1 = (wxWindow *) 0 ;
25617 PyObject * obj0 = 0 ;
25618 char *kwnames[] = {
25619 (char *) "self", NULL
25620 };
25621
25622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25625 {
25626 PyThreadState* __tstate = wxPyBeginAllowThreads();
25627 (arg1)->ClearBackground();
25628
25629 wxPyEndAllowThreads(__tstate);
25630 if (PyErr_Occurred()) SWIG_fail;
25631 }
25632 Py_INCREF(Py_None); resultobj = Py_None;
25633 return resultobj;
25634 fail:
25635 return NULL;
25636}
25637
25638
2f4c0a16 25639static PyObject *_wrap_Window_Freeze(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25640 PyObject *resultobj;
25641 wxWindow *arg1 = (wxWindow *) 0 ;
25642 PyObject * obj0 = 0 ;
25643 char *kwnames[] = {
25644 (char *) "self", NULL
25645 };
25646
25647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25650 {
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 (arg1)->Freeze();
25653
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 Py_INCREF(Py_None); resultobj = Py_None;
25658 return resultobj;
25659 fail:
25660 return NULL;
25661}
25662
25663
2f4c0a16 25664static PyObject *_wrap_Window_Thaw(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25665 PyObject *resultobj;
25666 wxWindow *arg1 = (wxWindow *) 0 ;
25667 PyObject * obj0 = 0 ;
25668 char *kwnames[] = {
25669 (char *) "self", NULL
25670 };
25671
25672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25675 {
25676 PyThreadState* __tstate = wxPyBeginAllowThreads();
25677 (arg1)->Thaw();
25678
25679 wxPyEndAllowThreads(__tstate);
25680 if (PyErr_Occurred()) SWIG_fail;
25681 }
25682 Py_INCREF(Py_None); resultobj = Py_None;
25683 return resultobj;
25684 fail:
25685 return NULL;
25686}
25687
25688
2f4c0a16 25689static PyObject *_wrap_Window_PrepareDC(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25690 PyObject *resultobj;
25691 wxWindow *arg1 = (wxWindow *) 0 ;
25692 wxDC *arg2 = 0 ;
25693 PyObject * obj0 = 0 ;
25694 PyObject * obj1 = 0 ;
25695 char *kwnames[] = {
25696 (char *) "self",(char *) "dc", NULL
25697 };
25698
25699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25702 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
25703 SWIG_POINTER_EXCEPTION | 0)) == -1)
25704 SWIG_fail;
d14a1e28 25705 if (arg2 == NULL) {
2f4c0a16
RD
25706 PyErr_SetString(PyExc_TypeError,"null reference");
25707 SWIG_fail;
d14a1e28
RD
25708 }
25709 {
25710 PyThreadState* __tstate = wxPyBeginAllowThreads();
25711 (arg1)->PrepareDC(*arg2);
25712
25713 wxPyEndAllowThreads(__tstate);
25714 if (PyErr_Occurred()) SWIG_fail;
25715 }
25716 Py_INCREF(Py_None); resultobj = Py_None;
25717 return resultobj;
25718 fail:
25719 return NULL;
25720}
25721
25722
2f4c0a16 25723static PyObject *_wrap_Window_GetUpdateRegion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25724 PyObject *resultobj;
25725 wxWindow *arg1 = (wxWindow *) 0 ;
25726 wxRegion *result;
25727 PyObject * obj0 = 0 ;
25728 char *kwnames[] = {
25729 (char *) "self", NULL
25730 };
25731
25732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25735 {
25736 PyThreadState* __tstate = wxPyBeginAllowThreads();
25737 {
25738 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
25739 result = (wxRegion *) &_result_ref;
25740 }
25741
25742 wxPyEndAllowThreads(__tstate);
25743 if (PyErr_Occurred()) SWIG_fail;
25744 }
2f4c0a16 25745 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
25746 return resultobj;
25747 fail:
25748 return NULL;
25749}
25750
25751
2f4c0a16 25752static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25753 PyObject *resultobj;
25754 wxWindow *arg1 = (wxWindow *) 0 ;
25755 wxRect result;
25756 PyObject * obj0 = 0 ;
25757 char *kwnames[] = {
25758 (char *) "self", NULL
25759 };
25760
25761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25762 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25763 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25764 {
25765 PyThreadState* __tstate = wxPyBeginAllowThreads();
25766 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
25767
25768 wxPyEndAllowThreads(__tstate);
25769 if (PyErr_Occurred()) SWIG_fail;
25770 }
25771 {
25772 wxRect * resultptr;
25773 resultptr = new wxRect((wxRect &) result);
2f4c0a16 25774 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
25775 }
25776 return resultobj;
25777 fail:
25778 return NULL;
25779}
25780
25781
2f4c0a16 25782static PyObject *_wrap_Window_IsExposed(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25783 PyObject *resultobj;
25784 wxWindow *arg1 = (wxWindow *) 0 ;
25785 int arg2 ;
25786 int arg3 ;
25787 int arg4 = (int) 1 ;
25788 int arg5 = (int) 1 ;
25789 bool result;
25790 PyObject * obj0 = 0 ;
8edf1c75
RD
25791 PyObject * obj1 = 0 ;
25792 PyObject * obj2 = 0 ;
25793 PyObject * obj3 = 0 ;
25794 PyObject * obj4 = 0 ;
d14a1e28
RD
25795 char *kwnames[] = {
25796 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25797 };
25798
8edf1c75 25799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
25800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25802 arg2 = (int) SWIG_AsInt(obj1);
25803 if (PyErr_Occurred()) SWIG_fail;
25804 arg3 = (int) SWIG_AsInt(obj2);
25805 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25806 if (obj3) {
2f4c0a16
RD
25807 arg4 = (int) SWIG_AsInt(obj3);
25808 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
25809 }
25810 if (obj4) {
2f4c0a16
RD
25811 arg5 = (int) SWIG_AsInt(obj4);
25812 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25813 }
d14a1e28
RD
25814 {
25815 PyThreadState* __tstate = wxPyBeginAllowThreads();
25816 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
25817
25818 wxPyEndAllowThreads(__tstate);
25819 if (PyErr_Occurred()) SWIG_fail;
25820 }
fbc46b20
RD
25821 {
25822 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25823 }
d14a1e28
RD
25824 return resultobj;
25825 fail:
25826 return NULL;
25827}
25828
25829
2f4c0a16 25830static PyObject *_wrap_Window_IsExposedPoint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25831 PyObject *resultobj;
25832 wxWindow *arg1 = (wxWindow *) 0 ;
25833 wxPoint *arg2 = 0 ;
25834 bool result;
25835 wxPoint temp2 ;
25836 PyObject * obj0 = 0 ;
25837 PyObject * obj1 = 0 ;
25838 char *kwnames[] = {
25839 (char *) "self",(char *) "pt", NULL
25840 };
25841
25842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25845 {
25846 arg2 = &temp2;
25847 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25848 }
25849 {
25850 PyThreadState* __tstate = wxPyBeginAllowThreads();
25851 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
25852
25853 wxPyEndAllowThreads(__tstate);
25854 if (PyErr_Occurred()) SWIG_fail;
25855 }
fbc46b20
RD
25856 {
25857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25858 }
d14a1e28
RD
25859 return resultobj;
25860 fail:
25861 return NULL;
25862}
25863
25864
ce7284bd 25865static PyObject *_wrap_Window_IsExposedRect(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25866 PyObject *resultobj;
25867 wxWindow *arg1 = (wxWindow *) 0 ;
25868 wxRect *arg2 = 0 ;
25869 bool result;
25870 wxRect temp2 ;
25871 PyObject * obj0 = 0 ;
25872 PyObject * obj1 = 0 ;
25873 char *kwnames[] = {
25874 (char *) "self",(char *) "rect", NULL
25875 };
25876
ce7284bd 25877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25880 {
25881 arg2 = &temp2;
25882 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
25883 }
25884 {
25885 PyThreadState* __tstate = wxPyBeginAllowThreads();
25886 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
25887
25888 wxPyEndAllowThreads(__tstate);
25889 if (PyErr_Occurred()) SWIG_fail;
25890 }
fbc46b20
RD
25891 {
25892 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25893 }
d14a1e28
RD
25894 return resultobj;
25895 fail:
25896 return NULL;
25897}
25898
25899
377d47bd
RD
25900static PyObject *_wrap_Window_GetDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
25901 PyObject *resultobj;
25902 wxWindow *arg1 = (wxWindow *) 0 ;
25903 wxVisualAttributes result;
25904 PyObject * obj0 = 0 ;
25905 char *kwnames[] = {
25906 (char *) "self", NULL
25907 };
25908
25909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultAttributes",kwnames,&obj0)) goto fail;
25910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25912 {
25913 PyThreadState* __tstate = wxPyBeginAllowThreads();
25914 result = ((wxWindow const *)arg1)->GetDefaultAttributes();
25915
25916 wxPyEndAllowThreads(__tstate);
25917 if (PyErr_Occurred()) SWIG_fail;
25918 }
25919 {
25920 wxVisualAttributes * resultptr;
25921 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25922 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25923 }
25924 return resultobj;
25925 fail:
25926 return NULL;
25927}
25928
25929
25930static PyObject *_wrap_Window_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
25931 PyObject *resultobj;
25932 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
25933 wxVisualAttributes result;
25934 PyObject * obj0 = 0 ;
25935 char *kwnames[] = {
25936 (char *) "variant", NULL
25937 };
25938
25939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Window_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
25940 if (obj0) {
25941 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
25942 if (PyErr_Occurred()) SWIG_fail;
25943 }
25944 {
25945 PyThreadState* __tstate = wxPyBeginAllowThreads();
25946 result = wxWindow::GetClassDefaultAttributes((wxWindowVariant )arg1);
25947
25948 wxPyEndAllowThreads(__tstate);
25949 if (PyErr_Occurred()) SWIG_fail;
25950 }
25951 {
25952 wxVisualAttributes * resultptr;
25953 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
25954 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
25955 }
25956 return resultobj;
25957 fail:
25958 return NULL;
25959}
25960
25961
2f4c0a16 25962static PyObject *_wrap_Window_SetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
25963 PyObject *resultobj;
25964 wxWindow *arg1 = (wxWindow *) 0 ;
25965 wxColour *arg2 = 0 ;
25966 bool result;
25967 wxColour temp2 ;
25968 PyObject * obj0 = 0 ;
25969 PyObject * obj1 = 0 ;
25970 char *kwnames[] = {
25971 (char *) "self",(char *) "colour", NULL
25972 };
25973
25974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25977 {
25978 arg2 = &temp2;
25979 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
25980 }
25981 {
25982 PyThreadState* __tstate = wxPyBeginAllowThreads();
25983 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
25984
25985 wxPyEndAllowThreads(__tstate);
25986 if (PyErr_Occurred()) SWIG_fail;
25987 }
fbc46b20
RD
25988 {
25989 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
25990 }
d14a1e28
RD
25991 return resultobj;
25992 fail:
25993 return NULL;
25994}
25995
25996
377d47bd
RD
25997static PyObject *_wrap_Window_SetDefaultBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
25998 PyObject *resultobj;
25999 wxWindow *arg1 = (wxWindow *) 0 ;
26000 wxColour *arg2 = 0 ;
26001 wxColour temp2 ;
26002 PyObject * obj0 = 0 ;
26003 PyObject * obj1 = 0 ;
26004 char *kwnames[] = {
26005 (char *) "self",(char *) "colour", NULL
26006 };
26007
26008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
26009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26011 {
26012 arg2 = &temp2;
26013 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26014 }
26015 {
26016 PyThreadState* __tstate = wxPyBeginAllowThreads();
26017 (arg1)->SetDefaultBackgroundColour((wxColour const &)*arg2);
26018
26019 wxPyEndAllowThreads(__tstate);
26020 if (PyErr_Occurred()) SWIG_fail;
26021 }
26022 Py_INCREF(Py_None); resultobj = Py_None;
26023 return resultobj;
26024 fail:
26025 return NULL;
26026}
26027
26028
2f4c0a16 26029static PyObject *_wrap_Window_SetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26030 PyObject *resultobj;
26031 wxWindow *arg1 = (wxWindow *) 0 ;
26032 wxColour *arg2 = 0 ;
26033 bool result;
26034 wxColour temp2 ;
26035 PyObject * obj0 = 0 ;
26036 PyObject * obj1 = 0 ;
26037 char *kwnames[] = {
26038 (char *) "self",(char *) "colour", NULL
26039 };
26040
26041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26044 {
26045 arg2 = &temp2;
26046 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26047 }
26048 {
26049 PyThreadState* __tstate = wxPyBeginAllowThreads();
26050 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
26051
26052 wxPyEndAllowThreads(__tstate);
26053 if (PyErr_Occurred()) SWIG_fail;
26054 }
fbc46b20
RD
26055 {
26056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26057 }
d14a1e28
RD
26058 return resultobj;
26059 fail:
26060 return NULL;
26061}
26062
26063
377d47bd
RD
26064static PyObject *_wrap_Window_SetDefaultForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
26065 PyObject *resultobj;
26066 wxWindow *arg1 = (wxWindow *) 0 ;
26067 wxColour *arg2 = 0 ;
26068 wxColour temp2 ;
26069 PyObject * obj0 = 0 ;
26070 PyObject * obj1 = 0 ;
26071 char *kwnames[] = {
26072 (char *) "self",(char *) "colour", NULL
26073 };
26074
26075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultForegroundColour",kwnames,&obj0,&obj1)) goto fail;
26076 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26078 {
26079 arg2 = &temp2;
26080 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
26081 }
26082 {
26083 PyThreadState* __tstate = wxPyBeginAllowThreads();
26084 (arg1)->SetDefaultForegroundColour((wxColour const &)*arg2);
26085
26086 wxPyEndAllowThreads(__tstate);
26087 if (PyErr_Occurred()) SWIG_fail;
26088 }
26089 Py_INCREF(Py_None); resultobj = Py_None;
26090 return resultobj;
26091 fail:
26092 return NULL;
26093}
26094
26095
2f4c0a16 26096static PyObject *_wrap_Window_GetBackgroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26097 PyObject *resultobj;
26098 wxWindow *arg1 = (wxWindow *) 0 ;
26099 wxColour result;
26100 PyObject * obj0 = 0 ;
26101 char *kwnames[] = {
26102 (char *) "self", NULL
26103 };
26104
26105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26108 {
26109 PyThreadState* __tstate = wxPyBeginAllowThreads();
26110 result = ((wxWindow const *)arg1)->GetBackgroundColour();
26111
26112 wxPyEndAllowThreads(__tstate);
26113 if (PyErr_Occurred()) SWIG_fail;
26114 }
26115 {
26116 wxColour * resultptr;
26117 resultptr = new wxColour((wxColour &) result);
2f4c0a16 26118 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26119 }
26120 return resultobj;
26121 fail:
26122 return NULL;
26123}
26124
26125
2f4c0a16 26126static PyObject *_wrap_Window_GetForegroundColour(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26127 PyObject *resultobj;
26128 wxWindow *arg1 = (wxWindow *) 0 ;
26129 wxColour result;
26130 PyObject * obj0 = 0 ;
26131 char *kwnames[] = {
26132 (char *) "self", NULL
26133 };
26134
26135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26138 {
26139 PyThreadState* __tstate = wxPyBeginAllowThreads();
26140 result = ((wxWindow const *)arg1)->GetForegroundColour();
26141
26142 wxPyEndAllowThreads(__tstate);
26143 if (PyErr_Occurred()) SWIG_fail;
26144 }
26145 {
26146 wxColour * resultptr;
26147 resultptr = new wxColour((wxColour &) result);
2f4c0a16 26148 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
26149 }
26150 return resultobj;
26151 fail:
26152 return NULL;
26153}
26154
26155
2f4c0a16 26156static PyObject *_wrap_Window_SetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26157 PyObject *resultobj;
26158 wxWindow *arg1 = (wxWindow *) 0 ;
26159 wxCursor *arg2 = 0 ;
26160 bool result;
26161 PyObject * obj0 = 0 ;
26162 PyObject * obj1 = 0 ;
26163 char *kwnames[] = {
26164 (char *) "self",(char *) "cursor", NULL
26165 };
26166
26167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26170 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
26171 SWIG_POINTER_EXCEPTION | 0)) == -1)
26172 SWIG_fail;
d14a1e28 26173 if (arg2 == NULL) {
2f4c0a16
RD
26174 PyErr_SetString(PyExc_TypeError,"null reference");
26175 SWIG_fail;
d14a1e28
RD
26176 }
26177 {
26178 PyThreadState* __tstate = wxPyBeginAllowThreads();
26179 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
26180
26181 wxPyEndAllowThreads(__tstate);
26182 if (PyErr_Occurred()) SWIG_fail;
26183 }
fbc46b20
RD
26184 {
26185 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26186 }
d14a1e28
RD
26187 return resultobj;
26188 fail:
26189 return NULL;
26190}
26191
26192
2f4c0a16 26193static PyObject *_wrap_Window_GetCursor(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26194 PyObject *resultobj;
26195 wxWindow *arg1 = (wxWindow *) 0 ;
26196 wxCursor *result;
26197 PyObject * obj0 = 0 ;
26198 char *kwnames[] = {
26199 (char *) "self", NULL
26200 };
26201
26202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26205 {
26206 PyThreadState* __tstate = wxPyBeginAllowThreads();
26207 {
26208 wxCursor &_result_ref = (arg1)->GetCursor();
26209 result = (wxCursor *) &_result_ref;
26210 }
26211
26212 wxPyEndAllowThreads(__tstate);
26213 if (PyErr_Occurred()) SWIG_fail;
26214 }
ce7284bd
RD
26215 {
26216 wxCursor* resultptr = new wxCursor(*result);
26217 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
26218 }
d14a1e28
RD
26219 return resultobj;
26220 fail:
26221 return NULL;
26222}
26223
26224
2f4c0a16 26225static PyObject *_wrap_Window_SetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26226 PyObject *resultobj;
26227 wxWindow *arg1 = (wxWindow *) 0 ;
26228 wxFont *arg2 = 0 ;
26229 bool result;
26230 PyObject * obj0 = 0 ;
26231 PyObject * obj1 = 0 ;
26232 char *kwnames[] = {
26233 (char *) "self",(char *) "font", NULL
26234 };
26235
26236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26239 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26240 SWIG_POINTER_EXCEPTION | 0)) == -1)
26241 SWIG_fail;
d14a1e28 26242 if (arg2 == NULL) {
2f4c0a16
RD
26243 PyErr_SetString(PyExc_TypeError,"null reference");
26244 SWIG_fail;
d14a1e28
RD
26245 }
26246 {
26247 PyThreadState* __tstate = wxPyBeginAllowThreads();
26248 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
26249
26250 wxPyEndAllowThreads(__tstate);
26251 if (PyErr_Occurred()) SWIG_fail;
26252 }
fbc46b20
RD
26253 {
26254 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26255 }
d14a1e28
RD
26256 return resultobj;
26257 fail:
26258 return NULL;
26259}
26260
26261
377d47bd
RD
26262static PyObject *_wrap_Window_SetDefaultFont(PyObject *, PyObject *args, PyObject *kwargs) {
26263 PyObject *resultobj;
26264 wxWindow *arg1 = (wxWindow *) 0 ;
26265 wxFont *arg2 = 0 ;
26266 PyObject * obj0 = 0 ;
26267 PyObject * obj1 = 0 ;
26268 char *kwnames[] = {
26269 (char *) "self",(char *) "font", NULL
26270 };
26271
26272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultFont",kwnames,&obj0,&obj1)) goto fail;
26273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26275 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
26276 SWIG_POINTER_EXCEPTION | 0)) == -1)
26277 SWIG_fail;
26278 if (arg2 == NULL) {
26279 PyErr_SetString(PyExc_TypeError,"null reference");
26280 SWIG_fail;
26281 }
26282 {
26283 PyThreadState* __tstate = wxPyBeginAllowThreads();
26284 (arg1)->SetDefaultFont((wxFont const &)*arg2);
26285
26286 wxPyEndAllowThreads(__tstate);
26287 if (PyErr_Occurred()) SWIG_fail;
26288 }
26289 Py_INCREF(Py_None); resultobj = Py_None;
26290 return resultobj;
26291 fail:
26292 return NULL;
26293}
26294
26295
2f4c0a16 26296static PyObject *_wrap_Window_GetFont(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26297 PyObject *resultobj;
26298 wxWindow *arg1 = (wxWindow *) 0 ;
26299 wxFont *result;
26300 PyObject * obj0 = 0 ;
26301 char *kwnames[] = {
26302 (char *) "self", NULL
26303 };
26304
26305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26308 {
26309 PyThreadState* __tstate = wxPyBeginAllowThreads();
26310 {
26311 wxFont &_result_ref = (arg1)->GetFont();
26312 result = (wxFont *) &_result_ref;
26313 }
26314
26315 wxPyEndAllowThreads(__tstate);
26316 if (PyErr_Occurred()) SWIG_fail;
26317 }
ce7284bd
RD
26318 {
26319 wxFont* resultptr = new wxFont(*result);
26320 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
26321 }
d14a1e28
RD
26322 return resultobj;
26323 fail:
26324 return NULL;
26325}
26326
26327
2f4c0a16 26328static PyObject *_wrap_Window_SetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26329 PyObject *resultobj;
26330 wxWindow *arg1 = (wxWindow *) 0 ;
26331 wxCaret *arg2 = (wxCaret *) 0 ;
26332 PyObject * obj0 = 0 ;
26333 PyObject * obj1 = 0 ;
26334 char *kwnames[] = {
26335 (char *) "self",(char *) "caret", NULL
26336 };
26337
26338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26341 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
26342 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26343 {
26344 PyThreadState* __tstate = wxPyBeginAllowThreads();
26345 (arg1)->SetCaret(arg2);
26346
26347 wxPyEndAllowThreads(__tstate);
26348 if (PyErr_Occurred()) SWIG_fail;
26349 }
26350 Py_INCREF(Py_None); resultobj = Py_None;
26351 return resultobj;
26352 fail:
26353 return NULL;
26354}
26355
26356
2f4c0a16 26357static PyObject *_wrap_Window_GetCaret(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26358 PyObject *resultobj;
26359 wxWindow *arg1 = (wxWindow *) 0 ;
26360 wxCaret *result;
26361 PyObject * obj0 = 0 ;
26362 char *kwnames[] = {
26363 (char *) "self", NULL
26364 };
26365
26366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26369 {
26370 PyThreadState* __tstate = wxPyBeginAllowThreads();
26371 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
26372
26373 wxPyEndAllowThreads(__tstate);
26374 if (PyErr_Occurred()) SWIG_fail;
26375 }
2f4c0a16 26376 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
26377 return resultobj;
26378 fail:
26379 return NULL;
26380}
26381
26382
2f4c0a16 26383static PyObject *_wrap_Window_GetCharHeight(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26384 PyObject *resultobj;
26385 wxWindow *arg1 = (wxWindow *) 0 ;
26386 int result;
26387 PyObject * obj0 = 0 ;
26388 char *kwnames[] = {
26389 (char *) "self", NULL
26390 };
26391
26392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26395 {
26396 PyThreadState* __tstate = wxPyBeginAllowThreads();
26397 result = (int)((wxWindow const *)arg1)->GetCharHeight();
26398
26399 wxPyEndAllowThreads(__tstate);
26400 if (PyErr_Occurred()) SWIG_fail;
26401 }
2f4c0a16 26402 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26403 return resultobj;
26404 fail:
26405 return NULL;
26406}
26407
26408
2f4c0a16 26409static PyObject *_wrap_Window_GetCharWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26410 PyObject *resultobj;
26411 wxWindow *arg1 = (wxWindow *) 0 ;
26412 int result;
26413 PyObject * obj0 = 0 ;
26414 char *kwnames[] = {
26415 (char *) "self", NULL
26416 };
26417
26418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26421 {
26422 PyThreadState* __tstate = wxPyBeginAllowThreads();
26423 result = (int)((wxWindow const *)arg1)->GetCharWidth();
26424
26425 wxPyEndAllowThreads(__tstate);
26426 if (PyErr_Occurred()) SWIG_fail;
26427 }
2f4c0a16 26428 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26429 return resultobj;
26430 fail:
26431 return NULL;
26432}
26433
26434
2f4c0a16 26435static PyObject *_wrap_Window_GetTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26436 PyObject *resultobj;
26437 wxWindow *arg1 = (wxWindow *) 0 ;
26438 wxString *arg2 = 0 ;
26439 int *arg3 = (int *) 0 ;
26440 int *arg4 = (int *) 0 ;
423f194a 26441 bool temp2 = False ;
d14a1e28
RD
26442 int temp3 ;
26443 int temp4 ;
26444 PyObject * obj0 = 0 ;
26445 PyObject * obj1 = 0 ;
26446 char *kwnames[] = {
26447 (char *) "self",(char *) "string", NULL
26448 };
26449
26450 arg3 = &temp3;
26451 arg4 = &temp4;
26452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26453 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26455 {
26456 arg2 = wxString_in_helper(obj1);
26457 if (arg2 == NULL) SWIG_fail;
423f194a 26458 temp2 = True;
d14a1e28
RD
26459 }
26460 {
26461 PyThreadState* __tstate = wxPyBeginAllowThreads();
26462 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
26463
26464 wxPyEndAllowThreads(__tstate);
26465 if (PyErr_Occurred()) SWIG_fail;
26466 }
26467 Py_INCREF(Py_None); resultobj = Py_None;
26468 {
26469 PyObject *o = PyInt_FromLong((long) (*arg3));
26470 resultobj = t_output_helper(resultobj,o);
26471 }
26472 {
26473 PyObject *o = PyInt_FromLong((long) (*arg4));
26474 resultobj = t_output_helper(resultobj,o);
26475 }
26476 {
26477 if (temp2)
26478 delete arg2;
26479 }
26480 return resultobj;
26481 fail:
26482 {
26483 if (temp2)
26484 delete arg2;
26485 }
26486 return NULL;
26487}
26488
26489
2f4c0a16 26490static PyObject *_wrap_Window_GetFullTextExtent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26491 PyObject *resultobj;
26492 wxWindow *arg1 = (wxWindow *) 0 ;
26493 wxString *arg2 = 0 ;
26494 int *arg3 = (int *) 0 ;
26495 int *arg4 = (int *) 0 ;
26496 int *arg5 = (int *) 0 ;
26497 int *arg6 = (int *) 0 ;
26498 wxFont *arg7 = (wxFont *) NULL ;
423f194a 26499 bool temp2 = False ;
d14a1e28
RD
26500 int temp3 ;
26501 int temp4 ;
26502 int temp5 ;
26503 int temp6 ;
26504 PyObject * obj0 = 0 ;
26505 PyObject * obj1 = 0 ;
26506 PyObject * obj2 = 0 ;
26507 char *kwnames[] = {
26508 (char *) "self",(char *) "string",(char *) "font", NULL
26509 };
26510
26511 arg3 = &temp3;
26512 arg4 = &temp4;
26513 arg5 = &temp5;
26514 arg6 = &temp6;
26515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26518 {
26519 arg2 = wxString_in_helper(obj1);
26520 if (arg2 == NULL) SWIG_fail;
423f194a 26521 temp2 = True;
d14a1e28
RD
26522 }
26523 if (obj2) {
2f4c0a16
RD
26524 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
26525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26526 }
26527 {
26528 PyThreadState* __tstate = wxPyBeginAllowThreads();
26529 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
26530
26531 wxPyEndAllowThreads(__tstate);
26532 if (PyErr_Occurred()) SWIG_fail;
26533 }
26534 Py_INCREF(Py_None); resultobj = Py_None;
26535 {
26536 PyObject *o = PyInt_FromLong((long) (*arg3));
26537 resultobj = t_output_helper(resultobj,o);
26538 }
26539 {
26540 PyObject *o = PyInt_FromLong((long) (*arg4));
26541 resultobj = t_output_helper(resultobj,o);
26542 }
26543 {
26544 PyObject *o = PyInt_FromLong((long) (*arg5));
26545 resultobj = t_output_helper(resultobj,o);
26546 }
26547 {
26548 PyObject *o = PyInt_FromLong((long) (*arg6));
26549 resultobj = t_output_helper(resultobj,o);
26550 }
26551 {
26552 if (temp2)
26553 delete arg2;
26554 }
26555 return resultobj;
26556 fail:
26557 {
26558 if (temp2)
26559 delete arg2;
26560 }
26561 return NULL;
26562}
26563
26564
2f4c0a16 26565static PyObject *_wrap_Window_ClientToScreenXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26566 PyObject *resultobj;
26567 wxWindow *arg1 = (wxWindow *) 0 ;
26568 int *arg2 = (int *) 0 ;
26569 int *arg3 = (int *) 0 ;
26570 int temp2 ;
26571 int temp3 ;
26572 PyObject * obj0 = 0 ;
26573 PyObject * obj1 = 0 ;
26574 PyObject * obj2 = 0 ;
26575 char *kwnames[] = {
26576 (char *) "self",(char *) "x",(char *) "y", NULL
26577 };
26578
26579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26582 {
26583 temp2 = PyInt_AsLong(obj1);
26584 if (PyErr_Occurred()) SWIG_fail;
26585 arg2 = &temp2;
26586 }
26587 {
26588 temp3 = PyInt_AsLong(obj2);
26589 if (PyErr_Occurred()) SWIG_fail;
26590 arg3 = &temp3;
26591 }
26592 {
26593 PyThreadState* __tstate = wxPyBeginAllowThreads();
26594 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
26595
26596 wxPyEndAllowThreads(__tstate);
26597 if (PyErr_Occurred()) SWIG_fail;
26598 }
26599 Py_INCREF(Py_None); resultobj = Py_None;
26600 {
26601 PyObject *o = PyInt_FromLong((long) (*arg2));
26602 resultobj = t_output_helper(resultobj,o);
26603 }
26604 {
26605 PyObject *o = PyInt_FromLong((long) (*arg3));
26606 resultobj = t_output_helper(resultobj,o);
26607 }
26608 return resultobj;
26609 fail:
26610 return NULL;
26611}
26612
26613
2f4c0a16 26614static PyObject *_wrap_Window_ScreenToClientXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26615 PyObject *resultobj;
26616 wxWindow *arg1 = (wxWindow *) 0 ;
26617 int *arg2 = (int *) 0 ;
26618 int *arg3 = (int *) 0 ;
26619 int temp2 ;
26620 int temp3 ;
26621 PyObject * obj0 = 0 ;
26622 PyObject * obj1 = 0 ;
26623 PyObject * obj2 = 0 ;
26624 char *kwnames[] = {
26625 (char *) "self",(char *) "x",(char *) "y", NULL
26626 };
26627
26628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26631 {
26632 temp2 = PyInt_AsLong(obj1);
26633 if (PyErr_Occurred()) SWIG_fail;
26634 arg2 = &temp2;
26635 }
26636 {
26637 temp3 = PyInt_AsLong(obj2);
26638 if (PyErr_Occurred()) SWIG_fail;
26639 arg3 = &temp3;
26640 }
26641 {
26642 PyThreadState* __tstate = wxPyBeginAllowThreads();
26643 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
26644
26645 wxPyEndAllowThreads(__tstate);
26646 if (PyErr_Occurred()) SWIG_fail;
26647 }
26648 Py_INCREF(Py_None); resultobj = Py_None;
26649 {
26650 PyObject *o = PyInt_FromLong((long) (*arg2));
26651 resultobj = t_output_helper(resultobj,o);
26652 }
26653 {
26654 PyObject *o = PyInt_FromLong((long) (*arg3));
26655 resultobj = t_output_helper(resultobj,o);
26656 }
26657 return resultobj;
26658 fail:
26659 return NULL;
26660}
26661
26662
2f4c0a16 26663static PyObject *_wrap_Window_ClientToScreen(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26664 PyObject *resultobj;
26665 wxWindow *arg1 = (wxWindow *) 0 ;
26666 wxPoint *arg2 = 0 ;
26667 wxPoint result;
26668 wxPoint temp2 ;
26669 PyObject * obj0 = 0 ;
26670 PyObject * obj1 = 0 ;
26671 char *kwnames[] = {
26672 (char *) "self",(char *) "pt", NULL
26673 };
26674
26675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26676 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26677 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26678 {
26679 arg2 = &temp2;
26680 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26681 }
26682 {
26683 PyThreadState* __tstate = wxPyBeginAllowThreads();
26684 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
26685
26686 wxPyEndAllowThreads(__tstate);
26687 if (PyErr_Occurred()) SWIG_fail;
26688 }
26689 {
26690 wxPoint * resultptr;
26691 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 26692 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26693 }
26694 return resultobj;
26695 fail:
26696 return NULL;
26697}
26698
26699
2f4c0a16 26700static PyObject *_wrap_Window_ScreenToClient(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26701 PyObject *resultobj;
26702 wxWindow *arg1 = (wxWindow *) 0 ;
26703 wxPoint *arg2 = 0 ;
26704 wxPoint result;
26705 wxPoint temp2 ;
26706 PyObject * obj0 = 0 ;
26707 PyObject * obj1 = 0 ;
26708 char *kwnames[] = {
26709 (char *) "self",(char *) "pt", NULL
26710 };
26711
26712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26715 {
26716 arg2 = &temp2;
26717 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26718 }
26719 {
26720 PyThreadState* __tstate = wxPyBeginAllowThreads();
26721 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
26722
26723 wxPyEndAllowThreads(__tstate);
26724 if (PyErr_Occurred()) SWIG_fail;
26725 }
26726 {
26727 wxPoint * resultptr;
26728 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 26729 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
26730 }
26731 return resultobj;
26732 fail:
26733 return NULL;
26734}
26735
26736
2f4c0a16 26737static PyObject *_wrap_Window_HitTestXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26738 PyObject *resultobj;
26739 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a
RD
26740 int arg2 ;
26741 int arg3 ;
d14a1e28
RD
26742 int result;
26743 PyObject * obj0 = 0 ;
8edf1c75
RD
26744 PyObject * obj1 = 0 ;
26745 PyObject * obj2 = 0 ;
d14a1e28
RD
26746 char *kwnames[] = {
26747 (char *) "self",(char *) "x",(char *) "y", NULL
26748 };
26749
8edf1c75 26750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26753 arg2 = (int) SWIG_AsInt(obj1);
26754 if (PyErr_Occurred()) SWIG_fail;
26755 arg3 = (int) SWIG_AsInt(obj2);
26756 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26757 {
26758 PyThreadState* __tstate = wxPyBeginAllowThreads();
26759 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
26760
26761 wxPyEndAllowThreads(__tstate);
26762 if (PyErr_Occurred()) SWIG_fail;
26763 }
2f4c0a16 26764 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26765 return resultobj;
26766 fail:
26767 return NULL;
26768}
26769
26770
2f4c0a16 26771static PyObject *_wrap_Window_HitTest(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26772 PyObject *resultobj;
26773 wxWindow *arg1 = (wxWindow *) 0 ;
26774 wxPoint *arg2 = 0 ;
26775 int result;
26776 wxPoint temp2 ;
26777 PyObject * obj0 = 0 ;
26778 PyObject * obj1 = 0 ;
26779 char *kwnames[] = {
26780 (char *) "self",(char *) "pt", NULL
26781 };
26782
26783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26786 {
26787 arg2 = &temp2;
26788 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26789 }
26790 {
26791 PyThreadState* __tstate = wxPyBeginAllowThreads();
26792 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
26793
26794 wxPyEndAllowThreads(__tstate);
26795 if (PyErr_Occurred()) SWIG_fail;
26796 }
2f4c0a16 26797 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26798 return resultobj;
26799 fail:
26800 return NULL;
26801}
26802
26803
2f4c0a16 26804static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
26805 PyObject *resultobj;
26806 wxWindow *arg1 = (wxWindow *) 0 ;
26807 long arg2 ;
26808 int result;
26809 PyObject * obj0 = 0 ;
8edf1c75 26810 PyObject * obj1 = 0 ;
d14a1e28 26811
2f4c0a16
RD
26812 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
26813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26815 arg2 = (long) SWIG_AsLong(obj1);
26816 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26817 {
26818 PyThreadState* __tstate = wxPyBeginAllowThreads();
26819 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
26820
26821 wxPyEndAllowThreads(__tstate);
26822 if (PyErr_Occurred()) SWIG_fail;
26823 }
2f4c0a16 26824 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26825 return resultobj;
26826 fail:
26827 return NULL;
26828}
26829
26830
2f4c0a16 26831static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
26832 PyObject *resultobj;
26833 wxWindow *arg1 = (wxWindow *) 0 ;
26834 int result;
26835 PyObject * obj0 = 0 ;
d14a1e28 26836
2f4c0a16
RD
26837 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
26838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26840 {
26841 PyThreadState* __tstate = wxPyBeginAllowThreads();
26842 result = (int)((wxWindow const *)arg1)->GetBorder();
26843
26844 wxPyEndAllowThreads(__tstate);
26845 if (PyErr_Occurred()) SWIG_fail;
26846 }
2f4c0a16 26847 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26848 return resultobj;
26849 fail:
26850 return NULL;
26851}
26852
26853
2f4c0a16
RD
26854static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
26855 int argc;
26856 PyObject *argv[3];
26857 int ii;
26858
26859 argc = PyObject_Length(args);
26860 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
26861 argv[ii] = PyTuple_GetItem(args,ii);
26862 }
26863 if (argc == 1) {
26864 int _v;
26865 {
26866 void *ptr;
26867 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26868 _v = 0;
26869 PyErr_Clear();
26870 } else {
26871 _v = 1;
26872 }
26873 }
26874 if (_v) {
26875 return _wrap_Window_GetBorder__SWIG_1(self,args);
26876 }
26877 }
26878 if (argc == 2) {
26879 int _v;
26880 {
26881 void *ptr;
26882 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
26883 _v = 0;
26884 PyErr_Clear();
26885 } else {
26886 _v = 1;
26887 }
26888 }
26889 if (_v) {
26890 _v = SWIG_CheckLong(argv[1]);
26891 if (_v) {
26892 return _wrap_Window_GetBorder__SWIG_0(self,args);
26893 }
26894 }
26895 }
26896
26897 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
26898 return NULL;
26899}
26900
26901
26902static PyObject *_wrap_Window_UpdateWindowUI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26903 PyObject *resultobj;
26904 wxWindow *arg1 = (wxWindow *) 0 ;
26905 long arg2 = (long) wxUPDATE_UI_NONE ;
26906 PyObject * obj0 = 0 ;
8edf1c75 26907 PyObject * obj1 = 0 ;
d14a1e28
RD
26908 char *kwnames[] = {
26909 (char *) "self",(char *) "flags", NULL
26910 };
26911
8edf1c75 26912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 26915 if (obj1) {
2f4c0a16
RD
26916 arg2 = (long) SWIG_AsLong(obj1);
26917 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 26918 }
d14a1e28
RD
26919 {
26920 PyThreadState* __tstate = wxPyBeginAllowThreads();
26921 (arg1)->UpdateWindowUI(arg2);
26922
26923 wxPyEndAllowThreads(__tstate);
26924 if (PyErr_Occurred()) SWIG_fail;
26925 }
26926 Py_INCREF(Py_None); resultobj = Py_None;
26927 return resultobj;
26928 fail:
26929 return NULL;
26930}
26931
26932
2f4c0a16 26933static PyObject *_wrap_Window_PopupMenuXY(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26934 PyObject *resultobj;
26935 wxWindow *arg1 = (wxWindow *) 0 ;
26936 wxMenu *arg2 = (wxMenu *) 0 ;
26937 int arg3 ;
26938 int arg4 ;
26939 bool result;
26940 PyObject * obj0 = 0 ;
26941 PyObject * obj1 = 0 ;
8edf1c75
RD
26942 PyObject * obj2 = 0 ;
26943 PyObject * obj3 = 0 ;
d14a1e28
RD
26944 char *kwnames[] = {
26945 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26946 };
26947
8edf1c75 26948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26953 arg3 = (int) SWIG_AsInt(obj2);
26954 if (PyErr_Occurred()) SWIG_fail;
26955 arg4 = (int) SWIG_AsInt(obj3);
26956 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26957 {
26958 PyThreadState* __tstate = wxPyBeginAllowThreads();
26959 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
26960
26961 wxPyEndAllowThreads(__tstate);
26962 if (PyErr_Occurred()) SWIG_fail;
26963 }
fbc46b20
RD
26964 {
26965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
26966 }
d14a1e28
RD
26967 return resultobj;
26968 fail:
26969 return NULL;
26970}
26971
26972
2f4c0a16 26973static PyObject *_wrap_Window_PopupMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
26974 PyObject *resultobj;
26975 wxWindow *arg1 = (wxWindow *) 0 ;
26976 wxMenu *arg2 = (wxMenu *) 0 ;
26977 wxPoint *arg3 = 0 ;
26978 bool result;
26979 wxPoint temp3 ;
26980 PyObject * obj0 = 0 ;
26981 PyObject * obj1 = 0 ;
26982 PyObject * obj2 = 0 ;
26983 char *kwnames[] = {
26984 (char *) "self",(char *) "menu",(char *) "pos", NULL
26985 };
26986
26987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26990 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
26991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26992 {
26993 arg3 = &temp3;
26994 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26995 }
26996 {
26997 PyThreadState* __tstate = wxPyBeginAllowThreads();
26998 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
26999
27000 wxPyEndAllowThreads(__tstate);
27001 if (PyErr_Occurred()) SWIG_fail;
27002 }
fbc46b20
RD
27003 {
27004 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27005 }
d14a1e28
RD
27006 return resultobj;
27007 fail:
27008 return NULL;
27009}
27010
27011
2f4c0a16 27012static PyObject *_wrap_Window_GetHandle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27013 PyObject *resultobj;
27014 wxWindow *arg1 = (wxWindow *) 0 ;
27015 long result;
27016 PyObject * obj0 = 0 ;
27017 char *kwnames[] = {
27018 (char *) "self", NULL
27019 };
27020
27021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27024 {
27025 PyThreadState* __tstate = wxPyBeginAllowThreads();
27026 result = (long)wxWindow_GetHandle(arg1);
27027
27028 wxPyEndAllowThreads(__tstate);
27029 if (PyErr_Occurred()) SWIG_fail;
27030 }
2f4c0a16 27031 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
27032 return resultobj;
27033 fail:
27034 return NULL;
27035}
27036
27037
2f4c0a16 27038static PyObject *_wrap_Window_HasScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27039 PyObject *resultobj;
27040 wxWindow *arg1 = (wxWindow *) 0 ;
27041 int arg2 ;
27042 bool result;
27043 PyObject * obj0 = 0 ;
8edf1c75 27044 PyObject * obj1 = 0 ;
d14a1e28
RD
27045 char *kwnames[] = {
27046 (char *) "self",(char *) "orient", NULL
27047 };
27048
8edf1c75 27049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27052 arg2 = (int) SWIG_AsInt(obj1);
27053 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27054 {
27055 PyThreadState* __tstate = wxPyBeginAllowThreads();
27056 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
27057
27058 wxPyEndAllowThreads(__tstate);
27059 if (PyErr_Occurred()) SWIG_fail;
27060 }
fbc46b20
RD
27061 {
27062 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27063 }
d14a1e28
RD
27064 return resultobj;
27065 fail:
27066 return NULL;
27067}
27068
27069
2f4c0a16 27070static PyObject *_wrap_Window_SetScrollbar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27071 PyObject *resultobj;
27072 wxWindow *arg1 = (wxWindow *) 0 ;
27073 int arg2 ;
27074 int arg3 ;
27075 int arg4 ;
27076 int arg5 ;
423f194a 27077 bool arg6 = (bool) True ;
d14a1e28 27078 PyObject * obj0 = 0 ;
8edf1c75
RD
27079 PyObject * obj1 = 0 ;
27080 PyObject * obj2 = 0 ;
27081 PyObject * obj3 = 0 ;
27082 PyObject * obj4 = 0 ;
d14a1e28
RD
27083 PyObject * obj5 = 0 ;
27084 char *kwnames[] = {
2f4c0a16 27085 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
27086 };
27087
8edf1c75 27088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27091 arg2 = (int) SWIG_AsInt(obj1);
27092 if (PyErr_Occurred()) SWIG_fail;
27093 arg3 = (int) SWIG_AsInt(obj2);
27094 if (PyErr_Occurred()) SWIG_fail;
27095 arg4 = (int) SWIG_AsInt(obj3);
27096 if (PyErr_Occurred()) SWIG_fail;
27097 arg5 = (int) SWIG_AsInt(obj4);
27098 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27099 if (obj5) {
2f4c0a16
RD
27100 arg6 = (bool) SWIG_AsBool(obj5);
27101 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27102 }
27103 {
27104 PyThreadState* __tstate = wxPyBeginAllowThreads();
27105 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
27106
27107 wxPyEndAllowThreads(__tstate);
27108 if (PyErr_Occurred()) SWIG_fail;
27109 }
27110 Py_INCREF(Py_None); resultobj = Py_None;
27111 return resultobj;
27112 fail:
27113 return NULL;
27114}
27115
27116
2f4c0a16 27117static PyObject *_wrap_Window_SetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27118 PyObject *resultobj;
27119 wxWindow *arg1 = (wxWindow *) 0 ;
27120 int arg2 ;
27121 int arg3 ;
423f194a 27122 bool arg4 = (bool) True ;
d14a1e28 27123 PyObject * obj0 = 0 ;
8edf1c75
RD
27124 PyObject * obj1 = 0 ;
27125 PyObject * obj2 = 0 ;
d14a1e28
RD
27126 PyObject * obj3 = 0 ;
27127 char *kwnames[] = {
2f4c0a16 27128 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
27129 };
27130
8edf1c75 27131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
27132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27134 arg2 = (int) SWIG_AsInt(obj1);
27135 if (PyErr_Occurred()) SWIG_fail;
27136 arg3 = (int) SWIG_AsInt(obj2);
27137 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27138 if (obj3) {
2f4c0a16
RD
27139 arg4 = (bool) SWIG_AsBool(obj3);
27140 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27141 }
27142 {
27143 PyThreadState* __tstate = wxPyBeginAllowThreads();
27144 (arg1)->SetScrollPos(arg2,arg3,arg4);
27145
27146 wxPyEndAllowThreads(__tstate);
27147 if (PyErr_Occurred()) SWIG_fail;
27148 }
27149 Py_INCREF(Py_None); resultobj = Py_None;
27150 return resultobj;
27151 fail:
27152 return NULL;
27153}
27154
27155
2f4c0a16 27156static PyObject *_wrap_Window_GetScrollPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27157 PyObject *resultobj;
27158 wxWindow *arg1 = (wxWindow *) 0 ;
27159 int arg2 ;
27160 int result;
27161 PyObject * obj0 = 0 ;
8edf1c75 27162 PyObject * obj1 = 0 ;
d14a1e28 27163 char *kwnames[] = {
2f4c0a16 27164 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27165 };
27166
8edf1c75 27167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27170 arg2 = (int) SWIG_AsInt(obj1);
27171 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27172 {
27173 PyThreadState* __tstate = wxPyBeginAllowThreads();
27174 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
27175
27176 wxPyEndAllowThreads(__tstate);
27177 if (PyErr_Occurred()) SWIG_fail;
27178 }
2f4c0a16 27179 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27180 return resultobj;
27181 fail:
27182 return NULL;
27183}
27184
27185
2f4c0a16 27186static PyObject *_wrap_Window_GetScrollThumb(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27187 PyObject *resultobj;
27188 wxWindow *arg1 = (wxWindow *) 0 ;
27189 int arg2 ;
27190 int result;
27191 PyObject * obj0 = 0 ;
8edf1c75 27192 PyObject * obj1 = 0 ;
d14a1e28 27193 char *kwnames[] = {
2f4c0a16 27194 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27195 };
27196
8edf1c75 27197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27198 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27200 arg2 = (int) SWIG_AsInt(obj1);
27201 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27202 {
27203 PyThreadState* __tstate = wxPyBeginAllowThreads();
27204 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
27205
27206 wxPyEndAllowThreads(__tstate);
27207 if (PyErr_Occurred()) SWIG_fail;
27208 }
2f4c0a16 27209 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27210 return resultobj;
27211 fail:
27212 return NULL;
27213}
27214
27215
2f4c0a16 27216static PyObject *_wrap_Window_GetScrollRange(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27217 PyObject *resultobj;
27218 wxWindow *arg1 = (wxWindow *) 0 ;
27219 int arg2 ;
27220 int result;
27221 PyObject * obj0 = 0 ;
8edf1c75 27222 PyObject * obj1 = 0 ;
d14a1e28 27223 char *kwnames[] = {
2f4c0a16 27224 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
27225 };
27226
8edf1c75 27227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27228 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27229 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27230 arg2 = (int) SWIG_AsInt(obj1);
27231 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27232 {
27233 PyThreadState* __tstate = wxPyBeginAllowThreads();
27234 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
27235
27236 wxPyEndAllowThreads(__tstate);
27237 if (PyErr_Occurred()) SWIG_fail;
27238 }
2f4c0a16 27239 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
27240 return resultobj;
27241 fail:
27242 return NULL;
27243}
27244
27245
2f4c0a16 27246static PyObject *_wrap_Window_ScrollWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27247 PyObject *resultobj;
27248 wxWindow *arg1 = (wxWindow *) 0 ;
27249 int arg2 ;
27250 int arg3 ;
27251 wxRect *arg4 = (wxRect *) NULL ;
27252 PyObject * obj0 = 0 ;
8edf1c75
RD
27253 PyObject * obj1 = 0 ;
27254 PyObject * obj2 = 0 ;
d14a1e28
RD
27255 PyObject * obj3 = 0 ;
27256 char *kwnames[] = {
27257 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27258 };
27259
8edf1c75 27260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
27261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27263 arg2 = (int) SWIG_AsInt(obj1);
27264 if (PyErr_Occurred()) SWIG_fail;
27265 arg3 = (int) SWIG_AsInt(obj2);
27266 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 27267 if (obj3) {
2f4c0a16
RD
27268 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
27269 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27270 }
27271 {
27272 PyThreadState* __tstate = wxPyBeginAllowThreads();
27273 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
27274
27275 wxPyEndAllowThreads(__tstate);
27276 if (PyErr_Occurred()) SWIG_fail;
27277 }
27278 Py_INCREF(Py_None); resultobj = Py_None;
27279 return resultobj;
27280 fail:
27281 return NULL;
27282}
27283
27284
2f4c0a16 27285static PyObject *_wrap_Window_ScrollLines(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27286 PyObject *resultobj;
27287 wxWindow *arg1 = (wxWindow *) 0 ;
27288 int arg2 ;
27289 bool result;
27290 PyObject * obj0 = 0 ;
8edf1c75 27291 PyObject * obj1 = 0 ;
d14a1e28
RD
27292 char *kwnames[] = {
27293 (char *) "self",(char *) "lines", NULL
27294 };
27295
8edf1c75 27296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27299 arg2 = (int) SWIG_AsInt(obj1);
27300 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27301 {
27302 PyThreadState* __tstate = wxPyBeginAllowThreads();
27303 result = (bool)(arg1)->ScrollLines(arg2);
27304
27305 wxPyEndAllowThreads(__tstate);
27306 if (PyErr_Occurred()) SWIG_fail;
27307 }
fbc46b20
RD
27308 {
27309 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27310 }
d14a1e28
RD
27311 return resultobj;
27312 fail:
27313 return NULL;
27314}
27315
27316
2f4c0a16 27317static PyObject *_wrap_Window_ScrollPages(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27318 PyObject *resultobj;
27319 wxWindow *arg1 = (wxWindow *) 0 ;
27320 int arg2 ;
27321 bool result;
27322 PyObject * obj0 = 0 ;
8edf1c75 27323 PyObject * obj1 = 0 ;
d14a1e28
RD
27324 char *kwnames[] = {
27325 (char *) "self",(char *) "pages", NULL
27326 };
27327
8edf1c75 27328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27331 arg2 = (int) SWIG_AsInt(obj1);
27332 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27333 {
27334 PyThreadState* __tstate = wxPyBeginAllowThreads();
27335 result = (bool)(arg1)->ScrollPages(arg2);
27336
27337 wxPyEndAllowThreads(__tstate);
27338 if (PyErr_Occurred()) SWIG_fail;
27339 }
fbc46b20
RD
27340 {
27341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27342 }
d14a1e28
RD
27343 return resultobj;
27344 fail:
27345 return NULL;
27346}
27347
27348
2f4c0a16 27349static PyObject *_wrap_Window_LineUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27350 PyObject *resultobj;
27351 wxWindow *arg1 = (wxWindow *) 0 ;
27352 bool result;
27353 PyObject * obj0 = 0 ;
27354 char *kwnames[] = {
27355 (char *) "self", NULL
27356 };
27357
27358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27361 {
27362 PyThreadState* __tstate = wxPyBeginAllowThreads();
27363 result = (bool)(arg1)->LineUp();
27364
27365 wxPyEndAllowThreads(__tstate);
27366 if (PyErr_Occurred()) SWIG_fail;
27367 }
fbc46b20
RD
27368 {
27369 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27370 }
d14a1e28
RD
27371 return resultobj;
27372 fail:
27373 return NULL;
27374}
27375
27376
2f4c0a16 27377static PyObject *_wrap_Window_LineDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27378 PyObject *resultobj;
27379 wxWindow *arg1 = (wxWindow *) 0 ;
27380 bool result;
27381 PyObject * obj0 = 0 ;
27382 char *kwnames[] = {
27383 (char *) "self", NULL
27384 };
27385
27386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27389 {
27390 PyThreadState* __tstate = wxPyBeginAllowThreads();
27391 result = (bool)(arg1)->LineDown();
27392
27393 wxPyEndAllowThreads(__tstate);
27394 if (PyErr_Occurred()) SWIG_fail;
27395 }
fbc46b20
RD
27396 {
27397 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27398 }
d14a1e28
RD
27399 return resultobj;
27400 fail:
27401 return NULL;
27402}
27403
27404
2f4c0a16 27405static PyObject *_wrap_Window_PageUp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27406 PyObject *resultobj;
27407 wxWindow *arg1 = (wxWindow *) 0 ;
27408 bool result;
27409 PyObject * obj0 = 0 ;
27410 char *kwnames[] = {
27411 (char *) "self", NULL
27412 };
27413
27414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27417 {
27418 PyThreadState* __tstate = wxPyBeginAllowThreads();
27419 result = (bool)(arg1)->PageUp();
27420
27421 wxPyEndAllowThreads(__tstate);
27422 if (PyErr_Occurred()) SWIG_fail;
27423 }
fbc46b20
RD
27424 {
27425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27426 }
d14a1e28
RD
27427 return resultobj;
27428 fail:
27429 return NULL;
27430}
27431
27432
2f4c0a16 27433static PyObject *_wrap_Window_PageDown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27434 PyObject *resultobj;
27435 wxWindow *arg1 = (wxWindow *) 0 ;
27436 bool result;
27437 PyObject * obj0 = 0 ;
27438 char *kwnames[] = {
27439 (char *) "self", NULL
27440 };
27441
27442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27445 {
27446 PyThreadState* __tstate = wxPyBeginAllowThreads();
27447 result = (bool)(arg1)->PageDown();
27448
27449 wxPyEndAllowThreads(__tstate);
27450 if (PyErr_Occurred()) SWIG_fail;
27451 }
fbc46b20
RD
27452 {
27453 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27454 }
d14a1e28
RD
27455 return resultobj;
27456 fail:
27457 return NULL;
27458}
27459
27460
2f4c0a16 27461static PyObject *_wrap_Window_SetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27462 PyObject *resultobj;
27463 wxWindow *arg1 = (wxWindow *) 0 ;
27464 wxString *arg2 = 0 ;
423f194a 27465 bool temp2 = False ;
d14a1e28
RD
27466 PyObject * obj0 = 0 ;
27467 PyObject * obj1 = 0 ;
27468 char *kwnames[] = {
27469 (char *) "self",(char *) "text", NULL
27470 };
27471
27472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27475 {
27476 arg2 = wxString_in_helper(obj1);
27477 if (arg2 == NULL) SWIG_fail;
423f194a 27478 temp2 = True;
d14a1e28
RD
27479 }
27480 {
27481 PyThreadState* __tstate = wxPyBeginAllowThreads();
27482 (arg1)->SetHelpText((wxString const &)*arg2);
27483
27484 wxPyEndAllowThreads(__tstate);
27485 if (PyErr_Occurred()) SWIG_fail;
27486 }
27487 Py_INCREF(Py_None); resultobj = Py_None;
27488 {
27489 if (temp2)
27490 delete arg2;
27491 }
27492 return resultobj;
27493 fail:
27494 {
27495 if (temp2)
27496 delete arg2;
27497 }
27498 return NULL;
27499}
27500
27501
2f4c0a16 27502static PyObject *_wrap_Window_SetHelpTextForId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27503 PyObject *resultobj;
27504 wxWindow *arg1 = (wxWindow *) 0 ;
27505 wxString *arg2 = 0 ;
423f194a 27506 bool temp2 = False ;
d14a1e28
RD
27507 PyObject * obj0 = 0 ;
27508 PyObject * obj1 = 0 ;
27509 char *kwnames[] = {
27510 (char *) "self",(char *) "text", NULL
27511 };
27512
27513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27516 {
27517 arg2 = wxString_in_helper(obj1);
27518 if (arg2 == NULL) SWIG_fail;
423f194a 27519 temp2 = True;
d14a1e28
RD
27520 }
27521 {
27522 PyThreadState* __tstate = wxPyBeginAllowThreads();
27523 (arg1)->SetHelpTextForId((wxString const &)*arg2);
27524
27525 wxPyEndAllowThreads(__tstate);
27526 if (PyErr_Occurred()) SWIG_fail;
27527 }
27528 Py_INCREF(Py_None); resultobj = Py_None;
27529 {
27530 if (temp2)
27531 delete arg2;
27532 }
27533 return resultobj;
27534 fail:
27535 {
27536 if (temp2)
27537 delete arg2;
27538 }
27539 return NULL;
27540}
27541
27542
2f4c0a16 27543static PyObject *_wrap_Window_GetHelpText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27544 PyObject *resultobj;
27545 wxWindow *arg1 = (wxWindow *) 0 ;
27546 wxString result;
27547 PyObject * obj0 = 0 ;
27548 char *kwnames[] = {
27549 (char *) "self", NULL
27550 };
27551
27552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27555 {
27556 PyThreadState* __tstate = wxPyBeginAllowThreads();
27557 result = ((wxWindow const *)arg1)->GetHelpText();
27558
27559 wxPyEndAllowThreads(__tstate);
27560 if (PyErr_Occurred()) SWIG_fail;
27561 }
27562 {
27563#if wxUSE_UNICODE
27564 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
27565#else
27566 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
27567#endif
27568 }
27569 return resultobj;
27570 fail:
27571 return NULL;
27572}
27573
27574
2f4c0a16 27575static PyObject *_wrap_Window_SetToolTipString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27576 PyObject *resultobj;
27577 wxWindow *arg1 = (wxWindow *) 0 ;
27578 wxString *arg2 = 0 ;
423f194a 27579 bool temp2 = False ;
d14a1e28
RD
27580 PyObject * obj0 = 0 ;
27581 PyObject * obj1 = 0 ;
27582 char *kwnames[] = {
27583 (char *) "self",(char *) "tip", NULL
27584 };
27585
27586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27589 {
27590 arg2 = wxString_in_helper(obj1);
27591 if (arg2 == NULL) SWIG_fail;
423f194a 27592 temp2 = True;
d14a1e28
RD
27593 }
27594 {
27595 PyThreadState* __tstate = wxPyBeginAllowThreads();
27596 (arg1)->SetToolTip((wxString const &)*arg2);
27597
27598 wxPyEndAllowThreads(__tstate);
27599 if (PyErr_Occurred()) SWIG_fail;
27600 }
27601 Py_INCREF(Py_None); resultobj = Py_None;
27602 {
27603 if (temp2)
27604 delete arg2;
27605 }
27606 return resultobj;
27607 fail:
27608 {
27609 if (temp2)
27610 delete arg2;
27611 }
27612 return NULL;
27613}
27614
27615
2f4c0a16 27616static PyObject *_wrap_Window_SetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27617 PyObject *resultobj;
27618 wxWindow *arg1 = (wxWindow *) 0 ;
27619 wxToolTip *arg2 = (wxToolTip *) 0 ;
27620 PyObject * obj0 = 0 ;
27621 PyObject * obj1 = 0 ;
27622 char *kwnames[] = {
27623 (char *) "self",(char *) "tip", NULL
27624 };
27625
27626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27629 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
27630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27631 {
27632 PyThreadState* __tstate = wxPyBeginAllowThreads();
27633 (arg1)->SetToolTip(arg2);
27634
27635 wxPyEndAllowThreads(__tstate);
27636 if (PyErr_Occurred()) SWIG_fail;
27637 }
27638 Py_INCREF(Py_None); resultobj = Py_None;
27639 return resultobj;
27640 fail:
27641 return NULL;
27642}
27643
27644
2f4c0a16 27645static PyObject *_wrap_Window_GetToolTip(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27646 PyObject *resultobj;
27647 wxWindow *arg1 = (wxWindow *) 0 ;
27648 wxToolTip *result;
27649 PyObject * obj0 = 0 ;
27650 char *kwnames[] = {
27651 (char *) "self", NULL
27652 };
27653
27654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27657 {
27658 PyThreadState* __tstate = wxPyBeginAllowThreads();
27659 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
27660
27661 wxPyEndAllowThreads(__tstate);
27662 if (PyErr_Occurred()) SWIG_fail;
27663 }
27664 {
27665 resultobj = wxPyMake_wxObject(result);
27666 }
27667 return resultobj;
27668 fail:
27669 return NULL;
27670}
27671
27672
2f4c0a16 27673static PyObject *_wrap_Window_SetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27674 PyObject *resultobj;
27675 wxWindow *arg1 = (wxWindow *) 0 ;
44127b65 27676 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
27677 PyObject * obj0 = 0 ;
27678 PyObject * obj1 = 0 ;
27679 char *kwnames[] = {
27680 (char *) "self",(char *) "dropTarget", NULL
27681 };
27682
27683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27686 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
27687 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
27688 {
27689 PyThreadState* __tstate = wxPyBeginAllowThreads();
27690 (arg1)->SetDropTarget(arg2);
27691
27692 wxPyEndAllowThreads(__tstate);
27693 if (PyErr_Occurred()) SWIG_fail;
27694 }
27695 Py_INCREF(Py_None); resultobj = Py_None;
27696 return resultobj;
27697 fail:
27698 return NULL;
27699}
27700
27701
2f4c0a16 27702static PyObject *_wrap_Window_GetDropTarget(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27703 PyObject *resultobj;
27704 wxWindow *arg1 = (wxWindow *) 0 ;
44127b65 27705 wxPyDropTarget *result;
d14a1e28
RD
27706 PyObject * obj0 = 0 ;
27707 char *kwnames[] = {
27708 (char *) "self", NULL
27709 };
27710
27711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27712 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27713 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27714 {
27715 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 27716 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
27717
27718 wxPyEndAllowThreads(__tstate);
27719 if (PyErr_Occurred()) SWIG_fail;
27720 }
2f4c0a16 27721 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
27722 return resultobj;
27723 fail:
27724 return NULL;
27725}
27726
27727
2f4c0a16 27728static PyObject *_wrap_Window_SetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27729 PyObject *resultobj;
27730 wxWindow *arg1 = (wxWindow *) 0 ;
27731 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
27732 PyObject * obj0 = 0 ;
27733 PyObject * obj1 = 0 ;
27734 char *kwnames[] = {
27735 (char *) "self",(char *) "constraints", NULL
27736 };
27737
27738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27741 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
27742 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27743 {
27744 PyThreadState* __tstate = wxPyBeginAllowThreads();
27745 (arg1)->SetConstraints(arg2);
27746
27747 wxPyEndAllowThreads(__tstate);
27748 if (PyErr_Occurred()) SWIG_fail;
27749 }
27750 Py_INCREF(Py_None); resultobj = Py_None;
27751 return resultobj;
27752 fail:
27753 return NULL;
27754}
27755
27756
2f4c0a16 27757static PyObject *_wrap_Window_GetConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27758 PyObject *resultobj;
27759 wxWindow *arg1 = (wxWindow *) 0 ;
27760 wxLayoutConstraints *result;
27761 PyObject * obj0 = 0 ;
27762 char *kwnames[] = {
27763 (char *) "self", NULL
27764 };
27765
27766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27767 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27769 {
27770 PyThreadState* __tstate = wxPyBeginAllowThreads();
27771 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
27772
27773 wxPyEndAllowThreads(__tstate);
27774 if (PyErr_Occurred()) SWIG_fail;
27775 }
2f4c0a16 27776 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
27777 return resultobj;
27778 fail:
27779 return NULL;
27780}
27781
27782
2f4c0a16 27783static PyObject *_wrap_Window_SetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27784 PyObject *resultobj;
27785 wxWindow *arg1 = (wxWindow *) 0 ;
27786 bool arg2 ;
27787 PyObject * obj0 = 0 ;
27788 PyObject * obj1 = 0 ;
27789 char *kwnames[] = {
27790 (char *) "self",(char *) "autoLayout", NULL
27791 };
27792
27793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27794 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27795 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27796 arg2 = (bool) SWIG_AsBool(obj1);
27797 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27798 {
27799 PyThreadState* __tstate = wxPyBeginAllowThreads();
27800 (arg1)->SetAutoLayout(arg2);
27801
27802 wxPyEndAllowThreads(__tstate);
27803 if (PyErr_Occurred()) SWIG_fail;
27804 }
27805 Py_INCREF(Py_None); resultobj = Py_None;
27806 return resultobj;
27807 fail:
27808 return NULL;
27809}
27810
27811
2f4c0a16 27812static PyObject *_wrap_Window_GetAutoLayout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27813 PyObject *resultobj;
27814 wxWindow *arg1 = (wxWindow *) 0 ;
27815 bool result;
27816 PyObject * obj0 = 0 ;
27817 char *kwnames[] = {
27818 (char *) "self", NULL
27819 };
27820
27821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27824 {
27825 PyThreadState* __tstate = wxPyBeginAllowThreads();
27826 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
27827
27828 wxPyEndAllowThreads(__tstate);
27829 if (PyErr_Occurred()) SWIG_fail;
27830 }
fbc46b20
RD
27831 {
27832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27833 }
d14a1e28
RD
27834 return resultobj;
27835 fail:
27836 return NULL;
27837}
27838
27839
2f4c0a16 27840static PyObject *_wrap_Window_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27841 PyObject *resultobj;
27842 wxWindow *arg1 = (wxWindow *) 0 ;
27843 bool result;
27844 PyObject * obj0 = 0 ;
27845 char *kwnames[] = {
27846 (char *) "self", NULL
27847 };
27848
27849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27852 {
27853 PyThreadState* __tstate = wxPyBeginAllowThreads();
27854 result = (bool)(arg1)->Layout();
27855
27856 wxPyEndAllowThreads(__tstate);
27857 if (PyErr_Occurred()) SWIG_fail;
27858 }
fbc46b20
RD
27859 {
27860 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
27861 }
d14a1e28
RD
27862 return resultobj;
27863 fail:
27864 return NULL;
27865}
27866
27867
2f4c0a16 27868static PyObject *_wrap_Window_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27869 PyObject *resultobj;
27870 wxWindow *arg1 = (wxWindow *) 0 ;
27871 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 27872 bool arg3 = (bool) True ;
d14a1e28
RD
27873 PyObject * obj0 = 0 ;
27874 PyObject * obj1 = 0 ;
27875 PyObject * obj2 = 0 ;
27876 char *kwnames[] = {
27877 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27878 };
27879
27880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27883 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27885 if (obj2) {
2f4c0a16
RD
27886 arg3 = (bool) SWIG_AsBool(obj2);
27887 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27888 }
27889 {
27890 PyThreadState* __tstate = wxPyBeginAllowThreads();
27891 (arg1)->SetSizer(arg2,arg3);
27892
27893 wxPyEndAllowThreads(__tstate);
27894 if (PyErr_Occurred()) SWIG_fail;
27895 }
27896 Py_INCREF(Py_None); resultobj = Py_None;
27897 return resultobj;
27898 fail:
27899 return NULL;
27900}
27901
27902
2f4c0a16 27903static PyObject *_wrap_Window_SetSizerAndFit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27904 PyObject *resultobj;
27905 wxWindow *arg1 = (wxWindow *) 0 ;
27906 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 27907 bool arg3 = (bool) True ;
d14a1e28
RD
27908 PyObject * obj0 = 0 ;
27909 PyObject * obj1 = 0 ;
27910 PyObject * obj2 = 0 ;
27911 char *kwnames[] = {
27912 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27913 };
27914
27915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27918 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27919 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 27920 if (obj2) {
2f4c0a16
RD
27921 arg3 = (bool) SWIG_AsBool(obj2);
27922 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27923 }
27924 {
27925 PyThreadState* __tstate = wxPyBeginAllowThreads();
27926 (arg1)->SetSizerAndFit(arg2,arg3);
27927
27928 wxPyEndAllowThreads(__tstate);
27929 if (PyErr_Occurred()) SWIG_fail;
27930 }
27931 Py_INCREF(Py_None); resultobj = Py_None;
27932 return resultobj;
27933 fail:
27934 return NULL;
27935}
27936
27937
2f4c0a16 27938static PyObject *_wrap_Window_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27939 PyObject *resultobj;
27940 wxWindow *arg1 = (wxWindow *) 0 ;
27941 wxSizer *result;
27942 PyObject * obj0 = 0 ;
27943 char *kwnames[] = {
27944 (char *) "self", NULL
27945 };
27946
27947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27950 {
27951 PyThreadState* __tstate = wxPyBeginAllowThreads();
27952 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
27953
27954 wxPyEndAllowThreads(__tstate);
27955 if (PyErr_Occurred()) SWIG_fail;
27956 }
27957 {
27958 resultobj = wxPyMake_wxSizer(result);
27959 }
27960 return resultobj;
27961 fail:
27962 return NULL;
27963}
27964
27965
2f4c0a16 27966static PyObject *_wrap_Window_SetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27967 PyObject *resultobj;
27968 wxWindow *arg1 = (wxWindow *) 0 ;
27969 wxSizer *arg2 = (wxSizer *) 0 ;
27970 PyObject * obj0 = 0 ;
27971 PyObject * obj1 = 0 ;
27972 char *kwnames[] = {
27973 (char *) "self",(char *) "sizer", NULL
27974 };
27975
27976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
27978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27979 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
27980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27981 {
27982 PyThreadState* __tstate = wxPyBeginAllowThreads();
27983 (arg1)->SetContainingSizer(arg2);
27984
27985 wxPyEndAllowThreads(__tstate);
27986 if (PyErr_Occurred()) SWIG_fail;
27987 }
27988 Py_INCREF(Py_None); resultobj = Py_None;
27989 return resultobj;
27990 fail:
27991 return NULL;
27992}
27993
27994
2f4c0a16 27995static PyObject *_wrap_Window_GetContainingSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
27996 PyObject *resultobj;
27997 wxWindow *arg1 = (wxWindow *) 0 ;
27998 wxSizer *result;
27999 PyObject * obj0 = 0 ;
28000 char *kwnames[] = {
28001 (char *) "self", NULL
28002 };
28003
28004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28007 {
28008 PyThreadState* __tstate = wxPyBeginAllowThreads();
28009 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
28010
28011 wxPyEndAllowThreads(__tstate);
28012 if (PyErr_Occurred()) SWIG_fail;
28013 }
28014 {
28015 resultobj = wxPyMake_wxSizer(result);
28016 }
28017 return resultobj;
28018 fail:
28019 return NULL;
28020}
28021
28022
2f4c0a16 28023static PyObject * Window_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28024 PyObject *obj;
28025 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28026 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
28027 Py_INCREF(obj);
28028 return Py_BuildValue((char *)"");
28029}
2f4c0a16 28030static PyObject *_wrap_FindWindowById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28031 PyObject *resultobj;
28032 long arg1 ;
28033 wxWindow *arg2 = (wxWindow *) NULL ;
28034 wxWindow *result;
8edf1c75 28035 PyObject * obj0 = 0 ;
d14a1e28
RD
28036 PyObject * obj1 = 0 ;
28037 char *kwnames[] = {
28038 (char *) "id",(char *) "parent", NULL
28039 };
28040
8edf1c75 28041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28042 arg1 = (long) SWIG_AsLong(obj0);
28043 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 28044 if (obj1) {
2f4c0a16
RD
28045 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28047 }
28048 {
28049 PyThreadState* __tstate = wxPyBeginAllowThreads();
28050 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
28051
28052 wxPyEndAllowThreads(__tstate);
28053 if (PyErr_Occurred()) SWIG_fail;
28054 }
28055 {
28056 resultobj = wxPyMake_wxObject(result);
28057 }
28058 return resultobj;
28059 fail:
28060 return NULL;
28061}
28062
28063
2f4c0a16 28064static PyObject *_wrap_FindWindowByName(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28065 PyObject *resultobj;
28066 wxString *arg1 = 0 ;
28067 wxWindow *arg2 = (wxWindow *) NULL ;
28068 wxWindow *result;
423f194a 28069 bool temp1 = False ;
d14a1e28
RD
28070 PyObject * obj0 = 0 ;
28071 PyObject * obj1 = 0 ;
28072 char *kwnames[] = {
28073 (char *) "name",(char *) "parent", NULL
28074 };
28075
28076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
28077 {
28078 arg1 = wxString_in_helper(obj0);
28079 if (arg1 == NULL) SWIG_fail;
423f194a 28080 temp1 = True;
d14a1e28
RD
28081 }
28082 if (obj1) {
2f4c0a16
RD
28083 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28084 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28085 }
28086 {
28087 PyThreadState* __tstate = wxPyBeginAllowThreads();
28088 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
28089
28090 wxPyEndAllowThreads(__tstate);
28091 if (PyErr_Occurred()) SWIG_fail;
28092 }
28093 {
28094 resultobj = wxPyMake_wxObject(result);
28095 }
28096 {
28097 if (temp1)
28098 delete arg1;
28099 }
28100 return resultobj;
28101 fail:
28102 {
28103 if (temp1)
28104 delete arg1;
28105 }
28106 return NULL;
28107}
28108
28109
2f4c0a16 28110static PyObject *_wrap_FindWindowByLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28111 PyObject *resultobj;
28112 wxString *arg1 = 0 ;
28113 wxWindow *arg2 = (wxWindow *) NULL ;
28114 wxWindow *result;
423f194a 28115 bool temp1 = False ;
d14a1e28
RD
28116 PyObject * obj0 = 0 ;
28117 PyObject * obj1 = 0 ;
28118 char *kwnames[] = {
28119 (char *) "label",(char *) "parent", NULL
28120 };
28121
28122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
28123 {
28124 arg1 = wxString_in_helper(obj0);
28125 if (arg1 == NULL) SWIG_fail;
423f194a 28126 temp1 = True;
d14a1e28
RD
28127 }
28128 if (obj1) {
2f4c0a16
RD
28129 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28131 }
28132 {
28133 PyThreadState* __tstate = wxPyBeginAllowThreads();
28134 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
28135
28136 wxPyEndAllowThreads(__tstate);
28137 if (PyErr_Occurred()) SWIG_fail;
28138 }
28139 {
28140 resultobj = wxPyMake_wxObject(result);
28141 }
28142 {
28143 if (temp1)
28144 delete arg1;
28145 }
28146 return resultobj;
28147 fail:
28148 {
28149 if (temp1)
28150 delete arg1;
28151 }
28152 return NULL;
28153}
28154
28155
2f4c0a16 28156static PyObject *_wrap_Window_FromHWND(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 28157 PyObject *resultobj;
ce7284bd
RD
28158 wxWindow *arg1 = (wxWindow *) 0 ;
28159 unsigned long arg2 ;
d14a1e28
RD
28160 wxWindow *result;
28161 PyObject * obj0 = 0 ;
ce7284bd 28162 PyObject * obj1 = 0 ;
d14a1e28 28163 char *kwnames[] = {
ce7284bd 28164 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
28165 };
28166
ce7284bd
RD
28167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
28168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
28169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28170 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
2f4c0a16 28171 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28172 {
28173 PyThreadState* __tstate = wxPyBeginAllowThreads();
ce7284bd 28174 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
28175
28176 wxPyEndAllowThreads(__tstate);
28177 if (PyErr_Occurred()) SWIG_fail;
28178 }
28179 {
28180 resultobj = wxPyMake_wxObject(result);
28181 }
28182 return resultobj;
28183 fail:
28184 return NULL;
28185}
28186
28187
2f4c0a16 28188static PyObject *_wrap_new_Validator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28189 PyObject *resultobj;
28190 wxValidator *result;
28191 char *kwnames[] = {
28192 NULL
28193 };
28194
28195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
28196 {
28197 PyThreadState* __tstate = wxPyBeginAllowThreads();
28198 result = (wxValidator *)new wxValidator();
28199
28200 wxPyEndAllowThreads(__tstate);
28201 if (PyErr_Occurred()) SWIG_fail;
28202 }
28203 {
28204 resultobj = wxPyMake_wxObject(result);
28205 }
28206 return resultobj;
28207 fail:
28208 return NULL;
28209}
28210
28211
2f4c0a16 28212static PyObject *_wrap_Validator_Clone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28213 PyObject *resultobj;
28214 wxValidator *arg1 = (wxValidator *) 0 ;
28215 wxValidator *result;
28216 PyObject * obj0 = 0 ;
28217 char *kwnames[] = {
28218 (char *) "self", NULL
28219 };
28220
28221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28222 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28223 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28224 {
28225 PyThreadState* __tstate = wxPyBeginAllowThreads();
28226 result = (wxValidator *)(arg1)->Clone();
28227
28228 wxPyEndAllowThreads(__tstate);
28229 if (PyErr_Occurred()) SWIG_fail;
28230 }
28231 {
28232 resultobj = wxPyMake_wxObject(result);
28233 }
28234 return resultobj;
28235 fail:
28236 return NULL;
28237}
28238
28239
2f4c0a16 28240static PyObject *_wrap_Validator_Validate(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28241 PyObject *resultobj;
28242 wxValidator *arg1 = (wxValidator *) 0 ;
28243 wxWindow *arg2 = (wxWindow *) 0 ;
28244 bool result;
28245 PyObject * obj0 = 0 ;
28246 PyObject * obj1 = 0 ;
28247 char *kwnames[] = {
28248 (char *) "self",(char *) "parent", NULL
28249 };
28250
28251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28254 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28256 {
28257 PyThreadState* __tstate = wxPyBeginAllowThreads();
28258 result = (bool)(arg1)->Validate(arg2);
28259
28260 wxPyEndAllowThreads(__tstate);
28261 if (PyErr_Occurred()) SWIG_fail;
28262 }
fbc46b20
RD
28263 {
28264 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28265 }
d14a1e28
RD
28266 return resultobj;
28267 fail:
28268 return NULL;
28269}
28270
28271
2f4c0a16 28272static PyObject *_wrap_Validator_TransferToWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28273 PyObject *resultobj;
28274 wxValidator *arg1 = (wxValidator *) 0 ;
28275 bool result;
28276 PyObject * obj0 = 0 ;
28277 char *kwnames[] = {
28278 (char *) "self", NULL
28279 };
28280
28281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28284 {
28285 PyThreadState* __tstate = wxPyBeginAllowThreads();
28286 result = (bool)(arg1)->TransferToWindow();
28287
28288 wxPyEndAllowThreads(__tstate);
28289 if (PyErr_Occurred()) SWIG_fail;
28290 }
fbc46b20
RD
28291 {
28292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28293 }
d14a1e28
RD
28294 return resultobj;
28295 fail:
28296 return NULL;
28297}
28298
28299
2f4c0a16 28300static PyObject *_wrap_Validator_TransferFromWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28301 PyObject *resultobj;
28302 wxValidator *arg1 = (wxValidator *) 0 ;
28303 bool result;
28304 PyObject * obj0 = 0 ;
28305 char *kwnames[] = {
28306 (char *) "self", NULL
28307 };
28308
28309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28312 {
28313 PyThreadState* __tstate = wxPyBeginAllowThreads();
28314 result = (bool)(arg1)->TransferFromWindow();
28315
28316 wxPyEndAllowThreads(__tstate);
28317 if (PyErr_Occurred()) SWIG_fail;
28318 }
fbc46b20
RD
28319 {
28320 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28321 }
d14a1e28
RD
28322 return resultobj;
28323 fail:
28324 return NULL;
28325}
28326
28327
2f4c0a16 28328static PyObject *_wrap_Validator_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28329 PyObject *resultobj;
28330 wxValidator *arg1 = (wxValidator *) 0 ;
28331 wxWindow *result;
28332 PyObject * obj0 = 0 ;
28333 char *kwnames[] = {
28334 (char *) "self", NULL
28335 };
28336
28337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28340 {
28341 PyThreadState* __tstate = wxPyBeginAllowThreads();
28342 result = (wxWindow *)(arg1)->GetWindow();
28343
28344 wxPyEndAllowThreads(__tstate);
28345 if (PyErr_Occurred()) SWIG_fail;
28346 }
28347 {
28348 resultobj = wxPyMake_wxObject(result);
28349 }
28350 return resultobj;
28351 fail:
28352 return NULL;
28353}
28354
28355
2f4c0a16 28356static PyObject *_wrap_Validator_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28357 PyObject *resultobj;
28358 wxValidator *arg1 = (wxValidator *) 0 ;
28359 wxWindow *arg2 = (wxWindow *) 0 ;
28360 PyObject * obj0 = 0 ;
28361 PyObject * obj1 = 0 ;
28362 char *kwnames[] = {
28363 (char *) "self",(char *) "window", NULL
28364 };
28365
28366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
28368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
28370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28371 {
28372 PyThreadState* __tstate = wxPyBeginAllowThreads();
28373 (arg1)->SetWindow(arg2);
28374
28375 wxPyEndAllowThreads(__tstate);
28376 if (PyErr_Occurred()) SWIG_fail;
28377 }
28378 Py_INCREF(Py_None); resultobj = Py_None;
28379 return resultobj;
28380 fail:
28381 return NULL;
28382}
28383
28384
2f4c0a16 28385static PyObject *_wrap_Validator_IsSilent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28386 PyObject *resultobj;
28387 bool result;
28388 char *kwnames[] = {
28389 NULL
28390 };
28391
28392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
28393 {
28394 PyThreadState* __tstate = wxPyBeginAllowThreads();
28395 result = (bool)wxValidator::IsSilent();
28396
28397 wxPyEndAllowThreads(__tstate);
28398 if (PyErr_Occurred()) SWIG_fail;
28399 }
fbc46b20
RD
28400 {
28401 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
28402 }
d14a1e28
RD
28403 return resultobj;
28404 fail:
28405 return NULL;
28406}
28407
28408
2f4c0a16 28409static PyObject *_wrap_Validator_SetBellOnError(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28 28410 PyObject *resultobj;
423f194a 28411 int arg1 = (int) True ;
8edf1c75 28412 PyObject * obj0 = 0 ;
d14a1e28
RD
28413 char *kwnames[] = {
28414 (char *) "doIt", NULL
28415 };
28416
8edf1c75
RD
28417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
28418 if (obj0) {
2f4c0a16
RD
28419 arg1 = (int) SWIG_AsInt(obj0);
28420 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28421 }
d14a1e28
RD
28422 {
28423 PyThreadState* __tstate = wxPyBeginAllowThreads();
28424 wxValidator::SetBellOnError(arg1);
28425
28426 wxPyEndAllowThreads(__tstate);
28427 if (PyErr_Occurred()) SWIG_fail;
28428 }
28429 Py_INCREF(Py_None); resultobj = Py_None;
28430 return resultobj;
28431 fail:
28432 return NULL;
28433}
28434
28435
2f4c0a16 28436static PyObject * Validator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28437 PyObject *obj;
28438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28439 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
28440 Py_INCREF(obj);
28441 return Py_BuildValue((char *)"");
28442}
2f4c0a16 28443static PyObject *_wrap_new_PyValidator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28444 PyObject *resultobj;
28445 wxPyValidator *result;
28446 char *kwnames[] = {
28447 NULL
28448 };
28449
28450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
28451 {
28452 PyThreadState* __tstate = wxPyBeginAllowThreads();
28453 result = (wxPyValidator *)new wxPyValidator();
28454
28455 wxPyEndAllowThreads(__tstate);
28456 if (PyErr_Occurred()) SWIG_fail;
28457 }
2f4c0a16 28458 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
28459 return resultobj;
28460 fail:
28461 return NULL;
28462}
28463
28464
2f4c0a16 28465static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28466 PyObject *resultobj;
28467 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
28468 PyObject *arg2 = (PyObject *) 0 ;
28469 PyObject *arg3 = (PyObject *) 0 ;
423f194a 28470 int arg4 = (int) True ;
d14a1e28
RD
28471 PyObject * obj0 = 0 ;
28472 PyObject * obj1 = 0 ;
28473 PyObject * obj2 = 0 ;
8edf1c75 28474 PyObject * obj3 = 0 ;
d14a1e28
RD
28475 char *kwnames[] = {
28476 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28477 };
28478
8edf1c75 28479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
28480 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
28481 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28482 arg2 = obj1;
28483 arg3 = obj2;
8edf1c75 28484 if (obj3) {
2f4c0a16
RD
28485 arg4 = (int) SWIG_AsInt(obj3);
28486 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28487 }
d14a1e28
RD
28488 {
28489 PyThreadState* __tstate = wxPyBeginAllowThreads();
28490 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
28491
28492 wxPyEndAllowThreads(__tstate);
28493 if (PyErr_Occurred()) SWIG_fail;
28494 }
28495 Py_INCREF(Py_None); resultobj = Py_None;
28496 return resultobj;
28497 fail:
28498 return NULL;
28499}
28500
28501
2f4c0a16 28502static PyObject * PyValidator_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
28503 PyObject *obj;
28504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
28505 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
28506 Py_INCREF(obj);
28507 return Py_BuildValue((char *)"");
28508}
8edf1c75 28509static int _wrap_DefaultValidator_set(PyObject *) {
d14a1e28
RD
28510 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
28511 return 1;
28512}
28513
28514
28515static PyObject *_wrap_DefaultValidator_get() {
28516 PyObject *pyobj;
28517
2f4c0a16 28518 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
28519 return pyobj;
28520}
28521
28522
2f4c0a16 28523static PyObject *_wrap_new_Menu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28524 PyObject *resultobj;
28525 wxString const &arg1_defvalue = wxPyEmptyString ;
28526 wxString *arg1 = (wxString *) &arg1_defvalue ;
28527 long arg2 = (long) 0 ;
28528 wxMenu *result;
423f194a 28529 bool temp1 = False ;
d14a1e28 28530 PyObject * obj0 = 0 ;
8edf1c75 28531 PyObject * obj1 = 0 ;
d14a1e28
RD
28532 char *kwnames[] = {
28533 (char *) "title",(char *) "style", NULL
28534 };
28535
8edf1c75 28536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
28537 if (obj0) {
28538 {
28539 arg1 = wxString_in_helper(obj0);
28540 if (arg1 == NULL) SWIG_fail;
423f194a 28541 temp1 = True;
d14a1e28
RD
28542 }
28543 }
8edf1c75 28544 if (obj1) {
2f4c0a16
RD
28545 arg2 = (long) SWIG_AsLong(obj1);
28546 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28547 }
d14a1e28
RD
28548 {
28549 PyThreadState* __tstate = wxPyBeginAllowThreads();
28550 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
28551
28552 wxPyEndAllowThreads(__tstate);
28553 if (PyErr_Occurred()) SWIG_fail;
28554 }
28555 {
28556 resultobj = wxPyMake_wxObject(result);
28557 }
28558 {
28559 if (temp1)
28560 delete arg1;
28561 }
28562 return resultobj;
28563 fail:
28564 {
28565 if (temp1)
28566 delete arg1;
28567 }
28568 return NULL;
28569}
28570
28571
2f4c0a16 28572static PyObject *_wrap_Menu_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28573 PyObject *resultobj;
28574 wxMenu *arg1 = (wxMenu *) 0 ;
28575 int arg2 ;
28576 wxString *arg3 = 0 ;
28577 wxString const &arg4_defvalue = wxPyEmptyString ;
28578 wxString *arg4 = (wxString *) &arg4_defvalue ;
28579 int arg5 = (int) wxITEM_NORMAL ;
2dbef272 28580 wxMenuItem *result;
423f194a
RD
28581 bool temp3 = False ;
28582 bool temp4 = False ;
d14a1e28 28583 PyObject * obj0 = 0 ;
8edf1c75 28584 PyObject * obj1 = 0 ;
d14a1e28
RD
28585 PyObject * obj2 = 0 ;
28586 PyObject * obj3 = 0 ;
8edf1c75 28587 PyObject * obj4 = 0 ;
d14a1e28 28588 char *kwnames[] = {
0f774bef 28589 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28590 };
28591
8edf1c75 28592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28593 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28595 arg2 = (int) SWIG_AsInt(obj1);
28596 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28597 {
28598 arg3 = wxString_in_helper(obj2);
28599 if (arg3 == NULL) SWIG_fail;
423f194a 28600 temp3 = True;
d14a1e28
RD
28601 }
28602 if (obj3) {
28603 {
28604 arg4 = wxString_in_helper(obj3);
28605 if (arg4 == NULL) SWIG_fail;
423f194a 28606 temp4 = True;
d14a1e28
RD
28607 }
28608 }
8edf1c75 28609 if (obj4) {
2f4c0a16
RD
28610 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28611 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28612 }
d14a1e28
RD
28613 {
28614 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28615 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
28616
28617 wxPyEndAllowThreads(__tstate);
28618 if (PyErr_Occurred()) SWIG_fail;
28619 }
2dbef272
RD
28620 {
28621 resultobj = wxPyMake_wxObject(result);
28622 }
d14a1e28
RD
28623 {
28624 if (temp3)
28625 delete arg3;
28626 }
28627 {
28628 if (temp4)
28629 delete arg4;
28630 }
28631 return resultobj;
28632 fail:
28633 {
28634 if (temp3)
28635 delete arg3;
28636 }
28637 {
28638 if (temp4)
28639 delete arg4;
28640 }
28641 return NULL;
28642}
28643
28644
2f4c0a16 28645static PyObject *_wrap_Menu_AppendSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28646 PyObject *resultobj;
28647 wxMenu *arg1 = (wxMenu *) 0 ;
2dbef272 28648 wxMenuItem *result;
d14a1e28
RD
28649 PyObject * obj0 = 0 ;
28650 char *kwnames[] = {
28651 (char *) "self", NULL
28652 };
28653
28654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28657 {
28658 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28659 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
28660
28661 wxPyEndAllowThreads(__tstate);
28662 if (PyErr_Occurred()) SWIG_fail;
28663 }
2dbef272
RD
28664 {
28665 resultobj = wxPyMake_wxObject(result);
28666 }
d14a1e28
RD
28667 return resultobj;
28668 fail:
28669 return NULL;
28670}
28671
28672
2f4c0a16 28673static PyObject *_wrap_Menu_AppendCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28674 PyObject *resultobj;
28675 wxMenu *arg1 = (wxMenu *) 0 ;
28676 int arg2 ;
28677 wxString *arg3 = 0 ;
28678 wxString const &arg4_defvalue = wxPyEmptyString ;
28679 wxString *arg4 = (wxString *) &arg4_defvalue ;
2dbef272 28680 wxMenuItem *result;
423f194a
RD
28681 bool temp3 = False ;
28682 bool temp4 = False ;
d14a1e28 28683 PyObject * obj0 = 0 ;
8edf1c75 28684 PyObject * obj1 = 0 ;
d14a1e28
RD
28685 PyObject * obj2 = 0 ;
28686 PyObject * obj3 = 0 ;
28687 char *kwnames[] = {
0f774bef 28688 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28689 };
28690
8edf1c75 28691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
28692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28694 arg2 = (int) SWIG_AsInt(obj1);
28695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28696 {
28697 arg3 = wxString_in_helper(obj2);
28698 if (arg3 == NULL) SWIG_fail;
423f194a 28699 temp3 = True;
d14a1e28
RD
28700 }
28701 if (obj3) {
28702 {
28703 arg4 = wxString_in_helper(obj3);
28704 if (arg4 == NULL) SWIG_fail;
423f194a 28705 temp4 = True;
d14a1e28
RD
28706 }
28707 }
28708 {
28709 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28710 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28711
28712 wxPyEndAllowThreads(__tstate);
28713 if (PyErr_Occurred()) SWIG_fail;
28714 }
2dbef272
RD
28715 {
28716 resultobj = wxPyMake_wxObject(result);
28717 }
d14a1e28
RD
28718 {
28719 if (temp3)
28720 delete arg3;
28721 }
28722 {
28723 if (temp4)
28724 delete arg4;
28725 }
28726 return resultobj;
28727 fail:
28728 {
28729 if (temp3)
28730 delete arg3;
28731 }
28732 {
28733 if (temp4)
28734 delete arg4;
28735 }
28736 return NULL;
28737}
28738
28739
2f4c0a16 28740static PyObject *_wrap_Menu_AppendRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28741 PyObject *resultobj;
28742 wxMenu *arg1 = (wxMenu *) 0 ;
28743 int arg2 ;
28744 wxString *arg3 = 0 ;
28745 wxString const &arg4_defvalue = wxPyEmptyString ;
28746 wxString *arg4 = (wxString *) &arg4_defvalue ;
2dbef272 28747 wxMenuItem *result;
423f194a
RD
28748 bool temp3 = False ;
28749 bool temp4 = False ;
d14a1e28 28750 PyObject * obj0 = 0 ;
8edf1c75 28751 PyObject * obj1 = 0 ;
d14a1e28
RD
28752 PyObject * obj2 = 0 ;
28753 PyObject * obj3 = 0 ;
28754 char *kwnames[] = {
0f774bef 28755 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28756 };
28757
8edf1c75 28758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
28759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28761 arg2 = (int) SWIG_AsInt(obj1);
28762 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28763 {
28764 arg3 = wxString_in_helper(obj2);
28765 if (arg3 == NULL) SWIG_fail;
423f194a 28766 temp3 = True;
d14a1e28
RD
28767 }
28768 if (obj3) {
28769 {
28770 arg4 = wxString_in_helper(obj3);
28771 if (arg4 == NULL) SWIG_fail;
423f194a 28772 temp4 = True;
d14a1e28
RD
28773 }
28774 }
28775 {
28776 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28777 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28778
28779 wxPyEndAllowThreads(__tstate);
28780 if (PyErr_Occurred()) SWIG_fail;
28781 }
2dbef272
RD
28782 {
28783 resultobj = wxPyMake_wxObject(result);
28784 }
d14a1e28
RD
28785 {
28786 if (temp3)
28787 delete arg3;
28788 }
28789 {
28790 if (temp4)
28791 delete arg4;
28792 }
28793 return resultobj;
28794 fail:
28795 {
28796 if (temp3)
28797 delete arg3;
28798 }
28799 {
28800 if (temp4)
28801 delete arg4;
28802 }
28803 return NULL;
28804}
28805
28806
2f4c0a16 28807static PyObject *_wrap_Menu_AppendMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28808 PyObject *resultobj;
28809 wxMenu *arg1 = (wxMenu *) 0 ;
28810 int arg2 ;
28811 wxString *arg3 = 0 ;
28812 wxMenu *arg4 = (wxMenu *) 0 ;
28813 wxString const &arg5_defvalue = wxPyEmptyString ;
28814 wxString *arg5 = (wxString *) &arg5_defvalue ;
2dbef272 28815 wxMenuItem *result;
423f194a
RD
28816 bool temp3 = False ;
28817 bool temp5 = False ;
d14a1e28 28818 PyObject * obj0 = 0 ;
8edf1c75 28819 PyObject * obj1 = 0 ;
d14a1e28
RD
28820 PyObject * obj2 = 0 ;
28821 PyObject * obj3 = 0 ;
28822 PyObject * obj4 = 0 ;
28823 char *kwnames[] = {
0f774bef 28824 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
28825 };
28826
8edf1c75 28827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28830 arg2 = (int) SWIG_AsInt(obj1);
28831 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28832 {
28833 arg3 = wxString_in_helper(obj2);
28834 if (arg3 == NULL) SWIG_fail;
423f194a 28835 temp3 = True;
d14a1e28 28836 }
2f4c0a16
RD
28837 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
28838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28839 if (obj4) {
28840 {
28841 arg5 = wxString_in_helper(obj4);
28842 if (arg5 == NULL) SWIG_fail;
423f194a 28843 temp5 = True;
d14a1e28
RD
28844 }
28845 }
28846 {
28847 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28848 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
28849
28850 wxPyEndAllowThreads(__tstate);
28851 if (PyErr_Occurred()) SWIG_fail;
28852 }
2dbef272
RD
28853 {
28854 resultobj = wxPyMake_wxObject(result);
28855 }
d14a1e28
RD
28856 {
28857 if (temp3)
28858 delete arg3;
28859 }
28860 {
28861 if (temp5)
28862 delete arg5;
28863 }
28864 return resultobj;
28865 fail:
28866 {
28867 if (temp3)
28868 delete arg3;
28869 }
28870 {
28871 if (temp5)
28872 delete arg5;
28873 }
28874 return NULL;
28875}
28876
28877
2f4c0a16 28878static PyObject *_wrap_Menu_AppendItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28879 PyObject *resultobj;
28880 wxMenu *arg1 = (wxMenu *) 0 ;
28881 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
2dbef272 28882 wxMenuItem *result;
d14a1e28
RD
28883 PyObject * obj0 = 0 ;
28884 PyObject * obj1 = 0 ;
28885 char *kwnames[] = {
28886 (char *) "self",(char *) "item", NULL
28887 };
28888
28889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28894 {
28895 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28896 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
28897
28898 wxPyEndAllowThreads(__tstate);
28899 if (PyErr_Occurred()) SWIG_fail;
28900 }
2dbef272
RD
28901 {
28902 resultobj = wxPyMake_wxObject(result);
28903 }
d14a1e28
RD
28904 return resultobj;
28905 fail:
28906 return NULL;
28907}
28908
28909
2f4c0a16 28910static PyObject *_wrap_Menu_Break(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28911 PyObject *resultobj;
28912 wxMenu *arg1 = (wxMenu *) 0 ;
28913 PyObject * obj0 = 0 ;
28914 char *kwnames[] = {
28915 (char *) "self", NULL
28916 };
28917
28918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28921 {
28922 PyThreadState* __tstate = wxPyBeginAllowThreads();
28923 (arg1)->Break();
28924
28925 wxPyEndAllowThreads(__tstate);
28926 if (PyErr_Occurred()) SWIG_fail;
28927 }
28928 Py_INCREF(Py_None); resultobj = Py_None;
28929 return resultobj;
28930 fail:
28931 return NULL;
28932}
28933
28934
2f4c0a16 28935static PyObject *_wrap_Menu_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28936 PyObject *resultobj;
28937 wxMenu *arg1 = (wxMenu *) 0 ;
28938 size_t arg2 ;
28939 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
2dbef272 28940 wxMenuItem *result;
d14a1e28
RD
28941 PyObject * obj0 = 0 ;
28942 PyObject * obj1 = 0 ;
28943 PyObject * obj2 = 0 ;
28944 char *kwnames[] = {
28945 (char *) "self",(char *) "pos",(char *) "item", NULL
28946 };
28947
28948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28951 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28952 if (PyErr_Occurred()) SWIG_fail;
28953 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
28954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28955 {
28956 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 28957 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
28958
28959 wxPyEndAllowThreads(__tstate);
28960 if (PyErr_Occurred()) SWIG_fail;
28961 }
2dbef272
RD
28962 {
28963 resultobj = wxPyMake_wxObject(result);
28964 }
d14a1e28
RD
28965 return resultobj;
28966 fail:
28967 return NULL;
28968}
28969
28970
2f4c0a16 28971static PyObject *_wrap_Menu_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
28972 PyObject *resultobj;
28973 wxMenu *arg1 = (wxMenu *) 0 ;
28974 size_t arg2 ;
28975 int arg3 ;
28976 wxString *arg4 = 0 ;
28977 wxString const &arg5_defvalue = wxPyEmptyString ;
28978 wxString *arg5 = (wxString *) &arg5_defvalue ;
28979 int arg6 = (int) wxITEM_NORMAL ;
2dbef272 28980 wxMenuItem *result;
423f194a
RD
28981 bool temp4 = False ;
28982 bool temp5 = False ;
d14a1e28
RD
28983 PyObject * obj0 = 0 ;
28984 PyObject * obj1 = 0 ;
8edf1c75 28985 PyObject * obj2 = 0 ;
d14a1e28
RD
28986 PyObject * obj3 = 0 ;
28987 PyObject * obj4 = 0 ;
8edf1c75 28988 PyObject * obj5 = 0 ;
d14a1e28 28989 char *kwnames[] = {
0f774bef 28990 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28991 };
28992
8edf1c75 28993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
28994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28996 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28997 if (PyErr_Occurred()) SWIG_fail;
28998 arg3 = (int) SWIG_AsInt(obj2);
28999 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29000 {
29001 arg4 = wxString_in_helper(obj3);
29002 if (arg4 == NULL) SWIG_fail;
423f194a 29003 temp4 = True;
d14a1e28
RD
29004 }
29005 if (obj4) {
29006 {
29007 arg5 = wxString_in_helper(obj4);
29008 if (arg5 == NULL) SWIG_fail;
423f194a 29009 temp5 = True;
d14a1e28
RD
29010 }
29011 }
8edf1c75 29012 if (obj5) {
2f4c0a16
RD
29013 arg6 = (wxItemKind) SWIG_AsInt(obj5);
29014 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29015 }
d14a1e28
RD
29016 {
29017 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 29018 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
29019
29020 wxPyEndAllowThreads(__tstate);
29021 if (PyErr_Occurred()) SWIG_fail;
29022 }
2dbef272
RD
29023 {
29024 resultobj = wxPyMake_wxObject(result);
29025 }
d14a1e28
RD
29026 {
29027 if (temp4)
29028 delete arg4;
29029 }
29030 {
29031 if (temp5)
29032 delete arg5;
29033 }
29034 return resultobj;
29035 fail:
29036 {
29037 if (temp4)
29038 delete arg4;
29039 }
29040 {
29041 if (temp5)
29042 delete arg5;
29043 }
29044 return NULL;
29045}
29046
29047
2f4c0a16 29048static PyObject *_wrap_Menu_InsertSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29049 PyObject *resultobj;
29050 wxMenu *arg1 = (wxMenu *) 0 ;
29051 size_t arg2 ;
2dbef272 29052 wxMenuItem *result;
d14a1e28
RD
29053 PyObject * obj0 = 0 ;
29054 PyObject * obj1 = 0 ;
29055 char *kwnames[] = {
29056 (char *) "self",(char *) "pos", NULL
29057 };
29058
29059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29062 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29063 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29064 {
29065 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 29066 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
29067
29068 wxPyEndAllowThreads(__tstate);
29069 if (PyErr_Occurred()) SWIG_fail;
29070 }
2dbef272
RD
29071 {
29072 resultobj = wxPyMake_wxObject(result);
29073 }
d14a1e28
RD
29074 return resultobj;
29075 fail:
29076 return NULL;
29077}
29078
29079
2f4c0a16 29080static PyObject *_wrap_Menu_InsertCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29081 PyObject *resultobj;
29082 wxMenu *arg1 = (wxMenu *) 0 ;
29083 size_t arg2 ;
29084 int arg3 ;
29085 wxString *arg4 = 0 ;
29086 wxString const &arg5_defvalue = wxPyEmptyString ;
29087 wxString *arg5 = (wxString *) &arg5_defvalue ;
2dbef272 29088 wxMenuItem *result;
423f194a
RD
29089 bool temp4 = False ;
29090 bool temp5 = False ;
d14a1e28
RD
29091 PyObject * obj0 = 0 ;
29092 PyObject * obj1 = 0 ;
8edf1c75 29093 PyObject * obj2 = 0 ;
d14a1e28
RD
29094 PyObject * obj3 = 0 ;
29095 PyObject * obj4 = 0 ;
29096 char *kwnames[] = {
0f774bef 29097 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29098 };
29099
8edf1c75 29100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29101 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29103 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29104 if (PyErr_Occurred()) SWIG_fail;
29105 arg3 = (int) SWIG_AsInt(obj2);
29106 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29107 {
29108 arg4 = wxString_in_helper(obj3);
29109 if (arg4 == NULL) SWIG_fail;
423f194a 29110 temp4 = True;
d14a1e28
RD
29111 }
29112 if (obj4) {
29113 {
29114 arg5 = wxString_in_helper(obj4);
29115 if (arg5 == NULL) SWIG_fail;
423f194a 29116 temp5 = True;
d14a1e28
RD
29117 }
29118 }
29119 {
29120 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 29121 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29122
29123 wxPyEndAllowThreads(__tstate);
29124 if (PyErr_Occurred()) SWIG_fail;
29125 }
2dbef272
RD
29126 {
29127 resultobj = wxPyMake_wxObject(result);
29128 }
d14a1e28
RD
29129 {
29130 if (temp4)
29131 delete arg4;
29132 }
29133 {
29134 if (temp5)
29135 delete arg5;
29136 }
29137 return resultobj;
29138 fail:
29139 {
29140 if (temp4)
29141 delete arg4;
29142 }
29143 {
29144 if (temp5)
29145 delete arg5;
29146 }
29147 return NULL;
29148}
29149
29150
2f4c0a16 29151static PyObject *_wrap_Menu_InsertRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29152 PyObject *resultobj;
29153 wxMenu *arg1 = (wxMenu *) 0 ;
29154 size_t arg2 ;
29155 int arg3 ;
29156 wxString *arg4 = 0 ;
29157 wxString const &arg5_defvalue = wxPyEmptyString ;
29158 wxString *arg5 = (wxString *) &arg5_defvalue ;
2dbef272 29159 wxMenuItem *result;
423f194a
RD
29160 bool temp4 = False ;
29161 bool temp5 = False ;
d14a1e28
RD
29162 PyObject * obj0 = 0 ;
29163 PyObject * obj1 = 0 ;
8edf1c75 29164 PyObject * obj2 = 0 ;
d14a1e28
RD
29165 PyObject * obj3 = 0 ;
29166 PyObject * obj4 = 0 ;
29167 char *kwnames[] = {
0f774bef 29168 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29169 };
29170
8edf1c75 29171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29174 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29175 if (PyErr_Occurred()) SWIG_fail;
29176 arg3 = (int) SWIG_AsInt(obj2);
29177 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29178 {
29179 arg4 = wxString_in_helper(obj3);
29180 if (arg4 == NULL) SWIG_fail;
423f194a 29181 temp4 = True;
d14a1e28
RD
29182 }
29183 if (obj4) {
29184 {
29185 arg5 = wxString_in_helper(obj4);
29186 if (arg5 == NULL) SWIG_fail;
423f194a 29187 temp5 = True;
d14a1e28
RD
29188 }
29189 }
29190 {
29191 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 29192 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
29193
29194 wxPyEndAllowThreads(__tstate);
29195 if (PyErr_Occurred()) SWIG_fail;
29196 }
2dbef272
RD
29197 {
29198 resultobj = wxPyMake_wxObject(result);
29199 }
d14a1e28
RD
29200 {
29201 if (temp4)
29202 delete arg4;
29203 }
29204 {
29205 if (temp5)
29206 delete arg5;
29207 }
29208 return resultobj;
29209 fail:
29210 {
29211 if (temp4)
29212 delete arg4;
29213 }
29214 {
29215 if (temp5)
29216 delete arg5;
29217 }
29218 return NULL;
29219}
29220
29221
2f4c0a16 29222static PyObject *_wrap_Menu_InsertMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29223 PyObject *resultobj;
29224 wxMenu *arg1 = (wxMenu *) 0 ;
29225 size_t arg2 ;
29226 int arg3 ;
29227 wxString *arg4 = 0 ;
29228 wxMenu *arg5 = (wxMenu *) 0 ;
29229 wxString const &arg6_defvalue = wxPyEmptyString ;
29230 wxString *arg6 = (wxString *) &arg6_defvalue ;
2dbef272 29231 wxMenuItem *result;
423f194a
RD
29232 bool temp4 = False ;
29233 bool temp6 = False ;
d14a1e28
RD
29234 PyObject * obj0 = 0 ;
29235 PyObject * obj1 = 0 ;
8edf1c75 29236 PyObject * obj2 = 0 ;
d14a1e28
RD
29237 PyObject * obj3 = 0 ;
29238 PyObject * obj4 = 0 ;
29239 PyObject * obj5 = 0 ;
29240 char *kwnames[] = {
0f774bef 29241 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29242 };
29243
8edf1c75 29244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
29245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29247 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29248 if (PyErr_Occurred()) SWIG_fail;
29249 arg3 = (int) SWIG_AsInt(obj2);
29250 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29251 {
29252 arg4 = wxString_in_helper(obj3);
29253 if (arg4 == NULL) SWIG_fail;
423f194a 29254 temp4 = True;
d14a1e28 29255 }
2f4c0a16
RD
29256 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
29257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29258 if (obj5) {
29259 {
29260 arg6 = wxString_in_helper(obj5);
29261 if (arg6 == NULL) SWIG_fail;
423f194a 29262 temp6 = True;
d14a1e28
RD
29263 }
29264 }
29265 {
29266 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 29267 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
29268
29269 wxPyEndAllowThreads(__tstate);
29270 if (PyErr_Occurred()) SWIG_fail;
29271 }
2dbef272
RD
29272 {
29273 resultobj = wxPyMake_wxObject(result);
29274 }
d14a1e28
RD
29275 {
29276 if (temp4)
29277 delete arg4;
29278 }
29279 {
29280 if (temp6)
29281 delete arg6;
29282 }
29283 return resultobj;
29284 fail:
29285 {
29286 if (temp4)
29287 delete arg4;
29288 }
29289 {
29290 if (temp6)
29291 delete arg6;
29292 }
29293 return NULL;
29294}
29295
29296
2f4c0a16 29297static PyObject *_wrap_Menu_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29298 PyObject *resultobj;
29299 wxMenu *arg1 = (wxMenu *) 0 ;
29300 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
2dbef272 29301 wxMenuItem *result;
d14a1e28
RD
29302 PyObject * obj0 = 0 ;
29303 PyObject * obj1 = 0 ;
29304 char *kwnames[] = {
29305 (char *) "self",(char *) "item", NULL
29306 };
29307
29308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29309 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29311 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29313 {
29314 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 29315 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
29316
29317 wxPyEndAllowThreads(__tstate);
29318 if (PyErr_Occurred()) SWIG_fail;
29319 }
2dbef272
RD
29320 {
29321 resultobj = wxPyMake_wxObject(result);
29322 }
d14a1e28
RD
29323 return resultobj;
29324 fail:
29325 return NULL;
29326}
29327
29328
2f4c0a16 29329static PyObject *_wrap_Menu_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29330 PyObject *resultobj;
29331 wxMenu *arg1 = (wxMenu *) 0 ;
29332 int arg2 ;
29333 wxString *arg3 = 0 ;
29334 wxString const &arg4_defvalue = wxPyEmptyString ;
29335 wxString *arg4 = (wxString *) &arg4_defvalue ;
29336 int arg5 = (int) wxITEM_NORMAL ;
2dbef272 29337 wxMenuItem *result;
423f194a
RD
29338 bool temp3 = False ;
29339 bool temp4 = False ;
d14a1e28 29340 PyObject * obj0 = 0 ;
8edf1c75 29341 PyObject * obj1 = 0 ;
d14a1e28
RD
29342 PyObject * obj2 = 0 ;
29343 PyObject * obj3 = 0 ;
8edf1c75 29344 PyObject * obj4 = 0 ;
d14a1e28 29345 char *kwnames[] = {
0f774bef 29346 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
29347 };
29348
8edf1c75 29349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29352 arg2 = (int) SWIG_AsInt(obj1);
29353 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29354 {
29355 arg3 = wxString_in_helper(obj2);
29356 if (arg3 == NULL) SWIG_fail;
423f194a 29357 temp3 = True;
d14a1e28
RD
29358 }
29359 if (obj3) {
29360 {
29361 arg4 = wxString_in_helper(obj3);
29362 if (arg4 == NULL) SWIG_fail;
423f194a 29363 temp4 = True;
d14a1e28
RD
29364 }
29365 }
8edf1c75 29366 if (obj4) {
2f4c0a16
RD
29367 arg5 = (wxItemKind) SWIG_AsInt(obj4);
29368 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29369 }
d14a1e28
RD
29370 {
29371 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 29372 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
29373
29374 wxPyEndAllowThreads(__tstate);
29375 if (PyErr_Occurred()) SWIG_fail;
29376 }
2dbef272
RD
29377 {
29378 resultobj = wxPyMake_wxObject(result);
29379 }
d14a1e28
RD
29380 {
29381 if (temp3)
29382 delete arg3;
29383 }
29384 {
29385 if (temp4)
29386 delete arg4;
29387 }
29388 return resultobj;
29389 fail:
29390 {
29391 if (temp3)
29392 delete arg3;
29393 }
29394 {
29395 if (temp4)
29396 delete arg4;
29397 }
29398 return NULL;
29399}
29400
29401
2f4c0a16 29402static PyObject *_wrap_Menu_PrependSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29403 PyObject *resultobj;
29404 wxMenu *arg1 = (wxMenu *) 0 ;
2dbef272 29405 wxMenuItem *result;
d14a1e28
RD
29406 PyObject * obj0 = 0 ;
29407 char *kwnames[] = {
29408 (char *) "self", NULL
29409 };
29410
29411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29414 {
29415 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 29416 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
29417
29418 wxPyEndAllowThreads(__tstate);
29419 if (PyErr_Occurred()) SWIG_fail;
29420 }
2dbef272
RD
29421 {
29422 resultobj = wxPyMake_wxObject(result);
29423 }
d14a1e28
RD
29424 return resultobj;
29425 fail:
29426 return NULL;
29427}
29428
29429
2f4c0a16 29430static PyObject *_wrap_Menu_PrependCheckItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29431 PyObject *resultobj;
29432 wxMenu *arg1 = (wxMenu *) 0 ;
29433 int arg2 ;
29434 wxString *arg3 = 0 ;
29435 wxString const &arg4_defvalue = wxPyEmptyString ;
29436 wxString *arg4 = (wxString *) &arg4_defvalue ;
2dbef272 29437 wxMenuItem *result;
423f194a
RD
29438 bool temp3 = False ;
29439 bool temp4 = False ;
d14a1e28 29440 PyObject * obj0 = 0 ;
8edf1c75 29441 PyObject * obj1 = 0 ;
d14a1e28
RD
29442 PyObject * obj2 = 0 ;
29443 PyObject * obj3 = 0 ;
29444 char *kwnames[] = {
0f774bef 29445 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29446 };
29447
8edf1c75 29448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
29449 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29450 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29451 arg2 = (int) SWIG_AsInt(obj1);
29452 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29453 {
29454 arg3 = wxString_in_helper(obj2);
29455 if (arg3 == NULL) SWIG_fail;
423f194a 29456 temp3 = True;
d14a1e28
RD
29457 }
29458 if (obj3) {
29459 {
29460 arg4 = wxString_in_helper(obj3);
29461 if (arg4 == NULL) SWIG_fail;
423f194a 29462 temp4 = True;
d14a1e28
RD
29463 }
29464 }
29465 {
29466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 29467 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29468
29469 wxPyEndAllowThreads(__tstate);
29470 if (PyErr_Occurred()) SWIG_fail;
29471 }
2dbef272
RD
29472 {
29473 resultobj = wxPyMake_wxObject(result);
29474 }
d14a1e28
RD
29475 {
29476 if (temp3)
29477 delete arg3;
29478 }
29479 {
29480 if (temp4)
29481 delete arg4;
29482 }
29483 return resultobj;
29484 fail:
29485 {
29486 if (temp3)
29487 delete arg3;
29488 }
29489 {
29490 if (temp4)
29491 delete arg4;
29492 }
29493 return NULL;
29494}
29495
29496
2f4c0a16 29497static PyObject *_wrap_Menu_PrependRadioItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29498 PyObject *resultobj;
29499 wxMenu *arg1 = (wxMenu *) 0 ;
29500 int arg2 ;
29501 wxString *arg3 = 0 ;
29502 wxString const &arg4_defvalue = wxPyEmptyString ;
29503 wxString *arg4 = (wxString *) &arg4_defvalue ;
2dbef272 29504 wxMenuItem *result;
423f194a
RD
29505 bool temp3 = False ;
29506 bool temp4 = False ;
d14a1e28 29507 PyObject * obj0 = 0 ;
8edf1c75 29508 PyObject * obj1 = 0 ;
d14a1e28
RD
29509 PyObject * obj2 = 0 ;
29510 PyObject * obj3 = 0 ;
29511 char *kwnames[] = {
0f774bef 29512 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
29513 };
29514
8edf1c75 29515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
29516 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29517 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29518 arg2 = (int) SWIG_AsInt(obj1);
29519 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29520 {
29521 arg3 = wxString_in_helper(obj2);
29522 if (arg3 == NULL) SWIG_fail;
423f194a 29523 temp3 = True;
d14a1e28
RD
29524 }
29525 if (obj3) {
29526 {
29527 arg4 = wxString_in_helper(obj3);
29528 if (arg4 == NULL) SWIG_fail;
423f194a 29529 temp4 = True;
d14a1e28
RD
29530 }
29531 }
29532 {
29533 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 29534 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
29535
29536 wxPyEndAllowThreads(__tstate);
29537 if (PyErr_Occurred()) SWIG_fail;
29538 }
2dbef272
RD
29539 {
29540 resultobj = wxPyMake_wxObject(result);
29541 }
d14a1e28
RD
29542 {
29543 if (temp3)
29544 delete arg3;
29545 }
29546 {
29547 if (temp4)
29548 delete arg4;
29549 }
29550 return resultobj;
29551 fail:
29552 {
29553 if (temp3)
29554 delete arg3;
29555 }
29556 {
29557 if (temp4)
29558 delete arg4;
29559 }
29560 return NULL;
29561}
29562
29563
2f4c0a16 29564static PyObject *_wrap_Menu_PrependMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29565 PyObject *resultobj;
29566 wxMenu *arg1 = (wxMenu *) 0 ;
29567 int arg2 ;
29568 wxString *arg3 = 0 ;
29569 wxMenu *arg4 = (wxMenu *) 0 ;
29570 wxString const &arg5_defvalue = wxPyEmptyString ;
29571 wxString *arg5 = (wxString *) &arg5_defvalue ;
2dbef272 29572 wxMenuItem *result;
423f194a
RD
29573 bool temp3 = False ;
29574 bool temp5 = False ;
d14a1e28 29575 PyObject * obj0 = 0 ;
8edf1c75 29576 PyObject * obj1 = 0 ;
d14a1e28
RD
29577 PyObject * obj2 = 0 ;
29578 PyObject * obj3 = 0 ;
29579 PyObject * obj4 = 0 ;
29580 char *kwnames[] = {
0f774bef 29581 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
29582 };
29583
8edf1c75 29584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
29585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29587 arg2 = (int) SWIG_AsInt(obj1);
29588 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29589 {
29590 arg3 = wxString_in_helper(obj2);
29591 if (arg3 == NULL) SWIG_fail;
423f194a 29592 temp3 = True;
d14a1e28 29593 }
2f4c0a16
RD
29594 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
29595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29596 if (obj4) {
29597 {
29598 arg5 = wxString_in_helper(obj4);
29599 if (arg5 == NULL) SWIG_fail;
423f194a 29600 temp5 = True;
d14a1e28
RD
29601 }
29602 }
29603 {
29604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2dbef272 29605 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
29606
29607 wxPyEndAllowThreads(__tstate);
29608 if (PyErr_Occurred()) SWIG_fail;
29609 }
2dbef272
RD
29610 {
29611 resultobj = wxPyMake_wxObject(result);
29612 }
d14a1e28
RD
29613 {
29614 if (temp3)
29615 delete arg3;
29616 }
29617 {
29618 if (temp5)
29619 delete arg5;
29620 }
29621 return resultobj;
29622 fail:
29623 {
29624 if (temp3)
29625 delete arg3;
29626 }
29627 {
29628 if (temp5)
29629 delete arg5;
29630 }
29631 return NULL;
29632}
29633
29634
2f4c0a16 29635static PyObject *_wrap_Menu_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29636 PyObject *resultobj;
29637 wxMenu *arg1 = (wxMenu *) 0 ;
29638 int arg2 ;
29639 wxMenuItem *result;
29640 PyObject * obj0 = 0 ;
8edf1c75 29641 PyObject * obj1 = 0 ;
d14a1e28 29642 char *kwnames[] = {
0f774bef 29643 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29644 };
29645
8edf1c75 29646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29647 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29648 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29649 arg2 = (int) SWIG_AsInt(obj1);
29650 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29651 {
29652 PyThreadState* __tstate = wxPyBeginAllowThreads();
29653 result = (wxMenuItem *)(arg1)->Remove(arg2);
29654
29655 wxPyEndAllowThreads(__tstate);
29656 if (PyErr_Occurred()) SWIG_fail;
29657 }
29658 {
29659 resultobj = wxPyMake_wxObject(result);
29660 }
29661 return resultobj;
29662 fail:
29663 return NULL;
29664}
29665
29666
2f4c0a16 29667static PyObject *_wrap_Menu_RemoveItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29668 PyObject *resultobj;
29669 wxMenu *arg1 = (wxMenu *) 0 ;
29670 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29671 wxMenuItem *result;
29672 PyObject * obj0 = 0 ;
29673 PyObject * obj1 = 0 ;
29674 char *kwnames[] = {
29675 (char *) "self",(char *) "item", NULL
29676 };
29677
29678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29683 {
29684 PyThreadState* __tstate = wxPyBeginAllowThreads();
29685 result = (wxMenuItem *)(arg1)->Remove(arg2);
29686
29687 wxPyEndAllowThreads(__tstate);
29688 if (PyErr_Occurred()) SWIG_fail;
29689 }
29690 {
29691 resultobj = wxPyMake_wxObject(result);
29692 }
29693 return resultobj;
29694 fail:
29695 return NULL;
29696}
29697
29698
2f4c0a16 29699static PyObject *_wrap_Menu_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29700 PyObject *resultobj;
29701 wxMenu *arg1 = (wxMenu *) 0 ;
29702 int arg2 ;
29703 bool result;
29704 PyObject * obj0 = 0 ;
8edf1c75 29705 PyObject * obj1 = 0 ;
d14a1e28 29706 char *kwnames[] = {
0f774bef 29707 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29708 };
29709
8edf1c75 29710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29711 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29712 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29713 arg2 = (int) SWIG_AsInt(obj1);
29714 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29715 {
29716 PyThreadState* __tstate = wxPyBeginAllowThreads();
29717 result = (bool)(arg1)->Delete(arg2);
29718
29719 wxPyEndAllowThreads(__tstate);
29720 if (PyErr_Occurred()) SWIG_fail;
29721 }
fbc46b20
RD
29722 {
29723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29724 }
d14a1e28
RD
29725 return resultobj;
29726 fail:
29727 return NULL;
29728}
29729
29730
2f4c0a16 29731static PyObject *_wrap_Menu_DeleteItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29732 PyObject *resultobj;
29733 wxMenu *arg1 = (wxMenu *) 0 ;
29734 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29735 bool result;
29736 PyObject * obj0 = 0 ;
29737 PyObject * obj1 = 0 ;
29738 char *kwnames[] = {
29739 (char *) "self",(char *) "item", NULL
29740 };
29741
29742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29745 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29747 {
29748 PyThreadState* __tstate = wxPyBeginAllowThreads();
29749 result = (bool)(arg1)->Delete(arg2);
29750
29751 wxPyEndAllowThreads(__tstate);
29752 if (PyErr_Occurred()) SWIG_fail;
29753 }
fbc46b20
RD
29754 {
29755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29756 }
d14a1e28
RD
29757 return resultobj;
29758 fail:
29759 return NULL;
29760}
29761
29762
2f4c0a16 29763static PyObject *_wrap_Menu_Destroy(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29764 PyObject *resultobj;
29765 wxMenu *arg1 = (wxMenu *) 0 ;
29766 PyObject * obj0 = 0 ;
29767 char *kwnames[] = {
29768 (char *) "self", NULL
29769 };
29770
29771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29774 {
29775 PyThreadState* __tstate = wxPyBeginAllowThreads();
29776 wxMenu_Destroy(arg1);
29777
29778 wxPyEndAllowThreads(__tstate);
29779 if (PyErr_Occurred()) SWIG_fail;
29780 }
29781 Py_INCREF(Py_None); resultobj = Py_None;
29782 return resultobj;
29783 fail:
29784 return NULL;
29785}
29786
29787
2f4c0a16 29788static PyObject *_wrap_Menu_DestroyId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29789 PyObject *resultobj;
29790 wxMenu *arg1 = (wxMenu *) 0 ;
29791 int arg2 ;
29792 bool result;
29793 PyObject * obj0 = 0 ;
8edf1c75 29794 PyObject * obj1 = 0 ;
d14a1e28 29795 char *kwnames[] = {
0f774bef 29796 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29797 };
29798
8edf1c75 29799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29802 arg2 = (int) SWIG_AsInt(obj1);
29803 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29804 {
29805 PyThreadState* __tstate = wxPyBeginAllowThreads();
29806 result = (bool)(arg1)->Destroy(arg2);
29807
29808 wxPyEndAllowThreads(__tstate);
29809 if (PyErr_Occurred()) SWIG_fail;
29810 }
fbc46b20
RD
29811 {
29812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29813 }
d14a1e28
RD
29814 return resultobj;
29815 fail:
29816 return NULL;
29817}
29818
29819
2f4c0a16 29820static PyObject *_wrap_Menu_DestroyItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29821 PyObject *resultobj;
29822 wxMenu *arg1 = (wxMenu *) 0 ;
29823 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
29824 bool result;
29825 PyObject * obj0 = 0 ;
29826 PyObject * obj1 = 0 ;
29827 char *kwnames[] = {
29828 (char *) "self",(char *) "item", NULL
29829 };
29830
29831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29834 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
29835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29836 {
29837 PyThreadState* __tstate = wxPyBeginAllowThreads();
29838 result = (bool)(arg1)->Destroy(arg2);
29839
29840 wxPyEndAllowThreads(__tstate);
29841 if (PyErr_Occurred()) SWIG_fail;
29842 }
fbc46b20
RD
29843 {
29844 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
29845 }
d14a1e28
RD
29846 return resultobj;
29847 fail:
29848 return NULL;
29849}
29850
29851
2f4c0a16 29852static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29853 PyObject *resultobj;
29854 wxMenu *arg1 = (wxMenu *) 0 ;
29855 size_t result;
29856 PyObject * obj0 = 0 ;
29857 char *kwnames[] = {
29858 (char *) "self", NULL
29859 };
29860
29861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29864 {
29865 PyThreadState* __tstate = wxPyBeginAllowThreads();
29866 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
29867
29868 wxPyEndAllowThreads(__tstate);
29869 if (PyErr_Occurred()) SWIG_fail;
29870 }
2f4c0a16 29871 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
29872 return resultobj;
29873 fail:
29874 return NULL;
29875}
29876
29877
2f4c0a16 29878static PyObject *_wrap_Menu_GetMenuItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29879 PyObject *resultobj;
29880 wxMenu *arg1 = (wxMenu *) 0 ;
29881 PyObject *result;
29882 PyObject * obj0 = 0 ;
29883 char *kwnames[] = {
29884 (char *) "self", NULL
29885 };
29886
29887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29890 {
29891 PyThreadState* __tstate = wxPyBeginAllowThreads();
29892 result = (PyObject *)wxMenu_GetMenuItems(arg1);
29893
29894 wxPyEndAllowThreads(__tstate);
29895 if (PyErr_Occurred()) SWIG_fail;
29896 }
29897 resultobj = result;
29898 return resultobj;
29899 fail:
29900 return NULL;
29901}
29902
29903
2f4c0a16 29904static PyObject *_wrap_Menu_FindItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29905 PyObject *resultobj;
29906 wxMenu *arg1 = (wxMenu *) 0 ;
29907 wxString *arg2 = 0 ;
29908 int result;
423f194a 29909 bool temp2 = False ;
d14a1e28
RD
29910 PyObject * obj0 = 0 ;
29911 PyObject * obj1 = 0 ;
29912 char *kwnames[] = {
29913 (char *) "self",(char *) "item", NULL
29914 };
29915
29916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29919 {
29920 arg2 = wxString_in_helper(obj1);
29921 if (arg2 == NULL) SWIG_fail;
423f194a 29922 temp2 = True;
d14a1e28
RD
29923 }
29924 {
29925 PyThreadState* __tstate = wxPyBeginAllowThreads();
29926 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
29927
29928 wxPyEndAllowThreads(__tstate);
29929 if (PyErr_Occurred()) SWIG_fail;
29930 }
2f4c0a16 29931 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
29932 {
29933 if (temp2)
29934 delete arg2;
29935 }
29936 return resultobj;
29937 fail:
29938 {
29939 if (temp2)
29940 delete arg2;
29941 }
29942 return NULL;
29943}
29944
29945
2f4c0a16 29946static PyObject *_wrap_Menu_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29947 PyObject *resultobj;
29948 wxMenu *arg1 = (wxMenu *) 0 ;
29949 int arg2 ;
29950 wxMenuItem *result;
29951 PyObject * obj0 = 0 ;
8edf1c75 29952 PyObject * obj1 = 0 ;
d14a1e28 29953 char *kwnames[] = {
0f774bef 29954 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29955 };
29956
8edf1c75 29957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29960 arg2 = (int) SWIG_AsInt(obj1);
29961 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29962 {
29963 PyThreadState* __tstate = wxPyBeginAllowThreads();
29964 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
29965
29966 wxPyEndAllowThreads(__tstate);
29967 if (PyErr_Occurred()) SWIG_fail;
29968 }
29969 {
29970 resultobj = wxPyMake_wxObject(result);
29971 }
29972 return resultobj;
29973 fail:
29974 return NULL;
29975}
29976
29977
2f4c0a16 29978static PyObject *_wrap_Menu_FindItemByPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
29979 PyObject *resultobj;
29980 wxMenu *arg1 = (wxMenu *) 0 ;
29981 size_t arg2 ;
29982 wxMenuItem *result;
29983 PyObject * obj0 = 0 ;
29984 PyObject * obj1 = 0 ;
29985 char *kwnames[] = {
29986 (char *) "self",(char *) "position", NULL
29987 };
29988
29989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29992 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29993 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29994 {
29995 PyThreadState* __tstate = wxPyBeginAllowThreads();
29996 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
29997
29998 wxPyEndAllowThreads(__tstate);
29999 if (PyErr_Occurred()) SWIG_fail;
30000 }
30001 {
30002 resultobj = wxPyMake_wxObject(result);
30003 }
30004 return resultobj;
30005 fail:
30006 return NULL;
30007}
30008
30009
2f4c0a16 30010static PyObject *_wrap_Menu_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30011 PyObject *resultobj;
30012 wxMenu *arg1 = (wxMenu *) 0 ;
30013 int arg2 ;
30014 bool arg3 ;
30015 PyObject * obj0 = 0 ;
8edf1c75 30016 PyObject * obj1 = 0 ;
d14a1e28
RD
30017 PyObject * obj2 = 0 ;
30018 char *kwnames[] = {
0f774bef 30019 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
30020 };
30021
8edf1c75 30022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30025 arg2 = (int) SWIG_AsInt(obj1);
30026 if (PyErr_Occurred()) SWIG_fail;
30027 arg3 = (bool) SWIG_AsBool(obj2);
30028 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30029 {
30030 PyThreadState* __tstate = wxPyBeginAllowThreads();
30031 (arg1)->Enable(arg2,arg3);
30032
30033 wxPyEndAllowThreads(__tstate);
30034 if (PyErr_Occurred()) SWIG_fail;
30035 }
30036 Py_INCREF(Py_None); resultobj = Py_None;
30037 return resultobj;
30038 fail:
30039 return NULL;
30040}
30041
30042
2f4c0a16 30043static PyObject *_wrap_Menu_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30044 PyObject *resultobj;
30045 wxMenu *arg1 = (wxMenu *) 0 ;
30046 int arg2 ;
30047 bool result;
30048 PyObject * obj0 = 0 ;
8edf1c75 30049 PyObject * obj1 = 0 ;
d14a1e28 30050 char *kwnames[] = {
0f774bef 30051 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30052 };
30053
8edf1c75 30054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30055 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30056 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30057 arg2 = (int) SWIG_AsInt(obj1);
30058 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30059 {
30060 PyThreadState* __tstate = wxPyBeginAllowThreads();
30061 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
30062
30063 wxPyEndAllowThreads(__tstate);
30064 if (PyErr_Occurred()) SWIG_fail;
30065 }
fbc46b20
RD
30066 {
30067 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30068 }
d14a1e28
RD
30069 return resultobj;
30070 fail:
30071 return NULL;
30072}
30073
30074
2f4c0a16 30075static PyObject *_wrap_Menu_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30076 PyObject *resultobj;
30077 wxMenu *arg1 = (wxMenu *) 0 ;
30078 int arg2 ;
30079 bool arg3 ;
30080 PyObject * obj0 = 0 ;
8edf1c75 30081 PyObject * obj1 = 0 ;
d14a1e28
RD
30082 PyObject * obj2 = 0 ;
30083 char *kwnames[] = {
0f774bef 30084 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
30085 };
30086
8edf1c75 30087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30090 arg2 = (int) SWIG_AsInt(obj1);
30091 if (PyErr_Occurred()) SWIG_fail;
30092 arg3 = (bool) SWIG_AsBool(obj2);
30093 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30094 {
30095 PyThreadState* __tstate = wxPyBeginAllowThreads();
30096 (arg1)->Check(arg2,arg3);
30097
30098 wxPyEndAllowThreads(__tstate);
30099 if (PyErr_Occurred()) SWIG_fail;
30100 }
30101 Py_INCREF(Py_None); resultobj = Py_None;
30102 return resultobj;
30103 fail:
30104 return NULL;
30105}
30106
30107
2f4c0a16 30108static PyObject *_wrap_Menu_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30109 PyObject *resultobj;
30110 wxMenu *arg1 = (wxMenu *) 0 ;
30111 int arg2 ;
30112 bool result;
30113 PyObject * obj0 = 0 ;
8edf1c75 30114 PyObject * obj1 = 0 ;
d14a1e28 30115 char *kwnames[] = {
0f774bef 30116 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30117 };
30118
8edf1c75 30119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30122 arg2 = (int) SWIG_AsInt(obj1);
30123 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30124 {
30125 PyThreadState* __tstate = wxPyBeginAllowThreads();
30126 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
30127
30128 wxPyEndAllowThreads(__tstate);
30129 if (PyErr_Occurred()) SWIG_fail;
30130 }
fbc46b20
RD
30131 {
30132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30133 }
d14a1e28
RD
30134 return resultobj;
30135 fail:
30136 return NULL;
30137}
30138
30139
2f4c0a16 30140static PyObject *_wrap_Menu_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30141 PyObject *resultobj;
30142 wxMenu *arg1 = (wxMenu *) 0 ;
30143 int arg2 ;
30144 wxString *arg3 = 0 ;
423f194a 30145 bool temp3 = False ;
d14a1e28 30146 PyObject * obj0 = 0 ;
8edf1c75 30147 PyObject * obj1 = 0 ;
d14a1e28
RD
30148 PyObject * obj2 = 0 ;
30149 char *kwnames[] = {
0f774bef 30150 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
30151 };
30152
8edf1c75 30153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30156 arg2 = (int) SWIG_AsInt(obj1);
30157 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30158 {
30159 arg3 = wxString_in_helper(obj2);
30160 if (arg3 == NULL) SWIG_fail;
423f194a 30161 temp3 = True;
d14a1e28
RD
30162 }
30163 {
30164 PyThreadState* __tstate = wxPyBeginAllowThreads();
30165 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30166
30167 wxPyEndAllowThreads(__tstate);
30168 if (PyErr_Occurred()) SWIG_fail;
30169 }
30170 Py_INCREF(Py_None); resultobj = Py_None;
30171 {
30172 if (temp3)
30173 delete arg3;
30174 }
30175 return resultobj;
30176 fail:
30177 {
30178 if (temp3)
30179 delete arg3;
30180 }
30181 return NULL;
30182}
30183
30184
2f4c0a16 30185static PyObject *_wrap_Menu_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30186 PyObject *resultobj;
30187 wxMenu *arg1 = (wxMenu *) 0 ;
30188 int arg2 ;
30189 wxString result;
30190 PyObject * obj0 = 0 ;
8edf1c75 30191 PyObject * obj1 = 0 ;
d14a1e28 30192 char *kwnames[] = {
0f774bef 30193 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30194 };
30195
8edf1c75 30196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30197 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30198 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30199 arg2 = (int) SWIG_AsInt(obj1);
30200 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30201 {
30202 PyThreadState* __tstate = wxPyBeginAllowThreads();
30203 result = ((wxMenu const *)arg1)->GetLabel(arg2);
30204
30205 wxPyEndAllowThreads(__tstate);
30206 if (PyErr_Occurred()) SWIG_fail;
30207 }
30208 {
30209#if wxUSE_UNICODE
30210 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30211#else
30212 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30213#endif
30214 }
30215 return resultobj;
30216 fail:
30217 return NULL;
30218}
30219
30220
2f4c0a16 30221static PyObject *_wrap_Menu_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30222 PyObject *resultobj;
30223 wxMenu *arg1 = (wxMenu *) 0 ;
30224 int arg2 ;
30225 wxString *arg3 = 0 ;
423f194a 30226 bool temp3 = False ;
d14a1e28 30227 PyObject * obj0 = 0 ;
8edf1c75 30228 PyObject * obj1 = 0 ;
d14a1e28
RD
30229 PyObject * obj2 = 0 ;
30230 char *kwnames[] = {
0f774bef 30231 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
30232 };
30233
8edf1c75 30234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30237 arg2 = (int) SWIG_AsInt(obj1);
30238 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30239 {
30240 arg3 = wxString_in_helper(obj2);
30241 if (arg3 == NULL) SWIG_fail;
423f194a 30242 temp3 = True;
d14a1e28
RD
30243 }
30244 {
30245 PyThreadState* __tstate = wxPyBeginAllowThreads();
30246 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30247
30248 wxPyEndAllowThreads(__tstate);
30249 if (PyErr_Occurred()) SWIG_fail;
30250 }
30251 Py_INCREF(Py_None); resultobj = Py_None;
30252 {
30253 if (temp3)
30254 delete arg3;
30255 }
30256 return resultobj;
30257 fail:
30258 {
30259 if (temp3)
30260 delete arg3;
30261 }
30262 return NULL;
30263}
30264
30265
2f4c0a16 30266static PyObject *_wrap_Menu_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30267 PyObject *resultobj;
30268 wxMenu *arg1 = (wxMenu *) 0 ;
30269 int arg2 ;
30270 wxString result;
30271 PyObject * obj0 = 0 ;
8edf1c75 30272 PyObject * obj1 = 0 ;
d14a1e28 30273 char *kwnames[] = {
0f774bef 30274 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30275 };
30276
8edf1c75 30277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30280 arg2 = (int) SWIG_AsInt(obj1);
30281 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30282 {
30283 PyThreadState* __tstate = wxPyBeginAllowThreads();
30284 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
30285
30286 wxPyEndAllowThreads(__tstate);
30287 if (PyErr_Occurred()) SWIG_fail;
30288 }
30289 {
30290#if wxUSE_UNICODE
30291 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30292#else
30293 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30294#endif
30295 }
30296 return resultobj;
30297 fail:
30298 return NULL;
30299}
30300
30301
2f4c0a16 30302static PyObject *_wrap_Menu_SetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30303 PyObject *resultobj;
30304 wxMenu *arg1 = (wxMenu *) 0 ;
30305 wxString *arg2 = 0 ;
423f194a 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:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30316 {
30317 arg2 = wxString_in_helper(obj1);
30318 if (arg2 == NULL) SWIG_fail;
423f194a 30319 temp2 = True;
d14a1e28
RD
30320 }
30321 {
30322 PyThreadState* __tstate = wxPyBeginAllowThreads();
30323 (arg1)->SetTitle((wxString const &)*arg2);
30324
30325 wxPyEndAllowThreads(__tstate);
30326 if (PyErr_Occurred()) SWIG_fail;
30327 }
30328 Py_INCREF(Py_None); resultobj = Py_None;
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
2f4c0a16 30343static PyObject *_wrap_Menu_GetTitle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30344 PyObject *resultobj;
30345 wxMenu *arg1 = (wxMenu *) 0 ;
30346 wxString result;
30347 PyObject * obj0 = 0 ;
30348 char *kwnames[] = {
30349 (char *) "self", NULL
30350 };
30351
30352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30355 {
30356 PyThreadState* __tstate = wxPyBeginAllowThreads();
30357 result = ((wxMenu const *)arg1)->GetTitle();
30358
30359 wxPyEndAllowThreads(__tstate);
30360 if (PyErr_Occurred()) SWIG_fail;
30361 }
30362 {
30363#if wxUSE_UNICODE
30364 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30365#else
30366 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30367#endif
30368 }
30369 return resultobj;
30370 fail:
30371 return NULL;
30372}
30373
30374
2f4c0a16 30375static PyObject *_wrap_Menu_SetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30376 PyObject *resultobj;
30377 wxMenu *arg1 = (wxMenu *) 0 ;
30378 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
30379 PyObject * obj0 = 0 ;
30380 PyObject * obj1 = 0 ;
30381 char *kwnames[] = {
30382 (char *) "self",(char *) "handler", NULL
30383 };
30384
30385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30388 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30390 {
30391 PyThreadState* __tstate = wxPyBeginAllowThreads();
30392 (arg1)->SetEventHandler(arg2);
30393
30394 wxPyEndAllowThreads(__tstate);
30395 if (PyErr_Occurred()) SWIG_fail;
30396 }
30397 Py_INCREF(Py_None); resultobj = Py_None;
30398 return resultobj;
30399 fail:
30400 return NULL;
30401}
30402
30403
2f4c0a16 30404static PyObject *_wrap_Menu_GetEventHandler(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30405 PyObject *resultobj;
30406 wxMenu *arg1 = (wxMenu *) 0 ;
30407 wxEvtHandler *result;
30408 PyObject * obj0 = 0 ;
30409 char *kwnames[] = {
30410 (char *) "self", NULL
30411 };
30412
30413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30416 {
30417 PyThreadState* __tstate = wxPyBeginAllowThreads();
30418 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
30419
30420 wxPyEndAllowThreads(__tstate);
30421 if (PyErr_Occurred()) SWIG_fail;
30422 }
30423 {
30424 resultobj = wxPyMake_wxObject(result);
30425 }
30426 return resultobj;
30427 fail:
30428 return NULL;
30429}
30430
30431
2f4c0a16 30432static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30433 PyObject *resultobj;
30434 wxMenu *arg1 = (wxMenu *) 0 ;
30435 wxWindow *arg2 = (wxWindow *) 0 ;
30436 PyObject * obj0 = 0 ;
30437 PyObject * obj1 = 0 ;
30438 char *kwnames[] = {
30439 (char *) "self",(char *) "win", NULL
30440 };
30441
30442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
30446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30447 {
30448 PyThreadState* __tstate = wxPyBeginAllowThreads();
30449 (arg1)->SetInvokingWindow(arg2);
30450
30451 wxPyEndAllowThreads(__tstate);
30452 if (PyErr_Occurred()) SWIG_fail;
30453 }
30454 Py_INCREF(Py_None); resultobj = Py_None;
30455 return resultobj;
30456 fail:
30457 return NULL;
30458}
30459
30460
2f4c0a16 30461static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30462 PyObject *resultobj;
30463 wxMenu *arg1 = (wxMenu *) 0 ;
30464 wxWindow *result;
30465 PyObject * obj0 = 0 ;
30466 char *kwnames[] = {
30467 (char *) "self", NULL
30468 };
30469
30470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30473 {
30474 PyThreadState* __tstate = wxPyBeginAllowThreads();
30475 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
30476
30477 wxPyEndAllowThreads(__tstate);
30478 if (PyErr_Occurred()) SWIG_fail;
30479 }
30480 {
30481 resultobj = wxPyMake_wxObject(result);
30482 }
30483 return resultobj;
30484 fail:
30485 return NULL;
30486}
30487
30488
2f4c0a16 30489static PyObject *_wrap_Menu_GetStyle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30490 PyObject *resultobj;
30491 wxMenu *arg1 = (wxMenu *) 0 ;
30492 long result;
30493 PyObject * obj0 = 0 ;
30494 char *kwnames[] = {
30495 (char *) "self", NULL
30496 };
30497
30498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30501 {
30502 PyThreadState* __tstate = wxPyBeginAllowThreads();
30503 result = (long)((wxMenu const *)arg1)->GetStyle();
30504
30505 wxPyEndAllowThreads(__tstate);
30506 if (PyErr_Occurred()) SWIG_fail;
30507 }
2f4c0a16 30508 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
30509 return resultobj;
30510 fail:
30511 return NULL;
30512}
30513
30514
2f4c0a16 30515static PyObject *_wrap_Menu_UpdateUI(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30516 PyObject *resultobj;
30517 wxMenu *arg1 = (wxMenu *) 0 ;
30518 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
30519 PyObject * obj0 = 0 ;
30520 PyObject * obj1 = 0 ;
30521 char *kwnames[] = {
30522 (char *) "self",(char *) "source", NULL
30523 };
30524
30525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30526 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30527 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30528 if (obj1) {
2f4c0a16
RD
30529 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
30530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30531 }
30532 {
30533 PyThreadState* __tstate = wxPyBeginAllowThreads();
30534 (arg1)->UpdateUI(arg2);
30535
30536 wxPyEndAllowThreads(__tstate);
30537 if (PyErr_Occurred()) SWIG_fail;
30538 }
30539 Py_INCREF(Py_None); resultobj = Py_None;
30540 return resultobj;
30541 fail:
30542 return NULL;
30543}
30544
30545
2f4c0a16 30546static PyObject *_wrap_Menu_GetMenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30547 PyObject *resultobj;
30548 wxMenu *arg1 = (wxMenu *) 0 ;
30549 wxMenuBar *result;
30550 PyObject * obj0 = 0 ;
30551 char *kwnames[] = {
30552 (char *) "self", NULL
30553 };
30554
30555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30556 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30557 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30558 {
30559 PyThreadState* __tstate = wxPyBeginAllowThreads();
30560 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
30561
30562 wxPyEndAllowThreads(__tstate);
30563 if (PyErr_Occurred()) SWIG_fail;
30564 }
30565 {
30566 resultobj = wxPyMake_wxObject(result);
30567 }
30568 return resultobj;
30569 fail:
30570 return NULL;
30571}
30572
30573
2f4c0a16 30574static PyObject *_wrap_Menu_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30575 PyObject *resultobj;
30576 wxMenu *arg1 = (wxMenu *) 0 ;
30577 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
30578 PyObject * obj0 = 0 ;
30579 PyObject * obj1 = 0 ;
30580 char *kwnames[] = {
30581 (char *) "self",(char *) "menubar", NULL
30582 };
30583
30584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30587 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
30588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30589 {
30590 PyThreadState* __tstate = wxPyBeginAllowThreads();
30591 (arg1)->Attach(arg2);
30592
30593 wxPyEndAllowThreads(__tstate);
30594 if (PyErr_Occurred()) SWIG_fail;
30595 }
30596 Py_INCREF(Py_None); resultobj = Py_None;
30597 return resultobj;
30598 fail:
30599 return NULL;
30600}
30601
30602
2f4c0a16 30603static PyObject *_wrap_Menu_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30604 PyObject *resultobj;
30605 wxMenu *arg1 = (wxMenu *) 0 ;
30606 PyObject * obj0 = 0 ;
30607 char *kwnames[] = {
30608 (char *) "self", NULL
30609 };
30610
30611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30614 {
30615 PyThreadState* __tstate = wxPyBeginAllowThreads();
30616 (arg1)->Detach();
30617
30618 wxPyEndAllowThreads(__tstate);
30619 if (PyErr_Occurred()) SWIG_fail;
30620 }
30621 Py_INCREF(Py_None); resultobj = Py_None;
30622 return resultobj;
30623 fail:
30624 return NULL;
30625}
30626
30627
2f4c0a16 30628static PyObject *_wrap_Menu_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30629 PyObject *resultobj;
30630 wxMenu *arg1 = (wxMenu *) 0 ;
30631 bool result;
30632 PyObject * obj0 = 0 ;
30633 char *kwnames[] = {
30634 (char *) "self", NULL
30635 };
30636
30637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30640 {
30641 PyThreadState* __tstate = wxPyBeginAllowThreads();
30642 result = (bool)((wxMenu const *)arg1)->IsAttached();
30643
30644 wxPyEndAllowThreads(__tstate);
30645 if (PyErr_Occurred()) SWIG_fail;
30646 }
fbc46b20
RD
30647 {
30648 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30649 }
d14a1e28
RD
30650 return resultobj;
30651 fail:
30652 return NULL;
30653}
30654
30655
2f4c0a16 30656static PyObject *_wrap_Menu_SetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30657 PyObject *resultobj;
30658 wxMenu *arg1 = (wxMenu *) 0 ;
30659 wxMenu *arg2 = (wxMenu *) 0 ;
30660 PyObject * obj0 = 0 ;
30661 PyObject * obj1 = 0 ;
30662 char *kwnames[] = {
30663 (char *) "self",(char *) "parent", NULL
30664 };
30665
30666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30669 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30671 {
30672 PyThreadState* __tstate = wxPyBeginAllowThreads();
30673 (arg1)->SetParent(arg2);
30674
30675 wxPyEndAllowThreads(__tstate);
30676 if (PyErr_Occurred()) SWIG_fail;
30677 }
30678 Py_INCREF(Py_None); resultobj = Py_None;
30679 return resultobj;
30680 fail:
30681 return NULL;
30682}
30683
30684
2f4c0a16 30685static PyObject *_wrap_Menu_GetParent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30686 PyObject *resultobj;
30687 wxMenu *arg1 = (wxMenu *) 0 ;
30688 wxMenu *result;
30689 PyObject * obj0 = 0 ;
30690 char *kwnames[] = {
30691 (char *) "self", NULL
30692 };
30693
30694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30695 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30696 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30697 {
30698 PyThreadState* __tstate = wxPyBeginAllowThreads();
30699 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
30700
30701 wxPyEndAllowThreads(__tstate);
30702 if (PyErr_Occurred()) SWIG_fail;
30703 }
30704 {
30705 resultobj = wxPyMake_wxObject(result);
30706 }
30707 return resultobj;
30708 fail:
30709 return NULL;
30710}
30711
30712
2f4c0a16 30713static PyObject * Menu_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
30714 PyObject *obj;
30715 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30716 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
30717 Py_INCREF(obj);
30718 return Py_BuildValue((char *)"");
30719}
2f4c0a16 30720static PyObject *_wrap_new_MenuBar(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30721 PyObject *resultobj;
30722 long arg1 = (long) 0 ;
30723 wxMenuBar *result;
8edf1c75 30724 PyObject * obj0 = 0 ;
d14a1e28
RD
30725 char *kwnames[] = {
30726 (char *) "style", NULL
30727 };
30728
8edf1c75
RD
30729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
30730 if (obj0) {
2f4c0a16
RD
30731 arg1 = (long) SWIG_AsLong(obj0);
30732 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30733 }
d14a1e28
RD
30734 {
30735 PyThreadState* __tstate = wxPyBeginAllowThreads();
30736 result = (wxMenuBar *)new wxMenuBar(arg1);
30737
30738 wxPyEndAllowThreads(__tstate);
30739 if (PyErr_Occurred()) SWIG_fail;
30740 }
30741 {
30742 resultobj = wxPyMake_wxObject(result);
30743 }
30744 return resultobj;
30745 fail:
30746 return NULL;
30747}
30748
30749
2f4c0a16 30750static PyObject *_wrap_MenuBar_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30751 PyObject *resultobj;
30752 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30753 wxMenu *arg2 = (wxMenu *) 0 ;
30754 wxString *arg3 = 0 ;
30755 bool result;
423f194a 30756 bool temp3 = False ;
d14a1e28
RD
30757 PyObject * obj0 = 0 ;
30758 PyObject * obj1 = 0 ;
30759 PyObject * obj2 = 0 ;
30760 char *kwnames[] = {
30761 (char *) "self",(char *) "menu",(char *) "title", NULL
30762 };
30763
30764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30765 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30766 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30767 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30768 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30769 {
30770 arg3 = wxString_in_helper(obj2);
30771 if (arg3 == NULL) SWIG_fail;
423f194a 30772 temp3 = True;
d14a1e28
RD
30773 }
30774 {
30775 PyThreadState* __tstate = wxPyBeginAllowThreads();
30776 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
30777
30778 wxPyEndAllowThreads(__tstate);
30779 if (PyErr_Occurred()) SWIG_fail;
30780 }
fbc46b20
RD
30781 {
30782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30783 }
d14a1e28
RD
30784 {
30785 if (temp3)
30786 delete arg3;
30787 }
30788 return resultobj;
30789 fail:
30790 {
30791 if (temp3)
30792 delete arg3;
30793 }
30794 return NULL;
30795}
30796
30797
2f4c0a16 30798static PyObject *_wrap_MenuBar_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30799 PyObject *resultobj;
30800 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30801 size_t arg2 ;
30802 wxMenu *arg3 = (wxMenu *) 0 ;
30803 wxString *arg4 = 0 ;
30804 bool result;
423f194a 30805 bool temp4 = False ;
d14a1e28
RD
30806 PyObject * obj0 = 0 ;
30807 PyObject * obj1 = 0 ;
30808 PyObject * obj2 = 0 ;
30809 PyObject * obj3 = 0 ;
30810 char *kwnames[] = {
30811 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30812 };
30813
30814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
30815 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30816 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30817 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30818 if (PyErr_Occurred()) SWIG_fail;
30819 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30821 {
30822 arg4 = wxString_in_helper(obj3);
30823 if (arg4 == NULL) SWIG_fail;
423f194a 30824 temp4 = True;
d14a1e28
RD
30825 }
30826 {
30827 PyThreadState* __tstate = wxPyBeginAllowThreads();
30828 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
30829
30830 wxPyEndAllowThreads(__tstate);
30831 if (PyErr_Occurred()) SWIG_fail;
30832 }
fbc46b20
RD
30833 {
30834 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
30835 }
d14a1e28
RD
30836 {
30837 if (temp4)
30838 delete arg4;
30839 }
30840 return resultobj;
30841 fail:
30842 {
30843 if (temp4)
30844 delete arg4;
30845 }
30846 return NULL;
30847}
30848
30849
2f4c0a16 30850static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30851 PyObject *resultobj;
30852 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30853 size_t result;
30854 PyObject * obj0 = 0 ;
30855 char *kwnames[] = {
30856 (char *) "self", NULL
30857 };
30858
30859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30862 {
30863 PyThreadState* __tstate = wxPyBeginAllowThreads();
30864 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
30865
30866 wxPyEndAllowThreads(__tstate);
30867 if (PyErr_Occurred()) SWIG_fail;
30868 }
2f4c0a16 30869 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
30870 return resultobj;
30871 fail:
30872 return NULL;
30873}
30874
30875
2f4c0a16 30876static PyObject *_wrap_MenuBar_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30877 PyObject *resultobj;
30878 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30879 size_t arg2 ;
30880 wxMenu *result;
30881 PyObject * obj0 = 0 ;
30882 PyObject * obj1 = 0 ;
30883 char *kwnames[] = {
30884 (char *) "self",(char *) "pos", NULL
30885 };
30886
30887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30890 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30891 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30892 {
30893 PyThreadState* __tstate = wxPyBeginAllowThreads();
30894 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
30895
30896 wxPyEndAllowThreads(__tstate);
30897 if (PyErr_Occurred()) SWIG_fail;
30898 }
30899 {
30900 resultobj = wxPyMake_wxObject(result);
30901 }
30902 return resultobj;
30903 fail:
30904 return NULL;
30905}
30906
30907
2f4c0a16 30908static PyObject *_wrap_MenuBar_Replace(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30909 PyObject *resultobj;
30910 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30911 size_t arg2 ;
30912 wxMenu *arg3 = (wxMenu *) 0 ;
30913 wxString *arg4 = 0 ;
30914 wxMenu *result;
423f194a 30915 bool temp4 = False ;
d14a1e28
RD
30916 PyObject * obj0 = 0 ;
30917 PyObject * obj1 = 0 ;
30918 PyObject * obj2 = 0 ;
30919 PyObject * obj3 = 0 ;
30920 char *kwnames[] = {
30921 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30922 };
30923
30924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
30925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30927 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30928 if (PyErr_Occurred()) SWIG_fail;
30929 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
30930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30931 {
30932 arg4 = wxString_in_helper(obj3);
30933 if (arg4 == NULL) SWIG_fail;
423f194a 30934 temp4 = True;
d14a1e28
RD
30935 }
30936 {
30937 PyThreadState* __tstate = wxPyBeginAllowThreads();
30938 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
30939
30940 wxPyEndAllowThreads(__tstate);
30941 if (PyErr_Occurred()) SWIG_fail;
30942 }
30943 {
30944 resultobj = wxPyMake_wxObject(result);
30945 }
30946 {
30947 if (temp4)
30948 delete arg4;
30949 }
30950 return resultobj;
30951 fail:
30952 {
30953 if (temp4)
30954 delete arg4;
30955 }
30956 return NULL;
30957}
30958
30959
2f4c0a16 30960static PyObject *_wrap_MenuBar_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30961 PyObject *resultobj;
30962 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30963 size_t arg2 ;
30964 wxMenu *result;
30965 PyObject * obj0 = 0 ;
30966 PyObject * obj1 = 0 ;
30967 char *kwnames[] = {
30968 (char *) "self",(char *) "pos", NULL
30969 };
30970
30971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30974 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
30975 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30976 {
30977 PyThreadState* __tstate = wxPyBeginAllowThreads();
30978 result = (wxMenu *)(arg1)->Remove(arg2);
30979
30980 wxPyEndAllowThreads(__tstate);
30981 if (PyErr_Occurred()) SWIG_fail;
30982 }
30983 {
30984 resultobj = wxPyMake_wxObject(result);
30985 }
30986 return resultobj;
30987 fail:
30988 return NULL;
30989}
30990
30991
2f4c0a16 30992static PyObject *_wrap_MenuBar_EnableTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
30993 PyObject *resultobj;
30994 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30995 size_t arg2 ;
30996 bool arg3 ;
30997 PyObject * obj0 = 0 ;
30998 PyObject * obj1 = 0 ;
30999 PyObject * obj2 = 0 ;
31000 char *kwnames[] = {
31001 (char *) "self",(char *) "pos",(char *) "enable", NULL
31002 };
31003
31004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31005 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31006 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31007 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31008 if (PyErr_Occurred()) SWIG_fail;
31009 arg3 = (bool) SWIG_AsBool(obj2);
31010 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31011 {
31012 PyThreadState* __tstate = wxPyBeginAllowThreads();
31013 (arg1)->EnableTop(arg2,arg3);
31014
31015 wxPyEndAllowThreads(__tstate);
31016 if (PyErr_Occurred()) SWIG_fail;
31017 }
31018 Py_INCREF(Py_None); resultobj = Py_None;
31019 return resultobj;
31020 fail:
31021 return NULL;
31022}
31023
31024
2f4c0a16 31025static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31026 PyObject *resultobj;
31027 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31028 size_t arg2 ;
31029 bool result;
31030 PyObject * obj0 = 0 ;
31031 PyObject * obj1 = 0 ;
31032 char *kwnames[] = {
31033 (char *) "self",(char *) "pos", NULL
31034 };
31035
31036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31039 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31040 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31041 {
31042 PyThreadState* __tstate = wxPyBeginAllowThreads();
31043 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
31044
31045 wxPyEndAllowThreads(__tstate);
31046 if (PyErr_Occurred()) SWIG_fail;
31047 }
fbc46b20
RD
31048 {
31049 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31050 }
d14a1e28
RD
31051 return resultobj;
31052 fail:
31053 return NULL;
31054}
31055
31056
2f4c0a16 31057static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31058 PyObject *resultobj;
31059 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31060 size_t arg2 ;
31061 wxString *arg3 = 0 ;
423f194a 31062 bool temp3 = False ;
d14a1e28
RD
31063 PyObject * obj0 = 0 ;
31064 PyObject * obj1 = 0 ;
31065 PyObject * obj2 = 0 ;
31066 char *kwnames[] = {
31067 (char *) "self",(char *) "pos",(char *) "label", NULL
31068 };
31069
31070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31073 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31074 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31075 {
31076 arg3 = wxString_in_helper(obj2);
31077 if (arg3 == NULL) SWIG_fail;
423f194a 31078 temp3 = True;
d14a1e28
RD
31079 }
31080 {
31081 PyThreadState* __tstate = wxPyBeginAllowThreads();
31082 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
31083
31084 wxPyEndAllowThreads(__tstate);
31085 if (PyErr_Occurred()) SWIG_fail;
31086 }
31087 Py_INCREF(Py_None); resultobj = Py_None;
31088 {
31089 if (temp3)
31090 delete arg3;
31091 }
31092 return resultobj;
31093 fail:
31094 {
31095 if (temp3)
31096 delete arg3;
31097 }
31098 return NULL;
31099}
31100
31101
2f4c0a16 31102static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31103 PyObject *resultobj;
31104 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31105 size_t arg2 ;
31106 wxString result;
31107 PyObject * obj0 = 0 ;
31108 PyObject * obj1 = 0 ;
31109 char *kwnames[] = {
31110 (char *) "self",(char *) "pos", NULL
31111 };
31112
31113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31114 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31115 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31116 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
31117 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31118 {
31119 PyThreadState* __tstate = wxPyBeginAllowThreads();
31120 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
31121
31122 wxPyEndAllowThreads(__tstate);
31123 if (PyErr_Occurred()) SWIG_fail;
31124 }
31125 {
31126#if wxUSE_UNICODE
31127 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31128#else
31129 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31130#endif
31131 }
31132 return resultobj;
31133 fail:
31134 return NULL;
31135}
31136
31137
2f4c0a16 31138static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31139 PyObject *resultobj;
31140 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31141 wxString *arg2 = 0 ;
31142 wxString *arg3 = 0 ;
31143 int result;
423f194a
RD
31144 bool temp2 = False ;
31145 bool temp3 = False ;
d14a1e28
RD
31146 PyObject * obj0 = 0 ;
31147 PyObject * obj1 = 0 ;
31148 PyObject * obj2 = 0 ;
31149 char *kwnames[] = {
31150 (char *) "self",(char *) "menu",(char *) "item", NULL
31151 };
31152
31153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31154 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31155 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31156 {
31157 arg2 = wxString_in_helper(obj1);
31158 if (arg2 == NULL) SWIG_fail;
423f194a 31159 temp2 = True;
d14a1e28
RD
31160 }
31161 {
31162 arg3 = wxString_in_helper(obj2);
31163 if (arg3 == NULL) SWIG_fail;
423f194a 31164 temp3 = True;
d14a1e28
RD
31165 }
31166 {
31167 PyThreadState* __tstate = wxPyBeginAllowThreads();
31168 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
31169
31170 wxPyEndAllowThreads(__tstate);
31171 if (PyErr_Occurred()) SWIG_fail;
31172 }
2f4c0a16 31173 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31174 {
31175 if (temp2)
31176 delete arg2;
31177 }
31178 {
31179 if (temp3)
31180 delete arg3;
31181 }
31182 return resultobj;
31183 fail:
31184 {
31185 if (temp2)
31186 delete arg2;
31187 }
31188 {
31189 if (temp3)
31190 delete arg3;
31191 }
31192 return NULL;
31193}
31194
31195
2f4c0a16 31196static PyObject *_wrap_MenuBar_FindItemById(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31197 PyObject *resultobj;
31198 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31199 int arg2 ;
31200 wxMenuItem *result;
31201 PyObject * obj0 = 0 ;
8edf1c75 31202 PyObject * obj1 = 0 ;
d14a1e28 31203 char *kwnames[] = {
0f774bef 31204 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31205 };
31206
8edf1c75 31207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31210 arg2 = (int) SWIG_AsInt(obj1);
31211 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31212 {
31213 PyThreadState* __tstate = wxPyBeginAllowThreads();
31214 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
31215
31216 wxPyEndAllowThreads(__tstate);
31217 if (PyErr_Occurred()) SWIG_fail;
31218 }
31219 {
31220 resultobj = wxPyMake_wxObject(result);
31221 }
31222 return resultobj;
31223 fail:
31224 return NULL;
31225}
31226
31227
2f4c0a16 31228static PyObject *_wrap_MenuBar_FindMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31229 PyObject *resultobj;
31230 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31231 wxString *arg2 = 0 ;
31232 int result;
423f194a 31233 bool temp2 = False ;
d14a1e28
RD
31234 PyObject * obj0 = 0 ;
31235 PyObject * obj1 = 0 ;
31236 char *kwnames[] = {
31237 (char *) "self",(char *) "title", NULL
31238 };
31239
31240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31243 {
31244 arg2 = wxString_in_helper(obj1);
31245 if (arg2 == NULL) SWIG_fail;
423f194a 31246 temp2 = True;
d14a1e28
RD
31247 }
31248 {
31249 PyThreadState* __tstate = wxPyBeginAllowThreads();
31250 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
31251
31252 wxPyEndAllowThreads(__tstate);
31253 if (PyErr_Occurred()) SWIG_fail;
31254 }
2f4c0a16 31255 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31256 {
31257 if (temp2)
31258 delete arg2;
31259 }
31260 return resultobj;
31261 fail:
31262 {
31263 if (temp2)
31264 delete arg2;
31265 }
31266 return NULL;
31267}
31268
31269
2f4c0a16 31270static PyObject *_wrap_MenuBar_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31271 PyObject *resultobj;
31272 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31273 int arg2 ;
31274 bool arg3 ;
31275 PyObject * obj0 = 0 ;
8edf1c75 31276 PyObject * obj1 = 0 ;
d14a1e28
RD
31277 PyObject * obj2 = 0 ;
31278 char *kwnames[] = {
0f774bef 31279 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
31280 };
31281
8edf1c75 31282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31285 arg2 = (int) SWIG_AsInt(obj1);
31286 if (PyErr_Occurred()) SWIG_fail;
31287 arg3 = (bool) SWIG_AsBool(obj2);
31288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31289 {
31290 PyThreadState* __tstate = wxPyBeginAllowThreads();
31291 (arg1)->Enable(arg2,arg3);
31292
31293 wxPyEndAllowThreads(__tstate);
31294 if (PyErr_Occurred()) SWIG_fail;
31295 }
31296 Py_INCREF(Py_None); resultobj = Py_None;
31297 return resultobj;
31298 fail:
31299 return NULL;
31300}
31301
31302
2f4c0a16 31303static PyObject *_wrap_MenuBar_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31304 PyObject *resultobj;
31305 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31306 int arg2 ;
31307 bool arg3 ;
31308 PyObject * obj0 = 0 ;
8edf1c75 31309 PyObject * obj1 = 0 ;
d14a1e28
RD
31310 PyObject * obj2 = 0 ;
31311 char *kwnames[] = {
0f774bef 31312 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
31313 };
31314
8edf1c75 31315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31318 arg2 = (int) SWIG_AsInt(obj1);
31319 if (PyErr_Occurred()) SWIG_fail;
31320 arg3 = (bool) SWIG_AsBool(obj2);
31321 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31322 {
31323 PyThreadState* __tstate = wxPyBeginAllowThreads();
31324 (arg1)->Check(arg2,arg3);
31325
31326 wxPyEndAllowThreads(__tstate);
31327 if (PyErr_Occurred()) SWIG_fail;
31328 }
31329 Py_INCREF(Py_None); resultobj = Py_None;
31330 return resultobj;
31331 fail:
31332 return NULL;
31333}
31334
31335
2f4c0a16 31336static PyObject *_wrap_MenuBar_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31337 PyObject *resultobj;
31338 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31339 int arg2 ;
31340 bool result;
31341 PyObject * obj0 = 0 ;
8edf1c75 31342 PyObject * obj1 = 0 ;
d14a1e28 31343 char *kwnames[] = {
0f774bef 31344 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31345 };
31346
8edf1c75 31347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31350 arg2 = (int) SWIG_AsInt(obj1);
31351 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31352 {
31353 PyThreadState* __tstate = wxPyBeginAllowThreads();
31354 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
31355
31356 wxPyEndAllowThreads(__tstate);
31357 if (PyErr_Occurred()) SWIG_fail;
31358 }
fbc46b20
RD
31359 {
31360 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31361 }
d14a1e28
RD
31362 return resultobj;
31363 fail:
31364 return NULL;
31365}
31366
31367
2f4c0a16 31368static PyObject *_wrap_MenuBar_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31369 PyObject *resultobj;
31370 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31371 int arg2 ;
31372 bool result;
31373 PyObject * obj0 = 0 ;
8edf1c75 31374 PyObject * obj1 = 0 ;
d14a1e28 31375 char *kwnames[] = {
0f774bef 31376 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31377 };
31378
8edf1c75 31379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31382 arg2 = (int) SWIG_AsInt(obj1);
31383 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31384 {
31385 PyThreadState* __tstate = wxPyBeginAllowThreads();
31386 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
31387
31388 wxPyEndAllowThreads(__tstate);
31389 if (PyErr_Occurred()) SWIG_fail;
31390 }
fbc46b20
RD
31391 {
31392 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31393 }
d14a1e28
RD
31394 return resultobj;
31395 fail:
31396 return NULL;
31397}
31398
31399
2f4c0a16 31400static PyObject *_wrap_MenuBar_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31401 PyObject *resultobj;
31402 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31403 int arg2 ;
31404 wxString *arg3 = 0 ;
423f194a 31405 bool temp3 = False ;
d14a1e28 31406 PyObject * obj0 = 0 ;
8edf1c75 31407 PyObject * obj1 = 0 ;
d14a1e28
RD
31408 PyObject * obj2 = 0 ;
31409 char *kwnames[] = {
0f774bef 31410 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
31411 };
31412
8edf1c75 31413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31414 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31416 arg2 = (int) SWIG_AsInt(obj1);
31417 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31418 {
31419 arg3 = wxString_in_helper(obj2);
31420 if (arg3 == NULL) SWIG_fail;
423f194a 31421 temp3 = True;
d14a1e28
RD
31422 }
31423 {
31424 PyThreadState* __tstate = wxPyBeginAllowThreads();
31425 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
31426
31427 wxPyEndAllowThreads(__tstate);
31428 if (PyErr_Occurred()) SWIG_fail;
31429 }
31430 Py_INCREF(Py_None); resultobj = Py_None;
31431 {
31432 if (temp3)
31433 delete arg3;
31434 }
31435 return resultobj;
31436 fail:
31437 {
31438 if (temp3)
31439 delete arg3;
31440 }
31441 return NULL;
31442}
31443
31444
2f4c0a16 31445static PyObject *_wrap_MenuBar_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31446 PyObject *resultobj;
31447 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31448 int arg2 ;
31449 wxString result;
31450 PyObject * obj0 = 0 ;
8edf1c75 31451 PyObject * obj1 = 0 ;
d14a1e28 31452 char *kwnames[] = {
0f774bef 31453 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31454 };
31455
8edf1c75 31456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31459 arg2 = (int) SWIG_AsInt(obj1);
31460 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31461 {
31462 PyThreadState* __tstate = wxPyBeginAllowThreads();
31463 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
31464
31465 wxPyEndAllowThreads(__tstate);
31466 if (PyErr_Occurred()) SWIG_fail;
31467 }
31468 {
31469#if wxUSE_UNICODE
31470 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31471#else
31472 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31473#endif
31474 }
31475 return resultobj;
31476 fail:
31477 return NULL;
31478}
31479
31480
2f4c0a16 31481static PyObject *_wrap_MenuBar_SetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31482 PyObject *resultobj;
31483 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31484 int arg2 ;
31485 wxString *arg3 = 0 ;
423f194a 31486 bool temp3 = False ;
d14a1e28 31487 PyObject * obj0 = 0 ;
8edf1c75 31488 PyObject * obj1 = 0 ;
d14a1e28
RD
31489 PyObject * obj2 = 0 ;
31490 char *kwnames[] = {
0f774bef 31491 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
31492 };
31493
8edf1c75 31494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31495 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31496 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31497 arg2 = (int) SWIG_AsInt(obj1);
31498 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31499 {
31500 arg3 = wxString_in_helper(obj2);
31501 if (arg3 == NULL) SWIG_fail;
423f194a 31502 temp3 = True;
d14a1e28
RD
31503 }
31504 {
31505 PyThreadState* __tstate = wxPyBeginAllowThreads();
31506 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
31507
31508 wxPyEndAllowThreads(__tstate);
31509 if (PyErr_Occurred()) SWIG_fail;
31510 }
31511 Py_INCREF(Py_None); resultobj = Py_None;
31512 {
31513 if (temp3)
31514 delete arg3;
31515 }
31516 return resultobj;
31517 fail:
31518 {
31519 if (temp3)
31520 delete arg3;
31521 }
31522 return NULL;
31523}
31524
31525
2f4c0a16 31526static PyObject *_wrap_MenuBar_GetHelpString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31527 PyObject *resultobj;
31528 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31529 int arg2 ;
31530 wxString result;
31531 PyObject * obj0 = 0 ;
8edf1c75 31532 PyObject * obj1 = 0 ;
d14a1e28 31533 char *kwnames[] = {
0f774bef 31534 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31535 };
31536
8edf1c75 31537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31538 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31539 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31540 arg2 = (int) SWIG_AsInt(obj1);
31541 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31542 {
31543 PyThreadState* __tstate = wxPyBeginAllowThreads();
31544 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
31545
31546 wxPyEndAllowThreads(__tstate);
31547 if (PyErr_Occurred()) SWIG_fail;
31548 }
31549 {
31550#if wxUSE_UNICODE
31551 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31552#else
31553 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31554#endif
31555 }
31556 return resultobj;
31557 fail:
31558 return NULL;
31559}
31560
31561
2f4c0a16 31562static PyObject *_wrap_MenuBar_GetFrame(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31563 PyObject *resultobj;
31564 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31565 wxFrame *result;
31566 PyObject * obj0 = 0 ;
31567 char *kwnames[] = {
31568 (char *) "self", NULL
31569 };
31570
31571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31574 {
31575 PyThreadState* __tstate = wxPyBeginAllowThreads();
31576 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
31577
31578 wxPyEndAllowThreads(__tstate);
31579 if (PyErr_Occurred()) SWIG_fail;
31580 }
31581 {
31582 resultobj = wxPyMake_wxObject(result);
31583 }
31584 return resultobj;
31585 fail:
31586 return NULL;
31587}
31588
31589
2f4c0a16 31590static PyObject *_wrap_MenuBar_IsAttached(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31591 PyObject *resultobj;
31592 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31593 bool result;
31594 PyObject * obj0 = 0 ;
31595 char *kwnames[] = {
31596 (char *) "self", NULL
31597 };
31598
31599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31602 {
31603 PyThreadState* __tstate = wxPyBeginAllowThreads();
31604 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
31605
31606 wxPyEndAllowThreads(__tstate);
31607 if (PyErr_Occurred()) SWIG_fail;
31608 }
fbc46b20
RD
31609 {
31610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31611 }
d14a1e28
RD
31612 return resultobj;
31613 fail:
31614 return NULL;
31615}
31616
31617
2f4c0a16 31618static PyObject *_wrap_MenuBar_Attach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31619 PyObject *resultobj;
31620 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31621 wxFrame *arg2 = (wxFrame *) 0 ;
31622 PyObject * obj0 = 0 ;
31623 PyObject * obj1 = 0 ;
31624 char *kwnames[] = {
31625 (char *) "self",(char *) "frame", NULL
31626 };
31627
31628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31631 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
31632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31633 {
31634 PyThreadState* __tstate = wxPyBeginAllowThreads();
31635 (arg1)->Attach(arg2);
31636
31637 wxPyEndAllowThreads(__tstate);
31638 if (PyErr_Occurred()) SWIG_fail;
31639 }
31640 Py_INCREF(Py_None); resultobj = Py_None;
31641 return resultobj;
31642 fail:
31643 return NULL;
31644}
31645
31646
2f4c0a16 31647static PyObject *_wrap_MenuBar_Detach(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31648 PyObject *resultobj;
31649 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
31650 PyObject * obj0 = 0 ;
31651 char *kwnames[] = {
31652 (char *) "self", NULL
31653 };
31654
31655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31656 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
31657 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31658 {
31659 PyThreadState* __tstate = wxPyBeginAllowThreads();
31660 (arg1)->Detach();
31661
31662 wxPyEndAllowThreads(__tstate);
31663 if (PyErr_Occurred()) SWIG_fail;
31664 }
31665 Py_INCREF(Py_None); resultobj = Py_None;
31666 return resultobj;
31667 fail:
31668 return NULL;
31669}
31670
31671
2f4c0a16 31672static PyObject * MenuBar_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
31673 PyObject *obj;
31674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31675 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
31676 Py_INCREF(obj);
31677 return Py_BuildValue((char *)"");
31678}
2f4c0a16 31679static PyObject *_wrap_new_MenuItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31680 PyObject *resultobj;
31681 wxMenu *arg1 = (wxMenu *) NULL ;
31682 int arg2 = (int) wxID_SEPARATOR ;
31683 wxString const &arg3_defvalue = wxPyEmptyString ;
31684 wxString *arg3 = (wxString *) &arg3_defvalue ;
31685 wxString const &arg4_defvalue = wxPyEmptyString ;
31686 wxString *arg4 = (wxString *) &arg4_defvalue ;
31687 int arg5 = (int) wxITEM_NORMAL ;
31688 wxMenu *arg6 = (wxMenu *) NULL ;
31689 wxMenuItem *result;
423f194a
RD
31690 bool temp3 = False ;
31691 bool temp4 = False ;
d14a1e28 31692 PyObject * obj0 = 0 ;
8edf1c75 31693 PyObject * obj1 = 0 ;
d14a1e28
RD
31694 PyObject * obj2 = 0 ;
31695 PyObject * obj3 = 0 ;
8edf1c75 31696 PyObject * obj4 = 0 ;
d14a1e28
RD
31697 PyObject * obj5 = 0 ;
31698 char *kwnames[] = {
31699 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31700 };
31701
8edf1c75 31702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 31703 if (obj0) {
2f4c0a16
RD
31704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
31705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31706 }
8edf1c75 31707 if (obj1) {
2f4c0a16
RD
31708 arg2 = (int) SWIG_AsInt(obj1);
31709 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31710 }
d14a1e28
RD
31711 if (obj2) {
31712 {
31713 arg3 = wxString_in_helper(obj2);
31714 if (arg3 == NULL) SWIG_fail;
423f194a 31715 temp3 = True;
d14a1e28
RD
31716 }
31717 }
31718 if (obj3) {
31719 {
31720 arg4 = wxString_in_helper(obj3);
31721 if (arg4 == NULL) SWIG_fail;
423f194a 31722 temp4 = True;
d14a1e28
RD
31723 }
31724 }
8edf1c75 31725 if (obj4) {
2f4c0a16
RD
31726 arg5 = (wxItemKind) SWIG_AsInt(obj4);
31727 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31728 }
d14a1e28 31729 if (obj5) {
2f4c0a16
RD
31730 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
31731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31732 }
31733 {
31734 PyThreadState* __tstate = wxPyBeginAllowThreads();
31735 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
31736
31737 wxPyEndAllowThreads(__tstate);
31738 if (PyErr_Occurred()) SWIG_fail;
31739 }
31740 {
31741 resultobj = wxPyMake_wxObject(result);
31742 }
31743 {
31744 if (temp3)
31745 delete arg3;
31746 }
31747 {
31748 if (temp4)
31749 delete arg4;
31750 }
31751 return resultobj;
31752 fail:
31753 {
31754 if (temp3)
31755 delete arg3;
31756 }
31757 {
31758 if (temp4)
31759 delete arg4;
31760 }
31761 return NULL;
31762}
31763
31764
2f4c0a16 31765static PyObject *_wrap_MenuItem_GetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31766 PyObject *resultobj;
31767 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31768 wxMenu *result;
31769 PyObject * obj0 = 0 ;
31770 char *kwnames[] = {
31771 (char *) "self", NULL
31772 };
31773
31774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31777 {
31778 PyThreadState* __tstate = wxPyBeginAllowThreads();
31779 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
31780
31781 wxPyEndAllowThreads(__tstate);
31782 if (PyErr_Occurred()) SWIG_fail;
31783 }
31784 {
31785 resultobj = wxPyMake_wxObject(result);
31786 }
31787 return resultobj;
31788 fail:
31789 return NULL;
31790}
31791
31792
2f4c0a16 31793static PyObject *_wrap_MenuItem_SetMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31794 PyObject *resultobj;
31795 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31796 wxMenu *arg2 = (wxMenu *) 0 ;
31797 PyObject * obj0 = 0 ;
31798 PyObject * obj1 = 0 ;
31799 char *kwnames[] = {
31800 (char *) "self",(char *) "menu", NULL
31801 };
31802
31803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31804 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31805 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31806 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
31807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31808 {
31809 PyThreadState* __tstate = wxPyBeginAllowThreads();
31810 (arg1)->SetMenu(arg2);
31811
31812 wxPyEndAllowThreads(__tstate);
31813 if (PyErr_Occurred()) SWIG_fail;
31814 }
31815 Py_INCREF(Py_None); resultobj = Py_None;
31816 return resultobj;
31817 fail:
31818 return NULL;
31819}
31820
31821
2f4c0a16 31822static PyObject *_wrap_MenuItem_SetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31823 PyObject *resultobj;
31824 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31825 int arg2 ;
31826 PyObject * obj0 = 0 ;
8edf1c75 31827 PyObject * obj1 = 0 ;
d14a1e28 31828 char *kwnames[] = {
0f774bef 31829 (char *) "self",(char *) "id", NULL
d14a1e28
RD
31830 };
31831
8edf1c75 31832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31835 arg2 = (int) SWIG_AsInt(obj1);
31836 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31837 {
31838 PyThreadState* __tstate = wxPyBeginAllowThreads();
31839 (arg1)->SetId(arg2);
31840
31841 wxPyEndAllowThreads(__tstate);
31842 if (PyErr_Occurred()) SWIG_fail;
31843 }
31844 Py_INCREF(Py_None); resultobj = Py_None;
31845 return resultobj;
31846 fail:
31847 return NULL;
31848}
31849
31850
2f4c0a16 31851static PyObject *_wrap_MenuItem_GetId(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31852 PyObject *resultobj;
31853 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31854 int result;
31855 PyObject * obj0 = 0 ;
31856 char *kwnames[] = {
31857 (char *) "self", NULL
31858 };
31859
31860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31863 {
31864 PyThreadState* __tstate = wxPyBeginAllowThreads();
31865 result = (int)((wxMenuItem const *)arg1)->GetId();
31866
31867 wxPyEndAllowThreads(__tstate);
31868 if (PyErr_Occurred()) SWIG_fail;
31869 }
2f4c0a16 31870 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31871 return resultobj;
31872 fail:
31873 return NULL;
31874}
31875
31876
2f4c0a16 31877static PyObject *_wrap_MenuItem_IsSeparator(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31878 PyObject *resultobj;
31879 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31880 bool result;
31881 PyObject * obj0 = 0 ;
31882 char *kwnames[] = {
31883 (char *) "self", NULL
31884 };
31885
31886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31889 {
31890 PyThreadState* __tstate = wxPyBeginAllowThreads();
31891 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
31892
31893 wxPyEndAllowThreads(__tstate);
31894 if (PyErr_Occurred()) SWIG_fail;
31895 }
fbc46b20
RD
31896 {
31897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
31898 }
d14a1e28
RD
31899 return resultobj;
31900 fail:
31901 return NULL;
31902}
31903
31904
2f4c0a16 31905static PyObject *_wrap_MenuItem_SetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31906 PyObject *resultobj;
31907 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31908 wxString *arg2 = 0 ;
423f194a 31909 bool temp2 = False ;
d14a1e28
RD
31910 PyObject * obj0 = 0 ;
31911 PyObject * obj1 = 0 ;
31912 char *kwnames[] = {
31913 (char *) "self",(char *) "str", NULL
31914 };
31915
31916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31919 {
31920 arg2 = wxString_in_helper(obj1);
31921 if (arg2 == NULL) SWIG_fail;
423f194a 31922 temp2 = True;
d14a1e28
RD
31923 }
31924 {
31925 PyThreadState* __tstate = wxPyBeginAllowThreads();
31926 (arg1)->SetText((wxString const &)*arg2);
31927
31928 wxPyEndAllowThreads(__tstate);
31929 if (PyErr_Occurred()) SWIG_fail;
31930 }
31931 Py_INCREF(Py_None); resultobj = Py_None;
31932 {
31933 if (temp2)
31934 delete arg2;
31935 }
31936 return resultobj;
31937 fail:
31938 {
31939 if (temp2)
31940 delete arg2;
31941 }
31942 return NULL;
31943}
31944
31945
2f4c0a16 31946static PyObject *_wrap_MenuItem_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31947 PyObject *resultobj;
31948 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31949 wxString result;
31950 PyObject * obj0 = 0 ;
31951 char *kwnames[] = {
31952 (char *) "self", NULL
31953 };
31954
31955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31958 {
31959 PyThreadState* __tstate = wxPyBeginAllowThreads();
31960 result = ((wxMenuItem const *)arg1)->GetLabel();
31961
31962 wxPyEndAllowThreads(__tstate);
31963 if (PyErr_Occurred()) SWIG_fail;
31964 }
31965 {
31966#if wxUSE_UNICODE
31967 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
31968#else
31969 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
31970#endif
31971 }
31972 return resultobj;
31973 fail:
31974 return NULL;
31975}
31976
31977
2f4c0a16 31978static PyObject *_wrap_MenuItem_GetText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
31979 PyObject *resultobj;
31980 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31981 wxString *result;
31982 PyObject * obj0 = 0 ;
31983 char *kwnames[] = {
31984 (char *) "self", NULL
31985 };
31986
31987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31988 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31989 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31990 {
31991 PyThreadState* __tstate = wxPyBeginAllowThreads();
31992 {
31993 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
31994 result = (wxString *) &_result_ref;
31995 }
31996
31997 wxPyEndAllowThreads(__tstate);
31998 if (PyErr_Occurred()) SWIG_fail;
31999 }
0f774bef
RD
32000 {
32001#if wxUSE_UNICODE
32002 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32003#else
32004 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32005#endif
32006 }
d14a1e28
RD
32007 return resultobj;
32008 fail:
32009 return NULL;
32010}
32011
32012
2f4c0a16 32013static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32014 PyObject *resultobj;
32015 wxString *arg1 = 0 ;
32016 wxString result;
423f194a 32017 bool temp1 = False ;
d14a1e28
RD
32018 PyObject * obj0 = 0 ;
32019 char *kwnames[] = {
32020 (char *) "text", NULL
32021 };
32022
32023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
32024 {
32025 arg1 = wxString_in_helper(obj0);
32026 if (arg1 == NULL) SWIG_fail;
423f194a 32027 temp1 = True;
d14a1e28
RD
32028 }
32029 {
32030 PyThreadState* __tstate = wxPyBeginAllowThreads();
32031 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
32032
32033 wxPyEndAllowThreads(__tstate);
32034 if (PyErr_Occurred()) SWIG_fail;
32035 }
32036 {
32037#if wxUSE_UNICODE
32038 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32039#else
32040 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32041#endif
32042 }
32043 {
32044 if (temp1)
32045 delete arg1;
32046 }
32047 return resultobj;
32048 fail:
32049 {
32050 if (temp1)
32051 delete arg1;
32052 }
32053 return NULL;
32054}
32055
32056
2f4c0a16 32057static PyObject *_wrap_MenuItem_GetKind(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32058 PyObject *resultobj;
32059 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32060 int result;
32061 PyObject * obj0 = 0 ;
32062 char *kwnames[] = {
32063 (char *) "self", NULL
32064 };
32065
32066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32067 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32068 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32069 {
32070 PyThreadState* __tstate = wxPyBeginAllowThreads();
32071 result = (int)((wxMenuItem const *)arg1)->GetKind();
32072
32073 wxPyEndAllowThreads(__tstate);
32074 if (PyErr_Occurred()) SWIG_fail;
32075 }
2f4c0a16 32076 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32077 return resultobj;
32078 fail:
32079 return NULL;
32080}
32081
32082
2f4c0a16 32083static PyObject *_wrap_MenuItem_SetCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32084 PyObject *resultobj;
32085 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32086 bool arg2 ;
32087 PyObject * obj0 = 0 ;
32088 PyObject * obj1 = 0 ;
32089 char *kwnames[] = {
32090 (char *) "self",(char *) "checkable", NULL
32091 };
32092
32093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32096 arg2 = (bool) SWIG_AsBool(obj1);
32097 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32098 {
32099 PyThreadState* __tstate = wxPyBeginAllowThreads();
32100 (arg1)->SetCheckable(arg2);
32101
32102 wxPyEndAllowThreads(__tstate);
32103 if (PyErr_Occurred()) SWIG_fail;
32104 }
32105 Py_INCREF(Py_None); resultobj = Py_None;
32106 return resultobj;
32107 fail:
32108 return NULL;
32109}
32110
32111
2f4c0a16 32112static PyObject *_wrap_MenuItem_IsCheckable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32113 PyObject *resultobj;
32114 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32115 bool result;
32116 PyObject * obj0 = 0 ;
32117 char *kwnames[] = {
32118 (char *) "self", NULL
32119 };
32120
32121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32124 {
32125 PyThreadState* __tstate = wxPyBeginAllowThreads();
32126 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
32127
32128 wxPyEndAllowThreads(__tstate);
32129 if (PyErr_Occurred()) SWIG_fail;
32130 }
fbc46b20
RD
32131 {
32132 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32133 }
d14a1e28
RD
32134 return resultobj;
32135 fail:
32136 return NULL;
32137}
32138
32139
2f4c0a16 32140static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32141 PyObject *resultobj;
32142 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32143 bool result;
32144 PyObject * obj0 = 0 ;
32145 char *kwnames[] = {
32146 (char *) "self", NULL
32147 };
32148
32149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32152 {
32153 PyThreadState* __tstate = wxPyBeginAllowThreads();
32154 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
32155
32156 wxPyEndAllowThreads(__tstate);
32157 if (PyErr_Occurred()) SWIG_fail;
32158 }
fbc46b20
RD
32159 {
32160 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32161 }
d14a1e28
RD
32162 return resultobj;
32163 fail:
32164 return NULL;
32165}
32166
32167
2f4c0a16 32168static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32169 PyObject *resultobj;
32170 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32171 wxMenu *arg2 = (wxMenu *) 0 ;
32172 PyObject * obj0 = 0 ;
32173 PyObject * obj1 = 0 ;
32174 char *kwnames[] = {
32175 (char *) "self",(char *) "menu", NULL
32176 };
32177
32178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32181 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
32182 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32183 {
32184 PyThreadState* __tstate = wxPyBeginAllowThreads();
32185 (arg1)->SetSubMenu(arg2);
32186
32187 wxPyEndAllowThreads(__tstate);
32188 if (PyErr_Occurred()) SWIG_fail;
32189 }
32190 Py_INCREF(Py_None); resultobj = Py_None;
32191 return resultobj;
32192 fail:
32193 return NULL;
32194}
32195
32196
2f4c0a16 32197static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32198 PyObject *resultobj;
32199 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32200 wxMenu *result;
32201 PyObject * obj0 = 0 ;
32202 char *kwnames[] = {
32203 (char *) "self", NULL
32204 };
32205
32206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32209 {
32210 PyThreadState* __tstate = wxPyBeginAllowThreads();
32211 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
32212
32213 wxPyEndAllowThreads(__tstate);
32214 if (PyErr_Occurred()) SWIG_fail;
32215 }
32216 {
32217 resultobj = wxPyMake_wxObject(result);
32218 }
32219 return resultobj;
32220 fail:
32221 return NULL;
32222}
32223
32224
2f4c0a16 32225static PyObject *_wrap_MenuItem_Enable(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32226 PyObject *resultobj;
32227 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 32228 bool arg2 = (bool) True ;
d14a1e28
RD
32229 PyObject * obj0 = 0 ;
32230 PyObject * obj1 = 0 ;
32231 char *kwnames[] = {
32232 (char *) "self",(char *) "enable", NULL
32233 };
32234
32235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32238 if (obj1) {
2f4c0a16
RD
32239 arg2 = (bool) SWIG_AsBool(obj1);
32240 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32241 }
32242 {
32243 PyThreadState* __tstate = wxPyBeginAllowThreads();
32244 (arg1)->Enable(arg2);
32245
32246 wxPyEndAllowThreads(__tstate);
32247 if (PyErr_Occurred()) SWIG_fail;
32248 }
32249 Py_INCREF(Py_None); resultobj = Py_None;
32250 return resultobj;
32251 fail:
32252 return NULL;
32253}
32254
32255
2f4c0a16 32256static PyObject *_wrap_MenuItem_IsEnabled(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32257 PyObject *resultobj;
32258 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32259 bool result;
32260 PyObject * obj0 = 0 ;
32261 char *kwnames[] = {
32262 (char *) "self", NULL
32263 };
32264
32265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32268 {
32269 PyThreadState* __tstate = wxPyBeginAllowThreads();
32270 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
32271
32272 wxPyEndAllowThreads(__tstate);
32273 if (PyErr_Occurred()) SWIG_fail;
32274 }
fbc46b20
RD
32275 {
32276 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32277 }
d14a1e28
RD
32278 return resultobj;
32279 fail:
32280 return NULL;
32281}
32282
32283
2f4c0a16 32284static PyObject *_wrap_MenuItem_Check(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32285 PyObject *resultobj;
32286 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 32287 bool arg2 = (bool) True ;
d14a1e28
RD
32288 PyObject * obj0 = 0 ;
32289 PyObject * obj1 = 0 ;
32290 char *kwnames[] = {
32291 (char *) "self",(char *) "check", NULL
32292 };
32293
32294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32295 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32296 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 32297 if (obj1) {
2f4c0a16
RD
32298 arg2 = (bool) SWIG_AsBool(obj1);
32299 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32300 }
32301 {
32302 PyThreadState* __tstate = wxPyBeginAllowThreads();
32303 (arg1)->Check(arg2);
32304
32305 wxPyEndAllowThreads(__tstate);
32306 if (PyErr_Occurred()) SWIG_fail;
32307 }
32308 Py_INCREF(Py_None); resultobj = Py_None;
32309 return resultobj;
32310 fail:
32311 return NULL;
32312}
32313
32314
2f4c0a16 32315static PyObject *_wrap_MenuItem_IsChecked(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32316 PyObject *resultobj;
32317 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32318 bool result;
32319 PyObject * obj0 = 0 ;
32320 char *kwnames[] = {
32321 (char *) "self", NULL
32322 };
32323
32324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32327 {
32328 PyThreadState* __tstate = wxPyBeginAllowThreads();
32329 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
32330
32331 wxPyEndAllowThreads(__tstate);
32332 if (PyErr_Occurred()) SWIG_fail;
32333 }
fbc46b20
RD
32334 {
32335 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32336 }
d14a1e28
RD
32337 return resultobj;
32338 fail:
32339 return NULL;
32340}
32341
32342
2f4c0a16 32343static PyObject *_wrap_MenuItem_Toggle(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32344 PyObject *resultobj;
32345 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32346 PyObject * obj0 = 0 ;
32347 char *kwnames[] = {
32348 (char *) "self", NULL
32349 };
32350
32351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32352 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32353 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32354 {
32355 PyThreadState* __tstate = wxPyBeginAllowThreads();
32356 (arg1)->Toggle();
32357
32358 wxPyEndAllowThreads(__tstate);
32359 if (PyErr_Occurred()) SWIG_fail;
32360 }
32361 Py_INCREF(Py_None); resultobj = Py_None;
32362 return resultobj;
32363 fail:
32364 return NULL;
32365}
32366
32367
2f4c0a16 32368static PyObject *_wrap_MenuItem_SetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32369 PyObject *resultobj;
32370 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32371 wxString *arg2 = 0 ;
423f194a 32372 bool temp2 = False ;
d14a1e28
RD
32373 PyObject * obj0 = 0 ;
32374 PyObject * obj1 = 0 ;
32375 char *kwnames[] = {
32376 (char *) "self",(char *) "str", NULL
32377 };
32378
32379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32380 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32381 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32382 {
32383 arg2 = wxString_in_helper(obj1);
32384 if (arg2 == NULL) SWIG_fail;
423f194a 32385 temp2 = True;
d14a1e28
RD
32386 }
32387 {
32388 PyThreadState* __tstate = wxPyBeginAllowThreads();
32389 (arg1)->SetHelp((wxString const &)*arg2);
32390
32391 wxPyEndAllowThreads(__tstate);
32392 if (PyErr_Occurred()) SWIG_fail;
32393 }
32394 Py_INCREF(Py_None); resultobj = Py_None;
32395 {
32396 if (temp2)
32397 delete arg2;
32398 }
32399 return resultobj;
32400 fail:
32401 {
32402 if (temp2)
32403 delete arg2;
32404 }
32405 return NULL;
32406}
32407
32408
2f4c0a16 32409static PyObject *_wrap_MenuItem_GetHelp(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32410 PyObject *resultobj;
32411 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32412 wxString *result;
32413 PyObject * obj0 = 0 ;
32414 char *kwnames[] = {
32415 (char *) "self", NULL
32416 };
32417
32418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32421 {
32422 PyThreadState* __tstate = wxPyBeginAllowThreads();
32423 {
32424 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
32425 result = (wxString *) &_result_ref;
32426 }
32427
32428 wxPyEndAllowThreads(__tstate);
32429 if (PyErr_Occurred()) SWIG_fail;
32430 }
0f774bef
RD
32431 {
32432#if wxUSE_UNICODE
32433 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
32434#else
32435 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
32436#endif
32437 }
d14a1e28
RD
32438 return resultobj;
32439 fail:
32440 return NULL;
32441}
32442
32443
2f4c0a16 32444static PyObject *_wrap_MenuItem_GetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32445 PyObject *resultobj;
32446 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32447 wxAcceleratorEntry *result;
32448 PyObject * obj0 = 0 ;
32449 char *kwnames[] = {
32450 (char *) "self", NULL
32451 };
32452
32453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32456 {
32457 PyThreadState* __tstate = wxPyBeginAllowThreads();
32458 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
32459
32460 wxPyEndAllowThreads(__tstate);
32461 if (PyErr_Occurred()) SWIG_fail;
32462 }
2f4c0a16 32463 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
32464 return resultobj;
32465 fail:
32466 return NULL;
32467}
32468
32469
2f4c0a16 32470static PyObject *_wrap_MenuItem_SetAccel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32471 PyObject *resultobj;
32472 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32473 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
32474 PyObject * obj0 = 0 ;
32475 PyObject * obj1 = 0 ;
32476 char *kwnames[] = {
32477 (char *) "self",(char *) "accel", NULL
32478 };
32479
32480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32481 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32482 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32483 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
32484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32485 {
32486 PyThreadState* __tstate = wxPyBeginAllowThreads();
32487 (arg1)->SetAccel(arg2);
32488
32489 wxPyEndAllowThreads(__tstate);
32490 if (PyErr_Occurred()) SWIG_fail;
32491 }
32492 Py_INCREF(Py_None); resultobj = Py_None;
32493 return resultobj;
32494 fail:
32495 return NULL;
32496}
32497
32498
2f4c0a16 32499static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32500 PyObject *resultobj;
32501 int result;
32502 char *kwnames[] = {
32503 NULL
32504 };
32505
32506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
32507 {
32508 PyThreadState* __tstate = wxPyBeginAllowThreads();
32509 result = (int)MenuItem_GetDefaultMarginWidth();
32510
32511 wxPyEndAllowThreads(__tstate);
32512 if (PyErr_Occurred()) SWIG_fail;
32513 }
2f4c0a16 32514 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32515 return resultobj;
32516 fail:
32517 return NULL;
32518}
32519
32520
2f4c0a16 32521static PyObject *_wrap_MenuItem_SetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32522 PyObject *resultobj;
32523 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32524 wxBitmap *arg2 = 0 ;
32525 PyObject * obj0 = 0 ;
32526 PyObject * obj1 = 0 ;
32527 char *kwnames[] = {
32528 (char *) "self",(char *) "bitmap", NULL
32529 };
32530
32531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32532 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32533 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32534 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
32535 SWIG_POINTER_EXCEPTION | 0)) == -1)
32536 SWIG_fail;
d14a1e28 32537 if (arg2 == NULL) {
2f4c0a16
RD
32538 PyErr_SetString(PyExc_TypeError,"null reference");
32539 SWIG_fail;
d14a1e28
RD
32540 }
32541 {
32542 PyThreadState* __tstate = wxPyBeginAllowThreads();
32543 (arg1)->SetBitmap((wxBitmap const &)*arg2);
32544
32545 wxPyEndAllowThreads(__tstate);
32546 if (PyErr_Occurred()) SWIG_fail;
32547 }
32548 Py_INCREF(Py_None); resultobj = Py_None;
32549 return resultobj;
32550 fail:
32551 return NULL;
32552}
32553
32554
2f4c0a16 32555static PyObject *_wrap_MenuItem_GetBitmap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32556 PyObject *resultobj;
32557 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
32558 wxBitmap *result;
32559 PyObject * obj0 = 0 ;
32560 char *kwnames[] = {
32561 (char *) "self", NULL
32562 };
32563
32564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32565 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
32566 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32567 {
32568 PyThreadState* __tstate = wxPyBeginAllowThreads();
32569 {
32570 wxBitmap const &_result_ref = (arg1)->GetBitmap();
32571 result = (wxBitmap *) &_result_ref;
32572 }
32573
32574 wxPyEndAllowThreads(__tstate);
32575 if (PyErr_Occurred()) SWIG_fail;
32576 }
ce7284bd
RD
32577 {
32578 wxBitmap* resultptr = new wxBitmap(*result);
32579 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
32580 }
d14a1e28
RD
32581 return resultobj;
32582 fail:
32583 return NULL;
32584}
32585
32586
2f4c0a16 32587static PyObject * MenuItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32588 PyObject *obj;
32589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32590 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
32591 Py_INCREF(obj);
32592 return Py_BuildValue((char *)"");
32593}
8edf1c75 32594static int _wrap_ControlNameStr_set(PyObject *) {
cbd72d4f
RD
32595 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
32596 return 1;
32597}
32598
32599
32600static PyObject *_wrap_ControlNameStr_get() {
32601 PyObject *pyobj;
32602
32603 {
32604#if wxUSE_UNICODE
32605 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32606#else
32607 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
32608#endif
32609 }
32610 return pyobj;
32611}
32612
32613
2f4c0a16 32614static PyObject *_wrap_new_Control(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32615 PyObject *resultobj;
32616 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 32617 int arg2 ;
d14a1e28
RD
32618 wxPoint const &arg3_defvalue = wxDefaultPosition ;
32619 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
32620 wxSize const &arg4_defvalue = wxDefaultSize ;
32621 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
32622 long arg5 = (long) 0 ;
32623 wxValidator const &arg6_defvalue = wxDefaultValidator ;
32624 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
32625 wxString const &arg7_defvalue = wxPyControlNameStr ;
32626 wxString *arg7 = (wxString *) &arg7_defvalue ;
32627 wxControl *result;
32628 wxPoint temp3 ;
32629 wxSize temp4 ;
423f194a 32630 bool temp7 = False ;
d14a1e28 32631 PyObject * obj0 = 0 ;
8edf1c75 32632 PyObject * obj1 = 0 ;
d14a1e28
RD
32633 PyObject * obj2 = 0 ;
32634 PyObject * obj3 = 0 ;
8edf1c75 32635 PyObject * obj4 = 0 ;
d14a1e28
RD
32636 PyObject * obj5 = 0 ;
32637 PyObject * obj6 = 0 ;
32638 char *kwnames[] = {
32639 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32640 };
32641
8edf1c75 32642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
32643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
32644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32645 arg2 = (int) SWIG_AsInt(obj1);
32646 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32647 if (obj2) {
32648 {
32649 arg3 = &temp3;
32650 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
32651 }
32652 }
32653 if (obj3) {
32654 {
32655 arg4 = &temp4;
32656 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
32657 }
32658 }
8edf1c75 32659 if (obj4) {
2f4c0a16
RD
32660 arg5 = (long) SWIG_AsLong(obj4);
32661 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32662 }
d14a1e28 32663 if (obj5) {
2f4c0a16
RD
32664 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
32665 SWIG_POINTER_EXCEPTION | 0)) == -1)
32666 SWIG_fail;
d14a1e28 32667 if (arg6 == NULL) {
2f4c0a16
RD
32668 PyErr_SetString(PyExc_TypeError,"null reference");
32669 SWIG_fail;
d14a1e28
RD
32670 }
32671 }
32672 if (obj6) {
32673 {
32674 arg7 = wxString_in_helper(obj6);
32675 if (arg7 == NULL) SWIG_fail;
423f194a 32676 temp7 = True;
d14a1e28
RD
32677 }
32678 }
32679 {
32680 PyThreadState* __tstate = wxPyBeginAllowThreads();
32681 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
32682
32683 wxPyEndAllowThreads(__tstate);
32684 if (PyErr_Occurred()) SWIG_fail;
32685 }
32686 {
32687 resultobj = wxPyMake_wxObject(result);
32688 }
32689 {
32690 if (temp7)
32691 delete arg7;
32692 }
32693 return resultobj;
32694 fail:
32695 {
32696 if (temp7)
32697 delete arg7;
32698 }
32699 return NULL;
32700}
32701
32702
2f4c0a16 32703static PyObject *_wrap_new_PreControl(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32704 PyObject *resultobj;
32705 wxControl *result;
32706 char *kwnames[] = {
32707 NULL
32708 };
32709
32710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
32711 {
32712 PyThreadState* __tstate = wxPyBeginAllowThreads();
32713 result = (wxControl *)new wxControl();
32714
32715 wxPyEndAllowThreads(__tstate);
32716 if (PyErr_Occurred()) SWIG_fail;
32717 }
32718 {
32719 resultobj = wxPyMake_wxObject(result);
32720 }
32721 return resultobj;
32722 fail:
32723 return NULL;
32724}
32725
32726
2f4c0a16 32727static PyObject *_wrap_Control_Create(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32728 PyObject *resultobj;
32729 wxControl *arg1 = (wxControl *) 0 ;
32730 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 32731 int arg3 ;
d14a1e28
RD
32732 wxPoint const &arg4_defvalue = wxDefaultPosition ;
32733 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
32734 wxSize const &arg5_defvalue = wxDefaultSize ;
32735 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
32736 long arg6 = (long) 0 ;
32737 wxValidator const &arg7_defvalue = wxDefaultValidator ;
32738 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
32739 wxString const &arg8_defvalue = wxPyControlNameStr ;
32740 wxString *arg8 = (wxString *) &arg8_defvalue ;
32741 bool result;
32742 wxPoint temp4 ;
32743 wxSize temp5 ;
423f194a 32744 bool temp8 = False ;
d14a1e28
RD
32745 PyObject * obj0 = 0 ;
32746 PyObject * obj1 = 0 ;
8edf1c75 32747 PyObject * obj2 = 0 ;
d14a1e28
RD
32748 PyObject * obj3 = 0 ;
32749 PyObject * obj4 = 0 ;
8edf1c75 32750 PyObject * obj5 = 0 ;
d14a1e28
RD
32751 PyObject * obj6 = 0 ;
32752 PyObject * obj7 = 0 ;
32753 char *kwnames[] = {
32754 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32755 };
32756
8edf1c75 32757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
32758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32760 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
32761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32762 arg3 = (int) SWIG_AsInt(obj2);
32763 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32764 if (obj3) {
32765 {
32766 arg4 = &temp4;
32767 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
32768 }
32769 }
32770 if (obj4) {
32771 {
32772 arg5 = &temp5;
32773 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
32774 }
32775 }
8edf1c75 32776 if (obj5) {
2f4c0a16
RD
32777 arg6 = (long) SWIG_AsLong(obj5);
32778 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 32779 }
d14a1e28 32780 if (obj6) {
2f4c0a16
RD
32781 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
32782 SWIG_POINTER_EXCEPTION | 0)) == -1)
32783 SWIG_fail;
d14a1e28 32784 if (arg7 == NULL) {
2f4c0a16
RD
32785 PyErr_SetString(PyExc_TypeError,"null reference");
32786 SWIG_fail;
d14a1e28
RD
32787 }
32788 }
32789 if (obj7) {
32790 {
32791 arg8 = wxString_in_helper(obj7);
32792 if (arg8 == NULL) SWIG_fail;
423f194a 32793 temp8 = True;
d14a1e28
RD
32794 }
32795 }
32796 {
32797 PyThreadState* __tstate = wxPyBeginAllowThreads();
32798 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
32799
32800 wxPyEndAllowThreads(__tstate);
32801 if (PyErr_Occurred()) SWIG_fail;
32802 }
fbc46b20
RD
32803 {
32804 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
32805 }
d14a1e28
RD
32806 {
32807 if (temp8)
32808 delete arg8;
32809 }
32810 return resultobj;
32811 fail:
32812 {
32813 if (temp8)
32814 delete arg8;
32815 }
32816 return NULL;
32817}
32818
32819
2f4c0a16 32820static PyObject *_wrap_Control_Command(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32821 PyObject *resultobj;
32822 wxControl *arg1 = (wxControl *) 0 ;
32823 wxCommandEvent *arg2 = 0 ;
32824 PyObject * obj0 = 0 ;
32825 PyObject * obj1 = 0 ;
32826 char *kwnames[] = {
32827 (char *) "self",(char *) "event", NULL
32828 };
32829
32830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32831 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32833 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
32834 SWIG_POINTER_EXCEPTION | 0)) == -1)
32835 SWIG_fail;
d14a1e28 32836 if (arg2 == NULL) {
2f4c0a16
RD
32837 PyErr_SetString(PyExc_TypeError,"null reference");
32838 SWIG_fail;
d14a1e28
RD
32839 }
32840 {
32841 PyThreadState* __tstate = wxPyBeginAllowThreads();
32842 (arg1)->Command(*arg2);
32843
32844 wxPyEndAllowThreads(__tstate);
32845 if (PyErr_Occurred()) SWIG_fail;
32846 }
32847 Py_INCREF(Py_None); resultobj = Py_None;
32848 return resultobj;
32849 fail:
32850 return NULL;
32851}
32852
32853
2f4c0a16 32854static PyObject *_wrap_Control_GetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32855 PyObject *resultobj;
32856 wxControl *arg1 = (wxControl *) 0 ;
32857 wxString result;
32858 PyObject * obj0 = 0 ;
32859 char *kwnames[] = {
32860 (char *) "self", NULL
32861 };
32862
32863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32864 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32865 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32866 {
32867 PyThreadState* __tstate = wxPyBeginAllowThreads();
32868 result = (arg1)->GetLabel();
32869
32870 wxPyEndAllowThreads(__tstate);
32871 if (PyErr_Occurred()) SWIG_fail;
32872 }
32873 {
32874#if wxUSE_UNICODE
32875 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32876#else
32877 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32878#endif
32879 }
32880 return resultobj;
32881 fail:
32882 return NULL;
32883}
32884
32885
2f4c0a16 32886static PyObject *_wrap_Control_SetLabel(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32887 PyObject *resultobj;
32888 wxControl *arg1 = (wxControl *) 0 ;
32889 wxString *arg2 = 0 ;
423f194a 32890 bool temp2 = False ;
d14a1e28
RD
32891 PyObject * obj0 = 0 ;
32892 PyObject * obj1 = 0 ;
32893 char *kwnames[] = {
32894 (char *) "self",(char *) "label", NULL
32895 };
32896
32897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32900 {
32901 arg2 = wxString_in_helper(obj1);
32902 if (arg2 == NULL) SWIG_fail;
423f194a 32903 temp2 = True;
d14a1e28
RD
32904 }
32905 {
32906 PyThreadState* __tstate = wxPyBeginAllowThreads();
32907 (arg1)->SetLabel((wxString const &)*arg2);
32908
32909 wxPyEndAllowThreads(__tstate);
32910 if (PyErr_Occurred()) SWIG_fail;
32911 }
32912 Py_INCREF(Py_None); resultobj = Py_None;
32913 {
32914 if (temp2)
32915 delete arg2;
32916 }
32917 return resultobj;
32918 fail:
32919 {
32920 if (temp2)
32921 delete arg2;
32922 }
32923 return NULL;
32924}
32925
32926
377d47bd
RD
32927static PyObject *_wrap_Control_GetClassDefaultAttributes(PyObject *, PyObject *args, PyObject *kwargs) {
32928 PyObject *resultobj;
32929 int arg1 = (int) wxWINDOW_VARIANT_NORMAL ;
32930 wxVisualAttributes result;
32931 PyObject * obj0 = 0 ;
32932 char *kwnames[] = {
32933 (char *) "variant", NULL
32934 };
32935
32936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Control_GetClassDefaultAttributes",kwnames,&obj0)) goto fail;
32937 if (obj0) {
32938 arg1 = (wxWindowVariant) SWIG_AsInt(obj0);
32939 if (PyErr_Occurred()) SWIG_fail;
32940 }
32941 {
32942 PyThreadState* __tstate = wxPyBeginAllowThreads();
32943 result = wxControl::GetClassDefaultAttributes((wxWindowVariant )arg1);
32944
32945 wxPyEndAllowThreads(__tstate);
32946 if (PyErr_Occurred()) SWIG_fail;
32947 }
32948 {
32949 wxVisualAttributes * resultptr;
32950 resultptr = new wxVisualAttributes((wxVisualAttributes &) result);
32951 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxVisualAttributes, 1);
32952 }
32953 return resultobj;
32954 fail:
32955 return NULL;
32956}
32957
32958
2f4c0a16 32959static PyObject * Control_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
32960 PyObject *obj;
32961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32962 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
32963 Py_INCREF(obj);
32964 return Py_BuildValue((char *)"");
32965}
2f4c0a16 32966static PyObject *_wrap_ItemContainer_Append(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
32967 PyObject *resultobj;
32968 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32969 wxString *arg2 = 0 ;
32970 PyObject *arg3 = (PyObject *) NULL ;
32971 int result;
423f194a 32972 bool temp2 = False ;
d14a1e28
RD
32973 PyObject * obj0 = 0 ;
32974 PyObject * obj1 = 0 ;
32975 PyObject * obj2 = 0 ;
32976 char *kwnames[] = {
32977 (char *) "self",(char *) "item",(char *) "clientData", NULL
32978 };
32979
32980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32981 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32982 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32983 {
32984 arg2 = wxString_in_helper(obj1);
32985 if (arg2 == NULL) SWIG_fail;
423f194a 32986 temp2 = True;
d14a1e28
RD
32987 }
32988 if (obj2) {
32989 arg3 = obj2;
32990 }
32991 {
32992 PyThreadState* __tstate = wxPyBeginAllowThreads();
32993 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
32994
32995 wxPyEndAllowThreads(__tstate);
32996 if (PyErr_Occurred()) SWIG_fail;
32997 }
2f4c0a16 32998 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32999 {
33000 if (temp2)
33001 delete arg2;
33002 }
33003 return resultobj;
33004 fail:
33005 {
33006 if (temp2)
33007 delete arg2;
33008 }
33009 return NULL;
33010}
33011
33012
2f4c0a16 33013static PyObject *_wrap_ItemContainer_AppendItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33014 PyObject *resultobj;
33015 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33016 wxArrayString *arg2 = 0 ;
0ffb2aa6 33017 bool temp2 = False ;
d14a1e28
RD
33018 PyObject * obj0 = 0 ;
33019 PyObject * obj1 = 0 ;
33020 char *kwnames[] = {
33021 (char *) "self",(char *) "strings", NULL
33022 };
33023
33024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33025 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33026 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33027 {
33028 if (! PySequence_Check(obj1)) {
33029 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
33030 SWIG_fail;
33031 }
33032 arg2 = new wxArrayString;
0ffb2aa6 33033 temp2 = True;
d14a1e28
RD
33034 int i, len=PySequence_Length(obj1);
33035 for (i=0; i<len; i++) {
33036 PyObject* item = PySequence_GetItem(obj1, i);
33037#if wxUSE_UNICODE
33038 PyObject* str = PyObject_Unicode(item);
33039#else
33040 PyObject* str = PyObject_Str(item);
33041#endif
377d47bd 33042 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33043 arg2->Add(Py2wxString(str));
33044 Py_DECREF(item);
33045 Py_DECREF(str);
33046 }
33047 }
33048 {
33049 PyThreadState* __tstate = wxPyBeginAllowThreads();
33050 (arg1)->Append((wxArrayString const &)*arg2);
33051
33052 wxPyEndAllowThreads(__tstate);
33053 if (PyErr_Occurred()) SWIG_fail;
33054 }
33055 Py_INCREF(Py_None); resultobj = Py_None;
33056 {
0ffb2aa6 33057 if (temp2) delete arg2;
d14a1e28
RD
33058 }
33059 return resultobj;
33060 fail:
33061 {
0ffb2aa6 33062 if (temp2) delete arg2;
d14a1e28
RD
33063 }
33064 return NULL;
33065}
33066
33067
2f4c0a16 33068static PyObject *_wrap_ItemContainer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33069 PyObject *resultobj;
33070 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33071 wxString *arg2 = 0 ;
33072 int arg3 ;
33073 PyObject *arg4 = (PyObject *) NULL ;
33074 int result;
423f194a 33075 bool temp2 = False ;
d14a1e28
RD
33076 PyObject * obj0 = 0 ;
33077 PyObject * obj1 = 0 ;
8edf1c75 33078 PyObject * obj2 = 0 ;
d14a1e28
RD
33079 PyObject * obj3 = 0 ;
33080 char *kwnames[] = {
33081 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33082 };
33083
8edf1c75 33084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
33085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33087 {
33088 arg2 = wxString_in_helper(obj1);
33089 if (arg2 == NULL) SWIG_fail;
423f194a 33090 temp2 = True;
d14a1e28 33091 }
2f4c0a16
RD
33092 arg3 = (int) SWIG_AsInt(obj2);
33093 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33094 if (obj3) {
33095 arg4 = obj3;
33096 }
33097 {
33098 PyThreadState* __tstate = wxPyBeginAllowThreads();
33099 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
33100
33101 wxPyEndAllowThreads(__tstate);
33102 if (PyErr_Occurred()) SWIG_fail;
33103 }
2f4c0a16 33104 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33105 {
33106 if (temp2)
33107 delete arg2;
33108 }
33109 return resultobj;
33110 fail:
33111 {
33112 if (temp2)
33113 delete arg2;
33114 }
33115 return NULL;
33116}
33117
33118
2f4c0a16 33119static PyObject *_wrap_ItemContainer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33120 PyObject *resultobj;
33121 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33122 PyObject * obj0 = 0 ;
33123 char *kwnames[] = {
33124 (char *) "self", NULL
33125 };
33126
33127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33128 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33129 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33130 {
33131 PyThreadState* __tstate = wxPyBeginAllowThreads();
33132 (arg1)->Clear();
33133
33134 wxPyEndAllowThreads(__tstate);
33135 if (PyErr_Occurred()) SWIG_fail;
33136 }
33137 Py_INCREF(Py_None); resultobj = Py_None;
33138 return resultobj;
33139 fail:
33140 return NULL;
33141}
33142
33143
2f4c0a16 33144static PyObject *_wrap_ItemContainer_Delete(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33145 PyObject *resultobj;
33146 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33147 int arg2 ;
33148 PyObject * obj0 = 0 ;
8edf1c75 33149 PyObject * obj1 = 0 ;
d14a1e28
RD
33150 char *kwnames[] = {
33151 (char *) "self",(char *) "n", NULL
33152 };
33153
8edf1c75 33154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33155 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33156 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33157 arg2 = (int) SWIG_AsInt(obj1);
33158 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33159 {
33160 PyThreadState* __tstate = wxPyBeginAllowThreads();
33161 (arg1)->Delete(arg2);
33162
33163 wxPyEndAllowThreads(__tstate);
33164 if (PyErr_Occurred()) SWIG_fail;
33165 }
33166 Py_INCREF(Py_None); resultobj = Py_None;
33167 return resultobj;
33168 fail:
33169 return NULL;
33170}
33171
33172
2f4c0a16 33173static PyObject *_wrap_ItemContainer_GetCount(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33174 PyObject *resultobj;
33175 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33176 int result;
33177 PyObject * obj0 = 0 ;
33178 char *kwnames[] = {
33179 (char *) "self", NULL
33180 };
33181
33182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33185 {
33186 PyThreadState* __tstate = wxPyBeginAllowThreads();
33187 result = (int)((wxItemContainer const *)arg1)->GetCount();
33188
33189 wxPyEndAllowThreads(__tstate);
33190 if (PyErr_Occurred()) SWIG_fail;
33191 }
2f4c0a16 33192 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33193 return resultobj;
33194 fail:
33195 return NULL;
33196}
33197
33198
2f4c0a16 33199static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33200 PyObject *resultobj;
33201 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33202 bool result;
33203 PyObject * obj0 = 0 ;
33204 char *kwnames[] = {
33205 (char *) "self", NULL
33206 };
33207
33208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33209 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33210 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33211 {
33212 PyThreadState* __tstate = wxPyBeginAllowThreads();
33213 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
33214
33215 wxPyEndAllowThreads(__tstate);
33216 if (PyErr_Occurred()) SWIG_fail;
33217 }
fbc46b20
RD
33218 {
33219 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
33220 }
d14a1e28
RD
33221 return resultobj;
33222 fail:
33223 return NULL;
33224}
33225
33226
2f4c0a16 33227static PyObject *_wrap_ItemContainer_GetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33228 PyObject *resultobj;
33229 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33230 int arg2 ;
33231 wxString result;
33232 PyObject * obj0 = 0 ;
8edf1c75 33233 PyObject * obj1 = 0 ;
d14a1e28
RD
33234 char *kwnames[] = {
33235 (char *) "self",(char *) "n", NULL
33236 };
33237
8edf1c75 33238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33241 arg2 = (int) SWIG_AsInt(obj1);
33242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33243 {
33244 PyThreadState* __tstate = wxPyBeginAllowThreads();
33245 result = ((wxItemContainer const *)arg1)->GetString(arg2);
33246
33247 wxPyEndAllowThreads(__tstate);
33248 if (PyErr_Occurred()) SWIG_fail;
33249 }
33250 {
33251#if wxUSE_UNICODE
33252 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33253#else
33254 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33255#endif
33256 }
33257 return resultobj;
33258 fail:
33259 return NULL;
33260}
33261
33262
2f4c0a16 33263static PyObject *_wrap_ItemContainer_GetStrings(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33264 PyObject *resultobj;
33265 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33266 wxArrayString result;
33267 PyObject * obj0 = 0 ;
33268 char *kwnames[] = {
33269 (char *) "self", NULL
33270 };
33271
33272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33275 {
33276 PyThreadState* __tstate = wxPyBeginAllowThreads();
33277 result = ((wxItemContainer const *)arg1)->GetStrings();
33278
33279 wxPyEndAllowThreads(__tstate);
33280 if (PyErr_Occurred()) SWIG_fail;
33281 }
33282 {
33283 resultobj = wxArrayString2PyList_helper(result);
33284 }
33285 return resultobj;
33286 fail:
33287 return NULL;
33288}
33289
33290
2f4c0a16 33291static PyObject *_wrap_ItemContainer_SetString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33292 PyObject *resultobj;
33293 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33294 int arg2 ;
33295 wxString *arg3 = 0 ;
423f194a 33296 bool temp3 = False ;
d14a1e28 33297 PyObject * obj0 = 0 ;
8edf1c75 33298 PyObject * obj1 = 0 ;
d14a1e28
RD
33299 PyObject * obj2 = 0 ;
33300 char *kwnames[] = {
33301 (char *) "self",(char *) "n",(char *) "s", NULL
33302 };
33303
8edf1c75 33304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
33305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33307 arg2 = (int) SWIG_AsInt(obj1);
33308 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33309 {
33310 arg3 = wxString_in_helper(obj2);
33311 if (arg3 == NULL) SWIG_fail;
423f194a 33312 temp3 = True;
d14a1e28
RD
33313 }
33314 {
33315 PyThreadState* __tstate = wxPyBeginAllowThreads();
33316 (arg1)->SetString(arg2,(wxString const &)*arg3);
33317
33318 wxPyEndAllowThreads(__tstate);
33319 if (PyErr_Occurred()) SWIG_fail;
33320 }
33321 Py_INCREF(Py_None); resultobj = Py_None;
33322 {
33323 if (temp3)
33324 delete arg3;
33325 }
33326 return resultobj;
33327 fail:
33328 {
33329 if (temp3)
33330 delete arg3;
33331 }
33332 return NULL;
33333}
33334
33335
2f4c0a16 33336static PyObject *_wrap_ItemContainer_FindString(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33337 PyObject *resultobj;
33338 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33339 wxString *arg2 = 0 ;
33340 int result;
423f194a 33341 bool temp2 = False ;
d14a1e28
RD
33342 PyObject * obj0 = 0 ;
33343 PyObject * obj1 = 0 ;
33344 char *kwnames[] = {
33345 (char *) "self",(char *) "s", NULL
33346 };
33347
33348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33351 {
33352 arg2 = wxString_in_helper(obj1);
33353 if (arg2 == NULL) SWIG_fail;
423f194a 33354 temp2 = True;
d14a1e28
RD
33355 }
33356 {
33357 PyThreadState* __tstate = wxPyBeginAllowThreads();
33358 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
33359
33360 wxPyEndAllowThreads(__tstate);
33361 if (PyErr_Occurred()) SWIG_fail;
33362 }
2f4c0a16 33363 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33364 {
33365 if (temp2)
33366 delete arg2;
33367 }
33368 return resultobj;
33369 fail:
33370 {
33371 if (temp2)
33372 delete arg2;
33373 }
33374 return NULL;
33375}
33376
33377
2f4c0a16 33378static PyObject *_wrap_ItemContainer_Select(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33379 PyObject *resultobj;
33380 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33381 int arg2 ;
33382 PyObject * obj0 = 0 ;
8edf1c75 33383 PyObject * obj1 = 0 ;
d14a1e28
RD
33384 char *kwnames[] = {
33385 (char *) "self",(char *) "n", NULL
33386 };
33387
8edf1c75 33388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33389 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33390 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33391 arg2 = (int) SWIG_AsInt(obj1);
33392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33393 {
33394 PyThreadState* __tstate = wxPyBeginAllowThreads();
33395 (arg1)->Select(arg2);
33396
33397 wxPyEndAllowThreads(__tstate);
33398 if (PyErr_Occurred()) SWIG_fail;
33399 }
33400 Py_INCREF(Py_None); resultobj = Py_None;
33401 return resultobj;
33402 fail:
33403 return NULL;
33404}
33405
33406
2f4c0a16 33407static PyObject *_wrap_ItemContainer_GetSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33408 PyObject *resultobj;
33409 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33410 int result;
33411 PyObject * obj0 = 0 ;
33412 char *kwnames[] = {
33413 (char *) "self", NULL
33414 };
33415
33416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33419 {
33420 PyThreadState* __tstate = wxPyBeginAllowThreads();
33421 result = (int)((wxItemContainer const *)arg1)->GetSelection();
33422
33423 wxPyEndAllowThreads(__tstate);
33424 if (PyErr_Occurred()) SWIG_fail;
33425 }
2f4c0a16 33426 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33427 return resultobj;
33428 fail:
33429 return NULL;
33430}
33431
33432
2f4c0a16 33433static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33434 PyObject *resultobj;
33435 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33436 wxString result;
33437 PyObject * obj0 = 0 ;
33438 char *kwnames[] = {
33439 (char *) "self", NULL
33440 };
33441
33442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33445 {
33446 PyThreadState* __tstate = wxPyBeginAllowThreads();
33447 result = ((wxItemContainer const *)arg1)->GetStringSelection();
33448
33449 wxPyEndAllowThreads(__tstate);
33450 if (PyErr_Occurred()) SWIG_fail;
33451 }
33452 {
33453#if wxUSE_UNICODE
33454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
33455#else
33456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
33457#endif
33458 }
33459 return resultobj;
33460 fail:
33461 return NULL;
33462}
33463
33464
2f4c0a16 33465static PyObject *_wrap_ItemContainer_GetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33466 PyObject *resultobj;
33467 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33468 int arg2 ;
33469 PyObject *result;
33470 PyObject * obj0 = 0 ;
8edf1c75 33471 PyObject * obj1 = 0 ;
d14a1e28
RD
33472 char *kwnames[] = {
33473 (char *) "self",(char *) "n", NULL
33474 };
33475
8edf1c75 33476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33477 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33478 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33479 arg2 = (int) SWIG_AsInt(obj1);
33480 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33481 {
33482 PyThreadState* __tstate = wxPyBeginAllowThreads();
33483 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
33484
33485 wxPyEndAllowThreads(__tstate);
33486 if (PyErr_Occurred()) SWIG_fail;
33487 }
33488 resultobj = result;
33489 return resultobj;
33490 fail:
33491 return NULL;
33492}
33493
33494
2f4c0a16 33495static PyObject *_wrap_ItemContainer_SetClientData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33496 PyObject *resultobj;
33497 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
33498 int arg2 ;
33499 PyObject *arg3 = (PyObject *) 0 ;
33500 PyObject * obj0 = 0 ;
8edf1c75 33501 PyObject * obj1 = 0 ;
d14a1e28
RD
33502 PyObject * obj2 = 0 ;
33503 char *kwnames[] = {
33504 (char *) "self",(char *) "n",(char *) "clientData", NULL
33505 };
33506
8edf1c75 33507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
33508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
33509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33510 arg2 = (int) SWIG_AsInt(obj1);
33511 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33512 arg3 = obj2;
33513 {
33514 PyThreadState* __tstate = wxPyBeginAllowThreads();
33515 wxItemContainer_SetClientData(arg1,arg2,arg3);
33516
33517 wxPyEndAllowThreads(__tstate);
33518 if (PyErr_Occurred()) SWIG_fail;
33519 }
33520 Py_INCREF(Py_None); resultobj = Py_None;
33521 return resultobj;
33522 fail:
33523 return NULL;
33524}
33525
33526
2f4c0a16 33527static PyObject * ItemContainer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33528 PyObject *obj;
33529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33530 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
33531 Py_INCREF(obj);
33532 return Py_BuildValue((char *)"");
33533}
2f4c0a16 33534static PyObject * ControlWithItems_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
33535 PyObject *obj;
33536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33537 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
33538 Py_INCREF(obj);
33539 return Py_BuildValue((char *)"");
33540}
2f4c0a16 33541static PyObject *_wrap_new_SizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33542 PyObject *resultobj;
33543 wxSizerItem *result;
33544 char *kwnames[] = {
33545 NULL
33546 };
33547
33548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
33549 {
33550 PyThreadState* __tstate = wxPyBeginAllowThreads();
33551 result = (wxSizerItem *)new wxSizerItem();
33552
33553 wxPyEndAllowThreads(__tstate);
33554 if (PyErr_Occurred()) SWIG_fail;
33555 }
2f4c0a16 33556 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33557 return resultobj;
33558 fail:
33559 return NULL;
33560}
33561
33562
2f4c0a16 33563static PyObject *_wrap_new_SizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33564 PyObject *resultobj;
33565 int arg1 ;
33566 int arg2 ;
33567 int arg3 ;
33568 int arg4 ;
33569 int arg5 ;
33570 wxObject *arg6 = (wxObject *) 0 ;
33571 wxSizerItem *result;
8edf1c75
RD
33572 PyObject * obj0 = 0 ;
33573 PyObject * obj1 = 0 ;
33574 PyObject * obj2 = 0 ;
33575 PyObject * obj3 = 0 ;
33576 PyObject * obj4 = 0 ;
d14a1e28
RD
33577 PyObject * obj5 = 0 ;
33578 char *kwnames[] = {
33579 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33580 };
33581
8edf1c75 33582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
33583 arg1 = (int) SWIG_AsInt(obj0);
33584 if (PyErr_Occurred()) SWIG_fail;
33585 arg2 = (int) SWIG_AsInt(obj1);
33586 if (PyErr_Occurred()) SWIG_fail;
33587 arg3 = (int) SWIG_AsInt(obj2);
33588 if (PyErr_Occurred()) SWIG_fail;
33589 arg4 = (int) SWIG_AsInt(obj3);
33590 if (PyErr_Occurred()) SWIG_fail;
33591 arg5 = (int) SWIG_AsInt(obj4);
33592 if (PyErr_Occurred()) SWIG_fail;
33593 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
33594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33595 {
33596 PyThreadState* __tstate = wxPyBeginAllowThreads();
33597 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
33598
33599 wxPyEndAllowThreads(__tstate);
33600 if (PyErr_Occurred()) SWIG_fail;
33601 }
2f4c0a16 33602 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33603 return resultobj;
33604 fail:
33605 return NULL;
33606}
33607
33608
2f4c0a16 33609static PyObject *_wrap_new_SizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33610 PyObject *resultobj;
33611 wxWindow *arg1 = (wxWindow *) 0 ;
33612 int arg2 ;
33613 int arg3 ;
33614 int arg4 ;
33615 wxObject *arg5 = (wxObject *) 0 ;
33616 wxSizerItem *result;
33617 PyObject * obj0 = 0 ;
8edf1c75
RD
33618 PyObject * obj1 = 0 ;
33619 PyObject * obj2 = 0 ;
33620 PyObject * obj3 = 0 ;
d14a1e28
RD
33621 PyObject * obj4 = 0 ;
33622 char *kwnames[] = {
33623 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33624 };
33625
8edf1c75 33626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
33627 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
33628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33629 arg2 = (int) SWIG_AsInt(obj1);
33630 if (PyErr_Occurred()) SWIG_fail;
33631 arg3 = (int) SWIG_AsInt(obj2);
33632 if (PyErr_Occurred()) SWIG_fail;
33633 arg4 = (int) SWIG_AsInt(obj3);
33634 if (PyErr_Occurred()) SWIG_fail;
33635 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
33636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33637 {
33638 PyThreadState* __tstate = wxPyBeginAllowThreads();
33639 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
33640
33641 wxPyEndAllowThreads(__tstate);
33642 if (PyErr_Occurred()) SWIG_fail;
33643 }
2f4c0a16 33644 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33645 return resultobj;
33646 fail:
33647 return NULL;
33648}
33649
33650
2f4c0a16 33651static PyObject *_wrap_new_SizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33652 PyObject *resultobj;
33653 wxSizer *arg1 = (wxSizer *) 0 ;
33654 int arg2 ;
33655 int arg3 ;
33656 int arg4 ;
33657 wxObject *arg5 = (wxObject *) 0 ;
33658 wxSizerItem *result;
33659 PyObject * obj0 = 0 ;
8edf1c75
RD
33660 PyObject * obj1 = 0 ;
33661 PyObject * obj2 = 0 ;
33662 PyObject * obj3 = 0 ;
d14a1e28
RD
33663 PyObject * obj4 = 0 ;
33664 char *kwnames[] = {
33665 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33666 };
33667
8edf1c75 33668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
33669 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33670 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33671 arg2 = (int) SWIG_AsInt(obj1);
33672 if (PyErr_Occurred()) SWIG_fail;
33673 arg3 = (int) SWIG_AsInt(obj2);
33674 if (PyErr_Occurred()) SWIG_fail;
33675 arg4 = (int) SWIG_AsInt(obj3);
33676 if (PyErr_Occurred()) SWIG_fail;
33677 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
33678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33679 {
33680 PyThreadState* __tstate = wxPyBeginAllowThreads();
33681 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
33682
33683 wxPyEndAllowThreads(__tstate);
33684 if (PyErr_Occurred()) SWIG_fail;
33685 }
2f4c0a16 33686 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
33687 return resultobj;
33688 fail:
33689 return NULL;
33690}
33691
33692
2f4c0a16 33693static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33694 PyObject *resultobj;
33695 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33696 PyObject * obj0 = 0 ;
33697 char *kwnames[] = {
33698 (char *) "self", NULL
33699 };
33700
33701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33702 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33703 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33704 {
33705 PyThreadState* __tstate = wxPyBeginAllowThreads();
33706 (arg1)->DeleteWindows();
33707
33708 wxPyEndAllowThreads(__tstate);
33709 if (PyErr_Occurred()) SWIG_fail;
33710 }
33711 Py_INCREF(Py_None); resultobj = Py_None;
33712 return resultobj;
33713 fail:
33714 return NULL;
33715}
33716
33717
2f4c0a16 33718static PyObject *_wrap_SizerItem_DetachSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33719 PyObject *resultobj;
33720 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33721 PyObject * obj0 = 0 ;
33722 char *kwnames[] = {
33723 (char *) "self", NULL
33724 };
33725
33726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33727 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33728 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33729 {
33730 PyThreadState* __tstate = wxPyBeginAllowThreads();
33731 (arg1)->DetachSizer();
33732
33733 wxPyEndAllowThreads(__tstate);
33734 if (PyErr_Occurred()) SWIG_fail;
33735 }
33736 Py_INCREF(Py_None); resultobj = Py_None;
33737 return resultobj;
33738 fail:
33739 return NULL;
33740}
33741
33742
2f4c0a16 33743static PyObject *_wrap_SizerItem_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33744 PyObject *resultobj;
33745 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33746 wxSize result;
33747 PyObject * obj0 = 0 ;
33748 char *kwnames[] = {
33749 (char *) "self", NULL
33750 };
33751
33752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33755 {
33756 PyThreadState* __tstate = wxPyBeginAllowThreads();
33757 result = (arg1)->GetSize();
33758
33759 wxPyEndAllowThreads(__tstate);
33760 if (PyErr_Occurred()) SWIG_fail;
33761 }
33762 {
33763 wxSize * resultptr;
33764 resultptr = new wxSize((wxSize &) result);
2f4c0a16 33765 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33766 }
33767 return resultobj;
33768 fail:
33769 return NULL;
33770}
33771
33772
2f4c0a16 33773static PyObject *_wrap_SizerItem_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33774 PyObject *resultobj;
33775 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33776 wxSize result;
33777 PyObject * obj0 = 0 ;
33778 char *kwnames[] = {
33779 (char *) "self", NULL
33780 };
33781
33782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33785 {
33786 PyThreadState* __tstate = wxPyBeginAllowThreads();
33787 result = (arg1)->CalcMin();
33788
33789 wxPyEndAllowThreads(__tstate);
33790 if (PyErr_Occurred()) SWIG_fail;
33791 }
33792 {
33793 wxSize * resultptr;
33794 resultptr = new wxSize((wxSize &) result);
2f4c0a16 33795 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33796 }
33797 return resultobj;
33798 fail:
33799 return NULL;
33800}
33801
33802
2f4c0a16 33803static PyObject *_wrap_SizerItem_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33804 PyObject *resultobj;
33805 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33806 wxPoint arg2 ;
33807 wxSize arg3 ;
33808 wxPoint *argp2 ;
33809 wxSize *argp3 ;
33810 PyObject * obj0 = 0 ;
33811 PyObject * obj1 = 0 ;
33812 PyObject * obj2 = 0 ;
33813 char *kwnames[] = {
33814 (char *) "self",(char *) "pos",(char *) "size", NULL
33815 };
33816
33817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
33818 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33819 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33820 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
33821 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33822 arg2 = *argp2;
33823 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
33824 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33825 arg3 = *argp3;
d14a1e28
RD
33826 {
33827 PyThreadState* __tstate = wxPyBeginAllowThreads();
33828 (arg1)->SetDimension(arg2,arg3);
33829
33830 wxPyEndAllowThreads(__tstate);
33831 if (PyErr_Occurred()) SWIG_fail;
33832 }
33833 Py_INCREF(Py_None); resultobj = Py_None;
33834 return resultobj;
33835 fail:
33836 return NULL;
33837}
33838
33839
2f4c0a16 33840static PyObject *_wrap_SizerItem_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33841 PyObject *resultobj;
33842 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33843 wxSize result;
33844 PyObject * obj0 = 0 ;
33845 char *kwnames[] = {
33846 (char *) "self", NULL
33847 };
33848
33849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33852 {
33853 PyThreadState* __tstate = wxPyBeginAllowThreads();
33854 result = (arg1)->GetMinSize();
33855
33856 wxPyEndAllowThreads(__tstate);
33857 if (PyErr_Occurred()) SWIG_fail;
33858 }
33859 {
33860 wxSize * resultptr;
33861 resultptr = new wxSize((wxSize &) result);
2f4c0a16 33862 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33863 }
33864 return resultobj;
33865 fail:
33866 return NULL;
33867}
33868
33869
2f4c0a16 33870static PyObject *_wrap_SizerItem_SetInitSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33871 PyObject *resultobj;
33872 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33873 int arg2 ;
33874 int arg3 ;
33875 PyObject * obj0 = 0 ;
8edf1c75
RD
33876 PyObject * obj1 = 0 ;
33877 PyObject * obj2 = 0 ;
d14a1e28
RD
33878 char *kwnames[] = {
33879 (char *) "self",(char *) "x",(char *) "y", NULL
33880 };
33881
8edf1c75 33882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
33883 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33884 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33885 arg2 = (int) SWIG_AsInt(obj1);
33886 if (PyErr_Occurred()) SWIG_fail;
33887 arg3 = (int) SWIG_AsInt(obj2);
33888 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33889 {
33890 PyThreadState* __tstate = wxPyBeginAllowThreads();
33891 (arg1)->SetInitSize(arg2,arg3);
33892
33893 wxPyEndAllowThreads(__tstate);
33894 if (PyErr_Occurred()) SWIG_fail;
33895 }
33896 Py_INCREF(Py_None); resultobj = Py_None;
33897 return resultobj;
33898 fail:
33899 return NULL;
33900}
33901
33902
2f4c0a16 33903static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33904 PyObject *resultobj;
33905 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33906 int arg2 ;
33907 int arg3 ;
33908 PyObject * obj0 = 0 ;
8edf1c75
RD
33909 PyObject * obj1 = 0 ;
33910 PyObject * obj2 = 0 ;
d14a1e28
RD
33911 char *kwnames[] = {
33912 (char *) "self",(char *) "width",(char *) "height", NULL
33913 };
33914
8edf1c75 33915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
33916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33918 arg2 = (int) SWIG_AsInt(obj1);
33919 if (PyErr_Occurred()) SWIG_fail;
33920 arg3 = (int) SWIG_AsInt(obj2);
33921 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33922 {
33923 PyThreadState* __tstate = wxPyBeginAllowThreads();
33924 (arg1)->SetRatio(arg2,arg3);
33925
33926 wxPyEndAllowThreads(__tstate);
33927 if (PyErr_Occurred()) SWIG_fail;
33928 }
33929 Py_INCREF(Py_None); resultobj = Py_None;
33930 return resultobj;
33931 fail:
33932 return NULL;
33933}
33934
33935
2f4c0a16 33936static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33937 PyObject *resultobj;
33938 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33939 wxSize arg2 ;
33940 wxSize *argp2 ;
33941 PyObject * obj0 = 0 ;
33942 PyObject * obj1 = 0 ;
33943 char *kwnames[] = {
33944 (char *) "self",(char *) "size", NULL
33945 };
33946
33947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33950 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
33951 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33952 arg2 = *argp2;
d14a1e28
RD
33953 {
33954 PyThreadState* __tstate = wxPyBeginAllowThreads();
33955 (arg1)->SetRatio(arg2);
33956
33957 wxPyEndAllowThreads(__tstate);
33958 if (PyErr_Occurred()) SWIG_fail;
33959 }
33960 Py_INCREF(Py_None); resultobj = Py_None;
33961 return resultobj;
33962 fail:
33963 return NULL;
33964}
33965
33966
2f4c0a16 33967static PyObject *_wrap_SizerItem_SetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33968 PyObject *resultobj;
33969 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33970 float arg2 ;
33971 PyObject * obj0 = 0 ;
8edf1c75 33972 PyObject * obj1 = 0 ;
d14a1e28
RD
33973 char *kwnames[] = {
33974 (char *) "self",(char *) "ratio", NULL
33975 };
33976
8edf1c75 33977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33980 arg2 = (float) SWIG_AsFloat(obj1);
33981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33982 {
33983 PyThreadState* __tstate = wxPyBeginAllowThreads();
33984 (arg1)->SetRatio(arg2);
33985
33986 wxPyEndAllowThreads(__tstate);
33987 if (PyErr_Occurred()) SWIG_fail;
33988 }
33989 Py_INCREF(Py_None); resultobj = Py_None;
33990 return resultobj;
33991 fail:
33992 return NULL;
33993}
33994
33995
2f4c0a16 33996static PyObject *_wrap_SizerItem_GetRatio(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
33997 PyObject *resultobj;
33998 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33999 float result;
34000 PyObject * obj0 = 0 ;
34001 char *kwnames[] = {
34002 (char *) "self", NULL
34003 };
34004
34005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34008 {
34009 PyThreadState* __tstate = wxPyBeginAllowThreads();
34010 result = (float)(arg1)->GetRatio();
34011
34012 wxPyEndAllowThreads(__tstate);
34013 if (PyErr_Occurred()) SWIG_fail;
34014 }
2f4c0a16 34015 resultobj = SWIG_FromFloat((float)result);
d14a1e28
RD
34016 return resultobj;
34017 fail:
34018 return NULL;
34019}
34020
34021
2f4c0a16 34022static PyObject *_wrap_SizerItem_IsWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34023 PyObject *resultobj;
34024 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34025 bool result;
34026 PyObject * obj0 = 0 ;
34027 char *kwnames[] = {
34028 (char *) "self", NULL
34029 };
34030
34031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34032 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34033 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34034 {
34035 PyThreadState* __tstate = wxPyBeginAllowThreads();
34036 result = (bool)(arg1)->IsWindow();
34037
34038 wxPyEndAllowThreads(__tstate);
34039 if (PyErr_Occurred()) SWIG_fail;
34040 }
fbc46b20
RD
34041 {
34042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34043 }
d14a1e28
RD
34044 return resultobj;
34045 fail:
34046 return NULL;
34047}
34048
34049
2f4c0a16 34050static PyObject *_wrap_SizerItem_IsSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34051 PyObject *resultobj;
34052 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34053 bool result;
34054 PyObject * obj0 = 0 ;
34055 char *kwnames[] = {
34056 (char *) "self", NULL
34057 };
34058
34059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34062 {
34063 PyThreadState* __tstate = wxPyBeginAllowThreads();
34064 result = (bool)(arg1)->IsSizer();
34065
34066 wxPyEndAllowThreads(__tstate);
34067 if (PyErr_Occurred()) SWIG_fail;
34068 }
fbc46b20
RD
34069 {
34070 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34071 }
d14a1e28
RD
34072 return resultobj;
34073 fail:
34074 return NULL;
34075}
34076
34077
2f4c0a16 34078static PyObject *_wrap_SizerItem_IsSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34079 PyObject *resultobj;
34080 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34081 bool result;
34082 PyObject * obj0 = 0 ;
34083 char *kwnames[] = {
34084 (char *) "self", NULL
34085 };
34086
34087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34088 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34089 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34090 {
34091 PyThreadState* __tstate = wxPyBeginAllowThreads();
34092 result = (bool)(arg1)->IsSpacer();
34093
34094 wxPyEndAllowThreads(__tstate);
34095 if (PyErr_Occurred()) SWIG_fail;
34096 }
fbc46b20
RD
34097 {
34098 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34099 }
d14a1e28
RD
34100 return resultobj;
34101 fail:
34102 return NULL;
34103}
34104
34105
2f4c0a16 34106static PyObject *_wrap_SizerItem_SetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34107 PyObject *resultobj;
34108 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34109 int arg2 ;
34110 PyObject * obj0 = 0 ;
8edf1c75 34111 PyObject * obj1 = 0 ;
d14a1e28
RD
34112 char *kwnames[] = {
34113 (char *) "self",(char *) "proportion", NULL
34114 };
34115
8edf1c75 34116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34119 arg2 = (int) SWIG_AsInt(obj1);
34120 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34121 {
34122 PyThreadState* __tstate = wxPyBeginAllowThreads();
34123 (arg1)->SetProportion(arg2);
34124
34125 wxPyEndAllowThreads(__tstate);
34126 if (PyErr_Occurred()) SWIG_fail;
34127 }
34128 Py_INCREF(Py_None); resultobj = Py_None;
34129 return resultobj;
34130 fail:
34131 return NULL;
34132}
34133
34134
2f4c0a16 34135static PyObject *_wrap_SizerItem_GetProportion(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34136 PyObject *resultobj;
34137 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34138 int result;
34139 PyObject * obj0 = 0 ;
34140 char *kwnames[] = {
34141 (char *) "self", NULL
34142 };
34143
34144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34147 {
34148 PyThreadState* __tstate = wxPyBeginAllowThreads();
34149 result = (int)(arg1)->GetProportion();
34150
34151 wxPyEndAllowThreads(__tstate);
34152 if (PyErr_Occurred()) SWIG_fail;
34153 }
2f4c0a16 34154 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34155 return resultobj;
34156 fail:
34157 return NULL;
34158}
34159
34160
2f4c0a16 34161static PyObject *_wrap_SizerItem_SetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34162 PyObject *resultobj;
34163 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34164 int arg2 ;
34165 PyObject * obj0 = 0 ;
8edf1c75 34166 PyObject * obj1 = 0 ;
d14a1e28
RD
34167 char *kwnames[] = {
34168 (char *) "self",(char *) "flag", NULL
34169 };
34170
8edf1c75 34171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34174 arg2 = (int) SWIG_AsInt(obj1);
34175 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34176 {
34177 PyThreadState* __tstate = wxPyBeginAllowThreads();
34178 (arg1)->SetFlag(arg2);
34179
34180 wxPyEndAllowThreads(__tstate);
34181 if (PyErr_Occurred()) SWIG_fail;
34182 }
34183 Py_INCREF(Py_None); resultobj = Py_None;
34184 return resultobj;
34185 fail:
34186 return NULL;
34187}
34188
34189
2f4c0a16 34190static PyObject *_wrap_SizerItem_GetFlag(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34191 PyObject *resultobj;
34192 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34193 int result;
34194 PyObject * obj0 = 0 ;
34195 char *kwnames[] = {
34196 (char *) "self", NULL
34197 };
34198
34199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34200 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34201 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34202 {
34203 PyThreadState* __tstate = wxPyBeginAllowThreads();
34204 result = (int)(arg1)->GetFlag();
34205
34206 wxPyEndAllowThreads(__tstate);
34207 if (PyErr_Occurred()) SWIG_fail;
34208 }
2f4c0a16 34209 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34210 return resultobj;
34211 fail:
34212 return NULL;
34213}
34214
34215
2f4c0a16 34216static PyObject *_wrap_SizerItem_SetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34217 PyObject *resultobj;
34218 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34219 int arg2 ;
34220 PyObject * obj0 = 0 ;
8edf1c75 34221 PyObject * obj1 = 0 ;
d14a1e28
RD
34222 char *kwnames[] = {
34223 (char *) "self",(char *) "border", NULL
34224 };
34225
8edf1c75 34226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34229 arg2 = (int) SWIG_AsInt(obj1);
34230 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34231 {
34232 PyThreadState* __tstate = wxPyBeginAllowThreads();
34233 (arg1)->SetBorder(arg2);
34234
34235 wxPyEndAllowThreads(__tstate);
34236 if (PyErr_Occurred()) SWIG_fail;
34237 }
34238 Py_INCREF(Py_None); resultobj = Py_None;
34239 return resultobj;
34240 fail:
34241 return NULL;
34242}
34243
34244
2f4c0a16 34245static PyObject *_wrap_SizerItem_GetBorder(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34246 PyObject *resultobj;
34247 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34248 int result;
34249 PyObject * obj0 = 0 ;
34250 char *kwnames[] = {
34251 (char *) "self", NULL
34252 };
34253
34254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34255 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34256 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34257 {
34258 PyThreadState* __tstate = wxPyBeginAllowThreads();
34259 result = (int)(arg1)->GetBorder();
34260
34261 wxPyEndAllowThreads(__tstate);
34262 if (PyErr_Occurred()) SWIG_fail;
34263 }
2f4c0a16 34264 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34265 return resultobj;
34266 fail:
34267 return NULL;
34268}
34269
34270
2f4c0a16 34271static PyObject *_wrap_SizerItem_GetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34272 PyObject *resultobj;
34273 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34274 wxWindow *result;
34275 PyObject * obj0 = 0 ;
34276 char *kwnames[] = {
34277 (char *) "self", NULL
34278 };
34279
34280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34283 {
34284 PyThreadState* __tstate = wxPyBeginAllowThreads();
34285 result = (wxWindow *)(arg1)->GetWindow();
34286
34287 wxPyEndAllowThreads(__tstate);
34288 if (PyErr_Occurred()) SWIG_fail;
34289 }
34290 {
34291 resultobj = wxPyMake_wxObject(result);
34292 }
34293 return resultobj;
34294 fail:
34295 return NULL;
34296}
34297
34298
2f4c0a16 34299static PyObject *_wrap_SizerItem_SetWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34300 PyObject *resultobj;
34301 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34302 wxWindow *arg2 = (wxWindow *) 0 ;
34303 PyObject * obj0 = 0 ;
34304 PyObject * obj1 = 0 ;
34305 char *kwnames[] = {
34306 (char *) "self",(char *) "window", NULL
34307 };
34308
34309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34310 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34311 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34312 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34314 {
34315 PyThreadState* __tstate = wxPyBeginAllowThreads();
34316 (arg1)->SetWindow(arg2);
34317
34318 wxPyEndAllowThreads(__tstate);
34319 if (PyErr_Occurred()) SWIG_fail;
34320 }
34321 Py_INCREF(Py_None); resultobj = Py_None;
34322 return resultobj;
34323 fail:
34324 return NULL;
34325}
34326
34327
2f4c0a16 34328static PyObject *_wrap_SizerItem_GetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34329 PyObject *resultobj;
34330 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34331 wxSizer *result;
34332 PyObject * obj0 = 0 ;
34333 char *kwnames[] = {
34334 (char *) "self", NULL
34335 };
34336
34337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34340 {
34341 PyThreadState* __tstate = wxPyBeginAllowThreads();
34342 result = (wxSizer *)(arg1)->GetSizer();
34343
34344 wxPyEndAllowThreads(__tstate);
34345 if (PyErr_Occurred()) SWIG_fail;
34346 }
34347 {
34348 resultobj = wxPyMake_wxSizer(result);
34349 }
34350 return resultobj;
34351 fail:
34352 return NULL;
34353}
34354
34355
2f4c0a16 34356static PyObject *_wrap_SizerItem_SetSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34357 PyObject *resultobj;
34358 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34359 wxSizer *arg2 = (wxSizer *) 0 ;
34360 PyObject * obj0 = 0 ;
34361 PyObject * obj1 = 0 ;
34362 char *kwnames[] = {
34363 (char *) "self",(char *) "sizer", NULL
34364 };
34365
34366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34369 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
34370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34371 {
34372 PyThreadState* __tstate = wxPyBeginAllowThreads();
34373 (arg1)->SetSizer(arg2);
34374
34375 wxPyEndAllowThreads(__tstate);
34376 if (PyErr_Occurred()) SWIG_fail;
34377 }
34378 Py_INCREF(Py_None); resultobj = Py_None;
34379 return resultobj;
34380 fail:
34381 return NULL;
34382}
34383
34384
2f4c0a16 34385static PyObject *_wrap_SizerItem_GetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34386 PyObject *resultobj;
34387 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34388 wxSize *result;
34389 PyObject * obj0 = 0 ;
34390 char *kwnames[] = {
34391 (char *) "self", NULL
34392 };
34393
34394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34397 {
34398 PyThreadState* __tstate = wxPyBeginAllowThreads();
34399 {
34400 wxSize const &_result_ref = (arg1)->GetSpacer();
34401 result = (wxSize *) &_result_ref;
34402 }
34403
34404 wxPyEndAllowThreads(__tstate);
34405 if (PyErr_Occurred()) SWIG_fail;
34406 }
2f4c0a16 34407 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
34408 return resultobj;
34409 fail:
34410 return NULL;
34411}
34412
34413
2f4c0a16 34414static PyObject *_wrap_SizerItem_SetSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34415 PyObject *resultobj;
34416 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34417 wxSize *arg2 = 0 ;
34418 wxSize temp2 ;
34419 PyObject * obj0 = 0 ;
34420 PyObject * obj1 = 0 ;
34421 char *kwnames[] = {
34422 (char *) "self",(char *) "size", NULL
34423 };
34424
34425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34426 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34427 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34428 {
34429 arg2 = &temp2;
34430 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34431 }
34432 {
34433 PyThreadState* __tstate = wxPyBeginAllowThreads();
34434 (arg1)->SetSpacer((wxSize const &)*arg2);
34435
34436 wxPyEndAllowThreads(__tstate);
34437 if (PyErr_Occurred()) SWIG_fail;
34438 }
34439 Py_INCREF(Py_None); resultobj = Py_None;
34440 return resultobj;
34441 fail:
34442 return NULL;
34443}
34444
34445
2f4c0a16 34446static PyObject *_wrap_SizerItem_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34447 PyObject *resultobj;
34448 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34449 bool arg2 ;
34450 PyObject * obj0 = 0 ;
34451 PyObject * obj1 = 0 ;
34452 char *kwnames[] = {
34453 (char *) "self",(char *) "show", NULL
34454 };
34455
34456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34459 arg2 = (bool) SWIG_AsBool(obj1);
34460 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34461 {
34462 PyThreadState* __tstate = wxPyBeginAllowThreads();
34463 (arg1)->Show(arg2);
34464
34465 wxPyEndAllowThreads(__tstate);
34466 if (PyErr_Occurred()) SWIG_fail;
34467 }
34468 Py_INCREF(Py_None); resultobj = Py_None;
34469 return resultobj;
34470 fail:
34471 return NULL;
34472}
34473
34474
2f4c0a16 34475static PyObject *_wrap_SizerItem_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34476 PyObject *resultobj;
34477 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34478 bool result;
34479 PyObject * obj0 = 0 ;
34480 char *kwnames[] = {
34481 (char *) "self", NULL
34482 };
34483
34484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34487 {
34488 PyThreadState* __tstate = wxPyBeginAllowThreads();
34489 result = (bool)(arg1)->IsShown();
34490
34491 wxPyEndAllowThreads(__tstate);
34492 if (PyErr_Occurred()) SWIG_fail;
34493 }
fbc46b20
RD
34494 {
34495 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34496 }
d14a1e28
RD
34497 return resultobj;
34498 fail:
34499 return NULL;
34500}
34501
34502
2f4c0a16 34503static PyObject *_wrap_SizerItem_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34504 PyObject *resultobj;
34505 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34506 wxPoint result;
34507 PyObject * obj0 = 0 ;
34508 char *kwnames[] = {
34509 (char *) "self", NULL
34510 };
34511
34512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34515 {
34516 PyThreadState* __tstate = wxPyBeginAllowThreads();
34517 result = (arg1)->GetPosition();
34518
34519 wxPyEndAllowThreads(__tstate);
34520 if (PyErr_Occurred()) SWIG_fail;
34521 }
34522 {
34523 wxPoint * resultptr;
34524 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 34525 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
34526 }
34527 return resultobj;
34528 fail:
34529 return NULL;
34530}
34531
34532
2f4c0a16 34533static PyObject *_wrap_SizerItem_GetUserData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34534 PyObject *resultobj;
34535 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
34536 PyObject *result;
34537 PyObject * obj0 = 0 ;
34538 char *kwnames[] = {
34539 (char *) "self", NULL
34540 };
34541
34542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
34544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34545 {
34546 PyThreadState* __tstate = wxPyBeginAllowThreads();
34547 result = (PyObject *)wxSizerItem_GetUserData(arg1);
34548
34549 wxPyEndAllowThreads(__tstate);
34550 if (PyErr_Occurred()) SWIG_fail;
34551 }
34552 resultobj = result;
34553 return resultobj;
34554 fail:
34555 return NULL;
34556}
34557
34558
2f4c0a16 34559static PyObject * SizerItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
34560 PyObject *obj;
34561 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34562 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
34563 Py_INCREF(obj);
34564 return Py_BuildValue((char *)"");
34565}
2f4c0a16 34566static PyObject *_wrap_Sizer__setOORInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34567 PyObject *resultobj;
34568 wxSizer *arg1 = (wxSizer *) 0 ;
34569 PyObject *arg2 = (PyObject *) 0 ;
34570 PyObject * obj0 = 0 ;
34571 PyObject * obj1 = 0 ;
34572 char *kwnames[] = {
34573 (char *) "self",(char *) "_self", NULL
34574 };
34575
34576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34577 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34578 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34579 arg2 = obj1;
34580 {
34581 PyThreadState* __tstate = wxPyBeginAllowThreads();
34582 wxSizer__setOORInfo(arg1,arg2);
34583
34584 wxPyEndAllowThreads(__tstate);
34585 if (PyErr_Occurred()) SWIG_fail;
34586 }
34587 Py_INCREF(Py_None); resultobj = Py_None;
34588 return resultobj;
34589 fail:
34590 return NULL;
34591}
34592
34593
2f4c0a16 34594static PyObject *_wrap_Sizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34595 PyObject *resultobj;
34596 wxSizer *arg1 = (wxSizer *) 0 ;
34597 PyObject *arg2 = (PyObject *) 0 ;
34598 int arg3 = (int) 0 ;
34599 int arg4 = (int) 0 ;
34600 int arg5 = (int) 0 ;
34601 PyObject *arg6 = (PyObject *) NULL ;
34602 PyObject * obj0 = 0 ;
34603 PyObject * obj1 = 0 ;
8edf1c75
RD
34604 PyObject * obj2 = 0 ;
34605 PyObject * obj3 = 0 ;
34606 PyObject * obj4 = 0 ;
d14a1e28
RD
34607 PyObject * obj5 = 0 ;
34608 char *kwnames[] = {
34609 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34610 };
34611
8edf1c75 34612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
34613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34615 arg2 = obj1;
8edf1c75 34616 if (obj2) {
2f4c0a16
RD
34617 arg3 = (int) SWIG_AsInt(obj2);
34618 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34619 }
34620 if (obj3) {
2f4c0a16
RD
34621 arg4 = (int) SWIG_AsInt(obj3);
34622 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34623 }
34624 if (obj4) {
2f4c0a16
RD
34625 arg5 = (int) SWIG_AsInt(obj4);
34626 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34627 }
d14a1e28
RD
34628 if (obj5) {
34629 arg6 = obj5;
34630 }
34631 {
34632 PyThreadState* __tstate = wxPyBeginAllowThreads();
34633 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
34634
34635 wxPyEndAllowThreads(__tstate);
34636 if (PyErr_Occurred()) SWIG_fail;
34637 }
34638 Py_INCREF(Py_None); resultobj = Py_None;
34639 return resultobj;
34640 fail:
34641 return NULL;
34642}
34643
34644
2f4c0a16 34645static PyObject *_wrap_Sizer_Insert(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34646 PyObject *resultobj;
34647 wxSizer *arg1 = (wxSizer *) 0 ;
34648 int arg2 ;
34649 PyObject *arg3 = (PyObject *) 0 ;
34650 int arg4 = (int) 0 ;
34651 int arg5 = (int) 0 ;
34652 int arg6 = (int) 0 ;
34653 PyObject *arg7 = (PyObject *) NULL ;
34654 PyObject * obj0 = 0 ;
8edf1c75 34655 PyObject * obj1 = 0 ;
d14a1e28 34656 PyObject * obj2 = 0 ;
8edf1c75
RD
34657 PyObject * obj3 = 0 ;
34658 PyObject * obj4 = 0 ;
34659 PyObject * obj5 = 0 ;
d14a1e28
RD
34660 PyObject * obj6 = 0 ;
34661 char *kwnames[] = {
34662 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34663 };
34664
8edf1c75 34665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
34666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34668 arg2 = (int) SWIG_AsInt(obj1);
34669 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 34670 arg3 = obj2;
8edf1c75 34671 if (obj3) {
2f4c0a16
RD
34672 arg4 = (int) SWIG_AsInt(obj3);
34673 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34674 }
34675 if (obj4) {
2f4c0a16
RD
34676 arg5 = (int) SWIG_AsInt(obj4);
34677 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34678 }
34679 if (obj5) {
2f4c0a16
RD
34680 arg6 = (int) SWIG_AsInt(obj5);
34681 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34682 }
d14a1e28
RD
34683 if (obj6) {
34684 arg7 = obj6;
34685 }
34686 {
34687 PyThreadState* __tstate = wxPyBeginAllowThreads();
34688 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
34689
34690 wxPyEndAllowThreads(__tstate);
34691 if (PyErr_Occurred()) SWIG_fail;
34692 }
34693 Py_INCREF(Py_None); resultobj = Py_None;
34694 return resultobj;
34695 fail:
34696 return NULL;
34697}
34698
34699
2f4c0a16 34700static PyObject *_wrap_Sizer_Prepend(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34701 PyObject *resultobj;
34702 wxSizer *arg1 = (wxSizer *) 0 ;
34703 PyObject *arg2 = (PyObject *) 0 ;
34704 int arg3 = (int) 0 ;
34705 int arg4 = (int) 0 ;
34706 int arg5 = (int) 0 ;
34707 PyObject *arg6 = (PyObject *) NULL ;
34708 PyObject * obj0 = 0 ;
34709 PyObject * obj1 = 0 ;
8edf1c75
RD
34710 PyObject * obj2 = 0 ;
34711 PyObject * obj3 = 0 ;
34712 PyObject * obj4 = 0 ;
d14a1e28
RD
34713 PyObject * obj5 = 0 ;
34714 char *kwnames[] = {
34715 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34716 };
34717
8edf1c75 34718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
34719 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34720 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34721 arg2 = obj1;
8edf1c75 34722 if (obj2) {
2f4c0a16
RD
34723 arg3 = (int) SWIG_AsInt(obj2);
34724 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34725 }
34726 if (obj3) {
2f4c0a16
RD
34727 arg4 = (int) SWIG_AsInt(obj3);
34728 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34729 }
34730 if (obj4) {
2f4c0a16
RD
34731 arg5 = (int) SWIG_AsInt(obj4);
34732 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34733 }
d14a1e28
RD
34734 if (obj5) {
34735 arg6 = obj5;
34736 }
34737 {
34738 PyThreadState* __tstate = wxPyBeginAllowThreads();
34739 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
34740
34741 wxPyEndAllowThreads(__tstate);
34742 if (PyErr_Occurred()) SWIG_fail;
34743 }
34744 Py_INCREF(Py_None); resultobj = Py_None;
34745 return resultobj;
34746 fail:
34747 return NULL;
34748}
34749
34750
2f4c0a16 34751static PyObject *_wrap_Sizer_Remove(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34752 PyObject *resultobj;
34753 wxSizer *arg1 = (wxSizer *) 0 ;
34754 PyObject *arg2 = (PyObject *) 0 ;
34755 bool result;
34756 PyObject * obj0 = 0 ;
34757 PyObject * obj1 = 0 ;
34758 char *kwnames[] = {
34759 (char *) "self",(char *) "item", NULL
34760 };
34761
34762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34763 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34764 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34765 arg2 = obj1;
34766 {
34767 PyThreadState* __tstate = wxPyBeginAllowThreads();
34768 result = (bool)wxSizer_Remove(arg1,arg2);
34769
34770 wxPyEndAllowThreads(__tstate);
34771 if (PyErr_Occurred()) SWIG_fail;
34772 }
fbc46b20
RD
34773 {
34774 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
34775 }
d14a1e28
RD
34776 return resultobj;
34777 fail:
34778 return NULL;
34779}
34780
34781
2f4c0a16 34782static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34783 PyObject *resultobj;
34784 wxSizer *arg1 = (wxSizer *) 0 ;
34785 PyObject *arg2 = (PyObject *) 0 ;
423f194a
RD
34786 wxSize *arg3 = 0 ;
34787 wxSize temp3 ;
d14a1e28
RD
34788 PyObject * obj0 = 0 ;
34789 PyObject * obj1 = 0 ;
34790 PyObject * obj2 = 0 ;
34791 char *kwnames[] = {
34792 (char *) "self",(char *) "item",(char *) "size", NULL
34793 };
34794
34795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34796 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34797 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34798 arg2 = obj1;
423f194a
RD
34799 {
34800 arg3 = &temp3;
34801 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
34802 }
d14a1e28
RD
34803 {
34804 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 34805 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
34806
34807 wxPyEndAllowThreads(__tstate);
34808 if (PyErr_Occurred()) SWIG_fail;
34809 }
34810 Py_INCREF(Py_None); resultobj = Py_None;
34811 return resultobj;
34812 fail:
34813 return NULL;
34814}
34815
34816
2f4c0a16 34817static PyObject *_wrap_Sizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34818 PyObject *resultobj;
34819 wxSizer *arg1 = (wxSizer *) 0 ;
34820 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
34821 PyObject * obj0 = 0 ;
34822 PyObject * obj1 = 0 ;
34823 char *kwnames[] = {
34824 (char *) "self",(char *) "item", NULL
34825 };
34826
34827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34830 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
34831 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34832 {
34833 PyThreadState* __tstate = wxPyBeginAllowThreads();
34834 (arg1)->Add(arg2);
34835
34836 wxPyEndAllowThreads(__tstate);
34837 if (PyErr_Occurred()) SWIG_fail;
34838 }
34839 Py_INCREF(Py_None); resultobj = Py_None;
34840 return resultobj;
34841 fail:
34842 return NULL;
34843}
34844
34845
2f4c0a16 34846static PyObject *_wrap_Sizer_InsertItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34847 PyObject *resultobj;
34848 wxSizer *arg1 = (wxSizer *) 0 ;
34849 size_t arg2 ;
34850 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
34851 PyObject * obj0 = 0 ;
34852 PyObject * obj1 = 0 ;
34853 PyObject * obj2 = 0 ;
34854 char *kwnames[] = {
34855 (char *) "self",(char *) "index",(char *) "item", NULL
34856 };
34857
34858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34859 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34860 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34861 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
34862 if (PyErr_Occurred()) SWIG_fail;
34863 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
34864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34865 {
34866 PyThreadState* __tstate = wxPyBeginAllowThreads();
34867 (arg1)->Insert(arg2,arg3);
34868
34869 wxPyEndAllowThreads(__tstate);
34870 if (PyErr_Occurred()) SWIG_fail;
34871 }
34872 Py_INCREF(Py_None); resultobj = Py_None;
34873 return resultobj;
34874 fail:
34875 return NULL;
34876}
34877
34878
2f4c0a16 34879static PyObject *_wrap_Sizer_PrependItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34880 PyObject *resultobj;
34881 wxSizer *arg1 = (wxSizer *) 0 ;
34882 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
34883 PyObject * obj0 = 0 ;
34884 PyObject * obj1 = 0 ;
34885 char *kwnames[] = {
34886 (char *) "self",(char *) "item", NULL
34887 };
34888
34889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34892 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
34893 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34894 {
34895 PyThreadState* __tstate = wxPyBeginAllowThreads();
34896 (arg1)->Prepend(arg2);
34897
34898 wxPyEndAllowThreads(__tstate);
34899 if (PyErr_Occurred()) SWIG_fail;
34900 }
34901 Py_INCREF(Py_None); resultobj = Py_None;
34902 return resultobj;
34903 fail:
34904 return NULL;
34905}
34906
34907
2f4c0a16 34908static PyObject *_wrap_Sizer_SetDimension(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34909 PyObject *resultobj;
34910 wxSizer *arg1 = (wxSizer *) 0 ;
34911 int arg2 ;
34912 int arg3 ;
34913 int arg4 ;
34914 int arg5 ;
34915 PyObject * obj0 = 0 ;
8edf1c75
RD
34916 PyObject * obj1 = 0 ;
34917 PyObject * obj2 = 0 ;
34918 PyObject * obj3 = 0 ;
34919 PyObject * obj4 = 0 ;
d14a1e28
RD
34920 char *kwnames[] = {
34921 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34922 };
34923
8edf1c75 34924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
34925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34927 arg2 = (int) SWIG_AsInt(obj1);
34928 if (PyErr_Occurred()) SWIG_fail;
34929 arg3 = (int) SWIG_AsInt(obj2);
34930 if (PyErr_Occurred()) SWIG_fail;
34931 arg4 = (int) SWIG_AsInt(obj3);
34932 if (PyErr_Occurred()) SWIG_fail;
34933 arg5 = (int) SWIG_AsInt(obj4);
34934 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34935 {
34936 PyThreadState* __tstate = wxPyBeginAllowThreads();
34937 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
34938
34939 wxPyEndAllowThreads(__tstate);
34940 if (PyErr_Occurred()) SWIG_fail;
34941 }
34942 Py_INCREF(Py_None); resultobj = Py_None;
34943 return resultobj;
34944 fail:
34945 return NULL;
34946}
34947
34948
2f4c0a16 34949static PyObject *_wrap_Sizer_SetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34950 PyObject *resultobj;
34951 wxSizer *arg1 = (wxSizer *) 0 ;
41f1cec7
RD
34952 wxSize *arg2 = 0 ;
34953 wxSize temp2 ;
d14a1e28
RD
34954 PyObject * obj0 = 0 ;
34955 PyObject * obj1 = 0 ;
34956 char *kwnames[] = {
34957 (char *) "self",(char *) "size", NULL
34958 };
34959
34960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
34963 {
34964 arg2 = &temp2;
34965 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34966 }
d14a1e28
RD
34967 {
34968 PyThreadState* __tstate = wxPyBeginAllowThreads();
41f1cec7 34969 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
34970
34971 wxPyEndAllowThreads(__tstate);
34972 if (PyErr_Occurred()) SWIG_fail;
34973 }
34974 Py_INCREF(Py_None); resultobj = Py_None;
34975 return resultobj;
34976 fail:
34977 return NULL;
34978}
34979
34980
2f4c0a16 34981static PyObject *_wrap_Sizer_GetSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
34982 PyObject *resultobj;
34983 wxSizer *arg1 = (wxSizer *) 0 ;
34984 wxSize result;
34985 PyObject * obj0 = 0 ;
34986 char *kwnames[] = {
34987 (char *) "self", NULL
34988 };
34989
34990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34993 {
34994 PyThreadState* __tstate = wxPyBeginAllowThreads();
34995 result = (arg1)->GetSize();
34996
34997 wxPyEndAllowThreads(__tstate);
34998 if (PyErr_Occurred()) SWIG_fail;
34999 }
35000 {
35001 wxSize * resultptr;
35002 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35003 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35004 }
35005 return resultobj;
35006 fail:
35007 return NULL;
35008}
35009
35010
2f4c0a16 35011static PyObject *_wrap_Sizer_GetPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35012 PyObject *resultobj;
35013 wxSizer *arg1 = (wxSizer *) 0 ;
35014 wxPoint result;
35015 PyObject * obj0 = 0 ;
35016 char *kwnames[] = {
35017 (char *) "self", NULL
35018 };
35019
35020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35023 {
35024 PyThreadState* __tstate = wxPyBeginAllowThreads();
35025 result = (arg1)->GetPosition();
35026
35027 wxPyEndAllowThreads(__tstate);
35028 if (PyErr_Occurred()) SWIG_fail;
35029 }
35030 {
35031 wxPoint * resultptr;
35032 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 35033 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
35034 }
35035 return resultobj;
35036 fail:
35037 return NULL;
35038}
35039
35040
2f4c0a16 35041static PyObject *_wrap_Sizer_GetMinSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35042 PyObject *resultobj;
35043 wxSizer *arg1 = (wxSizer *) 0 ;
35044 wxSize result;
35045 PyObject * obj0 = 0 ;
35046 char *kwnames[] = {
35047 (char *) "self", NULL
35048 };
35049
35050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35053 {
35054 PyThreadState* __tstate = wxPyBeginAllowThreads();
35055 result = (arg1)->GetMinSize();
35056
35057 wxPyEndAllowThreads(__tstate);
35058 if (PyErr_Occurred()) SWIG_fail;
35059 }
35060 {
35061 wxSize * resultptr;
35062 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35063 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35064 }
35065 return resultobj;
35066 fail:
35067 return NULL;
35068}
35069
35070
2f4c0a16 35071static PyObject *_wrap_Sizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35072 PyObject *resultobj;
35073 wxSizer *arg1 = (wxSizer *) 0 ;
35074 PyObject * obj0 = 0 ;
35075 char *kwnames[] = {
35076 (char *) "self", NULL
35077 };
35078
35079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35082 {
35083 PyThreadState* __tstate = wxPyBeginAllowThreads();
35084 (arg1)->RecalcSizes();
35085
35086 wxPyEndAllowThreads(__tstate);
35087 if (PyErr_Occurred()) SWIG_fail;
35088 }
35089 Py_INCREF(Py_None); resultobj = Py_None;
35090 return resultobj;
35091 fail:
35092 return NULL;
35093}
35094
35095
2f4c0a16 35096static PyObject *_wrap_Sizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35097 PyObject *resultobj;
35098 wxSizer *arg1 = (wxSizer *) 0 ;
35099 wxSize result;
35100 PyObject * obj0 = 0 ;
35101 char *kwnames[] = {
35102 (char *) "self", NULL
35103 };
35104
35105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35108 {
35109 PyThreadState* __tstate = wxPyBeginAllowThreads();
35110 result = (arg1)->CalcMin();
35111
35112 wxPyEndAllowThreads(__tstate);
35113 if (PyErr_Occurred()) SWIG_fail;
35114 }
35115 {
35116 wxSize * resultptr;
35117 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35118 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35119 }
35120 return resultobj;
35121 fail:
35122 return NULL;
35123}
35124
35125
2f4c0a16 35126static PyObject *_wrap_Sizer_Layout(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35127 PyObject *resultobj;
35128 wxSizer *arg1 = (wxSizer *) 0 ;
35129 PyObject * obj0 = 0 ;
35130 char *kwnames[] = {
35131 (char *) "self", NULL
35132 };
35133
35134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35137 {
35138 PyThreadState* __tstate = wxPyBeginAllowThreads();
35139 (arg1)->Layout();
35140
35141 wxPyEndAllowThreads(__tstate);
35142 if (PyErr_Occurred()) SWIG_fail;
35143 }
35144 Py_INCREF(Py_None); resultobj = Py_None;
35145 return resultobj;
35146 fail:
35147 return NULL;
35148}
35149
35150
2f4c0a16 35151static PyObject *_wrap_Sizer_Fit(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35152 PyObject *resultobj;
35153 wxSizer *arg1 = (wxSizer *) 0 ;
35154 wxWindow *arg2 = (wxWindow *) 0 ;
35155 wxSize result;
35156 PyObject * obj0 = 0 ;
35157 PyObject * obj1 = 0 ;
35158 char *kwnames[] = {
35159 (char *) "self",(char *) "window", NULL
35160 };
35161
35162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35163 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35164 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35165 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35167 {
35168 PyThreadState* __tstate = wxPyBeginAllowThreads();
35169 result = (arg1)->Fit(arg2);
35170
35171 wxPyEndAllowThreads(__tstate);
35172 if (PyErr_Occurred()) SWIG_fail;
35173 }
35174 {
35175 wxSize * resultptr;
35176 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35178 }
35179 return resultobj;
35180 fail:
35181 return NULL;
35182}
35183
35184
2f4c0a16 35185static PyObject *_wrap_Sizer_FitInside(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35186 PyObject *resultobj;
35187 wxSizer *arg1 = (wxSizer *) 0 ;
35188 wxWindow *arg2 = (wxWindow *) 0 ;
35189 PyObject * obj0 = 0 ;
35190 PyObject * obj1 = 0 ;
35191 char *kwnames[] = {
35192 (char *) "self",(char *) "window", NULL
35193 };
35194
35195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35196 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35197 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35198 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35200 {
35201 PyThreadState* __tstate = wxPyBeginAllowThreads();
35202 (arg1)->FitInside(arg2);
35203
35204 wxPyEndAllowThreads(__tstate);
35205 if (PyErr_Occurred()) SWIG_fail;
35206 }
35207 Py_INCREF(Py_None); resultobj = Py_None;
35208 return resultobj;
35209 fail:
35210 return NULL;
35211}
35212
35213
2f4c0a16 35214static PyObject *_wrap_Sizer_SetSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35215 PyObject *resultobj;
35216 wxSizer *arg1 = (wxSizer *) 0 ;
35217 wxWindow *arg2 = (wxWindow *) 0 ;
35218 PyObject * obj0 = 0 ;
35219 PyObject * obj1 = 0 ;
35220 char *kwnames[] = {
35221 (char *) "self",(char *) "window", NULL
35222 };
35223
35224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35227 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35229 {
35230 PyThreadState* __tstate = wxPyBeginAllowThreads();
35231 (arg1)->SetSizeHints(arg2);
35232
35233 wxPyEndAllowThreads(__tstate);
35234 if (PyErr_Occurred()) SWIG_fail;
35235 }
35236 Py_INCREF(Py_None); resultobj = Py_None;
35237 return resultobj;
35238 fail:
35239 return NULL;
35240}
35241
35242
2f4c0a16 35243static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35244 PyObject *resultobj;
35245 wxSizer *arg1 = (wxSizer *) 0 ;
35246 wxWindow *arg2 = (wxWindow *) 0 ;
35247 PyObject * obj0 = 0 ;
35248 PyObject * obj1 = 0 ;
35249 char *kwnames[] = {
35250 (char *) "self",(char *) "window", NULL
35251 };
35252
35253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35256 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
35257 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35258 {
35259 PyThreadState* __tstate = wxPyBeginAllowThreads();
35260 (arg1)->SetVirtualSizeHints(arg2);
35261
35262 wxPyEndAllowThreads(__tstate);
35263 if (PyErr_Occurred()) SWIG_fail;
35264 }
35265 Py_INCREF(Py_None); resultobj = Py_None;
35266 return resultobj;
35267 fail:
35268 return NULL;
35269}
35270
35271
2f4c0a16 35272static PyObject *_wrap_Sizer_Clear(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35273 PyObject *resultobj;
35274 wxSizer *arg1 = (wxSizer *) 0 ;
423f194a 35275 bool arg2 = (bool) False ;
d14a1e28
RD
35276 PyObject * obj0 = 0 ;
35277 PyObject * obj1 = 0 ;
35278 char *kwnames[] = {
35279 (char *) "self",(char *) "delete_windows", NULL
35280 };
35281
35282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 35285 if (obj1) {
2f4c0a16
RD
35286 arg2 = (bool) SWIG_AsBool(obj1);
35287 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35288 }
35289 {
35290 PyThreadState* __tstate = wxPyBeginAllowThreads();
35291 (arg1)->Clear(arg2);
35292
35293 wxPyEndAllowThreads(__tstate);
35294 if (PyErr_Occurred()) SWIG_fail;
35295 }
35296 Py_INCREF(Py_None); resultobj = Py_None;
35297 return resultobj;
35298 fail:
35299 return NULL;
35300}
35301
35302
2f4c0a16 35303static PyObject *_wrap_Sizer_DeleteWindows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35304 PyObject *resultobj;
35305 wxSizer *arg1 = (wxSizer *) 0 ;
35306 PyObject * obj0 = 0 ;
35307 char *kwnames[] = {
35308 (char *) "self", NULL
35309 };
35310
35311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35312 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35313 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35314 {
35315 PyThreadState* __tstate = wxPyBeginAllowThreads();
35316 (arg1)->DeleteWindows();
35317
35318 wxPyEndAllowThreads(__tstate);
35319 if (PyErr_Occurred()) SWIG_fail;
35320 }
35321 Py_INCREF(Py_None); resultobj = Py_None;
35322 return resultobj;
35323 fail:
35324 return NULL;
35325}
35326
35327
2f4c0a16 35328static PyObject *_wrap_Sizer_GetChildren(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35329 PyObject *resultobj;
35330 wxSizer *arg1 = (wxSizer *) 0 ;
35331 PyObject *result;
35332 PyObject * obj0 = 0 ;
35333 char *kwnames[] = {
35334 (char *) "self", NULL
35335 };
35336
35337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35340 {
35341 PyThreadState* __tstate = wxPyBeginAllowThreads();
35342 result = (PyObject *)wxSizer_GetChildren(arg1);
35343
35344 wxPyEndAllowThreads(__tstate);
35345 if (PyErr_Occurred()) SWIG_fail;
35346 }
35347 resultobj = result;
35348 return resultobj;
35349 fail:
35350 return NULL;
35351}
35352
35353
2f4c0a16 35354static PyObject *_wrap_Sizer_Show(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35355 PyObject *resultobj;
35356 wxSizer *arg1 = (wxSizer *) 0 ;
35357 PyObject *arg2 = (PyObject *) 0 ;
423f194a 35358 bool arg3 = (bool) True ;
d14a1e28
RD
35359 PyObject * obj0 = 0 ;
35360 PyObject * obj1 = 0 ;
35361 PyObject * obj2 = 0 ;
35362 char *kwnames[] = {
35363 (char *) "self",(char *) "item",(char *) "show", NULL
35364 };
35365
35366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
35367 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35368 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35369 arg2 = obj1;
35370 if (obj2) {
2f4c0a16
RD
35371 arg3 = (bool) SWIG_AsBool(obj2);
35372 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35373 }
35374 {
35375 PyThreadState* __tstate = wxPyBeginAllowThreads();
35376 wxSizer_Show(arg1,arg2,arg3);
35377
35378 wxPyEndAllowThreads(__tstate);
35379 if (PyErr_Occurred()) SWIG_fail;
35380 }
35381 Py_INCREF(Py_None); resultobj = Py_None;
35382 return resultobj;
35383 fail:
35384 return NULL;
35385}
35386
35387
2f4c0a16 35388static PyObject *_wrap_Sizer_Hide(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35389 PyObject *resultobj;
35390 wxSizer *arg1 = (wxSizer *) 0 ;
35391 PyObject *arg2 = (PyObject *) 0 ;
35392 PyObject * obj0 = 0 ;
35393 PyObject * obj1 = 0 ;
35394 char *kwnames[] = {
35395 (char *) "self",(char *) "item", NULL
35396 };
35397
35398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35399 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35400 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35401 arg2 = obj1;
35402 {
35403 PyThreadState* __tstate = wxPyBeginAllowThreads();
35404 wxSizer_Hide(arg1,arg2);
35405
35406 wxPyEndAllowThreads(__tstate);
35407 if (PyErr_Occurred()) SWIG_fail;
35408 }
35409 Py_INCREF(Py_None); resultobj = Py_None;
35410 return resultobj;
35411 fail:
35412 return NULL;
35413}
35414
35415
2f4c0a16 35416static PyObject *_wrap_Sizer_IsShown(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35417 PyObject *resultobj;
35418 wxSizer *arg1 = (wxSizer *) 0 ;
35419 PyObject *arg2 = (PyObject *) 0 ;
35420 bool result;
35421 PyObject * obj0 = 0 ;
35422 PyObject * obj1 = 0 ;
35423 char *kwnames[] = {
35424 (char *) "self",(char *) "item", NULL
35425 };
35426
35427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35430 arg2 = obj1;
35431 {
35432 PyThreadState* __tstate = wxPyBeginAllowThreads();
35433 result = (bool)wxSizer_IsShown(arg1,arg2);
35434
35435 wxPyEndAllowThreads(__tstate);
35436 if (PyErr_Occurred()) SWIG_fail;
35437 }
fbc46b20
RD
35438 {
35439 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
35440 }
d14a1e28
RD
35441 return resultobj;
35442 fail:
35443 return NULL;
35444}
35445
35446
2f4c0a16 35447static PyObject *_wrap_Sizer_ShowItems(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35448 PyObject *resultobj;
35449 wxSizer *arg1 = (wxSizer *) 0 ;
35450 bool arg2 ;
35451 PyObject * obj0 = 0 ;
35452 PyObject * obj1 = 0 ;
35453 char *kwnames[] = {
35454 (char *) "self",(char *) "show", NULL
35455 };
35456
35457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
35459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35460 arg2 = (bool) SWIG_AsBool(obj1);
35461 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35462 {
35463 PyThreadState* __tstate = wxPyBeginAllowThreads();
35464 (arg1)->ShowItems(arg2);
35465
35466 wxPyEndAllowThreads(__tstate);
35467 if (PyErr_Occurred()) SWIG_fail;
35468 }
35469 Py_INCREF(Py_None); resultobj = Py_None;
35470 return resultobj;
35471 fail:
35472 return NULL;
35473}
35474
35475
2f4c0a16 35476static PyObject * Sizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
35477 PyObject *obj;
35478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35479 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
35480 Py_INCREF(obj);
35481 return Py_BuildValue((char *)"");
35482}
2f4c0a16 35483static PyObject *_wrap_new_PySizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35484 PyObject *resultobj;
35485 wxPySizer *result;
35486 char *kwnames[] = {
35487 NULL
35488 };
35489
35490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
35491 {
35492 PyThreadState* __tstate = wxPyBeginAllowThreads();
35493 result = (wxPySizer *)new wxPySizer();
35494
35495 wxPyEndAllowThreads(__tstate);
35496 if (PyErr_Occurred()) SWIG_fail;
35497 }
2f4c0a16 35498 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
35499 return resultobj;
35500 fail:
35501 return NULL;
35502}
35503
35504
2f4c0a16 35505static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35506 PyObject *resultobj;
35507 wxPySizer *arg1 = (wxPySizer *) 0 ;
35508 PyObject *arg2 = (PyObject *) 0 ;
35509 PyObject *arg3 = (PyObject *) 0 ;
35510 PyObject * obj0 = 0 ;
35511 PyObject * obj1 = 0 ;
35512 PyObject * obj2 = 0 ;
35513 char *kwnames[] = {
35514 (char *) "self",(char *) "self",(char *) "_class", NULL
35515 };
35516
35517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
35518 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
35519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35520 arg2 = obj1;
35521 arg3 = obj2;
35522 {
35523 PyThreadState* __tstate = wxPyBeginAllowThreads();
35524 (arg1)->_setCallbackInfo(arg2,arg3);
35525
35526 wxPyEndAllowThreads(__tstate);
35527 if (PyErr_Occurred()) SWIG_fail;
35528 }
35529 Py_INCREF(Py_None); resultobj = Py_None;
35530 return resultobj;
35531 fail:
35532 return NULL;
35533}
35534
35535
2f4c0a16 35536static PyObject * PySizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
35537 PyObject *obj;
35538 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35539 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
35540 Py_INCREF(obj);
35541 return Py_BuildValue((char *)"");
35542}
2f4c0a16 35543static PyObject *_wrap_new_BoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35544 PyObject *resultobj;
35545 int arg1 = (int) wxHORIZONTAL ;
35546 wxBoxSizer *result;
8edf1c75 35547 PyObject * obj0 = 0 ;
d14a1e28
RD
35548 char *kwnames[] = {
35549 (char *) "orient", NULL
35550 };
35551
8edf1c75
RD
35552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
35553 if (obj0) {
2f4c0a16
RD
35554 arg1 = (int) SWIG_AsInt(obj0);
35555 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35556 }
d14a1e28
RD
35557 {
35558 PyThreadState* __tstate = wxPyBeginAllowThreads();
35559 result = (wxBoxSizer *)new wxBoxSizer(arg1);
35560
35561 wxPyEndAllowThreads(__tstate);
35562 if (PyErr_Occurred()) SWIG_fail;
35563 }
2f4c0a16 35564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
35565 return resultobj;
35566 fail:
35567 return NULL;
35568}
35569
35570
2f4c0a16 35571static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35572 PyObject *resultobj;
35573 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35574 int result;
35575 PyObject * obj0 = 0 ;
35576 char *kwnames[] = {
35577 (char *) "self", NULL
35578 };
35579
35580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35583 {
35584 PyThreadState* __tstate = wxPyBeginAllowThreads();
35585 result = (int)(arg1)->GetOrientation();
35586
35587 wxPyEndAllowThreads(__tstate);
35588 if (PyErr_Occurred()) SWIG_fail;
35589 }
2f4c0a16 35590 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35591 return resultobj;
35592 fail:
35593 return NULL;
35594}
35595
35596
2f4c0a16 35597static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35598 PyObject *resultobj;
35599 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35600 int arg2 ;
35601 PyObject * obj0 = 0 ;
8edf1c75 35602 PyObject * obj1 = 0 ;
d14a1e28
RD
35603 char *kwnames[] = {
35604 (char *) "self",(char *) "orient", NULL
35605 };
35606
8edf1c75 35607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35608 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35609 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35610 arg2 = (int) SWIG_AsInt(obj1);
35611 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35612 {
35613 PyThreadState* __tstate = wxPyBeginAllowThreads();
35614 (arg1)->SetOrientation(arg2);
35615
35616 wxPyEndAllowThreads(__tstate);
35617 if (PyErr_Occurred()) SWIG_fail;
35618 }
35619 Py_INCREF(Py_None); resultobj = Py_None;
35620 return resultobj;
35621 fail:
35622 return NULL;
35623}
35624
35625
2f4c0a16 35626static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35627 PyObject *resultobj;
35628 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35629 PyObject * obj0 = 0 ;
35630 char *kwnames[] = {
35631 (char *) "self", NULL
35632 };
35633
35634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35637 {
35638 PyThreadState* __tstate = wxPyBeginAllowThreads();
35639 (arg1)->RecalcSizes();
35640
35641 wxPyEndAllowThreads(__tstate);
35642 if (PyErr_Occurred()) SWIG_fail;
35643 }
35644 Py_INCREF(Py_None); resultobj = Py_None;
35645 return resultobj;
35646 fail:
35647 return NULL;
35648}
35649
35650
2f4c0a16 35651static PyObject *_wrap_BoxSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35652 PyObject *resultobj;
35653 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
35654 wxSize result;
35655 PyObject * obj0 = 0 ;
35656 char *kwnames[] = {
35657 (char *) "self", NULL
35658 };
35659
35660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
35662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35663 {
35664 PyThreadState* __tstate = wxPyBeginAllowThreads();
35665 result = (arg1)->CalcMin();
35666
35667 wxPyEndAllowThreads(__tstate);
35668 if (PyErr_Occurred()) SWIG_fail;
35669 }
35670 {
35671 wxSize * resultptr;
35672 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35673 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35674 }
35675 return resultobj;
35676 fail:
35677 return NULL;
35678}
35679
35680
2f4c0a16 35681static PyObject * BoxSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
35682 PyObject *obj;
35683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35684 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
35685 Py_INCREF(obj);
35686 return Py_BuildValue((char *)"");
35687}
2f4c0a16 35688static PyObject *_wrap_new_StaticBoxSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35689 PyObject *resultobj;
35690 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
35691 int arg2 = (int) wxHORIZONTAL ;
35692 wxStaticBoxSizer *result;
35693 PyObject * obj0 = 0 ;
8edf1c75 35694 PyObject * obj1 = 0 ;
d14a1e28
RD
35695 char *kwnames[] = {
35696 (char *) "box",(char *) "orient", NULL
35697 };
35698
8edf1c75 35699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
35701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 35702 if (obj1) {
2f4c0a16
RD
35703 arg2 = (int) SWIG_AsInt(obj1);
35704 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35705 }
d14a1e28
RD
35706 {
35707 PyThreadState* __tstate = wxPyBeginAllowThreads();
35708 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
35709
35710 wxPyEndAllowThreads(__tstate);
35711 if (PyErr_Occurred()) SWIG_fail;
35712 }
2f4c0a16 35713 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
35714 return resultobj;
35715 fail:
35716 return NULL;
35717}
35718
35719
2f4c0a16 35720static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35721 PyObject *resultobj;
35722 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35723 wxStaticBox *result;
35724 PyObject * obj0 = 0 ;
35725 char *kwnames[] = {
35726 (char *) "self", NULL
35727 };
35728
35729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35732 {
35733 PyThreadState* __tstate = wxPyBeginAllowThreads();
35734 result = (wxStaticBox *)(arg1)->GetStaticBox();
35735
35736 wxPyEndAllowThreads(__tstate);
35737 if (PyErr_Occurred()) SWIG_fail;
35738 }
35739 {
35740 resultobj = wxPyMake_wxObject(result);
35741 }
35742 return resultobj;
35743 fail:
35744 return NULL;
35745}
35746
35747
2f4c0a16 35748static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35749 PyObject *resultobj;
35750 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35751 PyObject * obj0 = 0 ;
35752 char *kwnames[] = {
35753 (char *) "self", NULL
35754 };
35755
35756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35757 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35758 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35759 {
35760 PyThreadState* __tstate = wxPyBeginAllowThreads();
35761 (arg1)->RecalcSizes();
35762
35763 wxPyEndAllowThreads(__tstate);
35764 if (PyErr_Occurred()) SWIG_fail;
35765 }
35766 Py_INCREF(Py_None); resultobj = Py_None;
35767 return resultobj;
35768 fail:
35769 return NULL;
35770}
35771
35772
2f4c0a16 35773static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35774 PyObject *resultobj;
35775 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
35776 wxSize result;
35777 PyObject * obj0 = 0 ;
35778 char *kwnames[] = {
35779 (char *) "self", NULL
35780 };
35781
35782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
35784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35785 {
35786 PyThreadState* __tstate = wxPyBeginAllowThreads();
35787 result = (arg1)->CalcMin();
35788
35789 wxPyEndAllowThreads(__tstate);
35790 if (PyErr_Occurred()) SWIG_fail;
35791 }
35792 {
35793 wxSize * resultptr;
35794 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35795 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35796 }
35797 return resultobj;
35798 fail:
35799 return NULL;
35800}
35801
35802
2f4c0a16 35803static PyObject * StaticBoxSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
35804 PyObject *obj;
35805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35806 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
35807 Py_INCREF(obj);
35808 return Py_BuildValue((char *)"");
35809}
2f4c0a16 35810static PyObject *_wrap_new_GridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35811 PyObject *resultobj;
35812 int arg1 = (int) 1 ;
35813 int arg2 = (int) 0 ;
35814 int arg3 = (int) 0 ;
35815 int arg4 = (int) 0 ;
35816 wxGridSizer *result;
8edf1c75
RD
35817 PyObject * obj0 = 0 ;
35818 PyObject * obj1 = 0 ;
35819 PyObject * obj2 = 0 ;
35820 PyObject * obj3 = 0 ;
d14a1e28
RD
35821 char *kwnames[] = {
35822 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35823 };
35824
8edf1c75
RD
35825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35826 if (obj0) {
2f4c0a16
RD
35827 arg1 = (int) SWIG_AsInt(obj0);
35828 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35829 }
35830 if (obj1) {
2f4c0a16
RD
35831 arg2 = (int) SWIG_AsInt(obj1);
35832 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35833 }
35834 if (obj2) {
2f4c0a16
RD
35835 arg3 = (int) SWIG_AsInt(obj2);
35836 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35837 }
35838 if (obj3) {
2f4c0a16
RD
35839 arg4 = (int) SWIG_AsInt(obj3);
35840 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35841 }
d14a1e28
RD
35842 {
35843 PyThreadState* __tstate = wxPyBeginAllowThreads();
35844 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
35845
35846 wxPyEndAllowThreads(__tstate);
35847 if (PyErr_Occurred()) SWIG_fail;
35848 }
2f4c0a16 35849 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
35850 return resultobj;
35851 fail:
35852 return NULL;
35853}
35854
35855
2f4c0a16 35856static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35857 PyObject *resultobj;
35858 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35859 PyObject * obj0 = 0 ;
35860 char *kwnames[] = {
35861 (char *) "self", NULL
35862 };
35863
35864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35867 {
35868 PyThreadState* __tstate = wxPyBeginAllowThreads();
35869 (arg1)->RecalcSizes();
35870
35871 wxPyEndAllowThreads(__tstate);
35872 if (PyErr_Occurred()) SWIG_fail;
35873 }
35874 Py_INCREF(Py_None); resultobj = Py_None;
35875 return resultobj;
35876 fail:
35877 return NULL;
35878}
35879
35880
2f4c0a16 35881static PyObject *_wrap_GridSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35882 PyObject *resultobj;
35883 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35884 wxSize result;
35885 PyObject * obj0 = 0 ;
35886 char *kwnames[] = {
35887 (char *) "self", NULL
35888 };
35889
35890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35893 {
35894 PyThreadState* __tstate = wxPyBeginAllowThreads();
35895 result = (arg1)->CalcMin();
35896
35897 wxPyEndAllowThreads(__tstate);
35898 if (PyErr_Occurred()) SWIG_fail;
35899 }
35900 {
35901 wxSize * resultptr;
35902 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35903 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35904 }
35905 return resultobj;
35906 fail:
35907 return NULL;
35908}
35909
35910
2f4c0a16 35911static PyObject *_wrap_GridSizer_SetCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35912 PyObject *resultobj;
35913 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35914 int arg2 ;
35915 PyObject * obj0 = 0 ;
8edf1c75 35916 PyObject * obj1 = 0 ;
d14a1e28
RD
35917 char *kwnames[] = {
35918 (char *) "self",(char *) "cols", NULL
35919 };
35920
8edf1c75 35921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35922 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35923 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35924 arg2 = (int) SWIG_AsInt(obj1);
35925 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35926 {
35927 PyThreadState* __tstate = wxPyBeginAllowThreads();
35928 (arg1)->SetCols(arg2);
35929
35930 wxPyEndAllowThreads(__tstate);
35931 if (PyErr_Occurred()) SWIG_fail;
35932 }
35933 Py_INCREF(Py_None); resultobj = Py_None;
35934 return resultobj;
35935 fail:
35936 return NULL;
35937}
35938
35939
2f4c0a16 35940static PyObject *_wrap_GridSizer_SetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35941 PyObject *resultobj;
35942 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35943 int arg2 ;
35944 PyObject * obj0 = 0 ;
8edf1c75 35945 PyObject * obj1 = 0 ;
d14a1e28
RD
35946 char *kwnames[] = {
35947 (char *) "self",(char *) "rows", NULL
35948 };
35949
8edf1c75 35950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35953 arg2 = (int) SWIG_AsInt(obj1);
35954 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35955 {
35956 PyThreadState* __tstate = wxPyBeginAllowThreads();
35957 (arg1)->SetRows(arg2);
35958
35959 wxPyEndAllowThreads(__tstate);
35960 if (PyErr_Occurred()) SWIG_fail;
35961 }
35962 Py_INCREF(Py_None); resultobj = Py_None;
35963 return resultobj;
35964 fail:
35965 return NULL;
35966}
35967
35968
2f4c0a16 35969static PyObject *_wrap_GridSizer_SetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35970 PyObject *resultobj;
35971 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35972 int arg2 ;
35973 PyObject * obj0 = 0 ;
8edf1c75 35974 PyObject * obj1 = 0 ;
d14a1e28
RD
35975 char *kwnames[] = {
35976 (char *) "self",(char *) "gap", NULL
35977 };
35978
8edf1c75 35979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35982 arg2 = (int) SWIG_AsInt(obj1);
35983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35984 {
35985 PyThreadState* __tstate = wxPyBeginAllowThreads();
35986 (arg1)->SetVGap(arg2);
35987
35988 wxPyEndAllowThreads(__tstate);
35989 if (PyErr_Occurred()) SWIG_fail;
35990 }
35991 Py_INCREF(Py_None); resultobj = Py_None;
35992 return resultobj;
35993 fail:
35994 return NULL;
35995}
35996
35997
2f4c0a16 35998static PyObject *_wrap_GridSizer_SetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35999 PyObject *resultobj;
36000 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36001 int arg2 ;
36002 PyObject * obj0 = 0 ;
8edf1c75 36003 PyObject * obj1 = 0 ;
d14a1e28
RD
36004 char *kwnames[] = {
36005 (char *) "self",(char *) "gap", NULL
36006 };
36007
8edf1c75 36008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36009 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36010 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36011 arg2 = (int) SWIG_AsInt(obj1);
36012 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36013 {
36014 PyThreadState* __tstate = wxPyBeginAllowThreads();
36015 (arg1)->SetHGap(arg2);
36016
36017 wxPyEndAllowThreads(__tstate);
36018 if (PyErr_Occurred()) SWIG_fail;
36019 }
36020 Py_INCREF(Py_None); resultobj = Py_None;
36021 return resultobj;
36022 fail:
36023 return NULL;
36024}
36025
36026
2f4c0a16 36027static PyObject *_wrap_GridSizer_GetCols(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36028 PyObject *resultobj;
36029 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36030 int result;
36031 PyObject * obj0 = 0 ;
36032 char *kwnames[] = {
36033 (char *) "self", NULL
36034 };
36035
36036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36039 {
36040 PyThreadState* __tstate = wxPyBeginAllowThreads();
36041 result = (int)(arg1)->GetCols();
36042
36043 wxPyEndAllowThreads(__tstate);
36044 if (PyErr_Occurred()) SWIG_fail;
36045 }
2f4c0a16 36046 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36047 return resultobj;
36048 fail:
36049 return NULL;
36050}
36051
36052
2f4c0a16 36053static PyObject *_wrap_GridSizer_GetRows(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36054 PyObject *resultobj;
36055 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36056 int result;
36057 PyObject * obj0 = 0 ;
36058 char *kwnames[] = {
36059 (char *) "self", NULL
36060 };
36061
36062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36065 {
36066 PyThreadState* __tstate = wxPyBeginAllowThreads();
36067 result = (int)(arg1)->GetRows();
36068
36069 wxPyEndAllowThreads(__tstate);
36070 if (PyErr_Occurred()) SWIG_fail;
36071 }
2f4c0a16 36072 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36073 return resultobj;
36074 fail:
36075 return NULL;
36076}
36077
36078
2f4c0a16 36079static PyObject *_wrap_GridSizer_GetVGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36080 PyObject *resultobj;
36081 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36082 int result;
36083 PyObject * obj0 = 0 ;
36084 char *kwnames[] = {
36085 (char *) "self", NULL
36086 };
36087
36088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36091 {
36092 PyThreadState* __tstate = wxPyBeginAllowThreads();
36093 result = (int)(arg1)->GetVGap();
36094
36095 wxPyEndAllowThreads(__tstate);
36096 if (PyErr_Occurred()) SWIG_fail;
36097 }
2f4c0a16 36098 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36099 return resultobj;
36100 fail:
36101 return NULL;
36102}
36103
36104
2f4c0a16 36105static PyObject *_wrap_GridSizer_GetHGap(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36106 PyObject *resultobj;
36107 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
36108 int result;
36109 PyObject * obj0 = 0 ;
36110 char *kwnames[] = {
36111 (char *) "self", NULL
36112 };
36113
36114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
36116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36117 {
36118 PyThreadState* __tstate = wxPyBeginAllowThreads();
36119 result = (int)(arg1)->GetHGap();
36120
36121 wxPyEndAllowThreads(__tstate);
36122 if (PyErr_Occurred()) SWIG_fail;
36123 }
2f4c0a16 36124 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36125 return resultobj;
36126 fail:
36127 return NULL;
36128}
36129
36130
2f4c0a16 36131static PyObject * GridSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36132 PyObject *obj;
36133 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36134 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
36135 Py_INCREF(obj);
36136 return Py_BuildValue((char *)"");
36137}
2f4c0a16 36138static PyObject *_wrap_new_FlexGridSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36139 PyObject *resultobj;
36140 int arg1 = (int) 1 ;
36141 int arg2 = (int) 0 ;
36142 int arg3 = (int) 0 ;
36143 int arg4 = (int) 0 ;
36144 wxFlexGridSizer *result;
8edf1c75
RD
36145 PyObject * obj0 = 0 ;
36146 PyObject * obj1 = 0 ;
36147 PyObject * obj2 = 0 ;
36148 PyObject * obj3 = 0 ;
d14a1e28
RD
36149 char *kwnames[] = {
36150 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36151 };
36152
8edf1c75
RD
36153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
36154 if (obj0) {
2f4c0a16
RD
36155 arg1 = (int) SWIG_AsInt(obj0);
36156 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36157 }
36158 if (obj1) {
2f4c0a16
RD
36159 arg2 = (int) SWIG_AsInt(obj1);
36160 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36161 }
36162 if (obj2) {
2f4c0a16
RD
36163 arg3 = (int) SWIG_AsInt(obj2);
36164 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36165 }
36166 if (obj3) {
2f4c0a16
RD
36167 arg4 = (int) SWIG_AsInt(obj3);
36168 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36169 }
d14a1e28
RD
36170 {
36171 PyThreadState* __tstate = wxPyBeginAllowThreads();
36172 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
36173
36174 wxPyEndAllowThreads(__tstate);
36175 if (PyErr_Occurred()) SWIG_fail;
36176 }
2f4c0a16 36177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
36178 return resultobj;
36179 fail:
36180 return NULL;
36181}
36182
36183
2f4c0a16 36184static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36185 PyObject *resultobj;
36186 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36187 PyObject * obj0 = 0 ;
36188 char *kwnames[] = {
36189 (char *) "self", NULL
36190 };
36191
36192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36193 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36194 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36195 {
36196 PyThreadState* __tstate = wxPyBeginAllowThreads();
36197 (arg1)->RecalcSizes();
36198
36199 wxPyEndAllowThreads(__tstate);
36200 if (PyErr_Occurred()) SWIG_fail;
36201 }
36202 Py_INCREF(Py_None); resultobj = Py_None;
36203 return resultobj;
36204 fail:
36205 return NULL;
36206}
36207
36208
2f4c0a16 36209static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36210 PyObject *resultobj;
36211 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36212 wxSize result;
36213 PyObject * obj0 = 0 ;
36214 char *kwnames[] = {
36215 (char *) "self", NULL
36216 };
36217
36218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36219 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36220 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36221 {
36222 PyThreadState* __tstate = wxPyBeginAllowThreads();
36223 result = (arg1)->CalcMin();
36224
36225 wxPyEndAllowThreads(__tstate);
36226 if (PyErr_Occurred()) SWIG_fail;
36227 }
36228 {
36229 wxSize * resultptr;
36230 resultptr = new wxSize((wxSize &) result);
2f4c0a16 36231 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36232 }
36233 return resultobj;
36234 fail:
36235 return NULL;
36236}
36237
36238
2f4c0a16 36239static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36240 PyObject *resultobj;
36241 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36242 size_t arg2 ;
36243 int arg3 = (int) 0 ;
36244 PyObject * obj0 = 0 ;
36245 PyObject * obj1 = 0 ;
8edf1c75 36246 PyObject * obj2 = 0 ;
d14a1e28
RD
36247 char *kwnames[] = {
36248 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36249 };
36250
8edf1c75 36251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36254 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36255 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36256 if (obj2) {
2f4c0a16
RD
36257 arg3 = (int) SWIG_AsInt(obj2);
36258 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36259 }
d14a1e28
RD
36260 {
36261 PyThreadState* __tstate = wxPyBeginAllowThreads();
36262 (arg1)->AddGrowableRow(arg2,arg3);
36263
36264 wxPyEndAllowThreads(__tstate);
36265 if (PyErr_Occurred()) SWIG_fail;
36266 }
36267 Py_INCREF(Py_None); resultobj = Py_None;
36268 return resultobj;
36269 fail:
36270 return NULL;
36271}
36272
36273
2f4c0a16 36274static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36275 PyObject *resultobj;
36276 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36277 size_t arg2 ;
36278 PyObject * obj0 = 0 ;
36279 PyObject * obj1 = 0 ;
36280 char *kwnames[] = {
36281 (char *) "self",(char *) "idx", NULL
36282 };
36283
36284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36285 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36286 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36287 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36288 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36289 {
36290 PyThreadState* __tstate = wxPyBeginAllowThreads();
36291 (arg1)->RemoveGrowableRow(arg2);
36292
36293 wxPyEndAllowThreads(__tstate);
36294 if (PyErr_Occurred()) SWIG_fail;
36295 }
36296 Py_INCREF(Py_None); resultobj = Py_None;
36297 return resultobj;
36298 fail:
36299 return NULL;
36300}
36301
36302
2f4c0a16 36303static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36304 PyObject *resultobj;
36305 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36306 size_t arg2 ;
36307 int arg3 = (int) 0 ;
36308 PyObject * obj0 = 0 ;
36309 PyObject * obj1 = 0 ;
8edf1c75 36310 PyObject * obj2 = 0 ;
d14a1e28
RD
36311 char *kwnames[] = {
36312 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36313 };
36314
8edf1c75 36315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36316 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36318 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36319 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36320 if (obj2) {
2f4c0a16
RD
36321 arg3 = (int) SWIG_AsInt(obj2);
36322 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36323 }
d14a1e28
RD
36324 {
36325 PyThreadState* __tstate = wxPyBeginAllowThreads();
36326 (arg1)->AddGrowableCol(arg2,arg3);
36327
36328 wxPyEndAllowThreads(__tstate);
36329 if (PyErr_Occurred()) SWIG_fail;
36330 }
36331 Py_INCREF(Py_None); resultobj = Py_None;
36332 return resultobj;
36333 fail:
36334 return NULL;
36335}
36336
36337
2f4c0a16 36338static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36339 PyObject *resultobj;
36340 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36341 size_t arg2 ;
36342 PyObject * obj0 = 0 ;
36343 PyObject * obj1 = 0 ;
36344 char *kwnames[] = {
36345 (char *) "self",(char *) "idx", NULL
36346 };
36347
36348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36349 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36351 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
36352 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36353 {
36354 PyThreadState* __tstate = wxPyBeginAllowThreads();
36355 (arg1)->RemoveGrowableCol(arg2);
36356
36357 wxPyEndAllowThreads(__tstate);
36358 if (PyErr_Occurred()) SWIG_fail;
36359 }
36360 Py_INCREF(Py_None); resultobj = Py_None;
36361 return resultobj;
36362 fail:
36363 return NULL;
36364}
36365
36366
2f4c0a16 36367static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36368 PyObject *resultobj;
36369 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36370 int arg2 ;
36371 PyObject * obj0 = 0 ;
8edf1c75 36372 PyObject * obj1 = 0 ;
d14a1e28
RD
36373 char *kwnames[] = {
36374 (char *) "self",(char *) "direction", NULL
36375 };
36376
8edf1c75 36377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36380 arg2 = (int) SWIG_AsInt(obj1);
36381 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36382 {
36383 PyThreadState* __tstate = wxPyBeginAllowThreads();
36384 (arg1)->SetFlexibleDirection(arg2);
36385
36386 wxPyEndAllowThreads(__tstate);
36387 if (PyErr_Occurred()) SWIG_fail;
36388 }
36389 Py_INCREF(Py_None); resultobj = Py_None;
36390 return resultobj;
36391 fail:
36392 return NULL;
36393}
36394
36395
2f4c0a16 36396static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36397 PyObject *resultobj;
36398 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36399 int result;
36400 PyObject * obj0 = 0 ;
36401 char *kwnames[] = {
36402 (char *) "self", NULL
36403 };
36404
36405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36406 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36407 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36408 {
36409 PyThreadState* __tstate = wxPyBeginAllowThreads();
36410 result = (int)(arg1)->GetFlexibleDirection();
36411
36412 wxPyEndAllowThreads(__tstate);
36413 if (PyErr_Occurred()) SWIG_fail;
36414 }
2f4c0a16 36415 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36416 return resultobj;
36417 fail:
36418 return NULL;
36419}
36420
36421
2f4c0a16 36422static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36423 PyObject *resultobj;
36424 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36425 int arg2 ;
36426 PyObject * obj0 = 0 ;
8edf1c75 36427 PyObject * obj1 = 0 ;
d14a1e28
RD
36428 char *kwnames[] = {
36429 (char *) "self",(char *) "mode", NULL
36430 };
36431
8edf1c75 36432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36435 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
36436 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36437 {
36438 PyThreadState* __tstate = wxPyBeginAllowThreads();
36439 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
36440
36441 wxPyEndAllowThreads(__tstate);
36442 if (PyErr_Occurred()) SWIG_fail;
36443 }
36444 Py_INCREF(Py_None); resultobj = Py_None;
36445 return resultobj;
36446 fail:
36447 return NULL;
36448}
36449
36450
2f4c0a16 36451static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36452 PyObject *resultobj;
36453 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36454 int result;
36455 PyObject * obj0 = 0 ;
36456 char *kwnames[] = {
36457 (char *) "self", NULL
36458 };
36459
36460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36463 {
36464 PyThreadState* __tstate = wxPyBeginAllowThreads();
36465 result = (int)(arg1)->GetNonFlexibleGrowMode();
36466
36467 wxPyEndAllowThreads(__tstate);
36468 if (PyErr_Occurred()) SWIG_fail;
36469 }
2f4c0a16 36470 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36471 return resultobj;
36472 fail:
36473 return NULL;
36474}
36475
36476
2f4c0a16 36477static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *, PyObject *args, PyObject *kwargs) {
423f194a
RD
36478 PyObject *resultobj;
36479 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36480 wxArrayInt *result;
36481 PyObject * obj0 = 0 ;
36482 char *kwnames[] = {
36483 (char *) "self", NULL
36484 };
36485
36486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36487 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
36489 {
36490 PyThreadState* __tstate = wxPyBeginAllowThreads();
36491 {
36492 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
36493 result = (wxArrayInt *) &_result_ref;
36494 }
36495
36496 wxPyEndAllowThreads(__tstate);
36497 if (PyErr_Occurred()) SWIG_fail;
36498 }
36499 {
36500 resultobj = PyList_New(0);
36501 size_t idx;
36502 for (idx = 0; idx < result->GetCount(); idx += 1) {
36503 PyObject* val = PyInt_FromLong( result->Item(idx) );
36504 PyList_Append(resultobj, val);
36505 Py_DECREF(val);
36506 }
36507 }
36508 return resultobj;
36509 fail:
36510 return NULL;
36511}
36512
36513
2f4c0a16 36514static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *, PyObject *args, PyObject *kwargs) {
423f194a
RD
36515 PyObject *resultobj;
36516 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
36517 wxArrayInt *result;
36518 PyObject * obj0 = 0 ;
36519 char *kwnames[] = {
36520 (char *) "self", NULL
36521 };
36522
36523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36524 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
36525 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
36526 {
36527 PyThreadState* __tstate = wxPyBeginAllowThreads();
36528 {
36529 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
36530 result = (wxArrayInt *) &_result_ref;
36531 }
36532
36533 wxPyEndAllowThreads(__tstate);
36534 if (PyErr_Occurred()) SWIG_fail;
36535 }
36536 {
36537 resultobj = PyList_New(0);
36538 size_t idx;
36539 for (idx = 0; idx < result->GetCount(); idx += 1) {
36540 PyObject* val = PyInt_FromLong( result->Item(idx) );
36541 PyList_Append(resultobj, val);
36542 Py_DECREF(val);
36543 }
36544 }
36545 return resultobj;
36546 fail:
36547 return NULL;
36548}
36549
36550
2f4c0a16 36551static PyObject * FlexGridSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36552 PyObject *obj;
36553 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36554 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
36555 Py_INCREF(obj);
36556 return Py_BuildValue((char *)"");
36557}
2f4c0a16 36558static PyObject *_wrap_new_GBPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36559 PyObject *resultobj;
36560 int arg1 = (int) 0 ;
36561 int arg2 = (int) 0 ;
36562 wxGBPosition *result;
8edf1c75
RD
36563 PyObject * obj0 = 0 ;
36564 PyObject * obj1 = 0 ;
d14a1e28
RD
36565 char *kwnames[] = {
36566 (char *) "row",(char *) "col", NULL
36567 };
36568
8edf1c75
RD
36569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
36570 if (obj0) {
2f4c0a16
RD
36571 arg1 = (int) SWIG_AsInt(obj0);
36572 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36573 }
36574 if (obj1) {
2f4c0a16
RD
36575 arg2 = (int) SWIG_AsInt(obj1);
36576 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36577 }
d14a1e28
RD
36578 {
36579 PyThreadState* __tstate = wxPyBeginAllowThreads();
36580 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
36581
36582 wxPyEndAllowThreads(__tstate);
36583 if (PyErr_Occurred()) SWIG_fail;
36584 }
2f4c0a16 36585 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36586 return resultobj;
36587 fail:
36588 return NULL;
36589}
36590
36591
2f4c0a16 36592static PyObject *_wrap_GBPosition_GetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36593 PyObject *resultobj;
36594 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36595 int result;
36596 PyObject * obj0 = 0 ;
36597 char *kwnames[] = {
36598 (char *) "self", NULL
36599 };
36600
36601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36604 {
36605 PyThreadState* __tstate = wxPyBeginAllowThreads();
36606 result = (int)((wxGBPosition const *)arg1)->GetRow();
36607
36608 wxPyEndAllowThreads(__tstate);
36609 if (PyErr_Occurred()) SWIG_fail;
36610 }
2f4c0a16 36611 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36612 return resultobj;
36613 fail:
36614 return NULL;
36615}
36616
36617
2f4c0a16 36618static PyObject *_wrap_GBPosition_GetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36619 PyObject *resultobj;
36620 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36621 int result;
36622 PyObject * obj0 = 0 ;
36623 char *kwnames[] = {
36624 (char *) "self", NULL
36625 };
36626
36627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36630 {
36631 PyThreadState* __tstate = wxPyBeginAllowThreads();
36632 result = (int)((wxGBPosition const *)arg1)->GetCol();
36633
36634 wxPyEndAllowThreads(__tstate);
36635 if (PyErr_Occurred()) SWIG_fail;
36636 }
2f4c0a16 36637 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36638 return resultobj;
36639 fail:
36640 return NULL;
36641}
36642
36643
2f4c0a16 36644static PyObject *_wrap_GBPosition_SetRow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36645 PyObject *resultobj;
36646 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36647 int arg2 ;
36648 PyObject * obj0 = 0 ;
8edf1c75 36649 PyObject * obj1 = 0 ;
d14a1e28
RD
36650 char *kwnames[] = {
36651 (char *) "self",(char *) "row", NULL
36652 };
36653
8edf1c75 36654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36655 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36656 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36657 arg2 = (int) SWIG_AsInt(obj1);
36658 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36659 {
36660 PyThreadState* __tstate = wxPyBeginAllowThreads();
36661 (arg1)->SetRow(arg2);
36662
36663 wxPyEndAllowThreads(__tstate);
36664 if (PyErr_Occurred()) SWIG_fail;
36665 }
36666 Py_INCREF(Py_None); resultobj = Py_None;
36667 return resultobj;
36668 fail:
36669 return NULL;
36670}
36671
36672
2f4c0a16 36673static PyObject *_wrap_GBPosition_SetCol(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36674 PyObject *resultobj;
36675 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36676 int arg2 ;
36677 PyObject * obj0 = 0 ;
8edf1c75 36678 PyObject * obj1 = 0 ;
d14a1e28
RD
36679 char *kwnames[] = {
36680 (char *) "self",(char *) "col", NULL
36681 };
36682
8edf1c75 36683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36684 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36685 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36686 arg2 = (int) SWIG_AsInt(obj1);
36687 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36688 {
36689 PyThreadState* __tstate = wxPyBeginAllowThreads();
36690 (arg1)->SetCol(arg2);
36691
36692 wxPyEndAllowThreads(__tstate);
36693 if (PyErr_Occurred()) SWIG_fail;
36694 }
36695 Py_INCREF(Py_None); resultobj = Py_None;
36696 return resultobj;
36697 fail:
36698 return NULL;
36699}
36700
36701
2f4c0a16 36702static PyObject *_wrap_GBPosition___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36703 PyObject *resultobj;
36704 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
fbc46b20 36705 wxGBPosition *arg2 = 0 ;
d14a1e28 36706 bool result;
fbc46b20 36707 wxGBPosition temp2 ;
d14a1e28
RD
36708 PyObject * obj0 = 0 ;
36709 PyObject * obj1 = 0 ;
36710 char *kwnames[] = {
38f59159 36711 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36712 };
36713
36714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36715 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36716 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
fbc46b20
RD
36717 {
36718 arg2 = &temp2;
36719 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36720 }
d14a1e28
RD
36721 {
36722 PyThreadState* __tstate = wxPyBeginAllowThreads();
fbc46b20 36723 result = (bool)(arg1)->operator ==((wxGBPosition const &)*arg2);
d14a1e28
RD
36724
36725 wxPyEndAllowThreads(__tstate);
36726 if (PyErr_Occurred()) SWIG_fail;
36727 }
fbc46b20
RD
36728 {
36729 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36730 }
d14a1e28
RD
36731 return resultobj;
36732 fail:
36733 return NULL;
36734}
36735
36736
2f4c0a16 36737static PyObject *_wrap_GBPosition___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36738 PyObject *resultobj;
36739 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
fbc46b20 36740 wxGBPosition *arg2 = 0 ;
d14a1e28 36741 bool result;
fbc46b20 36742 wxGBPosition temp2 ;
d14a1e28
RD
36743 PyObject * obj0 = 0 ;
36744 PyObject * obj1 = 0 ;
36745 char *kwnames[] = {
38f59159 36746 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36747 };
36748
36749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
fbc46b20
RD
36752 {
36753 arg2 = &temp2;
36754 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36755 }
d14a1e28
RD
36756 {
36757 PyThreadState* __tstate = wxPyBeginAllowThreads();
fbc46b20 36758 result = (bool)(arg1)->operator !=((wxGBPosition const &)*arg2);
d14a1e28
RD
36759
36760 wxPyEndAllowThreads(__tstate);
36761 if (PyErr_Occurred()) SWIG_fail;
36762 }
fbc46b20
RD
36763 {
36764 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
36765 }
d14a1e28
RD
36766 return resultobj;
36767 fail:
36768 return NULL;
36769}
36770
36771
2f4c0a16 36772static PyObject *_wrap_GBPosition_Set(PyObject *, PyObject *args, PyObject *kwargs) {
423f194a
RD
36773 PyObject *resultobj;
36774 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36775 int arg2 = (int) 0 ;
36776 int arg3 = (int) 0 ;
36777 PyObject * obj0 = 0 ;
8edf1c75
RD
36778 PyObject * obj1 = 0 ;
36779 PyObject * obj2 = 0 ;
423f194a
RD
36780 char *kwnames[] = {
36781 (char *) "self",(char *) "row",(char *) "col", NULL
36782 };
36783
8edf1c75 36784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 36787 if (obj1) {
2f4c0a16
RD
36788 arg2 = (int) SWIG_AsInt(obj1);
36789 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36790 }
36791 if (obj2) {
2f4c0a16
RD
36792 arg3 = (int) SWIG_AsInt(obj2);
36793 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36794 }
423f194a
RD
36795 {
36796 PyThreadState* __tstate = wxPyBeginAllowThreads();
36797 wxGBPosition_Set(arg1,arg2,arg3);
36798
36799 wxPyEndAllowThreads(__tstate);
36800 if (PyErr_Occurred()) SWIG_fail;
36801 }
36802 Py_INCREF(Py_None); resultobj = Py_None;
36803 return resultobj;
36804 fail:
36805 return NULL;
36806}
36807
36808
2f4c0a16 36809static PyObject *_wrap_GBPosition_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36810 PyObject *resultobj;
36811 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
36812 PyObject *result;
36813 PyObject * obj0 = 0 ;
36814 char *kwnames[] = {
36815 (char *) "self", NULL
36816 };
36817
423f194a 36818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
36820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36821 {
36822 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 36823 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
36824
36825 wxPyEndAllowThreads(__tstate);
36826 if (PyErr_Occurred()) SWIG_fail;
36827 }
36828 resultobj = result;
36829 return resultobj;
36830 fail:
36831 return NULL;
36832}
36833
36834
2f4c0a16 36835static PyObject * GBPosition_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
36836 PyObject *obj;
36837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36838 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
36839 Py_INCREF(obj);
36840 return Py_BuildValue((char *)"");
36841}
2f4c0a16 36842static PyObject *_wrap_new_GBSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36843 PyObject *resultobj;
36844 int arg1 = (int) 1 ;
36845 int arg2 = (int) 1 ;
36846 wxGBSpan *result;
8edf1c75
RD
36847 PyObject * obj0 = 0 ;
36848 PyObject * obj1 = 0 ;
d14a1e28
RD
36849 char *kwnames[] = {
36850 (char *) "rowspan",(char *) "colspan", NULL
36851 };
36852
8edf1c75
RD
36853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
36854 if (obj0) {
2f4c0a16
RD
36855 arg1 = (int) SWIG_AsInt(obj0);
36856 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36857 }
36858 if (obj1) {
2f4c0a16
RD
36859 arg2 = (int) SWIG_AsInt(obj1);
36860 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36861 }
d14a1e28
RD
36862 {
36863 PyThreadState* __tstate = wxPyBeginAllowThreads();
36864 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
36865
36866 wxPyEndAllowThreads(__tstate);
36867 if (PyErr_Occurred()) SWIG_fail;
36868 }
2f4c0a16 36869 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
36870 return resultobj;
36871 fail:
36872 return NULL;
36873}
36874
36875
2f4c0a16 36876static PyObject *_wrap_GBSpan_GetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36877 PyObject *resultobj;
36878 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36879 int result;
36880 PyObject * obj0 = 0 ;
36881 char *kwnames[] = {
36882 (char *) "self", NULL
36883 };
36884
36885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36888 {
36889 PyThreadState* __tstate = wxPyBeginAllowThreads();
36890 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
36891
36892 wxPyEndAllowThreads(__tstate);
36893 if (PyErr_Occurred()) SWIG_fail;
36894 }
2f4c0a16 36895 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36896 return resultobj;
36897 fail:
36898 return NULL;
36899}
36900
36901
2f4c0a16 36902static PyObject *_wrap_GBSpan_GetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36903 PyObject *resultobj;
36904 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36905 int result;
36906 PyObject * obj0 = 0 ;
36907 char *kwnames[] = {
36908 (char *) "self", NULL
36909 };
36910
36911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36912 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36913 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36914 {
36915 PyThreadState* __tstate = wxPyBeginAllowThreads();
36916 result = (int)((wxGBSpan const *)arg1)->GetColspan();
36917
36918 wxPyEndAllowThreads(__tstate);
36919 if (PyErr_Occurred()) SWIG_fail;
36920 }
2f4c0a16 36921 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36922 return resultobj;
36923 fail:
36924 return NULL;
36925}
36926
36927
2f4c0a16 36928static PyObject *_wrap_GBSpan_SetRowspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36929 PyObject *resultobj;
36930 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36931 int arg2 ;
36932 PyObject * obj0 = 0 ;
8edf1c75 36933 PyObject * obj1 = 0 ;
d14a1e28
RD
36934 char *kwnames[] = {
36935 (char *) "self",(char *) "rowspan", NULL
36936 };
36937
8edf1c75 36938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36939 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36941 arg2 = (int) SWIG_AsInt(obj1);
36942 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36943 {
36944 PyThreadState* __tstate = wxPyBeginAllowThreads();
36945 (arg1)->SetRowspan(arg2);
36946
36947 wxPyEndAllowThreads(__tstate);
36948 if (PyErr_Occurred()) SWIG_fail;
36949 }
36950 Py_INCREF(Py_None); resultobj = Py_None;
36951 return resultobj;
36952 fail:
36953 return NULL;
36954}
36955
36956
2f4c0a16 36957static PyObject *_wrap_GBSpan_SetColspan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36958 PyObject *resultobj;
36959 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36960 int arg2 ;
36961 PyObject * obj0 = 0 ;
8edf1c75 36962 PyObject * obj1 = 0 ;
d14a1e28
RD
36963 char *kwnames[] = {
36964 (char *) "self",(char *) "colspan", NULL
36965 };
36966
8edf1c75 36967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36968 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36969 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36970 arg2 = (int) SWIG_AsInt(obj1);
36971 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36972 {
36973 PyThreadState* __tstate = wxPyBeginAllowThreads();
36974 (arg1)->SetColspan(arg2);
36975
36976 wxPyEndAllowThreads(__tstate);
36977 if (PyErr_Occurred()) SWIG_fail;
36978 }
36979 Py_INCREF(Py_None); resultobj = Py_None;
36980 return resultobj;
36981 fail:
36982 return NULL;
36983}
36984
36985
2f4c0a16 36986static PyObject *_wrap_GBSpan___eq__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36987 PyObject *resultobj;
36988 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
fbc46b20 36989 wxGBSpan *arg2 = 0 ;
d14a1e28 36990 bool result;
fbc46b20 36991 wxGBSpan temp2 ;
d14a1e28
RD
36992 PyObject * obj0 = 0 ;
36993 PyObject * obj1 = 0 ;
36994 char *kwnames[] = {
38f59159 36995 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36996 };
36997
36998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36999 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37000 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
fbc46b20
RD
37001 {
37002 arg2 = &temp2;
37003 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37004 }
d14a1e28
RD
37005 {
37006 PyThreadState* __tstate = wxPyBeginAllowThreads();
fbc46b20 37007 result = (bool)(arg1)->operator ==((wxGBSpan const &)*arg2);
d14a1e28
RD
37008
37009 wxPyEndAllowThreads(__tstate);
37010 if (PyErr_Occurred()) SWIG_fail;
37011 }
fbc46b20
RD
37012 {
37013 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37014 }
d14a1e28
RD
37015 return resultobj;
37016 fail:
37017 return NULL;
37018}
37019
37020
2f4c0a16 37021static PyObject *_wrap_GBSpan___ne__(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37022 PyObject *resultobj;
37023 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
fbc46b20 37024 wxGBSpan *arg2 = 0 ;
d14a1e28 37025 bool result;
fbc46b20 37026 wxGBSpan temp2 ;
d14a1e28
RD
37027 PyObject * obj0 = 0 ;
37028 PyObject * obj1 = 0 ;
37029 char *kwnames[] = {
38f59159 37030 (char *) "self",(char *) "other", NULL
d14a1e28
RD
37031 };
37032
37033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
fbc46b20
RD
37036 {
37037 arg2 = &temp2;
37038 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37039 }
d14a1e28
RD
37040 {
37041 PyThreadState* __tstate = wxPyBeginAllowThreads();
fbc46b20 37042 result = (bool)(arg1)->operator !=((wxGBSpan const &)*arg2);
d14a1e28
RD
37043
37044 wxPyEndAllowThreads(__tstate);
37045 if (PyErr_Occurred()) SWIG_fail;
37046 }
fbc46b20
RD
37047 {
37048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37049 }
d14a1e28
RD
37050 return resultobj;
37051 fail:
37052 return NULL;
37053}
37054
37055
2f4c0a16 37056static PyObject *_wrap_GBSpan_Set(PyObject *, PyObject *args, PyObject *kwargs) {
423f194a
RD
37057 PyObject *resultobj;
37058 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37059 int arg2 = (int) 1 ;
37060 int arg3 = (int) 1 ;
37061 PyObject * obj0 = 0 ;
8edf1c75
RD
37062 PyObject * obj1 = 0 ;
37063 PyObject * obj2 = 0 ;
423f194a
RD
37064 char *kwnames[] = {
37065 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37066 };
37067
8edf1c75 37068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 37071 if (obj1) {
2f4c0a16
RD
37072 arg2 = (int) SWIG_AsInt(obj1);
37073 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
37074 }
37075 if (obj2) {
2f4c0a16
RD
37076 arg3 = (int) SWIG_AsInt(obj2);
37077 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37078 }
423f194a
RD
37079 {
37080 PyThreadState* __tstate = wxPyBeginAllowThreads();
37081 wxGBSpan_Set(arg1,arg2,arg3);
37082
37083 wxPyEndAllowThreads(__tstate);
37084 if (PyErr_Occurred()) SWIG_fail;
37085 }
37086 Py_INCREF(Py_None); resultobj = Py_None;
37087 return resultobj;
37088 fail:
37089 return NULL;
37090}
37091
37092
2f4c0a16 37093static PyObject *_wrap_GBSpan_Get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37094 PyObject *resultobj;
37095 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
37096 PyObject *result;
37097 PyObject * obj0 = 0 ;
37098 char *kwnames[] = {
37099 (char *) "self", NULL
37100 };
37101
423f194a 37102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37103 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
37104 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37105 {
37106 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 37107 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
37108
37109 wxPyEndAllowThreads(__tstate);
37110 if (PyErr_Occurred()) SWIG_fail;
37111 }
37112 resultobj = result;
37113 return resultobj;
37114 fail:
37115 return NULL;
37116}
37117
37118
2f4c0a16 37119static PyObject * GBSpan_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
37120 PyObject *obj;
37121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37122 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
37123 Py_INCREF(obj);
37124 return Py_BuildValue((char *)"");
37125}
8edf1c75 37126static int _wrap_DefaultSpan_set(PyObject *) {
d14a1e28
RD
37127 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
37128 return 1;
37129}
37130
37131
37132static PyObject *_wrap_DefaultSpan_get() {
37133 PyObject *pyobj;
37134
2f4c0a16 37135 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
37136 return pyobj;
37137}
37138
37139
2f4c0a16 37140static PyObject *_wrap_new_GBSizerItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37141 PyObject *resultobj;
37142 wxGBSizerItem *result;
37143 char *kwnames[] = {
37144 NULL
37145 };
37146
37147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
37148 {
37149 PyThreadState* __tstate = wxPyBeginAllowThreads();
37150 result = (wxGBSizerItem *)new wxGBSizerItem();
37151
37152 wxPyEndAllowThreads(__tstate);
37153 if (PyErr_Occurred()) SWIG_fail;
37154 }
2f4c0a16 37155 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37156 return resultobj;
37157 fail:
37158 return NULL;
37159}
37160
37161
2f4c0a16 37162static PyObject *_wrap_new_GBSizerItemWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37163 PyObject *resultobj;
37164 wxWindow *arg1 = (wxWindow *) 0 ;
37165 wxGBPosition *arg2 = 0 ;
37166 wxGBSpan *arg3 = 0 ;
37167 int arg4 ;
37168 int arg5 ;
37169 wxObject *arg6 = (wxObject *) 0 ;
37170 wxGBSizerItem *result;
37171 wxGBPosition temp2 ;
37172 wxGBSpan temp3 ;
37173 PyObject * obj0 = 0 ;
37174 PyObject * obj1 = 0 ;
37175 PyObject * obj2 = 0 ;
8edf1c75
RD
37176 PyObject * obj3 = 0 ;
37177 PyObject * obj4 = 0 ;
d14a1e28
RD
37178 PyObject * obj5 = 0 ;
37179 char *kwnames[] = {
37180 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37181 };
37182
8edf1c75 37183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
37184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
37185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37186 {
37187 arg2 = &temp2;
37188 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37189 }
37190 {
37191 arg3 = &temp3;
37192 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37193 }
2f4c0a16
RD
37194 arg4 = (int) SWIG_AsInt(obj3);
37195 if (PyErr_Occurred()) SWIG_fail;
37196 arg5 = (int) SWIG_AsInt(obj4);
37197 if (PyErr_Occurred()) SWIG_fail;
37198 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
37199 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37200 {
37201 PyThreadState* __tstate = wxPyBeginAllowThreads();
37202 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37203
37204 wxPyEndAllowThreads(__tstate);
37205 if (PyErr_Occurred()) SWIG_fail;
37206 }
2f4c0a16 37207 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37208 return resultobj;
37209 fail:
37210 return NULL;
37211}
37212
37213
2f4c0a16 37214static PyObject *_wrap_new_GBSizerItemSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37215 PyObject *resultobj;
37216 wxSizer *arg1 = (wxSizer *) 0 ;
37217 wxGBPosition *arg2 = 0 ;
37218 wxGBSpan *arg3 = 0 ;
37219 int arg4 ;
37220 int arg5 ;
37221 wxObject *arg6 = (wxObject *) 0 ;
37222 wxGBSizerItem *result;
37223 wxGBPosition temp2 ;
37224 wxGBSpan temp3 ;
37225 PyObject * obj0 = 0 ;
37226 PyObject * obj1 = 0 ;
37227 PyObject * obj2 = 0 ;
8edf1c75
RD
37228 PyObject * obj3 = 0 ;
37229 PyObject * obj4 = 0 ;
d14a1e28
RD
37230 PyObject * obj5 = 0 ;
37231 char *kwnames[] = {
37232 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37233 };
37234
8edf1c75 37235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
37236 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
37237 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37238 {
37239 arg2 = &temp2;
37240 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37241 }
37242 {
37243 arg3 = &temp3;
37244 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37245 }
2f4c0a16
RD
37246 arg4 = (int) SWIG_AsInt(obj3);
37247 if (PyErr_Occurred()) SWIG_fail;
37248 arg5 = (int) SWIG_AsInt(obj4);
37249 if (PyErr_Occurred()) SWIG_fail;
37250 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
37251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37252 {
37253 PyThreadState* __tstate = wxPyBeginAllowThreads();
37254 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
37255
37256 wxPyEndAllowThreads(__tstate);
37257 if (PyErr_Occurred()) SWIG_fail;
37258 }
2f4c0a16 37259 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37260 return resultobj;
37261 fail:
37262 return NULL;
37263}
37264
37265
2f4c0a16 37266static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37267 PyObject *resultobj;
37268 int arg1 ;
37269 int arg2 ;
37270 wxGBPosition *arg3 = 0 ;
37271 wxGBSpan *arg4 = 0 ;
37272 int arg5 ;
37273 int arg6 ;
37274 wxObject *arg7 = (wxObject *) 0 ;
37275 wxGBSizerItem *result;
37276 wxGBPosition temp3 ;
37277 wxGBSpan temp4 ;
8edf1c75
RD
37278 PyObject * obj0 = 0 ;
37279 PyObject * obj1 = 0 ;
d14a1e28
RD
37280 PyObject * obj2 = 0 ;
37281 PyObject * obj3 = 0 ;
8edf1c75
RD
37282 PyObject * obj4 = 0 ;
37283 PyObject * obj5 = 0 ;
d14a1e28
RD
37284 PyObject * obj6 = 0 ;
37285 char *kwnames[] = {
37286 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37287 };
37288
8edf1c75 37289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
37290 arg1 = (int) SWIG_AsInt(obj0);
37291 if (PyErr_Occurred()) SWIG_fail;
37292 arg2 = (int) SWIG_AsInt(obj1);
37293 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37294 {
37295 arg3 = &temp3;
37296 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37297 }
37298 {
37299 arg4 = &temp4;
37300 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37301 }
2f4c0a16
RD
37302 arg5 = (int) SWIG_AsInt(obj4);
37303 if (PyErr_Occurred()) SWIG_fail;
37304 arg6 = (int) SWIG_AsInt(obj5);
37305 if (PyErr_Occurred()) SWIG_fail;
37306 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxObject,
37307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37308 {
37309 PyThreadState* __tstate = wxPyBeginAllowThreads();
37310 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37311
37312 wxPyEndAllowThreads(__tstate);
37313 if (PyErr_Occurred()) SWIG_fail;
37314 }
2f4c0a16 37315 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
37316 return resultobj;
37317 fail:
37318 return NULL;
37319}
37320
37321
2f4c0a16 37322static PyObject *_wrap_GBSizerItem_GetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37323 PyObject *resultobj;
37324 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37325 wxGBPosition result;
37326 PyObject * obj0 = 0 ;
37327 char *kwnames[] = {
37328 (char *) "self", NULL
37329 };
37330
37331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37334 {
37335 PyThreadState* __tstate = wxPyBeginAllowThreads();
37336 result = ((wxGBSizerItem const *)arg1)->GetPos();
37337
37338 wxPyEndAllowThreads(__tstate);
37339 if (PyErr_Occurred()) SWIG_fail;
37340 }
37341 {
37342 wxGBPosition * resultptr;
37343 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 37344 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37345 }
37346 return resultobj;
37347 fail:
37348 return NULL;
37349}
37350
37351
2f4c0a16 37352static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37353 PyObject *resultobj;
37354 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37355 wxGBSpan result;
37356 PyObject * obj0 = 0 ;
37357 char *kwnames[] = {
37358 (char *) "self", NULL
37359 };
37360
37361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37364 {
37365 PyThreadState* __tstate = wxPyBeginAllowThreads();
37366 result = ((wxGBSizerItem const *)arg1)->GetSpan();
37367
37368 wxPyEndAllowThreads(__tstate);
37369 if (PyErr_Occurred()) SWIG_fail;
37370 }
37371 {
37372 wxGBSpan * resultptr;
37373 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 37374 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37375 }
37376 return resultobj;
37377 fail:
37378 return NULL;
37379}
37380
37381
2f4c0a16 37382static PyObject *_wrap_GBSizerItem_SetPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37383 PyObject *resultobj;
37384 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37385 wxGBPosition *arg2 = 0 ;
37386 bool result;
37387 wxGBPosition temp2 ;
37388 PyObject * obj0 = 0 ;
37389 PyObject * obj1 = 0 ;
37390 char *kwnames[] = {
37391 (char *) "self",(char *) "pos", NULL
37392 };
37393
37394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37397 {
37398 arg2 = &temp2;
37399 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37400 }
37401 {
37402 PyThreadState* __tstate = wxPyBeginAllowThreads();
37403 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
37404
37405 wxPyEndAllowThreads(__tstate);
37406 if (PyErr_Occurred()) SWIG_fail;
37407 }
fbc46b20
RD
37408 {
37409 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37410 }
d14a1e28
RD
37411 return resultobj;
37412 fail:
37413 return NULL;
37414}
37415
37416
2f4c0a16 37417static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37418 PyObject *resultobj;
37419 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37420 wxGBSpan *arg2 = 0 ;
37421 bool result;
37422 wxGBSpan temp2 ;
37423 PyObject * obj0 = 0 ;
37424 PyObject * obj1 = 0 ;
37425 char *kwnames[] = {
37426 (char *) "self",(char *) "span", NULL
37427 };
37428
37429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37430 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37431 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37432 {
37433 arg2 = &temp2;
37434 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
37435 }
37436 {
37437 PyThreadState* __tstate = wxPyBeginAllowThreads();
37438 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
37439
37440 wxPyEndAllowThreads(__tstate);
37441 if (PyErr_Occurred()) SWIG_fail;
37442 }
fbc46b20
RD
37443 {
37444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37445 }
d14a1e28
RD
37446 return resultobj;
37447 fail:
37448 return NULL;
37449}
37450
37451
2f4c0a16 37452static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
37453 PyObject *resultobj;
37454 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37455 wxGBSizerItem *arg2 = 0 ;
37456 bool result;
37457 PyObject * obj0 = 0 ;
37458 PyObject * obj1 = 0 ;
37459
37460 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37461 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37462 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37463 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37464 SWIG_POINTER_EXCEPTION | 0)) == -1)
37465 SWIG_fail;
d14a1e28 37466 if (arg2 == NULL) {
2f4c0a16
RD
37467 PyErr_SetString(PyExc_TypeError,"null reference");
37468 SWIG_fail;
d14a1e28
RD
37469 }
37470 {
37471 PyThreadState* __tstate = wxPyBeginAllowThreads();
37472 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
37473
37474 wxPyEndAllowThreads(__tstate);
37475 if (PyErr_Occurred()) SWIG_fail;
37476 }
fbc46b20
RD
37477 {
37478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37479 }
d14a1e28
RD
37480 return resultobj;
37481 fail:
37482 return NULL;
37483}
37484
37485
2f4c0a16 37486static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
37487 PyObject *resultobj;
37488 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37489 wxGBPosition *arg2 = 0 ;
37490 wxGBSpan *arg3 = 0 ;
37491 bool result;
37492 wxGBPosition temp2 ;
37493 wxGBSpan temp3 ;
37494 PyObject * obj0 = 0 ;
37495 PyObject * obj1 = 0 ;
37496 PyObject * obj2 = 0 ;
37497
37498 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37499 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37500 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37501 {
37502 arg2 = &temp2;
37503 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37504 }
37505 {
37506 arg3 = &temp3;
37507 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37508 }
37509 {
37510 PyThreadState* __tstate = wxPyBeginAllowThreads();
37511 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
37512
37513 wxPyEndAllowThreads(__tstate);
37514 if (PyErr_Occurred()) SWIG_fail;
37515 }
fbc46b20
RD
37516 {
37517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37518 }
d14a1e28
RD
37519 return resultobj;
37520 fail:
37521 return NULL;
37522}
37523
37524
37525static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
37526 int argc;
37527 PyObject *argv[4];
37528 int ii;
37529
37530 argc = PyObject_Length(args);
37531 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
37532 argv[ii] = PyTuple_GetItem(args,ii);
37533 }
37534 if (argc == 2) {
37535 int _v;
37536 {
37537 void *ptr;
2f4c0a16 37538 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
37539 _v = 0;
37540 PyErr_Clear();
37541 } else {
37542 _v = 1;
37543 }
37544 }
37545 if (_v) {
37546 {
37547 void *ptr;
2f4c0a16 37548 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
37549 _v = 0;
37550 PyErr_Clear();
37551 } else {
37552 _v = 1;
37553 }
37554 }
37555 if (_v) {
37556 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
37557 }
37558 }
37559 }
37560 if (argc == 3) {
37561 int _v;
37562 {
37563 void *ptr;
2f4c0a16 37564 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
37565 _v = 0;
37566 PyErr_Clear();
37567 } else {
37568 _v = 1;
37569 }
37570 }
37571 if (_v) {
37572 {
37573 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
37574 }
37575 if (_v) {
37576 {
37577 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37578 }
37579 if (_v) {
37580 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
37581 }
37582 }
37583 }
37584 }
37585
37586 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
37587 return NULL;
37588}
37589
37590
2f4c0a16 37591static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37592 PyObject *resultobj;
37593 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37594 int *arg2 = 0 ;
37595 int *arg3 = 0 ;
37596 PyObject * obj0 = 0 ;
37597 PyObject * obj1 = 0 ;
37598 PyObject * obj2 = 0 ;
37599 char *kwnames[] = {
37600 (char *) "self",(char *) "row",(char *) "col", NULL
37601 };
37602
37603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,
37607 SWIG_POINTER_EXCEPTION | 0)) == -1)
37608 SWIG_fail;
d14a1e28 37609 if (arg2 == NULL) {
2f4c0a16
RD
37610 PyErr_SetString(PyExc_TypeError,"null reference");
37611 SWIG_fail;
d14a1e28 37612 }
2f4c0a16
RD
37613 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,
37614 SWIG_POINTER_EXCEPTION | 0)) == -1)
37615 SWIG_fail;
d14a1e28 37616 if (arg3 == NULL) {
2f4c0a16
RD
37617 PyErr_SetString(PyExc_TypeError,"null reference");
37618 SWIG_fail;
d14a1e28
RD
37619 }
37620 {
37621 PyThreadState* __tstate = wxPyBeginAllowThreads();
37622 (arg1)->GetEndPos(*arg2,*arg3);
37623
37624 wxPyEndAllowThreads(__tstate);
37625 if (PyErr_Occurred()) SWIG_fail;
37626 }
37627 Py_INCREF(Py_None); resultobj = Py_None;
37628 return resultobj;
37629 fail:
37630 return NULL;
37631}
37632
37633
2f4c0a16 37634static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37635 PyObject *resultobj;
37636 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37637 wxGridBagSizer *result;
37638 PyObject * obj0 = 0 ;
37639 char *kwnames[] = {
37640 (char *) "self", NULL
37641 };
37642
37643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37646 {
37647 PyThreadState* __tstate = wxPyBeginAllowThreads();
37648 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
37649
37650 wxPyEndAllowThreads(__tstate);
37651 if (PyErr_Occurred()) SWIG_fail;
37652 }
2f4c0a16 37653 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
37654 return resultobj;
37655 fail:
37656 return NULL;
37657}
37658
37659
2f4c0a16 37660static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37661 PyObject *resultobj;
37662 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
37663 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
37664 PyObject * obj0 = 0 ;
37665 PyObject * obj1 = 0 ;
37666 char *kwnames[] = {
37667 (char *) "self",(char *) "sizer", NULL
37668 };
37669
37670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37671 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
37672 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37673 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
37674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37675 {
37676 PyThreadState* __tstate = wxPyBeginAllowThreads();
37677 (arg1)->SetGBSizer(arg2);
37678
37679 wxPyEndAllowThreads(__tstate);
37680 if (PyErr_Occurred()) SWIG_fail;
37681 }
37682 Py_INCREF(Py_None); resultobj = Py_None;
37683 return resultobj;
37684 fail:
37685 return NULL;
37686}
37687
37688
2f4c0a16 37689static PyObject * GBSizerItem_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
37690 PyObject *obj;
37691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
37692 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
37693 Py_INCREF(obj);
37694 return Py_BuildValue((char *)"");
37695}
2f4c0a16 37696static PyObject *_wrap_new_GridBagSizer(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37697 PyObject *resultobj;
37698 int arg1 = (int) 0 ;
37699 int arg2 = (int) 0 ;
37700 wxGridBagSizer *result;
8edf1c75
RD
37701 PyObject * obj0 = 0 ;
37702 PyObject * obj1 = 0 ;
d14a1e28
RD
37703 char *kwnames[] = {
37704 (char *) "vgap",(char *) "hgap", NULL
37705 };
37706
8edf1c75
RD
37707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
37708 if (obj0) {
2f4c0a16
RD
37709 arg1 = (int) SWIG_AsInt(obj0);
37710 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
37711 }
37712 if (obj1) {
2f4c0a16
RD
37713 arg2 = (int) SWIG_AsInt(obj1);
37714 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37715 }
d14a1e28
RD
37716 {
37717 PyThreadState* __tstate = wxPyBeginAllowThreads();
37718 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
37719
37720 wxPyEndAllowThreads(__tstate);
37721 if (PyErr_Occurred()) SWIG_fail;
37722 }
2f4c0a16 37723 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
37724 return resultobj;
37725 fail:
37726 return NULL;
37727}
37728
37729
2f4c0a16 37730static PyObject *_wrap_GridBagSizer_Add(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37731 PyObject *resultobj;
37732 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37733 PyObject *arg2 = (PyObject *) 0 ;
37734 wxGBPosition *arg3 = 0 ;
37735 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
37736 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
37737 int arg5 = (int) 0 ;
37738 int arg6 = (int) 0 ;
37739 PyObject *arg7 = (PyObject *) NULL ;
37740 bool result;
37741 wxGBPosition temp3 ;
37742 wxGBSpan temp4 ;
37743 PyObject * obj0 = 0 ;
37744 PyObject * obj1 = 0 ;
37745 PyObject * obj2 = 0 ;
37746 PyObject * obj3 = 0 ;
8edf1c75
RD
37747 PyObject * obj4 = 0 ;
37748 PyObject * obj5 = 0 ;
d14a1e28
RD
37749 PyObject * obj6 = 0 ;
37750 char *kwnames[] = {
37751 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37752 };
37753
8edf1c75 37754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
37755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37757 arg2 = obj1;
37758 {
37759 arg3 = &temp3;
37760 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37761 }
37762 if (obj3) {
37763 {
37764 arg4 = &temp4;
37765 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
37766 }
37767 }
8edf1c75 37768 if (obj4) {
2f4c0a16
RD
37769 arg5 = (int) SWIG_AsInt(obj4);
37770 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
37771 }
37772 if (obj5) {
2f4c0a16
RD
37773 arg6 = (int) SWIG_AsInt(obj5);
37774 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 37775 }
d14a1e28
RD
37776 if (obj6) {
37777 arg7 = obj6;
37778 }
37779 {
37780 PyThreadState* __tstate = wxPyBeginAllowThreads();
37781 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
37782
37783 wxPyEndAllowThreads(__tstate);
37784 if (PyErr_Occurred()) SWIG_fail;
37785 }
fbc46b20
RD
37786 {
37787 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37788 }
d14a1e28
RD
37789 return resultobj;
37790 fail:
37791 return NULL;
37792}
37793
37794
2f4c0a16 37795static PyObject *_wrap_GridBagSizer_AddItem(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37796 PyObject *resultobj;
37797 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37798 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
37799 bool result;
37800 PyObject * obj0 = 0 ;
37801 PyObject * obj1 = 0 ;
37802 char *kwnames[] = {
37803 (char *) "self",(char *) "item", NULL
37804 };
37805
37806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37809 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
37810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37811 {
37812 PyThreadState* __tstate = wxPyBeginAllowThreads();
37813 result = (bool)(arg1)->Add(arg2);
37814
37815 wxPyEndAllowThreads(__tstate);
37816 if (PyErr_Occurred()) SWIG_fail;
37817 }
fbc46b20
RD
37818 {
37819 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
37820 }
d14a1e28
RD
37821 return resultobj;
37822 fail:
37823 return NULL;
37824}
37825
37826
2f4c0a16 37827static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37828 PyObject *resultobj;
37829 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37830 wxSize result;
37831 PyObject * obj0 = 0 ;
37832 char *kwnames[] = {
37833 (char *) "self", NULL
37834 };
37835
37836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37839 {
37840 PyThreadState* __tstate = wxPyBeginAllowThreads();
37841 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
37842
37843 wxPyEndAllowThreads(__tstate);
37844 if (PyErr_Occurred()) SWIG_fail;
37845 }
37846 {
37847 wxSize * resultptr;
37848 resultptr = new wxSize((wxSize &) result);
2f4c0a16 37849 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
37850 }
37851 return resultobj;
37852 fail:
37853 return NULL;
37854}
37855
37856
2f4c0a16 37857static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
37858 PyObject *resultobj;
37859 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37860 wxSize *arg2 = 0 ;
37861 wxSize temp2 ;
37862 PyObject * obj0 = 0 ;
37863 PyObject * obj1 = 0 ;
37864 char *kwnames[] = {
37865 (char *) "self",(char *) "sz", NULL
37866 };
37867
37868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37871 {
37872 arg2 = &temp2;
37873 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
37874 }
37875 {
37876 PyThreadState* __tstate = wxPyBeginAllowThreads();
37877 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
37878
37879 wxPyEndAllowThreads(__tstate);
37880 if (PyErr_Occurred()) SWIG_fail;
37881 }
37882 Py_INCREF(Py_None); resultobj = Py_None;
37883 return resultobj;
37884 fail:
37885 return NULL;
37886}
37887
37888
2f4c0a16 37889static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
37890 PyObject *resultobj;
37891 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37892 wxWindow *arg2 = (wxWindow *) 0 ;
37893 wxGBPosition result;
37894 PyObject * obj0 = 0 ;
37895 PyObject * obj1 = 0 ;
37896
37897 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37900 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37902 {
37903 PyThreadState* __tstate = wxPyBeginAllowThreads();
37904 result = (arg1)->GetItemPosition(arg2);
37905
37906 wxPyEndAllowThreads(__tstate);
37907 if (PyErr_Occurred()) SWIG_fail;
37908 }
37909 {
37910 wxGBPosition * resultptr;
37911 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 37912 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37913 }
37914 return resultobj;
37915 fail:
37916 return NULL;
37917}
37918
37919
2f4c0a16 37920static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
37921 PyObject *resultobj;
37922 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37923 wxSizer *arg2 = (wxSizer *) 0 ;
37924 wxGBPosition result;
37925 PyObject * obj0 = 0 ;
37926 PyObject * obj1 = 0 ;
37927
37928 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37929 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37930 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37931 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37933 {
37934 PyThreadState* __tstate = wxPyBeginAllowThreads();
37935 result = (arg1)->GetItemPosition(arg2);
37936
37937 wxPyEndAllowThreads(__tstate);
37938 if (PyErr_Occurred()) SWIG_fail;
37939 }
37940 {
37941 wxGBPosition * resultptr;
37942 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 37943 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37944 }
37945 return resultobj;
37946 fail:
37947 return NULL;
37948}
37949
37950
2f4c0a16 37951static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
37952 PyObject *resultobj;
37953 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37954 size_t arg2 ;
37955 wxGBPosition result;
37956 PyObject * obj0 = 0 ;
37957 PyObject * obj1 = 0 ;
37958
37959 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37962 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37963 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37964 {
37965 PyThreadState* __tstate = wxPyBeginAllowThreads();
37966 result = (arg1)->GetItemPosition(arg2);
37967
37968 wxPyEndAllowThreads(__tstate);
37969 if (PyErr_Occurred()) SWIG_fail;
37970 }
37971 {
37972 wxGBPosition * resultptr;
37973 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 37974 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37975 }
37976 return resultobj;
37977 fail:
37978 return NULL;
37979}
37980
37981
37982static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
37983 int argc;
37984 PyObject *argv[3];
37985 int ii;
37986
37987 argc = PyObject_Length(args);
37988 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37989 argv[ii] = PyTuple_GetItem(args,ii);
37990 }
37991 if (argc == 2) {
37992 int _v;
37993 {
37994 void *ptr;
2f4c0a16 37995 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37996 _v = 0;
37997 PyErr_Clear();
37998 } else {
37999 _v = 1;
38000 }
38001 }
38002 if (_v) {
38003 {
38004 void *ptr;
2f4c0a16 38005 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38006 _v = 0;
38007 PyErr_Clear();
38008 } else {
38009 _v = 1;
38010 }
38011 }
38012 if (_v) {
38013 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
38014 }
38015 }
38016 }
38017 if (argc == 2) {
38018 int _v;
38019 {
38020 void *ptr;
2f4c0a16 38021 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38022 _v = 0;
38023 PyErr_Clear();
38024 } else {
38025 _v = 1;
38026 }
38027 }
38028 if (_v) {
38029 {
38030 void *ptr;
2f4c0a16 38031 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38032 _v = 0;
38033 PyErr_Clear();
38034 } else {
38035 _v = 1;
38036 }
38037 }
38038 if (_v) {
38039 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
38040 }
38041 }
38042 }
38043 if (argc == 2) {
38044 int _v;
38045 {
38046 void *ptr;
2f4c0a16 38047 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38048 _v = 0;
38049 PyErr_Clear();
38050 } else {
38051 _v = 1;
38052 }
38053 }
38054 if (_v) {
2f4c0a16 38055 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38056 if (_v) {
38057 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
38058 }
38059 }
38060 }
38061
38062 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38063 return NULL;
38064}
38065
38066
2f4c0a16 38067static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
38068 PyObject *resultobj;
38069 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38070 wxWindow *arg2 = (wxWindow *) 0 ;
38071 wxGBPosition *arg3 = 0 ;
38072 bool result;
38073 wxGBPosition temp3 ;
38074 PyObject * obj0 = 0 ;
38075 PyObject * obj1 = 0 ;
38076 PyObject * obj2 = 0 ;
38077
38078 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38081 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38083 {
38084 arg3 = &temp3;
38085 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38086 }
38087 {
38088 PyThreadState* __tstate = wxPyBeginAllowThreads();
38089 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38090
38091 wxPyEndAllowThreads(__tstate);
38092 if (PyErr_Occurred()) SWIG_fail;
38093 }
fbc46b20
RD
38094 {
38095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38096 }
d14a1e28
RD
38097 return resultobj;
38098 fail:
38099 return NULL;
38100}
38101
38102
2f4c0a16 38103static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
38104 PyObject *resultobj;
38105 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38106 wxSizer *arg2 = (wxSizer *) 0 ;
38107 wxGBPosition *arg3 = 0 ;
38108 bool result;
38109 wxGBPosition temp3 ;
38110 PyObject * obj0 = 0 ;
38111 PyObject * obj1 = 0 ;
38112 PyObject * obj2 = 0 ;
38113
38114 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38115 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38116 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38117 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38119 {
38120 arg3 = &temp3;
38121 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38122 }
38123 {
38124 PyThreadState* __tstate = wxPyBeginAllowThreads();
38125 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38126
38127 wxPyEndAllowThreads(__tstate);
38128 if (PyErr_Occurred()) SWIG_fail;
38129 }
fbc46b20
RD
38130 {
38131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38132 }
d14a1e28
RD
38133 return resultobj;
38134 fail:
38135 return NULL;
38136}
38137
38138
2f4c0a16 38139static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
38140 PyObject *resultobj;
38141 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38142 size_t arg2 ;
38143 wxGBPosition *arg3 = 0 ;
38144 bool result;
38145 wxGBPosition temp3 ;
38146 PyObject * obj0 = 0 ;
38147 PyObject * obj1 = 0 ;
38148 PyObject * obj2 = 0 ;
38149
38150 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38153 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38155 {
38156 arg3 = &temp3;
38157 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
38158 }
38159 {
38160 PyThreadState* __tstate = wxPyBeginAllowThreads();
38161 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
38162
38163 wxPyEndAllowThreads(__tstate);
38164 if (PyErr_Occurred()) SWIG_fail;
38165 }
fbc46b20
RD
38166 {
38167 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38168 }
d14a1e28
RD
38169 return resultobj;
38170 fail:
38171 return NULL;
38172}
38173
38174
38175static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
38176 int argc;
38177 PyObject *argv[4];
38178 int ii;
38179
38180 argc = PyObject_Length(args);
38181 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38182 argv[ii] = PyTuple_GetItem(args,ii);
38183 }
38184 if (argc == 3) {
38185 int _v;
38186 {
38187 void *ptr;
2f4c0a16 38188 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38189 _v = 0;
38190 PyErr_Clear();
38191 } else {
38192 _v = 1;
38193 }
38194 }
38195 if (_v) {
38196 {
38197 void *ptr;
2f4c0a16 38198 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38199 _v = 0;
38200 PyErr_Clear();
38201 } else {
38202 _v = 1;
38203 }
38204 }
38205 if (_v) {
38206 {
38207 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38208 }
38209 if (_v) {
38210 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
38211 }
38212 }
38213 }
38214 }
38215 if (argc == 3) {
38216 int _v;
38217 {
38218 void *ptr;
2f4c0a16 38219 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38220 _v = 0;
38221 PyErr_Clear();
38222 } else {
38223 _v = 1;
38224 }
38225 }
38226 if (_v) {
38227 {
38228 void *ptr;
2f4c0a16 38229 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38230 _v = 0;
38231 PyErr_Clear();
38232 } else {
38233 _v = 1;
38234 }
38235 }
38236 if (_v) {
38237 {
38238 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38239 }
38240 if (_v) {
38241 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
38242 }
38243 }
38244 }
38245 }
38246 if (argc == 3) {
38247 int _v;
38248 {
38249 void *ptr;
2f4c0a16 38250 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38251 _v = 0;
38252 PyErr_Clear();
38253 } else {
38254 _v = 1;
38255 }
38256 }
38257 if (_v) {
2f4c0a16 38258 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38259 if (_v) {
38260 {
38261 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
38262 }
38263 if (_v) {
38264 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
38265 }
38266 }
38267 }
38268 }
38269
38270 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38271 return NULL;
38272}
38273
38274
2f4c0a16 38275static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
38276 PyObject *resultobj;
38277 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38278 wxWindow *arg2 = (wxWindow *) 0 ;
38279 wxGBSpan result;
38280 PyObject * obj0 = 0 ;
38281 PyObject * obj1 = 0 ;
38282
38283 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
2f4c0a16
RD
38284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38286 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38288 {
38289 PyThreadState* __tstate = wxPyBeginAllowThreads();
38290 result = (arg1)->GetItemSpan(arg2);
38291
38292 wxPyEndAllowThreads(__tstate);
38293 if (PyErr_Occurred()) SWIG_fail;
38294 }
38295 {
38296 wxGBSpan * resultptr;
38297 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 38298 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38299 }
38300 return resultobj;
38301 fail:
38302 return NULL;
38303}
38304
38305
2f4c0a16 38306static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
38307 PyObject *resultobj;
38308 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38309 wxSizer *arg2 = (wxSizer *) 0 ;
38310 wxGBSpan result;
38311 PyObject * obj0 = 0 ;
38312 PyObject * obj1 = 0 ;
38313
38314 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
2f4c0a16
RD
38315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38317 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38319 {
38320 PyThreadState* __tstate = wxPyBeginAllowThreads();
38321 result = (arg1)->GetItemSpan(arg2);
38322
38323 wxPyEndAllowThreads(__tstate);
38324 if (PyErr_Occurred()) SWIG_fail;
38325 }
38326 {
38327 wxGBSpan * resultptr;
38328 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 38329 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38330 }
38331 return resultobj;
38332 fail:
38333 return NULL;
38334}
38335
38336
2f4c0a16 38337static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
38338 PyObject *resultobj;
38339 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38340 size_t arg2 ;
38341 wxGBSpan result;
38342 PyObject * obj0 = 0 ;
38343 PyObject * obj1 = 0 ;
38344
38345 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
2f4c0a16
RD
38346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38348 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38349 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38350 {
38351 PyThreadState* __tstate = wxPyBeginAllowThreads();
38352 result = (arg1)->GetItemSpan(arg2);
38353
38354 wxPyEndAllowThreads(__tstate);
38355 if (PyErr_Occurred()) SWIG_fail;
38356 }
38357 {
38358 wxGBSpan * resultptr;
38359 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 38360 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
38361 }
38362 return resultobj;
38363 fail:
38364 return NULL;
38365}
38366
38367
38368static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
38369 int argc;
38370 PyObject *argv[3];
38371 int ii;
38372
38373 argc = PyObject_Length(args);
38374 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38375 argv[ii] = PyTuple_GetItem(args,ii);
38376 }
38377 if (argc == 2) {
38378 int _v;
38379 {
38380 void *ptr;
2f4c0a16 38381 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38382 _v = 0;
38383 PyErr_Clear();
38384 } else {
38385 _v = 1;
38386 }
38387 }
38388 if (_v) {
38389 {
38390 void *ptr;
2f4c0a16 38391 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38392 _v = 0;
38393 PyErr_Clear();
38394 } else {
38395 _v = 1;
38396 }
38397 }
38398 if (_v) {
38399 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
38400 }
38401 }
38402 }
38403 if (argc == 2) {
38404 int _v;
38405 {
38406 void *ptr;
2f4c0a16 38407 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38408 _v = 0;
38409 PyErr_Clear();
38410 } else {
38411 _v = 1;
38412 }
38413 }
38414 if (_v) {
38415 {
38416 void *ptr;
2f4c0a16 38417 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38418 _v = 0;
38419 PyErr_Clear();
38420 } else {
38421 _v = 1;
38422 }
38423 }
38424 if (_v) {
38425 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
38426 }
38427 }
38428 }
38429 if (argc == 2) {
38430 int _v;
38431 {
38432 void *ptr;
2f4c0a16 38433 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38434 _v = 0;
38435 PyErr_Clear();
38436 } else {
38437 _v = 1;
38438 }
38439 }
38440 if (_v) {
2f4c0a16 38441 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38442 if (_v) {
38443 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
38444 }
38445 }
38446 }
38447
38448 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38449 return NULL;
38450}
38451
38452
2f4c0a16 38453static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
38454 PyObject *resultobj;
38455 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38456 wxWindow *arg2 = (wxWindow *) 0 ;
38457 wxGBSpan *arg3 = 0 ;
38458 bool result;
38459 wxGBSpan temp3 ;
38460 PyObject * obj0 = 0 ;
38461 PyObject * obj1 = 0 ;
38462 PyObject * obj2 = 0 ;
38463
38464 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38467 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38468 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38469 {
38470 arg3 = &temp3;
38471 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38472 }
38473 {
38474 PyThreadState* __tstate = wxPyBeginAllowThreads();
38475 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38476
38477 wxPyEndAllowThreads(__tstate);
38478 if (PyErr_Occurred()) SWIG_fail;
38479 }
fbc46b20
RD
38480 {
38481 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38482 }
d14a1e28
RD
38483 return resultobj;
38484 fail:
38485 return NULL;
38486}
38487
38488
2f4c0a16 38489static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
38490 PyObject *resultobj;
38491 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38492 wxSizer *arg2 = (wxSizer *) 0 ;
38493 wxGBSpan *arg3 = 0 ;
38494 bool result;
38495 wxGBSpan temp3 ;
38496 PyObject * obj0 = 0 ;
38497 PyObject * obj1 = 0 ;
38498 PyObject * obj2 = 0 ;
38499
38500 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38503 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38505 {
38506 arg3 = &temp3;
38507 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38508 }
38509 {
38510 PyThreadState* __tstate = wxPyBeginAllowThreads();
38511 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38512
38513 wxPyEndAllowThreads(__tstate);
38514 if (PyErr_Occurred()) SWIG_fail;
38515 }
fbc46b20
RD
38516 {
38517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38518 }
d14a1e28
RD
38519 return resultobj;
38520 fail:
38521 return NULL;
38522}
38523
38524
2f4c0a16 38525static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *, PyObject *args) {
d14a1e28
RD
38526 PyObject *resultobj;
38527 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38528 size_t arg2 ;
38529 wxGBSpan *arg3 = 0 ;
38530 bool result;
38531 wxGBSpan temp3 ;
38532 PyObject * obj0 = 0 ;
38533 PyObject * obj1 = 0 ;
38534 PyObject * obj2 = 0 ;
38535
38536 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38537 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38538 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38539 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
38540 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38541 {
38542 arg3 = &temp3;
38543 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38544 }
38545 {
38546 PyThreadState* __tstate = wxPyBeginAllowThreads();
38547 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
38548
38549 wxPyEndAllowThreads(__tstate);
38550 if (PyErr_Occurred()) SWIG_fail;
38551 }
fbc46b20
RD
38552 {
38553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38554 }
d14a1e28
RD
38555 return resultobj;
38556 fail:
38557 return NULL;
38558}
38559
38560
38561static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
38562 int argc;
38563 PyObject *argv[4];
38564 int ii;
38565
38566 argc = PyObject_Length(args);
38567 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
38568 argv[ii] = PyTuple_GetItem(args,ii);
38569 }
38570 if (argc == 3) {
38571 int _v;
38572 {
38573 void *ptr;
2f4c0a16 38574 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38575 _v = 0;
38576 PyErr_Clear();
38577 } else {
38578 _v = 1;
38579 }
38580 }
38581 if (_v) {
38582 {
38583 void *ptr;
2f4c0a16 38584 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38585 _v = 0;
38586 PyErr_Clear();
38587 } else {
38588 _v = 1;
38589 }
38590 }
38591 if (_v) {
38592 {
38593 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38594 }
38595 if (_v) {
38596 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
38597 }
38598 }
38599 }
38600 }
38601 if (argc == 3) {
38602 int _v;
38603 {
38604 void *ptr;
2f4c0a16 38605 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38606 _v = 0;
38607 PyErr_Clear();
38608 } else {
38609 _v = 1;
38610 }
38611 }
38612 if (_v) {
38613 {
38614 void *ptr;
2f4c0a16 38615 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38616 _v = 0;
38617 PyErr_Clear();
38618 } else {
38619 _v = 1;
38620 }
38621 }
38622 if (_v) {
38623 {
38624 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38625 }
38626 if (_v) {
38627 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
38628 }
38629 }
38630 }
38631 }
38632 if (argc == 3) {
38633 int _v;
38634 {
38635 void *ptr;
2f4c0a16 38636 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38637 _v = 0;
38638 PyErr_Clear();
38639 } else {
38640 _v = 1;
38641 }
38642 }
38643 if (_v) {
2f4c0a16 38644 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
38645 if (_v) {
38646 {
38647 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38648 }
38649 if (_v) {
38650 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
38651 }
38652 }
38653 }
38654 }
38655
38656 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38657 return NULL;
38658}
38659
38660
2f4c0a16 38661static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
38662 PyObject *resultobj;
38663 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38664 wxWindow *arg2 = (wxWindow *) 0 ;
38665 wxGBSizerItem *result;
38666 PyObject * obj0 = 0 ;
38667 PyObject * obj1 = 0 ;
38668
38669 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
2f4c0a16
RD
38670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38672 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38673 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38674 {
38675 PyThreadState* __tstate = wxPyBeginAllowThreads();
38676 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38677
38678 wxPyEndAllowThreads(__tstate);
38679 if (PyErr_Occurred()) SWIG_fail;
38680 }
2f4c0a16 38681 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38682 return resultobj;
38683 fail:
38684 return NULL;
38685}
38686
38687
2f4c0a16 38688static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
38689 PyObject *resultobj;
38690 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38691 wxSizer *arg2 = (wxSizer *) 0 ;
38692 wxGBSizerItem *result;
38693 PyObject * obj0 = 0 ;
38694 PyObject * obj1 = 0 ;
38695
38696 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
2f4c0a16
RD
38697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38699 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
38700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38701 {
38702 PyThreadState* __tstate = wxPyBeginAllowThreads();
38703 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
38704
38705 wxPyEndAllowThreads(__tstate);
38706 if (PyErr_Occurred()) SWIG_fail;
38707 }
2f4c0a16 38708 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38709 return resultobj;
38710 fail:
38711 return NULL;
38712}
38713
38714
38715static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
38716 int argc;
38717 PyObject *argv[3];
38718 int ii;
38719
38720 argc = PyObject_Length(args);
38721 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
38722 argv[ii] = PyTuple_GetItem(args,ii);
38723 }
38724 if (argc == 2) {
38725 int _v;
38726 {
38727 void *ptr;
2f4c0a16 38728 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38729 _v = 0;
38730 PyErr_Clear();
38731 } else {
38732 _v = 1;
38733 }
38734 }
38735 if (_v) {
38736 {
38737 void *ptr;
2f4c0a16 38738 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
38739 _v = 0;
38740 PyErr_Clear();
38741 } else {
38742 _v = 1;
38743 }
38744 }
38745 if (_v) {
38746 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
38747 }
38748 }
38749 }
38750 if (argc == 2) {
38751 int _v;
38752 {
38753 void *ptr;
2f4c0a16 38754 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38755 _v = 0;
38756 PyErr_Clear();
38757 } else {
38758 _v = 1;
38759 }
38760 }
38761 if (_v) {
38762 {
38763 void *ptr;
2f4c0a16 38764 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
38765 _v = 0;
38766 PyErr_Clear();
38767 } else {
38768 _v = 1;
38769 }
38770 }
38771 if (_v) {
38772 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
38773 }
38774 }
38775 }
38776
38777 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
38778 return NULL;
38779}
38780
38781
2f4c0a16 38782static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38783 PyObject *resultobj;
38784 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38785 wxGBPosition *arg2 = 0 ;
38786 wxGBSizerItem *result;
38787 wxGBPosition temp2 ;
38788 PyObject * obj0 = 0 ;
38789 PyObject * obj1 = 0 ;
38790 char *kwnames[] = {
38791 (char *) "self",(char *) "pos", NULL
38792 };
38793
38794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38797 {
38798 arg2 = &temp2;
38799 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38800 }
38801 {
38802 PyThreadState* __tstate = wxPyBeginAllowThreads();
38803 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
38804
38805 wxPyEndAllowThreads(__tstate);
38806 if (PyErr_Occurred()) SWIG_fail;
38807 }
2f4c0a16 38808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38809 return resultobj;
38810 fail:
38811 return NULL;
38812}
38813
38814
2f4c0a16 38815static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *, PyObject *args, PyObject *kwargs) {
423f194a
RD
38816 PyObject *resultobj;
38817 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38818 wxPoint *arg2 = 0 ;
38819 wxGBSizerItem *result;
38820 wxPoint temp2 ;
38821 PyObject * obj0 = 0 ;
38822 PyObject * obj1 = 0 ;
38823 char *kwnames[] = {
38824 (char *) "self",(char *) "pt", NULL
38825 };
38826
38827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38828 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38829 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
38830 {
38831 arg2 = &temp2;
38832 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
38833 }
38834 {
38835 PyThreadState* __tstate = wxPyBeginAllowThreads();
38836 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
38837
38838 wxPyEndAllowThreads(__tstate);
38839 if (PyErr_Occurred()) SWIG_fail;
38840 }
2f4c0a16 38841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
423f194a
RD
38842 return resultobj;
38843 fail:
38844 return NULL;
38845}
38846
38847
2f4c0a16 38848static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38849 PyObject *resultobj;
38850 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38851 wxObject *arg2 = (wxObject *) 0 ;
38852 wxGBSizerItem *result;
38853 PyObject * obj0 = 0 ;
38854 PyObject * obj1 = 0 ;
38855 char *kwnames[] = {
38856 (char *) "self",(char *) "userData", NULL
38857 };
38858
38859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38860 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38861 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38862 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
38863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38864 {
38865 PyThreadState* __tstate = wxPyBeginAllowThreads();
38866 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
38867
38868 wxPyEndAllowThreads(__tstate);
38869 if (PyErr_Occurred()) SWIG_fail;
38870 }
2f4c0a16 38871 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
38872 return resultobj;
38873 fail:
38874 return NULL;
38875}
38876
38877
2f4c0a16 38878static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38879 PyObject *resultobj;
38880 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38881 PyObject * obj0 = 0 ;
38882 char *kwnames[] = {
38883 (char *) "self", NULL
38884 };
38885
38886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38887 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38888 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38889 {
38890 PyThreadState* __tstate = wxPyBeginAllowThreads();
38891 (arg1)->RecalcSizes();
38892
38893 wxPyEndAllowThreads(__tstate);
38894 if (PyErr_Occurred()) SWIG_fail;
38895 }
38896 Py_INCREF(Py_None); resultobj = Py_None;
38897 return resultobj;
38898 fail:
38899 return NULL;
38900}
38901
38902
2f4c0a16 38903static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
38904 PyObject *resultobj;
38905 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38906 wxSize result;
38907 PyObject * obj0 = 0 ;
38908 char *kwnames[] = {
38909 (char *) "self", NULL
38910 };
38911
38912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38915 {
38916 PyThreadState* __tstate = wxPyBeginAllowThreads();
38917 result = (arg1)->CalcMin();
38918
38919 wxPyEndAllowThreads(__tstate);
38920 if (PyErr_Occurred()) SWIG_fail;
38921 }
38922 {
38923 wxSize * resultptr;
38924 resultptr = new wxSize((wxSize &) result);
2f4c0a16 38925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
38926 }
38927 return resultobj;
38928 fail:
38929 return NULL;
38930}
38931
38932
2f4c0a16 38933static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *, PyObject *args) {
d14a1e28
RD
38934 PyObject *resultobj;
38935 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38936 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
38937 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
38938 bool result;
38939 PyObject * obj0 = 0 ;
38940 PyObject * obj1 = 0 ;
38941 PyObject * obj2 = 0 ;
38942
38943 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38944 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38945 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38946 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38947 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 38948 if (obj2) {
2f4c0a16
RD
38949 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
38950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38951 }
38952 {
38953 PyThreadState* __tstate = wxPyBeginAllowThreads();
38954 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
38955
38956 wxPyEndAllowThreads(__tstate);
38957 if (PyErr_Occurred()) SWIG_fail;
38958 }
fbc46b20
RD
38959 {
38960 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
38961 }
d14a1e28
RD
38962 return resultobj;
38963 fail:
38964 return NULL;
38965}
38966
38967
2f4c0a16 38968static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *, PyObject *args) {
d14a1e28
RD
38969 PyObject *resultobj;
38970 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38971 wxGBPosition *arg2 = 0 ;
38972 wxGBSpan *arg3 = 0 ;
38973 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
38974 bool result;
38975 wxGBPosition temp2 ;
38976 wxGBSpan temp3 ;
38977 PyObject * obj0 = 0 ;
38978 PyObject * obj1 = 0 ;
38979 PyObject * obj2 = 0 ;
38980 PyObject * obj3 = 0 ;
38981
38982 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
38983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38985 {
38986 arg2 = &temp2;
38987 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38988 }
38989 {
38990 arg3 = &temp3;
38991 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38992 }
38993 if (obj3) {
2f4c0a16
RD
38994 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
38995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38996 }
38997 {
38998 PyThreadState* __tstate = wxPyBeginAllowThreads();
38999 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
39000
39001 wxPyEndAllowThreads(__tstate);
39002 if (PyErr_Occurred()) SWIG_fail;
39003 }
fbc46b20
RD
39004 {
39005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39006 }
d14a1e28
RD
39007 return resultobj;
39008 fail:
39009 return NULL;
39010}
39011
39012
39013static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
39014 int argc;
39015 PyObject *argv[5];
39016 int ii;
39017
39018 argc = PyObject_Length(args);
39019 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
39020 argv[ii] = PyTuple_GetItem(args,ii);
39021 }
39022 if ((argc >= 2) && (argc <= 3)) {
39023 int _v;
39024 {
39025 void *ptr;
2f4c0a16 39026 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39027 _v = 0;
39028 PyErr_Clear();
39029 } else {
39030 _v = 1;
39031 }
39032 }
39033 if (_v) {
39034 {
39035 void *ptr;
2f4c0a16 39036 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
39037 _v = 0;
39038 PyErr_Clear();
39039 } else {
39040 _v = 1;
39041 }
39042 }
39043 if (_v) {
39044 if (argc <= 2) {
39045 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
39046 }
39047 {
39048 void *ptr;
2f4c0a16 39049 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
39050 _v = 0;
39051 PyErr_Clear();
39052 } else {
39053 _v = 1;
39054 }
39055 }
39056 if (_v) {
39057 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
39058 }
39059 }
39060 }
39061 }
39062 if ((argc >= 3) && (argc <= 4)) {
39063 int _v;
39064 {
39065 void *ptr;
2f4c0a16 39066 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
39067 _v = 0;
39068 PyErr_Clear();
39069 } else {
39070 _v = 1;
39071 }
39072 }
39073 if (_v) {
39074 {
39075 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
39076 }
39077 if (_v) {
39078 {
39079 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
39080 }
39081 if (_v) {
39082 if (argc <= 3) {
39083 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
39084 }
39085 {
39086 void *ptr;
2f4c0a16 39087 if (SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
39088 _v = 0;
39089 PyErr_Clear();
39090 } else {
39091 _v = 1;
39092 }
39093 }
39094 if (_v) {
39095 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
39096 }
39097 }
39098 }
39099 }
39100 }
39101
39102 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39103 return NULL;
39104}
39105
39106
2f4c0a16 39107static PyObject * GridBagSizer_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
39108 PyObject *obj;
39109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39110 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
39111 Py_INCREF(obj);
39112 return Py_BuildValue((char *)"");
39113}
2f4c0a16 39114static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39115 PyObject *resultobj;
39116 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39117 int arg2 ;
39118 wxWindow *arg3 = (wxWindow *) 0 ;
39119 int arg4 ;
39120 int arg5 = (int) 0 ;
39121 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
39122 PyObject * obj0 = 0 ;
8edf1c75 39123 PyObject * obj1 = 0 ;
d14a1e28 39124 PyObject * obj2 = 0 ;
8edf1c75
RD
39125 PyObject * obj3 = 0 ;
39126 PyObject * obj4 = 0 ;
39127 PyObject * obj5 = 0 ;
d14a1e28
RD
39128 char *kwnames[] = {
39129 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39130 };
39131
8edf1c75 39132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
39133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39135 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39136 if (PyErr_Occurred()) SWIG_fail;
39137 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39138 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39139 arg4 = (wxEdge) SWIG_AsInt(obj3);
39140 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39141 if (obj4) {
2f4c0a16
RD
39142 arg5 = (int) SWIG_AsInt(obj4);
39143 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
39144 }
39145 if (obj5) {
2f4c0a16
RD
39146 arg6 = (int) SWIG_AsInt(obj5);
39147 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39148 }
d14a1e28
RD
39149 {
39150 PyThreadState* __tstate = wxPyBeginAllowThreads();
39151 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
39152
39153 wxPyEndAllowThreads(__tstate);
39154 if (PyErr_Occurred()) SWIG_fail;
39155 }
39156 Py_INCREF(Py_None); resultobj = Py_None;
39157 return resultobj;
39158 fail:
39159 return NULL;
39160}
39161
39162
2f4c0a16 39163static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39164 PyObject *resultobj;
39165 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39166 wxWindow *arg2 = (wxWindow *) 0 ;
39167 int arg3 = (int) 0 ;
39168 PyObject * obj0 = 0 ;
39169 PyObject * obj1 = 0 ;
8edf1c75 39170 PyObject * obj2 = 0 ;
d14a1e28
RD
39171 char *kwnames[] = {
39172 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39173 };
39174
8edf1c75 39175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
39176 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39177 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39178 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39179 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 39180 if (obj2) {
2f4c0a16
RD
39181 arg3 = (int) SWIG_AsInt(obj2);
39182 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39183 }
d14a1e28
RD
39184 {
39185 PyThreadState* __tstate = wxPyBeginAllowThreads();
39186 (arg1)->LeftOf(arg2,arg3);
39187
39188 wxPyEndAllowThreads(__tstate);
39189 if (PyErr_Occurred()) SWIG_fail;
39190 }
39191 Py_INCREF(Py_None); resultobj = Py_None;
39192 return resultobj;
39193 fail:
39194 return NULL;
39195}
39196
39197
2f4c0a16 39198static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39199 PyObject *resultobj;
39200 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39201 wxWindow *arg2 = (wxWindow *) 0 ;
39202 int arg3 = (int) 0 ;
39203 PyObject * obj0 = 0 ;
39204 PyObject * obj1 = 0 ;
8edf1c75 39205 PyObject * obj2 = 0 ;
d14a1e28
RD
39206 char *kwnames[] = {
39207 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39208 };
39209
8edf1c75 39210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
39211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39213 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39214 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 39215 if (obj2) {
2f4c0a16
RD
39216 arg3 = (int) SWIG_AsInt(obj2);
39217 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39218 }
d14a1e28
RD
39219 {
39220 PyThreadState* __tstate = wxPyBeginAllowThreads();
39221 (arg1)->RightOf(arg2,arg3);
39222
39223 wxPyEndAllowThreads(__tstate);
39224 if (PyErr_Occurred()) SWIG_fail;
39225 }
39226 Py_INCREF(Py_None); resultobj = Py_None;
39227 return resultobj;
39228 fail:
39229 return NULL;
39230}
39231
39232
2f4c0a16 39233static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39234 PyObject *resultobj;
39235 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39236 wxWindow *arg2 = (wxWindow *) 0 ;
39237 int arg3 = (int) 0 ;
39238 PyObject * obj0 = 0 ;
39239 PyObject * obj1 = 0 ;
8edf1c75 39240 PyObject * obj2 = 0 ;
d14a1e28
RD
39241 char *kwnames[] = {
39242 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39243 };
39244
8edf1c75 39245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
39246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39248 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39249 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 39250 if (obj2) {
2f4c0a16
RD
39251 arg3 = (int) SWIG_AsInt(obj2);
39252 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39253 }
d14a1e28
RD
39254 {
39255 PyThreadState* __tstate = wxPyBeginAllowThreads();
39256 (arg1)->Above(arg2,arg3);
39257
39258 wxPyEndAllowThreads(__tstate);
39259 if (PyErr_Occurred()) SWIG_fail;
39260 }
39261 Py_INCREF(Py_None); resultobj = Py_None;
39262 return resultobj;
39263 fail:
39264 return NULL;
39265}
39266
39267
2f4c0a16 39268static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39269 PyObject *resultobj;
39270 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39271 wxWindow *arg2 = (wxWindow *) 0 ;
39272 int arg3 = (int) 0 ;
39273 PyObject * obj0 = 0 ;
39274 PyObject * obj1 = 0 ;
8edf1c75 39275 PyObject * obj2 = 0 ;
d14a1e28
RD
39276 char *kwnames[] = {
39277 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39278 };
39279
8edf1c75 39280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
39281 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39283 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 39285 if (obj2) {
2f4c0a16
RD
39286 arg3 = (int) SWIG_AsInt(obj2);
39287 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39288 }
d14a1e28
RD
39289 {
39290 PyThreadState* __tstate = wxPyBeginAllowThreads();
39291 (arg1)->Below(arg2,arg3);
39292
39293 wxPyEndAllowThreads(__tstate);
39294 if (PyErr_Occurred()) SWIG_fail;
39295 }
39296 Py_INCREF(Py_None); resultobj = Py_None;
39297 return resultobj;
39298 fail:
39299 return NULL;
39300}
39301
39302
2f4c0a16 39303static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39304 PyObject *resultobj;
39305 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39306 wxWindow *arg2 = (wxWindow *) 0 ;
39307 int arg3 ;
39308 int arg4 = (int) 0 ;
39309 PyObject * obj0 = 0 ;
39310 PyObject * obj1 = 0 ;
8edf1c75
RD
39311 PyObject * obj2 = 0 ;
39312 PyObject * obj3 = 0 ;
d14a1e28
RD
39313 char *kwnames[] = {
39314 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39315 };
39316
8edf1c75 39317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
39318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39320 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39322 arg3 = (wxEdge) SWIG_AsInt(obj2);
39323 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39324 if (obj3) {
2f4c0a16
RD
39325 arg4 = (int) SWIG_AsInt(obj3);
39326 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 39327 }
d14a1e28
RD
39328 {
39329 PyThreadState* __tstate = wxPyBeginAllowThreads();
39330 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
39331
39332 wxPyEndAllowThreads(__tstate);
39333 if (PyErr_Occurred()) SWIG_fail;
39334 }
39335 Py_INCREF(Py_None); resultobj = Py_None;
39336 return resultobj;
39337 fail:
39338 return NULL;
39339}
39340
39341
2f4c0a16 39342static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39343 PyObject *resultobj;
39344 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39345 wxWindow *arg2 = (wxWindow *) 0 ;
39346 int arg3 ;
39347 int arg4 ;
39348 PyObject * obj0 = 0 ;
39349 PyObject * obj1 = 0 ;
8edf1c75
RD
39350 PyObject * obj2 = 0 ;
39351 PyObject * obj3 = 0 ;
d14a1e28
RD
39352 char *kwnames[] = {
39353 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39354 };
39355
8edf1c75 39356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
39357 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39358 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39359 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39361 arg3 = (wxEdge) SWIG_AsInt(obj2);
39362 if (PyErr_Occurred()) SWIG_fail;
39363 arg4 = (int) SWIG_AsInt(obj3);
39364 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39365 {
39366 PyThreadState* __tstate = wxPyBeginAllowThreads();
39367 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
39368
39369 wxPyEndAllowThreads(__tstate);
39370 if (PyErr_Occurred()) SWIG_fail;
39371 }
39372 Py_INCREF(Py_None); resultobj = Py_None;
39373 return resultobj;
39374 fail:
39375 return NULL;
39376}
39377
39378
2f4c0a16 39379static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39380 PyObject *resultobj;
39381 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39382 int arg2 ;
39383 PyObject * obj0 = 0 ;
8edf1c75 39384 PyObject * obj1 = 0 ;
d14a1e28
RD
39385 char *kwnames[] = {
39386 (char *) "self",(char *) "val", NULL
39387 };
39388
8edf1c75 39389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
39390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39392 arg2 = (int) SWIG_AsInt(obj1);
39393 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39394 {
39395 PyThreadState* __tstate = wxPyBeginAllowThreads();
39396 (arg1)->Absolute(arg2);
39397
39398 wxPyEndAllowThreads(__tstate);
39399 if (PyErr_Occurred()) SWIG_fail;
39400 }
39401 Py_INCREF(Py_None); resultobj = Py_None;
39402 return resultobj;
39403 fail:
39404 return NULL;
39405}
39406
39407
2f4c0a16 39408static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39409 PyObject *resultobj;
39410 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39411 PyObject * obj0 = 0 ;
39412 char *kwnames[] = {
39413 (char *) "self", NULL
39414 };
39415
39416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39417 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39418 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39419 {
39420 PyThreadState* __tstate = wxPyBeginAllowThreads();
39421 (arg1)->Unconstrained();
39422
39423 wxPyEndAllowThreads(__tstate);
39424 if (PyErr_Occurred()) SWIG_fail;
39425 }
39426 Py_INCREF(Py_None); resultobj = Py_None;
39427 return resultobj;
39428 fail:
39429 return NULL;
39430}
39431
39432
2f4c0a16 39433static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39434 PyObject *resultobj;
39435 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39436 PyObject * obj0 = 0 ;
39437 char *kwnames[] = {
39438 (char *) "self", NULL
39439 };
39440
39441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39442 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39443 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39444 {
39445 PyThreadState* __tstate = wxPyBeginAllowThreads();
39446 (arg1)->AsIs();
39447
39448 wxPyEndAllowThreads(__tstate);
39449 if (PyErr_Occurred()) SWIG_fail;
39450 }
39451 Py_INCREF(Py_None); resultobj = Py_None;
39452 return resultobj;
39453 fail:
39454 return NULL;
39455}
39456
39457
2f4c0a16 39458static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39459 PyObject *resultobj;
39460 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39461 wxWindow *result;
39462 PyObject * obj0 = 0 ;
39463 char *kwnames[] = {
39464 (char *) "self", NULL
39465 };
39466
39467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39470 {
39471 PyThreadState* __tstate = wxPyBeginAllowThreads();
39472 result = (wxWindow *)(arg1)->GetOtherWindow();
39473
39474 wxPyEndAllowThreads(__tstate);
39475 if (PyErr_Occurred()) SWIG_fail;
39476 }
39477 {
39478 resultobj = wxPyMake_wxObject(result);
39479 }
39480 return resultobj;
39481 fail:
39482 return NULL;
39483}
39484
39485
2f4c0a16 39486static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39487 PyObject *resultobj;
39488 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39489 int result;
39490 PyObject * obj0 = 0 ;
39491 char *kwnames[] = {
39492 (char *) "self", NULL
39493 };
39494
39495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39496 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39497 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39498 {
39499 PyThreadState* __tstate = wxPyBeginAllowThreads();
39500 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
39501
39502 wxPyEndAllowThreads(__tstate);
39503 if (PyErr_Occurred()) SWIG_fail;
39504 }
2f4c0a16 39505 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39506 return resultobj;
39507 fail:
39508 return NULL;
39509}
39510
39511
2f4c0a16 39512static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39513 PyObject *resultobj;
39514 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39515 int arg2 ;
39516 PyObject * obj0 = 0 ;
8edf1c75 39517 PyObject * obj1 = 0 ;
d14a1e28
RD
39518 char *kwnames[] = {
39519 (char *) "self",(char *) "which", NULL
39520 };
39521
8edf1c75 39522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
39523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39525 arg2 = (wxEdge) SWIG_AsInt(obj1);
39526 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39527 {
39528 PyThreadState* __tstate = wxPyBeginAllowThreads();
39529 (arg1)->SetEdge((wxEdge )arg2);
39530
39531 wxPyEndAllowThreads(__tstate);
39532 if (PyErr_Occurred()) SWIG_fail;
39533 }
39534 Py_INCREF(Py_None); resultobj = Py_None;
39535 return resultobj;
39536 fail:
39537 return NULL;
39538}
39539
39540
2f4c0a16 39541static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39542 PyObject *resultobj;
39543 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39544 int arg2 ;
39545 PyObject * obj0 = 0 ;
8edf1c75 39546 PyObject * obj1 = 0 ;
d14a1e28
RD
39547 char *kwnames[] = {
39548 (char *) "self",(char *) "v", NULL
39549 };
39550
8edf1c75 39551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
39552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39554 arg2 = (int) SWIG_AsInt(obj1);
39555 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39556 {
39557 PyThreadState* __tstate = wxPyBeginAllowThreads();
39558 (arg1)->SetValue(arg2);
39559
39560 wxPyEndAllowThreads(__tstate);
39561 if (PyErr_Occurred()) SWIG_fail;
39562 }
39563 Py_INCREF(Py_None); resultobj = Py_None;
39564 return resultobj;
39565 fail:
39566 return NULL;
39567}
39568
39569
2f4c0a16 39570static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39571 PyObject *resultobj;
39572 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39573 int result;
39574 PyObject * obj0 = 0 ;
39575 char *kwnames[] = {
39576 (char *) "self", NULL
39577 };
39578
39579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39580 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39581 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39582 {
39583 PyThreadState* __tstate = wxPyBeginAllowThreads();
39584 result = (int)(arg1)->GetMargin();
39585
39586 wxPyEndAllowThreads(__tstate);
39587 if (PyErr_Occurred()) SWIG_fail;
39588 }
2f4c0a16 39589 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39590 return resultobj;
39591 fail:
39592 return NULL;
39593}
39594
39595
2f4c0a16 39596static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39597 PyObject *resultobj;
39598 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39599 int arg2 ;
39600 PyObject * obj0 = 0 ;
8edf1c75 39601 PyObject * obj1 = 0 ;
d14a1e28
RD
39602 char *kwnames[] = {
39603 (char *) "self",(char *) "m", NULL
39604 };
39605
8edf1c75 39606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
39607 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39608 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39609 arg2 = (int) SWIG_AsInt(obj1);
39610 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39611 {
39612 PyThreadState* __tstate = wxPyBeginAllowThreads();
39613 (arg1)->SetMargin(arg2);
39614
39615 wxPyEndAllowThreads(__tstate);
39616 if (PyErr_Occurred()) SWIG_fail;
39617 }
39618 Py_INCREF(Py_None); resultobj = Py_None;
39619 return resultobj;
39620 fail:
39621 return NULL;
39622}
39623
39624
2f4c0a16 39625static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39626 PyObject *resultobj;
39627 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39628 int result;
39629 PyObject * obj0 = 0 ;
39630 char *kwnames[] = {
39631 (char *) "self", NULL
39632 };
39633
39634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39635 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39637 {
39638 PyThreadState* __tstate = wxPyBeginAllowThreads();
39639 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
39640
39641 wxPyEndAllowThreads(__tstate);
39642 if (PyErr_Occurred()) SWIG_fail;
39643 }
2f4c0a16 39644 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39645 return resultobj;
39646 fail:
39647 return NULL;
39648}
39649
39650
2f4c0a16 39651static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39652 PyObject *resultobj;
39653 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39654 int result;
39655 PyObject * obj0 = 0 ;
39656 char *kwnames[] = {
39657 (char *) "self", NULL
39658 };
39659
39660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39663 {
39664 PyThreadState* __tstate = wxPyBeginAllowThreads();
39665 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
39666
39667 wxPyEndAllowThreads(__tstate);
39668 if (PyErr_Occurred()) SWIG_fail;
39669 }
2f4c0a16 39670 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39671 return resultobj;
39672 fail:
39673 return NULL;
39674}
39675
39676
2f4c0a16 39677static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39678 PyObject *resultobj;
39679 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39680 int result;
39681 PyObject * obj0 = 0 ;
39682 char *kwnames[] = {
39683 (char *) "self", NULL
39684 };
39685
39686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39687 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39688 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39689 {
39690 PyThreadState* __tstate = wxPyBeginAllowThreads();
39691 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
39692
39693 wxPyEndAllowThreads(__tstate);
39694 if (PyErr_Occurred()) SWIG_fail;
39695 }
2f4c0a16 39696 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39697 return resultobj;
39698 fail:
39699 return NULL;
39700}
39701
39702
2f4c0a16 39703static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39704 PyObject *resultobj;
39705 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39706 bool result;
39707 PyObject * obj0 = 0 ;
39708 char *kwnames[] = {
39709 (char *) "self", NULL
39710 };
39711
39712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39713 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39714 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39715 {
39716 PyThreadState* __tstate = wxPyBeginAllowThreads();
39717 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
39718
39719 wxPyEndAllowThreads(__tstate);
39720 if (PyErr_Occurred()) SWIG_fail;
39721 }
fbc46b20
RD
39722 {
39723 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39724 }
d14a1e28
RD
39725 return resultobj;
39726 fail:
39727 return NULL;
39728}
39729
39730
2f4c0a16 39731static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39732 PyObject *resultobj;
39733 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39734 bool arg2 ;
39735 PyObject * obj0 = 0 ;
39736 PyObject * obj1 = 0 ;
39737 char *kwnames[] = {
39738 (char *) "self",(char *) "d", NULL
39739 };
39740
39741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
39742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39744 arg2 = (bool) SWIG_AsBool(obj1);
39745 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39746 {
39747 PyThreadState* __tstate = wxPyBeginAllowThreads();
39748 (arg1)->SetDone(arg2);
39749
39750 wxPyEndAllowThreads(__tstate);
39751 if (PyErr_Occurred()) SWIG_fail;
39752 }
39753 Py_INCREF(Py_None); resultobj = Py_None;
39754 return resultobj;
39755 fail:
39756 return NULL;
39757}
39758
39759
2f4c0a16 39760static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39761 PyObject *resultobj;
39762 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39763 int result;
39764 PyObject * obj0 = 0 ;
39765 char *kwnames[] = {
39766 (char *) "self", NULL
39767 };
39768
39769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39772 {
39773 PyThreadState* __tstate = wxPyBeginAllowThreads();
39774 result = (int)(arg1)->GetRelationship();
39775
39776 wxPyEndAllowThreads(__tstate);
39777 if (PyErr_Occurred()) SWIG_fail;
39778 }
2f4c0a16 39779 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39780 return resultobj;
39781 fail:
39782 return NULL;
39783}
39784
39785
2f4c0a16 39786static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39787 PyObject *resultobj;
39788 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39789 int arg2 ;
39790 PyObject * obj0 = 0 ;
8edf1c75 39791 PyObject * obj1 = 0 ;
d14a1e28
RD
39792 char *kwnames[] = {
39793 (char *) "self",(char *) "r", NULL
39794 };
39795
8edf1c75 39796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
39797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39799 arg2 = (wxRelationship) SWIG_AsInt(obj1);
39800 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
39801 {
39802 PyThreadState* __tstate = wxPyBeginAllowThreads();
39803 (arg1)->SetRelationship((wxRelationship )arg2);
39804
39805 wxPyEndAllowThreads(__tstate);
39806 if (PyErr_Occurred()) SWIG_fail;
39807 }
39808 Py_INCREF(Py_None); resultobj = Py_None;
39809 return resultobj;
39810 fail:
39811 return NULL;
39812}
39813
39814
2f4c0a16 39815static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39816 PyObject *resultobj;
39817 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39818 wxWindow *arg2 = (wxWindow *) 0 ;
39819 bool result;
39820 PyObject * obj0 = 0 ;
39821 PyObject * obj1 = 0 ;
39822 char *kwnames[] = {
39823 (char *) "self",(char *) "otherW", NULL
39824 };
39825
39826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
39827 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39828 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39829 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39831 {
39832 PyThreadState* __tstate = wxPyBeginAllowThreads();
39833 result = (bool)(arg1)->ResetIfWin(arg2);
39834
39835 wxPyEndAllowThreads(__tstate);
39836 if (PyErr_Occurred()) SWIG_fail;
39837 }
fbc46b20
RD
39838 {
39839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39840 }
d14a1e28
RD
39841 return resultobj;
39842 fail:
39843 return NULL;
39844}
39845
39846
2f4c0a16 39847static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39848 PyObject *resultobj;
39849 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39850 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
39851 wxWindow *arg3 = (wxWindow *) 0 ;
39852 bool result;
39853 PyObject * obj0 = 0 ;
39854 PyObject * obj1 = 0 ;
39855 PyObject * obj2 = 0 ;
39856 char *kwnames[] = {
39857 (char *) "self",(char *) "constraints",(char *) "win", NULL
39858 };
39859
39860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
39861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39863 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
39864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39865 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39867 {
39868 PyThreadState* __tstate = wxPyBeginAllowThreads();
39869 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
39870
39871 wxPyEndAllowThreads(__tstate);
39872 if (PyErr_Occurred()) SWIG_fail;
39873 }
fbc46b20
RD
39874 {
39875 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
39876 }
d14a1e28
RD
39877 return resultobj;
39878 fail:
39879 return NULL;
39880}
39881
39882
2f4c0a16 39883static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39884 PyObject *resultobj;
39885 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
39886 int arg2 ;
39887 wxWindow *arg3 = (wxWindow *) 0 ;
39888 wxWindow *arg4 = (wxWindow *) 0 ;
39889 int result;
39890 PyObject * obj0 = 0 ;
8edf1c75 39891 PyObject * obj1 = 0 ;
d14a1e28
RD
39892 PyObject * obj2 = 0 ;
39893 PyObject * obj3 = 0 ;
39894 char *kwnames[] = {
39895 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39896 };
39897
8edf1c75 39898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
39899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
39900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39901 arg2 = (wxEdge) SWIG_AsInt(obj1);
39902 if (PyErr_Occurred()) SWIG_fail;
39903 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
39904 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39905 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
39906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39907 {
39908 PyThreadState* __tstate = wxPyBeginAllowThreads();
39909 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
39910
39911 wxPyEndAllowThreads(__tstate);
39912 if (PyErr_Occurred()) SWIG_fail;
39913 }
2f4c0a16 39914 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39915 return resultobj;
39916 fail:
39917 return NULL;
39918}
39919
39920
2f4c0a16 39921static PyObject * IndividualLayoutConstraint_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
39922 PyObject *obj;
39923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39924 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
39925 Py_INCREF(obj);
39926 return Py_BuildValue((char *)"");
39927}
2f4c0a16 39928static PyObject *_wrap_LayoutConstraints_left_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39929 PyObject *resultobj;
39930 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39931 wxIndividualLayoutConstraint *result;
39932 PyObject * obj0 = 0 ;
39933 char *kwnames[] = {
39934 (char *) "self", NULL
39935 };
39936
39937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39940 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
39941
2f4c0a16 39942 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39943 return resultobj;
39944 fail:
39945 return NULL;
39946}
39947
39948
2f4c0a16 39949static PyObject *_wrap_LayoutConstraints_top_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39950 PyObject *resultobj;
39951 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39952 wxIndividualLayoutConstraint *result;
39953 PyObject * obj0 = 0 ;
39954 char *kwnames[] = {
39955 (char *) "self", NULL
39956 };
39957
39958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39961 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
39962
2f4c0a16 39963 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39964 return resultobj;
39965 fail:
39966 return NULL;
39967}
39968
39969
2f4c0a16 39970static PyObject *_wrap_LayoutConstraints_right_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39971 PyObject *resultobj;
39972 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39973 wxIndividualLayoutConstraint *result;
39974 PyObject * obj0 = 0 ;
39975 char *kwnames[] = {
39976 (char *) "self", NULL
39977 };
39978
39979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39982 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
39983
2f4c0a16 39984 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39985 return resultobj;
39986 fail:
39987 return NULL;
39988}
39989
39990
2f4c0a16 39991static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
39992 PyObject *resultobj;
39993 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39994 wxIndividualLayoutConstraint *result;
39995 PyObject * obj0 = 0 ;
39996 char *kwnames[] = {
39997 (char *) "self", NULL
39998 };
39999
40000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40003 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
40004
2f4c0a16 40005 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40006 return resultobj;
40007 fail:
40008 return NULL;
40009}
40010
40011
2f4c0a16 40012static PyObject *_wrap_LayoutConstraints_width_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40013 PyObject *resultobj;
40014 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40015 wxIndividualLayoutConstraint *result;
40016 PyObject * obj0 = 0 ;
40017 char *kwnames[] = {
40018 (char *) "self", NULL
40019 };
40020
40021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40022 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40023 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40024 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
40025
2f4c0a16 40026 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40027 return resultobj;
40028 fail:
40029 return NULL;
40030}
40031
40032
2f4c0a16 40033static PyObject *_wrap_LayoutConstraints_height_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40034 PyObject *resultobj;
40035 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40036 wxIndividualLayoutConstraint *result;
40037 PyObject * obj0 = 0 ;
40038 char *kwnames[] = {
40039 (char *) "self", NULL
40040 };
40041
40042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40043 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40044 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40045 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
40046
2f4c0a16 40047 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40048 return resultobj;
40049 fail:
40050 return NULL;
40051}
40052
40053
2f4c0a16 40054static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40055 PyObject *resultobj;
40056 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40057 wxIndividualLayoutConstraint *result;
40058 PyObject * obj0 = 0 ;
40059 char *kwnames[] = {
40060 (char *) "self", NULL
40061 };
40062
40063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40066 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
40067
2f4c0a16 40068 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40069 return resultobj;
40070 fail:
40071 return NULL;
40072}
40073
40074
2f4c0a16 40075static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40076 PyObject *resultobj;
40077 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40078 wxIndividualLayoutConstraint *result;
40079 PyObject * obj0 = 0 ;
40080 char *kwnames[] = {
40081 (char *) "self", NULL
40082 };
40083
40084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40087 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
40088
2f4c0a16 40089 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
40090 return resultobj;
40091 fail:
40092 return NULL;
40093}
40094
40095
2f4c0a16 40096static PyObject *_wrap_new_LayoutConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40097 PyObject *resultobj;
40098 wxLayoutConstraints *result;
40099 char *kwnames[] = {
40100 NULL
40101 };
40102
40103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
40104 {
40105 PyThreadState* __tstate = wxPyBeginAllowThreads();
40106 result = (wxLayoutConstraints *)new wxLayoutConstraints();
40107
40108 wxPyEndAllowThreads(__tstate);
40109 if (PyErr_Occurred()) SWIG_fail;
40110 }
2f4c0a16 40111 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
40112 return resultobj;
40113 fail:
40114 return NULL;
40115}
40116
40117
2f4c0a16 40118static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40119 PyObject *resultobj;
40120 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40121 wxWindow *arg2 = (wxWindow *) 0 ;
40122 int *arg3 = (int *) 0 ;
40123 bool result;
40124 int temp3 ;
40125 PyObject * obj0 = 0 ;
40126 PyObject * obj1 = 0 ;
40127 char *kwnames[] = {
40128 (char *) "self",(char *) "win", NULL
40129 };
40130
40131 arg3 = &temp3;
40132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
40133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
40135 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
40136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40137 {
40138 PyThreadState* __tstate = wxPyBeginAllowThreads();
40139 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
40140
40141 wxPyEndAllowThreads(__tstate);
40142 if (PyErr_Occurred()) SWIG_fail;
40143 }
fbc46b20
RD
40144 {
40145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40146 }
d14a1e28
RD
40147 {
40148 PyObject *o = PyInt_FromLong((long) (*arg3));
40149 resultobj = t_output_helper(resultobj,o);
40150 }
40151 return resultobj;
40152 fail:
40153 return NULL;
40154}
40155
40156
2f4c0a16 40157static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
40158 PyObject *resultobj;
40159 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
40160 bool result;
40161 PyObject * obj0 = 0 ;
40162 char *kwnames[] = {
40163 (char *) "self", NULL
40164 };
40165
40166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
2f4c0a16
RD
40167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
40168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
40169 {
40170 PyThreadState* __tstate = wxPyBeginAllowThreads();
40171 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
40172
40173 wxPyEndAllowThreads(__tstate);
40174 if (PyErr_Occurred()) SWIG_fail;
40175 }
fbc46b20
RD
40176 {
40177 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
40178 }
d14a1e28
RD
40179 return resultobj;
40180 fail:
40181 return NULL;
40182}
40183
40184
2f4c0a16 40185static PyObject * LayoutConstraints_swigregister(PyObject *, PyObject *args) {
d14a1e28
RD
40186 PyObject *obj;
40187 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
40188 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
40189 Py_INCREF(obj);
40190 return Py_BuildValue((char *)"");
40191}
40192static PyMethodDef SwigMethods[] = {
2f4c0a16
RD
40193 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS, NULL },
40194 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS, NULL },
40195 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
40196 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
40197 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS, NULL },
40198 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
40199 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
40200 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS, NULL },
40201 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
40202 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS, NULL },
40203 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS, NULL },
40204 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40205 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40206 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS, NULL },
40207 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
40208 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS, NULL },
40209 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS, NULL },
40210 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40211 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40212 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40213 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40214 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
377d47bd
RD
40215 { (char *)"Size_IsFullySpecified", (PyCFunction) _wrap_Size_IsFullySpecified, METH_VARARGS | METH_KEYWORDS, NULL },
40216 { (char *)"Size_SetDefaults", (PyCFunction) _wrap_Size_SetDefaults, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
40217 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40218 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS, NULL },
40219 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40220 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40221 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40222 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40223 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL },
40224 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS, NULL },
40225 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40226 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40227 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS, NULL },
40228 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
40229 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40230 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40231 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS, NULL },
40232 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40233 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40234 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40235 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40236 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS, NULL },
40237 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS, NULL },
40238 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40239 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40240 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS, NULL },
40241 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS, NULL },
40242 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
40243 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
40244 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40245 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40246 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS, NULL },
40247 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
40248 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS, NULL },
40249 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS, NULL },
40250 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS, NULL },
40251 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
40252 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS, NULL },
40253 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
40254 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS, NULL },
40255 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40256 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40257 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40258 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40259 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40260 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40261 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
40262 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
40263 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
40264 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS, NULL },
40265 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
40266 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS, NULL },
40267 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS, NULL },
40268 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS, NULL },
40269 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS, NULL },
40270 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS, NULL },
40271 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS, NULL },
40272 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS, NULL },
40273 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS, NULL },
40274 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS, NULL },
40275 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS, NULL },
40276 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS, NULL },
40277 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS, NULL },
40278 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS, NULL },
40279 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS, NULL },
40280 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS, NULL },
40281 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
40282 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40283 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40284 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS, NULL },
40285 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS, NULL },
40286 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS, NULL },
40287 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40288 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40289 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40290 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40291 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS, NULL },
40292 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
40293 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS, NULL },
40294 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
40295 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40296 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40297 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS, NULL },
40298 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS, NULL },
40299 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS, NULL },
40300 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS, NULL },
40301 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS, NULL },
40302 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS, NULL },
40303 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS, NULL },
40304 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL },
40305 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL },
40306 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS, NULL },
40307 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS, NULL },
40308 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS, NULL },
40309 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS, NULL },
40310 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS, NULL },
40311 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS, NULL },
40312 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS, NULL },
40313 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS, NULL },
40314 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS, NULL },
40315 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS, NULL },
40316 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS, NULL },
40317 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
40318 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
40319 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40320 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40321 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40322 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40323 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40324 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS, NULL },
40325 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS, NULL },
40326 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS, NULL },
40327 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS, NULL },
40328 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS, NULL },
40329 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS, NULL },
40330 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS, NULL },
40331 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS, NULL },
40332 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS, NULL },
40333 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS, NULL },
40334 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS, NULL },
40335 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS, NULL },
40336 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS, NULL },
40337 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS, NULL },
40338 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
40339 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS, NULL },
40340 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS, NULL },
40341 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS, NULL },
40342 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS, NULL },
40343 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS, NULL },
40344 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS, NULL },
40345 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS, NULL },
40346 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS, NULL },
40347 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS, NULL },
40348 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS, NULL },
40349 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
40350 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS, NULL },
40351 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
40352 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS, NULL },
40353 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS, NULL },
40354 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS, NULL },
40355 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40356 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
40357 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
40358 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
40359 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
40360 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
40361 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS, NULL },
40362 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS, NULL },
40363 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS, NULL },
40364 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS, NULL },
40365 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS, NULL },
40366 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS, NULL },
40367 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
40368 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS, NULL },
40369 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS, NULL },
40370 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS, NULL },
40371 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
40372 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
40373 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
40374 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40375 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS, NULL },
40376 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS, NULL },
40377 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS, NULL },
40378 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS, NULL },
40379 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40380 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
40381 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
40382 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS, NULL },
40383 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40384 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
40385 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
40386 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
40387 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
40388 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS, NULL },
40389 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS, NULL },
40390 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
40391 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS, NULL },
40392 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40393 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS, NULL },
40394 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS, NULL },
40395 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS, NULL },
40396 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS, NULL },
40397 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS, NULL },
40398 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS, NULL },
40399 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
40400 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS, NULL },
40401 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS, NULL },
40402 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
40403 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
40404 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
40405 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS, NULL },
40406 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS, NULL },
40407 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS, NULL },
40408 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS, NULL },
40409 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS, NULL },
40410 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS, NULL },
40411 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL },
40412 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS, NULL },
40413 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS, NULL },
40414 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS, NULL },
40415 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS, NULL },
40416 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS, NULL },
40417 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS, NULL },
377d47bd 40418 { (char *)"new_EmptyImage", _wrap_new_EmptyImage, METH_VARARGS, NULL },
2f4c0a16
RD
40419 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
40420 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS, NULL },
40421 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS, NULL },
40422 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
40423 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS, NULL },
40424 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS, NULL },
40425 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS, NULL },
40426 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS, NULL },
40427 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS, NULL },
40428 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS, NULL },
40429 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS, NULL },
40430 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
40431 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
40432 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS, NULL },
40433 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS, NULL },
40434 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS, NULL },
40435 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS, NULL },
40436 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS, NULL },
40437 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS, NULL },
40438 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS, NULL },
40439 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS, NULL },
40440 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS, NULL },
40441 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS, NULL },
40442 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS, NULL },
40443 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS, NULL },
40444 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
40445 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40446 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS, NULL },
377d47bd 40447 { (char *)"Image_GetSize", (PyCFunction) _wrap_Image_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
40448 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS, NULL },
40449 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS, NULL },
40450 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS, NULL },
40451 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS, NULL },
40452 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS, NULL },
40453 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
40454 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
40455 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL },
40456 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS, NULL },
40457 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
40458 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS, NULL },
40459 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS, NULL },
40460 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS, NULL },
40461 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS, NULL },
40462 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS, NULL },
40463 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS, NULL },
40464 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS, NULL },
40465 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS, NULL },
40466 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS, NULL },
40467 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS, NULL },
40468 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
40469 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS, NULL },
40470 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS, NULL },
40471 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
40472 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS, NULL },
40473 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS, NULL },
40474 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS, NULL },
40475 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS, NULL },
40476 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS, NULL },
40477 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40478 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40479 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40480 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS, NULL },
40481 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
40482 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
40483 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS, NULL },
40484 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS, NULL },
40485 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40486 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS, NULL },
40487 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40488 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS, NULL },
40489 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40490 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS, NULL },
40491 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40492 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS, NULL },
40493 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40494 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS, NULL },
40495 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40496 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS, NULL },
40497 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40498 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS, NULL },
40499 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40500 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS, NULL },
40501 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40502 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS, NULL },
40503 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40504 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS, NULL },
40505 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40506 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS, NULL },
40507 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40508 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40509 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40510 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40511 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40512 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
40513 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
40514 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40515 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40516 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL },
40517 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS, NULL },
40518 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS, NULL },
40519 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
40520 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS, NULL },
40521 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS, NULL },
40522 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS, NULL },
40523 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS, NULL },
40524 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS, NULL },
40525 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS, NULL },
40526 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS, NULL },
40527 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
40528 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS, NULL },
40529 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
40530 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
40531 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40532 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS, NULL },
40533 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS, NULL },
40534 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS, NULL },
40535 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS, NULL },
40536 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS, NULL },
40537 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
40538 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS, NULL },
40539 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
40540 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS, NULL },
40541 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS, NULL },
40542 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL },
40543 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS, NULL },
40544 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS, NULL },
40545 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40546 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
40547 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
40548 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
40549 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
40550 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS, NULL },
40551 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL },
40552 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS, NULL },
40553 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS, NULL },
40554 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS, NULL },
40555 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
40556 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS, NULL },
40557 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40558 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL },
40559 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS, NULL },
40560 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS, NULL },
40561 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS, NULL },
40562 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40563 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
40564 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40565 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
40566 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40567 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS, NULL },
40568 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40569 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
40570 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40571 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
40572 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40573 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS, NULL },
40574 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40575 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS, NULL },
40576 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS, NULL },
40577 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS, NULL },
40578 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS, NULL },
40579 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS, NULL },
40580 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
40581 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS, NULL },
40582 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
40583 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
40584 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
40585 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
40586 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS, NULL },
40587 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS, NULL },
40588 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS, NULL },
40589 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS, NULL },
40590 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS, NULL },
40591 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS, NULL },
40592 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS, NULL },
40593 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS, NULL },
40594 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS, NULL },
40595 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
40596 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
40597 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS, NULL },
40598 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS, NULL },
40599 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS, NULL },
40600 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS, NULL },
40601 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS, NULL },
40602 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40603 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
40604 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40605 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
40606 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
40607 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS, NULL },
40608 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS, NULL },
40609 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS, NULL },
40610 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS, NULL },
40611 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40612 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40613 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40614 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40615 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
40616 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
40617 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
40618 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
40619 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
40620 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
40621 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
40622 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
40623 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
40624 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
40625 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
40626 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
40627 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
40628 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
40629 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS, NULL },
40630 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS, NULL },
40631 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS, NULL },
40632 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS, NULL },
40633 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS, NULL },
40634 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS, NULL },
40635 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS, NULL },
40636 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40637 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
40638 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
40639 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
40640 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
40641 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS, NULL },
40642 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS, NULL },
40643 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40644 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS, NULL },
40645 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS, NULL },
40646 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS, NULL },
40647 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS, NULL },
40648 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS, NULL },
40649 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
40650 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS, NULL },
40651 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
40652 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS, NULL },
40653 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40654 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
40655 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS, NULL },
40656 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS, NULL },
40657 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS, NULL },
40658 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS, NULL },
40659 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS, NULL },
40660 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS, NULL },
40661 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
40662 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
40663 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
40664 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
40665 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
40666 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
40667 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
40668 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
40669 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS, NULL },
40670 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS, NULL },
40671 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
40672 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
40673 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS, NULL },
40674 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS, NULL },
40675 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS, NULL },
40676 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS, NULL },
40677 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS, NULL },
40678 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40679 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
40680 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
40681 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
40682 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
40683 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS, NULL },
40684 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS, NULL },
40685 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL },
40686 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL },
40687 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS, NULL },
40688 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40689 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40690 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
40691 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
40692 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40693 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS, NULL },
40694 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS, NULL },
40695 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS, NULL },
40696 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS, NULL },
40697 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS, NULL },
40698 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40699 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS, NULL },
40700 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40701 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS, NULL },
40702 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40703 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS, NULL },
40704 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS, NULL },
40705 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40706 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40707 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40708 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS, NULL },
40709 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40710 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40711 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS, NULL },
40712 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40713 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS, NULL },
40714 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS, NULL },
40715 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40716 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS, NULL },
40717 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40718 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS, NULL },
40719 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS, NULL },
40720 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
40721 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS, NULL },
40722 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40723 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL },
40724 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS, NULL },
40725 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS, NULL },
40726 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS, NULL },
40727 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS, NULL },
40728 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS, NULL },
40729 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS, NULL },
40730 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40731 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS, NULL },
40732 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS, NULL },
40733 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS, NULL },
40734 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40735 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS, NULL },
40736 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS, NULL },
40737 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40738 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS, NULL },
40739 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40740 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS, NULL },
40741 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS, NULL },
40742 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS, NULL },
40743 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40744 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS, NULL },
40745 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
40746 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
40747 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS, NULL },
40748 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS, NULL },
40749 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
40750 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS, NULL },
40751 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
40752 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
40753 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL },
40754 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS, NULL },
40755 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS, NULL },
40756 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS, NULL },
40757 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL },
40758 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL },
40759 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS, NULL },
40760 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40761 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS, NULL },
40762 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40763 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40764 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS, NULL },
40765 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40766 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS, NULL },
40767 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40768 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40769 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40770 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS, NULL },
40771 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40772 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL },
40773 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS, NULL },
40774 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS, NULL },
40775 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40776 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS, NULL },
40777 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS, NULL },
40778 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS, NULL },
40779 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS, NULL },
40780 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL },
40781 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS, NULL },
40782 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS, NULL },
40783 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40784 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40785 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS, NULL },
40786 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40787 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40788 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS, NULL },
40789 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40790 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40791 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40792 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS, NULL },
40793 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40794 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS, NULL },
40795 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS, NULL },
40796 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS, NULL },
40797 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS, NULL },
40798 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS, NULL },
40799 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS, NULL },
40800 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40801 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40802 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
40803 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
40804 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS, NULL },
40805 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40806 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40807 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
40808 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS, NULL },
40809 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS, NULL },
40810 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS, NULL },
40811 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS, NULL },
40812 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
40813 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
40814 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS, NULL },
40815 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
40816 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS, NULL },
40817 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
40818 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS, NULL },
40819 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS, NULL },
40820 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS, NULL },
40821 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS, NULL },
40822 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL },
40823 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS, NULL },
40824 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
40825 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS, NULL },
40826 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS, NULL },
40827 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS, NULL },
40828 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS, NULL },
40829 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS, NULL },
40830 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS, NULL },
40831 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40832 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40833 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL },
40834 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS, NULL },
40835 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL },
40836 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS, NULL },
40837 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
40838 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS, NULL },
40839 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL },
40840 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS, NULL },
40841 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL },
40842 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
40843 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
40844 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
40845 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL },
40846 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS, NULL },
40847 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
40848 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
40849 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS, NULL },
40850 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS, NULL },
40851 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS, NULL },
40852 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS, NULL },
40853 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS, NULL },
40854 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS, NULL },
40855 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS, NULL },
40856 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS, NULL },
40857 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS, NULL },
40858 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS, NULL },
40859 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS, NULL },
40860 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS, NULL },
40861 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS, NULL },
40862 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
40863 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS, NULL },
40864 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS, NULL },
40865 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
40866 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
40867 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS, NULL },
40868 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS, NULL },
40869 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS, NULL },
40870 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS, NULL },
40871 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
40872 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
40873 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS, NULL },
40874 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS, NULL },
40875 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS, NULL },
377d47bd
RD
40876 { (char *)"new_VisualAttributes", (PyCFunction) _wrap_new_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
40877 { (char *)"delete_VisualAttributes", (PyCFunction) _wrap_delete_VisualAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
40878 { (char *)"VisualAttributes_font_set", (PyCFunction) _wrap_VisualAttributes_font_set, METH_VARARGS | METH_KEYWORDS, NULL },
40879 { (char *)"VisualAttributes_font_get", (PyCFunction) _wrap_VisualAttributes_font_get, METH_VARARGS | METH_KEYWORDS, NULL },
40880 { (char *)"VisualAttributes_colFg_set", (PyCFunction) _wrap_VisualAttributes_colFg_set, METH_VARARGS | METH_KEYWORDS, NULL },
40881 { (char *)"VisualAttributes_colFg_get", (PyCFunction) _wrap_VisualAttributes_colFg_get, METH_VARARGS | METH_KEYWORDS, NULL },
40882 { (char *)"VisualAttributes_colBg_set", (PyCFunction) _wrap_VisualAttributes_colBg_set, METH_VARARGS | METH_KEYWORDS, NULL },
40883 { (char *)"VisualAttributes_colBg_get", (PyCFunction) _wrap_VisualAttributes_colBg_get, METH_VARARGS | METH_KEYWORDS, NULL },
40884 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister, METH_VARARGS, NULL },
2f4c0a16
RD
40885 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS, NULL },
40886 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40887 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS, NULL },
40888 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS, NULL },
40889 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
40890 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS, NULL },
40891 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS, NULL },
40892 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
40893 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
40894 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
40895 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
40896 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS, NULL },
40897 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS, NULL },
ce7284bd
RD
40898 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL },
40899 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
40900 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
40901 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
40902 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS, NULL },
40903 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS, NULL },
40904 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS, NULL },
40905 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS, NULL },
40906 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS, NULL },
40907 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS, NULL },
40908 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
40909 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS, NULL },
40910 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS, NULL },
40911 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS, NULL },
40912 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS, NULL },
40913 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
40914 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
40915 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
40916 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
40917 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS, NULL },
40918 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
40919 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
40920 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS, NULL },
40921 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS, NULL },
40922 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
40923 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS, NULL },
40924 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
40925 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
40926 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
40927 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS, NULL },
40928 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS, NULL },
40929 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS, NULL },
40930 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS, NULL },
40931 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS, NULL },
40932 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS, NULL },
377d47bd
RD
40933 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints, METH_VARARGS, NULL },
40934 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints, METH_VARARGS, NULL },
2f4c0a16
RD
40935 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40936 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40937 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS, NULL },
40938 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS, NULL },
40939 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS, NULL },
377d47bd 40940 { (char *)"Window_GetMinSize", (PyCFunction) _wrap_Window_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
40941 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
40942 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS, NULL },
40943 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
40944 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS, NULL },
40945 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS, NULL },
40946 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS, NULL },
40947 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
40948 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
40949 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS, NULL },
40950 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
40951 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
40952 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
40953 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS, NULL },
40954 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS, NULL },
40955 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS, NULL },
40956 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL },
40957 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS, NULL },
40958 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS, NULL },
40959 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
40960 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
40961 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS, NULL },
40962 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS, NULL },
40963 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS, NULL },
40964 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS, NULL },
40965 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS, NULL },
40966 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
40967 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
40968 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS, NULL },
40969 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
40970 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
40971 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS, NULL },
40972 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS, NULL },
40973 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS, NULL },
40974 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS, NULL },
40975 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS, NULL },
40976 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL },
40977 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL },
40978 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40979 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40980 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40981 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40982 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
40983 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS, NULL },
40984 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS, NULL },
377d47bd
RD
40985 { (char *)"Window_Validate", (PyCFunction) _wrap_Window_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
40986 { (char *)"Window_TransferDataToWindow", (PyCFunction) _wrap_Window_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40987 { (char *)"Window_TransferDataFromWindow", (PyCFunction) _wrap_Window_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
40988 { (char *)"Window_InitDialog", (PyCFunction) _wrap_Window_InitDialog, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
40989 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
40990 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS, NULL },
40991 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL },
40992 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS, NULL },
40993 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS, NULL },
40994 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS, NULL },
40995 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS, NULL },
40996 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS, NULL },
40997 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS, NULL },
40998 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS, NULL },
40999 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS, NULL },
41000 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS, NULL },
41001 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS, NULL },
41002 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS, NULL },
41003 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS, NULL },
41004 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS, NULL },
41005 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS, NULL },
41006 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS, NULL },
41007 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS, NULL },
41008 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS, NULL },
41009 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS, NULL },
41010 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS, NULL },
41011 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS, NULL },
41012 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS, NULL },
41013 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS, NULL },
41014 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS, NULL },
ce7284bd 41015 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS, NULL },
377d47bd
RD
41016 { (char *)"Window_GetDefaultAttributes", (PyCFunction) _wrap_Window_GetDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
41017 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction) _wrap_Window_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16 41018 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
377d47bd 41019 { (char *)"Window_SetDefaultBackgroundColour", (PyCFunction) _wrap_Window_SetDefaultBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16 41020 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
377d47bd 41021 { (char *)"Window_SetDefaultForegroundColour", (PyCFunction) _wrap_Window_SetDefaultForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
41022 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41023 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS, NULL },
41024 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41025 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS, NULL },
41026 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS, NULL },
377d47bd 41027 { (char *)"Window_SetDefaultFont", (PyCFunction) _wrap_Window_SetDefaultFont, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
41028 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS, NULL },
41029 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS, NULL },
41030 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS, NULL },
41031 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS, NULL },
41032 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41033 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
41034 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS, NULL },
41035 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS, NULL },
41036 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS, NULL },
41037 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS, NULL },
41038 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS, NULL },
41039 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS, NULL },
41040 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS, NULL },
41041 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS, NULL },
41042 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS, NULL },
41043 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS, NULL },
41044 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41045 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS, NULL },
41046 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
41047 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS, NULL },
41048 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL },
41049 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS, NULL },
41050 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS, NULL },
41051 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS, NULL },
41052 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41053 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS, NULL },
41054 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS, NULL },
41055 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS, NULL },
41056 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS, NULL },
41057 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS, NULL },
41058 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS, NULL },
41059 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS, NULL },
41060 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS, NULL },
41061 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS, NULL },
41062 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS, NULL },
41063 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
41064 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS, NULL },
41065 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
41066 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS, NULL },
41067 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
41068 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
41069 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL },
41070 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS, NULL },
41071 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
41072 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41073 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS, NULL },
41074 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41075 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41076 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41077 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS, NULL },
41078 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS, NULL },
41079 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS, NULL },
41080 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41081 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS, NULL },
41082 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS, NULL },
41083 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS, NULL },
41084 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS, NULL },
41085 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41086 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41087 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41088 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41089 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS, NULL },
41090 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS, NULL },
41091 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS, NULL },
41092 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS, NULL },
41093 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41094 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS, NULL },
41095 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS, NULL },
41096 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS, NULL },
41097 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
41098 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
41099 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
41100 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41101 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS, NULL },
41102 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS, NULL },
41103 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
41104 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
41105 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
41106 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
41107 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
41108 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41109 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
41110 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
41111 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
41112 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS, NULL },
41113 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS, NULL },
41114 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41115 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
41116 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS, NULL },
41117 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
41118 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS, NULL },
41119 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS, NULL },
41120 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS, NULL },
41121 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS, NULL },
41122 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS, NULL },
41123 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS, NULL },
41124 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS, NULL },
41125 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL },
41126 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41127 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41128 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41129 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS, NULL },
41130 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41131 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41132 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41133 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
41134 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
41135 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
41136 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS, NULL },
41137 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41138 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS, NULL },
41139 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41140 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41141 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS, NULL },
41142 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS, NULL },
41143 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
41144 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
41145 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
41146 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL },
41147 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS, NULL },
41148 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS, NULL },
41149 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS, NULL },
41150 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS, NULL },
41151 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS, NULL },
41152 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
41153 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS, NULL },
41154 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41155 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS, NULL },
41156 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
41157 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS, NULL },
41158 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS, NULL },
41159 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL },
41160 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS, NULL },
41161 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
41162 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS, NULL },
41163 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41164 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41165 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS, NULL },
41166 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41167 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41168 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41169 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41170 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
41171 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS, NULL },
41172 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS, NULL },
41173 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS, NULL },
41174 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS, NULL },
41175 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS, NULL },
41176 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS, NULL },
41177 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS, NULL },
41178 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41179 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41180 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS, NULL },
41181 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS, NULL },
41182 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS, NULL },
41183 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS, NULL },
41184 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41185 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS, NULL },
41186 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS, NULL },
41187 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS, NULL },
41188 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS, NULL },
41189 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS, NULL },
41190 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41191 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41192 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS, NULL },
41193 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS, NULL },
41194 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS, NULL },
41195 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS, NULL },
41196 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS, NULL },
41197 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS, NULL },
41198 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
41199 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS, NULL },
41200 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS, NULL },
41201 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS, NULL },
41202 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS, NULL },
41203 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41204 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS, NULL },
41205 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS, NULL },
41206 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS, NULL },
41207 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS, NULL },
41208 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS, NULL },
41209 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS, NULL },
41210 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
41211 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS, NULL },
377d47bd 41212 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction) _wrap_Control_GetClassDefaultAttributes, METH_VARARGS | METH_KEYWORDS, NULL },
2f4c0a16
RD
41213 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS, NULL },
41214 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS, NULL },
41215 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS, NULL },
41216 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
41217 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
41218 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS, NULL },
41219 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS, NULL },
41220 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS, NULL },
41221 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS, NULL },
41222 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS, NULL },
41223 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS, NULL },
41224 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS, NULL },
41225 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS, NULL },
41226 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS, NULL },
41227 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS, NULL },
41228 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
41229 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS, NULL },
41230 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS, NULL },
41231 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS, NULL },
41232 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS, NULL },
41233 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41234 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41235 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41236 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL },
41237 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41238 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41239 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
41240 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
41241 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41242 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS, NULL },
41243 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS, NULL },
41244 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS, NULL },
41245 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
41246 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS, NULL },
41247 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41248 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41249 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41250 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
41251 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS, NULL },
41252 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41253 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS, NULL },
41254 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
41255 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS, NULL },
41256 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41257 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41258 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41259 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41260 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41261 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41262 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS, NULL },
41263 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
41264 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41265 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS, NULL },
41266 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS, NULL },
41267 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41268 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS, NULL },
41269 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS, NULL },
41270 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS, NULL },
41271 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS, NULL },
41272 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41273 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
41274 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS, NULL },
41275 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS, NULL },
41276 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS, NULL },
41277 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41278 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS, NULL },
41279 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41280 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS, NULL },
41281 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
41282 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
41283 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS, NULL },
41284 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS, NULL },
41285 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS, NULL },
41286 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
41287 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS, NULL },
41288 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS, NULL },
41289 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS, NULL },
41290 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS, NULL },
41291 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS, NULL },
41292 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS, NULL },
41293 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS, NULL },
41294 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS, NULL },
41295 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS, NULL },
41296 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS, NULL },
41297 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS, NULL },
41298 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS, NULL },
41299 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41300 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41301 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS, NULL },
41302 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
41303 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
41304 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS, NULL },
41305 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41306 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS, NULL },
41307 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
41308 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
41309 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS, NULL },
41310 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41311 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
41312 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
41313 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS, NULL },
41314 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS, NULL },
41315 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS, NULL },
41316 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS, NULL },
41317 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS, NULL },
41318 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS, NULL },
41319 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS, NULL },
41320 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS, NULL },
41321 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS, NULL },
41322 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41323 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
41324 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
41325 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL },
41326 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS, NULL },
41327 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL },
41328 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS, NULL },
41329 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL },
41330 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS, NULL },
41331 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL },
41332 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS, NULL },
41333 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS, NULL },
41334 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS, NULL },
41335 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS, NULL },
41336 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41337 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS, NULL },
41338 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS, NULL },
41339 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS, NULL },
41340 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS, NULL },
41341 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
41342 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
41343 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41344 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS, NULL },
41345 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS, NULL },
41346 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS, NULL },
41347 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS, NULL },
41348 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS, NULL },
41349 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS, NULL },
41350 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS, NULL },
41351 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS, NULL },
41352 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS, NULL },
41353 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41354 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS, NULL },
41355 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS, NULL },
41356 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS, NULL },
41357 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41358 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41359 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS, NULL },
41360 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS, NULL },
41361 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS, NULL },
41362 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS, NULL },
41363 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS, NULL },
41364 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS, NULL },
41365 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS, NULL },
41366 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41367 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41368 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS, NULL },
41369 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS, NULL },
41370 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS, NULL },
41371 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS, NULL },
41372 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
41373 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS, NULL },
41374 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS, NULL },
41375 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS, NULL },
41376 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS, NULL },
41377 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS, NULL },
41378 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS, NULL },
41379 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS, NULL },
41380 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS, NULL },
41381 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS, NULL },
41382 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS, NULL },
41383 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS, NULL },
41384 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS, NULL },
41385 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS, NULL },
41386 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS, NULL },
41387 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS, NULL },
41388 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS, NULL },
41389 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS, NULL },
41390 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS, NULL },
41391 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS, NULL },
41392 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS, NULL },
41393 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS, NULL },
41394 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS, NULL },
41395 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS, NULL },
41396 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS, NULL },
41397 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS, NULL },
41398 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
41399 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS, NULL },
41400 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
41401 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS, NULL },
41402 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS, NULL },
41403 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS, NULL },
41404 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS, NULL },
41405 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS, NULL },
41406 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS, NULL },
41407 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS, NULL },
41408 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS, NULL },
41409 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS, NULL },
41410 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS, NULL },
41411 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS, NULL },
41412 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS, NULL },
41413 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS, NULL },
41414 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS, NULL },
41415 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS, NULL },
41416 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS, NULL },
41417 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS, NULL },
41418 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS, NULL },
41419 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS, NULL },
41420 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS, NULL },
41421 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
41422 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS, NULL },
41423 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS, NULL },
41424 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS, NULL },
41425 { NULL, NULL, 0, NULL }
d14a1e28
RD
41426};
41427
41428
41429/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41430
41431static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
41432 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
41433}
41434static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
41435 return (void *)((wxSizer *) ((wxBoxSizer *) x));
41436}
41437static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
41438 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
41439}
41440static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
41441 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41442}
41443static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
41444 return (void *)((wxSizer *) ((wxGridSizer *) x));
41445}
41446static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
41447 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
41448}
41449static void *_p_wxPySizerTo_p_wxSizer(void *x) {
41450 return (void *)((wxSizer *) ((wxPySizer *) x));
41451}
41452static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
41453 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
41454}
41455static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
41456 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
41457}
41458static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
41459 return (void *)((wxEvent *) ((wxMenuEvent *) x));
41460}
41461static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
41462 return (void *)((wxEvent *) ((wxCloseEvent *) x));
41463}
41464static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
41465 return (void *)((wxEvent *) ((wxMouseEvent *) x));
41466}
41467static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
41468 return (void *)((wxEvent *) ((wxEraseEvent *) x));
41469}
41470static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
41471 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
41472}
41473static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
41474 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
41475}
41476static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
41477 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
41478}
41479static void *_p_wxPyEventTo_p_wxEvent(void *x) {
41480 return (void *)((wxEvent *) ((wxPyEvent *) x));
41481}
41482static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
41483 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
41484}
41485static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
41486 return (void *)((wxEvent *) ((wxIdleEvent *) x));
41487}
41488static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
41489 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
41490}
41491static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
41492 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
41493}
41494static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
41495 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
41496}
41497static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
41498 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
41499}
41500static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
41501 return (void *)((wxEvent *) ((wxActivateEvent *) x));
41502}
41503static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
41504 return (void *)((wxEvent *) ((wxSizeEvent *) x));
41505}
41506static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
41507 return (void *)((wxEvent *) ((wxMoveEvent *) x));
41508}
41509static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
41510 return (void *)((wxEvent *) ((wxPaintEvent *) x));
41511}
41512static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
41513 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
41514}
41515static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
41516 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
41517}
41518static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
41519 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
41520}
41521static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
41522 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
41523}
41524static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
41525 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41526}
41527static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
41528 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
41529}
41530static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
41531 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
41532}
41533static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
41534 return (void *)((wxEvent *) ((wxFocusEvent *) x));
41535}
41536static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
41537 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
41538}
41539static void *_p_wxShowEventTo_p_wxEvent(void *x) {
41540 return (void *)((wxEvent *) ((wxShowEvent *) x));
41541}
41542static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
41543 return (void *)((wxEvent *) ((wxCommandEvent *) x));
41544}
41545static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
41546 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
41547}
41548static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
41549 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41550}
41551static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
41552 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
41553}
41554static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
41555 return (void *)((wxEvent *) ((wxKeyEvent *) x));
41556}
41557static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
41558 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
41559}
41560static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
41561 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
41562}
41563static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
41564 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
41565}
41566static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
41567 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
41568}
41569static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
41570 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
41571}
41572static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
41573 return (void *)((wxControl *) ((wxControlWithItems *) x));
41574}
41575static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
41576 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
41577}
41578static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
41579 return (void *)((wxEvtHandler *) ((wxWindow *) x));
41580}
41581static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
41582 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41583}
41584static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
41585 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
41586}
41587static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
41588 return (void *)((wxEvtHandler *) ((wxValidator *) x));
41589}
41590static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
41591 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
41592}
41593static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
41594 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
41595}
41596static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
41597 return (void *)((wxEvtHandler *) ((wxMenu *) x));
41598}
41599static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
41600 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
41601}
41602static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
41603 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
41604}
41605static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
41606 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
41607}
41608static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
41609 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
41610}
41611static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
41612 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
41613}
41614static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
41615 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41616}
41617static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
41618 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
41619}
41620static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
41621 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
41622}
41623static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
41624 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41625}
41626static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
41627 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41628}
41629static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
41630 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
41631}
41632static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
41633 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
41634}
41635static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
41636 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
41637}
41638static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
41639 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
41640}
41641static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
41642 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
41643}
41644static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
41645 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
41646}
41647static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
41648 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
41649}
41650static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
41651 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
41652}
41653static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
41654 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
41655}
41656static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
41657 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
41658}
41659static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
41660 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
41661}
41662static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
41663 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
41664}
41665static void *_p_wxMenuEventTo_p_wxObject(void *x) {
41666 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
41667}
41668static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
41669 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
41670}
41671static void *_p_wxEraseEventTo_p_wxObject(void *x) {
41672 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
41673}
41674static void *_p_wxMouseEventTo_p_wxObject(void *x) {
41675 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
41676}
41677static void *_p_wxCloseEventTo_p_wxObject(void *x) {
41678 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
41679}
41680static void *_p_wxValidatorTo_p_wxObject(void *x) {
41681 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
41682}
41683static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
41684 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
41685}
41686static void *_p_wxMenuBarTo_p_wxObject(void *x) {
41687 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
41688}
41689static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
41690 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
41691}
41692static void *_p_wxSizerTo_p_wxObject(void *x) {
41693 return (void *)((wxObject *) ((wxSizer *) x));
41694}
41695static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
41696 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
41697}
41698static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
41699 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
41700}
41701static void *_p_wxMenuTo_p_wxObject(void *x) {
41702 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
41703}
41704static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
41705 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
41706}
41707static void *_p_wxImageTo_p_wxObject(void *x) {
41708 return (void *)((wxObject *) ((wxImage *) x));
41709}
41710static void *_p_wxScrollEventTo_p_wxObject(void *x) {
41711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
41712}
41713static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
41714 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
41715}
41716static void *_p_wxPyEventTo_p_wxObject(void *x) {
41717 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
41718}
41719static void *_p_wxWindowTo_p_wxObject(void *x) {
41720 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
41721}
41722static void *_p_wxControlTo_p_wxObject(void *x) {
41723 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
41724}
41f1cec7
RD
41725static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
41726 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
41727}
d14a1e28
RD
41728static void *_p_wxGridSizerTo_p_wxObject(void *x) {
41729 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
41730}
41731static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
41732 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
41733}
41734static void *_p_wxPyAppTo_p_wxObject(void *x) {
41735 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
41736}
41737static void *_p_wxEventTo_p_wxObject(void *x) {
41738 return (void *)((wxObject *) ((wxEvent *) x));
41739}
41740static void *_p_wxActivateEventTo_p_wxObject(void *x) {
41741 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
41742}
41743static void *_p_wxMoveEventTo_p_wxObject(void *x) {
41744 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
41745}
41746static void *_p_wxSizeEventTo_p_wxObject(void *x) {
41747 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
41748}
41749static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
41750 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
41751}
41752static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
41753 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
41754}
41755static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
41756 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
41757}
41758static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
41759 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
41760}
41761static void *_p_wxIdleEventTo_p_wxObject(void *x) {
41762 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
41763}
41764static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
41765 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
41766}
41767static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
41768 return (void *)((wxObject *) ((wxEvtHandler *) x));
41769}
41770static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
41771 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
41772}
41773static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
41774 return (void *)((wxObject *) ((wxImageHandler *) x));
41775}
41776static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
41777 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
41778}
41779static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
41780 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
41781}
41782static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
41783 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
41784}
41785static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
41786 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
41787}
41788static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
41789 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
41790}
41791static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
41792 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
41793}
41794static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
41795 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
41796}
41797static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
41798 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
41799}
41800static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
41801 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
41802}
41803static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
41804 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
41805}
41806static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
41807 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
41808}
41809static void *_p_wxPaintEventTo_p_wxObject(void *x) {
41810 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
41811}
41812static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
41813 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
41814}
41815static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
41816 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
41817}
41818static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
41819 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
41820}
41821static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
41822 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
41823}
41824static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
41825 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
41826}
41827static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
41828 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
41829}
41830static void *_p_wxFileSystemTo_p_wxObject(void *x) {
41831 return (void *)((wxObject *) ((wxFileSystem *) x));
41832}
41833static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
41834 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
41835}
41836static void *_p_wxFocusEventTo_p_wxObject(void *x) {
41837 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
41838}
41839static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
41840 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
41841}
41842static void *_p_wxSizerItemTo_p_wxObject(void *x) {
41843 return (void *)((wxObject *) ((wxSizerItem *) x));
41844}
41845static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
41846 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
41847}
41848static void *_p_wxShowEventTo_p_wxObject(void *x) {
41849 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
41850}
41851static void *_p_wxFSFileTo_p_wxObject(void *x) {
41852 return (void *)((wxObject *) ((wxFSFile *) x));
41853}
41854static void *_p_wxCommandEventTo_p_wxObject(void *x) {
41855 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
41856}
41857static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
41858 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
41859}
41860static void *_p_wxKeyEventTo_p_wxObject(void *x) {
41861 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
41862}
41863static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
41864 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
41865}
41866static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
41867 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41868}
41869static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
41870 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
41871}
41872static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
41873 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
41874}
41875static void *_p_wxMenuItemTo_p_wxObject(void *x) {
41876 return (void *)((wxObject *) ((wxMenuItem *) x));
41877}
41878static void *_p_wxPySizerTo_p_wxObject(void *x) {
41879 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
41880}
41881static void *_p_wxControlTo_p_wxWindow(void *x) {
41882 return (void *)((wxWindow *) ((wxControl *) x));
41883}
41884static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
41885 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
41886}
41887static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
41888 return (void *)((wxWindow *) ((wxMenuBar *) x));
41889}
41890static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
41891 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
41892}
41893static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
41894 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
41895}
41896static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
41897 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
41898}
41899static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
41900 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
41901}
41902static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
41903 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
41904}
41905static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
41906 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
41907}
41908static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
41909 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
41910}
41911static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
41912 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
41913}
41914static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
41915 return (void *)((wxValidator *) ((wxPyValidator *) x));
41916}
2f4c0a16
RD
41917static 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}};
41918static 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}};
41919static 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}};
41920static 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}};
41921static 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}};
41922static 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}};
41923static 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}};
41924static 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}};
41925static 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}};
41926static 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}};
41927static 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}};
41928static 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}};
41929static 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}};
41930static 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}};
41931static 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}};
41932static 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}};
41933static 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}};
41934static 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}};
41935static 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}};
41936static 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}};
41937static 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}};
41938static 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}};
41939static 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}};
41940static 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}};
41941static 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}};
41942static 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}};
41943static 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}};
41944static 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}};
41945static 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}};
41946static 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}};
41947static 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}};
41948static 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}};
41949static 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}};
41950static 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}};
41951static 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}};
41952static 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}};
377d47bd 41953static swig_type_info _swigt__p_wxVisualAttributes[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
2f4c0a16
RD
41954static 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}};
41955static 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}};
41956static 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}};
41957static 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}};
41958static 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}};
41959static 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}};
41960static 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}};
41961static 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}};
41962static 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}};
41963static 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}};
41964static 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}};
41965static 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}};
41966static 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}};
41967static 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}};
41968static 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}};
41969static 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}};
41970static 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}};
41971static 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}};
41972static 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}};
41973static 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}};
41974static 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}};
41975static 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}};
41976static 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}};
41977static 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}};
41978static 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}};
41979static 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}};
41980static 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}};
41981static 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}};
41982static 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}};
41983static 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}};
41984static 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}};
41985static 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}};
41986static 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}};
41987static 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}};
41988static 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}};
41989static 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}};
41990static 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}};
41991static 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}};
41992static 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}};
41993static 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}};
41994static 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}};
41995static 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}};
41996static 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}};
41997static 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}};
41998static 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}};
41999static 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}};
42000static 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}};
42001static 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}};
42002static 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}};
42003static 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}};
42004static 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}};
42005static 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}};
42006static 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}};
42007static 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}};
42008static 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}};
42009static 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}};
42010static 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}};
42011static 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}};
42012static 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}};
42013static 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}};
42014static 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}};
42015static 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}};
42016static 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}};
42017static 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}};
42018static 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}};
42019static 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}};
42020static 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}};
42021static 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}};
42022static 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}};
42023static 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}};
42024static 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}};
42025static 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}};
42026static 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}};
42027static 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}};
42028static 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}};
42029static 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}};
42030static 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}};
42031static 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
42032
42033static swig_type_info *swig_types_initial[] = {
42034_swigt__p_wxLayoutConstraints,
42035_swigt__p_wxRealPoint,
42036_swigt__p_wxSizerItem,
42037_swigt__p_wxGBSizerItem,
42038_swigt__p_wxScrollEvent,
42039_swigt__p_wxIndividualLayoutConstraint,
42040_swigt__p_wxSizer,
42041_swigt__p_wxBoxSizer,
42042_swigt__p_wxStaticBoxSizer,
42043_swigt__p_wxGridBagSizer,
42044_swigt__p_wxAcceleratorEntry,
42045_swigt__p_wxUpdateUIEvent,
42046_swigt__p_wxMenu,
42047_swigt__p_wxEvent,
42048_swigt__p_wxGridSizer,
42049_swigt__p_wxFlexGridSizer,
42050_swigt__p_wxInitDialogEvent,
42051_swigt__p_wxItemContainer,
42052_swigt__p_wxNcPaintEvent,
42053_swigt__p_wxPaintEvent,
42054_swigt__p_wxSysColourChangedEvent,
42055_swigt__p_wxMouseCaptureChangedEvent,
42056_swigt__p_wxDisplayChangedEvent,
42057_swigt__p_wxPaletteChangedEvent,
42058_swigt__p_wxControl,
42059_swigt__p_wxFont,
42060_swigt__p_wxMenuBarBase,
42061_swigt__p_wxSetCursorEvent,
42062_swigt__p_wxFSFile,
42063_swigt__p_wxCaret,
42064_swigt__p_wxRegion,
42065_swigt__p_wxPoint2D,
42066_swigt__p_int,
42067_swigt__p_wxSize,
42068_swigt__p_wxDC,
42069_swigt__p_wxPySizer,
377d47bd 42070_swigt__p_wxVisualAttributes,
d14a1e28
RD
42071_swigt__p_wxNotifyEvent,
42072_swigt__p_wxPyEvent,
42073_swigt__p_wxPropagationDisabler,
42074_swigt__p_wxAppTraits,
42075_swigt__p_wxArrayString,
42076_swigt__p_wxShowEvent,
42077_swigt__p_wxToolTip,
02a34c4c 42078_swigt__p_wxMaximizeEvent,
d14a1e28
RD
42079_swigt__p_wxIconizeEvent,
42080_swigt__p_wxActivateEvent,
42081_swigt__p_wxMoveEvent,
42082_swigt__p_wxSizeEvent,
42083_swigt__p_wxQueryNewPaletteEvent,
42084_swigt__p_wxWindowCreateEvent,
42085_swigt__p_wxIdleEvent,
42086_swigt__p_wxMenuItem,
42087_swigt__p_wxStaticBox,
42088_swigt__p_long,
42089_swigt__p_wxTIFFHandler,
42090_swigt__p_wxXPMHandler,
42091_swigt__p_wxPNMHandler,
42092_swigt__p_wxJPEGHandler,
42093_swigt__p_wxPCXHandler,
42094_swigt__p_wxGIFHandler,
42095_swigt__p_wxPNGHandler,
42096_swigt__p_wxANIHandler,
42097_swigt__p_wxMemoryFSHandler,
42098_swigt__p_wxEvtHandler,
42099_swigt__p_wxCURHandler,
42100_swigt__p_wxICOHandler,
42101_swigt__p_wxBMPHandler,
42102_swigt__p_wxImageHandler,
42103_swigt__p_wxFileSystemHandler,
42104_swigt__p_wxPyFileSystemHandler,
42105_swigt__p_wxInternetFSHandler,
02a34c4c 42106_swigt__p_wxZipFSHandler,
d14a1e28
RD
42107_swigt__p_wxRect,
42108_swigt__p_wxGBSpan,
42109_swigt__p_wxPropagateOnce,
42110_swigt__p_wxAcceleratorTable,
8edf1c75 42111_swigt__p_char,
d14a1e28
RD
42112_swigt__p_wxGBPosition,
42113_swigt__p_wxImage,
42114_swigt__p_wxFrame,
42115_swigt__p_wxScrollWinEvent,
42116_swigt__p_wxImageHistogram,
42117_swigt__p_byte,
42118_swigt__p_wxPoint,
42119_swigt__p_wxCursor,
42120_swigt__p_wxObject,
42121_swigt__p_wxPyInputStream,
42122_swigt__p_wxOutputStream,
42123_swigt__p_wxInputStream,
42124_swigt__p_wxDateTime,
42125_swigt__p_wxKeyEvent,
42126_swigt__p_wxNavigationKeyEvent,
42127_swigt__p_wxWindowDestroyEvent,
42128_swigt__p_wxWindow,
42129_swigt__p_wxMenuBar,
d14a1e28
RD
42130_swigt__p_wxFileSystem,
42131_swigt__p_wxBitmap,
42132_swigt__p_wxMenuEvent,
42133_swigt__p_wxContextMenuEvent,
42134_swigt__p_unsigned_char,
42135_swigt__p_wxCloseEvent,
42136_swigt__p_wxEraseEvent,
42137_swigt__p_wxMouseEvent,
42138_swigt__p_wxPyApp,
42139_swigt__p_wxCommandEvent,
42140_swigt__p_wxPyCommandEvent,
44127b65 42141_swigt__p_wxPyDropTarget,
d14a1e28
RD
42142_swigt__p_wxChildFocusEvent,
42143_swigt__p_wxFocusEvent,
42144_swigt__p_wxDropFilesEvent,
42145_swigt__p_wxControlWithItems,
42146_swigt__p_wxColour,
42147_swigt__p_wxValidator,
42148_swigt__p_wxPyValidator,
421490
42150};
42151
42152
42153/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42154
42155static swig_const_info swig_const_table[] = {
2f4c0a16 42156{0, 0, 0, 0.0, 0, 0}};
d14a1e28
RD
42157
42158#ifdef __cplusplus
42159}
42160#endif
42161
42162#ifdef __cplusplus
42163extern "C"
42164#endif
42165SWIGEXPORT(void) SWIG_init(void) {
42166 static PyObject *SWIG_globals = 0;
42167 static int typeinit = 0;
42168 PyObject *m, *d;
42169 int i;
42170 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
42171 m = Py_InitModule((char *) SWIG_name, SwigMethods);
42172 d = PyModule_GetDict(m);
42173
42174 if (!typeinit) {
42175 for (i = 0; swig_types_initial[i]; i++) {
42176 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
42177 }
42178 typeinit = 1;
42179 }
42180 SWIG_InstallConstants(d,swig_const_table);
42181
42182
42183#ifndef wxPyUSE_EXPORT
42184 // Make our API structure a CObject so other modules can import it
42185 // from this module.
42186 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
42187 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
42188 Py_XDECREF(cobj);
42189#endif
42190
2f4c0a16
RD
42191 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
42192 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
42193 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
42194 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
42195 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
42196 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
42197 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
42198 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
42199 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
42200 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
42201 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
42202 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
2f4c0a16
RD
42203 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
42204 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
42205 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
42206 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
42207 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
42208 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
2f4c0a16
RD
42209 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
42210 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
42211 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
42212 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
42213 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
42214 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
42215 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
42216 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
42217 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
42218 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
42219 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
42220 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
42221 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
42222 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
42223 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
42224 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
42225 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
42226 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
42227 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
42228 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
42229 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
42230 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
42231 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
42232 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
42233 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
42234 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
42235 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
42236 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
42237 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
42238 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
42239 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
42240 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
42241 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
42242 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
42243 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
42244 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
42245 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
42246 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
42247 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
42248 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
42249 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
42250 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
42251 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
42252 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
42253 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
42254 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
42255 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
42256 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
42257 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
42258 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
42259 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
42260 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
42261 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
42262 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
42263 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
42264 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
42265 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
42266 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
42267 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
42268 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
42269 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
42270 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
42271 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
42272 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
42273 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
42274 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
42275 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
42276 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
42277 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
42278 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
42279 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
42280 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
42281 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
42282 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
42283 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
42284 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
42285 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
42286 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
42287 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
42288 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
42289 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
42290 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
42291 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
42292 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
42293 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
42294 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
42295 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
42296 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
42297 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
42298 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
42299 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
42300 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
42301 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
42302 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
42303 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
42304 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
42305 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
42306 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
42307 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
42308 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
42309 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
42310 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
42311 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
42312 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
42313 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
42314 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
42315 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
42316 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
42317 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
42318 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
42319 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
42320 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
42321 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
42322 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
42323 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
42324 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
42325 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
42326 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
42327 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
42328 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
42329 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
42330 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
42331 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
42332 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
42333 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
42334 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
42335 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
42336 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
42337 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
42338 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
42339 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
42340 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
42341 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
42342 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
42343 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
42344 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
42345 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
42346 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
42347 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
42348 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
42349 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
42350 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
42351 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
42352 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
42353 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
42354 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
42355 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
42356 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
42357 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
42358 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
42359 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
42360 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
42361 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
42362 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
42363 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
42364 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
42365 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
42366 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
42367 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
42368 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
42369 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
42370 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
42371 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
42372 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
42373 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
42374 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
42375 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
42376 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
42377 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
42378 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
42379 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
42380 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
42381 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
42382 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
42383 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
42384 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
42385 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
42386 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
42387 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
42388 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
42389 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
42390 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
42391 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
42392 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
42393 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
42394 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
42395 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
42396 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
42397 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
42398 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
42399 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
42400 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
42401 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
42402 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
42403 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
42404 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
42405 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
42406 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
42407 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
42408 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
42409 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
42410 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
42411 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
42412 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
42413 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
42414 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
42415 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
42416 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
42417 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
42418 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
42419 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
42420 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
42421 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
42422 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
42423 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
42424 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
42425 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
42426 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
42427 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
42428 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
42429 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
42430 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
42431 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
42432 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
42433 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
42434 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
42435 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
42436 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
42437 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
42438 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
377d47bd 42439 PyDict_SetItemString(d,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE));
2f4c0a16 42440 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
377d47bd 42441 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
2f4c0a16
RD
42442 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
42443 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
42444 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
42445 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
42446 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
42447 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
42448 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
42449 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
42450 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
42451 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
42452 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
42453 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
42454 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
42455 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
42456 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
42457 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
42458 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
42459 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
42460 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
42461 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
42462 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
42463 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
42464 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
42465 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
42466 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
42467 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
42468 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
42469 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
42470 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
42471 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
42472 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
42473 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
42474 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
42475 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
42476 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
42477 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
42478 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
42479 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
42480 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
42481 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
42482 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
42483 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
42484 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
42485 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
42486 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
42487 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
42488 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
42489 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
42490 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
42491 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
42492 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
42493 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
42494 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
42495 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
42496 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
42497 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
42498 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
42499 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
42500 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
42501 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
42502 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
42503 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
42504 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
42505 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
42506 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
42507 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
42508 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
42509 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
42510 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
42511 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
42512 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
42513 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
42514 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
42515 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
42516 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
42517 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
42518 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
42519 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
42520 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
42521 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
42522 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
42523 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
42524 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
42525 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
42526 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
42527 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
42528 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
42529 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
42530 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
42531 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
42532 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
42533 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
42534 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
42535 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
42536 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
42537 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
42538 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
42539 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
42540 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
42541 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
42542 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
42543 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
42544 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
42545 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
42546 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
42547 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
42548 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
42549 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
42550 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
42551 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
42552 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
42553 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
42554 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
42555 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
42556 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
42557 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
42558 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
42559 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
42560 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
42561 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
42562 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
42563 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
42564 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
42565 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
42566 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
42567 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
42568 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
42569 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
42570 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
42571 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
42572 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
42573 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
42574 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
42575 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
42576 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
42577 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
42578 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
42579 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
42580 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
42581 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
42582 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
42583 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
42584 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
42585 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
42586 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
42587 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
42588 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
42589 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
42590 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
42591 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
42592 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
42593 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
42594 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
42595 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
42596 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
42597 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
42598 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
42599 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
42600 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
42601 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
42602 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
42603 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
42604 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
42605 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
42606 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
42607 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
42608 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
42609 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
42610 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
42611 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
42612 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
42613 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
42614 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
42615 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
42616 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
42617 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
42618 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
42619 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
42620 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
42621 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
42622 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
42623 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
42624 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
42625 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
42626 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
42627 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
42628 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
42629 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
42630 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
42631 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
42632 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
42633 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
42634 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
42635 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
42636 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
42637 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
42638 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
42639 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
42640 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
42641 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
42642 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
42643 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
42644 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
42645 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
42646 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
42647 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
42648 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
42649 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
42650 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
42651 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
42652 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
42653 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
42654 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
42655 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
42656 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
42657 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
42658 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
42659 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
42660 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
42661 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
42662 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
42663 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
42664 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
42665 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
42666 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
42667 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
42668 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
42669 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
42670 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
42671 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
42672 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
42673 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
42674 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
42675 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
42676 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
42677 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
42678 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
42679 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
42680 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
42681 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
42682 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
42683 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
42684 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
42685 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
42686 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
42687 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
42688 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
42689 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
42690 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
42691 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
42692 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
42693 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
42694 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
42695 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
42696 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
42697 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
42698 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
42699 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
42700 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
42701 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
42702 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
42703 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
42704 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 42705 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
cbd72d4f 42706 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
2f4c0a16
RD
42707 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
42708 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
42709 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
42710 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
42711 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
42712 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
42713 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
42714 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
42715 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
42716 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
42717 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
42718 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
42719 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
42720 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
42721 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
42722 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
42723 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
42724 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
42725 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
42726 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
42727 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
42728 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
42729 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
42730 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
42731 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
42732 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
42733 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
42734 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
42735 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
42736 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
42737 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
42738 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
42739 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
42740 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
42741 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
42742 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
42743 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
42744 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
42745 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
42746 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
42747 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
42748 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
42749 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
42750 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
42751 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
42752 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
42753 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
42754 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
42755 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
42756 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
42757 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
d14a1e28
RD
42758 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
42759 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
2f4c0a16
RD
42760 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
42761 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
42762 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
d14a1e28
RD
42763
42764 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42765
42766
42767 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42768
42769 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
42770 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
42771 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
42772 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
42773 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
42774 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
2f4c0a16
RD
42775 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
42776 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
42777 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
42778 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
42779 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
42780 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
42781 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
42782 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
42783 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
42784 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
42785 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
42786 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
42787 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
42788 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
42789 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
42790 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
42791 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
42792 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
42793 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
42794 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
42795 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
42796 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
42797 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
42798 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
42799 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
42800 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
42801 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
42802 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
42803 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
42804 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
42805 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
42806 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
42807 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
42808 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
42809 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
42810 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
42811 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
42812 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
42813 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
42814 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
42815 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
42816 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
42817 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
42818 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
42819 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
42820 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
42821 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
42822 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
42823 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
42824 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
42825 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
42826 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
42827 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
42828 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
42829 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
42830 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
42831 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
42832 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
42833 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
42834 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
42835 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
42836 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
42837 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
42838 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
42839 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
42840 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
42841 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
42842 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
42843 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
42844 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
42845 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
42846 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
42847 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
42848 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
42849 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
42850 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
42851 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
42852 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
42853 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
42854 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
42855 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
42856 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
42857 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
42858 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
42859 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
42860 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
42861 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
42862 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
42863 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
42864 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
42865 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
42866 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
42867 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
42868 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
42869 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
42870 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
42871 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
42872 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
42873 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
42874 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
42875 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
42876 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
42877 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
42878 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
42879 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
42880 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
42881 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
42882 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
42883 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
42884 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
42885 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
42886 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
42887 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
42888 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
42889 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
42890 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
42891 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
42892 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
42893 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
42894 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
42895 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
42896 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
42897 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
42898 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
42899 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
42900 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
42901 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
2f4c0a16
RD
42902 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
42903 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
42904 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
42905 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
42906 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
42907 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
42908 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
42909 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
42910 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
42911 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
42912 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
42913 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
42914 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
42915 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
42916 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
41f1cec7 42917 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
423f194a 42918 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
ce7284bd
RD
42919 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
42920 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
42921 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
42922 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
377d47bd 42923 PyDict_SetItemString(d,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX));
d14a1e28 42924 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
cbd72d4f 42925 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
2f4c0a16
RD
42926 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
42927 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
42928 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
d14a1e28 42929 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
2f4c0a16
RD
42930 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
42931 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
42932 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
42933 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
42934 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
42935 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
42936 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
42937 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
42938 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
42939 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
42940 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
42941 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
42942 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
42943 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
42944 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
42945 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
42946 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
42947 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
42948 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
d14a1e28
RD
42949
42950 // Initialize threading, some globals and such
42951 __wxPyPreStart(d);
42952
42953
42954 // Although these are defined in __version__ they need to be here too so
42955 // that an assert can be done to ensure that the wxPython and the wxWindows
42956 // versions match.
42957 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
42958 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
42959 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
42960
42961}
42962