]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/core_wrap.cpp
Fixed OOR typo
[wxWidgets.git] / wxPython / src / msw / core_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
83448d71 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
f0983263
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
f0983263
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
f0983263 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
f0983263 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 {
f0983263 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
f0983263 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 *);
f0983263
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)
83448d71 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
f0983263
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198/* Contract support */
199
423f194a 200#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 201
d14a1e28
RD
202#ifdef __cplusplus
203}
204#endif
205
206
d14a1e28
RD
207/* -------- TYPES TABLE (BEGIN) -------- */
208
209#define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210#define SWIGTYPE_p_wxRealPoint swig_types[1]
211#define SWIGTYPE_p_wxSizerItem swig_types[2]
212#define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213#define SWIGTYPE_p_wxScrollEvent swig_types[4]
214#define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215#define SWIGTYPE_p_wxSizer swig_types[6]
216#define SWIGTYPE_p_wxBoxSizer swig_types[7]
217#define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218#define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219#define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220#define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221#define SWIGTYPE_p_wxMenu swig_types[12]
222#define SWIGTYPE_p_wxEvent swig_types[13]
223#define SWIGTYPE_p_wxGridSizer swig_types[14]
224#define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225#define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226#define SWIGTYPE_p_wxItemContainer swig_types[17]
227#define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228#define SWIGTYPE_p_wxPaintEvent swig_types[19]
229#define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230#define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231#define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232#define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233#define SWIGTYPE_p_wxControl swig_types[24]
234#define SWIGTYPE_p_wxFont swig_types[25]
235#define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236#define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237#define SWIGTYPE_p_wxFSFile swig_types[28]
238#define SWIGTYPE_p_wxCaret swig_types[29]
239#define SWIGTYPE_p_wxRegion swig_types[30]
240#define SWIGTYPE_p_wxPoint2D swig_types[31]
241#define SWIGTYPE_p_int swig_types[32]
242#define SWIGTYPE_p_wxSize swig_types[33]
243#define SWIGTYPE_p_wxDC swig_types[34]
244#define SWIGTYPE_p_wxPySizer swig_types[35]
245#define SWIGTYPE_p_wxNotifyEvent swig_types[36]
246#define SWIGTYPE_p_wxPyEvent swig_types[37]
247#define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
248#define SWIGTYPE_p_wxAppTraits swig_types[39]
249#define SWIGTYPE_p_wxArrayString swig_types[40]
250#define SWIGTYPE_p_wxShowEvent swig_types[41]
251#define SWIGTYPE_p_wxToolTip swig_types[42]
4e760a36
RD
252#define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
253#define SWIGTYPE_p_wxIconizeEvent swig_types[44]
254#define SWIGTYPE_p_wxActivateEvent swig_types[45]
255#define SWIGTYPE_p_wxMoveEvent swig_types[46]
256#define SWIGTYPE_p_wxSizeEvent swig_types[47]
d14a1e28
RD
257#define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
258#define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
259#define SWIGTYPE_p_wxIdleEvent swig_types[50]
260#define SWIGTYPE_p_wxMenuItem swig_types[51]
261#define SWIGTYPE_p_wxStaticBox swig_types[52]
262#define SWIGTYPE_p_long swig_types[53]
263#define SWIGTYPE_p_wxTIFFHandler swig_types[54]
264#define SWIGTYPE_p_wxXPMHandler swig_types[55]
265#define SWIGTYPE_p_wxPNMHandler swig_types[56]
266#define SWIGTYPE_p_wxJPEGHandler swig_types[57]
267#define SWIGTYPE_p_wxPCXHandler swig_types[58]
268#define SWIGTYPE_p_wxGIFHandler swig_types[59]
269#define SWIGTYPE_p_wxPNGHandler swig_types[60]
270#define SWIGTYPE_p_wxANIHandler swig_types[61]
271#define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
4e760a36
RD
272#define SWIGTYPE_p_wxEvtHandler swig_types[63]
273#define SWIGTYPE_p_wxCURHandler swig_types[64]
274#define SWIGTYPE_p_wxICOHandler swig_types[65]
275#define SWIGTYPE_p_wxBMPHandler swig_types[66]
276#define SWIGTYPE_p_wxImageHandler swig_types[67]
277#define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
278#define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
279#define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
280#define SWIGTYPE_p_wxZipFSHandler swig_types[71]
d14a1e28
RD
281#define SWIGTYPE_p_wxRect swig_types[72]
282#define SWIGTYPE_p_wxGBSpan swig_types[73]
283#define SWIGTYPE_p_wxPropagateOnce swig_types[74]
284#define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
8edf1c75
RD
285#define SWIGTYPE_p_char swig_types[76]
286#define SWIGTYPE_p_wxGBPosition swig_types[77]
287#define SWIGTYPE_p_wxImage swig_types[78]
288#define SWIGTYPE_p_wxFrame swig_types[79]
289#define SWIGTYPE_p_wxScrollWinEvent swig_types[80]
290#define SWIGTYPE_p_wxImageHistogram swig_types[81]
291#define SWIGTYPE_p_byte swig_types[82]
292#define SWIGTYPE_p_wxPoint swig_types[83]
293#define SWIGTYPE_p_wxCursor swig_types[84]
294#define SWIGTYPE_p_wxObject swig_types[85]
295#define SWIGTYPE_p_wxPyInputStream swig_types[86]
296#define SWIGTYPE_p_wxOutputStream swig_types[87]
297#define SWIGTYPE_p_wxInputStream swig_types[88]
298#define SWIGTYPE_p_wxDateTime swig_types[89]
299#define SWIGTYPE_p_wxKeyEvent swig_types[90]
300#define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
301#define SWIGTYPE_p_wxWindowDestroyEvent swig_types[92]
302#define SWIGTYPE_p_wxWindow swig_types[93]
303#define SWIGTYPE_p_wxMenuBar swig_types[94]
4e760a36
RD
304#define SWIGTYPE_p_wxFileSystem swig_types[95]
305#define SWIGTYPE_p_wxBitmap swig_types[96]
306#define SWIGTYPE_p_wxMenuEvent swig_types[97]
307#define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
308#define SWIGTYPE_p_unsigned_char swig_types[99]
309#define SWIGTYPE_p_wxCloseEvent swig_types[100]
310#define SWIGTYPE_p_wxEraseEvent swig_types[101]
311#define SWIGTYPE_p_wxMouseEvent swig_types[102]
312#define SWIGTYPE_p_wxPyApp swig_types[103]
313#define SWIGTYPE_p_wxCommandEvent swig_types[104]
314#define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
315#define SWIGTYPE_p_wxPyDropTarget swig_types[106]
316#define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
317#define SWIGTYPE_p_wxFocusEvent swig_types[108]
318#define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
319#define SWIGTYPE_p_wxControlWithItems swig_types[110]
320#define SWIGTYPE_p_wxColour swig_types[111]
321#define SWIGTYPE_p_wxValidator swig_types[112]
322#define SWIGTYPE_p_wxPyValidator swig_types[113]
323static swig_type_info *swig_types[115];
d14a1e28
RD
324
325/* -------- TYPES TABLE (END) -------- */
326
327
328/*-----------------------------------------------
329 @(target):= _core.so
330 ------------------------------------------------*/
331#define SWIG_init init_core
332
333#define SWIG_name "_core"
334
2f4c0a16 335/* Auxiliar swig macros */
8edf1c75 336
8edf1c75 337#ifdef __cplusplus
2f4c0a16 338#define SWIGSTATICINLINE(a) static inline a
8edf1c75 339#define SWIGSTATIC(a) static a
2f4c0a16
RD
340#define swig_new_array(type, size) (new type[(size)])
341#define swig_delete_array(cptr) delete[] cptr
342#define swig_const_cast(type,a) const_cast<type>(a)
343#define swig_static_cast(type,a) static_cast<type>(a)
344#define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
8edf1c75 345
8edf1c75 346#ifdef HAVE_NUMERIC_CAST
2f4c0a16 347#define swig_numeric_cast(type,a) numeric_cast<type>(a)
8edf1c75 348#else
2f4c0a16 349#define swig_numeric_cast(type,a) static_cast<type>(a)
8edf1c75
RD
350#endif
351
2f4c0a16
RD
352#else /* C case */
353
354#define SWIGSTATICINLINE(a) static a
355#define SWIGSTATIC(a) static a
356#define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
357#define swig_delete_array(cptr) free((char*)cptr)
358#define swig_const_cast(type,a) (type)(a)
359#define swig_static_cast(type,a) (type)(a)
360#define swig_reinterpret_cast(type,a) (type)(a)
361#define swig_numeric_cast(type,a) (type)(a)
362
363#endif /* __cplusplus */
8edf1c75
RD
364
365
2f4c0a16
RD
366#define SWIG_FromSignedChar PyInt_FromLong
367#define SWIG_FromUnsignedChar PyInt_FromLong
368#define SWIG_FromShort PyInt_FromLong
369#define SWIG_FromUnsignedShort PyInt_FromLong
370#define SWIG_FromInt PyInt_FromLong
371#define SWIG_FromLong PyInt_FromLong
372#define SWIG_FromFloat PyFloat_FromDouble
373#define SWIG_FromDouble PyFloat_FromDouble
374#define SWIG_FromFloat PyFloat_FromDouble
375#define SWIG_FromDouble PyFloat_FromDouble
8edf1c75
RD
376
377
d14a1e28
RD
378#include "wx/wxPython/wxPython_int.h"
379#include "wx/wxPython/pyclasses.h"
380
381
382#ifndef wxPyUSE_EXPORT
383// Helper functions for dealing with SWIG objects and such. These are
384// located here so they know about the SWIG types and functions declared
385// in the wrapper code.
386
387#include <wx/hashmap.h>
388WX_DECLARE_STRING_HASH_MAP( swig_type_info*, wxPyTypeInfoHashMap );
389
390
391// Maintains a hashmap of className to swig_type_info pointers. Given the
392// name of a class either looks up the type info in the cache, or scans the
393// SWIG tables for it.
394extern PyObject* wxPyPtrTypeMap;
395static
396swig_type_info* wxPyFindSwigType(const wxChar* className) {
397
398 static wxPyTypeInfoHashMap* typeInfoCache = NULL;
399
400 if (typeInfoCache == NULL)
401 typeInfoCache = new wxPyTypeInfoHashMap;
402
403 wxString name(className);
404 swig_type_info* swigType = (*typeInfoCache)[name];
405
406 if (! swigType) {
407 // it wasn't in the cache, so look it up from SWIG
408 name.Append(wxT(" *"));
409 swigType = SWIG_Python_TypeQuery(name.mb_str());
410
411 // if it still wasn't found, try looking for a mapped name
412 if (!swigType) {
413 PyObject* item;
414 name = className;
415
416 if ((item = PyDict_GetItemString(wxPyPtrTypeMap,
417 (char*)(const char*)name.mbc_str())) != NULL) {
418 name = wxString(PyString_AsString(item), *wxConvCurrent);
419 name.Append(wxT(" *"));
420 swigType = SWIG_Python_TypeQuery(name.mb_str());
421 }
422 }
423 if (swigType) {
424 // and add it to the map if found
425 (*typeInfoCache)[className] = swigType;
426 }
427 }
428 return swigType;
429}
430
431
432// Check if a class name is a type known to SWIG
433bool wxPyCheckSwigType(const wxChar* className) {
434
435 swig_type_info* swigType = wxPyFindSwigType(className);
436 return swigType != NULL;
437}
438
439
440// Given a pointer to a C++ object and a class name, construct a Python proxy
441// object for it.
442PyObject* wxPyConstructObject(void* ptr,
443 const wxChar* className,
444 int setThisOwn) {
445
446 swig_type_info* swigType = wxPyFindSwigType(className);
447 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConstructObject"));
448
449 return SWIG_Python_NewPointerObj(ptr, swigType, setThisOwn);
450}
451
452
453// Extract a pointer to the wrapped C++ object from a Python proxy object.
454// Ensures that the proxy object is of the specified (or derived) type. If
455// not able to perform the conversion then a Python exception is set and the
423f194a 456// error should be handled properly in the caller. Returns True on success.
d14a1e28
RD
457bool wxPyConvertSwigPtr(PyObject* obj, void **ptr,
458 const wxChar* className) {
459
460 swig_type_info* swigType = wxPyFindSwigType(className);
423f194a 461 wxCHECK_MSG(swigType != NULL, False, wxT("Unknown type in wxPyConvertSwigPtr"));
d14a1e28
RD
462
463 return SWIG_Python_ConvertPtr(obj, ptr, swigType, SWIG_POINTER_EXCEPTION) != -1;
464}
465
466
467// Make a SWIGified pointer object suitable for a .this attribute
468PyObject* wxPyMakeSwigPtr(void* ptr, const wxChar* className) {
469
470 PyObject* robj = NULL;
471
472 swig_type_info* swigType = wxPyFindSwigType(className);
473 wxCHECK_MSG(swigType != NULL, NULL, wxT("Unknown type in wxPyConvertSwigPtr"));
474
475#ifdef SWIG_COBJECT_TYPES
476 robj = PyCObject_FromVoidPtrAndDesc((void *) ptr, (char *) swigType->name, NULL);
477#else
478 {
479 char result[1024];
480 char *r = result;
481 *(r++) = '_';
482 r = SWIG_Python_PackData(r, &ptr, sizeof(void *));
483 strcpy(r, swigType->name);
484 robj = PyString_FromString(result);
485 }
486#endif
487
488 return robj;
489}
490
491
492
493
494// Export a C API in a struct. Other modules will be able to load this from
495// the wx.core module and will then have safe access to these functions, even if
496// they are located in another shared library.
497static wxPyCoreAPI API = {
498
499 (p_SWIG_Python_TypeRegister_t)SWIG_Python_TypeRegister,
500 (p_SWIG_Python_TypeCheck_t)SWIG_Python_TypeCheck,
501 (p_SWIG_Python_TypeCast_t)SWIG_Python_TypeCast,
502 (p_SWIG_Python_TypeDynamicCast_t)SWIG_Python_TypeDynamicCast,
503 (p_SWIG_Python_TypeName_t)SWIG_Python_TypeName,
504 (p_SWIG_Python_TypeQuery_t)SWIG_Python_TypeQuery,
505 (p_SWIG_Python_TypeClientData_t)SWIG_Python_TypeClientData,
506 (p_SWIG_Python_newvarlink_t)SWIG_Python_newvarlink,
507 (p_SWIG_Python_addvarlink_t)SWIG_Python_addvarlink,
508 (p_SWIG_Python_ConvertPtr_t)SWIG_Python_ConvertPtr,
509 (p_SWIG_Python_ConvertPacked_t)SWIG_Python_ConvertPacked,
510 (p_SWIG_Python_PackData_t)SWIG_Python_PackData,
511 (p_SWIG_Python_UnpackData_t)SWIG_Python_UnpackData,
512 (p_SWIG_Python_NewPointerObj_t)SWIG_Python_NewPointerObj,
513 (p_SWIG_Python_NewPackedObj_t)SWIG_Python_NewPackedObj,
514 (p_SWIG_Python_InstallConstants_t)SWIG_Python_InstallConstants,
515 (p_SWIG_Python_MustGetPtr_t)SWIG_Python_MustGetPtr,
516
517 wxPyCheckSwigType,
518 wxPyConstructObject,
519 wxPyConvertSwigPtr,
520 wxPyMakeSwigPtr,
521
522 wxPyBeginAllowThreads,
523 wxPyEndAllowThreads,
524 wxPyBeginBlockThreads,
525 wxPyEndBlockThreads,
526
527 wxPy_ConvertList,
528
529 wxString_in_helper,
530 Py2wxString,
531 wx2PyString,
532
533 byte_LIST_helper,
534 int_LIST_helper,
535 long_LIST_helper,
536 string_LIST_helper,
537 wxPoint_LIST_helper,
538 wxBitmap_LIST_helper,
539 wxString_LIST_helper,
540 wxAcceleratorEntry_LIST_helper,
541
542 wxSize_helper,
543 wxPoint_helper,
544 wxRealPoint_helper,
545 wxRect_helper,
546 wxColour_helper,
547 wxPoint2D_helper,
548
549 wxPySimple_typecheck,
550 wxColour_typecheck,
551
552 wxPyCBH_setCallbackInfo,
553 wxPyCBH_findCallback,
554 wxPyCBH_callCallback,
555 wxPyCBH_callCallbackObj,
556 wxPyCBH_delete,
557
558 wxPyMake_wxObject,
559 wxPyMake_wxSizer,
560 wxPyPtrTypeMap_Add,
561 wxPy2int_seq_helper,
562 wxPy4int_seq_helper,
563 wxArrayString2PyList_helper,
564 wxArrayInt2PyList_helper,
565
566 wxPyClientData_dtor,
567 wxPyUserData_dtor,
568 wxPyOORClientData_dtor,
569
570 wxPyCBInputStream_create,
571
572 wxPyInstance_Check,
573 wxPySwigInstance_Check
574
575};
576
577#endif
578
579
d14a1e28
RD
580#if ! wxUSE_HOTKEY
581enum wxHotkeyModifier
582{
583 wxMOD_NONE = 0,
584 wxMOD_ALT = 1,
585 wxMOD_CONTROL = 2,
586 wxMOD_SHIFT = 4,
587 wxMOD_WIN = 8
588};
589#define wxEVT_HOTKEY 9999
590#endif
591
d03fd34d 592 static const wxString wxPyEmptyString(wxEmptyString);
d14a1e28
RD
593wxString wxObject_GetClassName(wxObject *self){
594 return self->GetClassInfo()->GetClassName();
595 }
596void wxObject_Destroy(wxObject *self){
597 delete self;
598 }
599
600#ifndef __WXMAC__
601#define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
602#endif
603
8edf1c75 604
2f4c0a16
RD
605#include <limits.h>
606
607
608SWIGSTATICINLINE(long)
609SWIG_CheckLongInRange(long value, const char* type,
610 long min_value, long max_value)
611{
612 if (!PyErr_Occurred()) {
613 if (value < min_value) {
614 PyObject *err =
615 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
616 value, type, min_value);
617
618 PyErr_SetObject(PyExc_OverflowError, err);
619 Py_DECREF(err);
620 } else if (value > max_value) {
621 PyObject *err =
622 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
623 value, type, max_value);
624 PyErr_SetObject(PyExc_OverflowError, err);
625 Py_DECREF(err);
626 }
627 }
628 return value;
629}
630
631
632SWIGSTATICINLINE(long)
633SWIG_AsLong(PyObject * obj)
634{
635 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
636}
637
638
639#if INT_MAX != LONG_MAX
640SWIGSTATICINLINE(int)
641SWIG_AsInt(PyObject *obj)
8edf1c75 642{
2f4c0a16
RD
643 return swig_numeric_cast(int,
644 SWIG_CheckLongInRange(SWIG_AsLong(obj),
645 "int", INT_MIN, INT_MAX));
646}
647#else
648#define SWIG_AsInt SWIG_AsLong
649#endif
650
651
652SWIGSTATICINLINE(int)
653SWIG_CheckInt(PyObject* obj)
654{
655 SWIG_AsInt(obj);
656 if (PyErr_Occurred()) {
657 PyErr_Clear();
658 return 0;
659 } else {
660 return 1;
661 }
8edf1c75
RD
662}
663
423f194a 664PyObject *wxSize_Get(wxSize *self){
d14a1e28
RD
665 wxPyBeginBlockThreads();
666 PyObject* tup = PyTuple_New(2);
667 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
668 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
669 wxPyEndBlockThreads();
670 return tup;
671 }
8edf1c75 672
2f4c0a16
RD
673SWIGSTATICINLINE(double)
674SWIG_AsDouble(PyObject *obj)
8edf1c75 675{
2f4c0a16 676 double val = (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
8edf1c75 677#if HAVE_LONG_LONG
2f4c0a16 678 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
8edf1c75 679#else
2f4c0a16 680 ((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
8edf1c75
RD
681#endif
682 if (PyErr_Occurred()) {
683 PyErr_Clear();
684 PyErr_SetString(PyExc_TypeError, "a double is expected");
685 }
2f4c0a16
RD
686 return val;
687}
688
689
690SWIGSTATICINLINE(int)
691SWIG_CheckDouble(PyObject* obj)
692{
693 SWIG_AsDouble(obj);
694 if (PyErr_Occurred()) {
695 PyErr_Clear();
696 return 0;
697 } else {
698 return 1;
699 }
8edf1c75
RD
700}
701
d14a1e28
RD
702void wxRealPoint_Set(wxRealPoint *self,double x,double y){
703 self->x = x;
704 self->y = y;
705 }
423f194a 706PyObject *wxRealPoint_Get(wxRealPoint *self){
d14a1e28
RD
707 wxPyBeginBlockThreads();
708 PyObject* tup = PyTuple_New(2);
709 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->x));
710 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->y));
711 wxPyEndBlockThreads();
712 return tup;
713 }
8edf1c75 714
2f4c0a16
RD
715SWIGSTATICINLINE(int)
716SWIG_CheckLong(PyObject* obj)
8edf1c75 717{
2f4c0a16
RD
718 SWIG_AsLong(obj);
719 if (PyErr_Occurred()) {
720 PyErr_Clear();
721 return 0;
722 } else {
723 return 1;
724 }
8edf1c75
RD
725}
726
d14a1e28
RD
727void wxPoint_Set(wxPoint *self,long x,long y){
728 self->x = x;
729 self->y = y;
730 }
423f194a 731PyObject *wxPoint_Get(wxPoint *self){
d14a1e28
RD
732 wxPyBeginBlockThreads();
733 PyObject* tup = PyTuple_New(2);
734 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
735 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
736 wxPyEndBlockThreads();
737 return tup;
738 }
739void wxRect_Set(wxRect *self,int x,int y,int width,int height){
740 self->x = x;
741 self->y = y;
742 self->width = width;
743 self->height = height;
744 }
423f194a 745PyObject *wxRect_Get(wxRect *self){
d14a1e28
RD
746 wxPyBeginBlockThreads();
747 PyObject* tup = PyTuple_New(4);
748 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->x));
749 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->y));
750 PyTuple_SET_ITEM(tup, 2, PyInt_FromLong(self->width));
751 PyTuple_SET_ITEM(tup, 3, PyInt_FromLong(self->height));
752 wxPyEndBlockThreads();
753 return tup;
754 }
755
756 PyObject* wxIntersectRect(wxRect* r1, wxRect* r2) {
757 wxRegion reg1(*r1);
758 wxRegion reg2(*r2);
759 wxRect dest(0,0,0,0);
760 PyObject* obj;
761
762 reg1.Intersect(reg2);
763 dest = reg1.GetBox();
764
765 if (dest != wxRect(0,0,0,0)) {
766 wxPyBeginBlockThreads();
767 wxRect* newRect = new wxRect(dest);
423f194a 768 obj = wxPyConstructObject((void*)newRect, wxT("wxRect"), True);
d14a1e28
RD
769 wxPyEndBlockThreads();
770 return obj;
771 }
772 Py_INCREF(Py_None);
773 return Py_None;
774 }
775
776
777static PyObject* t_output_helper(PyObject* target, PyObject* o) {
778 PyObject* o2;
779 PyObject* o3;
780
781 if (!target) {
782 target = o;
783 } else if (target == Py_None) {
784 Py_DECREF(Py_None);
785 target = o;
786 } else {
787 if (!PyTuple_Check(target)) {
788 o2 = target;
789 target = PyTuple_New(1);
790 PyTuple_SetItem(target, 0, o2);
791 }
792 o3 = PyTuple_New(1);
793 PyTuple_SetItem(o3, 0, o);
794
795 o2 = target;
796 target = PySequence_Concat(o2, o3);
797 Py_DECREF(o2);
798 Py_DECREF(o3);
799 }
800 return target;
801}
802
803void wxPoint2D_Set(wxPoint2D *self,double x,double y){
804 self->m_x = x;
805 self->m_y = y;
806 }
423f194a 807PyObject *wxPoint2D_Get(wxPoint2D *self){
d14a1e28
RD
808 wxPyBeginBlockThreads();
809 PyObject* tup = PyTuple_New(2);
810 PyTuple_SET_ITEM(tup, 0, PyFloat_FromDouble(self->m_x));
811 PyTuple_SET_ITEM(tup, 1, PyFloat_FromDouble(self->m_y));
812 wxPyEndBlockThreads();
813 return tup;
814 }
815
816#include "wx/wxPython/pyistream.h"
817
818wxPyInputStream *new_wxPyInputStream(PyObject *p){
819 wxInputStream* wxis = wxPyCBInputStream::create(p);
820 if (wxis)
821 return new wxPyInputStream(wxis);
822 else
823 return NULL;
824 }
8edf1c75 825
2f4c0a16
RD
826SWIGSTATICINLINE(PyObject*)
827SWIG_FromChar(char c)
8edf1c75
RD
828{
829 return PyString_FromStringAndSize(&c,1);
830}
831
832
2f4c0a16
RD
833SWIGSTATICINLINE(PyObject* )
834SWIG_FromUnsignedLong(unsigned long value)
835{
836 return (value > LONG_MAX) ?
837 PyLong_FromUnsignedLong(value)
838 : PyInt_FromLong(swig_numeric_cast(long,value));
839}
840
841
842/* returns '1' if the input is a raw char*, '0' if is a PyString */
843SWIGSTATIC(int)
844SWIG_AsCharPtrAndSize(PyObject *obj, char** cptr, size_t* size)
8edf1c75 845{
2f4c0a16
RD
846 static swig_type_info* pchar_info = 0;
847 int psize = 0;
848 if (!pchar_info) pchar_info = SWIG_TypeQuery("char *");
849
850 if (SWIG_ConvertPtr(obj, swig_reinterpret_cast(void **,cptr), pchar_info, 0) == -1) {
851 PyErr_Clear();
852 PyString_AsStringAndSize(obj, cptr, &psize);
853 if (PyErr_Occurred()) {
854 PyErr_Clear();
855 PyErr_SetString(PyExc_TypeError,"a string is expected");
856 }
857 if (size) *size = psize;
858 return 0;
859 } else {
860 if (size) *size = (*cptr) ? (strlen(*cptr) + 1) : 0;
861 return 1;
862 }
8edf1c75
RD
863}
864
865
2f4c0a16
RD
866SWIGSTATIC(void)
867SWIG_AsCharArray(PyObject *obj, char* carray, size_t size)
868{
869 char* cptr; size_t csize;
870 SWIG_AsCharPtrAndSize(obj, &cptr, &csize);
871 if (PyErr_Occurred()) {
872 PyErr_Clear();
873 PyObject *err =
874 PyString_FromFormat("a char array of size %d is expected", size);
875 PyErr_SetObject(PyExc_TypeError, err);
876 Py_DECREF(err);
877 } else {
878 /* in C (but not in C++) you can do:
879
880 char x[5] = "hello";
881
882 ie, assing the array using an extra '0' char.
883 */
884#ifndef __cplusplus
885 if ((csize == size + 1) && !(cptr[csize-1])) --csize;
886#endif
887 if (csize > size) {
888 PyObject *err =
889 PyString_FromFormat("a char array of maximum size %d is expected",
890 size);
891 PyErr_SetObject(PyExc_TypeError, err);
892 Py_DECREF(err);
893 } else {
894 if (csize) memcpy(carray, cptr, csize);
895 if (csize < size) memset(carray + csize, 0, size - csize);
896 }
897 }
898}
899
900
901SWIGSTATICINLINE(char)
902SWIG_AsChar(PyObject *obj)
8edf1c75
RD
903{
904 char c = 0;
905 if (PyInt_Check(obj) || PyLong_Check(obj)) {
2f4c0a16
RD
906 c = swig_numeric_cast(char,
907 SWIG_CheckLongInRange(SWIG_AsLong(obj),
908 "char", CHAR_MIN, CHAR_MAX));
8edf1c75 909 } else {
2f4c0a16
RD
910 SWIG_AsCharArray(obj, &c, 1);
911 if (PyErr_Occurred()) {
912 PyErr_Clear();
8edf1c75
RD
913 PyErr_SetString(PyExc_TypeError, "a char is expected");
914 }
915 }
916 return c;
917}
918
2f4c0a16
RD
919
920SWIGSTATICINLINE(int)
921SWIG_CheckChar(PyObject* obj)
922{
923 SWIG_AsChar(obj);
924 if (PyErr_Occurred()) {
925 PyErr_Clear();
926 return 0;
927 } else {
928 return 1;
929 }
930}
931
d14a1e28
RD
932void wxOutputStream_write(wxOutputStream *self,PyObject *obj){
933 // We use only strings for the streams, not unicode
934 PyObject* str = PyObject_Str(obj);
935 if (! str) {
936 PyErr_SetString(PyExc_TypeError, "Unable to convert to string");
937 return;
938 }
939 self->Write(PyString_AS_STRING(str),
940 PyString_GET_SIZE(str));
941 Py_DECREF(str);
942 }
943
944#include "wx/wxPython/pyistream.h"
945
946
947class wxPyFileSystemHandler : public wxFileSystemHandler
948{
949public:
950 wxPyFileSystemHandler() : wxFileSystemHandler() {}
951
952 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen);
953 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile);
954 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst);
955 DEC_PYCALLBACK_STRING__pure(FindNext);
956
957 wxString GetProtocol(const wxString& location) {
958 return wxFileSystemHandler::GetProtocol(location);
959 }
960
961 wxString GetLeftLocation(const wxString& location) {
962 return wxFileSystemHandler::GetLeftLocation(location);
963 }
964
965 wxString GetAnchor(const wxString& location) {
966 return wxFileSystemHandler::GetAnchor(location);
967 }
968
969 wxString GetRightLocation(const wxString& location) {
970 return wxFileSystemHandler::GetRightLocation(location);
971 }
972
973 wxString GetMimeTypeFromExt(const wxString& location) {
974 return wxFileSystemHandler::GetMimeTypeFromExt(location);
975 }
976
977 PYPRIVATE;
978};
979
980
981IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, CanOpen);
982IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler, wxFileSystemHandler, OpenFile);
983IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler, wxFileSystemHandler, FindFirst);
984IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler, wxFileSystemHandler, FindNext);
985
986
2f4c0a16
RD
987SWIGSTATICINLINE(bool)
988SWIG_AsBool(PyObject *obj)
8edf1c75
RD
989{
990 return PyObject_IsTrue(obj) ? true : false;
991}
992
993
2f4c0a16
RD
994SWIGSTATICINLINE(int)
995SWIG_CheckBool(PyObject* obj)
996{
997 SWIG_AsBool(obj);
998 if (PyErr_Occurred()) {
999 PyErr_Clear();
1000 return 0;
1001 } else {
1002 return 1;
1003 }
1004}
1005
1006
d14a1e28
RD
1007 wxString wxFileSystem_URLToFileName(const wxString& url) {
1008 wxFileName fname = wxFileSystem::URLToFileName(url);
1009 return fname.GetFullPath();
1010 }
1011
1012
1013 void __wxMemoryFSHandler_AddFile_wxImage(const wxString& filename,
1014 wxImage& image,
1015 long type) {
1016 wxMemoryFSHandler::AddFile(filename, image, type);
1017 }
1018
1019 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString& filename,
1020 const wxBitmap& bitmap,
1021 long type) {
1022 wxMemoryFSHandler::AddFile(filename, bitmap, type);
1023 }
1024
1025 void __wxMemoryFSHandler_AddFile_Data(const wxString& filename,
1026 PyObject* data) {
1027 wxMemoryFSHandler::AddFile(filename,
1028 // TODO: Verify data type
1029 (void*)PyString_AsString(data),
1030 (size_t)PyString_Size(data));
1031 }
1032
1033
1034#include "wx/wxPython/pyistream.h"
1035
8edf1c75 1036
2f4c0a16
RD
1037SWIGSTATICINLINE(unsigned long)
1038SWIG_CheckUnsignedLongInRange(unsigned long value, const char* type,
1039 unsigned long max_value)
1040{
1041 if (!PyErr_Occurred()) {
1042 if (value > max_value) {
1043 PyObject *err =
1044 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1045 value, type, max_value);
1046 PyErr_SetObject(PyExc_OverflowError, err);
1047 Py_DECREF(err);
1048 }
1049 }
1050 return value;
1051}
1052
1053
1054SWIGSTATICINLINE(unsigned long)
1055SWIG_AsUnsignedLong(PyObject * obj)
1056{
1057 if (PyLong_Check(obj)) {
1058 return PyLong_AsUnsignedLong(obj);
1059 } else {
1060 long i = PyInt_AsLong(obj);
1061 if ( !PyErr_Occurred() && (i < 0)) {
1062 PyErr_SetString(PyExc_TypeError, "negative value for unsigned type");
1063 }
1064 return i;
1065 }
1066}
1067
1068
1069SWIGSTATICINLINE(unsigned char)
1070SWIG_AsUnsignedChar(PyObject *obj)
8edf1c75 1071{
2f4c0a16
RD
1072 return swig_numeric_cast(unsigned char,
1073 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1074 "unsigned char", UCHAR_MAX));
1075}
1076
1077
1078SWIGSTATICINLINE(int)
1079SWIG_CheckUnsignedChar(PyObject* obj)
1080{
1081 SWIG_AsUnsignedChar(obj);
1082 if (PyErr_Occurred()) {
1083 PyErr_Clear();
1084 return 0;
1085 } else {
1086 return 1;
1087 }
8edf1c75
RD
1088}
1089
d14a1e28
RD
1090wxImage *new_wxImage(int width,int height,bool clear){
1091 if (width > 0 && height > 0)
1092 return new wxImage(width, height, clear);
1093 else
1094 return new wxImage;
1095 }
1096wxImage *new_wxImage(wxBitmap const &bitmap){
1097 return new wxImage(bitmap.ConvertToImage());
1098 }
1099wxImage *new_wxImage(int width,int height,unsigned char *data){
1100 // Copy the source data so the wxImage can clean it up later
1101 unsigned char* copy = (unsigned char*)malloc(width*height*3);
1102 if (copy == NULL) {
1103 PyErr_NoMemory();
1104 return NULL;
1105 }
1106 memcpy(copy, data, width*height*3);
423f194a 1107 return new wxImage(width, height, copy, False);
d14a1e28
RD
1108 }
1109PyObject *wxImage_GetData(wxImage *self){
1110 unsigned char* data = self->GetData();
1111 int len = self->GetWidth() * self->GetHeight() * 3;
1112 PyObject* rv;
1113 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len));
1114 return rv;
1115 }
1116void wxImage_SetData(wxImage *self,PyObject *data){
1117 unsigned char* dataPtr;
1118
1119 if (! PyString_Check(data)) {
1120 PyErr_SetString(PyExc_TypeError, "Expected string object");
1121 return /* NULL */ ;
1122 }
1123
1124 size_t len = self->GetWidth() * self->GetHeight() * 3;
1125 dataPtr = (unsigned char*) malloc(len);
1126 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1127 self->SetData(dataPtr);
1128 // wxImage takes ownership of dataPtr...
1129 }
1130PyObject *wxImage_GetDataBuffer(wxImage *self){
1131 unsigned char* data = self->GetData();
1132 int len = self->GetWidth() * self->GetHeight() * 3;
1133 PyObject* rv;
1134 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1135 return rv;
1136 }
1137void wxImage_SetDataBuffer(wxImage *self,PyObject *data){
1138 unsigned char* buffer;
1139 int size;
1140
1141 wxPyBeginBlockThreads();
1142 if (!PyArg_Parse(data, "t#", &buffer, &size))
1143 goto done;
1144
1145 if (size != self->GetWidth() * self->GetHeight() * 3) {
1146 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1147 goto done;
1148 }
1149 self->SetData(buffer);
1150 done:
1151 wxPyEndBlockThreads();
1152 }
1153PyObject *wxImage_GetAlphaData(wxImage *self){
1154 unsigned char* data = self->GetAlpha();
1155 if (! data) {
1156 RETURN_NONE();
1157 } else {
1158 int len = self->GetWidth() * self->GetHeight();
1159 PyObject* rv;
1160 wxPyBLOCK_THREADS( rv = PyString_FromStringAndSize((char*)data, len) );
1161 return rv;
1162 }
1163 }
1164void wxImage_SetAlphaData(wxImage *self,PyObject *data){
1165 unsigned char* dataPtr;
1166
1167 if (! PyString_Check(data)) {
1168 PyErr_SetString(PyExc_TypeError, "Expected string object");
1169 return /* NULL */ ;
1170 }
1171
1172 size_t len = self->GetWidth() * self->GetHeight();
1173 dataPtr = (unsigned char*) malloc(len);
1174 wxPyBLOCK_THREADS( memcpy(dataPtr, PyString_AsString(data), len) );
1175 self->SetAlpha(dataPtr);
1176 // wxImage takes ownership of dataPtr...
1177 }
1178PyObject *wxImage_GetAlphaBuffer(wxImage *self){
1179 unsigned char* data = self->GetAlpha();
1180 int len = self->GetWidth() * self->GetHeight();
1181 PyObject* rv;
1182 wxPyBLOCK_THREADS( rv = PyBuffer_FromReadWriteMemory(data, len) );
1183 return rv;
1184 }
1185void wxImage_SetAlphaBuffer(wxImage *self,PyObject *data){
1186 unsigned char* buffer;
1187 int size;
1188
1189 wxPyBeginBlockThreads();
1190 if (!PyArg_Parse(data, "t#", &buffer, &size))
1191 goto done;
1192
1193 if (size != self->GetWidth() * self->GetHeight()) {
1194 PyErr_SetString(PyExc_TypeError, "Incorrect buffer size");
1195 goto done;
1196 }
1197 self->SetAlpha(buffer);
1198 done:
1199 wxPyEndBlockThreads();
1200 }
2f4c0a16
RD
1201
1202SWIGSTATICINLINE(int)
1203SWIG_CheckUnsignedLong(PyObject* obj)
1204{
1205 SWIG_AsUnsignedLong(obj);
1206 if (PyErr_Occurred()) {
1207 PyErr_Clear();
1208 return 0;
1209 } else {
1210 return 1;
1211 }
1212}
1213
d14a1e28
RD
1214wxBitmap wxImage_ConvertToBitmap(wxImage *self){
1215 wxBitmap bitmap(*self);
1216 return bitmap;
1217 }
1218wxBitmap wxImage_ConvertToMonoBitmap(wxImage *self,unsigned char red,unsigned char green,unsigned char blue){
1219 wxImage mono = self->ConvertToMono( red, green, blue );
1220 wxBitmap bitmap( mono, 1 );
1221 return bitmap;
1222 }
1223 static const wxString wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT);
1224 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X);
1225 static const wxString wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y);
1226 static const wxString wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION);
1227 static const wxString wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT);
1228void wxEvtHandler_Connect(wxEvtHandler *self,int id,int lastId,int eventType,PyObject *func){
1229 if (PyCallable_Check(func)) {
1230 self->Connect(id, lastId, eventType,
1231 (wxObjectEventFunction) &wxPyCallback::EventThunker,
1232 new wxPyCallback(func));
1233 }
1234 else if (func == Py_None) {
1235 self->Disconnect(id, lastId, eventType,
1236 (wxObjectEventFunction)
1237 &wxPyCallback::EventThunker);
1238 }
1239 else {
1240 PyErr_SetString(PyExc_TypeError, "Expected callable object or None.");
1241 }
1242 }
1243bool wxEvtHandler_Disconnect(wxEvtHandler *self,int id,int lastId,wxEventType eventType){
1244 return self->Disconnect(id, lastId, eventType,
1245 (wxObjectEventFunction)
1246 &wxPyCallback::EventThunker);
1247 }
1248void wxEvtHandler__setOORInfo(wxEvtHandler *self,PyObject *_self){
1249 if (_self && _self != Py_None) {
1250 self->SetClientObject(new wxPyOORClientData(_self));
1251 }
1252 else {
1253 wxPyOORClientData* data = (wxPyOORClientData*)self->GetClientObject();
1254 if (data) {
1255 self->SetClientObject(NULL); // This will delete it too
1256 }
1257 }
1258 }
1259int wxKeyEvent_GetUniChar(wxKeyEvent *self){
a64def11
RD
1260 #if wxUSE_UNICODE
1261 return self->m_uniChar;
1262 #else
d14a1e28 1263 return 0;
a64def11 1264 #endif
d14a1e28 1265 }
8edf1c75 1266
2f4c0a16
RD
1267#if UINT_MAX < LONG_MAX
1268#define SWIG_FromUnsignedInt SWIG_FromLong
1269#else
1270#define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1271#endif
8edf1c75
RD
1272
1273
2f4c0a16
RD
1274#if UINT_MAX != ULONG_MAX
1275SWIGSTATICINLINE(unsigned int)
1276SWIG_AsUnsignedInt(PyObject *obj)
8edf1c75 1277{
2f4c0a16
RD
1278 return swig_numeric_cast(unsigned int,
1279 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj),
1280 "unsigned int", UINT_MAX));
1281}
1282#else
1283#define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1284#endif
1285
1286
1287SWIGSTATICINLINE(int)
1288SWIG_CheckUnsignedInt(PyObject* obj)
1289{
1290 SWIG_AsUnsignedInt(obj);
1291 if (PyErr_Occurred()) {
1292 PyErr_Clear();
1293 return 0;
1294 } else {
1295 return 1;
1296 }
8edf1c75
RD
1297}
1298
d14a1e28
RD
1299void wxSizeEvent_SetSize(wxSizeEvent *self,wxSize size){
1300 self->m_size = size;
1301 }
1302void wxMoveEvent_SetPosition(wxMoveEvent *self,wxPoint pos){
1303 self->m_pos = pos;
1304 }
1305PyObject *wxDropFilesEvent_GetFiles(wxDropFilesEvent *self){
1306 int count = self->GetNumberOfFiles();
1307 wxString* files = self->GetFiles();
1308 PyObject* list = PyList_New(count);
1309
1310 if (!list) {
1311 PyErr_SetString(PyExc_MemoryError, "Can't allocate list of files!");
1312 return NULL;
1313 }
1314
1315 for (int i=0; i<count; i++) {
a64def11 1316 PyList_SetItem(list, i, wx2PyString(files[i]));
d14a1e28
RD
1317 }
1318 return list;
1319 }
1320
1321
1322wxPyApp *new_wxPyApp(){
1323 wxPythonApp = new wxPyApp();
1324 return wxPythonApp;
1325 }
1326
1327 void wxApp_CleanUp() {
1328 __wxPyCleanup();
1329 }
1330
1331
1332 wxPyApp* wxGetApp() {
1333 return (wxPyApp*)wxTheApp;
1334 }
1335
1336
1337
423f194a 1338 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
1339PyObject *wxWindow_GetChildren(wxWindow *self){
1340 wxWindowList& list = self->GetChildren();
1341 return wxPy_ConvertList(&list);
1342 }
1343bool wxWindow_RegisterHotKey(wxWindow *self,int hotkeyId,int modifiers,int keycode){
1344
1345
1346
423f194a 1347 return False;
d14a1e28
RD
1348
1349 }
1350bool wxWindow_UnregisterHotKey(wxWindow *self,int hotkeyId){
1351
1352
1353
423f194a 1354 return False;
d14a1e28
RD
1355
1356 }
1357long wxWindow_GetHandle(wxWindow *self){
1358 return wxPyGetWinHandle(self);
1359 }
1360
1361wxWindow* wxFindWindowById( long id, const wxWindow *parent = NULL ) {
1362 return wxWindow::FindWindowById(id, parent);
1363}
1364
1365wxWindow* wxFindWindowByName( const wxString& name,
1366 const wxWindow *parent = NULL ) {
1367 return wxWindow::FindWindowByName(name, parent);
1368}
1369
1370wxWindow* wxFindWindowByLabel( const wxString& label,
1371 const wxWindow *parent = NULL ) {
1372 return wxWindow::FindWindowByLabel(label, parent);
1373}
1374
1375
d14a1e28 1376#ifdef __WXMSW__
fe763115
RD
1377#include <wx/msw/private.h> // to get wxGetWindowId
1378#endif
1379
1380
1381 wxWindow* wxWindow_FromHWND(wxWindow* parent, unsigned long _hWnd) {
1382#ifdef __WXMSW__
1383 WXHWND hWnd = (WXHWND)_hWnd;
1384 long id = wxGetWindowId(hWnd);
d14a1e28 1385 wxWindow* win = new wxWindow;
fe763115
RD
1386 parent->AddChild(win);
1387 win->SetEventHandler(win);
1388 win->SetHWND(hWnd);
1389 win->SetId(id);
1390 win->SubclassWin(hWnd);
1391 win->AdoptAttributesFromHWND();
1392 win->SetupColours();
d14a1e28
RD
1393 return win;
1394#else
cbd72d4f 1395 wxPyRaiseNotImplemented();
d14a1e28
RD
1396 return NULL;
1397#endif
1398 }
1399
1400
1401IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator, wxValidator, Validate);
1402IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferToWindow);
1403IMP_PYCALLBACK_BOOL_(wxPyValidator, wxValidator, TransferFromWindow);
1404
1405IMPLEMENT_DYNAMIC_CLASS(wxPyValidator, wxValidator);
1406
1407void wxMenu_Destroy(wxMenu *self){ delete self; }
1408PyObject *wxMenu_GetMenuItems(wxMenu *self){
1409 wxMenuItemList& list = self->GetMenuItems();
1410 return wxPy_ConvertList(&list);
1411 }
d03fd34d 1412 static const wxString wxPyControlNameStr(wxControlNameStr);
d14a1e28
RD
1413int wxItemContainer_Append(wxItemContainer *self,wxString const &item,PyObject *clientData){
1414 if (clientData) {
1415 wxPyClientData* data = new wxPyClientData(clientData);
1416 return self->Append(item, data);
1417 } else
1418 return self->Append(item);
1419 }
1420int wxItemContainer_Insert(wxItemContainer *self,wxString const &item,int pos,PyObject *clientData){
1421 if (clientData) {
1422 wxPyClientData* data = new wxPyClientData(clientData);
1423 return self->Insert(item, pos, data);
1424 } else
1425 return self->Insert(item, pos);
1426 }
1427PyObject *wxItemContainer_GetClientData(wxItemContainer *self,int n){
1428 wxPyClientData* data = (wxPyClientData*)self->GetClientObject(n);
1429 if (data) {
1430 Py_INCREF(data->m_obj);
1431 return data->m_obj;
1432 } else {
1433 Py_INCREF(Py_None);
1434 return Py_None;
1435 }
1436 }
1437void wxItemContainer_SetClientData(wxItemContainer *self,int n,PyObject *clientData){
1438 wxPyClientData* data = new wxPyClientData(clientData);
1439 self->SetClientObject(n, data);
1440 }
1441
1442
8edf1c75 1443
2f4c0a16
RD
1444#include <float.h>
1445
8edf1c75 1446SWIGSTATIC(float)
2f4c0a16
RD
1447SWIG_FloatCast(double value)
1448{
1449 float f = 0;
1450 if (!PyErr_Occurred()) {
1451 if (value < FLT_MIN) {
1452 PyObject *err =
1453 PyString_FromFormat("value %g is less than float minimum %g",
1454 value, FLT_MIN);
1455 PyErr_SetObject(PyExc_OverflowError, err);
1456 Py_DECREF(err);
1457 } else if (value > FLT_MAX) {
1458 PyObject *err =
1459 PyString_FromFormat("value %g is greater than float maximum %g",
1460 value, FLT_MAX);
1461 PyErr_SetObject(PyExc_OverflowError, err);
1462 Py_DECREF(err);
1463 } else {
1464 f = swig_numeric_cast(float, value);
1465 }
1466 }
1467 return f;
1468}
1469
1470
1471SWIGSTATICINLINE(float)
1472SWIG_AsFloat(PyObject *obj)
8edf1c75 1473{
2f4c0a16
RD
1474 return SWIG_FloatCast(SWIG_AsDouble(obj));
1475}
1476
1477
1478SWIGSTATICINLINE(int)
1479SWIG_CheckFloat(PyObject* obj)
1480{
1481 SWIG_AsFloat(obj);
1482 if (PyErr_Occurred()) {
1483 PyErr_Clear();
1484 return 0;
1485 } else {
1486 return 1;
1487 }
8edf1c75
RD
1488}
1489
d14a1e28
RD
1490PyObject *wxSizerItem_GetUserData(wxSizerItem *self){
1491 wxPyUserData* data = (wxPyUserData*)self->GetUserData();
1492 if (data) {
1493 Py_INCREF(data->m_obj);
1494 return data->m_obj;
1495 } else {
1496 Py_INCREF(Py_None);
1497 return Py_None;
1498 }
1499 }
1500
1501// Figure out the type of the sizer item
1502
1503struct wxPySizerItemInfo {
1504 wxPySizerItemInfo()
423f194a
RD
1505 : window(NULL), sizer(NULL), gotSize(False),
1506 size(wxDefaultSize), gotPos(False), pos(-1)
d14a1e28
RD
1507 {}
1508
1509 wxWindow* window;
1510 wxSizer* sizer;
1511 bool gotSize;
1512 wxSize size;
1513 bool gotPos;
1514 int pos;
1515};
1516
1517static wxPySizerItemInfo wxPySizerItemTypeHelper(PyObject* item, bool checkSize, bool checkIdx ) {
1518
1519 wxPySizerItemInfo info;
1520 wxSize size;
1521 wxSize* sizePtr = &size;
1522
1523 // Find out what the type of the item is
1524 // try wxWindow
1525 if ( ! wxPyConvertSwigPtr(item, (void**)&info.window, wxT("wxWindow")) ) {
1526 PyErr_Clear();
1527 info.window = NULL;
1528
1529 // try wxSizer
1530 if ( ! wxPyConvertSwigPtr(item, (void**)&info.sizer, wxT("wxSizer")) ) {
1531 PyErr_Clear();
1532 info.sizer = NULL;
1533
1534 // try wxSize or (w,h)
1535 if ( checkSize && wxSize_helper(item, &sizePtr)) {
1536 info.size = *sizePtr;
423f194a 1537 info.gotSize = True;
d14a1e28
RD
1538 }
1539
1540 // or a single int
1541 if (checkIdx && PyInt_Check(item)) {
1542 info.pos = PyInt_AsLong(item);
423f194a 1543 info.gotPos = True;
d14a1e28
RD
1544 }
1545 }
1546 }
1547
1548 if ( !(info.window || info.sizer || (checkSize && info.gotSize) || (checkIdx && info.gotPos)) ) {
1549 // no expected type, figure out what kind of error message to generate
1550 if ( !checkSize && !checkIdx )
1551 PyErr_SetString(PyExc_TypeError, "wxWindow or wxSizer expected for item");
1552 else if ( checkSize && !checkIdx )
1553 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1554 else if ( !checkSize && checkIdx)
1555 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer or int (position) expected for item");
1556 else
1557 // can this one happen?
1558 PyErr_SetString(PyExc_TypeError, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1559 }
1560
1561 return info;
1562}
1563
1564void wxSizer__setOORInfo(wxSizer *self,PyObject *_self){
1565 self->SetClientObject(new wxPyOORClientData(_self));
1566 }
1567void wxSizer_Add(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1568
1569 wxPyUserData* data = NULL;
1570 wxPyBeginBlockThreads();
423f194a 1571 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1572 if ( userData && (info.window || info.sizer || info.gotSize) )
1573 data = new wxPyUserData(userData);
1574 wxPyEndBlockThreads();
1575
1576 // Now call the real Add method if a valid item type was found
1577 if ( info.window )
1578 self->Add(info.window, proportion, flag, border, data);
1579 else if ( info.sizer )
1580 self->Add(info.sizer, proportion, flag, border, data);
1581 else if (info.gotSize)
1582 self->Add(info.size.GetWidth(), info.size.GetHeight(),
1583 proportion, flag, border, data);
1584 }
1585void wxSizer_Insert(wxSizer *self,int before,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1586
1587 wxPyUserData* data = NULL;
1588 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);
1592 wxPyEndBlockThreads();
1593
1594 // Now call the real Insert method if a valid item type was found
1595 if ( info.window )
1596 self->Insert(before, info.window, proportion, flag, border, data);
1597 else if ( info.sizer )
1598 self->Insert(before, info.sizer, proportion, flag, border, data);
1599 else if (info.gotSize)
1600 self->Insert(before, info.size.GetWidth(), info.size.GetHeight(),
1601 proportion, flag, border, data);
1602 }
1603void wxSizer_Prepend(wxSizer *self,PyObject *item,int proportion,int flag,int border,PyObject *userData){
1604
1605 wxPyUserData* data = NULL;
1606 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);
1610 wxPyEndBlockThreads();
1611
1612 // Now call the real Prepend method if a valid item type was found
1613 if ( info.window )
1614 self->Prepend(info.window, proportion, flag, border, data);
1615 else if ( info.sizer )
1616 self->Prepend(info.sizer, proportion, flag, border, data);
1617 else if (info.gotSize)
1618 self->Prepend(info.size.GetWidth(), info.size.GetHeight(),
1619 proportion, flag, border, data);
1620 }
1621bool wxSizer_Remove(wxSizer *self,PyObject *item){
1622 wxPyBeginBlockThreads();
423f194a 1623 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
d14a1e28
RD
1624 wxPyEndBlockThreads();
1625 if ( info.window )
1626 return self->Remove(info.window);
1627 else if ( info.sizer )
1628 return self->Remove(info.sizer);
1629 else if ( info.gotPos )
1630 return self->Remove(info.pos);
1631 else
423f194a 1632 return False;
d14a1e28 1633 }
423f194a 1634void wxSizer__SetItemMinSize(wxSizer *self,PyObject *item,wxSize const &size){
d14a1e28 1635 wxPyBeginBlockThreads();
423f194a 1636 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, True);
d14a1e28
RD
1637 wxPyEndBlockThreads();
1638 if ( info.window )
1639 self->SetItemMinSize(info.window, size);
1640 else if ( info.sizer )
1641 self->SetItemMinSize(info.sizer, size);
1642 else if ( info.gotPos )
1643 self->SetItemMinSize(info.pos, size);
1644 }
1645PyObject *wxSizer_GetChildren(wxSizer *self){
1646 wxSizerItemList& list = self->GetChildren();
1647 return wxPy_ConvertList(&list);
1648 }
1649void wxSizer_Show(wxSizer *self,PyObject *item,bool show){
423f194a 1650 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1651 if ( info.window )
1652 self->Show(info.window, show);
1653 else if ( info.sizer )
1654 self->Show(info.sizer, show);
1655 }
1656void wxSizer_Hide(wxSizer *self,PyObject *item){
423f194a 1657 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1658 if ( info.window )
1659 self->Hide(info.window);
1660 else if ( info.sizer )
1661 self->Hide(info.sizer);
1662 }
1663bool wxSizer_IsShown(wxSizer *self,PyObject *item){
423f194a 1664 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, False, False);
d14a1e28
RD
1665 if ( info.window )
1666 return self->IsShown(info.window);
1667 else if ( info.sizer )
1668 return self->IsShown(info.sizer);
1669 else
423f194a 1670 return False;
d14a1e28
RD
1671 }
1672
1673// See pyclasses.h
1674IMP_PYCALLBACK___pure(wxPySizer, wxSizer, RecalcSizes);
1675IMP_PYCALLBACK_wxSize__pure(wxPySizer, wxSizer, CalcMin);
1676IMPLEMENT_DYNAMIC_CLASS(wxPySizer, wxSizer);
1677
1678
1679
1680
1681bool wxGBPosition_helper(PyObject* source, wxGBPosition** obj)
1682{
1683 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBPosition"));
1684}
1685
1686bool wxGBSpan_helper(PyObject* source, wxGBSpan** obj)
1687{
1688 return wxPyTwoIntItem_helper(source, obj, wxT("wxGBSpan"));
1689}
1690
1691
328fcd84
RD
1692bool wxGBPosition___eq__(wxGBPosition *self,wxGBPosition const *other){ return other ? (*self == *other) : False; }
1693bool wxGBPosition___ne__(wxGBPosition *self,wxGBPosition const *other){ return other ? (*self != *other) : True; }
423f194a
RD
1694void wxGBPosition_Set(wxGBPosition *self,int row,int col){
1695 self->SetRow(row);
1696 self->SetCol(col);
1697 }
1698PyObject *wxGBPosition_Get(wxGBPosition *self){
d14a1e28
RD
1699 wxPyBeginBlockThreads();
1700 PyObject* tup = PyTuple_New(2);
1701 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRow()));
1702 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetCol()));
1703 wxPyEndBlockThreads();
1704 return tup;
1705 }
328fcd84
RD
1706bool wxGBSpan___eq__(wxGBSpan *self,wxGBSpan const *other){ return other ? (*self == *other) : False; }
1707bool wxGBSpan___ne__(wxGBSpan *self,wxGBSpan const *other){ return other ? (*self != *other) : True; }
423f194a
RD
1708void wxGBSpan_Set(wxGBSpan *self,int rowspan,int colspan){
1709 self->SetRowspan(rowspan);
1710 self->SetColspan(colspan);
1711 }
1712PyObject *wxGBSpan_Get(wxGBSpan *self){
d14a1e28
RD
1713 wxPyBeginBlockThreads();
1714 PyObject* tup = PyTuple_New(2);
1715 PyTuple_SET_ITEM(tup, 0, PyInt_FromLong(self->GetRowspan()));
1716 PyTuple_SET_ITEM(tup, 1, PyInt_FromLong(self->GetColspan()));
1717 wxPyEndBlockThreads();
1718 return tup;
1719 }
1720bool wxGridBagSizer_Add(wxGridBagSizer *self,PyObject *item,wxGBPosition const &pos,wxGBSpan const &span,int flag,int border,PyObject *userData){
1721
1722 wxPyUserData* data = NULL;
1723 wxPyBeginBlockThreads();
423f194a 1724 wxPySizerItemInfo info = wxPySizerItemTypeHelper(item, True, False);
d14a1e28
RD
1725 if ( userData && (info.window || info.sizer || info.gotSize) )
1726 data = new wxPyUserData(userData);
1727 wxPyEndBlockThreads();
1728
1729 // Now call the real Add method if a valid item type was found
1730 if ( info.window )
1731 return self->Add(info.window, pos, span, flag, border, data);
1732 else if ( info.sizer )
1733 return self->Add(info.sizer, pos, span, flag, border, data);
1734 else if (info.gotSize)
1735 return self->Add(info.size.GetWidth(), info.size.GetHeight(),
1736 pos, span, flag, border, data);
423f194a 1737 return False;
d14a1e28
RD
1738 }
1739
1740
1741#ifdef __cplusplus
1742extern "C" {
1743#endif
2f4c0a16 1744static int _wrap_EmptyString_set(PyObject *_val) {
d03fd34d
RD
1745 PyErr_SetString(PyExc_TypeError,"Variable EmptyString is read-only.");
1746 return 1;
1747}
1748
1749
1750static PyObject *_wrap_EmptyString_get() {
1751 PyObject *pyobj;
1752
1753 {
1754#if wxUSE_UNICODE
1755 pyobj = PyUnicode_FromWideChar((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1756#else
1757 pyobj = PyString_FromStringAndSize((&wxPyEmptyString)->c_str(), (&wxPyEmptyString)->Len());
1758#endif
1759 }
1760 return pyobj;
1761}
1762
1763
d14a1e28
RD
1764static PyObject *_wrap_Object_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
1765 PyObject *resultobj;
1766 wxObject *arg1 = (wxObject *) 0 ;
1767 wxString result;
1768 PyObject * obj0 = 0 ;
1769 char *kwnames[] = {
1770 (char *) "self", NULL
1771 };
1772
1773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_GetClassName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1776 {
1777 PyThreadState* __tstate = wxPyBeginAllowThreads();
1778 result = wxObject_GetClassName(arg1);
1779
1780 wxPyEndAllowThreads(__tstate);
1781 if (PyErr_Occurred()) SWIG_fail;
1782 }
1783 {
1784#if wxUSE_UNICODE
1785 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
1786#else
1787 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
1788#endif
1789 }
1790 return resultobj;
1791 fail:
1792 return NULL;
1793}
1794
1795
1796static PyObject *_wrap_Object_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
1797 PyObject *resultobj;
1798 wxObject *arg1 = (wxObject *) 0 ;
1799 PyObject * obj0 = 0 ;
1800 char *kwnames[] = {
1801 (char *) "self", NULL
1802 };
1803
1804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Object_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxObject,
1806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1807 {
1808 PyThreadState* __tstate = wxPyBeginAllowThreads();
1809 wxObject_Destroy(arg1);
1810
1811 wxPyEndAllowThreads(__tstate);
1812 if (PyErr_Occurred()) SWIG_fail;
1813 }
1814 Py_INCREF(Py_None); resultobj = Py_None;
1815 return resultobj;
1816 fail:
1817 return NULL;
1818}
1819
1820
1821static PyObject * Object_swigregister(PyObject *self, PyObject *args) {
1822 PyObject *obj;
1823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1824 SWIG_TypeClientData(SWIGTYPE_p_wxObject, obj);
1825 Py_INCREF(obj);
1826 return Py_BuildValue((char *)"");
1827}
1828static PyObject *_wrap_Size_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1829 PyObject *resultobj;
1830 wxSize *arg1 = (wxSize *) 0 ;
1831 int arg2 ;
1832 PyObject * obj0 = 0 ;
8edf1c75 1833 PyObject * obj1 = 0 ;
d14a1e28
RD
1834 char *kwnames[] = {
1835 (char *) "self",(char *) "x", NULL
1836 };
1837
8edf1c75 1838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_width_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1841 arg2 = (int) SWIG_AsInt(obj1);
1842 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1843 if (arg1) (arg1)->x = arg2;
1844
1845 Py_INCREF(Py_None); resultobj = Py_None;
1846 return resultobj;
1847 fail:
1848 return NULL;
1849}
1850
1851
1852static PyObject *_wrap_Size_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1853 PyObject *resultobj;
1854 wxSize *arg1 = (wxSize *) 0 ;
1855 int result;
1856 PyObject * obj0 = 0 ;
1857 char *kwnames[] = {
1858 (char *) "self", NULL
1859 };
1860
1861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_width_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1864 result = (int) ((arg1)->x);
1865
2f4c0a16 1866 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1867 return resultobj;
1868 fail:
1869 return NULL;
1870}
1871
1872
1873static PyObject *_wrap_Size_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
1874 PyObject *resultobj;
1875 wxSize *arg1 = (wxSize *) 0 ;
1876 int arg2 ;
1877 PyObject * obj0 = 0 ;
8edf1c75 1878 PyObject * obj1 = 0 ;
d14a1e28
RD
1879 char *kwnames[] = {
1880 (char *) "self",(char *) "y", NULL
1881 };
1882
8edf1c75 1883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_height_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
1886 arg2 = (int) SWIG_AsInt(obj1);
1887 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
1888 if (arg1) (arg1)->y = arg2;
1889
1890 Py_INCREF(Py_None); resultobj = Py_None;
1891 return resultobj;
1892 fail:
1893 return NULL;
1894}
1895
1896
1897static PyObject *_wrap_Size_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
1898 PyObject *resultobj;
1899 wxSize *arg1 = (wxSize *) 0 ;
1900 int result;
1901 PyObject * obj0 = 0 ;
1902 char *kwnames[] = {
1903 (char *) "self", NULL
1904 };
1905
1906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_height_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1909 result = (int) ((arg1)->y);
1910
2f4c0a16 1911 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
1912 return resultobj;
1913 fail:
1914 return NULL;
1915}
1916
1917
1918static PyObject *_wrap_new_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1919 PyObject *resultobj;
1920 int arg1 = (int) 0 ;
1921 int arg2 = (int) 0 ;
1922 wxSize *result;
8edf1c75
RD
1923 PyObject * obj0 = 0 ;
1924 PyObject * obj1 = 0 ;
d14a1e28
RD
1925 char *kwnames[] = {
1926 (char *) "w",(char *) "h", NULL
1927 };
1928
8edf1c75
RD
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Size",kwnames,&obj0,&obj1)) goto fail;
1930 if (obj0) {
2f4c0a16
RD
1931 arg1 = (int) SWIG_AsInt(obj0);
1932 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
1933 }
1934 if (obj1) {
2f4c0a16
RD
1935 arg2 = (int) SWIG_AsInt(obj1);
1936 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 1937 }
d14a1e28
RD
1938 {
1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
1940 result = (wxSize *)new wxSize(arg1,arg2);
1941
1942 wxPyEndAllowThreads(__tstate);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 }
2f4c0a16 1945 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
1946 return resultobj;
1947 fail:
1948 return NULL;
1949}
1950
1951
1952static PyObject *_wrap_delete_Size(PyObject *self, PyObject *args, PyObject *kwargs) {
1953 PyObject *resultobj;
1954 wxSize *arg1 = (wxSize *) 0 ;
1955 PyObject * obj0 = 0 ;
1956 char *kwnames[] = {
1957 (char *) "self", NULL
1958 };
1959
1960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Size",kwnames,&obj0)) goto fail;
2f4c0a16
RD
1961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1963 {
1964 PyThreadState* __tstate = wxPyBeginAllowThreads();
1965 delete arg1;
1966
1967 wxPyEndAllowThreads(__tstate);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 Py_INCREF(Py_None); resultobj = Py_None;
1971 return resultobj;
1972 fail:
1973 return NULL;
1974}
1975
1976
1977static PyObject *_wrap_Size___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxSize *arg1 = (wxSize *) 0 ;
1980 wxSize *arg2 = 0 ;
1981 bool result;
1982 wxSize temp2 ;
1983 PyObject * obj0 = 0 ;
1984 PyObject * obj1 = 0 ;
1985 char *kwnames[] = {
1986 (char *) "self",(char *) "sz", NULL
1987 };
1988
1989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
1990 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
1991 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
1992 {
1993 arg2 = &temp2;
1994 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
1995 }
1996 {
1997 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 1998 result = (bool)(arg1)->operator ==((wxSize const &)*arg2);
d14a1e28
RD
1999
2000 wxPyEndAllowThreads(__tstate);
2001 if (PyErr_Occurred()) SWIG_fail;
2002 }
4e760a36 2003 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2004 return resultobj;
2005 fail:
2006 return NULL;
2007}
2008
2009
2010static PyObject *_wrap_Size___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2011 PyObject *resultobj;
2012 wxSize *arg1 = (wxSize *) 0 ;
2013 wxSize *arg2 = 0 ;
2014 bool result;
2015 wxSize temp2 ;
2016 PyObject * obj0 = 0 ;
2017 PyObject * obj1 = 0 ;
2018 char *kwnames[] = {
2019 (char *) "self",(char *) "sz", NULL
2020 };
2021
2022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2025 {
2026 arg2 = &temp2;
2027 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2028 }
2029 {
2030 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2031 result = (bool)(arg1)->operator !=((wxSize const &)*arg2);
d14a1e28
RD
2032
2033 wxPyEndAllowThreads(__tstate);
2034 if (PyErr_Occurred()) SWIG_fail;
2035 }
4e760a36 2036 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2037 return resultobj;
2038 fail:
2039 return NULL;
2040}
2041
2042
2043static PyObject *_wrap_Size___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2044 PyObject *resultobj;
2045 wxSize *arg1 = (wxSize *) 0 ;
2046 wxSize *arg2 = 0 ;
2047 wxSize result;
2048 wxSize temp2 ;
2049 PyObject * obj0 = 0 ;
2050 PyObject * obj1 = 0 ;
2051 char *kwnames[] = {
2052 (char *) "self",(char *) "sz", NULL
2053 };
2054
2055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2058 {
2059 arg2 = &temp2;
2060 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2061 }
2062 {
2063 PyThreadState* __tstate = wxPyBeginAllowThreads();
2064 result = (arg1)->operator +((wxSize const &)*arg2);
2065
2066 wxPyEndAllowThreads(__tstate);
2067 if (PyErr_Occurred()) SWIG_fail;
2068 }
2069 {
2070 wxSize * resultptr;
2071 resultptr = new wxSize((wxSize &) result);
2f4c0a16 2072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2073 }
2074 return resultobj;
2075 fail:
2076 return NULL;
2077}
2078
2079
2080static PyObject *_wrap_Size___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2081 PyObject *resultobj;
2082 wxSize *arg1 = (wxSize *) 0 ;
2083 wxSize *arg2 = 0 ;
2084 wxSize result;
2085 wxSize temp2 ;
2086 PyObject * obj0 = 0 ;
2087 PyObject * obj1 = 0 ;
2088 char *kwnames[] = {
2089 (char *) "self",(char *) "sz", NULL
2090 };
2091
2092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2095 {
2096 arg2 = &temp2;
2097 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2098 }
2099 {
2100 PyThreadState* __tstate = wxPyBeginAllowThreads();
2101 result = (arg1)->operator -((wxSize const &)*arg2);
2102
2103 wxPyEndAllowThreads(__tstate);
2104 if (PyErr_Occurred()) SWIG_fail;
2105 }
2106 {
2107 wxSize * resultptr;
2108 resultptr = new wxSize((wxSize &) result);
2f4c0a16 2109 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
2110 }
2111 return resultobj;
2112 fail:
2113 return NULL;
2114}
2115
2116
2117static PyObject *_wrap_Size_IncTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2118 PyObject *resultobj;
2119 wxSize *arg1 = (wxSize *) 0 ;
2120 wxSize *arg2 = 0 ;
2121 wxSize temp2 ;
2122 PyObject * obj0 = 0 ;
2123 PyObject * obj1 = 0 ;
2124 char *kwnames[] = {
2125 (char *) "self",(char *) "sz", NULL
2126 };
2127
2128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_IncTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2131 {
2132 arg2 = &temp2;
2133 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2134 }
2135 {
2136 PyThreadState* __tstate = wxPyBeginAllowThreads();
2137 (arg1)->IncTo((wxSize const &)*arg2);
2138
2139 wxPyEndAllowThreads(__tstate);
2140 if (PyErr_Occurred()) SWIG_fail;
2141 }
2142 Py_INCREF(Py_None); resultobj = Py_None;
2143 return resultobj;
2144 fail:
2145 return NULL;
2146}
2147
2148
2149static PyObject *_wrap_Size_DecTo(PyObject *self, PyObject *args, PyObject *kwargs) {
2150 PyObject *resultobj;
2151 wxSize *arg1 = (wxSize *) 0 ;
2152 wxSize *arg2 = 0 ;
2153 wxSize temp2 ;
2154 PyObject * obj0 = 0 ;
2155 PyObject * obj1 = 0 ;
2156 char *kwnames[] = {
2157 (char *) "self",(char *) "sz", NULL
2158 };
2159
2160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_DecTo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2161 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2163 {
2164 arg2 = &temp2;
2165 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
2166 }
2167 {
2168 PyThreadState* __tstate = wxPyBeginAllowThreads();
2169 (arg1)->DecTo((wxSize const &)*arg2);
2170
2171 wxPyEndAllowThreads(__tstate);
2172 if (PyErr_Occurred()) SWIG_fail;
2173 }
2174 Py_INCREF(Py_None); resultobj = Py_None;
2175 return resultobj;
2176 fail:
2177 return NULL;
2178}
2179
2180
2181static PyObject *_wrap_Size_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2182 PyObject *resultobj;
2183 wxSize *arg1 = (wxSize *) 0 ;
2184 int arg2 ;
2185 int arg3 ;
2186 PyObject * obj0 = 0 ;
8edf1c75
RD
2187 PyObject * obj1 = 0 ;
2188 PyObject * obj2 = 0 ;
d14a1e28 2189 char *kwnames[] = {
423f194a 2190 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
2191 };
2192
8edf1c75 2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Size_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2196 arg2 = (int) SWIG_AsInt(obj1);
2197 if (PyErr_Occurred()) SWIG_fail;
2198 arg3 = (int) SWIG_AsInt(obj2);
2199 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2200 {
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 (arg1)->Set(arg2,arg3);
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 }
2207 Py_INCREF(Py_None); resultobj = Py_None;
2208 return resultobj;
2209 fail:
2210 return NULL;
2211}
2212
2213
2214static PyObject *_wrap_Size_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxSize *arg1 = (wxSize *) 0 ;
2217 int arg2 ;
2218 PyObject * obj0 = 0 ;
8edf1c75 2219 PyObject * obj1 = 0 ;
d14a1e28
RD
2220 char *kwnames[] = {
2221 (char *) "self",(char *) "w", NULL
2222 };
2223
8edf1c75 2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2227 arg2 = (int) SWIG_AsInt(obj1);
2228 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2229 {
2230 PyThreadState* __tstate = wxPyBeginAllowThreads();
2231 (arg1)->SetWidth(arg2);
2232
2233 wxPyEndAllowThreads(__tstate);
2234 if (PyErr_Occurred()) SWIG_fail;
2235 }
2236 Py_INCREF(Py_None); resultobj = Py_None;
2237 return resultobj;
2238 fail:
2239 return NULL;
2240}
2241
2242
2243static PyObject *_wrap_Size_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
2244 PyObject *resultobj;
2245 wxSize *arg1 = (wxSize *) 0 ;
2246 int arg2 ;
2247 PyObject * obj0 = 0 ;
8edf1c75 2248 PyObject * obj1 = 0 ;
d14a1e28
RD
2249 char *kwnames[] = {
2250 (char *) "self",(char *) "h", NULL
2251 };
2252
8edf1c75 2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Size_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2254 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2255 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2256 arg2 = (int) SWIG_AsInt(obj1);
2257 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2258 {
2259 PyThreadState* __tstate = wxPyBeginAllowThreads();
2260 (arg1)->SetHeight(arg2);
2261
2262 wxPyEndAllowThreads(__tstate);
2263 if (PyErr_Occurred()) SWIG_fail;
2264 }
2265 Py_INCREF(Py_None); resultobj = Py_None;
2266 return resultobj;
2267 fail:
2268 return NULL;
2269}
2270
2271
2272static PyObject *_wrap_Size_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
2273 PyObject *resultobj;
2274 wxSize *arg1 = (wxSize *) 0 ;
2275 int result;
2276 PyObject * obj0 = 0 ;
2277 char *kwnames[] = {
2278 (char *) "self", NULL
2279 };
2280
2281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSize,
2283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2284 {
2285 PyThreadState* __tstate = wxPyBeginAllowThreads();
2286 result = (int)((wxSize const *)arg1)->GetWidth();
2287
2288 wxPyEndAllowThreads(__tstate);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
2f4c0a16 2291 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2292 return resultobj;
2293 fail:
2294 return NULL;
2295}
2296
2297
2298static PyObject *_wrap_Size_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
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_GetHeight",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)->GetHeight();
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
423f194a 2324static PyObject *_wrap_Size_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2325 PyObject *resultobj;
2326 wxSize *arg1 = (wxSize *) 0 ;
2327 PyObject *result;
2328 PyObject * obj0 = 0 ;
2329 char *kwnames[] = {
2330 (char *) "self", NULL
2331 };
2332
423f194a 2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Size_Get",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();
423f194a 2338 result = (PyObject *)wxSize_Get(arg1);
d14a1e28
RD
2339
2340 wxPyEndAllowThreads(__tstate);
2341 if (PyErr_Occurred()) SWIG_fail;
2342 }
2343 resultobj = result;
2344 return resultobj;
2345 fail:
2346 return NULL;
2347}
2348
2349
2350static PyObject * Size_swigregister(PyObject *self, PyObject *args) {
2351 PyObject *obj;
2352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2353 SWIG_TypeClientData(SWIGTYPE_p_wxSize, obj);
2354 Py_INCREF(obj);
2355 return Py_BuildValue((char *)"");
2356}
2357static PyObject *_wrap_RealPoint_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2358 PyObject *resultobj;
2359 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2360 double arg2 ;
2361 PyObject * obj0 = 0 ;
8edf1c75 2362 PyObject * obj1 = 0 ;
d14a1e28
RD
2363 char *kwnames[] = {
2364 (char *) "self",(char *) "x", NULL
2365 };
2366
8edf1c75 2367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2368 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2369 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2370 arg2 = (double) SWIG_AsDouble(obj1);
2371 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2372 if (arg1) (arg1)->x = arg2;
2373
2374 Py_INCREF(Py_None); resultobj = Py_None;
2375 return resultobj;
2376 fail:
2377 return NULL;
2378}
2379
2380
2381static PyObject *_wrap_RealPoint_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2382 PyObject *resultobj;
2383 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2384 double result;
2385 PyObject * obj0 = 0 ;
2386 char *kwnames[] = {
2387 (char *) "self", NULL
2388 };
2389
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2393 result = (double) ((arg1)->x);
2394
2f4c0a16 2395 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2396 return resultobj;
2397 fail:
2398 return NULL;
2399}
2400
2401
2402static PyObject *_wrap_RealPoint_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2403 PyObject *resultobj;
2404 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2405 double arg2 ;
2406 PyObject * obj0 = 0 ;
8edf1c75 2407 PyObject * obj1 = 0 ;
d14a1e28
RD
2408 char *kwnames[] = {
2409 (char *) "self",(char *) "y", NULL
2410 };
2411
8edf1c75 2412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2415 arg2 = (double) SWIG_AsDouble(obj1);
2416 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2417 if (arg1) (arg1)->y = arg2;
2418
2419 Py_INCREF(Py_None); resultobj = Py_None;
2420 return resultobj;
2421 fail:
2422 return NULL;
2423}
2424
2425
2426static PyObject *_wrap_RealPoint_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2427 PyObject *resultobj;
2428 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2429 double result;
2430 PyObject * obj0 = 0 ;
2431 char *kwnames[] = {
2432 (char *) "self", NULL
2433 };
2434
2435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2436 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2437 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2438 result = (double) ((arg1)->y);
2439
2f4c0a16 2440 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
2441 return resultobj;
2442 fail:
2443 return NULL;
2444}
2445
2446
2447static PyObject *_wrap_new_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2448 PyObject *resultobj;
2449 double arg1 = (double) 0.0 ;
2450 double arg2 = (double) 0.0 ;
2451 wxRealPoint *result;
8edf1c75
RD
2452 PyObject * obj0 = 0 ;
2453 PyObject * obj1 = 0 ;
d14a1e28
RD
2454 char *kwnames[] = {
2455 (char *) "x",(char *) "y", NULL
2456 };
2457
8edf1c75
RD
2458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_RealPoint",kwnames,&obj0,&obj1)) goto fail;
2459 if (obj0) {
2f4c0a16
RD
2460 arg1 = (double) SWIG_AsDouble(obj0);
2461 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2462 }
2463 if (obj1) {
2f4c0a16
RD
2464 arg2 = (double) SWIG_AsDouble(obj1);
2465 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2466 }
d14a1e28
RD
2467 {
2468 PyThreadState* __tstate = wxPyBeginAllowThreads();
2469 result = (wxRealPoint *)new wxRealPoint(arg1,arg2);
2470
2471 wxPyEndAllowThreads(__tstate);
2472 if (PyErr_Occurred()) SWIG_fail;
2473 }
2f4c0a16 2474 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRealPoint, 1);
d14a1e28
RD
2475 return resultobj;
2476 fail:
2477 return NULL;
2478}
2479
2480
2481static PyObject *_wrap_delete_RealPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2482 PyObject *resultobj;
2483 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2484 PyObject * obj0 = 0 ;
2485 char *kwnames[] = {
2486 (char *) "self", NULL
2487 };
2488
2489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_RealPoint",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2490 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2491 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2492 {
2493 PyThreadState* __tstate = wxPyBeginAllowThreads();
2494 delete arg1;
2495
2496 wxPyEndAllowThreads(__tstate);
2497 if (PyErr_Occurred()) SWIG_fail;
2498 }
2499 Py_INCREF(Py_None); resultobj = Py_None;
2500 return resultobj;
2501 fail:
2502 return NULL;
2503}
2504
2505
423f194a 2506static PyObject *_wrap_RealPoint___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2507 PyObject *resultobj;
2508 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2509 wxRealPoint *arg2 = 0 ;
423f194a 2510 bool result;
d14a1e28
RD
2511 wxRealPoint temp2 ;
2512 PyObject * obj0 = 0 ;
2513 PyObject * obj1 = 0 ;
2514 char *kwnames[] = {
2515 (char *) "self",(char *) "pt", NULL
2516 };
2517
423f194a 2518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2519 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2520 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2521 {
2522 arg2 = &temp2;
2523 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2524 }
2525 {
2526 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2527 result = (bool)(arg1)->operator ==((wxRealPoint const &)*arg2);
d14a1e28
RD
2528
2529 wxPyEndAllowThreads(__tstate);
2530 if (PyErr_Occurred()) SWIG_fail;
2531 }
4e760a36 2532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2533 return resultobj;
2534 fail:
2535 return NULL;
2536}
2537
2538
423f194a 2539static PyObject *_wrap_RealPoint___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2540 PyObject *resultobj;
2541 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2542 wxRealPoint *arg2 = 0 ;
423f194a 2543 bool result;
d14a1e28
RD
2544 wxRealPoint temp2 ;
2545 PyObject * obj0 = 0 ;
2546 PyObject * obj1 = 0 ;
2547 char *kwnames[] = {
2548 (char *) "self",(char *) "pt", NULL
2549 };
2550
423f194a 2551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2554 {
2555 arg2 = &temp2;
2556 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2557 }
2558 {
2559 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2560 result = (bool)(arg1)->operator !=((wxRealPoint const &)*arg2);
d14a1e28
RD
2561
2562 wxPyEndAllowThreads(__tstate);
2563 if (PyErr_Occurred()) SWIG_fail;
2564 }
4e760a36 2565 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2566 return resultobj;
2567 fail:
2568 return NULL;
2569}
2570
2571
423f194a 2572static PyObject *_wrap_RealPoint___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2573 PyObject *resultobj;
2574 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2575 wxRealPoint *arg2 = 0 ;
423f194a 2576 wxRealPoint result;
d14a1e28
RD
2577 wxRealPoint temp2 ;
2578 PyObject * obj0 = 0 ;
2579 PyObject * obj1 = 0 ;
2580 char *kwnames[] = {
2581 (char *) "self",(char *) "pt", NULL
2582 };
2583
423f194a 2584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2585 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2586 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2587 {
2588 arg2 = &temp2;
2589 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2590 }
2591 {
2592 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2593 result = (arg1)->operator +((wxRealPoint const &)*arg2);
d14a1e28
RD
2594
2595 wxPyEndAllowThreads(__tstate);
2596 if (PyErr_Occurred()) SWIG_fail;
2597 }
423f194a
RD
2598 {
2599 wxRealPoint * resultptr;
2600 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 2601 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
423f194a 2602 }
d14a1e28
RD
2603 return resultobj;
2604 fail:
2605 return NULL;
2606}
2607
2608
423f194a 2609static PyObject *_wrap_RealPoint___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2610 PyObject *resultobj;
2611 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2612 wxRealPoint *arg2 = 0 ;
423f194a 2613 wxRealPoint result;
d14a1e28
RD
2614 wxRealPoint temp2 ;
2615 PyObject * obj0 = 0 ;
2616 PyObject * obj1 = 0 ;
2617 char *kwnames[] = {
2618 (char *) "self",(char *) "pt", NULL
2619 };
2620
423f194a 2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RealPoint___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2624 {
2625 arg2 = &temp2;
2626 if ( ! wxRealPoint_helper(obj1, &arg2)) SWIG_fail;
2627 }
2628 {
2629 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2630 result = (arg1)->operator -((wxRealPoint const &)*arg2);
d14a1e28
RD
2631
2632 wxPyEndAllowThreads(__tstate);
2633 if (PyErr_Occurred()) SWIG_fail;
2634 }
423f194a
RD
2635 {
2636 wxRealPoint * resultptr;
2637 resultptr = new wxRealPoint((wxRealPoint &) result);
2f4c0a16 2638 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRealPoint, 1);
423f194a 2639 }
d14a1e28
RD
2640 return resultobj;
2641 fail:
2642 return NULL;
2643}
2644
2645
2646static PyObject *_wrap_RealPoint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2647 PyObject *resultobj;
2648 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2649 double arg2 ;
2650 double arg3 ;
2651 PyObject * obj0 = 0 ;
8edf1c75
RD
2652 PyObject * obj1 = 0 ;
2653 PyObject * obj2 = 0 ;
d14a1e28
RD
2654 char *kwnames[] = {
2655 (char *) "self",(char *) "x",(char *) "y", NULL
2656 };
2657
8edf1c75 2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:RealPoint_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
2659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2661 arg2 = (double) SWIG_AsDouble(obj1);
2662 if (PyErr_Occurred()) SWIG_fail;
2663 arg3 = (double) SWIG_AsDouble(obj2);
2664 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2665 {
2666 PyThreadState* __tstate = wxPyBeginAllowThreads();
2667 wxRealPoint_Set(arg1,arg2,arg3);
2668
2669 wxPyEndAllowThreads(__tstate);
2670 if (PyErr_Occurred()) SWIG_fail;
2671 }
2672 Py_INCREF(Py_None); resultobj = Py_None;
2673 return resultobj;
2674 fail:
2675 return NULL;
2676}
2677
2678
423f194a 2679static PyObject *_wrap_RealPoint_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
2680 PyObject *resultobj;
2681 wxRealPoint *arg1 = (wxRealPoint *) 0 ;
2682 PyObject *result;
2683 PyObject * obj0 = 0 ;
2684 char *kwnames[] = {
2685 (char *) "self", NULL
2686 };
2687
423f194a 2688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RealPoint_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRealPoint,
2690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2691 {
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2693 result = (PyObject *)wxRealPoint_Get(arg1);
d14a1e28
RD
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 resultobj = result;
2699 return resultobj;
2700 fail:
2701 return NULL;
2702}
2703
2704
2705static PyObject * RealPoint_swigregister(PyObject *self, PyObject *args) {
2706 PyObject *obj;
2707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2708 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint, obj);
2709 Py_INCREF(obj);
2710 return Py_BuildValue((char *)"");
2711}
2712static PyObject *_wrap_Point_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2713 PyObject *resultobj;
2714 wxPoint *arg1 = (wxPoint *) 0 ;
2715 int arg2 ;
2716 PyObject * obj0 = 0 ;
8edf1c75 2717 PyObject * obj1 = 0 ;
d14a1e28
RD
2718 char *kwnames[] = {
2719 (char *) "self",(char *) "x", NULL
2720 };
2721
8edf1c75 2722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2725 arg2 = (int) SWIG_AsInt(obj1);
2726 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2727 if (arg1) (arg1)->x = arg2;
2728
2729 Py_INCREF(Py_None); resultobj = Py_None;
2730 return resultobj;
2731 fail:
2732 return NULL;
2733}
2734
2735
2736static PyObject *_wrap_Point_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2737 PyObject *resultobj;
2738 wxPoint *arg1 = (wxPoint *) 0 ;
2739 int result;
2740 PyObject * obj0 = 0 ;
2741 char *kwnames[] = {
2742 (char *) "self", NULL
2743 };
2744
2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2748 result = (int) ((arg1)->x);
2749
2f4c0a16 2750 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2751 return resultobj;
2752 fail:
2753 return NULL;
2754}
2755
2756
2757static PyObject *_wrap_Point_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
2758 PyObject *resultobj;
2759 wxPoint *arg1 = (wxPoint *) 0 ;
2760 int arg2 ;
2761 PyObject * obj0 = 0 ;
8edf1c75 2762 PyObject * obj1 = 0 ;
d14a1e28
RD
2763 char *kwnames[] = {
2764 (char *) "self",(char *) "y", NULL
2765 };
2766
8edf1c75 2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
2770 arg2 = (int) SWIG_AsInt(obj1);
2771 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
2772 if (arg1) (arg1)->y = arg2;
2773
2774 Py_INCREF(Py_None); resultobj = Py_None;
2775 return resultobj;
2776 fail:
2777 return NULL;
2778}
2779
2780
2781static PyObject *_wrap_Point_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
2782 PyObject *resultobj;
2783 wxPoint *arg1 = (wxPoint *) 0 ;
2784 int result;
2785 PyObject * obj0 = 0 ;
2786 char *kwnames[] = {
2787 (char *) "self", NULL
2788 };
2789
2790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2791 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2792 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2793 result = (int) ((arg1)->y);
2794
2f4c0a16 2795 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
2796 return resultobj;
2797 fail:
2798 return NULL;
2799}
2800
2801
2802static PyObject *_wrap_new_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2803 PyObject *resultobj;
2804 int arg1 = (int) 0 ;
2805 int arg2 = (int) 0 ;
2806 wxPoint *result;
8edf1c75
RD
2807 PyObject * obj0 = 0 ;
2808 PyObject * obj1 = 0 ;
d14a1e28
RD
2809 char *kwnames[] = {
2810 (char *) "x",(char *) "y", NULL
2811 };
2812
8edf1c75
RD
2813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point",kwnames,&obj0,&obj1)) goto fail;
2814 if (obj0) {
2f4c0a16
RD
2815 arg1 = (int) SWIG_AsInt(obj0);
2816 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
2817 }
2818 if (obj1) {
2f4c0a16
RD
2819 arg2 = (int) SWIG_AsInt(obj1);
2820 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 2821 }
d14a1e28
RD
2822 {
2823 PyThreadState* __tstate = wxPyBeginAllowThreads();
2824 result = (wxPoint *)new wxPoint(arg1,arg2);
2825
2826 wxPyEndAllowThreads(__tstate);
2827 if (PyErr_Occurred()) SWIG_fail;
2828 }
2f4c0a16 2829 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2830 return resultobj;
2831 fail:
2832 return NULL;
2833}
2834
2835
2836static PyObject *_wrap_delete_Point(PyObject *self, PyObject *args, PyObject *kwargs) {
2837 PyObject *resultobj;
2838 wxPoint *arg1 = (wxPoint *) 0 ;
2839 PyObject * obj0 = 0 ;
2840 char *kwnames[] = {
2841 (char *) "self", NULL
2842 };
2843
2844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Point",kwnames,&obj0)) goto fail;
2f4c0a16
RD
2845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2847 {
2848 PyThreadState* __tstate = wxPyBeginAllowThreads();
2849 delete arg1;
2850
2851 wxPyEndAllowThreads(__tstate);
2852 if (PyErr_Occurred()) SWIG_fail;
2853 }
2854 Py_INCREF(Py_None); resultobj = Py_None;
2855 return resultobj;
2856 fail:
2857 return NULL;
2858}
2859
2860
2861static PyObject *_wrap_Point___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
2862 PyObject *resultobj;
2863 wxPoint *arg1 = (wxPoint *) 0 ;
2864 wxPoint *arg2 = 0 ;
2865 bool result;
2866 wxPoint temp2 ;
2867 PyObject * obj0 = 0 ;
2868 PyObject * obj1 = 0 ;
2869 char *kwnames[] = {
423f194a 2870 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2876 {
2877 arg2 = &temp2;
2878 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2879 }
2880 {
2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2882 result = (bool)(arg1)->operator ==((wxPoint const &)*arg2);
d14a1e28
RD
2883
2884 wxPyEndAllowThreads(__tstate);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 }
4e760a36 2887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2888 return resultobj;
2889 fail:
2890 return NULL;
2891}
2892
2893
2894static PyObject *_wrap_Point___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
2895 PyObject *resultobj;
2896 wxPoint *arg1 = (wxPoint *) 0 ;
2897 wxPoint *arg2 = 0 ;
2898 bool result;
2899 wxPoint temp2 ;
2900 PyObject * obj0 = 0 ;
2901 PyObject * obj1 = 0 ;
2902 char *kwnames[] = {
423f194a 2903 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2904 };
2905
2906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2909 {
2910 arg2 = &temp2;
2911 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2912 }
2913 {
2914 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2915 result = (bool)(arg1)->operator !=((wxPoint const &)*arg2);
d14a1e28
RD
2916
2917 wxPyEndAllowThreads(__tstate);
2918 if (PyErr_Occurred()) SWIG_fail;
2919 }
4e760a36 2920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2921 return resultobj;
2922 fail:
2923 return NULL;
2924}
2925
2926
2927static PyObject *_wrap_Point___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
2928 PyObject *resultobj;
2929 wxPoint *arg1 = (wxPoint *) 0 ;
2930 wxPoint *arg2 = 0 ;
2931 wxPoint result;
2932 wxPoint temp2 ;
2933 PyObject * obj0 = 0 ;
2934 PyObject * obj1 = 0 ;
2935 char *kwnames[] = {
423f194a 2936 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2937 };
2938
2939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2942 {
2943 arg2 = &temp2;
2944 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2945 }
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2948 result = (arg1)->operator +((wxPoint const &)*arg2);
d14a1e28
RD
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 {
2954 wxPoint * resultptr;
2955 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 2956 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2957 }
2958 return resultobj;
2959 fail:
2960 return NULL;
2961}
2962
2963
2964static PyObject *_wrap_Point___sub__(PyObject *self, PyObject *args, PyObject *kwargs) {
2965 PyObject *resultobj;
2966 wxPoint *arg1 = (wxPoint *) 0 ;
2967 wxPoint *arg2 = 0 ;
2968 wxPoint result;
2969 wxPoint temp2 ;
2970 PyObject * obj0 = 0 ;
2971 PyObject * obj1 = 0 ;
2972 char *kwnames[] = {
423f194a 2973 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
2974 };
2975
2976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___sub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
2977 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
2978 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
2979 {
2980 arg2 = &temp2;
2981 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2982 }
2983 {
2984 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 2985 result = (arg1)->operator -((wxPoint const &)*arg2);
d14a1e28
RD
2986
2987 wxPyEndAllowThreads(__tstate);
2988 if (PyErr_Occurred()) SWIG_fail;
2989 }
2990 {
2991 wxPoint * resultptr;
2992 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 2993 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2994 }
2995 return resultobj;
2996 fail:
2997 return NULL;
2998}
2999
3000
3001static PyObject *_wrap_Point___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
3002 PyObject *resultobj;
3003 wxPoint *arg1 = (wxPoint *) 0 ;
3004 wxPoint *arg2 = 0 ;
3005 wxPoint *result;
3006 wxPoint temp2 ;
3007 PyObject * obj0 = 0 ;
3008 PyObject * obj1 = 0 ;
3009 char *kwnames[] = {
423f194a 3010 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3011 };
3012
3013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3016 {
3017 arg2 = &temp2;
3018 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3019 }
3020 {
3021 PyThreadState* __tstate = wxPyBeginAllowThreads();
3022 {
3023 wxPoint &_result_ref = (arg1)->operator +=((wxPoint const &)*arg2);
3024 result = (wxPoint *) &_result_ref;
3025 }
3026
3027 wxPyEndAllowThreads(__tstate);
3028 if (PyErr_Occurred()) SWIG_fail;
3029 }
2f4c0a16 3030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3031 return resultobj;
3032 fail:
3033 return NULL;
3034}
3035
3036
3037static PyObject *_wrap_Point___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
3038 PyObject *resultobj;
3039 wxPoint *arg1 = (wxPoint *) 0 ;
3040 wxPoint *arg2 = 0 ;
3041 wxPoint *result;
3042 wxPoint temp2 ;
3043 PyObject * obj0 = 0 ;
3044 PyObject * obj1 = 0 ;
3045 char *kwnames[] = {
423f194a 3046 (char *) "self",(char *) "pt", NULL
d14a1e28
RD
3047 };
3048
3049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point___isub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3052 {
3053 arg2 = &temp2;
3054 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3055 }
3056 {
3057 PyThreadState* __tstate = wxPyBeginAllowThreads();
3058 {
3059 wxPoint &_result_ref = (arg1)->operator -=((wxPoint const &)*arg2);
3060 result = (wxPoint *) &_result_ref;
3061 }
3062
3063 wxPyEndAllowThreads(__tstate);
3064 if (PyErr_Occurred()) SWIG_fail;
3065 }
2f4c0a16 3066 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
3067 return resultobj;
3068 fail:
3069 return NULL;
3070}
3071
3072
3073static PyObject *_wrap_Point_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject *resultobj;
3075 wxPoint *arg1 = (wxPoint *) 0 ;
3076 long arg2 ;
3077 long arg3 ;
3078 PyObject * obj0 = 0 ;
8edf1c75
RD
3079 PyObject * obj1 = 0 ;
3080 PyObject * obj2 = 0 ;
d14a1e28
RD
3081 char *kwnames[] = {
3082 (char *) "self",(char *) "x",(char *) "y", NULL
3083 };
3084
8edf1c75 3085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Point_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3088 arg2 = (long) SWIG_AsLong(obj1);
3089 if (PyErr_Occurred()) SWIG_fail;
3090 arg3 = (long) SWIG_AsLong(obj2);
3091 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3092 {
3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
3094 wxPoint_Set(arg1,arg2,arg3);
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 Py_INCREF(Py_None); resultobj = Py_None;
3100 return resultobj;
3101 fail:
3102 return NULL;
3103}
3104
3105
423f194a 3106static PyObject *_wrap_Point_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
3107 PyObject *resultobj;
3108 wxPoint *arg1 = (wxPoint *) 0 ;
3109 PyObject *result;
3110 PyObject * obj0 = 0 ;
3111 char *kwnames[] = {
3112 (char *) "self", NULL
3113 };
3114
423f194a 3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3116 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint,
3117 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3118 {
3119 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 3120 result = (PyObject *)wxPoint_Get(arg1);
d14a1e28
RD
3121
3122 wxPyEndAllowThreads(__tstate);
3123 if (PyErr_Occurred()) SWIG_fail;
3124 }
3125 resultobj = result;
3126 return resultobj;
3127 fail:
3128 return NULL;
3129}
3130
3131
3132static PyObject * Point_swigregister(PyObject *self, PyObject *args) {
3133 PyObject *obj;
3134 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3135 SWIG_TypeClientData(SWIGTYPE_p_wxPoint, obj);
3136 Py_INCREF(obj);
3137 return Py_BuildValue((char *)"");
3138}
3139static PyObject *_wrap_new_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3140 PyObject *resultobj;
3141 int arg1 = (int) 0 ;
3142 int arg2 = (int) 0 ;
3143 int arg3 = (int) 0 ;
3144 int arg4 = (int) 0 ;
3145 wxRect *result;
8edf1c75
RD
3146 PyObject * obj0 = 0 ;
3147 PyObject * obj1 = 0 ;
3148 PyObject * obj2 = 0 ;
3149 PyObject * obj3 = 0 ;
d14a1e28
RD
3150 char *kwnames[] = {
3151 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3152 };
3153
8edf1c75
RD
3154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_Rect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3155 if (obj0) {
2f4c0a16
RD
3156 arg1 = (int) SWIG_AsInt(obj0);
3157 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3158 }
3159 if (obj1) {
2f4c0a16
RD
3160 arg2 = (int) SWIG_AsInt(obj1);
3161 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3162 }
3163 if (obj2) {
2f4c0a16
RD
3164 arg3 = (int) SWIG_AsInt(obj2);
3165 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
3166 }
3167 if (obj3) {
2f4c0a16
RD
3168 arg4 = (int) SWIG_AsInt(obj3);
3169 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 3170 }
d14a1e28
RD
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 result = (wxRect *)new wxRect(arg1,arg2,arg3,arg4);
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
2f4c0a16 3178 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3179 return resultobj;
3180 fail:
3181 return NULL;
3182}
3183
3184
3185static PyObject *_wrap_new_RectPP(PyObject *self, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 wxPoint *arg1 = 0 ;
3188 wxPoint *arg2 = 0 ;
3189 wxRect *result;
3190 wxPoint temp1 ;
3191 wxPoint temp2 ;
3192 PyObject * obj0 = 0 ;
3193 PyObject * obj1 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "topLeft",(char *) "bottomRight", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPP",kwnames,&obj0,&obj1)) goto fail;
3199 {
3200 arg1 = &temp1;
3201 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3202 }
3203 {
3204 arg2 = &temp2;
3205 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3206 }
3207 {
3208 PyThreadState* __tstate = wxPyBeginAllowThreads();
3209 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxPoint const &)*arg2);
3210
3211 wxPyEndAllowThreads(__tstate);
3212 if (PyErr_Occurred()) SWIG_fail;
3213 }
2f4c0a16 3214 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3215 return resultobj;
3216 fail:
3217 return NULL;
3218}
3219
3220
3221static PyObject *_wrap_new_RectPS(PyObject *self, PyObject *args, PyObject *kwargs) {
3222 PyObject *resultobj;
3223 wxPoint *arg1 = 0 ;
3224 wxSize *arg2 = 0 ;
3225 wxRect *result;
3226 wxPoint temp1 ;
3227 wxSize temp2 ;
3228 PyObject * obj0 = 0 ;
3229 PyObject * obj1 = 0 ;
3230 char *kwnames[] = {
3231 (char *) "pos",(char *) "size", NULL
3232 };
3233
3234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_RectPS",kwnames,&obj0,&obj1)) goto fail;
3235 {
3236 arg1 = &temp1;
3237 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
3238 }
3239 {
3240 arg2 = &temp2;
3241 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3242 }
3243 {
3244 PyThreadState* __tstate = wxPyBeginAllowThreads();
3245 result = (wxRect *)new wxRect((wxPoint const &)*arg1,(wxSize const &)*arg2);
3246
3247 wxPyEndAllowThreads(__tstate);
3248 if (PyErr_Occurred()) SWIG_fail;
3249 }
2f4c0a16 3250 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
3251 return resultobj;
3252 fail:
3253 return NULL;
3254}
3255
3256
3257static PyObject *_wrap_delete_Rect(PyObject *self, PyObject *args, PyObject *kwargs) {
3258 PyObject *resultobj;
3259 wxRect *arg1 = (wxRect *) 0 ;
3260 PyObject * obj0 = 0 ;
3261 char *kwnames[] = {
3262 (char *) "self", NULL
3263 };
3264
3265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Rect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3268 {
3269 PyThreadState* __tstate = wxPyBeginAllowThreads();
3270 delete arg1;
3271
3272 wxPyEndAllowThreads(__tstate);
3273 if (PyErr_Occurred()) SWIG_fail;
3274 }
3275 Py_INCREF(Py_None); resultobj = Py_None;
3276 return resultobj;
3277 fail:
3278 return NULL;
3279}
3280
3281
3282static PyObject *_wrap_Rect_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3283 PyObject *resultobj;
3284 wxRect *arg1 = (wxRect *) 0 ;
3285 int result;
3286 PyObject * obj0 = 0 ;
3287 char *kwnames[] = {
3288 (char *) "self", NULL
3289 };
3290
3291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3294 {
3295 PyThreadState* __tstate = wxPyBeginAllowThreads();
3296 result = (int)((wxRect const *)arg1)->GetX();
3297
3298 wxPyEndAllowThreads(__tstate);
3299 if (PyErr_Occurred()) SWIG_fail;
3300 }
2f4c0a16 3301 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3302 return resultobj;
3303 fail:
3304 return NULL;
3305}
3306
3307
3308static PyObject *_wrap_Rect_SetX(PyObject *self, PyObject *args, PyObject *kwargs) {
3309 PyObject *resultobj;
3310 wxRect *arg1 = (wxRect *) 0 ;
3311 int arg2 ;
3312 PyObject * obj0 = 0 ;
8edf1c75 3313 PyObject * obj1 = 0 ;
d14a1e28
RD
3314 char *kwnames[] = {
3315 (char *) "self",(char *) "x", NULL
3316 };
3317
8edf1c75 3318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetX",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3319 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3320 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3321 arg2 = (int) SWIG_AsInt(obj1);
3322 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3323 {
3324 PyThreadState* __tstate = wxPyBeginAllowThreads();
3325 (arg1)->SetX(arg2);
3326
3327 wxPyEndAllowThreads(__tstate);
3328 if (PyErr_Occurred()) SWIG_fail;
3329 }
3330 Py_INCREF(Py_None); resultobj = Py_None;
3331 return resultobj;
3332 fail:
3333 return NULL;
3334}
3335
3336
3337static PyObject *_wrap_Rect_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3338 PyObject *resultobj;
3339 wxRect *arg1 = (wxRect *) 0 ;
3340 int result;
3341 PyObject * obj0 = 0 ;
3342 char *kwnames[] = {
3343 (char *) "self", NULL
3344 };
3345
3346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3349 {
3350 PyThreadState* __tstate = wxPyBeginAllowThreads();
3351 result = (int)(arg1)->GetY();
3352
3353 wxPyEndAllowThreads(__tstate);
3354 if (PyErr_Occurred()) SWIG_fail;
3355 }
2f4c0a16 3356 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3357 return resultobj;
3358 fail:
3359 return NULL;
3360}
3361
3362
3363static PyObject *_wrap_Rect_SetY(PyObject *self, PyObject *args, PyObject *kwargs) {
3364 PyObject *resultobj;
3365 wxRect *arg1 = (wxRect *) 0 ;
3366 int arg2 ;
3367 PyObject * obj0 = 0 ;
8edf1c75 3368 PyObject * obj1 = 0 ;
d14a1e28
RD
3369 char *kwnames[] = {
3370 (char *) "self",(char *) "y", NULL
3371 };
3372
8edf1c75 3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetY",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3376 arg2 = (int) SWIG_AsInt(obj1);
3377 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3378 {
3379 PyThreadState* __tstate = wxPyBeginAllowThreads();
3380 (arg1)->SetY(arg2);
3381
3382 wxPyEndAllowThreads(__tstate);
3383 if (PyErr_Occurred()) SWIG_fail;
3384 }
3385 Py_INCREF(Py_None); resultobj = Py_None;
3386 return resultobj;
3387 fail:
3388 return NULL;
3389}
3390
3391
3392static PyObject *_wrap_Rect_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3393 PyObject *resultobj;
3394 wxRect *arg1 = (wxRect *) 0 ;
3395 int result;
3396 PyObject * obj0 = 0 ;
3397 char *kwnames[] = {
3398 (char *) "self", NULL
3399 };
3400
3401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3402 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3404 {
3405 PyThreadState* __tstate = wxPyBeginAllowThreads();
3406 result = (int)((wxRect const *)arg1)->GetWidth();
3407
3408 wxPyEndAllowThreads(__tstate);
3409 if (PyErr_Occurred()) SWIG_fail;
3410 }
2f4c0a16 3411 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3412 return resultobj;
3413 fail:
3414 return NULL;
3415}
3416
3417
3418static PyObject *_wrap_Rect_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3419 PyObject *resultobj;
3420 wxRect *arg1 = (wxRect *) 0 ;
3421 int arg2 ;
3422 PyObject * obj0 = 0 ;
8edf1c75 3423 PyObject * obj1 = 0 ;
d14a1e28
RD
3424 char *kwnames[] = {
3425 (char *) "self",(char *) "w", NULL
3426 };
3427
8edf1c75 3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3431 arg2 = (int) SWIG_AsInt(obj1);
3432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 (arg1)->SetWidth(arg2);
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 Py_INCREF(Py_None); resultobj = Py_None;
3441 return resultobj;
3442 fail:
3443 return NULL;
3444}
3445
3446
3447static PyObject *_wrap_Rect_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3448 PyObject *resultobj;
3449 wxRect *arg1 = (wxRect *) 0 ;
3450 int result;
3451 PyObject * obj0 = 0 ;
3452 char *kwnames[] = {
3453 (char *) "self", NULL
3454 };
3455
3456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3459 {
3460 PyThreadState* __tstate = wxPyBeginAllowThreads();
3461 result = (int)((wxRect const *)arg1)->GetHeight();
3462
3463 wxPyEndAllowThreads(__tstate);
3464 if (PyErr_Occurred()) SWIG_fail;
3465 }
2f4c0a16 3466 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3467 return resultobj;
3468 fail:
3469 return NULL;
3470}
3471
3472
3473static PyObject *_wrap_Rect_SetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
3474 PyObject *resultobj;
3475 wxRect *arg1 = (wxRect *) 0 ;
3476 int arg2 ;
3477 PyObject * obj0 = 0 ;
8edf1c75 3478 PyObject * obj1 = 0 ;
d14a1e28
RD
3479 char *kwnames[] = {
3480 (char *) "self",(char *) "h", NULL
3481 };
3482
8edf1c75 3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetHeight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3486 arg2 = (int) SWIG_AsInt(obj1);
3487 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3488 {
3489 PyThreadState* __tstate = wxPyBeginAllowThreads();
3490 (arg1)->SetHeight(arg2);
3491
3492 wxPyEndAllowThreads(__tstate);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 Py_INCREF(Py_None); resultobj = Py_None;
3496 return resultobj;
3497 fail:
3498 return NULL;
3499}
3500
3501
3502static PyObject *_wrap_Rect_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3503 PyObject *resultobj;
3504 wxRect *arg1 = (wxRect *) 0 ;
3505 wxPoint result;
3506 PyObject * obj0 = 0 ;
3507 char *kwnames[] = {
3508 (char *) "self", NULL
3509 };
3510
3511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3514 {
3515 PyThreadState* __tstate = wxPyBeginAllowThreads();
3516 result = ((wxRect const *)arg1)->GetPosition();
3517
3518 wxPyEndAllowThreads(__tstate);
3519 if (PyErr_Occurred()) SWIG_fail;
3520 }
3521 {
3522 wxPoint * resultptr;
3523 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 3524 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
3525 }
3526 return resultobj;
3527 fail:
3528 return NULL;
3529}
3530
3531
3532static PyObject *_wrap_Rect_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxRect *arg1 = (wxRect *) 0 ;
3535 wxPoint *arg2 = 0 ;
3536 wxPoint temp2 ;
3537 PyObject * obj0 = 0 ;
3538 PyObject * obj1 = 0 ;
3539 char *kwnames[] = {
3540 (char *) "self",(char *) "p", NULL
3541 };
3542
3543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3544 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3545 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3546 {
3547 arg2 = &temp2;
3548 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3549 }
3550 {
3551 PyThreadState* __tstate = wxPyBeginAllowThreads();
3552 (arg1)->SetPosition((wxPoint const &)*arg2);
3553
3554 wxPyEndAllowThreads(__tstate);
3555 if (PyErr_Occurred()) SWIG_fail;
3556 }
3557 Py_INCREF(Py_None); resultobj = Py_None;
3558 return resultobj;
3559 fail:
3560 return NULL;
3561}
3562
3563
3564static PyObject *_wrap_Rect_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3565 PyObject *resultobj;
3566 wxRect *arg1 = (wxRect *) 0 ;
3567 wxSize result;
3568 PyObject * obj0 = 0 ;
3569 char *kwnames[] = {
3570 (char *) "self", NULL
3571 };
3572
3573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3576 {
3577 PyThreadState* __tstate = wxPyBeginAllowThreads();
3578 result = ((wxRect const *)arg1)->GetSize();
3579
3580 wxPyEndAllowThreads(__tstate);
3581 if (PyErr_Occurred()) SWIG_fail;
3582 }
3583 {
3584 wxSize * resultptr;
3585 resultptr = new wxSize((wxSize &) result);
2f4c0a16 3586 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
3587 }
3588 return resultobj;
3589 fail:
3590 return NULL;
3591}
3592
3593
3594static PyObject *_wrap_Rect_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3595 PyObject *resultobj;
3596 wxRect *arg1 = (wxRect *) 0 ;
3597 wxSize *arg2 = 0 ;
3598 wxSize temp2 ;
3599 PyObject * obj0 = 0 ;
3600 PyObject * obj1 = 0 ;
3601 char *kwnames[] = {
3602 (char *) "self",(char *) "s", NULL
3603 };
3604
3605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetSize",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
3610 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
3611 }
3612 {
3613 PyThreadState* __tstate = wxPyBeginAllowThreads();
3614 (arg1)->SetSize((wxSize const &)*arg2);
3615
3616 wxPyEndAllowThreads(__tstate);
3617 if (PyErr_Occurred()) SWIG_fail;
3618 }
3619 Py_INCREF(Py_None); resultobj = Py_None;
3620 return resultobj;
3621 fail:
3622 return NULL;
3623}
3624
3625
9fd4be55
RD
3626static PyObject *_wrap_Rect_GetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3627 PyObject *resultobj;
3628 wxRect *arg1 = (wxRect *) 0 ;
3629 wxPoint result;
3630 PyObject * obj0 = 0 ;
3631 char *kwnames[] = {
3632 (char *) "self", NULL
3633 };
3634
3635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTopLeft",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3636 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3637 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
3638 {
3639 PyThreadState* __tstate = wxPyBeginAllowThreads();
3640 result = ((wxRect const *)arg1)->GetTopLeft();
3641
3642 wxPyEndAllowThreads(__tstate);
3643 if (PyErr_Occurred()) SWIG_fail;
3644 }
3645 {
3646 wxPoint * resultptr;
3647 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 3648 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9fd4be55
RD
3649 }
3650 return resultobj;
3651 fail:
3652 return NULL;
3653}
3654
3655
3656static PyObject *_wrap_Rect_SetTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3657 PyObject *resultobj;
3658 wxRect *arg1 = (wxRect *) 0 ;
3659 wxPoint *arg2 = 0 ;
3660 wxPoint temp2 ;
3661 PyObject * obj0 = 0 ;
3662 PyObject * obj1 = 0 ;
3663 char *kwnames[] = {
3664 (char *) "self",(char *) "p", NULL
3665 };
3666
3667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTopLeft",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
3670 {
3671 arg2 = &temp2;
3672 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3673 }
3674 {
3675 PyThreadState* __tstate = wxPyBeginAllowThreads();
3676 (arg1)->SetTopLeft((wxPoint const &)*arg2);
3677
3678 wxPyEndAllowThreads(__tstate);
3679 if (PyErr_Occurred()) SWIG_fail;
3680 }
3681 Py_INCREF(Py_None); resultobj = Py_None;
3682 return resultobj;
3683 fail:
3684 return NULL;
3685}
3686
3687
3688static PyObject *_wrap_Rect_GetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3689 PyObject *resultobj;
3690 wxRect *arg1 = (wxRect *) 0 ;
3691 wxPoint result;
3692 PyObject * obj0 = 0 ;
3693 char *kwnames[] = {
3694 (char *) "self", NULL
3695 };
3696
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottomRight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3698 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3699 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9fd4be55
RD
3700 {
3701 PyThreadState* __tstate = wxPyBeginAllowThreads();
3702 result = ((wxRect const *)arg1)->GetBottomRight();
3703
3704 wxPyEndAllowThreads(__tstate);
3705 if (PyErr_Occurred()) SWIG_fail;
3706 }
3707 {
3708 wxPoint * resultptr;
3709 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 3710 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
9fd4be55
RD
3711 }
3712 return resultobj;
3713 fail:
3714 return NULL;
3715}
3716
3717
3718static PyObject *_wrap_Rect_SetBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3719 PyObject *resultobj;
3720 wxRect *arg1 = (wxRect *) 0 ;
3721 wxPoint *arg2 = 0 ;
3722 wxPoint temp2 ;
3723 PyObject * obj0 = 0 ;
3724 PyObject * obj1 = 0 ;
3725 char *kwnames[] = {
3726 (char *) "self",(char *) "p", NULL
3727 };
3728
3729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottomRight",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
3734 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
3735 }
3736 {
3737 PyThreadState* __tstate = wxPyBeginAllowThreads();
3738 (arg1)->SetBottomRight((wxPoint const &)*arg2);
3739
3740 wxPyEndAllowThreads(__tstate);
3741 if (PyErr_Occurred()) SWIG_fail;
3742 }
3743 Py_INCREF(Py_None); resultobj = Py_None;
3744 return resultobj;
3745 fail:
3746 return NULL;
3747}
3748
3749
d14a1e28
RD
3750static PyObject *_wrap_Rect_GetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3751 PyObject *resultobj;
3752 wxRect *arg1 = (wxRect *) 0 ;
3753 int result;
3754 PyObject * obj0 = 0 ;
3755 char *kwnames[] = {
3756 (char *) "self", NULL
3757 };
3758
3759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetLeft",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3762 {
3763 PyThreadState* __tstate = wxPyBeginAllowThreads();
3764 result = (int)((wxRect const *)arg1)->GetLeft();
3765
3766 wxPyEndAllowThreads(__tstate);
3767 if (PyErr_Occurred()) SWIG_fail;
3768 }
2f4c0a16 3769 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3770 return resultobj;
3771 fail:
3772 return NULL;
3773}
3774
3775
3776static PyObject *_wrap_Rect_GetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3777 PyObject *resultobj;
3778 wxRect *arg1 = (wxRect *) 0 ;
3779 int result;
3780 PyObject * obj0 = 0 ;
3781 char *kwnames[] = {
3782 (char *) "self", NULL
3783 };
3784
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetTop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3786 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3787 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3788 {
3789 PyThreadState* __tstate = wxPyBeginAllowThreads();
3790 result = (int)((wxRect const *)arg1)->GetTop();
3791
3792 wxPyEndAllowThreads(__tstate);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 }
2f4c0a16 3795 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3796 return resultobj;
3797 fail:
3798 return NULL;
3799}
3800
3801
3802static PyObject *_wrap_Rect_GetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3803 PyObject *resultobj;
3804 wxRect *arg1 = (wxRect *) 0 ;
3805 int result;
3806 PyObject * obj0 = 0 ;
3807 char *kwnames[] = {
3808 (char *) "self", NULL
3809 };
3810
3811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetBottom",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3814 {
3815 PyThreadState* __tstate = wxPyBeginAllowThreads();
3816 result = (int)((wxRect const *)arg1)->GetBottom();
3817
3818 wxPyEndAllowThreads(__tstate);
3819 if (PyErr_Occurred()) SWIG_fail;
3820 }
2f4c0a16 3821 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3822 return resultobj;
3823 fail:
3824 return NULL;
3825}
3826
3827
3828static PyObject *_wrap_Rect_GetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3829 PyObject *resultobj;
3830 wxRect *arg1 = (wxRect *) 0 ;
3831 int result;
3832 PyObject * obj0 = 0 ;
3833 char *kwnames[] = {
3834 (char *) "self", NULL
3835 };
3836
3837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_GetRight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
3838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
3840 {
3841 PyThreadState* __tstate = wxPyBeginAllowThreads();
3842 result = (int)((wxRect const *)arg1)->GetRight();
3843
3844 wxPyEndAllowThreads(__tstate);
3845 if (PyErr_Occurred()) SWIG_fail;
3846 }
2f4c0a16 3847 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
3848 return resultobj;
3849 fail:
3850 return NULL;
3851}
3852
3853
3854static PyObject *_wrap_Rect_SetLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
3855 PyObject *resultobj;
3856 wxRect *arg1 = (wxRect *) 0 ;
3857 int arg2 ;
3858 PyObject * obj0 = 0 ;
8edf1c75 3859 PyObject * obj1 = 0 ;
d14a1e28
RD
3860 char *kwnames[] = {
3861 (char *) "self",(char *) "left", NULL
3862 };
3863
8edf1c75 3864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetLeft",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3867 arg2 = (int) SWIG_AsInt(obj1);
3868 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 (arg1)->SetLeft(arg2);
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 Py_INCREF(Py_None); resultobj = Py_None;
3877 return resultobj;
3878 fail:
3879 return NULL;
3880}
3881
3882
3883static PyObject *_wrap_Rect_SetRight(PyObject *self, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxRect *arg1 = (wxRect *) 0 ;
3886 int arg2 ;
3887 PyObject * obj0 = 0 ;
8edf1c75 3888 PyObject * obj1 = 0 ;
d14a1e28
RD
3889 char *kwnames[] = {
3890 (char *) "self",(char *) "right", NULL
3891 };
3892
8edf1c75 3893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetRight",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3894 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3895 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3896 arg2 = (int) SWIG_AsInt(obj1);
3897 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3898 {
3899 PyThreadState* __tstate = wxPyBeginAllowThreads();
3900 (arg1)->SetRight(arg2);
3901
3902 wxPyEndAllowThreads(__tstate);
3903 if (PyErr_Occurred()) SWIG_fail;
3904 }
3905 Py_INCREF(Py_None); resultobj = Py_None;
3906 return resultobj;
3907 fail:
3908 return NULL;
3909}
3910
3911
3912static PyObject *_wrap_Rect_SetTop(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject *resultobj;
3914 wxRect *arg1 = (wxRect *) 0 ;
3915 int arg2 ;
3916 PyObject * obj0 = 0 ;
8edf1c75 3917 PyObject * obj1 = 0 ;
d14a1e28
RD
3918 char *kwnames[] = {
3919 (char *) "self",(char *) "top", NULL
3920 };
3921
8edf1c75 3922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3925 arg2 = (int) SWIG_AsInt(obj1);
3926 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3927 {
3928 PyThreadState* __tstate = wxPyBeginAllowThreads();
3929 (arg1)->SetTop(arg2);
3930
3931 wxPyEndAllowThreads(__tstate);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
3934 Py_INCREF(Py_None); resultobj = Py_None;
3935 return resultobj;
3936 fail:
3937 return NULL;
3938}
3939
3940
3941static PyObject *_wrap_Rect_SetBottom(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject *resultobj;
3943 wxRect *arg1 = (wxRect *) 0 ;
3944 int arg2 ;
3945 PyObject * obj0 = 0 ;
8edf1c75 3946 PyObject * obj1 = 0 ;
d14a1e28
RD
3947 char *kwnames[] = {
3948 (char *) "self",(char *) "bottom", NULL
3949 };
3950
8edf1c75 3951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_SetBottom",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
3952 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3953 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3954 arg2 = (int) SWIG_AsInt(obj1);
3955 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3956 {
3957 PyThreadState* __tstate = wxPyBeginAllowThreads();
3958 (arg1)->SetBottom(arg2);
3959
3960 wxPyEndAllowThreads(__tstate);
3961 if (PyErr_Occurred()) SWIG_fail;
3962 }
3963 Py_INCREF(Py_None); resultobj = Py_None;
3964 return resultobj;
3965 fail:
3966 return NULL;
3967}
3968
3969
3970static PyObject *_wrap_Rect_Inflate(PyObject *self, PyObject *args, PyObject *kwargs) {
3971 PyObject *resultobj;
3972 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
3973 int arg2 ;
3974 int arg3 ;
d14a1e28
RD
3975 wxRect *result;
3976 PyObject * obj0 = 0 ;
8edf1c75
RD
3977 PyObject * obj1 = 0 ;
3978 PyObject * obj2 = 0 ;
d14a1e28
RD
3979 char *kwnames[] = {
3980 (char *) "self",(char *) "dx",(char *) "dy", NULL
3981 };
3982
8edf1c75 3983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Inflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
3984 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
3985 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
3986 arg2 = (int) SWIG_AsInt(obj1);
3987 if (PyErr_Occurred()) SWIG_fail;
3988 arg3 = (int) SWIG_AsInt(obj2);
3989 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
3990 {
3991 PyThreadState* __tstate = wxPyBeginAllowThreads();
3992 {
3993 wxRect &_result_ref = (arg1)->Inflate(arg2,arg3);
3994 result = (wxRect *) &_result_ref;
3995 }
3996
3997 wxPyEndAllowThreads(__tstate);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
2f4c0a16 4000 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4001 return resultobj;
4002 fail:
4003 return NULL;
4004}
4005
4006
4007static PyObject *_wrap_Rect_Deflate(PyObject *self, PyObject *args, PyObject *kwargs) {
4008 PyObject *resultobj;
4009 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
4010 int arg2 ;
4011 int arg3 ;
d14a1e28
RD
4012 wxRect *result;
4013 PyObject * obj0 = 0 ;
8edf1c75
RD
4014 PyObject * obj1 = 0 ;
4015 PyObject * obj2 = 0 ;
d14a1e28
RD
4016 char *kwnames[] = {
4017 (char *) "self",(char *) "dx",(char *) "dy", NULL
4018 };
4019
8edf1c75 4020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_Deflate",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4021 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4022 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4023 arg2 = (int) SWIG_AsInt(obj1);
4024 if (PyErr_Occurred()) SWIG_fail;
4025 arg3 = (int) SWIG_AsInt(obj2);
4026 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4027 {
4028 PyThreadState* __tstate = wxPyBeginAllowThreads();
4029 {
4030 wxRect &_result_ref = (arg1)->Deflate(arg2,arg3);
4031 result = (wxRect *) &_result_ref;
4032 }
4033
4034 wxPyEndAllowThreads(__tstate);
4035 if (PyErr_Occurred()) SWIG_fail;
4036 }
2f4c0a16 4037 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4038 return resultobj;
4039 fail:
4040 return NULL;
4041}
4042
4043
4044static PyObject *_wrap_Rect_OffsetXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4045 PyObject *resultobj;
4046 wxRect *arg1 = (wxRect *) 0 ;
423f194a
RD
4047 int arg2 ;
4048 int arg3 ;
d14a1e28 4049 PyObject * obj0 = 0 ;
8edf1c75
RD
4050 PyObject * obj1 = 0 ;
4051 PyObject * obj2 = 0 ;
d14a1e28
RD
4052 char *kwnames[] = {
4053 (char *) "self",(char *) "dx",(char *) "dy", NULL
4054 };
4055
8edf1c75 4056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_OffsetXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4059 arg2 = (int) SWIG_AsInt(obj1);
4060 if (PyErr_Occurred()) SWIG_fail;
4061 arg3 = (int) SWIG_AsInt(obj2);
4062 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4063 {
4064 PyThreadState* __tstate = wxPyBeginAllowThreads();
4065 (arg1)->Offset(arg2,arg3);
4066
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 Py_INCREF(Py_None); resultobj = Py_None;
4071 return resultobj;
4072 fail:
4073 return NULL;
4074}
4075
4076
4077static PyObject *_wrap_Rect_Offset(PyObject *self, PyObject *args, PyObject *kwargs) {
4078 PyObject *resultobj;
4079 wxRect *arg1 = (wxRect *) 0 ;
4080 wxPoint *arg2 = 0 ;
4081 wxPoint temp2 ;
4082 PyObject * obj0 = 0 ;
4083 PyObject * obj1 = 0 ;
4084 char *kwnames[] = {
4085 (char *) "self",(char *) "pt", NULL
4086 };
4087
4088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Offset",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4091 {
4092 arg2 = &temp2;
4093 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4094 }
4095 {
4096 PyThreadState* __tstate = wxPyBeginAllowThreads();
4097 (arg1)->Offset((wxPoint const &)*arg2);
4098
4099 wxPyEndAllowThreads(__tstate);
4100 if (PyErr_Occurred()) SWIG_fail;
4101 }
4102 Py_INCREF(Py_None); resultobj = Py_None;
4103 return resultobj;
4104 fail:
4105 return NULL;
4106}
4107
4108
4109static PyObject *_wrap_Rect_Intersect(PyObject *self, PyObject *args, PyObject *kwargs) {
4110 PyObject *resultobj;
4111 wxRect *arg1 = (wxRect *) 0 ;
4112 wxRect *arg2 = 0 ;
4113 wxRect *result;
4114 wxRect temp2 ;
4115 PyObject * obj0 = 0 ;
4116 PyObject * obj1 = 0 ;
4117 char *kwnames[] = {
4118 (char *) "self",(char *) "rect", NULL
4119 };
4120
4121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4124 {
4125 arg2 = &temp2;
4126 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4127 }
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 {
4131 wxRect &_result_ref = (arg1)->Intersect((wxRect const &)*arg2);
4132 result = (wxRect *) &_result_ref;
4133 }
4134
4135 wxPyEndAllowThreads(__tstate);
4136 if (PyErr_Occurred()) SWIG_fail;
4137 }
2f4c0a16 4138 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4139 return resultobj;
4140 fail:
4141 return NULL;
4142}
4143
4144
4145static PyObject *_wrap_Rect___add__(PyObject *self, PyObject *args, PyObject *kwargs) {
4146 PyObject *resultobj;
4147 wxRect *arg1 = (wxRect *) 0 ;
4148 wxRect *arg2 = 0 ;
4149 wxRect result;
4150 wxRect temp2 ;
4151 PyObject * obj0 = 0 ;
4152 PyObject * obj1 = 0 ;
4153 char *kwnames[] = {
4154 (char *) "self",(char *) "rect", NULL
4155 };
4156
4157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___add__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4158 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4159 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4160 {
4161 arg2 = &temp2;
4162 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4163 }
4164 {
4165 PyThreadState* __tstate = wxPyBeginAllowThreads();
4166 result = ((wxRect const *)arg1)->operator +((wxRect const &)*arg2);
4167
4168 wxPyEndAllowThreads(__tstate);
4169 if (PyErr_Occurred()) SWIG_fail;
4170 }
4171 {
4172 wxRect * resultptr;
4173 resultptr = new wxRect((wxRect &) result);
2f4c0a16 4174 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
4175 }
4176 return resultobj;
4177 fail:
4178 return NULL;
4179}
4180
4181
4182static PyObject *_wrap_Rect___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
4183 PyObject *resultobj;
4184 wxRect *arg1 = (wxRect *) 0 ;
4185 wxRect *arg2 = 0 ;
4186 wxRect *result;
4187 wxRect temp2 ;
4188 PyObject * obj0 = 0 ;
4189 PyObject * obj1 = 0 ;
4190 char *kwnames[] = {
4191 (char *) "self",(char *) "rect", NULL
4192 };
4193
4194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4197 {
4198 arg2 = &temp2;
4199 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4200 }
4201 {
4202 PyThreadState* __tstate = wxPyBeginAllowThreads();
4203 {
4204 wxRect &_result_ref = (arg1)->operator +=((wxRect const &)*arg2);
4205 result = (wxRect *) &_result_ref;
4206 }
4207
4208 wxPyEndAllowThreads(__tstate);
4209 if (PyErr_Occurred()) SWIG_fail;
4210 }
2f4c0a16 4211 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
4212 return resultobj;
4213 fail:
4214 return NULL;
4215}
4216
4217
4218static PyObject *_wrap_Rect___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
4219 PyObject *resultobj;
4220 wxRect *arg1 = (wxRect *) 0 ;
4221 wxRect *arg2 = 0 ;
4222 bool result;
4223 wxRect temp2 ;
4224 PyObject * obj0 = 0 ;
4225 PyObject * obj1 = 0 ;
4226 char *kwnames[] = {
4227 (char *) "self",(char *) "rect", NULL
4228 };
4229
4230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4233 {
4234 arg2 = &temp2;
4235 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4236 }
4237 {
4238 PyThreadState* __tstate = wxPyBeginAllowThreads();
4239 result = (bool)((wxRect const *)arg1)->operator ==((wxRect const &)*arg2);
4240
4241 wxPyEndAllowThreads(__tstate);
4242 if (PyErr_Occurred()) SWIG_fail;
4243 }
4e760a36 4244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4245 return resultobj;
4246 fail:
4247 return NULL;
4248}
4249
4250
4251static PyObject *_wrap_Rect___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
4252 PyObject *resultobj;
4253 wxRect *arg1 = (wxRect *) 0 ;
4254 wxRect *arg2 = 0 ;
4255 bool result;
4256 wxRect temp2 ;
4257 PyObject * obj0 = 0 ;
4258 PyObject * obj1 = 0 ;
4259 char *kwnames[] = {
4260 (char *) "self",(char *) "rect", NULL
4261 };
4262
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4266 {
4267 arg2 = &temp2;
4268 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4269 }
4270 {
4271 PyThreadState* __tstate = wxPyBeginAllowThreads();
4272 result = (bool)((wxRect const *)arg1)->operator !=((wxRect const &)*arg2);
4273
4274 wxPyEndAllowThreads(__tstate);
4275 if (PyErr_Occurred()) SWIG_fail;
4276 }
4e760a36 4277 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4278 return resultobj;
4279 fail:
4280 return NULL;
4281}
4282
4283
4284static PyObject *_wrap_Rect_InsideXY(PyObject *self, PyObject *args, PyObject *kwargs) {
4285 PyObject *resultobj;
4286 wxRect *arg1 = (wxRect *) 0 ;
4287 int arg2 ;
4288 int arg3 ;
4289 bool result;
4290 PyObject * obj0 = 0 ;
8edf1c75
RD
4291 PyObject * obj1 = 0 ;
4292 PyObject * obj2 = 0 ;
d14a1e28
RD
4293 char *kwnames[] = {
4294 (char *) "self",(char *) "x",(char *) "y", NULL
4295 };
4296
8edf1c75 4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Rect_InsideXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
4298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4300 arg2 = (int) SWIG_AsInt(obj1);
4301 if (PyErr_Occurred()) SWIG_fail;
4302 arg3 = (int) SWIG_AsInt(obj2);
4303 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4304 {
4305 PyThreadState* __tstate = wxPyBeginAllowThreads();
4306 result = (bool)((wxRect const *)arg1)->Inside(arg2,arg3);
4307
4308 wxPyEndAllowThreads(__tstate);
4309 if (PyErr_Occurred()) SWIG_fail;
4310 }
4e760a36 4311 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4312 return resultobj;
4313 fail:
4314 return NULL;
4315}
4316
4317
4318static PyObject *_wrap_Rect_Inside(PyObject *self, PyObject *args, PyObject *kwargs) {
4319 PyObject *resultobj;
4320 wxRect *arg1 = (wxRect *) 0 ;
4321 wxPoint *arg2 = 0 ;
4322 bool result;
4323 wxPoint temp2 ;
4324 PyObject * obj0 = 0 ;
4325 PyObject * obj1 = 0 ;
4326 char *kwnames[] = {
4327 (char *) "self",(char *) "pt", NULL
4328 };
4329
4330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Inside",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4333 {
4334 arg2 = &temp2;
4335 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
4336 }
4337 {
4338 PyThreadState* __tstate = wxPyBeginAllowThreads();
4339 result = (bool)((wxRect const *)arg1)->Inside((wxPoint const &)*arg2);
4340
4341 wxPyEndAllowThreads(__tstate);
4342 if (PyErr_Occurred()) SWIG_fail;
4343 }
4e760a36 4344 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4345 return resultobj;
4346 fail:
4347 return NULL;
4348}
4349
4350
4351static PyObject *_wrap_Rect_Intersects(PyObject *self, PyObject *args, PyObject *kwargs) {
4352 PyObject *resultobj;
4353 wxRect *arg1 = (wxRect *) 0 ;
4354 wxRect *arg2 = 0 ;
4355 bool result;
4356 wxRect temp2 ;
4357 PyObject * obj0 = 0 ;
4358 PyObject * obj1 = 0 ;
4359 char *kwnames[] = {
4360 (char *) "self",(char *) "rect", NULL
4361 };
4362
4363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_Intersects",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4364 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4365 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4366 {
4367 arg2 = &temp2;
4368 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
4369 }
4370 {
4371 PyThreadState* __tstate = wxPyBeginAllowThreads();
4372 result = (bool)((wxRect const *)arg1)->Intersects((wxRect const &)*arg2);
4373
4374 wxPyEndAllowThreads(__tstate);
4375 if (PyErr_Occurred()) SWIG_fail;
4376 }
4e760a36 4377 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4378 return resultobj;
4379 fail:
4380 return NULL;
4381}
4382
4383
4384static PyObject *_wrap_Rect_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4385 PyObject *resultobj;
4386 wxRect *arg1 = (wxRect *) 0 ;
4387 int arg2 ;
4388 PyObject * obj0 = 0 ;
8edf1c75 4389 PyObject * obj1 = 0 ;
d14a1e28
RD
4390 char *kwnames[] = {
4391 (char *) "self",(char *) "x", NULL
4392 };
4393
8edf1c75 4394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4395 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4397 arg2 = (int) SWIG_AsInt(obj1);
4398 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4399 if (arg1) (arg1)->x = arg2;
4400
4401 Py_INCREF(Py_None); resultobj = Py_None;
4402 return resultobj;
4403 fail:
4404 return NULL;
4405}
4406
4407
4408static PyObject *_wrap_Rect_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4409 PyObject *resultobj;
4410 wxRect *arg1 = (wxRect *) 0 ;
4411 int result;
4412 PyObject * obj0 = 0 ;
4413 char *kwnames[] = {
4414 (char *) "self", NULL
4415 };
4416
4417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4420 result = (int) ((arg1)->x);
4421
2f4c0a16 4422 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4423 return resultobj;
4424 fail:
4425 return NULL;
4426}
4427
4428
4429static PyObject *_wrap_Rect_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4430 PyObject *resultobj;
4431 wxRect *arg1 = (wxRect *) 0 ;
4432 int arg2 ;
4433 PyObject * obj0 = 0 ;
8edf1c75 4434 PyObject * obj1 = 0 ;
d14a1e28
RD
4435 char *kwnames[] = {
4436 (char *) "self",(char *) "y", NULL
4437 };
4438
8edf1c75 4439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4442 arg2 = (int) SWIG_AsInt(obj1);
4443 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4444 if (arg1) (arg1)->y = arg2;
4445
4446 Py_INCREF(Py_None); resultobj = Py_None;
4447 return resultobj;
4448 fail:
4449 return NULL;
4450}
4451
4452
4453static PyObject *_wrap_Rect_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4454 PyObject *resultobj;
4455 wxRect *arg1 = (wxRect *) 0 ;
4456 int result;
4457 PyObject * obj0 = 0 ;
4458 char *kwnames[] = {
4459 (char *) "self", NULL
4460 };
4461
4462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4465 result = (int) ((arg1)->y);
4466
2f4c0a16 4467 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4468 return resultobj;
4469 fail:
4470 return NULL;
4471}
4472
4473
4474static PyObject *_wrap_Rect_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4475 PyObject *resultobj;
4476 wxRect *arg1 = (wxRect *) 0 ;
4477 int arg2 ;
4478 PyObject * obj0 = 0 ;
8edf1c75 4479 PyObject * obj1 = 0 ;
d14a1e28
RD
4480 char *kwnames[] = {
4481 (char *) "self",(char *) "width", NULL
4482 };
4483
8edf1c75 4484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_width_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4487 arg2 = (int) SWIG_AsInt(obj1);
4488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4489 if (arg1) (arg1)->width = arg2;
4490
4491 Py_INCREF(Py_None); resultobj = Py_None;
4492 return resultobj;
4493 fail:
4494 return NULL;
4495}
4496
4497
4498static PyObject *_wrap_Rect_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4499 PyObject *resultobj;
4500 wxRect *arg1 = (wxRect *) 0 ;
4501 int result;
4502 PyObject * obj0 = 0 ;
4503 char *kwnames[] = {
4504 (char *) "self", NULL
4505 };
4506
4507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_width_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4510 result = (int) ((arg1)->width);
4511
2f4c0a16 4512 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4513 return resultobj;
4514 fail:
4515 return NULL;
4516}
4517
4518
4519static PyObject *_wrap_Rect_height_set(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxRect *arg1 = (wxRect *) 0 ;
4522 int arg2 ;
4523 PyObject * obj0 = 0 ;
8edf1c75 4524 PyObject * obj1 = 0 ;
d14a1e28
RD
4525 char *kwnames[] = {
4526 (char *) "self",(char *) "height", NULL
4527 };
4528
8edf1c75 4529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Rect_height_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4532 arg2 = (int) SWIG_AsInt(obj1);
4533 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4534 if (arg1) (arg1)->height = arg2;
4535
4536 Py_INCREF(Py_None); resultobj = Py_None;
4537 return resultobj;
4538 fail:
4539 return NULL;
4540}
4541
4542
4543static PyObject *_wrap_Rect_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
4544 PyObject *resultobj;
4545 wxRect *arg1 = (wxRect *) 0 ;
4546 int result;
4547 PyObject * obj0 = 0 ;
4548 char *kwnames[] = {
4549 (char *) "self", NULL
4550 };
4551
4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_height_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4555 result = (int) ((arg1)->height);
4556
2f4c0a16 4557 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
4558 return resultobj;
4559 fail:
4560 return NULL;
4561}
4562
4563
4564static PyObject *_wrap_Rect_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4565 PyObject *resultobj;
4566 wxRect *arg1 = (wxRect *) 0 ;
4567 int arg2 = (int) 0 ;
4568 int arg3 = (int) 0 ;
4569 int arg4 = (int) 0 ;
4570 int arg5 = (int) 0 ;
4571 PyObject * obj0 = 0 ;
8edf1c75
RD
4572 PyObject * obj1 = 0 ;
4573 PyObject * obj2 = 0 ;
4574 PyObject * obj3 = 0 ;
4575 PyObject * obj4 = 0 ;
d14a1e28
RD
4576 char *kwnames[] = {
4577 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4578 };
4579
8edf1c75 4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Rect_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
4581 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4582 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 4583 if (obj1) {
2f4c0a16
RD
4584 arg2 = (int) SWIG_AsInt(obj1);
4585 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4586 }
4587 if (obj2) {
2f4c0a16
RD
4588 arg3 = (int) SWIG_AsInt(obj2);
4589 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4590 }
4591 if (obj3) {
2f4c0a16
RD
4592 arg4 = (int) SWIG_AsInt(obj3);
4593 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4594 }
4595 if (obj4) {
2f4c0a16
RD
4596 arg5 = (int) SWIG_AsInt(obj4);
4597 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4598 }
d14a1e28
RD
4599 {
4600 PyThreadState* __tstate = wxPyBeginAllowThreads();
4601 wxRect_Set(arg1,arg2,arg3,arg4,arg5);
4602
4603 wxPyEndAllowThreads(__tstate);
4604 if (PyErr_Occurred()) SWIG_fail;
4605 }
4606 Py_INCREF(Py_None); resultobj = Py_None;
4607 return resultobj;
4608 fail:
4609 return NULL;
4610}
4611
4612
423f194a 4613static PyObject *_wrap_Rect_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
4614 PyObject *resultobj;
4615 wxRect *arg1 = (wxRect *) 0 ;
4616 PyObject *result;
4617 PyObject * obj0 = 0 ;
4618 char *kwnames[] = {
4619 (char *) "self", NULL
4620 };
4621
423f194a 4622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Rect_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4623 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4624 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4625 {
4626 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 4627 result = (PyObject *)wxRect_Get(arg1);
d14a1e28
RD
4628
4629 wxPyEndAllowThreads(__tstate);
4630 if (PyErr_Occurred()) SWIG_fail;
4631 }
4632 resultobj = result;
4633 return resultobj;
4634 fail:
4635 return NULL;
4636}
4637
4638
4639static PyObject * Rect_swigregister(PyObject *self, PyObject *args) {
4640 PyObject *obj;
4641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4642 SWIG_TypeClientData(SWIGTYPE_p_wxRect, obj);
4643 Py_INCREF(obj);
4644 return Py_BuildValue((char *)"");
4645}
4646static PyObject *_wrap_IntersectRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4647 PyObject *resultobj;
4648 wxRect *arg1 = (wxRect *) 0 ;
4649 wxRect *arg2 = (wxRect *) 0 ;
4650 PyObject *result;
4651 PyObject * obj0 = 0 ;
4652 PyObject * obj1 = 0 ;
4653 char *kwnames[] = {
4654 (char *) "r1",(char *) "r2", NULL
4655 };
4656
4657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IntersectRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4658 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxRect,
4659 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4660 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
4661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 result = (PyObject *)wxIntersectRect(arg1,arg2);
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 resultobj = result;
4670 return resultobj;
4671 fail:
4672 return NULL;
4673}
4674
4675
4676static PyObject *_wrap_new_Point2D(PyObject *self, PyObject *args, PyObject *kwargs) {
4677 PyObject *resultobj;
4678 double arg1 = (double) 0.0 ;
4679 double arg2 = (double) 0.0 ;
4680 wxPoint2D *result;
8edf1c75
RD
4681 PyObject * obj0 = 0 ;
4682 PyObject * obj1 = 0 ;
d14a1e28
RD
4683 char *kwnames[] = {
4684 (char *) "x",(char *) "y", NULL
4685 };
4686
8edf1c75
RD
4687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Point2D",kwnames,&obj0,&obj1)) goto fail;
4688 if (obj0) {
2f4c0a16
RD
4689 arg1 = (double) SWIG_AsDouble(obj0);
4690 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
4691 }
4692 if (obj1) {
2f4c0a16
RD
4693 arg2 = (double) SWIG_AsDouble(obj1);
4694 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 4695 }
d14a1e28
RD
4696 {
4697 PyThreadState* __tstate = wxPyBeginAllowThreads();
4698 result = (wxPoint2D *)new wxPoint2D(arg1,arg2);
4699
4700 wxPyEndAllowThreads(__tstate);
4701 if (PyErr_Occurred()) SWIG_fail;
4702 }
2f4c0a16 4703 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4704 return resultobj;
4705 fail:
4706 return NULL;
4707}
4708
4709
4710static PyObject *_wrap_new_Point2DCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
4711 PyObject *resultobj;
4712 wxPoint2D *arg1 = 0 ;
4713 wxPoint2D *result;
4714 wxPoint2D temp1 ;
4715 PyObject * obj0 = 0 ;
4716 char *kwnames[] = {
4717 (char *) "pt", NULL
4718 };
4719
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DCopy",kwnames,&obj0)) goto fail;
4721 {
4722 arg1 = &temp1;
4723 if ( ! wxPoint2D_helper(obj0, &arg1)) SWIG_fail;
4724 }
4725 {
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 result = (wxPoint2D *)new wxPoint2D((wxPoint2D const &)*arg1);
4728
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
2f4c0a16 4732 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4733 return resultobj;
4734 fail:
4735 return NULL;
4736}
4737
4738
4739static PyObject *_wrap_new_Point2DFromPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 wxPoint *arg1 = 0 ;
4742 wxPoint2D *result;
4743 wxPoint temp1 ;
4744 PyObject * obj0 = 0 ;
4745 char *kwnames[] = {
4746 (char *) "pt", NULL
4747 };
4748
4749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_Point2DFromPoint",kwnames,&obj0)) goto fail;
4750 {
4751 arg1 = &temp1;
4752 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
4753 }
4754 {
4755 PyThreadState* __tstate = wxPyBeginAllowThreads();
4756 result = (wxPoint2D *)new wxPoint2D((wxPoint const &)*arg1);
4757
4758 wxPyEndAllowThreads(__tstate);
4759 if (PyErr_Occurred()) SWIG_fail;
4760 }
2f4c0a16 4761 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
4762 return resultobj;
4763 fail:
4764 return NULL;
4765}
4766
4767
4768static PyObject *_wrap_Point2D_GetFloor(PyObject *self, PyObject *args, PyObject *kwargs) {
4769 PyObject *resultobj;
4770 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4771 int *arg2 = (int *) 0 ;
4772 int *arg3 = (int *) 0 ;
4773 int temp2 ;
4774 int temp3 ;
4775 PyObject * obj0 = 0 ;
4776 char *kwnames[] = {
4777 (char *) "self", NULL
4778 };
4779
4780 arg2 = &temp2;
4781 arg3 = &temp3;
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetFloor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4783 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4784 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4785 {
4786 PyThreadState* __tstate = wxPyBeginAllowThreads();
4787 ((wxPoint2D const *)arg1)->GetFloor(arg2,arg3);
4788
4789 wxPyEndAllowThreads(__tstate);
4790 if (PyErr_Occurred()) SWIG_fail;
4791 }
4792 Py_INCREF(Py_None); resultobj = Py_None;
4793 {
4794 PyObject *o = PyInt_FromLong((long) (*arg2));
4795 resultobj = t_output_helper(resultobj,o);
4796 }
4797 {
4798 PyObject *o = PyInt_FromLong((long) (*arg3));
4799 resultobj = t_output_helper(resultobj,o);
4800 }
4801 return resultobj;
4802 fail:
4803 return NULL;
4804}
4805
4806
4807static PyObject *_wrap_Point2D_GetRounded(PyObject *self, PyObject *args, PyObject *kwargs) {
4808 PyObject *resultobj;
4809 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4810 int *arg2 = (int *) 0 ;
4811 int *arg3 = (int *) 0 ;
4812 int temp2 ;
4813 int temp3 ;
4814 PyObject * obj0 = 0 ;
4815 char *kwnames[] = {
4816 (char *) "self", NULL
4817 };
4818
4819 arg2 = &temp2;
4820 arg3 = &temp3;
4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetRounded",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4822 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4823 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4824 {
4825 PyThreadState* __tstate = wxPyBeginAllowThreads();
4826 ((wxPoint2D const *)arg1)->GetRounded(arg2,arg3);
4827
4828 wxPyEndAllowThreads(__tstate);
4829 if (PyErr_Occurred()) SWIG_fail;
4830 }
4831 Py_INCREF(Py_None); resultobj = Py_None;
4832 {
4833 PyObject *o = PyInt_FromLong((long) (*arg2));
4834 resultobj = t_output_helper(resultobj,o);
4835 }
4836 {
4837 PyObject *o = PyInt_FromLong((long) (*arg3));
4838 resultobj = t_output_helper(resultobj,o);
4839 }
4840 return resultobj;
4841 fail:
4842 return NULL;
4843}
4844
4845
4846static PyObject *_wrap_Point2D_GetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4847 PyObject *resultobj;
4848 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4849 double result;
4850 PyObject * obj0 = 0 ;
4851 char *kwnames[] = {
4852 (char *) "self", NULL
4853 };
4854
4855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorLength",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4858 {
4859 PyThreadState* __tstate = wxPyBeginAllowThreads();
4860 result = (double)((wxPoint2D const *)arg1)->GetVectorLength();
4861
4862 wxPyEndAllowThreads(__tstate);
4863 if (PyErr_Occurred()) SWIG_fail;
4864 }
2f4c0a16 4865 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4866 return resultobj;
4867 fail:
4868 return NULL;
4869}
4870
4871
4872static PyObject *_wrap_Point2D_GetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4873 PyObject *resultobj;
4874 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4875 double result;
4876 PyObject * obj0 = 0 ;
4877 char *kwnames[] = {
4878 (char *) "self", NULL
4879 };
4880
4881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_GetVectorAngle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
4882 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4883 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4884 {
4885 PyThreadState* __tstate = wxPyBeginAllowThreads();
4886 result = (double)((wxPoint2D const *)arg1)->GetVectorAngle();
4887
4888 wxPyEndAllowThreads(__tstate);
4889 if (PyErr_Occurred()) SWIG_fail;
4890 }
2f4c0a16 4891 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4892 return resultobj;
4893 fail:
4894 return NULL;
4895}
4896
4897
4898static PyObject *_wrap_Point2D_SetVectorLength(PyObject *self, PyObject *args, PyObject *kwargs) {
4899 PyObject *resultobj;
4900 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4901 double arg2 ;
4902 PyObject * obj0 = 0 ;
8edf1c75 4903 PyObject * obj1 = 0 ;
d14a1e28
RD
4904 char *kwnames[] = {
4905 (char *) "self",(char *) "length", NULL
4906 };
4907
8edf1c75 4908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorLength",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4911 arg2 = (double) SWIG_AsDouble(obj1);
4912 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4913 {
4914 PyThreadState* __tstate = wxPyBeginAllowThreads();
4915 (arg1)->SetVectorLength(arg2);
4916
4917 wxPyEndAllowThreads(__tstate);
4918 if (PyErr_Occurred()) SWIG_fail;
4919 }
4920 Py_INCREF(Py_None); resultobj = Py_None;
4921 return resultobj;
4922 fail:
4923 return NULL;
4924}
4925
4926
4927static PyObject *_wrap_Point2D_SetVectorAngle(PyObject *self, PyObject *args, PyObject *kwargs) {
4928 PyObject *resultobj;
4929 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4930 double arg2 ;
4931 PyObject * obj0 = 0 ;
8edf1c75 4932 PyObject * obj1 = 0 ;
d14a1e28
RD
4933 char *kwnames[] = {
4934 (char *) "self",(char *) "degrees", NULL
4935 };
4936
8edf1c75 4937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_SetVectorAngle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4938 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4939 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
4940 arg2 = (double) SWIG_AsDouble(obj1);
4941 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
4942 {
4943 PyThreadState* __tstate = wxPyBeginAllowThreads();
4944 (arg1)->SetVectorAngle(arg2);
4945
4946 wxPyEndAllowThreads(__tstate);
4947 if (PyErr_Occurred()) SWIG_fail;
4948 }
4949 Py_INCREF(Py_None); resultobj = Py_None;
4950 return resultobj;
4951 fail:
4952 return NULL;
4953}
4954
4955
4956static PyObject *_wrap_Point2D_GetDistance(PyObject *self, PyObject *args, PyObject *kwargs) {
4957 PyObject *resultobj;
4958 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4959 wxPoint2D *arg2 = 0 ;
4960 double result;
4961 wxPoint2D temp2 ;
4962 PyObject * obj0 = 0 ;
4963 PyObject * obj1 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self",(char *) "pt", NULL
4966 };
4967
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistance",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
4969 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
4970 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
4971 {
4972 arg2 = &temp2;
4973 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
4974 }
4975 {
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 result = (double)((wxPoint2D const *)arg1)->GetDistance((wxPoint2D const &)*arg2);
4978
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
2f4c0a16 4982 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
4983 return resultobj;
4984 fail:
4985 return NULL;
4986}
4987
4988
4989static PyObject *_wrap_Point2D_GetDistanceSquare(PyObject *self, PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj;
4991 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
4992 wxPoint2D *arg2 = 0 ;
4993 double result;
4994 wxPoint2D temp2 ;
4995 PyObject * obj0 = 0 ;
4996 PyObject * obj1 = 0 ;
4997 char *kwnames[] = {
4998 (char *) "self",(char *) "pt", NULL
4999 };
5000
5001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDistanceSquare",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5002 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5003 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5004 {
5005 arg2 = &temp2;
5006 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5007 }
5008 {
5009 PyThreadState* __tstate = wxPyBeginAllowThreads();
5010 result = (double)((wxPoint2D const *)arg1)->GetDistanceSquare((wxPoint2D const &)*arg2);
5011
5012 wxPyEndAllowThreads(__tstate);
5013 if (PyErr_Occurred()) SWIG_fail;
5014 }
2f4c0a16 5015 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5016 return resultobj;
5017 fail:
5018 return NULL;
5019}
5020
5021
5022static PyObject *_wrap_Point2D_GetDotProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5023 PyObject *resultobj;
5024 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5025 wxPoint2D *arg2 = 0 ;
5026 double result;
5027 wxPoint2D temp2 ;
5028 PyObject * obj0 = 0 ;
5029 PyObject * obj1 = 0 ;
5030 char *kwnames[] = {
5031 (char *) "self",(char *) "vec", NULL
5032 };
5033
5034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetDotProduct",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5037 {
5038 arg2 = &temp2;
5039 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5040 }
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 result = (double)((wxPoint2D const *)arg1)->GetDotProduct((wxPoint2D const &)*arg2);
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
2f4c0a16 5048 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5049 return resultobj;
5050 fail:
5051 return NULL;
5052}
5053
5054
5055static PyObject *_wrap_Point2D_GetCrossProduct(PyObject *self, PyObject *args, PyObject *kwargs) {
5056 PyObject *resultobj;
5057 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5058 wxPoint2D *arg2 = 0 ;
5059 double result;
5060 wxPoint2D temp2 ;
5061 PyObject * obj0 = 0 ;
5062 PyObject * obj1 = 0 ;
5063 char *kwnames[] = {
5064 (char *) "self",(char *) "vec", NULL
5065 };
5066
5067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_GetCrossProduct",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5070 {
5071 arg2 = &temp2;
5072 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5073 }
5074 {
5075 PyThreadState* __tstate = wxPyBeginAllowThreads();
5076 result = (double)((wxPoint2D const *)arg1)->GetCrossProduct((wxPoint2D const &)*arg2);
5077
5078 wxPyEndAllowThreads(__tstate);
5079 if (PyErr_Occurred()) SWIG_fail;
5080 }
2f4c0a16 5081 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5082 return resultobj;
5083 fail:
5084 return NULL;
5085}
5086
5087
5088static PyObject *_wrap_Point2D___neg__(PyObject *self, PyObject *args, PyObject *kwargs) {
5089 PyObject *resultobj;
5090 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5091 wxPoint2D result;
5092 PyObject * obj0 = 0 ;
5093 char *kwnames[] = {
5094 (char *) "self", NULL
5095 };
5096
5097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D___neg__",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5098 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 result = (arg1)->operator -();
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 {
5108 wxPoint2D * resultptr;
5109 resultptr = new wxPoint2D((wxPoint2D &) result);
2f4c0a16 5110 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint2D, 1);
d14a1e28
RD
5111 }
5112 return resultobj;
5113 fail:
5114 return NULL;
5115}
5116
5117
5118static PyObject *_wrap_Point2D___iadd__(PyObject *self, PyObject *args, PyObject *kwargs) {
5119 PyObject *resultobj;
5120 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5121 wxPoint2D *arg2 = 0 ;
5122 wxPoint2D *result;
5123 wxPoint2D temp2 ;
5124 PyObject * obj0 = 0 ;
5125 PyObject * obj1 = 0 ;
5126 char *kwnames[] = {
5127 (char *) "self",(char *) "pt", NULL
5128 };
5129
5130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___iadd__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5133 {
5134 arg2 = &temp2;
5135 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5136 }
5137 {
5138 PyThreadState* __tstate = wxPyBeginAllowThreads();
5139 {
5140 wxPoint2D &_result_ref = (arg1)->operator +=((wxPoint2D const &)*arg2);
5141 result = (wxPoint2D *) &_result_ref;
5142 }
5143
5144 wxPyEndAllowThreads(__tstate);
5145 if (PyErr_Occurred()) SWIG_fail;
5146 }
2f4c0a16 5147 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5148 return resultobj;
5149 fail:
5150 return NULL;
5151}
5152
5153
5154static PyObject *_wrap_Point2D___isub__(PyObject *self, PyObject *args, PyObject *kwargs) {
5155 PyObject *resultobj;
5156 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5157 wxPoint2D *arg2 = 0 ;
5158 wxPoint2D *result;
5159 wxPoint2D temp2 ;
5160 PyObject * obj0 = 0 ;
5161 PyObject * obj1 = 0 ;
5162 char *kwnames[] = {
5163 (char *) "self",(char *) "pt", NULL
5164 };
5165
5166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___isub__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5169 {
5170 arg2 = &temp2;
5171 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5172 }
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 {
5176 wxPoint2D &_result_ref = (arg1)->operator -=((wxPoint2D const &)*arg2);
5177 result = (wxPoint2D *) &_result_ref;
5178 }
5179
5180 wxPyEndAllowThreads(__tstate);
5181 if (PyErr_Occurred()) SWIG_fail;
5182 }
2f4c0a16 5183 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5184 return resultobj;
5185 fail:
5186 return NULL;
5187}
5188
5189
5190static PyObject *_wrap_Point2D___imul__(PyObject *self, PyObject *args, PyObject *kwargs) {
5191 PyObject *resultobj;
5192 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5193 wxPoint2D *arg2 = 0 ;
5194 wxPoint2D *result;
5195 wxPoint2D temp2 ;
5196 PyObject * obj0 = 0 ;
5197 PyObject * obj1 = 0 ;
5198 char *kwnames[] = {
5199 (char *) "self",(char *) "pt", NULL
5200 };
5201
5202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___imul__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5203 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5204 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5205 {
5206 arg2 = &temp2;
5207 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5208 }
5209 {
5210 PyThreadState* __tstate = wxPyBeginAllowThreads();
5211 {
5212 wxPoint2D &_result_ref = (arg1)->operator *=((wxPoint2D const &)*arg2);
5213 result = (wxPoint2D *) &_result_ref;
5214 }
5215
5216 wxPyEndAllowThreads(__tstate);
5217 if (PyErr_Occurred()) SWIG_fail;
5218 }
2f4c0a16 5219 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5220 return resultobj;
5221 fail:
5222 return NULL;
5223}
5224
5225
5226static PyObject *_wrap_Point2D___idiv__(PyObject *self, PyObject *args, PyObject *kwargs) {
5227 PyObject *resultobj;
5228 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5229 wxPoint2D *arg2 = 0 ;
5230 wxPoint2D *result;
5231 wxPoint2D temp2 ;
5232 PyObject * obj0 = 0 ;
5233 PyObject * obj1 = 0 ;
5234 char *kwnames[] = {
5235 (char *) "self",(char *) "pt", NULL
5236 };
5237
5238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___idiv__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5241 {
5242 arg2 = &temp2;
5243 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5244 }
5245 {
5246 PyThreadState* __tstate = wxPyBeginAllowThreads();
5247 {
5248 wxPoint2D &_result_ref = (arg1)->operator /=((wxPoint2D const &)*arg2);
5249 result = (wxPoint2D *) &_result_ref;
5250 }
5251
5252 wxPyEndAllowThreads(__tstate);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 }
2f4c0a16 5255 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint2D, 0);
d14a1e28
RD
5256 return resultobj;
5257 fail:
5258 return NULL;
5259}
5260
5261
5262static PyObject *_wrap_Point2D___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
5263 PyObject *resultobj;
5264 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5265 wxPoint2D *arg2 = 0 ;
5266 bool result;
5267 wxPoint2D temp2 ;
5268 PyObject * obj0 = 0 ;
5269 PyObject * obj1 = 0 ;
5270 char *kwnames[] = {
5271 (char *) "self",(char *) "pt", NULL
5272 };
5273
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5275 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5276 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5277 {
5278 arg2 = &temp2;
5279 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5280 }
5281 {
5282 PyThreadState* __tstate = wxPyBeginAllowThreads();
5283 result = (bool)((wxPoint2D const *)arg1)->operator ==((wxPoint2D const &)*arg2);
5284
5285 wxPyEndAllowThreads(__tstate);
5286 if (PyErr_Occurred()) SWIG_fail;
5287 }
4e760a36 5288 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5289 return resultobj;
5290 fail:
5291 return NULL;
5292}
5293
5294
5295static PyObject *_wrap_Point2D___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
5296 PyObject *resultobj;
5297 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5298 wxPoint2D *arg2 = 0 ;
5299 bool result;
5300 wxPoint2D temp2 ;
5301 PyObject * obj0 = 0 ;
5302 PyObject * obj1 = 0 ;
5303 char *kwnames[] = {
5304 (char *) "self",(char *) "pt", NULL
5305 };
5306
5307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5310 {
5311 arg2 = &temp2;
5312 if ( ! wxPoint2D_helper(obj1, &arg2)) SWIG_fail;
5313 }
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 result = (bool)((wxPoint2D const *)arg1)->operator !=((wxPoint2D const &)*arg2);
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
4e760a36 5321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5322 return resultobj;
5323 fail:
5324 return NULL;
5325}
5326
5327
d14a1e28
RD
5328static PyObject *_wrap_Point2D_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5329 PyObject *resultobj;
5330 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5331 double arg2 ;
5332 PyObject * obj0 = 0 ;
8edf1c75 5333 PyObject * obj1 = 0 ;
d14a1e28
RD
5334 char *kwnames[] = {
5335 (char *) "self",(char *) "m_x", NULL
5336 };
5337
8edf1c75 5338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5341 arg2 = (double) SWIG_AsDouble(obj1);
5342 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5343 if (arg1) (arg1)->m_x = arg2;
5344
5345 Py_INCREF(Py_None); resultobj = Py_None;
5346 return resultobj;
5347 fail:
5348 return NULL;
5349}
5350
5351
5352static PyObject *_wrap_Point2D_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5353 PyObject *resultobj;
5354 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5355 double result;
5356 PyObject * obj0 = 0 ;
5357 char *kwnames[] = {
5358 (char *) "self", NULL
5359 };
5360
5361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5362 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5363 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5364 result = (double) ((arg1)->m_x);
5365
2f4c0a16 5366 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5367 return resultobj;
5368 fail:
5369 return NULL;
5370}
5371
5372
5373static PyObject *_wrap_Point2D_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
5374 PyObject *resultobj;
5375 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5376 double arg2 ;
5377 PyObject * obj0 = 0 ;
8edf1c75 5378 PyObject * obj1 = 0 ;
d14a1e28
RD
5379 char *kwnames[] = {
5380 (char *) "self",(char *) "m_y", NULL
5381 };
5382
8edf1c75 5383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Point2D_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5386 arg2 = (double) SWIG_AsDouble(obj1);
5387 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5388 if (arg1) (arg1)->m_y = arg2;
5389
5390 Py_INCREF(Py_None); resultobj = Py_None;
5391 return resultobj;
5392 fail:
5393 return NULL;
5394}
5395
5396
5397static PyObject *_wrap_Point2D_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject *resultobj;
5399 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5400 double result;
5401 PyObject * obj0 = 0 ;
5402 char *kwnames[] = {
5403 (char *) "self", NULL
5404 };
5405
5406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5409 result = (double) ((arg1)->m_y);
5410
2f4c0a16 5411 resultobj = SWIG_FromDouble((double)result);
d14a1e28
RD
5412 return resultobj;
5413 fail:
5414 return NULL;
5415}
5416
5417
5418static PyObject *_wrap_Point2D_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
5419 PyObject *resultobj;
5420 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5421 double arg2 = (double) 0 ;
5422 double arg3 = (double) 0 ;
5423 PyObject * obj0 = 0 ;
8edf1c75
RD
5424 PyObject * obj1 = 0 ;
5425 PyObject * obj2 = 0 ;
d14a1e28
RD
5426 char *kwnames[] = {
5427 (char *) "self",(char *) "x",(char *) "y", NULL
5428 };
5429
8edf1c75 5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Point2D_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5431 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5432 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5433 if (obj1) {
2f4c0a16
RD
5434 arg2 = (double) SWIG_AsDouble(obj1);
5435 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
5436 }
5437 if (obj2) {
2f4c0a16
RD
5438 arg3 = (double) SWIG_AsDouble(obj2);
5439 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5440 }
d14a1e28
RD
5441 {
5442 PyThreadState* __tstate = wxPyBeginAllowThreads();
5443 wxPoint2D_Set(arg1,arg2,arg3);
5444
5445 wxPyEndAllowThreads(__tstate);
5446 if (PyErr_Occurred()) SWIG_fail;
5447 }
5448 Py_INCREF(Py_None); resultobj = Py_None;
5449 return resultobj;
5450 fail:
5451 return NULL;
5452}
5453
5454
423f194a 5455static PyObject *_wrap_Point2D_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
5456 PyObject *resultobj;
5457 wxPoint2D *arg1 = (wxPoint2D *) 0 ;
5458 PyObject *result;
5459 PyObject * obj0 = 0 ;
5460 char *kwnames[] = {
5461 (char *) "self", NULL
5462 };
5463
423f194a 5464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Point2D_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5465 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPoint2D,
5466 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 5469 result = (PyObject *)wxPoint2D_Get(arg1);
d14a1e28
RD
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 resultobj = result;
5475 return resultobj;
5476 fail:
5477 return NULL;
5478}
5479
5480
5481static PyObject * Point2D_swigregister(PyObject *self, PyObject *args) {
5482 PyObject *obj;
5483 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5484 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D, obj);
5485 Py_INCREF(obj);
5486 return Py_BuildValue((char *)"");
5487}
2f4c0a16 5488static int _wrap_DefaultPosition_set(PyObject *_val) {
d14a1e28
RD
5489 PyErr_SetString(PyExc_TypeError,"Variable DefaultPosition is read-only.");
5490 return 1;
5491}
5492
5493
5494static PyObject *_wrap_DefaultPosition_get() {
5495 PyObject *pyobj;
5496
2f4c0a16 5497 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultPosition), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
5498 return pyobj;
5499}
5500
5501
2f4c0a16 5502static int _wrap_DefaultSize_set(PyObject *_val) {
d14a1e28
RD
5503 PyErr_SetString(PyExc_TypeError,"Variable DefaultSize is read-only.");
5504 return 1;
5505}
5506
5507
5508static PyObject *_wrap_DefaultSize_get() {
5509 PyObject *pyobj;
5510
2f4c0a16 5511 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSize), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
5512 return pyobj;
5513}
5514
5515
5516static PyObject *_wrap_new_InputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
5517 PyObject *resultobj;
5518 PyObject *arg1 = (PyObject *) 0 ;
5519 wxPyInputStream *result;
5520 PyObject * obj0 = 0 ;
5521 char *kwnames[] = {
5522 (char *) "p", NULL
5523 };
5524
5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_InputStream",kwnames,&obj0)) goto fail;
5526 arg1 = obj0;
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 result = (wxPyInputStream *)new_wxPyInputStream(arg1);
5530
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
2f4c0a16 5534 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyInputStream, 1);
d14a1e28
RD
5535 return resultobj;
5536 fail:
5537 return NULL;
5538}
5539
5540
5541static PyObject *_wrap_InputStream_close(PyObject *self, PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj;
5543 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5544 PyObject * obj0 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_close",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5552 {
5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
5554 (arg1)->close();
5555
5556 wxPyEndAllowThreads(__tstate);
5557 if (PyErr_Occurred()) SWIG_fail;
5558 }
5559 Py_INCREF(Py_None); resultobj = Py_None;
5560 return resultobj;
5561 fail:
5562 return NULL;
5563}
5564
5565
5566static PyObject *_wrap_InputStream_flush(PyObject *self, PyObject *args, PyObject *kwargs) {
5567 PyObject *resultobj;
5568 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5569 PyObject * obj0 = 0 ;
5570 char *kwnames[] = {
5571 (char *) "self", NULL
5572 };
5573
5574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_flush",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5577 {
5578 PyThreadState* __tstate = wxPyBeginAllowThreads();
5579 (arg1)->flush();
5580
5581 wxPyEndAllowThreads(__tstate);
5582 if (PyErr_Occurred()) SWIG_fail;
5583 }
5584 Py_INCREF(Py_None); resultobj = Py_None;
5585 return resultobj;
5586 fail:
5587 return NULL;
5588}
5589
5590
5591static PyObject *_wrap_InputStream_eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5592 PyObject *resultobj;
5593 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5594 bool result;
5595 PyObject * obj0 = 0 ;
5596 char *kwnames[] = {
5597 (char *) "self", NULL
5598 };
5599
5600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_eof",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5601 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5602 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5603 {
5604 PyThreadState* __tstate = wxPyBeginAllowThreads();
5605 result = (bool)(arg1)->eof();
5606
5607 wxPyEndAllowThreads(__tstate);
5608 if (PyErr_Occurred()) SWIG_fail;
5609 }
4e760a36 5610 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5611 return resultobj;
5612 fail:
5613 return NULL;
5614}
5615
5616
5617static PyObject *_wrap_InputStream_read(PyObject *self, PyObject *args, PyObject *kwargs) {
5618 PyObject *resultobj;
5619 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5620 int arg2 = (int) -1 ;
5621 PyObject *result;
5622 PyObject * obj0 = 0 ;
8edf1c75 5623 PyObject * obj1 = 0 ;
d14a1e28
RD
5624 char *kwnames[] = {
5625 (char *) "self",(char *) "size", NULL
5626 };
5627
8edf1c75 5628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_read",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5631 if (obj1) {
2f4c0a16
RD
5632 arg2 = (int) SWIG_AsInt(obj1);
5633 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5634 }
d14a1e28
RD
5635 {
5636 PyThreadState* __tstate = wxPyBeginAllowThreads();
5637 result = (PyObject *)(arg1)->read(arg2);
5638
5639 wxPyEndAllowThreads(__tstate);
5640 if (PyErr_Occurred()) SWIG_fail;
5641 }
5642 resultobj = result;
5643 return resultobj;
5644 fail:
5645 return NULL;
5646}
5647
5648
5649static PyObject *_wrap_InputStream_readline(PyObject *self, PyObject *args, PyObject *kwargs) {
5650 PyObject *resultobj;
5651 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5652 int arg2 = (int) -1 ;
5653 PyObject *result;
5654 PyObject * obj0 = 0 ;
8edf1c75 5655 PyObject * obj1 = 0 ;
d14a1e28
RD
5656 char *kwnames[] = {
5657 (char *) "self",(char *) "size", NULL
5658 };
5659
8edf1c75 5660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readline",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5661 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5662 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5663 if (obj1) {
2f4c0a16
RD
5664 arg2 = (int) SWIG_AsInt(obj1);
5665 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5666 }
d14a1e28
RD
5667 {
5668 PyThreadState* __tstate = wxPyBeginAllowThreads();
5669 result = (PyObject *)(arg1)->readline(arg2);
5670
5671 wxPyEndAllowThreads(__tstate);
5672 if (PyErr_Occurred()) SWIG_fail;
5673 }
5674 resultobj = result;
5675 return resultobj;
5676 fail:
5677 return NULL;
5678}
5679
5680
5681static PyObject *_wrap_InputStream_readlines(PyObject *self, PyObject *args, PyObject *kwargs) {
5682 PyObject *resultobj;
5683 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5684 int arg2 = (int) -1 ;
5685 PyObject *result;
5686 PyObject * obj0 = 0 ;
8edf1c75 5687 PyObject * obj1 = 0 ;
d14a1e28
RD
5688 char *kwnames[] = {
5689 (char *) "self",(char *) "sizehint", NULL
5690 };
5691
8edf1c75 5692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:InputStream_readlines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 5695 if (obj1) {
2f4c0a16
RD
5696 arg2 = (int) SWIG_AsInt(obj1);
5697 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5698 }
d14a1e28
RD
5699 {
5700 PyThreadState* __tstate = wxPyBeginAllowThreads();
5701 result = (PyObject *)(arg1)->readlines(arg2);
5702
5703 wxPyEndAllowThreads(__tstate);
5704 if (PyErr_Occurred()) SWIG_fail;
5705 }
5706 resultobj = result;
5707 return resultobj;
5708 fail:
5709 return NULL;
5710}
5711
5712
5713static PyObject *_wrap_InputStream_seek(PyObject *self, PyObject *args, PyObject *kwargs) {
5714 PyObject *resultobj;
5715 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5716 int arg2 ;
5717 int arg3 = (int) 0 ;
5718 PyObject * obj0 = 0 ;
8edf1c75
RD
5719 PyObject * obj1 = 0 ;
5720 PyObject * obj2 = 0 ;
d14a1e28
RD
5721 char *kwnames[] = {
5722 (char *) "self",(char *) "offset",(char *) "whence", NULL
5723 };
5724
8edf1c75 5725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_seek",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5726 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5727 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5728 arg2 = (int) SWIG_AsInt(obj1);
5729 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5730 if (obj2) {
2f4c0a16
RD
5731 arg3 = (int) SWIG_AsInt(obj2);
5732 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5733 }
d14a1e28
RD
5734 {
5735 PyThreadState* __tstate = wxPyBeginAllowThreads();
5736 (arg1)->seek(arg2,arg3);
5737
5738 wxPyEndAllowThreads(__tstate);
5739 if (PyErr_Occurred()) SWIG_fail;
5740 }
5741 Py_INCREF(Py_None); resultobj = Py_None;
5742 return resultobj;
5743 fail:
5744 return NULL;
5745}
5746
5747
5748static PyObject *_wrap_InputStream_tell(PyObject *self, PyObject *args, PyObject *kwargs) {
5749 PyObject *resultobj;
5750 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5751 int result;
5752 PyObject * obj0 = 0 ;
5753 char *kwnames[] = {
5754 (char *) "self", NULL
5755 };
5756
5757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_tell",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5760 {
5761 PyThreadState* __tstate = wxPyBeginAllowThreads();
5762 result = (int)(arg1)->tell();
5763
5764 wxPyEndAllowThreads(__tstate);
5765 if (PyErr_Occurred()) SWIG_fail;
5766 }
2f4c0a16 5767 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
5768 return resultobj;
5769 fail:
5770 return NULL;
5771}
5772
5773
5774static PyObject *_wrap_InputStream_Peek(PyObject *self, PyObject *args, PyObject *kwargs) {
5775 PyObject *resultobj;
5776 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5777 char result;
5778 PyObject * obj0 = 0 ;
5779 char *kwnames[] = {
5780 (char *) "self", NULL
5781 };
5782
5783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Peek",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5786 {
5787 PyThreadState* __tstate = wxPyBeginAllowThreads();
5788 result = (char)(arg1)->Peek();
5789
5790 wxPyEndAllowThreads(__tstate);
5791 if (PyErr_Occurred()) SWIG_fail;
5792 }
2f4c0a16 5793 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5794 return resultobj;
5795 fail:
5796 return NULL;
5797}
5798
5799
5800static PyObject *_wrap_InputStream_GetC(PyObject *self, PyObject *args, PyObject *kwargs) {
5801 PyObject *resultobj;
5802 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5803 char result;
5804 PyObject * obj0 = 0 ;
5805 char *kwnames[] = {
5806 (char *) "self", NULL
5807 };
5808
5809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_GetC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5810 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5811 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 result = (char)(arg1)->GetC();
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
2f4c0a16 5819 resultobj = SWIG_FromChar((char)result);
d14a1e28
RD
5820 return resultobj;
5821 fail:
5822 return NULL;
5823}
5824
5825
5826static PyObject *_wrap_InputStream_LastRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5827 PyObject *resultobj;
5828 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5829 size_t result;
5830 PyObject * obj0 = 0 ;
5831 char *kwnames[] = {
5832 (char *) "self", NULL
5833 };
5834
5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_LastRead",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5836 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5837 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5838 {
5839 PyThreadState* __tstate = wxPyBeginAllowThreads();
5840 result = (size_t)(arg1)->LastRead();
5841
5842 wxPyEndAllowThreads(__tstate);
5843 if (PyErr_Occurred()) SWIG_fail;
5844 }
2f4c0a16 5845 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
5846 return resultobj;
5847 fail:
5848 return NULL;
5849}
5850
5851
5852static PyObject *_wrap_InputStream_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
5853 PyObject *resultobj;
5854 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5855 bool result;
5856 PyObject * obj0 = 0 ;
5857 char *kwnames[] = {
5858 (char *) "self", NULL
5859 };
5860
5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_CanRead",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5864 {
5865 PyThreadState* __tstate = wxPyBeginAllowThreads();
5866 result = (bool)(arg1)->CanRead();
5867
5868 wxPyEndAllowThreads(__tstate);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
4e760a36 5871 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5872 return resultobj;
5873 fail:
5874 return NULL;
5875}
5876
5877
5878static PyObject *_wrap_InputStream_Eof(PyObject *self, PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj;
5880 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5881 bool result;
5882 PyObject * obj0 = 0 ;
5883 char *kwnames[] = {
5884 (char *) "self", NULL
5885 };
5886
5887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_Eof",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5890 {
5891 PyThreadState* __tstate = wxPyBeginAllowThreads();
5892 result = (bool)(arg1)->Eof();
5893
5894 wxPyEndAllowThreads(__tstate);
5895 if (PyErr_Occurred()) SWIG_fail;
5896 }
4e760a36 5897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5898 return resultobj;
5899 fail:
5900 return NULL;
5901}
5902
5903
5904static PyObject *_wrap_InputStream_Ungetch(PyObject *self, PyObject *args, PyObject *kwargs) {
5905 PyObject *resultobj;
5906 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5907 char arg2 ;
5908 bool result;
5909 PyObject * obj0 = 0 ;
8edf1c75 5910 PyObject * obj1 = 0 ;
d14a1e28
RD
5911 char *kwnames[] = {
5912 (char *) "self",(char *) "c", NULL
5913 };
5914
8edf1c75 5915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InputStream_Ungetch",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
5916 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5917 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5918 arg2 = (char) SWIG_AsChar(obj1);
5919 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (bool)(arg1)->Ungetch(arg2);
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
4e760a36 5927 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5928 return resultobj;
5929 fail:
5930 return NULL;
5931}
5932
5933
5934static PyObject *_wrap_InputStream_SeekI(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5937 long arg2 ;
5938 int arg3 = (int) wxFromStart ;
5939 long result;
5940 PyObject * obj0 = 0 ;
8edf1c75
RD
5941 PyObject * obj1 = 0 ;
5942 PyObject * obj2 = 0 ;
d14a1e28
RD
5943 char *kwnames[] = {
5944 (char *) "self",(char *) "pos",(char *) "mode", NULL
5945 };
5946
8edf1c75 5947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:InputStream_SeekI",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
5948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
5950 arg2 = (long) SWIG_AsLong(obj1);
5951 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5952 if (obj2) {
2f4c0a16
RD
5953 arg3 = (wxSeekMode) SWIG_AsInt(obj2);
5954 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 5955 }
d14a1e28
RD
5956 {
5957 PyThreadState* __tstate = wxPyBeginAllowThreads();
5958 result = (long)(arg1)->SeekI(arg2,(wxSeekMode )arg3);
5959
5960 wxPyEndAllowThreads(__tstate);
5961 if (PyErr_Occurred()) SWIG_fail;
5962 }
2f4c0a16 5963 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5964 return resultobj;
5965 fail:
5966 return NULL;
5967}
5968
5969
5970static PyObject *_wrap_InputStream_TellI(PyObject *self, PyObject *args, PyObject *kwargs) {
5971 PyObject *resultobj;
5972 wxPyInputStream *arg1 = (wxPyInputStream *) 0 ;
5973 long result;
5974 PyObject * obj0 = 0 ;
5975 char *kwnames[] = {
5976 (char *) "self", NULL
5977 };
5978
5979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:InputStream_TellI",kwnames,&obj0)) goto fail;
2f4c0a16
RD
5980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyInputStream,
5981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
5982 {
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 result = (long)(arg1)->TellI();
5985
5986 wxPyEndAllowThreads(__tstate);
5987 if (PyErr_Occurred()) SWIG_fail;
5988 }
2f4c0a16 5989 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
5990 return resultobj;
5991 fail:
5992 return NULL;
5993}
5994
5995
5996static PyObject * InputStream_swigregister(PyObject *self, PyObject *args) {
5997 PyObject *obj;
5998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5999 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream, obj);
6000 Py_INCREF(obj);
6001 return Py_BuildValue((char *)"");
6002}
6003static PyObject *_wrap_OutputStream_write(PyObject *self, PyObject *args, PyObject *kwargs) {
6004 PyObject *resultobj;
6005 wxOutputStream *arg1 = (wxOutputStream *) 0 ;
6006 PyObject *arg2 = (PyObject *) 0 ;
6007 PyObject * obj0 = 0 ;
6008 PyObject * obj1 = 0 ;
6009 char *kwnames[] = {
6010 (char *) "self",(char *) "obj", NULL
6011 };
6012
6013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:OutputStream_write",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6014 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxOutputStream,
6015 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6016 arg2 = obj1;
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 wxOutputStream_write(arg1,arg2);
6020
6021 wxPyEndAllowThreads(__tstate);
6022 if (PyErr_Occurred()) SWIG_fail;
6023 }
6024 Py_INCREF(Py_None); resultobj = Py_None;
6025 return resultobj;
6026 fail:
6027 return NULL;
6028}
6029
6030
6031static PyObject * OutputStream_swigregister(PyObject *self, PyObject *args) {
6032 PyObject *obj;
6033 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6034 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream, obj);
6035 Py_INCREF(obj);
6036 return Py_BuildValue((char *)"");
6037}
6038static PyObject *_wrap_new_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6039 PyObject *resultobj;
6040 wxInputStream *arg1 = (wxInputStream *) 0 ;
6041 wxString *arg2 = 0 ;
6042 wxString *arg3 = 0 ;
6043 wxString *arg4 = 0 ;
6044 wxDateTime arg5 ;
6045 wxFSFile *result;
6046 wxPyInputStream *temp1 ;
6047 bool created1 ;
423f194a
RD
6048 bool temp2 = False ;
6049 bool temp3 = False ;
6050 bool temp4 = False ;
d14a1e28
RD
6051 wxDateTime *argp5 ;
6052 PyObject * obj0 = 0 ;
6053 PyObject * obj1 = 0 ;
6054 PyObject * obj2 = 0 ;
6055 PyObject * obj3 = 0 ;
6056 PyObject * obj4 = 0 ;
6057 char *kwnames[] = {
6058 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6059 };
6060
6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_FSFile",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
6062 {
6063 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
6064 arg1 = temp1->m_wxis;
423f194a 6065 created1 = False;
d14a1e28
RD
6066 } else {
6067 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 6068 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
6069 if (arg1 == NULL) {
6070 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
6071 SWIG_fail;
6072 }
423f194a 6073 created1 = True;
d14a1e28
RD
6074 }
6075 }
6076 {
6077 arg2 = wxString_in_helper(obj1);
6078 if (arg2 == NULL) SWIG_fail;
423f194a 6079 temp2 = True;
d14a1e28
RD
6080 }
6081 {
6082 arg3 = wxString_in_helper(obj2);
6083 if (arg3 == NULL) SWIG_fail;
423f194a 6084 temp3 = True;
d14a1e28
RD
6085 }
6086 {
6087 arg4 = wxString_in_helper(obj3);
6088 if (arg4 == NULL) SWIG_fail;
423f194a 6089 temp4 = True;
d14a1e28 6090 }
2f4c0a16
RD
6091 if ((SWIG_ConvertPtr(obj4,(void **)(&argp5),SWIGTYPE_p_wxDateTime,
6092 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
6093 arg5 = *argp5;
d14a1e28
RD
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 result = (wxFSFile *)new wxFSFile(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5);
6097
6098 wxPyEndAllowThreads(__tstate);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 }
6101 {
6102 resultobj = wxPyMake_wxObject(result);
6103 }
6104 {
6105 if (created1)
6106 delete arg1;
6107 }
6108 {
6109 if (temp2)
6110 delete arg2;
6111 }
6112 {
6113 if (temp3)
6114 delete arg3;
6115 }
6116 {
6117 if (temp4)
6118 delete arg4;
6119 }
6120 return resultobj;
6121 fail:
6122 {
6123 if (created1)
6124 delete arg1;
6125 }
6126 {
6127 if (temp2)
6128 delete arg2;
6129 }
6130 {
6131 if (temp3)
6132 delete arg3;
6133 }
6134 {
6135 if (temp4)
6136 delete arg4;
6137 }
6138 return NULL;
6139}
6140
6141
6142static PyObject *_wrap_delete_FSFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6143 PyObject *resultobj;
6144 wxFSFile *arg1 = (wxFSFile *) 0 ;
6145 PyObject * obj0 = 0 ;
6146 char *kwnames[] = {
6147 (char *) "self", NULL
6148 };
6149
6150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FSFile",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6153 {
6154 PyThreadState* __tstate = wxPyBeginAllowThreads();
6155 delete arg1;
6156
6157 wxPyEndAllowThreads(__tstate);
6158 if (PyErr_Occurred()) SWIG_fail;
6159 }
6160 Py_INCREF(Py_None); resultobj = Py_None;
6161 return resultobj;
6162 fail:
6163 return NULL;
6164}
6165
6166
6167static PyObject *_wrap_FSFile_GetStream(PyObject *self, PyObject *args, PyObject *kwargs) {
6168 PyObject *resultobj;
6169 wxFSFile *arg1 = (wxFSFile *) 0 ;
6170 wxInputStream *result;
6171 PyObject * obj0 = 0 ;
6172 char *kwnames[] = {
6173 (char *) "self", NULL
6174 };
6175
6176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetStream",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 result = (wxInputStream *)(arg1)->GetStream();
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 {
6187 wxPyInputStream * _ptr = NULL;
6188
6189 if (result) {
6190 _ptr = new wxPyInputStream(result);
6191 }
423f194a 6192 resultobj = wxPyConstructObject(_ptr, wxT("wxPyInputStream"), True);
d14a1e28
RD
6193 }
6194 return resultobj;
6195 fail:
6196 return NULL;
6197}
6198
6199
6200static PyObject *_wrap_FSFile_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
6201 PyObject *resultobj;
6202 wxFSFile *arg1 = (wxFSFile *) 0 ;
6203 wxString *result;
6204 PyObject * obj0 = 0 ;
6205 char *kwnames[] = {
6206 (char *) "self", NULL
6207 };
6208
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetMimeType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6212 {
6213 PyThreadState* __tstate = wxPyBeginAllowThreads();
6214 {
6215 wxString const &_result_ref = (arg1)->GetMimeType();
6216 result = (wxString *) &_result_ref;
6217 }
6218
6219 wxPyEndAllowThreads(__tstate);
6220 if (PyErr_Occurred()) SWIG_fail;
6221 }
f0983263
RD
6222 {
6223#if wxUSE_UNICODE
6224 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6225#else
6226 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6227#endif
6228 }
d14a1e28
RD
6229 return resultobj;
6230 fail:
6231 return NULL;
6232}
6233
6234
6235static PyObject *_wrap_FSFile_GetLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6236 PyObject *resultobj;
6237 wxFSFile *arg1 = (wxFSFile *) 0 ;
6238 wxString *result;
6239 PyObject * obj0 = 0 ;
6240 char *kwnames[] = {
6241 (char *) "self", NULL
6242 };
6243
6244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetLocation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 {
6250 wxString const &_result_ref = (arg1)->GetLocation();
6251 result = (wxString *) &_result_ref;
6252 }
6253
6254 wxPyEndAllowThreads(__tstate);
6255 if (PyErr_Occurred()) SWIG_fail;
6256 }
f0983263
RD
6257 {
6258#if wxUSE_UNICODE
6259 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6260#else
6261 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6262#endif
6263 }
d14a1e28
RD
6264 return resultobj;
6265 fail:
6266 return NULL;
6267}
6268
6269
6270static PyObject *_wrap_FSFile_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6271 PyObject *resultobj;
6272 wxFSFile *arg1 = (wxFSFile *) 0 ;
6273 wxString *result;
6274 PyObject * obj0 = 0 ;
6275 char *kwnames[] = {
6276 (char *) "self", NULL
6277 };
6278
6279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetAnchor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6280 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6281 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6282 {
6283 PyThreadState* __tstate = wxPyBeginAllowThreads();
6284 {
6285 wxString const &_result_ref = (arg1)->GetAnchor();
6286 result = (wxString *) &_result_ref;
6287 }
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
f0983263
RD
6292 {
6293#if wxUSE_UNICODE
6294 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
6295#else
6296 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
6297#endif
6298 }
d14a1e28
RD
6299 return resultobj;
6300 fail:
6301 return NULL;
6302}
6303
6304
6305static PyObject *_wrap_FSFile_GetModificationTime(PyObject *self, PyObject *args, PyObject *kwargs) {
6306 PyObject *resultobj;
6307 wxFSFile *arg1 = (wxFSFile *) 0 ;
6308 wxDateTime result;
6309 PyObject * obj0 = 0 ;
6310 char *kwnames[] = {
6311 (char *) "self", NULL
6312 };
6313
6314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FSFile_GetModificationTime",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6315 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFSFile,
6316 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6317 {
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 result = (arg1)->GetModificationTime();
6320
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) SWIG_fail;
6323 }
6324 {
6325 wxDateTime * resultptr;
6326 resultptr = new wxDateTime((wxDateTime &) result);
2f4c0a16 6327 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxDateTime, 1);
d14a1e28
RD
6328 }
6329 return resultobj;
6330 fail:
6331 return NULL;
6332}
6333
6334
6335static PyObject * FSFile_swigregister(PyObject *self, PyObject *args) {
6336 PyObject *obj;
6337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6338 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile, obj);
6339 Py_INCREF(obj);
6340 return Py_BuildValue((char *)"");
6341}
6342static PyObject * CPPFileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6343 PyObject *obj;
6344 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6345 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler, obj);
6346 Py_INCREF(obj);
6347 return Py_BuildValue((char *)"");
6348}
6349static PyObject *_wrap_new_FileSystemHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject *resultobj;
6351 wxPyFileSystemHandler *result;
6352 char *kwnames[] = {
6353 NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystemHandler",kwnames)) goto fail;
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (wxPyFileSystemHandler *)new wxPyFileSystemHandler();
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
2f4c0a16 6364 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyFileSystemHandler, 1);
d14a1e28
RD
6365 return resultobj;
6366 fail:
6367 return NULL;
6368}
6369
6370
6371static PyObject *_wrap_FileSystemHandler__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
6372 PyObject *resultobj;
6373 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6374 PyObject *arg2 = (PyObject *) 0 ;
6375 PyObject *arg3 = (PyObject *) 0 ;
6376 PyObject * obj0 = 0 ;
6377 PyObject * obj1 = 0 ;
6378 PyObject * obj2 = 0 ;
6379 char *kwnames[] = {
6380 (char *) "self",(char *) "self",(char *) "_class", NULL
6381 };
6382
6383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6384 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6386 arg2 = obj1;
6387 arg3 = obj2;
6388 {
6389 PyThreadState* __tstate = wxPyBeginAllowThreads();
6390 (arg1)->_setCallbackInfo(arg2,arg3);
6391
6392 wxPyEndAllowThreads(__tstate);
6393 if (PyErr_Occurred()) SWIG_fail;
6394 }
6395 Py_INCREF(Py_None); resultobj = Py_None;
6396 return resultobj;
6397 fail:
6398 return NULL;
6399}
6400
6401
6402static PyObject *_wrap_FileSystemHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
6403 PyObject *resultobj;
6404 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6405 wxString *arg2 = 0 ;
6406 bool result;
423f194a 6407 bool temp2 = False ;
d14a1e28
RD
6408 PyObject * obj0 = 0 ;
6409 PyObject * obj1 = 0 ;
6410 char *kwnames[] = {
6411 (char *) "self",(char *) "location", NULL
6412 };
6413
6414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6417 {
6418 arg2 = wxString_in_helper(obj1);
6419 if (arg2 == NULL) SWIG_fail;
423f194a 6420 temp2 = True;
d14a1e28
RD
6421 }
6422 {
6423 PyThreadState* __tstate = wxPyBeginAllowThreads();
6424 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
6425
6426 wxPyEndAllowThreads(__tstate);
6427 if (PyErr_Occurred()) SWIG_fail;
6428 }
4e760a36 6429 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6430 {
6431 if (temp2)
6432 delete arg2;
6433 }
6434 return resultobj;
6435 fail:
6436 {
6437 if (temp2)
6438 delete arg2;
6439 }
6440 return NULL;
6441}
6442
6443
6444static PyObject *_wrap_FileSystemHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6445 PyObject *resultobj;
6446 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6447 wxFileSystem *arg2 = 0 ;
6448 wxString *arg3 = 0 ;
6449 wxFSFile *result;
423f194a 6450 bool temp3 = False ;
d14a1e28
RD
6451 PyObject * obj0 = 0 ;
6452 PyObject * obj1 = 0 ;
6453 PyObject * obj2 = 0 ;
6454 char *kwnames[] = {
6455 (char *) "self",(char *) "fs",(char *) "location", NULL
6456 };
6457
6458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FileSystemHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
6461 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
6462 SWIG_POINTER_EXCEPTION | 0)) == -1)
6463 SWIG_fail;
d14a1e28 6464 if (arg2 == NULL) {
2f4c0a16
RD
6465 PyErr_SetString(PyExc_TypeError,"null reference");
6466 SWIG_fail;
d14a1e28
RD
6467 }
6468 {
6469 arg3 = wxString_in_helper(obj2);
6470 if (arg3 == NULL) SWIG_fail;
423f194a 6471 temp3 = True;
d14a1e28
RD
6472 }
6473 {
6474 PyThreadState* __tstate = wxPyBeginAllowThreads();
6475 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
6476
6477 wxPyEndAllowThreads(__tstate);
6478 if (PyErr_Occurred()) SWIG_fail;
6479 }
6480 {
6481 resultobj = wxPyMake_wxObject(result);
6482 }
6483 {
6484 if (temp3)
6485 delete arg3;
6486 }
6487 return resultobj;
6488 fail:
6489 {
6490 if (temp3)
6491 delete arg3;
6492 }
6493 return NULL;
6494}
6495
6496
6497static PyObject *_wrap_FileSystemHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
6498 PyObject *resultobj;
6499 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6500 wxString *arg2 = 0 ;
6501 int arg3 = (int) 0 ;
6502 wxString result;
423f194a 6503 bool temp2 = False ;
d14a1e28
RD
6504 PyObject * obj0 = 0 ;
6505 PyObject * obj1 = 0 ;
8edf1c75 6506 PyObject * obj2 = 0 ;
d14a1e28
RD
6507 char *kwnames[] = {
6508 (char *) "self",(char *) "spec",(char *) "flags", NULL
6509 };
6510
8edf1c75 6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6514 {
6515 arg2 = wxString_in_helper(obj1);
6516 if (arg2 == NULL) SWIG_fail;
423f194a 6517 temp2 = True;
d14a1e28 6518 }
8edf1c75 6519 if (obj2) {
2f4c0a16
RD
6520 arg3 = (int) SWIG_AsInt(obj2);
6521 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 6522 }
d14a1e28
RD
6523 {
6524 PyThreadState* __tstate = wxPyBeginAllowThreads();
6525 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
6526
6527 wxPyEndAllowThreads(__tstate);
6528 if (PyErr_Occurred()) SWIG_fail;
6529 }
6530 {
6531#if wxUSE_UNICODE
6532 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6533#else
6534 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6535#endif
6536 }
6537 {
6538 if (temp2)
6539 delete arg2;
6540 }
6541 return resultobj;
6542 fail:
6543 {
6544 if (temp2)
6545 delete arg2;
6546 }
6547 return NULL;
6548}
6549
6550
6551static PyObject *_wrap_FileSystemHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
6552 PyObject *resultobj;
6553 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6554 wxString result;
6555 PyObject * obj0 = 0 ;
6556 char *kwnames[] = {
6557 (char *) "self", NULL
6558 };
6559
6560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystemHandler_FindNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6563 {
6564 PyThreadState* __tstate = wxPyBeginAllowThreads();
6565 result = (arg1)->FindNext();
6566
6567 wxPyEndAllowThreads(__tstate);
6568 if (PyErr_Occurred()) SWIG_fail;
6569 }
6570 {
6571#if wxUSE_UNICODE
6572 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6573#else
6574 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6575#endif
6576 }
6577 return resultobj;
6578 fail:
6579 return NULL;
6580}
6581
6582
6583static PyObject *_wrap_FileSystemHandler_GetProtocol(PyObject *self, PyObject *args, PyObject *kwargs) {
6584 PyObject *resultobj;
6585 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6586 wxString *arg2 = 0 ;
6587 wxString result;
423f194a 6588 bool temp2 = False ;
d14a1e28
RD
6589 PyObject * obj0 = 0 ;
6590 PyObject * obj1 = 0 ;
6591 char *kwnames[] = {
6592 (char *) "self",(char *) "location", NULL
6593 };
6594
6595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetProtocol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6598 {
6599 arg2 = wxString_in_helper(obj1);
6600 if (arg2 == NULL) SWIG_fail;
423f194a 6601 temp2 = True;
d14a1e28
RD
6602 }
6603 {
6604 PyThreadState* __tstate = wxPyBeginAllowThreads();
6605 result = (arg1)->GetProtocol((wxString const &)*arg2);
6606
6607 wxPyEndAllowThreads(__tstate);
6608 if (PyErr_Occurred()) SWIG_fail;
6609 }
6610 {
6611#if wxUSE_UNICODE
6612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6613#else
6614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6615#endif
6616 }
6617 {
6618 if (temp2)
6619 delete arg2;
6620 }
6621 return resultobj;
6622 fail:
6623 {
6624 if (temp2)
6625 delete arg2;
6626 }
6627 return NULL;
6628}
6629
6630
6631static PyObject *_wrap_FileSystemHandler_GetLeftLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6632 PyObject *resultobj;
6633 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6634 wxString *arg2 = 0 ;
6635 wxString result;
423f194a 6636 bool temp2 = False ;
d14a1e28
RD
6637 PyObject * obj0 = 0 ;
6638 PyObject * obj1 = 0 ;
6639 char *kwnames[] = {
6640 (char *) "self",(char *) "location", NULL
6641 };
6642
6643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6646 {
6647 arg2 = wxString_in_helper(obj1);
6648 if (arg2 == NULL) SWIG_fail;
423f194a 6649 temp2 = True;
d14a1e28
RD
6650 }
6651 {
6652 PyThreadState* __tstate = wxPyBeginAllowThreads();
6653 result = (arg1)->GetLeftLocation((wxString const &)*arg2);
6654
6655 wxPyEndAllowThreads(__tstate);
6656 if (PyErr_Occurred()) SWIG_fail;
6657 }
6658 {
6659#if wxUSE_UNICODE
6660 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6661#else
6662 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6663#endif
6664 }
6665 {
6666 if (temp2)
6667 delete arg2;
6668 }
6669 return resultobj;
6670 fail:
6671 {
6672 if (temp2)
6673 delete arg2;
6674 }
6675 return NULL;
6676}
6677
6678
6679static PyObject *_wrap_FileSystemHandler_GetAnchor(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6682 wxString *arg2 = 0 ;
6683 wxString result;
423f194a 6684 bool temp2 = False ;
d14a1e28
RD
6685 PyObject * obj0 = 0 ;
6686 PyObject * obj1 = 0 ;
6687 char *kwnames[] = {
6688 (char *) "self",(char *) "location", NULL
6689 };
6690
6691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetAnchor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6694 {
6695 arg2 = wxString_in_helper(obj1);
6696 if (arg2 == NULL) SWIG_fail;
423f194a 6697 temp2 = True;
d14a1e28
RD
6698 }
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 result = (arg1)->GetAnchor((wxString const &)*arg2);
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 {
6707#if wxUSE_UNICODE
6708 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6709#else
6710 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6711#endif
6712 }
6713 {
6714 if (temp2)
6715 delete arg2;
6716 }
6717 return resultobj;
6718 fail:
6719 {
6720 if (temp2)
6721 delete arg2;
6722 }
6723 return NULL;
6724}
6725
6726
6727static PyObject *_wrap_FileSystemHandler_GetRightLocation(PyObject *self, PyObject *args, PyObject *kwargs) {
6728 PyObject *resultobj;
6729 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6730 wxString *arg2 = 0 ;
6731 wxString result;
423f194a 6732 bool temp2 = False ;
d14a1e28
RD
6733 PyObject * obj0 = 0 ;
6734 PyObject * obj1 = 0 ;
6735 char *kwnames[] = {
6736 (char *) "self",(char *) "location", NULL
6737 };
6738
6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6742 {
6743 arg2 = wxString_in_helper(obj1);
6744 if (arg2 == NULL) SWIG_fail;
423f194a 6745 temp2 = True;
d14a1e28
RD
6746 }
6747 {
6748 PyThreadState* __tstate = wxPyBeginAllowThreads();
6749 result = (arg1)->GetRightLocation((wxString const &)*arg2);
6750
6751 wxPyEndAllowThreads(__tstate);
6752 if (PyErr_Occurred()) SWIG_fail;
6753 }
6754 {
6755#if wxUSE_UNICODE
6756 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6757#else
6758 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6759#endif
6760 }
6761 {
6762 if (temp2)
6763 delete arg2;
6764 }
6765 return resultobj;
6766 fail:
6767 {
6768 if (temp2)
6769 delete arg2;
6770 }
6771 return NULL;
6772}
6773
6774
6775static PyObject *_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject *self, PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj;
6777 wxPyFileSystemHandler *arg1 = (wxPyFileSystemHandler *) 0 ;
6778 wxString *arg2 = 0 ;
6779 wxString result;
423f194a 6780 bool temp2 = False ;
d14a1e28
RD
6781 PyObject * obj0 = 0 ;
6782 PyObject * obj1 = 0 ;
6783 char *kwnames[] = {
6784 (char *) "self",(char *) "location", NULL
6785 };
6786
6787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6788 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyFileSystemHandler,
6789 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6790 {
6791 arg2 = wxString_in_helper(obj1);
6792 if (arg2 == NULL) SWIG_fail;
423f194a 6793 temp2 = True;
d14a1e28
RD
6794 }
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 result = (arg1)->GetMimeTypeFromExt((wxString const &)*arg2);
6798
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 {
6803#if wxUSE_UNICODE
6804 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6805#else
6806 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6807#endif
6808 }
6809 {
6810 if (temp2)
6811 delete arg2;
6812 }
6813 return resultobj;
6814 fail:
6815 {
6816 if (temp2)
6817 delete arg2;
6818 }
6819 return NULL;
6820}
6821
6822
6823static PyObject * FileSystemHandler_swigregister(PyObject *self, PyObject *args) {
6824 PyObject *obj;
6825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6826 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler, obj);
6827 Py_INCREF(obj);
6828 return Py_BuildValue((char *)"");
6829}
6830static PyObject *_wrap_new_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6831 PyObject *resultobj;
6832 wxFileSystem *result;
6833 char *kwnames[] = {
6834 NULL
6835 };
6836
6837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FileSystem",kwnames)) goto fail;
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 result = (wxFileSystem *)new wxFileSystem();
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 {
6846 resultobj = wxPyMake_wxObject(result);
6847 }
6848 return resultobj;
6849 fail:
6850 return NULL;
6851}
6852
6853
6854static PyObject *_wrap_delete_FileSystem(PyObject *self, PyObject *args, PyObject *kwargs) {
6855 PyObject *resultobj;
6856 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6857 PyObject * obj0 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FileSystem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6863 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6864 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6865 {
6866 PyThreadState* __tstate = wxPyBeginAllowThreads();
6867 delete arg1;
6868
6869 wxPyEndAllowThreads(__tstate);
6870 if (PyErr_Occurred()) SWIG_fail;
6871 }
6872 Py_INCREF(Py_None); resultobj = Py_None;
6873 return resultobj;
6874 fail:
6875 return NULL;
6876}
6877
6878
6879static PyObject *_wrap_FileSystem_ChangePathTo(PyObject *self, PyObject *args, PyObject *kwargs) {
6880 PyObject *resultobj;
6881 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6882 wxString *arg2 = 0 ;
423f194a
RD
6883 bool arg3 = (bool) False ;
6884 bool temp2 = False ;
d14a1e28
RD
6885 PyObject * obj0 = 0 ;
6886 PyObject * obj1 = 0 ;
6887 PyObject * obj2 = 0 ;
6888 char *kwnames[] = {
6889 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6890 };
6891
6892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_ChangePathTo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
6893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6895 {
6896 arg2 = wxString_in_helper(obj1);
6897 if (arg2 == NULL) SWIG_fail;
423f194a 6898 temp2 = True;
d14a1e28
RD
6899 }
6900 if (obj2) {
2f4c0a16
RD
6901 arg3 = (bool) SWIG_AsBool(obj2);
6902 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
6903 }
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 (arg1)->ChangePathTo((wxString const &)*arg2,arg3);
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 Py_INCREF(Py_None); resultobj = Py_None;
6912 {
6913 if (temp2)
6914 delete arg2;
6915 }
6916 return resultobj;
6917 fail:
6918 {
6919 if (temp2)
6920 delete arg2;
6921 }
6922 return NULL;
6923}
6924
6925
6926static PyObject *_wrap_FileSystem_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6929 wxString result;
6930 PyObject * obj0 = 0 ;
6931 char *kwnames[] = {
6932 (char *) "self", NULL
6933 };
6934
6935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_GetPath",kwnames,&obj0)) goto fail;
2f4c0a16
RD
6936 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6937 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6938 {
6939 PyThreadState* __tstate = wxPyBeginAllowThreads();
6940 result = (arg1)->GetPath();
6941
6942 wxPyEndAllowThreads(__tstate);
6943 if (PyErr_Occurred()) SWIG_fail;
6944 }
6945 {
6946#if wxUSE_UNICODE
6947 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6948#else
6949 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6950#endif
6951 }
6952 return resultobj;
6953 fail:
6954 return NULL;
6955}
6956
6957
6958static PyObject *_wrap_FileSystem_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6959 PyObject *resultobj;
6960 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
6961 wxString *arg2 = 0 ;
6962 wxFSFile *result;
423f194a 6963 bool temp2 = False ;
d14a1e28
RD
6964 PyObject * obj0 = 0 ;
6965 PyObject * obj1 = 0 ;
6966 char *kwnames[] = {
6967 (char *) "self",(char *) "location", NULL
6968 };
6969
6970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileSystem_OpenFile",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
6971 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
6972 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
6973 {
6974 arg2 = wxString_in_helper(obj1);
6975 if (arg2 == NULL) SWIG_fail;
423f194a 6976 temp2 = True;
d14a1e28
RD
6977 }
6978 {
6979 PyThreadState* __tstate = wxPyBeginAllowThreads();
6980 result = (wxFSFile *)(arg1)->OpenFile((wxString const &)*arg2);
6981
6982 wxPyEndAllowThreads(__tstate);
6983 if (PyErr_Occurred()) SWIG_fail;
6984 }
6985 {
6986 resultobj = wxPyMake_wxObject(result);
6987 }
6988 {
6989 if (temp2)
6990 delete arg2;
6991 }
6992 return resultobj;
6993 fail:
6994 {
6995 if (temp2)
6996 delete arg2;
6997 }
6998 return NULL;
6999}
7000
7001
7002static PyObject *_wrap_FileSystem_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7003 PyObject *resultobj;
7004 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7005 wxString *arg2 = 0 ;
7006 int arg3 = (int) 0 ;
7007 wxString result;
423f194a 7008 bool temp2 = False ;
d14a1e28
RD
7009 PyObject * obj0 = 0 ;
7010 PyObject * obj1 = 0 ;
8edf1c75 7011 PyObject * obj2 = 0 ;
d14a1e28
RD
7012 char *kwnames[] = {
7013 (char *) "self",(char *) "spec",(char *) "flags", NULL
7014 };
7015
8edf1c75 7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FileSystem_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7017 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7018 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7019 {
7020 arg2 = wxString_in_helper(obj1);
7021 if (arg2 == NULL) SWIG_fail;
423f194a 7022 temp2 = True;
d14a1e28 7023 }
8edf1c75 7024 if (obj2) {
2f4c0a16
RD
7025 arg3 = (int) SWIG_AsInt(obj2);
7026 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7027 }
d14a1e28
RD
7028 {
7029 PyThreadState* __tstate = wxPyBeginAllowThreads();
7030 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7031
7032 wxPyEndAllowThreads(__tstate);
7033 if (PyErr_Occurred()) SWIG_fail;
7034 }
7035 {
7036#if wxUSE_UNICODE
7037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7038#else
7039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7040#endif
7041 }
7042 {
7043 if (temp2)
7044 delete arg2;
7045 }
7046 return resultobj;
7047 fail:
7048 {
7049 if (temp2)
7050 delete arg2;
7051 }
7052 return NULL;
7053}
7054
7055
7056static PyObject *_wrap_FileSystem_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7057 PyObject *resultobj;
7058 wxFileSystem *arg1 = (wxFileSystem *) 0 ;
7059 wxString result;
7060 PyObject * obj0 = 0 ;
7061 char *kwnames[] = {
7062 (char *) "self", NULL
7063 };
7064
7065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FindNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystem,
7067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7068 {
7069 PyThreadState* __tstate = wxPyBeginAllowThreads();
7070 result = (arg1)->FindNext();
7071
7072 wxPyEndAllowThreads(__tstate);
7073 if (PyErr_Occurred()) SWIG_fail;
7074 }
7075 {
7076#if wxUSE_UNICODE
7077 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7078#else
7079 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7080#endif
7081 }
7082 return resultobj;
7083 fail:
7084 return NULL;
7085}
7086
7087
7088static PyObject *_wrap_FileSystem_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7089 PyObject *resultobj;
7090 wxFileSystemHandler *arg1 = (wxFileSystemHandler *) 0 ;
7091 PyObject * obj0 = 0 ;
7092 char *kwnames[] = {
7093 (char *) "handler", NULL
7094 };
7095
7096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_AddHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7097 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFileSystemHandler,
7098 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7099 {
7100 PyThreadState* __tstate = wxPyBeginAllowThreads();
7101 wxFileSystem::AddHandler(arg1);
7102
7103 wxPyEndAllowThreads(__tstate);
7104 if (PyErr_Occurred()) SWIG_fail;
7105 }
7106 Py_INCREF(Py_None); resultobj = Py_None;
7107 return resultobj;
7108 fail:
7109 return NULL;
7110}
7111
7112
7113static PyObject *_wrap_FileSystem_CleanUpHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
7114 PyObject *resultobj;
7115 char *kwnames[] = {
7116 NULL
7117 };
7118
7119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":FileSystem_CleanUpHandlers",kwnames)) goto fail;
7120 {
7121 PyThreadState* __tstate = wxPyBeginAllowThreads();
7122 wxFileSystem::CleanUpHandlers();
7123
7124 wxPyEndAllowThreads(__tstate);
7125 if (PyErr_Occurred()) SWIG_fail;
7126 }
7127 Py_INCREF(Py_None); resultobj = Py_None;
7128 return resultobj;
7129 fail:
7130 return NULL;
7131}
7132
7133
7134static PyObject *_wrap_FileSystem_FileNameToURL(PyObject *self, PyObject *args, PyObject *kwargs) {
7135 PyObject *resultobj;
7136 wxString *arg1 = 0 ;
7137 wxString result;
423f194a 7138 bool temp1 = False ;
d14a1e28
RD
7139 PyObject * obj0 = 0 ;
7140 char *kwnames[] = {
7141 (char *) "filename", NULL
7142 };
7143
7144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_FileNameToURL",kwnames,&obj0)) goto fail;
7145 {
7146 arg1 = wxString_in_helper(obj0);
7147 if (arg1 == NULL) SWIG_fail;
423f194a 7148 temp1 = True;
d14a1e28
RD
7149 }
7150 {
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 result = wxFileSystem::FileNameToURL((wxString const &)*arg1);
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 {
7158#if wxUSE_UNICODE
7159 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7160#else
7161 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7162#endif
7163 }
7164 {
7165 if (temp1)
7166 delete arg1;
7167 }
7168 return resultobj;
7169 fail:
7170 {
7171 if (temp1)
7172 delete arg1;
7173 }
7174 return NULL;
7175}
7176
7177
7178static PyObject * FileSystem_swigregister(PyObject *self, PyObject *args) {
7179 PyObject *obj;
7180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7181 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem, obj);
7182 Py_INCREF(obj);
7183 return Py_BuildValue((char *)"");
7184}
7185static PyObject *_wrap_FileSystem_URLToFileName(PyObject *self, PyObject *args, PyObject *kwargs) {
7186 PyObject *resultobj;
7187 wxString *arg1 = 0 ;
7188 wxString result;
423f194a 7189 bool temp1 = False ;
d14a1e28
RD
7190 PyObject * obj0 = 0 ;
7191 char *kwnames[] = {
7192 (char *) "url", NULL
7193 };
7194
7195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileSystem_URLToFileName",kwnames,&obj0)) goto fail;
7196 {
7197 arg1 = wxString_in_helper(obj0);
7198 if (arg1 == NULL) SWIG_fail;
423f194a 7199 temp1 = True;
d14a1e28
RD
7200 }
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = wxFileSystem_URLToFileName((wxString const &)*arg1);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 {
7209#if wxUSE_UNICODE
7210 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7211#else
7212 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7213#endif
7214 }
7215 {
7216 if (temp1)
7217 delete arg1;
7218 }
7219 return resultobj;
7220 fail:
7221 {
7222 if (temp1)
7223 delete arg1;
7224 }
7225 return NULL;
7226}
7227
7228
7229static PyObject *_wrap_new_InternetFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7230 PyObject *resultobj;
7231 wxInternetFSHandler *result;
7232 char *kwnames[] = {
7233 NULL
7234 };
7235
7236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_InternetFSHandler",kwnames)) goto fail;
7237 {
7238 PyThreadState* __tstate = wxPyBeginAllowThreads();
7239 result = (wxInternetFSHandler *)new wxInternetFSHandler();
7240
7241 wxPyEndAllowThreads(__tstate);
7242 if (PyErr_Occurred()) SWIG_fail;
7243 }
2f4c0a16 7244 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInternetFSHandler, 1);
d14a1e28
RD
7245 return resultobj;
7246 fail:
7247 return NULL;
7248}
7249
7250
7251static PyObject *_wrap_InternetFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7252 PyObject *resultobj;
7253 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7254 wxString *arg2 = 0 ;
7255 bool result;
423f194a 7256 bool temp2 = False ;
d14a1e28
RD
7257 PyObject * obj0 = 0 ;
7258 PyObject * obj1 = 0 ;
7259 char *kwnames[] = {
7260 (char *) "self",(char *) "location", NULL
7261 };
7262
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:InternetFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7266 {
7267 arg2 = wxString_in_helper(obj1);
7268 if (arg2 == NULL) SWIG_fail;
423f194a 7269 temp2 = True;
d14a1e28
RD
7270 }
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
4e760a36 7278 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7279 {
7280 if (temp2)
7281 delete arg2;
7282 }
7283 return resultobj;
7284 fail:
7285 {
7286 if (temp2)
7287 delete arg2;
7288 }
7289 return NULL;
7290}
7291
7292
7293static PyObject *_wrap_InternetFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7294 PyObject *resultobj;
7295 wxInternetFSHandler *arg1 = (wxInternetFSHandler *) 0 ;
7296 wxFileSystem *arg2 = 0 ;
7297 wxString *arg3 = 0 ;
7298 wxFSFile *result;
423f194a 7299 bool temp3 = False ;
d14a1e28
RD
7300 PyObject * obj0 = 0 ;
7301 PyObject * obj1 = 0 ;
7302 PyObject * obj2 = 0 ;
7303 char *kwnames[] = {
7304 (char *) "self",(char *) "fs",(char *) "location", NULL
7305 };
7306
7307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:InternetFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7308 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxInternetFSHandler,
7309 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7310 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7311 SWIG_POINTER_EXCEPTION | 0)) == -1)
7312 SWIG_fail;
d14a1e28 7313 if (arg2 == NULL) {
2f4c0a16
RD
7314 PyErr_SetString(PyExc_TypeError,"null reference");
7315 SWIG_fail;
d14a1e28
RD
7316 }
7317 {
7318 arg3 = wxString_in_helper(obj2);
7319 if (arg3 == NULL) SWIG_fail;
423f194a 7320 temp3 = True;
d14a1e28
RD
7321 }
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7325
7326 wxPyEndAllowThreads(__tstate);
7327 if (PyErr_Occurred()) SWIG_fail;
7328 }
7329 {
7330 resultobj = wxPyMake_wxObject(result);
7331 }
7332 {
7333 if (temp3)
7334 delete arg3;
7335 }
7336 return resultobj;
7337 fail:
7338 {
7339 if (temp3)
7340 delete arg3;
7341 }
7342 return NULL;
7343}
7344
7345
7346static PyObject * InternetFSHandler_swigregister(PyObject *self, PyObject *args) {
7347 PyObject *obj;
7348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7349 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler, obj);
7350 Py_INCREF(obj);
7351 return Py_BuildValue((char *)"");
7352}
7353static PyObject *_wrap_new_ZipFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7354 PyObject *resultobj;
7355 wxZipFSHandler *result;
7356 char *kwnames[] = {
7357 NULL
7358 };
7359
7360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ZipFSHandler",kwnames)) goto fail;
7361 {
7362 PyThreadState* __tstate = wxPyBeginAllowThreads();
7363 result = (wxZipFSHandler *)new wxZipFSHandler();
7364
7365 wxPyEndAllowThreads(__tstate);
7366 if (PyErr_Occurred()) SWIG_fail;
7367 }
2f4c0a16 7368 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxZipFSHandler, 1);
d14a1e28
RD
7369 return resultobj;
7370 fail:
7371 return NULL;
7372}
7373
7374
7375static PyObject *_wrap_ZipFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7376 PyObject *resultobj;
7377 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7378 wxString *arg2 = 0 ;
7379 bool result;
423f194a 7380 bool temp2 = False ;
d14a1e28
RD
7381 PyObject * obj0 = 0 ;
7382 PyObject * obj1 = 0 ;
7383 char *kwnames[] = {
7384 (char *) "self",(char *) "location", NULL
7385 };
7386
7387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ZipFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7390 {
7391 arg2 = wxString_in_helper(obj1);
7392 if (arg2 == NULL) SWIG_fail;
423f194a 7393 temp2 = True;
d14a1e28
RD
7394 }
7395 {
7396 PyThreadState* __tstate = wxPyBeginAllowThreads();
7397 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7398
7399 wxPyEndAllowThreads(__tstate);
7400 if (PyErr_Occurred()) SWIG_fail;
7401 }
4e760a36 7402 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7403 {
7404 if (temp2)
7405 delete arg2;
7406 }
7407 return resultobj;
7408 fail:
7409 {
7410 if (temp2)
7411 delete arg2;
7412 }
7413 return NULL;
7414}
7415
7416
7417static PyObject *_wrap_ZipFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7418 PyObject *resultobj;
7419 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7420 wxFileSystem *arg2 = 0 ;
7421 wxString *arg3 = 0 ;
7422 wxFSFile *result;
423f194a 7423 bool temp3 = False ;
d14a1e28
RD
7424 PyObject * obj0 = 0 ;
7425 PyObject * obj1 = 0 ;
7426 PyObject * obj2 = 0 ;
7427 char *kwnames[] = {
7428 (char *) "self",(char *) "fs",(char *) "location", NULL
7429 };
7430
7431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ZipFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7432 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7433 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7434 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7435 SWIG_POINTER_EXCEPTION | 0)) == -1)
7436 SWIG_fail;
d14a1e28 7437 if (arg2 == NULL) {
2f4c0a16
RD
7438 PyErr_SetString(PyExc_TypeError,"null reference");
7439 SWIG_fail;
d14a1e28
RD
7440 }
7441 {
7442 arg3 = wxString_in_helper(obj2);
7443 if (arg3 == NULL) SWIG_fail;
423f194a 7444 temp3 = True;
d14a1e28
RD
7445 }
7446 {
7447 PyThreadState* __tstate = wxPyBeginAllowThreads();
7448 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7449
7450 wxPyEndAllowThreads(__tstate);
7451 if (PyErr_Occurred()) SWIG_fail;
7452 }
7453 {
7454 resultobj = wxPyMake_wxObject(result);
7455 }
7456 {
7457 if (temp3)
7458 delete arg3;
7459 }
7460 return resultobj;
7461 fail:
7462 {
7463 if (temp3)
7464 delete arg3;
7465 }
7466 return NULL;
7467}
7468
7469
7470static PyObject *_wrap_ZipFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7473 wxString *arg2 = 0 ;
7474 int arg3 = (int) 0 ;
7475 wxString result;
423f194a 7476 bool temp2 = False ;
d14a1e28
RD
7477 PyObject * obj0 = 0 ;
7478 PyObject * obj1 = 0 ;
8edf1c75 7479 PyObject * obj2 = 0 ;
d14a1e28
RD
7480 char *kwnames[] = {
7481 (char *) "self",(char *) "spec",(char *) "flags", NULL
7482 };
7483
8edf1c75 7484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7487 {
7488 arg2 = wxString_in_helper(obj1);
7489 if (arg2 == NULL) SWIG_fail;
423f194a 7490 temp2 = True;
d14a1e28 7491 }
8edf1c75 7492 if (obj2) {
2f4c0a16
RD
7493 arg3 = (int) SWIG_AsInt(obj2);
7494 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7495 }
d14a1e28
RD
7496 {
7497 PyThreadState* __tstate = wxPyBeginAllowThreads();
7498 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7499
7500 wxPyEndAllowThreads(__tstate);
7501 if (PyErr_Occurred()) SWIG_fail;
7502 }
7503 {
7504#if wxUSE_UNICODE
7505 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7506#else
7507 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7508#endif
7509 }
7510 {
7511 if (temp2)
7512 delete arg2;
7513 }
7514 return resultobj;
7515 fail:
7516 {
7517 if (temp2)
7518 delete arg2;
7519 }
7520 return NULL;
7521}
7522
7523
7524static PyObject *_wrap_ZipFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7525 PyObject *resultobj;
7526 wxZipFSHandler *arg1 = (wxZipFSHandler *) 0 ;
7527 wxString result;
7528 PyObject * obj0 = 0 ;
7529 char *kwnames[] = {
7530 (char *) "self", NULL
7531 };
7532
7533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ZipFSHandler_FindNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7534 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxZipFSHandler,
7535 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7536 {
7537 PyThreadState* __tstate = wxPyBeginAllowThreads();
7538 result = (arg1)->FindNext();
7539
7540 wxPyEndAllowThreads(__tstate);
7541 if (PyErr_Occurred()) SWIG_fail;
7542 }
7543 {
7544#if wxUSE_UNICODE
7545 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7546#else
7547 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7548#endif
7549 }
7550 return resultobj;
7551 fail:
7552 return NULL;
7553}
7554
7555
7556static PyObject * ZipFSHandler_swigregister(PyObject *self, PyObject *args) {
7557 PyObject *obj;
7558 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7559 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler, obj);
7560 Py_INCREF(obj);
7561 return Py_BuildValue((char *)"");
7562}
7563static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject *self, PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj;
7565 wxString *arg1 = 0 ;
7566 wxImage *arg2 = 0 ;
7567 long arg3 ;
423f194a 7568 bool temp1 = False ;
d14a1e28
RD
7569 PyObject * obj0 = 0 ;
7570 PyObject * obj1 = 0 ;
8edf1c75 7571 PyObject * obj2 = 0 ;
d14a1e28
RD
7572 char *kwnames[] = {
7573 (char *) "filename",(char *) "image",(char *) "type", NULL
7574 };
7575
8edf1c75 7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7577 {
7578 arg1 = wxString_in_helper(obj0);
7579 if (arg1 == NULL) SWIG_fail;
423f194a 7580 temp1 = True;
d14a1e28 7581 }
2f4c0a16
RD
7582 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
7583 SWIG_POINTER_EXCEPTION | 0)) == -1)
7584 SWIG_fail;
d14a1e28 7585 if (arg2 == NULL) {
2f4c0a16
RD
7586 PyErr_SetString(PyExc_TypeError,"null reference");
7587 SWIG_fail;
8edf1c75 7588 }
2f4c0a16
RD
7589 arg3 = (long) SWIG_AsLong(obj2);
7590 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 __wxMemoryFSHandler_AddFile_wxImage((wxString const &)*arg1,*arg2,arg3);
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 Py_INCREF(Py_None); resultobj = Py_None;
7599 {
7600 if (temp1)
7601 delete arg1;
7602 }
7603 return resultobj;
7604 fail:
7605 {
7606 if (temp1)
7607 delete arg1;
7608 }
7609 return NULL;
7610}
7611
7612
7613static PyObject *_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
7614 PyObject *resultobj;
7615 wxString *arg1 = 0 ;
7616 wxBitmap *arg2 = 0 ;
7617 long arg3 ;
423f194a 7618 bool temp1 = False ;
d14a1e28
RD
7619 PyObject * obj0 = 0 ;
7620 PyObject * obj1 = 0 ;
8edf1c75 7621 PyObject * obj2 = 0 ;
d14a1e28
RD
7622 char *kwnames[] = {
7623 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7624 };
7625
8edf1c75 7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
7627 {
7628 arg1 = wxString_in_helper(obj0);
7629 if (arg1 == NULL) SWIG_fail;
423f194a 7630 temp1 = True;
d14a1e28 7631 }
2f4c0a16
RD
7632 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
7633 SWIG_POINTER_EXCEPTION | 0)) == -1)
7634 SWIG_fail;
d14a1e28 7635 if (arg2 == NULL) {
2f4c0a16
RD
7636 PyErr_SetString(PyExc_TypeError,"null reference");
7637 SWIG_fail;
8edf1c75 7638 }
2f4c0a16
RD
7639 arg3 = (long) SWIG_AsLong(obj2);
7640 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
7641 {
7642 PyThreadState* __tstate = wxPyBeginAllowThreads();
7643 __wxMemoryFSHandler_AddFile_wxBitmap((wxString const &)*arg1,(wxBitmap const &)*arg2,arg3);
7644
7645 wxPyEndAllowThreads(__tstate);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
7648 Py_INCREF(Py_None); resultobj = Py_None;
7649 {
7650 if (temp1)
7651 delete arg1;
7652 }
7653 return resultobj;
7654 fail:
7655 {
7656 if (temp1)
7657 delete arg1;
7658 }
7659 return NULL;
7660}
7661
7662
7663static PyObject *_wrap___wxMemoryFSHandler_AddFile_Data(PyObject *self, PyObject *args, PyObject *kwargs) {
7664 PyObject *resultobj;
7665 wxString *arg1 = 0 ;
7666 PyObject *arg2 = (PyObject *) 0 ;
423f194a 7667 bool temp1 = False ;
d14a1e28
RD
7668 PyObject * obj0 = 0 ;
7669 PyObject * obj1 = 0 ;
7670 char *kwnames[] = {
7671 (char *) "filename",(char *) "data", NULL
7672 };
7673
7674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames,&obj0,&obj1)) goto fail;
7675 {
7676 arg1 = wxString_in_helper(obj0);
7677 if (arg1 == NULL) SWIG_fail;
423f194a 7678 temp1 = True;
d14a1e28
RD
7679 }
7680 arg2 = obj1;
7681 {
7682 PyThreadState* __tstate = wxPyBeginAllowThreads();
7683 __wxMemoryFSHandler_AddFile_Data((wxString const &)*arg1,arg2);
7684
7685 wxPyEndAllowThreads(__tstate);
7686 if (PyErr_Occurred()) SWIG_fail;
7687 }
7688 Py_INCREF(Py_None); resultobj = Py_None;
7689 {
7690 if (temp1)
7691 delete arg1;
7692 }
7693 return resultobj;
7694 fail:
7695 {
7696 if (temp1)
7697 delete arg1;
7698 }
7699 return NULL;
7700}
7701
7702
7703static PyObject *_wrap_new_MemoryFSHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
7704 PyObject *resultobj;
7705 wxMemoryFSHandler *result;
7706 char *kwnames[] = {
7707 NULL
7708 };
7709
7710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_MemoryFSHandler",kwnames)) goto fail;
7711 {
7712 PyThreadState* __tstate = wxPyBeginAllowThreads();
7713 result = (wxMemoryFSHandler *)new wxMemoryFSHandler();
7714
7715 wxPyEndAllowThreads(__tstate);
7716 if (PyErr_Occurred()) SWIG_fail;
7717 }
2f4c0a16 7718 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMemoryFSHandler, 1);
d14a1e28
RD
7719 return resultobj;
7720 fail:
7721 return NULL;
7722}
7723
7724
7725static PyObject *_wrap_MemoryFSHandler_RemoveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7726 PyObject *resultobj;
7727 wxString *arg1 = 0 ;
423f194a 7728 bool temp1 = False ;
d14a1e28
RD
7729 PyObject * obj0 = 0 ;
7730 char *kwnames[] = {
7731 (char *) "filename", NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_RemoveFile",kwnames,&obj0)) goto fail;
7735 {
7736 arg1 = wxString_in_helper(obj0);
7737 if (arg1 == NULL) SWIG_fail;
423f194a 7738 temp1 = True;
d14a1e28
RD
7739 }
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 wxMemoryFSHandler::RemoveFile((wxString const &)*arg1);
7743
7744 wxPyEndAllowThreads(__tstate);
7745 if (PyErr_Occurred()) SWIG_fail;
7746 }
7747 Py_INCREF(Py_None); resultobj = Py_None;
7748 {
7749 if (temp1)
7750 delete arg1;
7751 }
7752 return resultobj;
7753 fail:
7754 {
7755 if (temp1)
7756 delete arg1;
7757 }
7758 return NULL;
7759}
7760
7761
7762static PyObject *_wrap_MemoryFSHandler_CanOpen(PyObject *self, PyObject *args, PyObject *kwargs) {
7763 PyObject *resultobj;
7764 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7765 wxString *arg2 = 0 ;
7766 bool result;
423f194a 7767 bool temp2 = False ;
d14a1e28
RD
7768 PyObject * obj0 = 0 ;
7769 PyObject * obj1 = 0 ;
7770 char *kwnames[] = {
7771 (char *) "self",(char *) "location", NULL
7772 };
7773
7774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MemoryFSHandler_CanOpen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
7775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7777 {
7778 arg2 = wxString_in_helper(obj1);
7779 if (arg2 == NULL) SWIG_fail;
423f194a 7780 temp2 = True;
d14a1e28
RD
7781 }
7782 {
7783 PyThreadState* __tstate = wxPyBeginAllowThreads();
7784 result = (bool)(arg1)->CanOpen((wxString const &)*arg2);
7785
7786 wxPyEndAllowThreads(__tstate);
7787 if (PyErr_Occurred()) SWIG_fail;
7788 }
4e760a36 7789 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7790 {
7791 if (temp2)
7792 delete arg2;
7793 }
7794 return resultobj;
7795 fail:
7796 {
7797 if (temp2)
7798 delete arg2;
7799 }
7800 return NULL;
7801}
7802
7803
7804static PyObject *_wrap_MemoryFSHandler_OpenFile(PyObject *self, PyObject *args, PyObject *kwargs) {
7805 PyObject *resultobj;
7806 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7807 wxFileSystem *arg2 = 0 ;
7808 wxString *arg3 = 0 ;
7809 wxFSFile *result;
423f194a 7810 bool temp3 = False ;
d14a1e28
RD
7811 PyObject * obj0 = 0 ;
7812 PyObject * obj1 = 0 ;
7813 PyObject * obj2 = 0 ;
7814 char *kwnames[] = {
7815 (char *) "self",(char *) "fs",(char *) "location", NULL
7816 };
7817
7818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7819 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7820 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
7821 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFileSystem,
7822 SWIG_POINTER_EXCEPTION | 0)) == -1)
7823 SWIG_fail;
d14a1e28 7824 if (arg2 == NULL) {
2f4c0a16
RD
7825 PyErr_SetString(PyExc_TypeError,"null reference");
7826 SWIG_fail;
d14a1e28
RD
7827 }
7828 {
7829 arg3 = wxString_in_helper(obj2);
7830 if (arg3 == NULL) SWIG_fail;
423f194a 7831 temp3 = True;
d14a1e28
RD
7832 }
7833 {
7834 PyThreadState* __tstate = wxPyBeginAllowThreads();
7835 result = (wxFSFile *)(arg1)->OpenFile(*arg2,(wxString const &)*arg3);
7836
7837 wxPyEndAllowThreads(__tstate);
7838 if (PyErr_Occurred()) SWIG_fail;
7839 }
7840 {
7841 resultobj = wxPyMake_wxObject(result);
7842 }
7843 {
7844 if (temp3)
7845 delete arg3;
7846 }
7847 return resultobj;
7848 fail:
7849 {
7850 if (temp3)
7851 delete arg3;
7852 }
7853 return NULL;
7854}
7855
7856
7857static PyObject *_wrap_MemoryFSHandler_FindFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
7858 PyObject *resultobj;
7859 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7860 wxString *arg2 = 0 ;
7861 int arg3 = (int) 0 ;
7862 wxString result;
423f194a 7863 bool temp2 = False ;
d14a1e28
RD
7864 PyObject * obj0 = 0 ;
7865 PyObject * obj1 = 0 ;
8edf1c75 7866 PyObject * obj2 = 0 ;
d14a1e28
RD
7867 char *kwnames[] = {
7868 (char *) "self",(char *) "spec",(char *) "flags", NULL
7869 };
7870
8edf1c75 7871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
7872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7874 {
7875 arg2 = wxString_in_helper(obj1);
7876 if (arg2 == NULL) SWIG_fail;
423f194a 7877 temp2 = True;
d14a1e28 7878 }
8edf1c75 7879 if (obj2) {
2f4c0a16
RD
7880 arg3 = (int) SWIG_AsInt(obj2);
7881 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 7882 }
d14a1e28
RD
7883 {
7884 PyThreadState* __tstate = wxPyBeginAllowThreads();
7885 result = (arg1)->FindFirst((wxString const &)*arg2,arg3);
7886
7887 wxPyEndAllowThreads(__tstate);
7888 if (PyErr_Occurred()) SWIG_fail;
7889 }
7890 {
7891#if wxUSE_UNICODE
7892 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7893#else
7894 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7895#endif
7896 }
7897 {
7898 if (temp2)
7899 delete arg2;
7900 }
7901 return resultobj;
7902 fail:
7903 {
7904 if (temp2)
7905 delete arg2;
7906 }
7907 return NULL;
7908}
7909
7910
7911static PyObject *_wrap_MemoryFSHandler_FindNext(PyObject *self, PyObject *args, PyObject *kwargs) {
7912 PyObject *resultobj;
7913 wxMemoryFSHandler *arg1 = (wxMemoryFSHandler *) 0 ;
7914 wxString result;
7915 PyObject * obj0 = 0 ;
7916 char *kwnames[] = {
7917 (char *) "self", NULL
7918 };
7919
7920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MemoryFSHandler_FindNext",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7921 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMemoryFSHandler,
7922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7923 {
7924 PyThreadState* __tstate = wxPyBeginAllowThreads();
7925 result = (arg1)->FindNext();
7926
7927 wxPyEndAllowThreads(__tstate);
7928 if (PyErr_Occurred()) SWIG_fail;
7929 }
7930 {
7931#if wxUSE_UNICODE
7932 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7933#else
7934 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7935#endif
7936 }
7937 return resultobj;
7938 fail:
7939 return NULL;
7940}
7941
7942
7943static PyObject * MemoryFSHandler_swigregister(PyObject *self, PyObject *args) {
7944 PyObject *obj;
7945 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7946 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler, obj);
7947 Py_INCREF(obj);
7948 return Py_BuildValue((char *)"");
7949}
7950static PyObject *_wrap_ImageHandler_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
7951 PyObject *resultobj;
7952 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7953 wxString result;
7954 PyObject * obj0 = 0 ;
7955 char *kwnames[] = {
7956 (char *) "self", NULL
7957 };
7958
7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7960 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
7961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7962 {
7963 PyThreadState* __tstate = wxPyBeginAllowThreads();
7964 result = (arg1)->GetName();
7965
7966 wxPyEndAllowThreads(__tstate);
7967 if (PyErr_Occurred()) SWIG_fail;
7968 }
7969 {
7970#if wxUSE_UNICODE
7971 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7972#else
7973 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7974#endif
7975 }
7976 return resultobj;
7977 fail:
7978 return NULL;
7979}
7980
7981
7982static PyObject *_wrap_ImageHandler_GetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
7985 wxString result;
7986 PyObject * obj0 = 0 ;
7987 char *kwnames[] = {
7988 (char *) "self", NULL
7989 };
7990
7991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetExtension",kwnames,&obj0)) goto fail;
2f4c0a16
RD
7992 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
7993 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
7994 {
7995 PyThreadState* __tstate = wxPyBeginAllowThreads();
7996 result = (arg1)->GetExtension();
7997
7998 wxPyEndAllowThreads(__tstate);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
8001 {
8002#if wxUSE_UNICODE
8003 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8004#else
8005 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8006#endif
8007 }
8008 return resultobj;
8009 fail:
8010 return NULL;
8011}
8012
8013
8014static PyObject *_wrap_ImageHandler_GetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8015 PyObject *resultobj;
8016 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8017 long result;
8018 PyObject * obj0 = 0 ;
8019 char *kwnames[] = {
8020 (char *) "self", NULL
8021 };
8022
8023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8026 {
8027 PyThreadState* __tstate = wxPyBeginAllowThreads();
8028 result = (long)(arg1)->GetType();
8029
8030 wxPyEndAllowThreads(__tstate);
8031 if (PyErr_Occurred()) SWIG_fail;
8032 }
2f4c0a16 8033 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
8034 return resultobj;
8035 fail:
8036 return NULL;
8037}
8038
8039
8040static PyObject *_wrap_ImageHandler_GetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8041 PyObject *resultobj;
8042 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8043 wxString result;
8044 PyObject * obj0 = 0 ;
8045 char *kwnames[] = {
8046 (char *) "self", NULL
8047 };
8048
8049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ImageHandler_GetMimeType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8052 {
8053 PyThreadState* __tstate = wxPyBeginAllowThreads();
8054 result = (arg1)->GetMimeType();
8055
8056 wxPyEndAllowThreads(__tstate);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 }
8059 {
8060#if wxUSE_UNICODE
8061 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
8062#else
8063 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
8064#endif
8065 }
8066 return resultobj;
8067 fail:
8068 return NULL;
8069}
8070
8071
8072static PyObject *_wrap_ImageHandler_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8075 wxString *arg2 = 0 ;
8076 bool result;
423f194a 8077 bool temp2 = False ;
d14a1e28
RD
8078 PyObject * obj0 = 0 ;
8079 PyObject * obj1 = 0 ;
8080 char *kwnames[] = {
8081 (char *) "self",(char *) "name", NULL
8082 };
8083
8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_CanRead",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8085 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8086 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8087 {
8088 arg2 = wxString_in_helper(obj1);
8089 if (arg2 == NULL) SWIG_fail;
423f194a 8090 temp2 = True;
d14a1e28
RD
8091 }
8092 {
8093 PyThreadState* __tstate = wxPyBeginAllowThreads();
8094 result = (bool)(arg1)->CanRead((wxString const &)*arg2);
8095
8096 wxPyEndAllowThreads(__tstate);
8097 if (PyErr_Occurred()) SWIG_fail;
8098 }
4e760a36 8099 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8100 {
8101 if (temp2)
8102 delete arg2;
8103 }
8104 return resultobj;
8105 fail:
8106 {
8107 if (temp2)
8108 delete arg2;
8109 }
8110 return NULL;
8111}
8112
8113
8114static PyObject *_wrap_ImageHandler_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
8115 PyObject *resultobj;
8116 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8117 wxString *arg2 = 0 ;
423f194a 8118 bool temp2 = False ;
d14a1e28
RD
8119 PyObject * obj0 = 0 ;
8120 PyObject * obj1 = 0 ;
8121 char *kwnames[] = {
8122 (char *) "self",(char *) "name", NULL
8123 };
8124
8125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8126 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8127 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8128 {
8129 arg2 = wxString_in_helper(obj1);
8130 if (arg2 == NULL) SWIG_fail;
423f194a 8131 temp2 = True;
d14a1e28
RD
8132 }
8133 {
8134 PyThreadState* __tstate = wxPyBeginAllowThreads();
8135 (arg1)->SetName((wxString const &)*arg2);
8136
8137 wxPyEndAllowThreads(__tstate);
8138 if (PyErr_Occurred()) SWIG_fail;
8139 }
8140 Py_INCREF(Py_None); resultobj = Py_None;
8141 {
8142 if (temp2)
8143 delete arg2;
8144 }
8145 return resultobj;
8146 fail:
8147 {
8148 if (temp2)
8149 delete arg2;
8150 }
8151 return NULL;
8152}
8153
8154
8155static PyObject *_wrap_ImageHandler_SetExtension(PyObject *self, PyObject *args, PyObject *kwargs) {
8156 PyObject *resultobj;
8157 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8158 wxString *arg2 = 0 ;
423f194a 8159 bool temp2 = False ;
d14a1e28
RD
8160 PyObject * obj0 = 0 ;
8161 PyObject * obj1 = 0 ;
8162 char *kwnames[] = {
8163 (char *) "self",(char *) "extension", NULL
8164 };
8165
8166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetExtension",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8169 {
8170 arg2 = wxString_in_helper(obj1);
8171 if (arg2 == NULL) SWIG_fail;
423f194a 8172 temp2 = True;
d14a1e28
RD
8173 }
8174 {
8175 PyThreadState* __tstate = wxPyBeginAllowThreads();
8176 (arg1)->SetExtension((wxString const &)*arg2);
8177
8178 wxPyEndAllowThreads(__tstate);
8179 if (PyErr_Occurred()) SWIG_fail;
8180 }
8181 Py_INCREF(Py_None); resultobj = Py_None;
8182 {
8183 if (temp2)
8184 delete arg2;
8185 }
8186 return resultobj;
8187 fail:
8188 {
8189 if (temp2)
8190 delete arg2;
8191 }
8192 return NULL;
8193}
8194
8195
8196static PyObject *_wrap_ImageHandler_SetType(PyObject *self, PyObject *args, PyObject *kwargs) {
8197 PyObject *resultobj;
8198 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8199 long arg2 ;
8200 PyObject * obj0 = 0 ;
8edf1c75 8201 PyObject * obj1 = 0 ;
d14a1e28
RD
8202 char *kwnames[] = {
8203 (char *) "self",(char *) "type", NULL
8204 };
8205
8edf1c75 8206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8207 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8208 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8209 arg2 = (long) SWIG_AsLong(obj1);
8210 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8211 {
8212 PyThreadState* __tstate = wxPyBeginAllowThreads();
8213 (arg1)->SetType(arg2);
8214
8215 wxPyEndAllowThreads(__tstate);
8216 if (PyErr_Occurred()) SWIG_fail;
8217 }
8218 Py_INCREF(Py_None); resultobj = Py_None;
8219 return resultobj;
8220 fail:
8221 return NULL;
8222}
8223
8224
8225static PyObject *_wrap_ImageHandler_SetMimeType(PyObject *self, PyObject *args, PyObject *kwargs) {
8226 PyObject *resultobj;
8227 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
8228 wxString *arg2 = 0 ;
423f194a 8229 bool temp2 = False ;
d14a1e28
RD
8230 PyObject * obj0 = 0 ;
8231 PyObject * obj1 = 0 ;
8232 char *kwnames[] = {
8233 (char *) "self",(char *) "mimetype", NULL
8234 };
8235
8236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ImageHandler_SetMimeType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
8237 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
8238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8239 {
8240 arg2 = wxString_in_helper(obj1);
8241 if (arg2 == NULL) SWIG_fail;
423f194a 8242 temp2 = True;
d14a1e28
RD
8243 }
8244 {
8245 PyThreadState* __tstate = wxPyBeginAllowThreads();
8246 (arg1)->SetMimeType((wxString const &)*arg2);
8247
8248 wxPyEndAllowThreads(__tstate);
8249 if (PyErr_Occurred()) SWIG_fail;
8250 }
8251 Py_INCREF(Py_None); resultobj = Py_None;
8252 {
8253 if (temp2)
8254 delete arg2;
8255 }
8256 return resultobj;
8257 fail:
8258 {
8259 if (temp2)
8260 delete arg2;
8261 }
8262 return NULL;
8263}
8264
8265
8266static PyObject * ImageHandler_swigregister(PyObject *self, PyObject *args) {
8267 PyObject *obj;
8268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8269 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler, obj);
8270 Py_INCREF(obj);
8271 return Py_BuildValue((char *)"");
8272}
8273static PyObject *_wrap_new_ImageHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
8274 PyObject *resultobj;
8275 wxImageHistogram *result;
8276 char *kwnames[] = {
8277 NULL
8278 };
8279
8280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ImageHistogram",kwnames)) goto fail;
8281 {
8282 PyThreadState* __tstate = wxPyBeginAllowThreads();
8283 result = (wxImageHistogram *)new wxImageHistogram();
8284
8285 wxPyEndAllowThreads(__tstate);
8286 if (PyErr_Occurred()) SWIG_fail;
8287 }
2f4c0a16 8288 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImageHistogram, 1);
d14a1e28
RD
8289 return resultobj;
8290 fail:
8291 return NULL;
8292}
8293
8294
8295static PyObject *_wrap_ImageHistogram_MakeKey(PyObject *self, PyObject *args, PyObject *kwargs) {
8296 PyObject *resultobj;
8297 unsigned char arg1 ;
8298 unsigned char arg2 ;
8299 unsigned char arg3 ;
8300 unsigned long result;
8301 PyObject * obj0 = 0 ;
8302 PyObject * obj1 = 0 ;
8303 PyObject * obj2 = 0 ;
8304 char *kwnames[] = {
8305 (char *) "r",(char *) "g",(char *) "b", NULL
8306 };
8307
8308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ImageHistogram_MakeKey",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8309 arg1 = (unsigned char) SWIG_AsUnsignedChar(obj0);
8310 if (PyErr_Occurred()) SWIG_fail;
8311 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8312 if (PyErr_Occurred()) SWIG_fail;
8313 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8314 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 result = (unsigned long)wxImageHistogram::MakeKey(arg1,arg2,arg3);
8318
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
2f4c0a16 8322 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
8323 return resultobj;
8324 fail:
8325 return NULL;
8326}
8327
8328
8329static PyObject *_wrap_ImageHistogram_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
8330 PyObject *resultobj;
8331 wxImageHistogram *arg1 = (wxImageHistogram *) 0 ;
8332 unsigned char *arg2 = (unsigned char *) 0 ;
8333 unsigned char *arg3 = (unsigned char *) 0 ;
8334 unsigned char *arg4 = (unsigned char *) 0 ;
8335 unsigned char arg5 = (unsigned char) 1 ;
8336 unsigned char arg6 = (unsigned char) 0 ;
8337 unsigned char arg7 = (unsigned char) 0 ;
8338 bool result;
8339 unsigned char temp2 ;
8340 unsigned char temp3 ;
8341 unsigned char temp4 ;
8342 PyObject * obj0 = 0 ;
8343 PyObject * obj1 = 0 ;
8344 PyObject * obj2 = 0 ;
8345 PyObject * obj3 = 0 ;
8346 char *kwnames[] = {
8347 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8348 };
8349
8350 arg2 = &temp2;
8351 arg3 = &temp3;
8352 arg4 = &temp4;
8353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
8354 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHistogram,
8355 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 8356 if (obj1) {
2f4c0a16
RD
8357 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj1);
8358 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8359 }
8360 if (obj2) {
2f4c0a16
RD
8361 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj2);
8362 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8363 }
8364 if (obj3) {
2f4c0a16
RD
8365 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8366 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8367 }
8368 {
8369 PyThreadState* __tstate = wxPyBeginAllowThreads();
8370 result = (bool)((wxImageHistogram const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
8371
8372 wxPyEndAllowThreads(__tstate);
8373 if (PyErr_Occurred()) SWIG_fail;
8374 }
4e760a36 8375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8376 {
8377 PyObject *o = PyInt_FromLong((long) (*arg2));
8378 resultobj = t_output_helper(resultobj,o);
8379 }
8380 {
8381 PyObject *o = PyInt_FromLong((long) (*arg3));
8382 resultobj = t_output_helper(resultobj,o);
8383 }
8384 {
8385 PyObject *o = PyInt_FromLong((long) (*arg4));
8386 resultobj = t_output_helper(resultobj,o);
8387 }
8388 return resultobj;
8389 fail:
8390 return NULL;
8391}
8392
8393
8394static PyObject * ImageHistogram_swigregister(PyObject *self, PyObject *args) {
8395 PyObject *obj;
8396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8397 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram, obj);
8398 Py_INCREF(obj);
8399 return Py_BuildValue((char *)"");
8400}
8401static PyObject *_wrap_new_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8402 PyObject *resultobj;
8403 wxString *arg1 = 0 ;
8404 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8405 int arg3 = (int) -1 ;
8406 wxImage *result;
423f194a 8407 bool temp1 = False ;
d14a1e28 8408 PyObject * obj0 = 0 ;
8edf1c75
RD
8409 PyObject * obj1 = 0 ;
8410 PyObject * obj2 = 0 ;
d14a1e28
RD
8411 char *kwnames[] = {
8412 (char *) "name",(char *) "type",(char *) "index", NULL
8413 };
8414
8edf1c75 8415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_Image",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8416 {
8417 arg1 = wxString_in_helper(obj0);
8418 if (arg1 == NULL) SWIG_fail;
423f194a 8419 temp1 = True;
d14a1e28 8420 }
8edf1c75 8421 if (obj1) {
2f4c0a16
RD
8422 arg2 = (long) SWIG_AsLong(obj1);
8423 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8424 }
8425 if (obj2) {
2f4c0a16
RD
8426 arg3 = (int) SWIG_AsInt(obj2);
8427 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8428 }
d14a1e28
RD
8429 {
8430 PyThreadState* __tstate = wxPyBeginAllowThreads();
8431 result = (wxImage *)new wxImage((wxString const &)*arg1,arg2,arg3);
8432
8433 wxPyEndAllowThreads(__tstate);
8434 if (PyErr_Occurred()) SWIG_fail;
8435 }
2f4c0a16 8436 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8437 {
8438 if (temp1)
8439 delete arg1;
8440 }
8441 return resultobj;
8442 fail:
8443 {
8444 if (temp1)
8445 delete arg1;
8446 }
8447 return NULL;
8448}
8449
8450
8451static PyObject *_wrap_delete_Image(PyObject *self, PyObject *args, PyObject *kwargs) {
8452 PyObject *resultobj;
8453 wxImage *arg1 = (wxImage *) 0 ;
8454 PyObject * obj0 = 0 ;
8455 char *kwnames[] = {
8456 (char *) "self", NULL
8457 };
8458
8459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Image",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8462 {
8463 PyThreadState* __tstate = wxPyBeginAllowThreads();
8464 delete arg1;
8465
8466 wxPyEndAllowThreads(__tstate);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 }
8469 Py_INCREF(Py_None); resultobj = Py_None;
8470 return resultobj;
8471 fail:
8472 return NULL;
8473}
8474
8475
8476static PyObject *_wrap_new_ImageFromMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8477 PyObject *resultobj;
8478 wxString *arg1 = 0 ;
8479 wxString *arg2 = 0 ;
8480 int arg3 = (int) -1 ;
8481 wxImage *result;
423f194a
RD
8482 bool temp1 = False ;
8483 bool temp2 = False ;
d14a1e28
RD
8484 PyObject * obj0 = 0 ;
8485 PyObject * obj1 = 0 ;
8edf1c75 8486 PyObject * obj2 = 0 ;
d14a1e28
RD
8487 char *kwnames[] = {
8488 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8489 };
8490
8edf1c75 8491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8492 {
8493 arg1 = wxString_in_helper(obj0);
8494 if (arg1 == NULL) SWIG_fail;
423f194a 8495 temp1 = True;
d14a1e28
RD
8496 }
8497 {
8498 arg2 = wxString_in_helper(obj1);
8499 if (arg2 == NULL) SWIG_fail;
423f194a 8500 temp2 = True;
d14a1e28 8501 }
8edf1c75 8502 if (obj2) {
2f4c0a16
RD
8503 arg3 = (int) SWIG_AsInt(obj2);
8504 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8505 }
d14a1e28
RD
8506 {
8507 PyThreadState* __tstate = wxPyBeginAllowThreads();
8508 result = (wxImage *)new wxImage((wxString const &)*arg1,(wxString const &)*arg2,arg3);
8509
8510 wxPyEndAllowThreads(__tstate);
8511 if (PyErr_Occurred()) SWIG_fail;
8512 }
2f4c0a16 8513 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8514 {
8515 if (temp1)
8516 delete arg1;
8517 }
8518 {
8519 if (temp2)
8520 delete arg2;
8521 }
8522 return resultobj;
8523 fail:
8524 {
8525 if (temp1)
8526 delete arg1;
8527 }
8528 {
8529 if (temp2)
8530 delete arg2;
8531 }
8532 return NULL;
8533}
8534
8535
8536static PyObject *_wrap_new_ImageFromStream(PyObject *self, PyObject *args, PyObject *kwargs) {
8537 PyObject *resultobj;
8538 wxInputStream *arg1 = 0 ;
8539 long arg2 = (long) wxBITMAP_TYPE_ANY ;
8540 int arg3 = (int) -1 ;
8541 wxImage *result;
8542 wxPyInputStream *temp1 ;
8543 bool created1 ;
8544 PyObject * obj0 = 0 ;
8edf1c75
RD
8545 PyObject * obj1 = 0 ;
8546 PyObject * obj2 = 0 ;
d14a1e28
RD
8547 char *kwnames[] = {
8548 (char *) "stream",(char *) "type",(char *) "index", NULL
8549 };
8550
8edf1c75 8551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:new_ImageFromStream",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8552 {
8553 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8554 arg1 = temp1->m_wxis;
423f194a 8555 created1 = False;
d14a1e28
RD
8556 } else {
8557 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 8558 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8559 if (arg1 == NULL) {
8560 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8561 SWIG_fail;
8562 }
423f194a 8563 created1 = True;
d14a1e28
RD
8564 }
8565 }
8edf1c75 8566 if (obj1) {
2f4c0a16
RD
8567 arg2 = (long) SWIG_AsLong(obj1);
8568 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8569 }
8570 if (obj2) {
2f4c0a16
RD
8571 arg3 = (int) SWIG_AsInt(obj2);
8572 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8573 }
d14a1e28
RD
8574 {
8575 PyThreadState* __tstate = wxPyBeginAllowThreads();
8576 result = (wxImage *)new wxImage(*arg1,arg2,arg3);
8577
8578 wxPyEndAllowThreads(__tstate);
8579 if (PyErr_Occurred()) SWIG_fail;
8580 }
2f4c0a16 8581 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8582 {
8583 if (created1)
8584 delete arg1;
8585 }
8586 return resultobj;
8587 fail:
8588 {
8589 if (created1)
8590 delete arg1;
8591 }
8592 return NULL;
8593}
8594
8595
8596static PyObject *_wrap_new_ImageFromStreamMime(PyObject *self, PyObject *args, PyObject *kwargs) {
8597 PyObject *resultobj;
8598 wxInputStream *arg1 = 0 ;
8599 wxString *arg2 = 0 ;
8600 int arg3 = (int) -1 ;
8601 wxImage *result;
8602 wxPyInputStream *temp1 ;
8603 bool created1 ;
423f194a 8604 bool temp2 = False ;
d14a1e28
RD
8605 PyObject * obj0 = 0 ;
8606 PyObject * obj1 = 0 ;
8edf1c75 8607 PyObject * obj2 = 0 ;
d14a1e28
RD
8608 char *kwnames[] = {
8609 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8610 };
8611
8edf1c75 8612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_ImageFromStreamMime",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8613 {
8614 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
8615 arg1 = temp1->m_wxis;
423f194a 8616 created1 = False;
d14a1e28
RD
8617 } else {
8618 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 8619 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
8620 if (arg1 == NULL) {
8621 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
8622 SWIG_fail;
8623 }
423f194a 8624 created1 = True;
d14a1e28
RD
8625 }
8626 }
8627 {
8628 arg2 = wxString_in_helper(obj1);
8629 if (arg2 == NULL) SWIG_fail;
423f194a 8630 temp2 = True;
d14a1e28 8631 }
8edf1c75 8632 if (obj2) {
2f4c0a16
RD
8633 arg3 = (int) SWIG_AsInt(obj2);
8634 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8635 }
d14a1e28
RD
8636 {
8637 PyThreadState* __tstate = wxPyBeginAllowThreads();
8638 result = (wxImage *)new wxImage(*arg1,(wxString const &)*arg2,arg3);
8639
8640 wxPyEndAllowThreads(__tstate);
8641 if (PyErr_Occurred()) SWIG_fail;
8642 }
2f4c0a16 8643 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8644 {
8645 if (created1)
8646 delete arg1;
8647 }
8648 {
8649 if (temp2)
8650 delete arg2;
8651 }
8652 return resultobj;
8653 fail:
8654 {
8655 if (created1)
8656 delete arg1;
8657 }
8658 {
8659 if (temp2)
8660 delete arg2;
8661 }
8662 return NULL;
8663}
8664
8665
8666static PyObject *_wrap_new_EmptyImage(PyObject *self, PyObject *args, PyObject *kwargs) {
8667 PyObject *resultobj;
8668 int arg1 = (int) 0 ;
8669 int arg2 = (int) 0 ;
423f194a 8670 bool arg3 = (bool) True ;
d14a1e28 8671 wxImage *result;
8edf1c75
RD
8672 PyObject * obj0 = 0 ;
8673 PyObject * obj1 = 0 ;
d14a1e28
RD
8674 PyObject * obj2 = 0 ;
8675 char *kwnames[] = {
8676 (char *) "width",(char *) "height",(char *) "clear", NULL
8677 };
8678
8edf1c75
RD
8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_EmptyImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
8680 if (obj0) {
2f4c0a16
RD
8681 arg1 = (int) SWIG_AsInt(obj0);
8682 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
8683 }
8684 if (obj1) {
2f4c0a16
RD
8685 arg2 = (int) SWIG_AsInt(obj1);
8686 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 8687 }
d14a1e28 8688 if (obj2) {
2f4c0a16
RD
8689 arg3 = (bool) SWIG_AsBool(obj2);
8690 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8691 }
8692 {
8693 PyThreadState* __tstate = wxPyBeginAllowThreads();
8694 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8695
8696 wxPyEndAllowThreads(__tstate);
8697 if (PyErr_Occurred()) SWIG_fail;
8698 }
2f4c0a16 8699 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8700 return resultobj;
8701 fail:
8702 return NULL;
8703}
8704
8705
8706static PyObject *_wrap_new_ImageFromBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
8707 PyObject *resultobj;
8708 wxBitmap *arg1 = 0 ;
8709 wxImage *result;
8710 PyObject * obj0 = 0 ;
8711 char *kwnames[] = {
8712 (char *) "bitmap", NULL
8713 };
8714
8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_ImageFromBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8716 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBitmap,
8717 SWIG_POINTER_EXCEPTION | 0)) == -1)
8718 SWIG_fail;
d14a1e28 8719 if (arg1 == NULL) {
2f4c0a16
RD
8720 PyErr_SetString(PyExc_TypeError,"null reference");
8721 SWIG_fail;
d14a1e28
RD
8722 }
8723 {
8724 PyThreadState* __tstate = wxPyBeginAllowThreads();
8725 result = (wxImage *)new_wxImage((wxBitmap const &)*arg1);
8726
8727 wxPyEndAllowThreads(__tstate);
8728 if (PyErr_Occurred()) SWIG_fail;
8729 }
2f4c0a16 8730 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8731 return resultobj;
8732 fail:
8733 return NULL;
8734}
8735
8736
8737static PyObject *_wrap_new_ImageFromData(PyObject *self, PyObject *args, PyObject *kwargs) {
8738 PyObject *resultobj;
8739 int arg1 ;
8740 int arg2 ;
8741 unsigned char *arg3 = (unsigned char *) 0 ;
8742 wxImage *result;
8edf1c75
RD
8743 PyObject * obj0 = 0 ;
8744 PyObject * obj1 = 0 ;
d14a1e28
RD
8745 PyObject * obj2 = 0 ;
8746 char *kwnames[] = {
8747 (char *) "width",(char *) "height",(char *) "data", NULL
8748 };
8749
8edf1c75 8750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:new_ImageFromData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8751 arg1 = (int) SWIG_AsInt(obj0);
8752 if (PyErr_Occurred()) SWIG_fail;
8753 arg2 = (int) SWIG_AsInt(obj1);
8754 if (PyErr_Occurred()) SWIG_fail;
8755 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_unsigned_char,
8756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 result = (wxImage *)new_wxImage(arg1,arg2,arg3);
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
2f4c0a16 8764 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8765 return resultobj;
8766 fail:
8767 return NULL;
8768}
8769
8770
8771static PyObject *_wrap_Image_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8772 PyObject *resultobj;
8773 wxImage *arg1 = (wxImage *) 0 ;
8774 int arg2 ;
8775 int arg3 ;
8776 PyObject * obj0 = 0 ;
8edf1c75
RD
8777 PyObject * obj1 = 0 ;
8778 PyObject * obj2 = 0 ;
d14a1e28
RD
8779 char *kwnames[] = {
8780 (char *) "self",(char *) "width",(char *) "height", NULL
8781 };
8782
8edf1c75 8783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8786 arg2 = (int) SWIG_AsInt(obj1);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 arg3 = (int) SWIG_AsInt(obj2);
8789 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8790 {
8791 PyThreadState* __tstate = wxPyBeginAllowThreads();
8792 (arg1)->Create(arg2,arg3);
8793
8794 wxPyEndAllowThreads(__tstate);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 }
8797 Py_INCREF(Py_None); resultobj = Py_None;
8798 return resultobj;
8799 fail:
8800 return NULL;
8801}
8802
8803
8804static PyObject *_wrap_Image_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
8805 PyObject *resultobj;
8806 wxImage *arg1 = (wxImage *) 0 ;
8807 PyObject * obj0 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "self", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
8813 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8814 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
8815 {
8816 PyThreadState* __tstate = wxPyBeginAllowThreads();
8817 (arg1)->Destroy();
8818
8819 wxPyEndAllowThreads(__tstate);
8820 if (PyErr_Occurred()) SWIG_fail;
8821 }
8822 Py_INCREF(Py_None); resultobj = Py_None;
8823 return resultobj;
8824 fail:
8825 return NULL;
8826}
8827
8828
8829static PyObject *_wrap_Image_Scale(PyObject *self, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxImage *arg1 = (wxImage *) 0 ;
8832 int arg2 ;
8833 int arg3 ;
8834 SwigValueWrapper< wxImage > result;
8835 PyObject * obj0 = 0 ;
8edf1c75
RD
8836 PyObject * obj1 = 0 ;
8837 PyObject * obj2 = 0 ;
d14a1e28
RD
8838 char *kwnames[] = {
8839 (char *) "self",(char *) "width",(char *) "height", NULL
8840 };
8841
8edf1c75 8842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Scale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8845 arg2 = (int) SWIG_AsInt(obj1);
8846 if (PyErr_Occurred()) SWIG_fail;
8847 arg3 = (int) SWIG_AsInt(obj2);
8848 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 result = (arg1)->Scale(arg2,arg3);
8852
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 {
8857 wxImage * resultptr;
8858 resultptr = new wxImage((wxImage &) result);
2f4c0a16 8859 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8860 }
8861 return resultobj;
8862 fail:
8863 return NULL;
8864}
8865
8866
8867static PyObject *_wrap_Image_ShrinkBy(PyObject *self, PyObject *args, PyObject *kwargs) {
8868 PyObject *resultobj;
8869 wxImage *arg1 = (wxImage *) 0 ;
8870 int arg2 ;
8871 int arg3 ;
8872 SwigValueWrapper< wxImage > result;
8873 PyObject * obj0 = 0 ;
8edf1c75
RD
8874 PyObject * obj1 = 0 ;
8875 PyObject * obj2 = 0 ;
d14a1e28
RD
8876 char *kwnames[] = {
8877 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8878 };
8879
8edf1c75 8880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_ShrinkBy",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8883 arg2 = (int) SWIG_AsInt(obj1);
8884 if (PyErr_Occurred()) SWIG_fail;
8885 arg3 = (int) SWIG_AsInt(obj2);
8886 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 result = ((wxImage const *)arg1)->ShrinkBy(arg2,arg3);
8890
8891 wxPyEndAllowThreads(__tstate);
8892 if (PyErr_Occurred()) SWIG_fail;
8893 }
8894 {
8895 wxImage * resultptr;
8896 resultptr = new wxImage((wxImage &) result);
2f4c0a16 8897 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
8898 }
8899 return resultobj;
8900 fail:
8901 return NULL;
8902}
8903
8904
8905static PyObject *_wrap_Image_Rescale(PyObject *self, PyObject *args, PyObject *kwargs) {
8906 PyObject *resultobj;
8907 wxImage *arg1 = (wxImage *) 0 ;
8908 int arg2 ;
8909 int arg3 ;
8910 wxImage *result;
8911 PyObject * obj0 = 0 ;
8edf1c75
RD
8912 PyObject * obj1 = 0 ;
8913 PyObject * obj2 = 0 ;
d14a1e28
RD
8914 char *kwnames[] = {
8915 (char *) "self",(char *) "width",(char *) "height", NULL
8916 };
8917
8edf1c75 8918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_Rescale",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
8919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8921 arg2 = (int) SWIG_AsInt(obj1);
8922 if (PyErr_Occurred()) SWIG_fail;
8923 arg3 = (int) SWIG_AsInt(obj2);
8924 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 {
8928 wxImage &_result_ref = (arg1)->Rescale(arg2,arg3);
8929 result = (wxImage *) &_result_ref;
8930 }
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
2f4c0a16 8935 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
8936 return resultobj;
8937 fail:
8938 return NULL;
8939}
8940
8941
8942static PyObject *_wrap_Image_SetRGB(PyObject *self, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxImage *arg1 = (wxImage *) 0 ;
8945 int arg2 ;
8946 int arg3 ;
8947 unsigned char arg4 ;
8948 unsigned char arg5 ;
8949 unsigned char arg6 ;
8950 PyObject * obj0 = 0 ;
8edf1c75
RD
8951 PyObject * obj1 = 0 ;
8952 PyObject * obj2 = 0 ;
d14a1e28
RD
8953 PyObject * obj3 = 0 ;
8954 PyObject * obj4 = 0 ;
8955 PyObject * obj5 = 0 ;
8956 char *kwnames[] = {
8957 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8958 };
8959
8edf1c75 8960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:Image_SetRGB",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
8961 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
8962 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8963 arg2 = (int) SWIG_AsInt(obj1);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 arg3 = (int) SWIG_AsInt(obj2);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
8968 if (PyErr_Occurred()) SWIG_fail;
8969 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
8972 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
8973 {
8974 PyThreadState* __tstate = wxPyBeginAllowThreads();
8975 (arg1)->SetRGB(arg2,arg3,arg4,arg5,arg6);
8976
8977 wxPyEndAllowThreads(__tstate);
8978 if (PyErr_Occurred()) SWIG_fail;
8979 }
8980 Py_INCREF(Py_None); resultobj = Py_None;
8981 return resultobj;
8982 fail:
8983 return NULL;
8984}
8985
8986
8987static PyObject *_wrap_Image_GetRed(PyObject *self, PyObject *args, PyObject *kwargs) {
8988 PyObject *resultobj;
8989 wxImage *arg1 = (wxImage *) 0 ;
8990 int arg2 ;
8991 int arg3 ;
8992 unsigned char result;
8993 PyObject * obj0 = 0 ;
8edf1c75
RD
8994 PyObject * obj1 = 0 ;
8995 PyObject * obj2 = 0 ;
d14a1e28
RD
8996 char *kwnames[] = {
8997 (char *) "self",(char *) "x",(char *) "y", NULL
8998 };
8999
8edf1c75 9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetRed",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9003 arg2 = (int) SWIG_AsInt(obj1);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 arg3 = (int) SWIG_AsInt(obj2);
9006 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9007 {
9008 PyThreadState* __tstate = wxPyBeginAllowThreads();
9009 result = (unsigned char)(arg1)->GetRed(arg2,arg3);
9010
9011 wxPyEndAllowThreads(__tstate);
9012 if (PyErr_Occurred()) SWIG_fail;
9013 }
2f4c0a16 9014 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9015 return resultobj;
9016 fail:
9017 return NULL;
9018}
9019
9020
9021static PyObject *_wrap_Image_GetGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
9022 PyObject *resultobj;
9023 wxImage *arg1 = (wxImage *) 0 ;
9024 int arg2 ;
9025 int arg3 ;
9026 unsigned char result;
9027 PyObject * obj0 = 0 ;
8edf1c75
RD
9028 PyObject * obj1 = 0 ;
9029 PyObject * obj2 = 0 ;
d14a1e28
RD
9030 char *kwnames[] = {
9031 (char *) "self",(char *) "x",(char *) "y", NULL
9032 };
9033
8edf1c75 9034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetGreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9037 arg2 = (int) SWIG_AsInt(obj1);
9038 if (PyErr_Occurred()) SWIG_fail;
9039 arg3 = (int) SWIG_AsInt(obj2);
9040 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 result = (unsigned char)(arg1)->GetGreen(arg2,arg3);
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
2f4c0a16 9048 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9049 return resultobj;
9050 fail:
9051 return NULL;
9052}
9053
9054
9055static PyObject *_wrap_Image_GetBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj;
9057 wxImage *arg1 = (wxImage *) 0 ;
9058 int arg2 ;
9059 int arg3 ;
9060 unsigned char result;
9061 PyObject * obj0 = 0 ;
8edf1c75
RD
9062 PyObject * obj1 = 0 ;
9063 PyObject * obj2 = 0 ;
d14a1e28
RD
9064 char *kwnames[] = {
9065 (char *) "self",(char *) "x",(char *) "y", NULL
9066 };
9067
8edf1c75 9068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetBlue",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9071 arg2 = (int) SWIG_AsInt(obj1);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 arg3 = (int) SWIG_AsInt(obj2);
9074 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 result = (unsigned char)(arg1)->GetBlue(arg2,arg3);
9078
9079 wxPyEndAllowThreads(__tstate);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
2f4c0a16 9082 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9083 return resultobj;
9084 fail:
9085 return NULL;
9086}
9087
9088
9089static PyObject *_wrap_Image_SetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9090 PyObject *resultobj;
9091 wxImage *arg1 = (wxImage *) 0 ;
9092 int arg2 ;
9093 int arg3 ;
9094 unsigned char arg4 ;
9095 PyObject * obj0 = 0 ;
8edf1c75
RD
9096 PyObject * obj1 = 0 ;
9097 PyObject * obj2 = 0 ;
d14a1e28
RD
9098 PyObject * obj3 = 0 ;
9099 char *kwnames[] = {
9100 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9101 };
9102
8edf1c75 9103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetAlpha",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9106 arg2 = (int) SWIG_AsInt(obj1);
9107 if (PyErr_Occurred()) SWIG_fail;
9108 arg3 = (int) SWIG_AsInt(obj2);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
9111 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9112 {
9113 PyThreadState* __tstate = wxPyBeginAllowThreads();
9114 (arg1)->SetAlpha(arg2,arg3,arg4);
9115
9116 wxPyEndAllowThreads(__tstate);
9117 if (PyErr_Occurred()) SWIG_fail;
9118 }
9119 Py_INCREF(Py_None); resultobj = Py_None;
9120 return resultobj;
9121 fail:
9122 return NULL;
9123}
9124
9125
9126static PyObject *_wrap_Image_GetAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9127 PyObject *resultobj;
9128 wxImage *arg1 = (wxImage *) 0 ;
9129 int arg2 ;
9130 int arg3 ;
9131 unsigned char result;
9132 PyObject * obj0 = 0 ;
8edf1c75
RD
9133 PyObject * obj1 = 0 ;
9134 PyObject * obj2 = 0 ;
d14a1e28
RD
9135 char *kwnames[] = {
9136 (char *) "self",(char *) "x",(char *) "y", NULL
9137 };
9138
8edf1c75 9139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_GetAlpha",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9142 arg2 = (int) SWIG_AsInt(obj1);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 arg3 = (int) SWIG_AsInt(obj2);
9145 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9146 {
9147 PyThreadState* __tstate = wxPyBeginAllowThreads();
9148 result = (unsigned char)(arg1)->GetAlpha(arg2,arg3);
9149
9150 wxPyEndAllowThreads(__tstate);
9151 if (PyErr_Occurred()) SWIG_fail;
9152 }
2f4c0a16 9153 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
9154 return resultobj;
9155 fail:
9156 return NULL;
9157}
9158
9159
9160static PyObject *_wrap_Image_HasAlpha(PyObject *self, PyObject *args, PyObject *kwargs) {
9161 PyObject *resultobj;
9162 wxImage *arg1 = (wxImage *) 0 ;
9163 bool result;
9164 PyObject * obj0 = 0 ;
9165 char *kwnames[] = {
9166 (char *) "self", NULL
9167 };
9168
9169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasAlpha",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9170 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9171 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9172 {
9173 PyThreadState* __tstate = wxPyBeginAllowThreads();
9174 result = (bool)(arg1)->HasAlpha();
9175
9176 wxPyEndAllowThreads(__tstate);
9177 if (PyErr_Occurred()) SWIG_fail;
9178 }
4e760a36 9179 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9180 return resultobj;
9181 fail:
9182 return NULL;
9183}
9184
9185
9186static PyObject *_wrap_Image_FindFirstUnusedColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9187 PyObject *resultobj;
9188 wxImage *arg1 = (wxImage *) 0 ;
9189 byte *arg2 = (byte *) 0 ;
9190 byte *arg3 = (byte *) 0 ;
9191 byte *arg4 = (byte *) 0 ;
9192 byte arg5 = (byte) 0 ;
9193 byte arg6 = (byte) 0 ;
9194 byte arg7 = (byte) 0 ;
9195 bool result;
9196 byte temp2 ;
9197 byte temp3 ;
9198 byte temp4 ;
9199 PyObject * obj0 = 0 ;
9200 PyObject * obj1 = 0 ;
9201 PyObject * obj2 = 0 ;
9202 PyObject * obj3 = 0 ;
9203 char *kwnames[] = {
9204 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9205 };
9206
9207 arg2 = &temp2;
9208 arg3 = &temp3;
9209 arg4 = &temp4;
9210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 9213 if (obj1) {
2f4c0a16
RD
9214 arg5 = (byte) SWIG_AsUnsignedChar(obj1);
9215 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9216 }
9217 if (obj2) {
2f4c0a16
RD
9218 arg6 = (byte) SWIG_AsUnsignedChar(obj2);
9219 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9220 }
9221 if (obj3) {
2f4c0a16
RD
9222 arg7 = (byte) SWIG_AsUnsignedChar(obj3);
9223 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9224 }
9225 {
9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
9227 result = (bool)((wxImage const *)arg1)->FindFirstUnusedColour(arg2,arg3,arg4,arg5,arg6,arg7);
9228
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
4e760a36 9232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9233 {
9234 PyObject *o = PyInt_FromLong((long) (*arg2));
9235 resultobj = t_output_helper(resultobj,o);
9236 }
9237 {
9238 PyObject *o = PyInt_FromLong((long) (*arg3));
9239 resultobj = t_output_helper(resultobj,o);
9240 }
9241 {
9242 PyObject *o = PyInt_FromLong((long) (*arg4));
9243 resultobj = t_output_helper(resultobj,o);
9244 }
9245 return resultobj;
9246 fail:
9247 return NULL;
9248}
9249
9250
9251static PyObject *_wrap_Image_SetMaskFromImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9252 PyObject *resultobj;
9253 wxImage *arg1 = (wxImage *) 0 ;
9254 wxImage *arg2 = 0 ;
9255 byte arg3 ;
9256 byte arg4 ;
9257 byte arg5 ;
9258 bool result;
9259 PyObject * obj0 = 0 ;
9260 PyObject * obj1 = 0 ;
9261 PyObject * obj2 = 0 ;
9262 PyObject * obj3 = 0 ;
9263 PyObject * obj4 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Image_SetMaskFromImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
9269 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9270 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9271 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9272 SWIG_POINTER_EXCEPTION | 0)) == -1)
9273 SWIG_fail;
d14a1e28 9274 if (arg2 == NULL) {
2f4c0a16
RD
9275 PyErr_SetString(PyExc_TypeError,"null reference");
9276 SWIG_fail;
83448d71 9277 }
2f4c0a16
RD
9278 arg3 = (byte) SWIG_AsUnsignedChar(obj2);
9279 if (PyErr_Occurred()) SWIG_fail;
9280 arg4 = (byte) SWIG_AsUnsignedChar(obj3);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 arg5 = (byte) SWIG_AsUnsignedChar(obj4);
9283 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 result = (bool)(arg1)->SetMaskFromImage((wxImage const &)*arg2,arg3,arg4,arg5);
9287
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
4e760a36 9291 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9292 return resultobj;
9293 fail:
9294 return NULL;
9295}
9296
9297
9298static PyObject *_wrap_Image_CanRead(PyObject *self, PyObject *args, PyObject *kwargs) {
9299 PyObject *resultobj;
9300 wxString *arg1 = 0 ;
9301 bool result;
423f194a 9302 bool temp1 = False ;
d14a1e28
RD
9303 PyObject * obj0 = 0 ;
9304 char *kwnames[] = {
9305 (char *) "name", NULL
9306 };
9307
9308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanRead",kwnames,&obj0)) goto fail;
9309 {
9310 arg1 = wxString_in_helper(obj0);
9311 if (arg1 == NULL) SWIG_fail;
423f194a 9312 temp1 = True;
d14a1e28
RD
9313 }
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 result = (bool)wxImage::CanRead((wxString const &)*arg1);
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
4e760a36 9321 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9322 {
9323 if (temp1)
9324 delete arg1;
9325 }
9326 return resultobj;
9327 fail:
9328 {
9329 if (temp1)
9330 delete arg1;
9331 }
9332 return NULL;
9333}
9334
9335
9336static PyObject *_wrap_Image_GetImageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj;
9338 wxString *arg1 = 0 ;
9339 long arg2 = (long) wxBITMAP_TYPE_ANY ;
9340 int result;
423f194a 9341 bool temp1 = False ;
d14a1e28 9342 PyObject * obj0 = 0 ;
8edf1c75 9343 PyObject * obj1 = 0 ;
d14a1e28
RD
9344 char *kwnames[] = {
9345 (char *) "name",(char *) "type", NULL
9346 };
9347
8edf1c75 9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_GetImageCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
9349 {
9350 arg1 = wxString_in_helper(obj0);
9351 if (arg1 == NULL) SWIG_fail;
423f194a 9352 temp1 = True;
d14a1e28 9353 }
8edf1c75 9354 if (obj1) {
2f4c0a16
RD
9355 arg2 = (long) SWIG_AsLong(obj1);
9356 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9357 }
d14a1e28
RD
9358 {
9359 PyThreadState* __tstate = wxPyBeginAllowThreads();
9360 result = (int)wxImage::GetImageCount((wxString const &)*arg1,arg2);
9361
9362 wxPyEndAllowThreads(__tstate);
9363 if (PyErr_Occurred()) SWIG_fail;
9364 }
2f4c0a16 9365 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9366 {
9367 if (temp1)
9368 delete arg1;
9369 }
9370 return resultobj;
9371 fail:
9372 {
9373 if (temp1)
9374 delete arg1;
9375 }
9376 return NULL;
9377}
9378
9379
9380static PyObject *_wrap_Image_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9381 PyObject *resultobj;
9382 wxImage *arg1 = (wxImage *) 0 ;
9383 wxString *arg2 = 0 ;
9384 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9385 int arg4 = (int) -1 ;
9386 bool result;
423f194a 9387 bool temp2 = False ;
d14a1e28
RD
9388 PyObject * obj0 = 0 ;
9389 PyObject * obj1 = 0 ;
8edf1c75
RD
9390 PyObject * obj2 = 0 ;
9391 PyObject * obj3 = 0 ;
d14a1e28
RD
9392 char *kwnames[] = {
9393 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9394 };
9395
8edf1c75 9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9397 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9398 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9399 {
9400 arg2 = wxString_in_helper(obj1);
9401 if (arg2 == NULL) SWIG_fail;
423f194a 9402 temp2 = True;
d14a1e28 9403 }
8edf1c75 9404 if (obj2) {
2f4c0a16
RD
9405 arg3 = (long) SWIG_AsLong(obj2);
9406 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9407 }
9408 if (obj3) {
2f4c0a16
RD
9409 arg4 = (int) SWIG_AsInt(obj3);
9410 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9411 }
d14a1e28
RD
9412 {
9413 PyThreadState* __tstate = wxPyBeginAllowThreads();
9414 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,arg3,arg4);
9415
9416 wxPyEndAllowThreads(__tstate);
9417 if (PyErr_Occurred()) SWIG_fail;
9418 }
4e760a36 9419 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9420 {
9421 if (temp2)
9422 delete arg2;
9423 }
9424 return resultobj;
9425 fail:
9426 {
9427 if (temp2)
9428 delete arg2;
9429 }
9430 return NULL;
9431}
9432
9433
9434static PyObject *_wrap_Image_LoadMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9435 PyObject *resultobj;
9436 wxImage *arg1 = (wxImage *) 0 ;
9437 wxString *arg2 = 0 ;
9438 wxString *arg3 = 0 ;
9439 int arg4 = (int) -1 ;
9440 bool result;
423f194a
RD
9441 bool temp2 = False ;
9442 bool temp3 = False ;
d14a1e28
RD
9443 PyObject * obj0 = 0 ;
9444 PyObject * obj1 = 0 ;
9445 PyObject * obj2 = 0 ;
8edf1c75 9446 PyObject * obj3 = 0 ;
d14a1e28
RD
9447 char *kwnames[] = {
9448 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9449 };
9450
8edf1c75 9451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeFile",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9452 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9453 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9454 {
9455 arg2 = wxString_in_helper(obj1);
9456 if (arg2 == NULL) SWIG_fail;
423f194a 9457 temp2 = True;
d14a1e28
RD
9458 }
9459 {
9460 arg3 = wxString_in_helper(obj2);
9461 if (arg3 == NULL) SWIG_fail;
423f194a 9462 temp3 = True;
d14a1e28 9463 }
8edf1c75 9464 if (obj3) {
2f4c0a16
RD
9465 arg4 = (int) SWIG_AsInt(obj3);
9466 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9467 }
d14a1e28
RD
9468 {
9469 PyThreadState* __tstate = wxPyBeginAllowThreads();
9470 result = (bool)(arg1)->LoadFile((wxString const &)*arg2,(wxString const &)*arg3,arg4);
9471
9472 wxPyEndAllowThreads(__tstate);
9473 if (PyErr_Occurred()) SWIG_fail;
9474 }
4e760a36 9475 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9476 {
9477 if (temp2)
9478 delete arg2;
9479 }
9480 {
9481 if (temp3)
9482 delete arg3;
9483 }
9484 return resultobj;
9485 fail:
9486 {
9487 if (temp2)
9488 delete arg2;
9489 }
9490 {
9491 if (temp3)
9492 delete arg3;
9493 }
9494 return NULL;
9495}
9496
9497
9498static PyObject *_wrap_Image_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9499 PyObject *resultobj;
9500 wxImage *arg1 = (wxImage *) 0 ;
9501 wxString *arg2 = 0 ;
9502 int arg3 ;
9503 bool result;
423f194a 9504 bool temp2 = False ;
d14a1e28
RD
9505 PyObject * obj0 = 0 ;
9506 PyObject * obj1 = 0 ;
8edf1c75 9507 PyObject * obj2 = 0 ;
d14a1e28
RD
9508 char *kwnames[] = {
9509 (char *) "self",(char *) "name",(char *) "type", NULL
9510 };
9511
8edf1c75 9512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9513 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9514 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9515 {
9516 arg2 = wxString_in_helper(obj1);
9517 if (arg2 == NULL) SWIG_fail;
423f194a 9518 temp2 = True;
d14a1e28 9519 }
2f4c0a16
RD
9520 arg3 = (int) SWIG_AsInt(obj2);
9521 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9522 {
9523 PyThreadState* __tstate = wxPyBeginAllowThreads();
9524 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,arg3);
9525
9526 wxPyEndAllowThreads(__tstate);
9527 if (PyErr_Occurred()) SWIG_fail;
9528 }
4e760a36 9529 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9530 {
9531 if (temp2)
9532 delete arg2;
9533 }
9534 return resultobj;
9535 fail:
9536 {
9537 if (temp2)
9538 delete arg2;
9539 }
9540 return NULL;
9541}
9542
9543
9544static PyObject *_wrap_Image_SaveMimeFile(PyObject *self, PyObject *args, PyObject *kwargs) {
9545 PyObject *resultobj;
9546 wxImage *arg1 = (wxImage *) 0 ;
9547 wxString *arg2 = 0 ;
9548 wxString *arg3 = 0 ;
9549 bool result;
423f194a
RD
9550 bool temp2 = False ;
9551 bool temp3 = False ;
d14a1e28
RD
9552 PyObject * obj0 = 0 ;
9553 PyObject * obj1 = 0 ;
9554 PyObject * obj2 = 0 ;
9555 char *kwnames[] = {
9556 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9557 };
9558
9559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SaveMimeFile",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
9560 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9561 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9562 {
9563 arg2 = wxString_in_helper(obj1);
9564 if (arg2 == NULL) SWIG_fail;
423f194a 9565 temp2 = True;
d14a1e28
RD
9566 }
9567 {
9568 arg3 = wxString_in_helper(obj2);
9569 if (arg3 == NULL) SWIG_fail;
423f194a 9570 temp3 = True;
d14a1e28
RD
9571 }
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 result = (bool)(arg1)->SaveFile((wxString const &)*arg2,(wxString const &)*arg3);
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
4e760a36 9579 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9580 {
9581 if (temp2)
9582 delete arg2;
9583 }
9584 {
9585 if (temp3)
9586 delete arg3;
9587 }
9588 return resultobj;
9589 fail:
9590 {
9591 if (temp2)
9592 delete arg2;
9593 }
9594 {
9595 if (temp3)
9596 delete arg3;
9597 }
9598 return NULL;
9599}
9600
9601
9602static PyObject *_wrap_Image_CanReadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9603 PyObject *resultobj;
9604 wxInputStream *arg1 = 0 ;
9605 bool result;
9606 wxPyInputStream *temp1 ;
9607 bool created1 ;
9608 PyObject * obj0 = 0 ;
9609 char *kwnames[] = {
9610 (char *) "stream", NULL
9611 };
9612
9613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_CanReadStream",kwnames,&obj0)) goto fail;
9614 {
9615 if (wxPyConvertSwigPtr(obj0, (void **)&temp1, wxT("wxPyInputStream"))) {
9616 arg1 = temp1->m_wxis;
423f194a 9617 created1 = False;
d14a1e28
RD
9618 } else {
9619 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 9620 arg1 = wxPyCBInputStream_create(obj0, False);
d14a1e28
RD
9621 if (arg1 == NULL) {
9622 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9623 SWIG_fail;
9624 }
423f194a 9625 created1 = True;
d14a1e28
RD
9626 }
9627 }
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 result = (bool)wxImage::CanRead(*arg1);
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
4e760a36 9635 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9636 {
9637 if (created1)
9638 delete arg1;
9639 }
9640 return resultobj;
9641 fail:
9642 {
9643 if (created1)
9644 delete arg1;
9645 }
9646 return NULL;
9647}
9648
9649
9650static PyObject *_wrap_Image_LoadStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxImage *arg1 = (wxImage *) 0 ;
9653 wxInputStream *arg2 = 0 ;
9654 long arg3 = (long) wxBITMAP_TYPE_ANY ;
9655 int arg4 = (int) -1 ;
9656 bool result;
9657 wxPyInputStream *temp2 ;
9658 bool created2 ;
9659 PyObject * obj0 = 0 ;
9660 PyObject * obj1 = 0 ;
8edf1c75
RD
9661 PyObject * obj2 = 0 ;
9662 PyObject * obj3 = 0 ;
d14a1e28
RD
9663 char *kwnames[] = {
9664 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9665 };
9666
8edf1c75 9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:Image_LoadStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9668 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9669 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9670 {
9671 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9672 arg2 = temp2->m_wxis;
423f194a 9673 created2 = False;
d14a1e28
RD
9674 } else {
9675 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 9676 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9677 if (arg2 == NULL) {
9678 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9679 SWIG_fail;
9680 }
423f194a 9681 created2 = True;
d14a1e28
RD
9682 }
9683 }
8edf1c75 9684 if (obj2) {
2f4c0a16
RD
9685 arg3 = (long) SWIG_AsLong(obj2);
9686 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
9687 }
9688 if (obj3) {
2f4c0a16
RD
9689 arg4 = (int) SWIG_AsInt(obj3);
9690 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9691 }
d14a1e28
RD
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 result = (bool)(arg1)->LoadFile(*arg2,arg3,arg4);
9695
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
4e760a36 9699 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9700 {
9701 if (created2)
9702 delete arg2;
9703 }
9704 return resultobj;
9705 fail:
9706 {
9707 if (created2)
9708 delete arg2;
9709 }
9710 return NULL;
9711}
9712
9713
9714static PyObject *_wrap_Image_LoadMimeStream(PyObject *self, PyObject *args, PyObject *kwargs) {
9715 PyObject *resultobj;
9716 wxImage *arg1 = (wxImage *) 0 ;
9717 wxInputStream *arg2 = 0 ;
9718 wxString *arg3 = 0 ;
9719 int arg4 = (int) -1 ;
9720 bool result;
9721 wxPyInputStream *temp2 ;
9722 bool created2 ;
423f194a 9723 bool temp3 = False ;
d14a1e28
RD
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
9726 PyObject * obj2 = 0 ;
8edf1c75 9727 PyObject * obj3 = 0 ;
d14a1e28
RD
9728 char *kwnames[] = {
9729 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9730 };
9731
8edf1c75 9732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Image_LoadMimeStream",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9735 {
9736 if (wxPyConvertSwigPtr(obj1, (void **)&temp2, wxT("wxPyInputStream"))) {
9737 arg2 = temp2->m_wxis;
423f194a 9738 created2 = False;
d14a1e28
RD
9739 } else {
9740 PyErr_Clear(); // clear the failure of the wxPyConvert above
423f194a 9741 arg2 = wxPyCBInputStream_create(obj1, False);
d14a1e28
RD
9742 if (arg2 == NULL) {
9743 PyErr_SetString(PyExc_TypeError, "Expected wxInputStream or Python file-like object.");
9744 SWIG_fail;
9745 }
423f194a 9746 created2 = True;
d14a1e28
RD
9747 }
9748 }
9749 {
9750 arg3 = wxString_in_helper(obj2);
9751 if (arg3 == NULL) SWIG_fail;
423f194a 9752 temp3 = True;
d14a1e28 9753 }
8edf1c75 9754 if (obj3) {
2f4c0a16
RD
9755 arg4 = (int) SWIG_AsInt(obj3);
9756 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 9757 }
d14a1e28
RD
9758 {
9759 PyThreadState* __tstate = wxPyBeginAllowThreads();
9760 result = (bool)(arg1)->LoadFile(*arg2,(wxString const &)*arg3,arg4);
9761
9762 wxPyEndAllowThreads(__tstate);
9763 if (PyErr_Occurred()) SWIG_fail;
9764 }
4e760a36 9765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9766 {
9767 if (created2)
9768 delete arg2;
9769 }
9770 {
9771 if (temp3)
9772 delete arg3;
9773 }
9774 return resultobj;
9775 fail:
9776 {
9777 if (created2)
9778 delete arg2;
9779 }
9780 {
9781 if (temp3)
9782 delete arg3;
9783 }
9784 return NULL;
9785}
9786
9787
9788static PyObject *_wrap_Image_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj;
9790 wxImage *arg1 = (wxImage *) 0 ;
9791 bool result;
9792 PyObject * obj0 = 0 ;
9793 char *kwnames[] = {
9794 (char *) "self", NULL
9795 };
9796
9797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9800 {
9801 PyThreadState* __tstate = wxPyBeginAllowThreads();
9802 result = (bool)(arg1)->Ok();
9803
9804 wxPyEndAllowThreads(__tstate);
9805 if (PyErr_Occurred()) SWIG_fail;
9806 }
4e760a36 9807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9808 return resultobj;
9809 fail:
9810 return NULL;
9811}
9812
9813
9814static PyObject *_wrap_Image_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
9815 PyObject *resultobj;
9816 wxImage *arg1 = (wxImage *) 0 ;
9817 int result;
9818 PyObject * obj0 = 0 ;
9819 char *kwnames[] = {
9820 (char *) "self", NULL
9821 };
9822
9823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9826 {
9827 PyThreadState* __tstate = wxPyBeginAllowThreads();
9828 result = (int)(arg1)->GetWidth();
9829
9830 wxPyEndAllowThreads(__tstate);
9831 if (PyErr_Occurred()) SWIG_fail;
9832 }
2f4c0a16 9833 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9834 return resultobj;
9835 fail:
9836 return NULL;
9837}
9838
9839
9840static PyObject *_wrap_Image_GetHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
9841 PyObject *resultobj;
9842 wxImage *arg1 = (wxImage *) 0 ;
9843 int result;
9844 PyObject * obj0 = 0 ;
9845 char *kwnames[] = {
9846 (char *) "self", NULL
9847 };
9848
9849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 result = (int)(arg1)->GetHeight();
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
2f4c0a16 9859 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
9860 return resultobj;
9861 fail:
9862 return NULL;
9863}
9864
9865
9866static PyObject *_wrap_Image_GetSubImage(PyObject *self, PyObject *args, PyObject *kwargs) {
9867 PyObject *resultobj;
9868 wxImage *arg1 = (wxImage *) 0 ;
9869 wxRect *arg2 = 0 ;
9870 SwigValueWrapper< wxImage > result;
9871 wxRect temp2 ;
9872 PyObject * obj0 = 0 ;
9873 PyObject * obj1 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self",(char *) "rect", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetSubImage",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
9879 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9880 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9881 {
9882 arg2 = &temp2;
9883 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
9884 }
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = (arg1)->GetSubImage((wxRect const &)*arg2);
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 {
9893 wxImage * resultptr;
9894 resultptr = new wxImage((wxImage &) result);
2f4c0a16 9895 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9896 }
9897 return resultobj;
9898 fail:
9899 return NULL;
9900}
9901
9902
9903static PyObject *_wrap_Image_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
9904 PyObject *resultobj;
9905 wxImage *arg1 = (wxImage *) 0 ;
9906 SwigValueWrapper< wxImage > result;
9907 PyObject * obj0 = 0 ;
9908 char *kwnames[] = {
9909 (char *) "self", NULL
9910 };
9911
9912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_Copy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9913 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9915 {
9916 PyThreadState* __tstate = wxPyBeginAllowThreads();
9917 result = (arg1)->Copy();
9918
9919 wxPyEndAllowThreads(__tstate);
9920 if (PyErr_Occurred()) SWIG_fail;
9921 }
9922 {
9923 wxImage * resultptr;
9924 resultptr = new wxImage((wxImage &) result);
2f4c0a16 9925 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
9926 }
9927 return resultobj;
9928 fail:
9929 return NULL;
9930}
9931
9932
9933static PyObject *_wrap_Image_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
9934 PyObject *resultobj;
9935 wxImage *arg1 = (wxImage *) 0 ;
9936 wxImage *arg2 = 0 ;
9937 int arg3 ;
9938 int arg4 ;
9939 PyObject * obj0 = 0 ;
9940 PyObject * obj1 = 0 ;
8edf1c75
RD
9941 PyObject * obj2 = 0 ;
9942 PyObject * obj3 = 0 ;
d14a1e28
RD
9943 char *kwnames[] = {
9944 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9945 };
9946
8edf1c75 9947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_Paste",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
9948 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9949 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
9950 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImage,
9951 SWIG_POINTER_EXCEPTION | 0)) == -1)
9952 SWIG_fail;
d14a1e28 9953 if (arg2 == NULL) {
2f4c0a16
RD
9954 PyErr_SetString(PyExc_TypeError,"null reference");
9955 SWIG_fail;
8edf1c75 9956 }
2f4c0a16
RD
9957 arg3 = (int) SWIG_AsInt(obj2);
9958 if (PyErr_Occurred()) SWIG_fail;
9959 arg4 = (int) SWIG_AsInt(obj3);
9960 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
9961 {
9962 PyThreadState* __tstate = wxPyBeginAllowThreads();
9963 (arg1)->Paste((wxImage const &)*arg2,arg3,arg4);
9964
9965 wxPyEndAllowThreads(__tstate);
9966 if (PyErr_Occurred()) SWIG_fail;
9967 }
9968 Py_INCREF(Py_None); resultobj = Py_None;
9969 return resultobj;
9970 fail:
9971 return NULL;
9972}
9973
9974
9975static PyObject *_wrap_Image_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
9976 PyObject *resultobj;
9977 wxImage *arg1 = (wxImage *) 0 ;
9978 PyObject *result;
9979 PyObject * obj0 = 0 ;
9980 char *kwnames[] = {
9981 (char *) "self", NULL
9982 };
9983
9984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
9985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
9986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 result = (PyObject *)wxImage_GetData(arg1);
9990
9991 wxPyEndAllowThreads(__tstate);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 }
9994 resultobj = result;
9995 return resultobj;
9996 fail:
9997 return NULL;
9998}
9999
10000
10001static PyObject *_wrap_Image_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
10002 PyObject *resultobj;
10003 wxImage *arg1 = (wxImage *) 0 ;
10004 PyObject *arg2 = (PyObject *) 0 ;
10005 PyObject * obj0 = 0 ;
10006 PyObject * obj1 = 0 ;
10007 char *kwnames[] = {
10008 (char *) "self",(char *) "data", NULL
10009 };
10010
10011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10014 arg2 = obj1;
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 wxImage_SetData(arg1,arg2);
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 Py_INCREF(Py_None); resultobj = Py_None;
10023 return resultobj;
10024 fail:
10025 return NULL;
10026}
10027
10028
10029static PyObject *_wrap_Image_GetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10030 PyObject *resultobj;
10031 wxImage *arg1 = (wxImage *) 0 ;
10032 PyObject *result;
10033 PyObject * obj0 = 0 ;
10034 char *kwnames[] = {
10035 (char *) "self", NULL
10036 };
10037
10038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetDataBuffer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10041 {
10042 PyThreadState* __tstate = wxPyBeginAllowThreads();
10043 result = (PyObject *)wxImage_GetDataBuffer(arg1);
10044
10045 wxPyEndAllowThreads(__tstate);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 }
10048 resultobj = result;
10049 return resultobj;
10050 fail:
10051 return NULL;
10052}
10053
10054
10055static PyObject *_wrap_Image_SetDataBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10056 PyObject *resultobj;
10057 wxImage *arg1 = (wxImage *) 0 ;
10058 PyObject *arg2 = (PyObject *) 0 ;
10059 PyObject * obj0 = 0 ;
10060 PyObject * obj1 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "self",(char *) "data", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetDataBuffer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10068 arg2 = obj1;
10069 {
10070 PyThreadState* __tstate = wxPyBeginAllowThreads();
10071 wxImage_SetDataBuffer(arg1,arg2);
10072
10073 wxPyEndAllowThreads(__tstate);
10074 if (PyErr_Occurred()) SWIG_fail;
10075 }
10076 Py_INCREF(Py_None); resultobj = Py_None;
10077 return resultobj;
10078 fail:
10079 return NULL;
10080}
10081
10082
10083static PyObject *_wrap_Image_GetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10084 PyObject *resultobj;
10085 wxImage *arg1 = (wxImage *) 0 ;
10086 PyObject *result;
10087 PyObject * obj0 = 0 ;
10088 char *kwnames[] = {
10089 (char *) "self", NULL
10090 };
10091
10092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 result = (PyObject *)wxImage_GetAlphaData(arg1);
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 resultobj = result;
10103 return resultobj;
10104 fail:
10105 return NULL;
10106}
10107
10108
10109static PyObject *_wrap_Image_SetAlphaData(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject *resultobj;
10111 wxImage *arg1 = (wxImage *) 0 ;
10112 PyObject *arg2 = (PyObject *) 0 ;
10113 PyObject * obj0 = 0 ;
10114 PyObject * obj1 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self",(char *) "data", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10122 arg2 = obj1;
10123 {
10124 PyThreadState* __tstate = wxPyBeginAllowThreads();
10125 wxImage_SetAlphaData(arg1,arg2);
10126
10127 wxPyEndAllowThreads(__tstate);
10128 if (PyErr_Occurred()) SWIG_fail;
10129 }
10130 Py_INCREF(Py_None); resultobj = Py_None;
10131 return resultobj;
10132 fail:
10133 return NULL;
10134}
10135
10136
10137static PyObject *_wrap_Image_GetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10138 PyObject *resultobj;
10139 wxImage *arg1 = (wxImage *) 0 ;
10140 PyObject *result;
10141 PyObject * obj0 = 0 ;
10142 char *kwnames[] = {
10143 (char *) "self", NULL
10144 };
10145
10146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetAlphaBuffer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10147 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10148 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10149 {
10150 PyThreadState* __tstate = wxPyBeginAllowThreads();
10151 result = (PyObject *)wxImage_GetAlphaBuffer(arg1);
10152
10153 wxPyEndAllowThreads(__tstate);
10154 if (PyErr_Occurred()) SWIG_fail;
10155 }
10156 resultobj = result;
10157 return resultobj;
10158 fail:
10159 return NULL;
10160}
10161
10162
10163static PyObject *_wrap_Image_SetAlphaBuffer(PyObject *self, PyObject *args, PyObject *kwargs) {
10164 PyObject *resultobj;
10165 wxImage *arg1 = (wxImage *) 0 ;
10166 PyObject *arg2 = (PyObject *) 0 ;
10167 PyObject * obj0 = 0 ;
10168 PyObject * obj1 = 0 ;
10169 char *kwnames[] = {
10170 (char *) "self",(char *) "data", NULL
10171 };
10172
10173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_SetAlphaBuffer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10174 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10175 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10176 arg2 = obj1;
10177 {
10178 PyThreadState* __tstate = wxPyBeginAllowThreads();
10179 wxImage_SetAlphaBuffer(arg1,arg2);
10180
10181 wxPyEndAllowThreads(__tstate);
10182 if (PyErr_Occurred()) SWIG_fail;
10183 }
10184 Py_INCREF(Py_None); resultobj = Py_None;
10185 return resultobj;
10186 fail:
10187 return NULL;
10188}
10189
10190
10191static PyObject *_wrap_Image_SetMaskColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10192 PyObject *resultobj;
10193 wxImage *arg1 = (wxImage *) 0 ;
10194 unsigned char arg2 ;
10195 unsigned char arg3 ;
10196 unsigned char arg4 ;
10197 PyObject * obj0 = 0 ;
10198 PyObject * obj1 = 0 ;
10199 PyObject * obj2 = 0 ;
10200 PyObject * obj3 = 0 ;
10201 char *kwnames[] = {
10202 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10203 };
10204
10205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_SetMaskColour",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10208 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10209 if (PyErr_Occurred()) SWIG_fail;
10210 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10211 if (PyErr_Occurred()) SWIG_fail;
10212 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10213 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10214 {
10215 PyThreadState* __tstate = wxPyBeginAllowThreads();
10216 (arg1)->SetMaskColour(arg2,arg3,arg4);
10217
10218 wxPyEndAllowThreads(__tstate);
10219 if (PyErr_Occurred()) SWIG_fail;
10220 }
10221 Py_INCREF(Py_None); resultobj = Py_None;
10222 return resultobj;
10223 fail:
10224 return NULL;
10225}
10226
10227
10228static PyObject *_wrap_Image_GetMaskRed(PyObject *self, PyObject *args, PyObject *kwargs) {
10229 PyObject *resultobj;
10230 wxImage *arg1 = (wxImage *) 0 ;
10231 unsigned char result;
10232 PyObject * obj0 = 0 ;
10233 char *kwnames[] = {
10234 (char *) "self", NULL
10235 };
10236
10237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskRed",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10240 {
10241 PyThreadState* __tstate = wxPyBeginAllowThreads();
10242 result = (unsigned char)(arg1)->GetMaskRed();
10243
10244 wxPyEndAllowThreads(__tstate);
10245 if (PyErr_Occurred()) SWIG_fail;
10246 }
2f4c0a16 10247 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10248 return resultobj;
10249 fail:
10250 return NULL;
10251}
10252
10253
10254static PyObject *_wrap_Image_GetMaskGreen(PyObject *self, PyObject *args, PyObject *kwargs) {
10255 PyObject *resultobj;
10256 wxImage *arg1 = (wxImage *) 0 ;
10257 unsigned char result;
10258 PyObject * obj0 = 0 ;
10259 char *kwnames[] = {
10260 (char *) "self", NULL
10261 };
10262
10263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskGreen",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10266 {
10267 PyThreadState* __tstate = wxPyBeginAllowThreads();
10268 result = (unsigned char)(arg1)->GetMaskGreen();
10269
10270 wxPyEndAllowThreads(__tstate);
10271 if (PyErr_Occurred()) SWIG_fail;
10272 }
2f4c0a16 10273 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10274 return resultobj;
10275 fail:
10276 return NULL;
10277}
10278
10279
10280static PyObject *_wrap_Image_GetMaskBlue(PyObject *self, PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj;
10282 wxImage *arg1 = (wxImage *) 0 ;
10283 unsigned char result;
10284 PyObject * obj0 = 0 ;
10285 char *kwnames[] = {
10286 (char *) "self", NULL
10287 };
10288
10289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_GetMaskBlue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 result = (unsigned char)(arg1)->GetMaskBlue();
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
2f4c0a16 10299 resultobj = SWIG_FromUnsignedChar((unsigned char)result);
d14a1e28
RD
10300 return resultobj;
10301 fail:
10302 return NULL;
10303}
10304
10305
10306static PyObject *_wrap_Image_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10307 PyObject *resultobj;
10308 wxImage *arg1 = (wxImage *) 0 ;
423f194a 10309 bool arg2 = (bool) True ;
d14a1e28
RD
10310 PyObject * obj0 = 0 ;
10311 PyObject * obj1 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "self",(char *) "mask", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_SetMask",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10319 if (obj1) {
2f4c0a16
RD
10320 arg2 = (bool) SWIG_AsBool(obj1);
10321 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10322 }
10323 {
10324 PyThreadState* __tstate = wxPyBeginAllowThreads();
10325 (arg1)->SetMask(arg2);
10326
10327 wxPyEndAllowThreads(__tstate);
10328 if (PyErr_Occurred()) SWIG_fail;
10329 }
10330 Py_INCREF(Py_None); resultobj = Py_None;
10331 return resultobj;
10332 fail:
10333 return NULL;
10334}
10335
10336
10337static PyObject *_wrap_Image_HasMask(PyObject *self, PyObject *args, PyObject *kwargs) {
10338 PyObject *resultobj;
10339 wxImage *arg1 = (wxImage *) 0 ;
10340 bool result;
10341 PyObject * obj0 = 0 ;
10342 char *kwnames[] = {
10343 (char *) "self", NULL
10344 };
10345
10346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_HasMask",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10349 {
10350 PyThreadState* __tstate = wxPyBeginAllowThreads();
10351 result = (bool)(arg1)->HasMask();
10352
10353 wxPyEndAllowThreads(__tstate);
10354 if (PyErr_Occurred()) SWIG_fail;
10355 }
4e760a36 10356 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10357 return resultobj;
10358 fail:
10359 return NULL;
10360}
10361
10362
10363static PyObject *_wrap_Image_Rotate(PyObject *self, PyObject *args, PyObject *kwargs) {
10364 PyObject *resultobj;
10365 wxImage *arg1 = (wxImage *) 0 ;
10366 double arg2 ;
10367 wxPoint *arg3 = 0 ;
423f194a 10368 bool arg4 = (bool) True ;
d14a1e28
RD
10369 wxPoint *arg5 = (wxPoint *) NULL ;
10370 SwigValueWrapper< wxImage > result;
10371 wxPoint temp3 ;
10372 PyObject * obj0 = 0 ;
8edf1c75 10373 PyObject * obj1 = 0 ;
d14a1e28
RD
10374 PyObject * obj2 = 0 ;
10375 PyObject * obj3 = 0 ;
10376 PyObject * obj4 = 0 ;
10377 char *kwnames[] = {
10378 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10379 };
10380
8edf1c75 10381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Image_Rotate",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
10382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10384 arg2 = (double) SWIG_AsDouble(obj1);
10385 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10386 {
10387 arg3 = &temp3;
10388 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10389 }
10390 if (obj3) {
2f4c0a16
RD
10391 arg4 = (bool) SWIG_AsBool(obj3);
10392 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10393 }
10394 if (obj4) {
2f4c0a16
RD
10395 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxPoint,
10396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10397 }
10398 {
10399 PyThreadState* __tstate = wxPyBeginAllowThreads();
10400 result = ((wxImage const *)arg1)->Rotate(arg2,(wxPoint const &)*arg3,arg4,arg5);
10401
10402 wxPyEndAllowThreads(__tstate);
10403 if (PyErr_Occurred()) SWIG_fail;
10404 }
10405 {
10406 wxImage * resultptr;
10407 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10408 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10409 }
10410 return resultobj;
10411 fail:
10412 return NULL;
10413}
10414
10415
10416static PyObject *_wrap_Image_Rotate90(PyObject *self, PyObject *args, PyObject *kwargs) {
10417 PyObject *resultobj;
10418 wxImage *arg1 = (wxImage *) 0 ;
423f194a 10419 bool arg2 = (bool) True ;
d14a1e28
RD
10420 SwigValueWrapper< wxImage > result;
10421 PyObject * obj0 = 0 ;
10422 PyObject * obj1 = 0 ;
10423 char *kwnames[] = {
10424 (char *) "self",(char *) "clockwise", NULL
10425 };
10426
10427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Rotate90",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10430 if (obj1) {
2f4c0a16
RD
10431 arg2 = (bool) SWIG_AsBool(obj1);
10432 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10433 }
10434 {
10435 PyThreadState* __tstate = wxPyBeginAllowThreads();
10436 result = (arg1)->Rotate90(arg2);
10437
10438 wxPyEndAllowThreads(__tstate);
10439 if (PyErr_Occurred()) SWIG_fail;
10440 }
10441 {
10442 wxImage * resultptr;
10443 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10444 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10445 }
10446 return resultobj;
10447 fail:
10448 return NULL;
10449}
10450
10451
10452static PyObject *_wrap_Image_Mirror(PyObject *self, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 wxImage *arg1 = (wxImage *) 0 ;
423f194a 10455 bool arg2 = (bool) True ;
d14a1e28
RD
10456 SwigValueWrapper< wxImage > result;
10457 PyObject * obj0 = 0 ;
10458 PyObject * obj1 = 0 ;
10459 char *kwnames[] = {
10460 (char *) "self",(char *) "horizontally", NULL
10461 };
10462
10463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_Mirror",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10466 if (obj1) {
2f4c0a16
RD
10467 arg2 = (bool) SWIG_AsBool(obj1);
10468 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10469 }
10470 {
10471 PyThreadState* __tstate = wxPyBeginAllowThreads();
10472 result = (arg1)->Mirror(arg2);
10473
10474 wxPyEndAllowThreads(__tstate);
10475 if (PyErr_Occurred()) SWIG_fail;
10476 }
10477 {
10478 wxImage * resultptr;
10479 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10480 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10481 }
10482 return resultobj;
10483 fail:
10484 return NULL;
10485}
10486
10487
10488static PyObject *_wrap_Image_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj;
10490 wxImage *arg1 = (wxImage *) 0 ;
10491 unsigned char arg2 ;
10492 unsigned char arg3 ;
10493 unsigned char arg4 ;
10494 unsigned char arg5 ;
10495 unsigned char arg6 ;
10496 unsigned char arg7 ;
10497 PyObject * obj0 = 0 ;
10498 PyObject * obj1 = 0 ;
10499 PyObject * obj2 = 0 ;
10500 PyObject * obj3 = 0 ;
10501 PyObject * obj4 = 0 ;
10502 PyObject * obj5 = 0 ;
10503 PyObject * obj6 = 0 ;
10504 char *kwnames[] = {
10505 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10506 };
10507
10508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:Image_Replace",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
10509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10511 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10512 if (PyErr_Occurred()) SWIG_fail;
10513 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10516 if (PyErr_Occurred()) SWIG_fail;
10517 arg5 = (unsigned char) SWIG_AsUnsignedChar(obj4);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 arg6 = (unsigned char) SWIG_AsUnsignedChar(obj5);
10520 if (PyErr_Occurred()) SWIG_fail;
10521 arg7 = (unsigned char) SWIG_AsUnsignedChar(obj6);
10522 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 (arg1)->Replace(arg2,arg3,arg4,arg5,arg6,arg7);
10526
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 Py_INCREF(Py_None); resultobj = Py_None;
10531 return resultobj;
10532 fail:
10533 return NULL;
10534}
10535
10536
10537static PyObject *_wrap_Image_ConvertToMono(PyObject *self, PyObject *args, PyObject *kwargs) {
10538 PyObject *resultobj;
10539 wxImage *arg1 = (wxImage *) 0 ;
10540 unsigned char arg2 ;
10541 unsigned char arg3 ;
10542 unsigned char arg4 ;
10543 SwigValueWrapper< wxImage > result;
10544 PyObject * obj0 = 0 ;
10545 PyObject * obj1 = 0 ;
10546 PyObject * obj2 = 0 ;
10547 PyObject * obj3 = 0 ;
10548 char *kwnames[] = {
10549 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10550 };
10551
10552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMono",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
10553 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10554 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10555 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
10556 if (PyErr_Occurred()) SWIG_fail;
10557 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
10558 if (PyErr_Occurred()) SWIG_fail;
10559 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
10560 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = ((wxImage const *)arg1)->ConvertToMono(arg2,arg3,arg4);
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 {
10569 wxImage * resultptr;
10570 resultptr = new wxImage((wxImage &) result);
2f4c0a16 10571 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxImage, 1);
d14a1e28
RD
10572 }
10573 return resultobj;
10574 fail:
10575 return NULL;
10576}
10577
10578
10579static PyObject *_wrap_Image_SetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10580 PyObject *resultobj;
10581 wxImage *arg1 = (wxImage *) 0 ;
10582 wxString *arg2 = 0 ;
10583 wxString *arg3 = 0 ;
423f194a
RD
10584 bool temp2 = False ;
10585 bool temp3 = False ;
d14a1e28
RD
10586 PyObject * obj0 = 0 ;
10587 PyObject * obj1 = 0 ;
10588 PyObject * obj2 = 0 ;
10589 char *kwnames[] = {
10590 (char *) "self",(char *) "name",(char *) "value", NULL
10591 };
10592
10593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOption",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10594 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10595 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10596 {
10597 arg2 = wxString_in_helper(obj1);
10598 if (arg2 == NULL) SWIG_fail;
423f194a 10599 temp2 = True;
d14a1e28
RD
10600 }
10601 {
10602 arg3 = wxString_in_helper(obj2);
10603 if (arg3 == NULL) SWIG_fail;
423f194a 10604 temp3 = True;
d14a1e28
RD
10605 }
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 (arg1)->SetOption((wxString const &)*arg2,(wxString const &)*arg3);
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 Py_INCREF(Py_None); resultobj = Py_None;
10614 {
10615 if (temp2)
10616 delete arg2;
10617 }
10618 {
10619 if (temp3)
10620 delete arg3;
10621 }
10622 return resultobj;
10623 fail:
10624 {
10625 if (temp2)
10626 delete arg2;
10627 }
10628 {
10629 if (temp3)
10630 delete arg3;
10631 }
10632 return NULL;
10633}
10634
10635
10636static PyObject *_wrap_Image_SetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10637 PyObject *resultobj;
10638 wxImage *arg1 = (wxImage *) 0 ;
10639 wxString *arg2 = 0 ;
10640 int arg3 ;
423f194a 10641 bool temp2 = False ;
d14a1e28
RD
10642 PyObject * obj0 = 0 ;
10643 PyObject * obj1 = 0 ;
8edf1c75 10644 PyObject * obj2 = 0 ;
d14a1e28
RD
10645 char *kwnames[] = {
10646 (char *) "self",(char *) "name",(char *) "value", NULL
10647 };
10648
8edf1c75 10649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Image_SetOptionInt",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
10650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10652 {
10653 arg2 = wxString_in_helper(obj1);
10654 if (arg2 == NULL) SWIG_fail;
423f194a 10655 temp2 = True;
d14a1e28 10656 }
2f4c0a16
RD
10657 arg3 = (int) SWIG_AsInt(obj2);
10658 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10659 {
10660 PyThreadState* __tstate = wxPyBeginAllowThreads();
10661 (arg1)->SetOption((wxString const &)*arg2,arg3);
10662
10663 wxPyEndAllowThreads(__tstate);
10664 if (PyErr_Occurred()) SWIG_fail;
10665 }
10666 Py_INCREF(Py_None); resultobj = Py_None;
10667 {
10668 if (temp2)
10669 delete arg2;
10670 }
10671 return resultobj;
10672 fail:
10673 {
10674 if (temp2)
10675 delete arg2;
10676 }
10677 return NULL;
10678}
10679
10680
10681static PyObject *_wrap_Image_GetOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj;
10683 wxImage *arg1 = (wxImage *) 0 ;
10684 wxString *arg2 = 0 ;
10685 wxString result;
423f194a 10686 bool temp2 = False ;
d14a1e28
RD
10687 PyObject * obj0 = 0 ;
10688 PyObject * obj1 = 0 ;
10689 char *kwnames[] = {
10690 (char *) "self",(char *) "name", NULL
10691 };
10692
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOption",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10694 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10695 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10696 {
10697 arg2 = wxString_in_helper(obj1);
10698 if (arg2 == NULL) SWIG_fail;
423f194a 10699 temp2 = True;
d14a1e28
RD
10700 }
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 result = ((wxImage const *)arg1)->GetOption((wxString const &)*arg2);
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
10708 {
10709#if wxUSE_UNICODE
10710 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10711#else
10712 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10713#endif
10714 }
10715 {
10716 if (temp2)
10717 delete arg2;
10718 }
10719 return resultobj;
10720 fail:
10721 {
10722 if (temp2)
10723 delete arg2;
10724 }
10725 return NULL;
10726}
10727
10728
10729static PyObject *_wrap_Image_GetOptionInt(PyObject *self, PyObject *args, PyObject *kwargs) {
10730 PyObject *resultobj;
10731 wxImage *arg1 = (wxImage *) 0 ;
10732 wxString *arg2 = 0 ;
10733 int result;
423f194a 10734 bool temp2 = False ;
d14a1e28
RD
10735 PyObject * obj0 = 0 ;
10736 PyObject * obj1 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self",(char *) "name", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_GetOptionInt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10742 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10743 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10744 {
10745 arg2 = wxString_in_helper(obj1);
10746 if (arg2 == NULL) SWIG_fail;
423f194a 10747 temp2 = True;
d14a1e28
RD
10748 }
10749 {
10750 PyThreadState* __tstate = wxPyBeginAllowThreads();
10751 result = (int)((wxImage const *)arg1)->GetOptionInt((wxString const &)*arg2);
10752
10753 wxPyEndAllowThreads(__tstate);
10754 if (PyErr_Occurred()) SWIG_fail;
10755 }
2f4c0a16 10756 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
10757 {
10758 if (temp2)
10759 delete arg2;
10760 }
10761 return resultobj;
10762 fail:
10763 {
10764 if (temp2)
10765 delete arg2;
10766 }
10767 return NULL;
10768}
10769
10770
10771static PyObject *_wrap_Image_HasOption(PyObject *self, PyObject *args, PyObject *kwargs) {
10772 PyObject *resultobj;
10773 wxImage *arg1 = (wxImage *) 0 ;
10774 wxString *arg2 = 0 ;
10775 bool result;
423f194a 10776 bool temp2 = False ;
d14a1e28
RD
10777 PyObject * obj0 = 0 ;
10778 PyObject * obj1 = 0 ;
10779 char *kwnames[] = {
10780 (char *) "self",(char *) "name", NULL
10781 };
10782
10783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_HasOption",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10786 {
10787 arg2 = wxString_in_helper(obj1);
10788 if (arg2 == NULL) SWIG_fail;
423f194a 10789 temp2 = True;
d14a1e28
RD
10790 }
10791 {
10792 PyThreadState* __tstate = wxPyBeginAllowThreads();
10793 result = (bool)((wxImage const *)arg1)->HasOption((wxString const &)*arg2);
10794
10795 wxPyEndAllowThreads(__tstate);
10796 if (PyErr_Occurred()) SWIG_fail;
10797 }
4e760a36 10798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10799 {
10800 if (temp2)
10801 delete arg2;
10802 }
10803 return resultobj;
10804 fail:
10805 {
10806 if (temp2)
10807 delete arg2;
10808 }
10809 return NULL;
10810}
10811
10812
10813static PyObject *_wrap_Image_CountColours(PyObject *self, PyObject *args, PyObject *kwargs) {
10814 PyObject *resultobj;
10815 wxImage *arg1 = (wxImage *) 0 ;
10816 unsigned long arg2 = (unsigned long) (unsigned long) -1 ;
10817 unsigned long result;
10818 PyObject * obj0 = 0 ;
10819 PyObject * obj1 = 0 ;
10820 char *kwnames[] = {
10821 (char *) "self",(char *) "stopafter", NULL
10822 };
10823
10824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Image_CountColours",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 10827 if (obj1) {
2f4c0a16
RD
10828 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
10829 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
10830 }
10831 {
10832 PyThreadState* __tstate = wxPyBeginAllowThreads();
10833 result = (unsigned long)(arg1)->CountColours(arg2);
10834
10835 wxPyEndAllowThreads(__tstate);
10836 if (PyErr_Occurred()) SWIG_fail;
10837 }
2f4c0a16 10838 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
10839 return resultobj;
10840 fail:
10841 return NULL;
10842}
10843
10844
10845static PyObject *_wrap_Image_ComputeHistogram(PyObject *self, PyObject *args, PyObject *kwargs) {
10846 PyObject *resultobj;
10847 wxImage *arg1 = (wxImage *) 0 ;
10848 wxImageHistogram *arg2 = 0 ;
10849 unsigned long result;
10850 PyObject * obj0 = 0 ;
10851 PyObject * obj1 = 0 ;
10852 char *kwnames[] = {
10853 (char *) "self",(char *) "h", NULL
10854 };
10855
10856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Image_ComputeHistogram",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
10857 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
10858 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
10859 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxImageHistogram,
10860 SWIG_POINTER_EXCEPTION | 0)) == -1)
10861 SWIG_fail;
d14a1e28 10862 if (arg2 == NULL) {
2f4c0a16
RD
10863 PyErr_SetString(PyExc_TypeError,"null reference");
10864 SWIG_fail;
d14a1e28
RD
10865 }
10866 {
10867 PyThreadState* __tstate = wxPyBeginAllowThreads();
10868 result = (unsigned long)(arg1)->ComputeHistogram(*arg2);
10869
10870 wxPyEndAllowThreads(__tstate);
10871 if (PyErr_Occurred()) SWIG_fail;
10872 }
2f4c0a16 10873 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
10874 return resultobj;
10875 fail:
10876 return NULL;
10877}
10878
10879
10880static PyObject *_wrap_Image_AddHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10881 PyObject *resultobj;
10882 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10883 PyObject * obj0 = 0 ;
10884 char *kwnames[] = {
10885 (char *) "handler", NULL
10886 };
10887
10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_AddHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
10890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 wxImage::AddHandler(arg1);
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 Py_INCREF(Py_None); resultobj = Py_None;
10899 return resultobj;
10900 fail:
10901 return NULL;
10902}
10903
10904
10905static PyObject *_wrap_Image_InsertHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10906 PyObject *resultobj;
10907 wxImageHandler *arg1 = (wxImageHandler *) 0 ;
10908 PyObject * obj0 = 0 ;
10909 char *kwnames[] = {
10910 (char *) "handler", NULL
10911 };
10912
10913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_InsertHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
10914 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImageHandler,
10915 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 wxImage::InsertHandler(arg1);
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 Py_INCREF(Py_None); resultobj = Py_None;
10924 return resultobj;
10925 fail:
10926 return NULL;
10927}
10928
10929
10930static PyObject *_wrap_Image_RemoveHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
10931 PyObject *resultobj;
10932 wxString *arg1 = 0 ;
10933 bool result;
423f194a 10934 bool temp1 = False ;
d14a1e28
RD
10935 PyObject * obj0 = 0 ;
10936 char *kwnames[] = {
10937 (char *) "name", NULL
10938 };
10939
10940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_RemoveHandler",kwnames,&obj0)) goto fail;
10941 {
10942 arg1 = wxString_in_helper(obj0);
10943 if (arg1 == NULL) SWIG_fail;
423f194a 10944 temp1 = True;
d14a1e28
RD
10945 }
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 result = (bool)wxImage::RemoveHandler((wxString const &)*arg1);
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
4e760a36 10953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10954 {
10955 if (temp1)
10956 delete arg1;
10957 }
10958 return resultobj;
10959 fail:
10960 {
10961 if (temp1)
10962 delete arg1;
10963 }
10964 return NULL;
10965}
10966
10967
10968static PyObject *_wrap_Image_GetImageExtWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10969 PyObject *resultobj;
10970 wxString result;
10971 char *kwnames[] = {
10972 NULL
10973 };
10974
10975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Image_GetImageExtWildcard",kwnames)) goto fail;
10976 {
10977 PyThreadState* __tstate = wxPyBeginAllowThreads();
10978 result = wxImage::GetImageExtWildcard();
10979
10980 wxPyEndAllowThreads(__tstate);
10981 if (PyErr_Occurred()) SWIG_fail;
10982 }
10983 {
10984#if wxUSE_UNICODE
10985 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10986#else
10987 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10988#endif
10989 }
10990 return resultobj;
10991 fail:
10992 return NULL;
10993}
10994
10995
10996static PyObject *_wrap_Image_ConvertToBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
10997 PyObject *resultobj;
10998 wxImage *arg1 = (wxImage *) 0 ;
10999 wxBitmap result;
11000 PyObject * obj0 = 0 ;
11001 char *kwnames[] = {
11002 (char *) "self", NULL
11003 };
11004
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Image_ConvertToBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11006 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11007 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11008 {
11009 PyThreadState* __tstate = wxPyBeginAllowThreads();
11010 result = wxImage_ConvertToBitmap(arg1);
11011
11012 wxPyEndAllowThreads(__tstate);
11013 if (PyErr_Occurred()) SWIG_fail;
11014 }
11015 {
11016 wxBitmap * resultptr;
11017 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 11018 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11019 }
11020 return resultobj;
11021 fail:
11022 return NULL;
11023}
11024
11025
11026static PyObject *_wrap_Image_ConvertToMonoBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
11027 PyObject *resultobj;
11028 wxImage *arg1 = (wxImage *) 0 ;
11029 unsigned char arg2 ;
11030 unsigned char arg3 ;
11031 unsigned char arg4 ;
11032 wxBitmap result;
11033 PyObject * obj0 = 0 ;
11034 PyObject * obj1 = 0 ;
11035 PyObject * obj2 = 0 ;
11036 PyObject * obj3 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxImage,
11043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11044 arg2 = (unsigned char) SWIG_AsUnsignedChar(obj1);
11045 if (PyErr_Occurred()) SWIG_fail;
11046 arg3 = (unsigned char) SWIG_AsUnsignedChar(obj2);
11047 if (PyErr_Occurred()) SWIG_fail;
11048 arg4 = (unsigned char) SWIG_AsUnsignedChar(obj3);
11049 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11050 {
11051 PyThreadState* __tstate = wxPyBeginAllowThreads();
11052 result = wxImage_ConvertToMonoBitmap(arg1,arg2,arg3,arg4);
11053
11054 wxPyEndAllowThreads(__tstate);
11055 if (PyErr_Occurred()) SWIG_fail;
11056 }
11057 {
11058 wxBitmap * resultptr;
11059 resultptr = new wxBitmap((wxBitmap &) result);
2f4c0a16 11060 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxBitmap, 1);
d14a1e28
RD
11061 }
11062 return resultobj;
11063 fail:
11064 return NULL;
11065}
11066
11067
11068static PyObject * Image_swigregister(PyObject *self, PyObject *args) {
11069 PyObject *obj;
11070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11071 SWIG_TypeClientData(SWIGTYPE_p_wxImage, obj);
11072 Py_INCREF(obj);
11073 return Py_BuildValue((char *)"");
11074}
11075static PyObject *_wrap_InitAllImageHandlers(PyObject *self, PyObject *args, PyObject *kwargs) {
11076 PyObject *resultobj;
11077 char *kwnames[] = {
11078 NULL
11079 };
11080
11081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":InitAllImageHandlers",kwnames)) goto fail;
11082 {
11083 PyThreadState* __tstate = wxPyBeginAllowThreads();
11084 wxInitAllImageHandlers();
11085
11086 wxPyEndAllowThreads(__tstate);
11087 if (PyErr_Occurred()) SWIG_fail;
11088 }
11089 Py_INCREF(Py_None); resultobj = Py_None;
11090 return resultobj;
11091 fail:
11092 return NULL;
11093}
11094
11095
2f4c0a16 11096static int _wrap_NullImage_set(PyObject *_val) {
d14a1e28
RD
11097 PyErr_SetString(PyExc_TypeError,"Variable NullImage is read-only.");
11098 return 1;
11099}
11100
11101
11102static PyObject *_wrap_NullImage_get() {
11103 PyObject *pyobj;
11104
2f4c0a16 11105 pyobj = SWIG_NewPointerObj((void *)(&wxNullImage), SWIGTYPE_p_wxImage, 0);
d14a1e28
RD
11106 return pyobj;
11107}
11108
11109
2f4c0a16 11110static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject *_val) {
d14a1e28
RD
11111 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11112 return 1;
11113}
11114
11115
11116static PyObject *_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11117 PyObject *pyobj;
11118
11119 {
11120#if wxUSE_UNICODE
11121 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11122#else
11123 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT)->Len());
11124#endif
11125 }
11126 return pyobj;
11127}
11128
11129
2f4c0a16 11130static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject *_val) {
d14a1e28
RD
11131 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11132 return 1;
11133}
11134
11135
11136static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11137 PyObject *pyobj;
11138
11139 {
11140#if wxUSE_UNICODE
11141 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11142#else
11143 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X)->Len());
11144#endif
11145 }
11146 return pyobj;
11147}
11148
11149
2f4c0a16 11150static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject *_val) {
d14a1e28
RD
11151 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11152 return 1;
11153}
11154
11155
11156static PyObject *_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11157 PyObject *pyobj;
11158
11159 {
11160#if wxUSE_UNICODE
11161 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11162#else
11163 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y)->Len());
11164#endif
11165 }
11166 return pyobj;
11167}
11168
11169
2f4c0a16 11170static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject *_val) {
d14a1e28
RD
11171 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11172 return 1;
11173}
11174
11175
11176static PyObject *_wrap_IMAGE_OPTION_RESOLUTION_get() {
11177 PyObject *pyobj;
11178
11179 {
11180#if wxUSE_UNICODE
11181 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11182#else
11183 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION)->Len());
11184#endif
11185 }
11186 return pyobj;
11187}
11188
11189
2f4c0a16 11190static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject *_val) {
d14a1e28
RD
11191 PyErr_SetString(PyExc_TypeError,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11192 return 1;
11193}
11194
11195
11196static PyObject *_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11197 PyObject *pyobj;
11198
11199 {
11200#if wxUSE_UNICODE
11201 pyobj = PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11202#else
11203 pyobj = PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT)->Len());
11204#endif
11205 }
11206 return pyobj;
11207}
11208
11209
11210static PyObject *_wrap_new_BMPHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11211 PyObject *resultobj;
11212 wxBMPHandler *result;
11213 char *kwnames[] = {
11214 NULL
11215 };
11216
11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_BMPHandler",kwnames)) goto fail;
11218 {
11219 PyThreadState* __tstate = wxPyBeginAllowThreads();
11220 result = (wxBMPHandler *)new wxBMPHandler();
11221
11222 wxPyEndAllowThreads(__tstate);
11223 if (PyErr_Occurred()) SWIG_fail;
11224 }
2f4c0a16 11225 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBMPHandler, 1);
d14a1e28
RD
11226 return resultobj;
11227 fail:
11228 return NULL;
11229}
11230
11231
11232static PyObject * BMPHandler_swigregister(PyObject *self, PyObject *args) {
11233 PyObject *obj;
11234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11235 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler, obj);
11236 Py_INCREF(obj);
11237 return Py_BuildValue((char *)"");
11238}
11239static PyObject *_wrap_new_ICOHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11240 PyObject *resultobj;
11241 wxICOHandler *result;
11242 char *kwnames[] = {
11243 NULL
11244 };
11245
11246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ICOHandler",kwnames)) goto fail;
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 result = (wxICOHandler *)new wxICOHandler();
11250
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
2f4c0a16 11254 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxICOHandler, 1);
d14a1e28
RD
11255 return resultobj;
11256 fail:
11257 return NULL;
11258}
11259
11260
11261static PyObject * ICOHandler_swigregister(PyObject *self, PyObject *args) {
11262 PyObject *obj;
11263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11264 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler, obj);
11265 Py_INCREF(obj);
11266 return Py_BuildValue((char *)"");
11267}
11268static PyObject *_wrap_new_CURHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11269 PyObject *resultobj;
11270 wxCURHandler *result;
11271 char *kwnames[] = {
11272 NULL
11273 };
11274
11275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_CURHandler",kwnames)) goto fail;
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (wxCURHandler *)new wxCURHandler();
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
2f4c0a16 11283 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCURHandler, 1);
d14a1e28
RD
11284 return resultobj;
11285 fail:
11286 return NULL;
11287}
11288
11289
11290static PyObject * CURHandler_swigregister(PyObject *self, PyObject *args) {
11291 PyObject *obj;
11292 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11293 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler, obj);
11294 Py_INCREF(obj);
11295 return Py_BuildValue((char *)"");
11296}
11297static PyObject *_wrap_new_ANIHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11298 PyObject *resultobj;
11299 wxANIHandler *result;
11300 char *kwnames[] = {
11301 NULL
11302 };
11303
11304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ANIHandler",kwnames)) goto fail;
11305 {
11306 PyThreadState* __tstate = wxPyBeginAllowThreads();
11307 result = (wxANIHandler *)new wxANIHandler();
11308
11309 wxPyEndAllowThreads(__tstate);
11310 if (PyErr_Occurred()) SWIG_fail;
11311 }
2f4c0a16 11312 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxANIHandler, 1);
d14a1e28
RD
11313 return resultobj;
11314 fail:
11315 return NULL;
11316}
11317
11318
11319static PyObject * ANIHandler_swigregister(PyObject *self, PyObject *args) {
11320 PyObject *obj;
11321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11322 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler, obj);
11323 Py_INCREF(obj);
11324 return Py_BuildValue((char *)"");
11325}
11326static PyObject *_wrap_new_PNGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxPNGHandler *result;
11329 char *kwnames[] = {
11330 NULL
11331 };
11332
11333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNGHandler",kwnames)) goto fail;
11334 {
11335 PyThreadState* __tstate = wxPyBeginAllowThreads();
11336 result = (wxPNGHandler *)new wxPNGHandler();
11337
11338 wxPyEndAllowThreads(__tstate);
11339 if (PyErr_Occurred()) SWIG_fail;
11340 }
2f4c0a16 11341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNGHandler, 1);
d14a1e28
RD
11342 return resultobj;
11343 fail:
11344 return NULL;
11345}
11346
11347
11348static PyObject * PNGHandler_swigregister(PyObject *self, PyObject *args) {
11349 PyObject *obj;
11350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11351 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler, obj);
11352 Py_INCREF(obj);
11353 return Py_BuildValue((char *)"");
11354}
11355static PyObject *_wrap_new_GIFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11356 PyObject *resultobj;
11357 wxGIFHandler *result;
11358 char *kwnames[] = {
11359 NULL
11360 };
11361
11362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GIFHandler",kwnames)) goto fail;
11363 {
11364 PyThreadState* __tstate = wxPyBeginAllowThreads();
11365 result = (wxGIFHandler *)new wxGIFHandler();
11366
11367 wxPyEndAllowThreads(__tstate);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
2f4c0a16 11370 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGIFHandler, 1);
d14a1e28
RD
11371 return resultobj;
11372 fail:
11373 return NULL;
11374}
11375
11376
11377static PyObject * GIFHandler_swigregister(PyObject *self, PyObject *args) {
11378 PyObject *obj;
11379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11380 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler, obj);
11381 Py_INCREF(obj);
11382 return Py_BuildValue((char *)"");
11383}
11384static PyObject *_wrap_new_PCXHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11385 PyObject *resultobj;
11386 wxPCXHandler *result;
11387 char *kwnames[] = {
11388 NULL
11389 };
11390
11391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PCXHandler",kwnames)) goto fail;
11392 {
11393 PyThreadState* __tstate = wxPyBeginAllowThreads();
11394 result = (wxPCXHandler *)new wxPCXHandler();
11395
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
2f4c0a16 11399 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPCXHandler, 1);
d14a1e28
RD
11400 return resultobj;
11401 fail:
11402 return NULL;
11403}
11404
11405
11406static PyObject * PCXHandler_swigregister(PyObject *self, PyObject *args) {
11407 PyObject *obj;
11408 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11409 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler, obj);
11410 Py_INCREF(obj);
11411 return Py_BuildValue((char *)"");
11412}
11413static PyObject *_wrap_new_JPEGHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11414 PyObject *resultobj;
11415 wxJPEGHandler *result;
11416 char *kwnames[] = {
11417 NULL
11418 };
11419
11420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_JPEGHandler",kwnames)) goto fail;
11421 {
11422 PyThreadState* __tstate = wxPyBeginAllowThreads();
11423 result = (wxJPEGHandler *)new wxJPEGHandler();
11424
11425 wxPyEndAllowThreads(__tstate);
11426 if (PyErr_Occurred()) SWIG_fail;
11427 }
2f4c0a16 11428 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxJPEGHandler, 1);
d14a1e28
RD
11429 return resultobj;
11430 fail:
11431 return NULL;
11432}
11433
11434
11435static PyObject * JPEGHandler_swigregister(PyObject *self, PyObject *args) {
11436 PyObject *obj;
11437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11438 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler, obj);
11439 Py_INCREF(obj);
11440 return Py_BuildValue((char *)"");
11441}
11442static PyObject *_wrap_new_PNMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11443 PyObject *resultobj;
11444 wxPNMHandler *result;
11445 char *kwnames[] = {
11446 NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PNMHandler",kwnames)) goto fail;
11450 {
11451 PyThreadState* __tstate = wxPyBeginAllowThreads();
11452 result = (wxPNMHandler *)new wxPNMHandler();
11453
11454 wxPyEndAllowThreads(__tstate);
11455 if (PyErr_Occurred()) SWIG_fail;
11456 }
2f4c0a16 11457 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPNMHandler, 1);
d14a1e28
RD
11458 return resultobj;
11459 fail:
11460 return NULL;
11461}
11462
11463
11464static PyObject * PNMHandler_swigregister(PyObject *self, PyObject *args) {
11465 PyObject *obj;
11466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11467 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler, obj);
11468 Py_INCREF(obj);
11469 return Py_BuildValue((char *)"");
11470}
11471static PyObject *_wrap_new_XPMHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11472 PyObject *resultobj;
11473 wxXPMHandler *result;
11474 char *kwnames[] = {
11475 NULL
11476 };
11477
11478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_XPMHandler",kwnames)) goto fail;
11479 {
11480 PyThreadState* __tstate = wxPyBeginAllowThreads();
11481 result = (wxXPMHandler *)new wxXPMHandler();
11482
11483 wxPyEndAllowThreads(__tstate);
11484 if (PyErr_Occurred()) SWIG_fail;
11485 }
2f4c0a16 11486 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxXPMHandler, 1);
d14a1e28
RD
11487 return resultobj;
11488 fail:
11489 return NULL;
11490}
11491
11492
11493static PyObject * XPMHandler_swigregister(PyObject *self, PyObject *args) {
11494 PyObject *obj;
11495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11496 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler, obj);
11497 Py_INCREF(obj);
11498 return Py_BuildValue((char *)"");
11499}
11500static PyObject *_wrap_new_TIFFHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11501 PyObject *resultobj;
11502 wxTIFFHandler *result;
11503 char *kwnames[] = {
11504 NULL
11505 };
11506
11507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TIFFHandler",kwnames)) goto fail;
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 result = (wxTIFFHandler *)new wxTIFFHandler();
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
2f4c0a16 11515 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxTIFFHandler, 1);
d14a1e28
RD
11516 return resultobj;
11517 fail:
11518 return NULL;
11519}
11520
11521
11522static PyObject * TIFFHandler_swigregister(PyObject *self, PyObject *args) {
11523 PyObject *obj;
11524 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11525 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler, obj);
11526 Py_INCREF(obj);
11527 return Py_BuildValue((char *)"");
11528}
11529static PyObject *_wrap_new_EvtHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11530 PyObject *resultobj;
11531 wxEvtHandler *result;
11532 char *kwnames[] = {
11533 NULL
11534 };
11535
11536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_EvtHandler",kwnames)) goto fail;
11537 {
11538 PyThreadState* __tstate = wxPyBeginAllowThreads();
11539 result = (wxEvtHandler *)new wxEvtHandler();
11540
11541 wxPyEndAllowThreads(__tstate);
11542 if (PyErr_Occurred()) SWIG_fail;
11543 }
11544 {
11545 resultobj = wxPyMake_wxObject(result);
11546 }
11547 return resultobj;
11548 fail:
11549 return NULL;
11550}
11551
11552
11553static PyObject *_wrap_EvtHandler_GetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11554 PyObject *resultobj;
11555 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11556 wxEvtHandler *result;
11557 PyObject * obj0 = 0 ;
11558 char *kwnames[] = {
11559 (char *) "self", NULL
11560 };
11561
11562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetNextHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11563 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11564 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 result = (wxEvtHandler *)(arg1)->GetNextHandler();
11568
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 {
11573 resultobj = wxPyMake_wxObject(result);
11574 }
11575 return resultobj;
11576 fail:
11577 return NULL;
11578}
11579
11580
11581static PyObject *_wrap_EvtHandler_GetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11582 PyObject *resultobj;
11583 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11584 wxEvtHandler *result;
11585 PyObject * obj0 = 0 ;
11586 char *kwnames[] = {
11587 (char *) "self", NULL
11588 };
11589
11590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetPreviousHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11591 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11592 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 result = (wxEvtHandler *)(arg1)->GetPreviousHandler();
11596
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 {
11601 resultobj = wxPyMake_wxObject(result);
11602 }
11603 return resultobj;
11604 fail:
11605 return NULL;
11606}
11607
11608
11609static PyObject *_wrap_EvtHandler_SetNextHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11610 PyObject *resultobj;
11611 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11612 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11613 PyObject * obj0 = 0 ;
11614 PyObject * obj1 = 0 ;
11615 char *kwnames[] = {
11616 (char *) "self",(char *) "handler", NULL
11617 };
11618
11619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetNextHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11622 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11624 {
11625 PyThreadState* __tstate = wxPyBeginAllowThreads();
11626 (arg1)->SetNextHandler(arg2);
11627
11628 wxPyEndAllowThreads(__tstate);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 }
11631 Py_INCREF(Py_None); resultobj = Py_None;
11632 return resultobj;
11633 fail:
11634 return NULL;
11635}
11636
11637
11638static PyObject *_wrap_EvtHandler_SetPreviousHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
11639 PyObject *resultobj;
11640 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11641 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
11642 PyObject * obj0 = 0 ;
11643 PyObject * obj1 = 0 ;
11644 char *kwnames[] = {
11645 (char *) "self",(char *) "handler", NULL
11646 };
11647
11648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
11652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11653 {
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 (arg1)->SetPreviousHandler(arg2);
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 Py_INCREF(Py_None); resultobj = Py_None;
11661 return resultobj;
11662 fail:
11663 return NULL;
11664}
11665
11666
11667static PyObject *_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11668 PyObject *resultobj;
11669 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11670 bool result;
11671 PyObject * obj0 = 0 ;
11672 char *kwnames[] = {
11673 (char *) "self", NULL
11674 };
11675
11676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11679 {
11680 PyThreadState* __tstate = wxPyBeginAllowThreads();
11681 result = (bool)(arg1)->GetEvtHandlerEnabled();
11682
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
4e760a36 11686 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11687 return resultobj;
11688 fail:
11689 return NULL;
11690}
11691
11692
11693static PyObject *_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
11694 PyObject *resultobj;
11695 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11696 bool arg2 ;
11697 PyObject * obj0 = 0 ;
11698 PyObject * obj1 = 0 ;
11699 char *kwnames[] = {
11700 (char *) "self",(char *) "enabled", NULL
11701 };
11702
11703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11704 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11705 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11706 arg2 = (bool) SWIG_AsBool(obj1);
11707 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11708 {
11709 PyThreadState* __tstate = wxPyBeginAllowThreads();
11710 (arg1)->SetEvtHandlerEnabled(arg2);
11711
11712 wxPyEndAllowThreads(__tstate);
11713 if (PyErr_Occurred()) SWIG_fail;
11714 }
11715 Py_INCREF(Py_None); resultobj = Py_None;
11716 return resultobj;
11717 fail:
11718 return NULL;
11719}
11720
11721
11722static PyObject *_wrap_EvtHandler_ProcessEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11723 PyObject *resultobj;
11724 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11725 wxEvent *arg2 = 0 ;
11726 bool result;
11727 PyObject * obj0 = 0 ;
11728 PyObject * obj1 = 0 ;
11729 char *kwnames[] = {
11730 (char *) "self",(char *) "event", NULL
11731 };
11732
11733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_ProcessEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11734 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11735 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11736 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11737 SWIG_POINTER_EXCEPTION | 0)) == -1)
11738 SWIG_fail;
d14a1e28 11739 if (arg2 == NULL) {
2f4c0a16
RD
11740 PyErr_SetString(PyExc_TypeError,"null reference");
11741 SWIG_fail;
d14a1e28
RD
11742 }
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 result = (bool)(arg1)->ProcessEvent(*arg2);
11746
11747 wxPyEndAllowThreads(__tstate);
11748 if (PyErr_Occurred()) SWIG_fail;
11749 }
4e760a36 11750 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11751 return resultobj;
11752 fail:
11753 return NULL;
11754}
11755
11756
11757static PyObject *_wrap_EvtHandler_AddPendingEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11758 PyObject *resultobj;
11759 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11760 wxEvent *arg2 = 0 ;
11761 PyObject * obj0 = 0 ;
11762 PyObject * obj1 = 0 ;
11763 char *kwnames[] = {
11764 (char *) "self",(char *) "event", NULL
11765 };
11766
11767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler_AddPendingEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
11771 SWIG_POINTER_EXCEPTION | 0)) == -1)
11772 SWIG_fail;
d14a1e28 11773 if (arg2 == NULL) {
2f4c0a16
RD
11774 PyErr_SetString(PyExc_TypeError,"null reference");
11775 SWIG_fail;
d14a1e28
RD
11776 }
11777 {
11778 PyThreadState* __tstate = wxPyBeginAllowThreads();
11779 (arg1)->AddPendingEvent(*arg2);
11780
11781 wxPyEndAllowThreads(__tstate);
11782 if (PyErr_Occurred()) SWIG_fail;
11783 }
11784 Py_INCREF(Py_None); resultobj = Py_None;
11785 return resultobj;
11786 fail:
11787 return NULL;
11788}
11789
11790
11791static PyObject *_wrap_EvtHandler_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
11792 PyObject *resultobj;
11793 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11794 PyObject * obj0 = 0 ;
11795 char *kwnames[] = {
11796 (char *) "self", NULL
11797 };
11798
11799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11802 {
11803 PyThreadState* __tstate = wxPyBeginAllowThreads();
11804 (arg1)->ProcessPendingEvents();
11805
11806 wxPyEndAllowThreads(__tstate);
11807 if (PyErr_Occurred()) SWIG_fail;
11808 }
11809 Py_INCREF(Py_None); resultobj = Py_None;
11810 return resultobj;
11811 fail:
11812 return NULL;
11813}
11814
11815
11816static PyObject *_wrap_EvtHandler_Connect(PyObject *self, PyObject *args, PyObject *kwargs) {
11817 PyObject *resultobj;
11818 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11819 int arg2 ;
11820 int arg3 ;
11821 int arg4 ;
11822 PyObject *arg5 = (PyObject *) 0 ;
11823 PyObject * obj0 = 0 ;
8edf1c75
RD
11824 PyObject * obj1 = 0 ;
11825 PyObject * obj2 = 0 ;
11826 PyObject * obj3 = 0 ;
d14a1e28
RD
11827 PyObject * obj4 = 0 ;
11828 char *kwnames[] = {
11829 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11830 };
11831
8edf1c75 11832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:EvtHandler_Connect",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
11833 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11834 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11835 arg2 = (int) SWIG_AsInt(obj1);
11836 if (PyErr_Occurred()) SWIG_fail;
11837 arg3 = (int) SWIG_AsInt(obj2);
11838 if (PyErr_Occurred()) SWIG_fail;
11839 arg4 = (int) SWIG_AsInt(obj3);
11840 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11841 arg5 = obj4;
11842 {
11843 PyThreadState* __tstate = wxPyBeginAllowThreads();
11844 wxEvtHandler_Connect(arg1,arg2,arg3,arg4,arg5);
11845
11846 wxPyEndAllowThreads(__tstate);
11847 if (PyErr_Occurred()) SWIG_fail;
11848 }
11849 Py_INCREF(Py_None); resultobj = Py_None;
11850 return resultobj;
11851 fail:
11852 return NULL;
11853}
11854
11855
11856static PyObject *_wrap_EvtHandler_Disconnect(PyObject *self, PyObject *args, PyObject *kwargs) {
11857 PyObject *resultobj;
11858 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11859 int arg2 ;
11860 int arg3 = (int) -1 ;
11861 wxEventType arg4 = (wxEventType) wxEVT_NULL ;
11862 bool result;
11863 PyObject * obj0 = 0 ;
8edf1c75
RD
11864 PyObject * obj1 = 0 ;
11865 PyObject * obj2 = 0 ;
11866 PyObject * obj3 = 0 ;
d14a1e28
RD
11867 char *kwnames[] = {
11868 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11869 };
11870
8edf1c75 11871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:EvtHandler_Disconnect",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
11872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11874 arg2 = (int) SWIG_AsInt(obj1);
11875 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11876 if (obj2) {
2f4c0a16
RD
11877 arg3 = (int) SWIG_AsInt(obj2);
11878 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
11879 }
11880 if (obj3) {
2f4c0a16
RD
11881 arg4 = (wxEventType) SWIG_AsInt(obj3);
11882 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 11883 }
d14a1e28
RD
11884 {
11885 PyThreadState* __tstate = wxPyBeginAllowThreads();
11886 result = (bool)wxEvtHandler_Disconnect(arg1,arg2,arg3,arg4);
11887
11888 wxPyEndAllowThreads(__tstate);
11889 if (PyErr_Occurred()) SWIG_fail;
11890 }
4e760a36 11891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
11892 return resultobj;
11893 fail:
11894 return NULL;
11895}
11896
11897
11898static PyObject *_wrap_EvtHandler__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
11899 PyObject *resultobj;
11900 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
11901 PyObject *arg2 = (PyObject *) 0 ;
11902 PyObject * obj0 = 0 ;
11903 PyObject * obj1 = 0 ;
11904 char *kwnames[] = {
11905 (char *) "self",(char *) "_self", NULL
11906 };
11907
11908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:EvtHandler__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
11910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11911 arg2 = obj1;
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
11914 wxEvtHandler__setOORInfo(arg1,arg2);
11915
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 Py_INCREF(Py_None); resultobj = Py_None;
11920 return resultobj;
11921 fail:
11922 return NULL;
11923}
11924
11925
11926static PyObject * EvtHandler_swigregister(PyObject *self, PyObject *args) {
11927 PyObject *obj;
11928 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11929 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler, obj);
11930 Py_INCREF(obj);
11931 return Py_BuildValue((char *)"");
11932}
11933static PyObject *_wrap_NewEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
11934 PyObject *resultobj;
11935 wxEventType result;
11936 char *kwnames[] = {
11937 NULL
11938 };
11939
11940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":NewEventType",kwnames)) goto fail;
11941 {
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
11943 result = (wxEventType)wxNewEventType();
11944
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
2f4c0a16 11948 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
11949 return resultobj;
11950 fail:
11951 return NULL;
11952}
11953
11954
11955static PyObject *_wrap_delete_Event(PyObject *self, PyObject *args, PyObject *kwargs) {
11956 PyObject *resultobj;
11957 wxEvent *arg1 = (wxEvent *) 0 ;
11958 PyObject * obj0 = 0 ;
11959 char *kwnames[] = {
11960 (char *) "self", NULL
11961 };
11962
11963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Event",kwnames,&obj0)) goto fail;
2f4c0a16
RD
11964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
11965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
11966 {
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 delete arg1;
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
11973 Py_INCREF(Py_None); resultobj = Py_None;
11974 return resultobj;
11975 fail:
11976 return NULL;
11977}
11978
11979
11980static PyObject *_wrap_Event_SetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
11981 PyObject *resultobj;
11982 wxEvent *arg1 = (wxEvent *) 0 ;
11983 wxEventType arg2 ;
11984 PyObject * obj0 = 0 ;
8edf1c75 11985 PyObject * obj1 = 0 ;
d14a1e28
RD
11986 char *kwnames[] = {
11987 (char *) "self",(char *) "typ", NULL
11988 };
11989
8edf1c75 11990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventType",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
11991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
11992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
11993 arg2 = (wxEventType) SWIG_AsInt(obj1);
11994 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
11995 {
11996 PyThreadState* __tstate = wxPyBeginAllowThreads();
11997 (arg1)->SetEventType(arg2);
11998
11999 wxPyEndAllowThreads(__tstate);
12000 if (PyErr_Occurred()) SWIG_fail;
12001 }
12002 Py_INCREF(Py_None); resultobj = Py_None;
12003 return resultobj;
12004 fail:
12005 return NULL;
12006}
12007
12008
12009static PyObject *_wrap_Event_GetEventType(PyObject *self, PyObject *args, PyObject *kwargs) {
12010 PyObject *resultobj;
12011 wxEvent *arg1 = (wxEvent *) 0 ;
12012 wxEventType result;
12013 PyObject * obj0 = 0 ;
12014 char *kwnames[] = {
12015 (char *) "self", NULL
12016 };
12017
12018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventType",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12019 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12020 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12021 {
12022 PyThreadState* __tstate = wxPyBeginAllowThreads();
12023 result = (wxEventType)((wxEvent const *)arg1)->GetEventType();
12024
12025 wxPyEndAllowThreads(__tstate);
12026 if (PyErr_Occurred()) SWIG_fail;
12027 }
2f4c0a16 12028 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12029 return resultobj;
12030 fail:
12031 return NULL;
12032}
12033
12034
12035static PyObject *_wrap_Event_GetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj;
12037 wxEvent *arg1 = (wxEvent *) 0 ;
12038 wxObject *result;
12039 PyObject * obj0 = 0 ;
12040 char *kwnames[] = {
12041 (char *) "self", NULL
12042 };
12043
12044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetEventObject",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12045 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12046 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12047 {
12048 PyThreadState* __tstate = wxPyBeginAllowThreads();
12049 result = (wxObject *)((wxEvent const *)arg1)->GetEventObject();
12050
12051 wxPyEndAllowThreads(__tstate);
12052 if (PyErr_Occurred()) SWIG_fail;
12053 }
12054 {
12055 resultobj = wxPyMake_wxObject(result);
12056 }
12057 return resultobj;
12058 fail:
12059 return NULL;
12060}
12061
12062
12063static PyObject *_wrap_Event_SetEventObject(PyObject *self, PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj;
12065 wxEvent *arg1 = (wxEvent *) 0 ;
12066 wxObject *arg2 = (wxObject *) 0 ;
12067 PyObject * obj0 = 0 ;
12068 PyObject * obj1 = 0 ;
12069 char *kwnames[] = {
12070 (char *) "self",(char *) "obj", NULL
12071 };
12072
12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetEventObject",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12074 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12075 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12076 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
12077 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 (arg1)->SetEventObject(arg2);
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 Py_INCREF(Py_None); resultobj = Py_None;
12086 return resultobj;
12087 fail:
12088 return NULL;
12089}
12090
12091
12092static PyObject *_wrap_Event_GetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12093 PyObject *resultobj;
12094 wxEvent *arg1 = (wxEvent *) 0 ;
12095 long result;
12096 PyObject * obj0 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetTimestamp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12104 {
12105 PyThreadState* __tstate = wxPyBeginAllowThreads();
12106 result = (long)((wxEvent const *)arg1)->GetTimestamp();
12107
12108 wxPyEndAllowThreads(__tstate);
12109 if (PyErr_Occurred()) SWIG_fail;
12110 }
2f4c0a16 12111 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12112 return resultobj;
12113 fail:
12114 return NULL;
12115}
12116
12117
12118static PyObject *_wrap_Event_SetTimestamp(PyObject *self, PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj;
12120 wxEvent *arg1 = (wxEvent *) 0 ;
12121 long arg2 = (long) 0 ;
12122 PyObject * obj0 = 0 ;
8edf1c75 12123 PyObject * obj1 = 0 ;
d14a1e28
RD
12124 char *kwnames[] = {
12125 (char *) "self",(char *) "ts", NULL
12126 };
12127
8edf1c75 12128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_SetTimestamp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12129 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12130 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 12131 if (obj1) {
2f4c0a16
RD
12132 arg2 = (long) SWIG_AsLong(obj1);
12133 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12134 }
d14a1e28
RD
12135 {
12136 PyThreadState* __tstate = wxPyBeginAllowThreads();
12137 (arg1)->SetTimestamp(arg2);
12138
12139 wxPyEndAllowThreads(__tstate);
12140 if (PyErr_Occurred()) SWIG_fail;
12141 }
12142 Py_INCREF(Py_None); resultobj = Py_None;
12143 return resultobj;
12144 fail:
12145 return NULL;
12146}
12147
12148
12149static PyObject *_wrap_Event_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12150 PyObject *resultobj;
12151 wxEvent *arg1 = (wxEvent *) 0 ;
12152 int result;
12153 PyObject * obj0 = 0 ;
12154 char *kwnames[] = {
12155 (char *) "self", NULL
12156 };
12157
12158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12161 {
12162 PyThreadState* __tstate = wxPyBeginAllowThreads();
12163 result = (int)((wxEvent const *)arg1)->GetId();
12164
12165 wxPyEndAllowThreads(__tstate);
12166 if (PyErr_Occurred()) SWIG_fail;
12167 }
2f4c0a16 12168 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12169 return resultobj;
12170 fail:
12171 return NULL;
12172}
12173
12174
12175static PyObject *_wrap_Event_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12176 PyObject *resultobj;
12177 wxEvent *arg1 = (wxEvent *) 0 ;
12178 int arg2 ;
12179 PyObject * obj0 = 0 ;
8edf1c75 12180 PyObject * obj1 = 0 ;
d14a1e28
RD
12181 char *kwnames[] = {
12182 (char *) "self",(char *) "Id", NULL
12183 };
12184
8edf1c75 12185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12188 arg2 = (int) SWIG_AsInt(obj1);
12189 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12190 {
12191 PyThreadState* __tstate = wxPyBeginAllowThreads();
12192 (arg1)->SetId(arg2);
12193
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 Py_INCREF(Py_None); resultobj = Py_None;
12198 return resultobj;
12199 fail:
12200 return NULL;
12201}
12202
12203
12204static PyObject *_wrap_Event_IsCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12205 PyObject *resultobj;
12206 wxEvent *arg1 = (wxEvent *) 0 ;
12207 bool result;
12208 PyObject * obj0 = 0 ;
12209 char *kwnames[] = {
12210 (char *) "self", NULL
12211 };
12212
12213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_IsCommandEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12216 {
12217 PyThreadState* __tstate = wxPyBeginAllowThreads();
12218 result = (bool)((wxEvent const *)arg1)->IsCommandEvent();
12219
12220 wxPyEndAllowThreads(__tstate);
12221 if (PyErr_Occurred()) SWIG_fail;
12222 }
4e760a36 12223 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12224 return resultobj;
12225 fail:
12226 return NULL;
12227}
12228
12229
12230static PyObject *_wrap_Event_Skip(PyObject *self, PyObject *args, PyObject *kwargs) {
12231 PyObject *resultobj;
12232 wxEvent *arg1 = (wxEvent *) 0 ;
423f194a 12233 bool arg2 = (bool) True ;
d14a1e28
RD
12234 PyObject * obj0 = 0 ;
12235 PyObject * obj1 = 0 ;
12236 char *kwnames[] = {
12237 (char *) "self",(char *) "skip", NULL
12238 };
12239
12240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Event_Skip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 12243 if (obj1) {
2f4c0a16
RD
12244 arg2 = (bool) SWIG_AsBool(obj1);
12245 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12246 }
12247 {
12248 PyThreadState* __tstate = wxPyBeginAllowThreads();
12249 (arg1)->Skip(arg2);
12250
12251 wxPyEndAllowThreads(__tstate);
12252 if (PyErr_Occurred()) SWIG_fail;
12253 }
12254 Py_INCREF(Py_None); resultobj = Py_None;
12255 return resultobj;
12256 fail:
12257 return NULL;
12258}
12259
12260
12261static PyObject *_wrap_Event_GetSkipped(PyObject *self, PyObject *args, PyObject *kwargs) {
12262 PyObject *resultobj;
12263 wxEvent *arg1 = (wxEvent *) 0 ;
12264 bool result;
12265 PyObject * obj0 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_GetSkipped",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12271 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12272 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12273 {
12274 PyThreadState* __tstate = wxPyBeginAllowThreads();
12275 result = (bool)((wxEvent const *)arg1)->GetSkipped();
12276
12277 wxPyEndAllowThreads(__tstate);
12278 if (PyErr_Occurred()) SWIG_fail;
12279 }
4e760a36 12280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12281 return resultobj;
12282 fail:
12283 return NULL;
12284}
12285
12286
12287static PyObject *_wrap_Event_ShouldPropagate(PyObject *self, PyObject *args, PyObject *kwargs) {
12288 PyObject *resultobj;
12289 wxEvent *arg1 = (wxEvent *) 0 ;
12290 bool result;
12291 PyObject * obj0 = 0 ;
12292 char *kwnames[] = {
12293 (char *) "self", NULL
12294 };
12295
12296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_ShouldPropagate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12299 {
12300 PyThreadState* __tstate = wxPyBeginAllowThreads();
12301 result = (bool)((wxEvent const *)arg1)->ShouldPropagate();
12302
12303 wxPyEndAllowThreads(__tstate);
12304 if (PyErr_Occurred()) SWIG_fail;
12305 }
4e760a36 12306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12307 return resultobj;
12308 fail:
12309 return NULL;
12310}
12311
12312
12313static PyObject *_wrap_Event_StopPropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12314 PyObject *resultobj;
12315 wxEvent *arg1 = (wxEvent *) 0 ;
12316 int result;
12317 PyObject * obj0 = 0 ;
12318 char *kwnames[] = {
12319 (char *) "self", NULL
12320 };
12321
12322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_StopPropagation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12323 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12324 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12325 {
12326 PyThreadState* __tstate = wxPyBeginAllowThreads();
12327 result = (int)(arg1)->StopPropagation();
12328
12329 wxPyEndAllowThreads(__tstate);
12330 if (PyErr_Occurred()) SWIG_fail;
12331 }
2f4c0a16 12332 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12333 return resultobj;
12334 fail:
12335 return NULL;
12336}
12337
12338
12339static PyObject *_wrap_Event_ResumePropagation(PyObject *self, PyObject *args, PyObject *kwargs) {
12340 PyObject *resultobj;
12341 wxEvent *arg1 = (wxEvent *) 0 ;
12342 int arg2 ;
12343 PyObject * obj0 = 0 ;
8edf1c75 12344 PyObject * obj1 = 0 ;
d14a1e28
RD
12345 char *kwnames[] = {
12346 (char *) "self",(char *) "propagationLevel", NULL
12347 };
12348
8edf1c75 12349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Event_ResumePropagation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12350 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12351 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12352 arg2 = (int) SWIG_AsInt(obj1);
12353 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12354 {
12355 PyThreadState* __tstate = wxPyBeginAllowThreads();
12356 (arg1)->ResumePropagation(arg2);
12357
12358 wxPyEndAllowThreads(__tstate);
12359 if (PyErr_Occurred()) SWIG_fail;
12360 }
12361 Py_INCREF(Py_None); resultobj = Py_None;
12362 return resultobj;
12363 fail:
12364 return NULL;
12365}
12366
12367
12368static PyObject *_wrap_Event_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12369 PyObject *resultobj;
12370 wxEvent *arg1 = (wxEvent *) 0 ;
12371 wxEvent *result;
12372 PyObject * obj0 = 0 ;
12373 char *kwnames[] = {
12374 (char *) "self", NULL
12375 };
12376
12377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Event_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12378 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12379 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12380 {
12381 PyThreadState* __tstate = wxPyBeginAllowThreads();
12382 result = (wxEvent *)(arg1)->Clone();
12383
12384 wxPyEndAllowThreads(__tstate);
12385 if (PyErr_Occurred()) SWIG_fail;
12386 }
2f4c0a16 12387 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12388 return resultobj;
12389 fail:
12390 return NULL;
12391}
12392
12393
12394static PyObject * Event_swigregister(PyObject *self, PyObject *args) {
12395 PyObject *obj;
12396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12397 SWIG_TypeClientData(SWIGTYPE_p_wxEvent, obj);
12398 Py_INCREF(obj);
12399 return Py_BuildValue((char *)"");
12400}
12401static PyObject *_wrap_new_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12402 PyObject *resultobj;
12403 wxEvent *arg1 = 0 ;
12404 wxPropagationDisabler *result;
12405 PyObject * obj0 = 0 ;
12406 char *kwnames[] = {
12407 (char *) "event", NULL
12408 };
12409
12410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagationDisabler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12411 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12412 SWIG_POINTER_EXCEPTION | 0)) == -1)
12413 SWIG_fail;
d14a1e28 12414 if (arg1 == NULL) {
2f4c0a16
RD
12415 PyErr_SetString(PyExc_TypeError,"null reference");
12416 SWIG_fail;
d14a1e28
RD
12417 }
12418 {
12419 PyThreadState* __tstate = wxPyBeginAllowThreads();
12420 result = (wxPropagationDisabler *)new wxPropagationDisabler(*arg1);
12421
12422 wxPyEndAllowThreads(__tstate);
12423 if (PyErr_Occurred()) SWIG_fail;
12424 }
2f4c0a16 12425 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagationDisabler, 1);
d14a1e28
RD
12426 return resultobj;
12427 fail:
12428 return NULL;
12429}
12430
12431
12432static PyObject *_wrap_delete_PropagationDisabler(PyObject *self, PyObject *args, PyObject *kwargs) {
12433 PyObject *resultobj;
12434 wxPropagationDisabler *arg1 = (wxPropagationDisabler *) 0 ;
12435 PyObject * obj0 = 0 ;
12436 char *kwnames[] = {
12437 (char *) "self", NULL
12438 };
12439
12440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagationDisabler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12441 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagationDisabler,
12442 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12443 {
12444 PyThreadState* __tstate = wxPyBeginAllowThreads();
12445 delete arg1;
12446
12447 wxPyEndAllowThreads(__tstate);
12448 if (PyErr_Occurred()) SWIG_fail;
12449 }
12450 Py_INCREF(Py_None); resultobj = Py_None;
12451 return resultobj;
12452 fail:
12453 return NULL;
12454}
12455
12456
12457static PyObject * PropagationDisabler_swigregister(PyObject *self, PyObject *args) {
12458 PyObject *obj;
12459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12460 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler, obj);
12461 Py_INCREF(obj);
12462 return Py_BuildValue((char *)"");
12463}
12464static PyObject *_wrap_new_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12465 PyObject *resultobj;
12466 wxEvent *arg1 = 0 ;
12467 wxPropagateOnce *result;
12468 PyObject * obj0 = 0 ;
12469 char *kwnames[] = {
12470 (char *) "event", NULL
12471 };
12472
12473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_PropagateOnce",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12474 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvent,
12475 SWIG_POINTER_EXCEPTION | 0)) == -1)
12476 SWIG_fail;
d14a1e28 12477 if (arg1 == NULL) {
2f4c0a16
RD
12478 PyErr_SetString(PyExc_TypeError,"null reference");
12479 SWIG_fail;
d14a1e28
RD
12480 }
12481 {
12482 PyThreadState* __tstate = wxPyBeginAllowThreads();
12483 result = (wxPropagateOnce *)new wxPropagateOnce(*arg1);
12484
12485 wxPyEndAllowThreads(__tstate);
12486 if (PyErr_Occurred()) SWIG_fail;
12487 }
2f4c0a16 12488 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPropagateOnce, 1);
d14a1e28
RD
12489 return resultobj;
12490 fail:
12491 return NULL;
12492}
12493
12494
12495static PyObject *_wrap_delete_PropagateOnce(PyObject *self, PyObject *args, PyObject *kwargs) {
12496 PyObject *resultobj;
12497 wxPropagateOnce *arg1 = (wxPropagateOnce *) 0 ;
12498 PyObject * obj0 = 0 ;
12499 char *kwnames[] = {
12500 (char *) "self", NULL
12501 };
12502
12503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PropagateOnce",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12504 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPropagateOnce,
12505 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12506 {
12507 PyThreadState* __tstate = wxPyBeginAllowThreads();
12508 delete arg1;
12509
12510 wxPyEndAllowThreads(__tstate);
12511 if (PyErr_Occurred()) SWIG_fail;
12512 }
12513 Py_INCREF(Py_None); resultobj = Py_None;
12514 return resultobj;
12515 fail:
12516 return NULL;
12517}
12518
12519
12520static PyObject * PropagateOnce_swigregister(PyObject *self, PyObject *args) {
12521 PyObject *obj;
12522 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12523 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce, obj);
12524 Py_INCREF(obj);
12525 return Py_BuildValue((char *)"");
12526}
12527static PyObject *_wrap_new_CommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12528 PyObject *resultobj;
12529 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12530 int arg2 = (int) 0 ;
12531 wxCommandEvent *result;
8edf1c75
RD
12532 PyObject * obj0 = 0 ;
12533 PyObject * obj1 = 0 ;
d14a1e28
RD
12534 char *kwnames[] = {
12535 (char *) "commandType",(char *) "winid", NULL
12536 };
12537
8edf1c75
RD
12538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CommandEvent",kwnames,&obj0,&obj1)) goto fail;
12539 if (obj0) {
2f4c0a16
RD
12540 arg1 = (wxEventType) SWIG_AsInt(obj0);
12541 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12542 }
12543 if (obj1) {
2f4c0a16
RD
12544 arg2 = (int) SWIG_AsInt(obj1);
12545 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12546 }
d14a1e28
RD
12547 {
12548 PyThreadState* __tstate = wxPyBeginAllowThreads();
12549 result = (wxCommandEvent *)new wxCommandEvent(arg1,arg2);
12550
12551 wxPyEndAllowThreads(__tstate);
12552 if (PyErr_Occurred()) SWIG_fail;
12553 }
2f4c0a16 12554 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCommandEvent, 1);
d14a1e28
RD
12555 return resultobj;
12556 fail:
12557 return NULL;
12558}
12559
12560
12561static PyObject *_wrap_CommandEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12562 PyObject *resultobj;
12563 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12564 int result;
12565 PyObject * obj0 = 0 ;
12566 char *kwnames[] = {
12567 (char *) "self", NULL
12568 };
12569
12570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12573 {
12574 PyThreadState* __tstate = wxPyBeginAllowThreads();
12575 result = (int)((wxCommandEvent const *)arg1)->GetSelection();
12576
12577 wxPyEndAllowThreads(__tstate);
12578 if (PyErr_Occurred()) SWIG_fail;
12579 }
2f4c0a16 12580 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
12581 return resultobj;
12582 fail:
12583 return NULL;
12584}
12585
12586
12587static PyObject *_wrap_CommandEvent_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12588 PyObject *resultobj;
12589 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12590 wxString *arg2 = 0 ;
423f194a 12591 bool temp2 = False ;
d14a1e28
RD
12592 PyObject * obj0 = 0 ;
12593 PyObject * obj1 = 0 ;
12594 char *kwnames[] = {
12595 (char *) "self",(char *) "s", NULL
12596 };
12597
12598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12599 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12600 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12601 {
12602 arg2 = wxString_in_helper(obj1);
12603 if (arg2 == NULL) SWIG_fail;
423f194a 12604 temp2 = True;
d14a1e28
RD
12605 }
12606 {
12607 PyThreadState* __tstate = wxPyBeginAllowThreads();
12608 (arg1)->SetString((wxString const &)*arg2);
12609
12610 wxPyEndAllowThreads(__tstate);
12611 if (PyErr_Occurred()) SWIG_fail;
12612 }
12613 Py_INCREF(Py_None); resultobj = Py_None;
12614 {
12615 if (temp2)
12616 delete arg2;
12617 }
12618 return resultobj;
12619 fail:
12620 {
12621 if (temp2)
12622 delete arg2;
12623 }
12624 return NULL;
12625}
12626
12627
12628static PyObject *_wrap_CommandEvent_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
12629 PyObject *resultobj;
12630 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12631 wxString result;
12632 PyObject * obj0 = 0 ;
12633 char *kwnames[] = {
12634 (char *) "self", NULL
12635 };
12636
12637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetString",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12638 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12639 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12640 {
12641 PyThreadState* __tstate = wxPyBeginAllowThreads();
12642 result = ((wxCommandEvent const *)arg1)->GetString();
12643
12644 wxPyEndAllowThreads(__tstate);
12645 if (PyErr_Occurred()) SWIG_fail;
12646 }
12647 {
12648#if wxUSE_UNICODE
12649 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12650#else
12651 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12652#endif
12653 }
12654 return resultobj;
12655 fail:
12656 return NULL;
12657}
12658
12659
12660static PyObject *_wrap_CommandEvent_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
12661 PyObject *resultobj;
12662 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12663 bool result;
12664 PyObject * obj0 = 0 ;
12665 char *kwnames[] = {
12666 (char *) "self", NULL
12667 };
12668
12669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12672 {
12673 PyThreadState* __tstate = wxPyBeginAllowThreads();
12674 result = (bool)((wxCommandEvent const *)arg1)->IsChecked();
12675
12676 wxPyEndAllowThreads(__tstate);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
4e760a36 12679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12680 return resultobj;
12681 fail:
12682 return NULL;
12683}
12684
12685
12686static PyObject *_wrap_CommandEvent_IsSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12687 PyObject *resultobj;
12688 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12689 bool result;
12690 PyObject * obj0 = 0 ;
12691 char *kwnames[] = {
12692 (char *) "self", NULL
12693 };
12694
12695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_IsSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12698 {
12699 PyThreadState* __tstate = wxPyBeginAllowThreads();
12700 result = (bool)((wxCommandEvent const *)arg1)->IsSelection();
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
4e760a36 12705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12706 return resultobj;
12707 fail:
12708 return NULL;
12709}
12710
12711
12712static PyObject *_wrap_CommandEvent_SetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12713 PyObject *resultobj;
12714 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12715 long arg2 ;
12716 PyObject * obj0 = 0 ;
8edf1c75 12717 PyObject * obj1 = 0 ;
d14a1e28
RD
12718 char *kwnames[] = {
12719 (char *) "self",(char *) "extraLong", NULL
12720 };
12721
8edf1c75 12722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetExtraLong",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12725 arg2 = (long) SWIG_AsLong(obj1);
12726 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12727 {
12728 PyThreadState* __tstate = wxPyBeginAllowThreads();
12729 (arg1)->SetExtraLong(arg2);
12730
12731 wxPyEndAllowThreads(__tstate);
12732 if (PyErr_Occurred()) SWIG_fail;
12733 }
12734 Py_INCREF(Py_None); resultobj = Py_None;
12735 return resultobj;
12736 fail:
12737 return NULL;
12738}
12739
12740
12741static PyObject *_wrap_CommandEvent_GetExtraLong(PyObject *self, PyObject *args, PyObject *kwargs) {
12742 PyObject *resultobj;
12743 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12744 long result;
12745 PyObject * obj0 = 0 ;
12746 char *kwnames[] = {
12747 (char *) "self", NULL
12748 };
12749
12750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetExtraLong",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12751 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12752 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12753 {
12754 PyThreadState* __tstate = wxPyBeginAllowThreads();
12755 result = (long)((wxCommandEvent const *)arg1)->GetExtraLong();
12756
12757 wxPyEndAllowThreads(__tstate);
12758 if (PyErr_Occurred()) SWIG_fail;
12759 }
2f4c0a16 12760 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12761 return resultobj;
12762 fail:
12763 return NULL;
12764}
12765
12766
12767static PyObject *_wrap_CommandEvent_SetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
12768 PyObject *resultobj;
12769 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12770 int arg2 ;
12771 PyObject * obj0 = 0 ;
8edf1c75 12772 PyObject * obj1 = 0 ;
d14a1e28
RD
12773 char *kwnames[] = {
12774 (char *) "self",(char *) "i", NULL
12775 };
12776
8edf1c75 12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CommandEvent_SetInt",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
12778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
12780 arg2 = (int) SWIG_AsInt(obj1);
12781 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
12782 {
12783 PyThreadState* __tstate = wxPyBeginAllowThreads();
12784 (arg1)->SetInt(arg2);
12785
12786 wxPyEndAllowThreads(__tstate);
12787 if (PyErr_Occurred()) SWIG_fail;
12788 }
12789 Py_INCREF(Py_None); resultobj = Py_None;
12790 return resultobj;
12791 fail:
12792 return NULL;
12793}
12794
12795
12796static PyObject *_wrap_CommandEvent_GetInt(PyObject *self, PyObject *args, PyObject *kwargs) {
12797 PyObject *resultobj;
12798 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12799 long result;
12800 PyObject * obj0 = 0 ;
12801 char *kwnames[] = {
12802 (char *) "self", NULL
12803 };
12804
12805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_GetInt",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12806 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12807 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12808 {
12809 PyThreadState* __tstate = wxPyBeginAllowThreads();
12810 result = (long)((wxCommandEvent const *)arg1)->GetInt();
12811
12812 wxPyEndAllowThreads(__tstate);
12813 if (PyErr_Occurred()) SWIG_fail;
12814 }
2f4c0a16 12815 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
12816 return resultobj;
12817 fail:
12818 return NULL;
12819}
12820
12821
12822static PyObject *_wrap_CommandEvent_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
12823 PyObject *resultobj;
12824 wxCommandEvent *arg1 = (wxCommandEvent *) 0 ;
12825 wxEvent *result;
12826 PyObject * obj0 = 0 ;
12827 char *kwnames[] = {
12828 (char *) "self", NULL
12829 };
12830
12831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CommandEvent_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12832 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCommandEvent,
12833 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12834 {
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 result = (wxEvent *)((wxCommandEvent const *)arg1)->Clone();
12837
12838 wxPyEndAllowThreads(__tstate);
12839 if (PyErr_Occurred()) SWIG_fail;
12840 }
2f4c0a16 12841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEvent, 0);
d14a1e28
RD
12842 return resultobj;
12843 fail:
12844 return NULL;
12845}
12846
12847
12848static PyObject * CommandEvent_swigregister(PyObject *self, PyObject *args) {
12849 PyObject *obj;
12850 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12851 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent, obj);
12852 Py_INCREF(obj);
12853 return Py_BuildValue((char *)"");
12854}
12855static PyObject *_wrap_new_NotifyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12856 PyObject *resultobj;
12857 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12858 int arg2 = (int) 0 ;
12859 wxNotifyEvent *result;
8edf1c75
RD
12860 PyObject * obj0 = 0 ;
12861 PyObject * obj1 = 0 ;
d14a1e28
RD
12862 char *kwnames[] = {
12863 (char *) "commandType",(char *) "winid", NULL
12864 };
12865
8edf1c75
RD
12866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_NotifyEvent",kwnames,&obj0,&obj1)) goto fail;
12867 if (obj0) {
2f4c0a16
RD
12868 arg1 = (wxEventType) SWIG_AsInt(obj0);
12869 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12870 }
12871 if (obj1) {
2f4c0a16
RD
12872 arg2 = (int) SWIG_AsInt(obj1);
12873 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 12874 }
d14a1e28
RD
12875 {
12876 PyThreadState* __tstate = wxPyBeginAllowThreads();
12877 result = (wxNotifyEvent *)new wxNotifyEvent(arg1,arg2);
12878
12879 wxPyEndAllowThreads(__tstate);
12880 if (PyErr_Occurred()) SWIG_fail;
12881 }
2f4c0a16 12882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNotifyEvent, 1);
d14a1e28
RD
12883 return resultobj;
12884 fail:
12885 return NULL;
12886}
12887
12888
12889static PyObject *_wrap_NotifyEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
12890 PyObject *resultobj;
12891 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
12892 PyObject * obj0 = 0 ;
12893 char *kwnames[] = {
12894 (char *) "self", NULL
12895 };
12896
12897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Veto",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12898 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
12899 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12900 {
12901 PyThreadState* __tstate = wxPyBeginAllowThreads();
12902 (arg1)->Veto();
12903
12904 wxPyEndAllowThreads(__tstate);
12905 if (PyErr_Occurred()) SWIG_fail;
12906 }
12907 Py_INCREF(Py_None); resultobj = Py_None;
12908 return resultobj;
12909 fail:
12910 return NULL;
12911}
12912
12913
12914static PyObject *_wrap_NotifyEvent_Allow(PyObject *self, PyObject *args, PyObject *kwargs) {
12915 PyObject *resultobj;
12916 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
12917 PyObject * obj0 = 0 ;
12918 char *kwnames[] = {
12919 (char *) "self", NULL
12920 };
12921
12922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_Allow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12923 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
12924 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12925 {
12926 PyThreadState* __tstate = wxPyBeginAllowThreads();
12927 (arg1)->Allow();
12928
12929 wxPyEndAllowThreads(__tstate);
12930 if (PyErr_Occurred()) SWIG_fail;
12931 }
12932 Py_INCREF(Py_None); resultobj = Py_None;
12933 return resultobj;
12934 fail:
12935 return NULL;
12936}
12937
12938
12939static PyObject *_wrap_NotifyEvent_IsAllowed(PyObject *self, PyObject *args, PyObject *kwargs) {
12940 PyObject *resultobj;
12941 wxNotifyEvent *arg1 = (wxNotifyEvent *) 0 ;
12942 bool result;
12943 PyObject * obj0 = 0 ;
12944 char *kwnames[] = {
12945 (char *) "self", NULL
12946 };
12947
12948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotifyEvent_IsAllowed",kwnames,&obj0)) goto fail;
2f4c0a16
RD
12949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNotifyEvent,
12950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
12951 {
12952 PyThreadState* __tstate = wxPyBeginAllowThreads();
12953 result = (bool)(arg1)->IsAllowed();
12954
12955 wxPyEndAllowThreads(__tstate);
12956 if (PyErr_Occurred()) SWIG_fail;
12957 }
4e760a36 12958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12959 return resultobj;
12960 fail:
12961 return NULL;
12962}
12963
12964
12965static PyObject * NotifyEvent_swigregister(PyObject *self, PyObject *args) {
12966 PyObject *obj;
12967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12968 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent, obj);
12969 Py_INCREF(obj);
12970 return Py_BuildValue((char *)"");
12971}
12972static PyObject *_wrap_new_ScrollEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12973 PyObject *resultobj;
12974 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12975 int arg2 = (int) 0 ;
12976 int arg3 = (int) 0 ;
12977 int arg4 = (int) 0 ;
12978 wxScrollEvent *result;
8edf1c75
RD
12979 PyObject * obj0 = 0 ;
12980 PyObject * obj1 = 0 ;
12981 PyObject * obj2 = 0 ;
12982 PyObject * obj3 = 0 ;
d14a1e28
RD
12983 char *kwnames[] = {
12984 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12985 };
12986
8edf1c75
RD
12987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_ScrollEvent",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
12988 if (obj0) {
2f4c0a16
RD
12989 arg1 = (wxEventType) SWIG_AsInt(obj0);
12990 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12991 }
12992 if (obj1) {
2f4c0a16
RD
12993 arg2 = (int) SWIG_AsInt(obj1);
12994 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12995 }
12996 if (obj2) {
2f4c0a16
RD
12997 arg3 = (int) SWIG_AsInt(obj2);
12998 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
12999 }
13000 if (obj3) {
2f4c0a16
RD
13001 arg4 = (int) SWIG_AsInt(obj3);
13002 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13003 }
d14a1e28
RD
13004 {
13005 PyThreadState* __tstate = wxPyBeginAllowThreads();
13006 result = (wxScrollEvent *)new wxScrollEvent(arg1,arg2,arg3,arg4);
13007
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
2f4c0a16 13011 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollEvent, 1);
d14a1e28
RD
13012 return resultobj;
13013 fail:
13014 return NULL;
13015}
13016
13017
13018static PyObject *_wrap_ScrollEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13019 PyObject *resultobj;
13020 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13021 int result;
13022 PyObject * obj0 = 0 ;
13023 char *kwnames[] = {
13024 (char *) "self", NULL
13025 };
13026
13027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13030 {
13031 PyThreadState* __tstate = wxPyBeginAllowThreads();
13032 result = (int)((wxScrollEvent const *)arg1)->GetOrientation();
13033
13034 wxPyEndAllowThreads(__tstate);
13035 if (PyErr_Occurred()) SWIG_fail;
13036 }
2f4c0a16 13037 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13038 return resultobj;
13039 fail:
13040 return NULL;
13041}
13042
13043
13044static PyObject *_wrap_ScrollEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13045 PyObject *resultobj;
13046 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13047 int result;
13048 PyObject * obj0 = 0 ;
13049 char *kwnames[] = {
13050 (char *) "self", NULL
13051 };
13052
13053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13054 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13055 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13056 {
13057 PyThreadState* __tstate = wxPyBeginAllowThreads();
13058 result = (int)((wxScrollEvent const *)arg1)->GetPosition();
13059
13060 wxPyEndAllowThreads(__tstate);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 }
2f4c0a16 13063 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13064 return resultobj;
13065 fail:
13066 return NULL;
13067}
13068
13069
13070static PyObject *_wrap_ScrollEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13071 PyObject *resultobj;
13072 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13073 int arg2 ;
13074 PyObject * obj0 = 0 ;
8edf1c75 13075 PyObject * obj1 = 0 ;
d14a1e28
RD
13076 char *kwnames[] = {
13077 (char *) "self",(char *) "orient", NULL
13078 };
13079
8edf1c75 13080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13083 arg2 = (int) SWIG_AsInt(obj1);
13084 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13085 {
13086 PyThreadState* __tstate = wxPyBeginAllowThreads();
13087 (arg1)->SetOrientation(arg2);
13088
13089 wxPyEndAllowThreads(__tstate);
13090 if (PyErr_Occurred()) SWIG_fail;
13091 }
13092 Py_INCREF(Py_None); resultobj = Py_None;
13093 return resultobj;
13094 fail:
13095 return NULL;
13096}
13097
13098
13099static PyObject *_wrap_ScrollEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13100 PyObject *resultobj;
13101 wxScrollEvent *arg1 = (wxScrollEvent *) 0 ;
13102 int arg2 ;
13103 PyObject * obj0 = 0 ;
8edf1c75 13104 PyObject * obj1 = 0 ;
d14a1e28
RD
13105 char *kwnames[] = {
13106 (char *) "self",(char *) "pos", NULL
13107 };
13108
8edf1c75 13109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollEvent,
13111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13112 arg2 = (int) SWIG_AsInt(obj1);
13113 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13114 {
13115 PyThreadState* __tstate = wxPyBeginAllowThreads();
13116 (arg1)->SetPosition(arg2);
13117
13118 wxPyEndAllowThreads(__tstate);
13119 if (PyErr_Occurred()) SWIG_fail;
13120 }
13121 Py_INCREF(Py_None); resultobj = Py_None;
13122 return resultobj;
13123 fail:
13124 return NULL;
13125}
13126
13127
13128static PyObject * ScrollEvent_swigregister(PyObject *self, PyObject *args) {
13129 PyObject *obj;
13130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13131 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent, obj);
13132 Py_INCREF(obj);
13133 return Py_BuildValue((char *)"");
13134}
13135static PyObject *_wrap_new_ScrollWinEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13136 PyObject *resultobj;
13137 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13138 int arg2 = (int) 0 ;
13139 int arg3 = (int) 0 ;
13140 wxScrollWinEvent *result;
8edf1c75
RD
13141 PyObject * obj0 = 0 ;
13142 PyObject * obj1 = 0 ;
13143 PyObject * obj2 = 0 ;
d14a1e28
RD
13144 char *kwnames[] = {
13145 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13146 };
13147
8edf1c75
RD
13148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ScrollWinEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
13149 if (obj0) {
2f4c0a16
RD
13150 arg1 = (wxEventType) SWIG_AsInt(obj0);
13151 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13152 }
13153 if (obj1) {
2f4c0a16
RD
13154 arg2 = (int) SWIG_AsInt(obj1);
13155 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
13156 }
13157 if (obj2) {
2f4c0a16
RD
13158 arg3 = (int) SWIG_AsInt(obj2);
13159 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13160 }
d14a1e28
RD
13161 {
13162 PyThreadState* __tstate = wxPyBeginAllowThreads();
13163 result = (wxScrollWinEvent *)new wxScrollWinEvent(arg1,arg2,arg3);
13164
13165 wxPyEndAllowThreads(__tstate);
13166 if (PyErr_Occurred()) SWIG_fail;
13167 }
2f4c0a16 13168 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxScrollWinEvent, 1);
d14a1e28
RD
13169 return resultobj;
13170 fail:
13171 return NULL;
13172}
13173
13174
13175static PyObject *_wrap_ScrollWinEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13176 PyObject *resultobj;
13177 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13178 int result;
13179 PyObject * obj0 = 0 ;
13180 char *kwnames[] = {
13181 (char *) "self", NULL
13182 };
13183
13184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13185 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13186 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13187 {
13188 PyThreadState* __tstate = wxPyBeginAllowThreads();
13189 result = (int)((wxScrollWinEvent const *)arg1)->GetOrientation();
13190
13191 wxPyEndAllowThreads(__tstate);
13192 if (PyErr_Occurred()) SWIG_fail;
13193 }
2f4c0a16 13194 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13195 return resultobj;
13196 fail:
13197 return NULL;
13198}
13199
13200
13201static PyObject *_wrap_ScrollWinEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13204 int result;
13205 PyObject * obj0 = 0 ;
13206 char *kwnames[] = {
13207 (char *) "self", NULL
13208 };
13209
13210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollWinEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13211 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13212 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13213 {
13214 PyThreadState* __tstate = wxPyBeginAllowThreads();
13215 result = (int)((wxScrollWinEvent const *)arg1)->GetPosition();
13216
13217 wxPyEndAllowThreads(__tstate);
13218 if (PyErr_Occurred()) SWIG_fail;
13219 }
2f4c0a16 13220 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13221 return resultobj;
13222 fail:
13223 return NULL;
13224}
13225
13226
13227static PyObject *_wrap_ScrollWinEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
13228 PyObject *resultobj;
13229 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13230 int arg2 ;
13231 PyObject * obj0 = 0 ;
8edf1c75 13232 PyObject * obj1 = 0 ;
d14a1e28
RD
13233 char *kwnames[] = {
13234 (char *) "self",(char *) "orient", NULL
13235 };
13236
8edf1c75 13237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13240 arg2 = (int) SWIG_AsInt(obj1);
13241 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13242 {
13243 PyThreadState* __tstate = wxPyBeginAllowThreads();
13244 (arg1)->SetOrientation(arg2);
13245
13246 wxPyEndAllowThreads(__tstate);
13247 if (PyErr_Occurred()) SWIG_fail;
13248 }
13249 Py_INCREF(Py_None); resultobj = Py_None;
13250 return resultobj;
13251 fail:
13252 return NULL;
13253}
13254
13255
13256static PyObject *_wrap_ScrollWinEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13257 PyObject *resultobj;
13258 wxScrollWinEvent *arg1 = (wxScrollWinEvent *) 0 ;
13259 int arg2 ;
13260 PyObject * obj0 = 0 ;
8edf1c75 13261 PyObject * obj1 = 0 ;
d14a1e28
RD
13262 char *kwnames[] = {
13263 (char *) "self",(char *) "pos", NULL
13264 };
13265
8edf1c75 13266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrollWinEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13267 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxScrollWinEvent,
13268 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13269 arg2 = (int) SWIG_AsInt(obj1);
13270 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13271 {
13272 PyThreadState* __tstate = wxPyBeginAllowThreads();
13273 (arg1)->SetPosition(arg2);
13274
13275 wxPyEndAllowThreads(__tstate);
13276 if (PyErr_Occurred()) SWIG_fail;
13277 }
13278 Py_INCREF(Py_None); resultobj = Py_None;
13279 return resultobj;
13280 fail:
13281 return NULL;
13282}
13283
13284
13285static PyObject * ScrollWinEvent_swigregister(PyObject *self, PyObject *args) {
13286 PyObject *obj;
13287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13288 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent, obj);
13289 Py_INCREF(obj);
13290 return Py_BuildValue((char *)"");
13291}
13292static PyObject *_wrap_new_MouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13293 PyObject *resultobj;
13294 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13295 wxMouseEvent *result;
8edf1c75 13296 PyObject * obj0 = 0 ;
d14a1e28
RD
13297 char *kwnames[] = {
13298 (char *) "mouseType", NULL
13299 };
13300
8edf1c75
RD
13301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MouseEvent",kwnames,&obj0)) goto fail;
13302 if (obj0) {
2f4c0a16
RD
13303 arg1 = (wxEventType) SWIG_AsInt(obj0);
13304 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13305 }
d14a1e28
RD
13306 {
13307 PyThreadState* __tstate = wxPyBeginAllowThreads();
13308 result = (wxMouseEvent *)new wxMouseEvent(arg1);
13309
13310 wxPyEndAllowThreads(__tstate);
13311 if (PyErr_Occurred()) SWIG_fail;
13312 }
13313 {
13314 resultobj = wxPyMake_wxObject(result);
13315 }
13316 return resultobj;
13317 fail:
13318 return NULL;
13319}
13320
13321
13322static PyObject *_wrap_MouseEvent_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13323 PyObject *resultobj;
13324 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13325 bool result;
13326 PyObject * obj0 = 0 ;
13327 char *kwnames[] = {
13328 (char *) "self", NULL
13329 };
13330
13331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsButton",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13332 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13333 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13334 {
13335 PyThreadState* __tstate = wxPyBeginAllowThreads();
13336 result = (bool)((wxMouseEvent const *)arg1)->IsButton();
13337
13338 wxPyEndAllowThreads(__tstate);
13339 if (PyErr_Occurred()) SWIG_fail;
13340 }
4e760a36 13341 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13342 return resultobj;
13343 fail:
13344 return NULL;
13345}
13346
13347
13348static PyObject *_wrap_MouseEvent_ButtonDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13349 PyObject *resultobj;
13350 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13351 int arg2 = (int) wxMOUSE_BTN_ANY ;
13352 bool result;
13353 PyObject * obj0 = 0 ;
8edf1c75 13354 PyObject * obj1 = 0 ;
d14a1e28
RD
13355 char *kwnames[] = {
13356 (char *) "self",(char *) "but", NULL
13357 };
13358
8edf1c75 13359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13362 if (obj1) {
2f4c0a16
RD
13363 arg2 = (int) SWIG_AsInt(obj1);
13364 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13365 }
d14a1e28
RD
13366 {
13367 PyThreadState* __tstate = wxPyBeginAllowThreads();
13368 result = (bool)((wxMouseEvent const *)arg1)->ButtonDown(arg2);
13369
13370 wxPyEndAllowThreads(__tstate);
13371 if (PyErr_Occurred()) SWIG_fail;
13372 }
4e760a36 13373 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13374 return resultobj;
13375 fail:
13376 return NULL;
13377}
13378
13379
13380static PyObject *_wrap_MouseEvent_ButtonDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13381 PyObject *resultobj;
13382 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13383 int arg2 = (int) wxMOUSE_BTN_ANY ;
13384 bool result;
13385 PyObject * obj0 = 0 ;
8edf1c75 13386 PyObject * obj1 = 0 ;
d14a1e28
RD
13387 char *kwnames[] = {
13388 (char *) "self",(char *) "but", NULL
13389 };
13390
8edf1c75 13391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonDClick",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13392 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13393 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13394 if (obj1) {
2f4c0a16
RD
13395 arg2 = (int) SWIG_AsInt(obj1);
13396 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13397 }
d14a1e28
RD
13398 {
13399 PyThreadState* __tstate = wxPyBeginAllowThreads();
13400 result = (bool)((wxMouseEvent const *)arg1)->ButtonDClick(arg2);
13401
13402 wxPyEndAllowThreads(__tstate);
13403 if (PyErr_Occurred()) SWIG_fail;
13404 }
4e760a36 13405 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13406 return resultobj;
13407 fail:
13408 return NULL;
13409}
13410
13411
13412static PyObject *_wrap_MouseEvent_ButtonUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13413 PyObject *resultobj;
13414 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13415 int arg2 = (int) wxMOUSE_BTN_ANY ;
13416 bool result;
13417 PyObject * obj0 = 0 ;
8edf1c75 13418 PyObject * obj1 = 0 ;
d14a1e28
RD
13419 char *kwnames[] = {
13420 (char *) "self",(char *) "but", NULL
13421 };
13422
8edf1c75 13423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MouseEvent_ButtonUp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13424 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13425 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 13426 if (obj1) {
2f4c0a16
RD
13427 arg2 = (int) SWIG_AsInt(obj1);
13428 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 13429 }
d14a1e28
RD
13430 {
13431 PyThreadState* __tstate = wxPyBeginAllowThreads();
13432 result = (bool)((wxMouseEvent const *)arg1)->ButtonUp(arg2);
13433
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
4e760a36 13437 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13438 return resultobj;
13439 fail:
13440 return NULL;
13441}
13442
13443
13444static PyObject *_wrap_MouseEvent_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
13445 PyObject *resultobj;
13446 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13447 int arg2 ;
13448 bool result;
13449 PyObject * obj0 = 0 ;
8edf1c75 13450 PyObject * obj1 = 0 ;
d14a1e28
RD
13451 char *kwnames[] = {
13452 (char *) "self",(char *) "but", NULL
13453 };
13454
8edf1c75 13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_Button",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13458 arg2 = (int) SWIG_AsInt(obj1);
13459 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 result = (bool)((wxMouseEvent const *)arg1)->Button(arg2);
13463
13464 wxPyEndAllowThreads(__tstate);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 }
4e760a36 13467 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13468 return resultobj;
13469 fail:
13470 return NULL;
13471}
13472
13473
13474static PyObject *_wrap_MouseEvent_ButtonIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13475 PyObject *resultobj;
13476 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13477 int arg2 ;
13478 bool result;
13479 PyObject * obj0 = 0 ;
8edf1c75 13480 PyObject * obj1 = 0 ;
d14a1e28
RD
13481 char *kwnames[] = {
13482 (char *) "self",(char *) "but", NULL
13483 };
13484
8edf1c75 13485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_ButtonIsDown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
13486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
13488 arg2 = (int) SWIG_AsInt(obj1);
13489 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
13490 {
13491 PyThreadState* __tstate = wxPyBeginAllowThreads();
13492 result = (bool)((wxMouseEvent const *)arg1)->ButtonIsDown(arg2);
13493
13494 wxPyEndAllowThreads(__tstate);
13495 if (PyErr_Occurred()) SWIG_fail;
13496 }
4e760a36 13497 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13498 return resultobj;
13499 fail:
13500 return NULL;
13501}
13502
13503
13504static PyObject *_wrap_MouseEvent_GetButton(PyObject *self, PyObject *args, PyObject *kwargs) {
13505 PyObject *resultobj;
13506 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13507 int result;
13508 PyObject * obj0 = 0 ;
13509 char *kwnames[] = {
13510 (char *) "self", NULL
13511 };
13512
13513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetButton",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 result = (int)((wxMouseEvent const *)arg1)->GetButton();
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
2f4c0a16 13523 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
13524 return resultobj;
13525 fail:
13526 return NULL;
13527}
13528
13529
13530static PyObject *_wrap_MouseEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj;
13532 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13533 bool result;
13534 PyObject * obj0 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13540 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13541 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13542 {
13543 PyThreadState* __tstate = wxPyBeginAllowThreads();
13544 result = (bool)((wxMouseEvent const *)arg1)->ControlDown();
13545
13546 wxPyEndAllowThreads(__tstate);
13547 if (PyErr_Occurred()) SWIG_fail;
13548 }
4e760a36 13549 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13550 return resultobj;
13551 fail:
13552 return NULL;
13553}
13554
13555
13556static PyObject *_wrap_MouseEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13557 PyObject *resultobj;
13558 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13559 bool result;
13560 PyObject * obj0 = 0 ;
13561 char *kwnames[] = {
13562 (char *) "self", NULL
13563 };
13564
13565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13566 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13567 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13568 {
13569 PyThreadState* __tstate = wxPyBeginAllowThreads();
13570 result = (bool)((wxMouseEvent const *)arg1)->MetaDown();
13571
13572 wxPyEndAllowThreads(__tstate);
13573 if (PyErr_Occurred()) SWIG_fail;
13574 }
4e760a36 13575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13576 return resultobj;
13577 fail:
13578 return NULL;
13579}
13580
13581
13582static PyObject *_wrap_MouseEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13583 PyObject *resultobj;
13584 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13585 bool result;
13586 PyObject * obj0 = 0 ;
13587 char *kwnames[] = {
13588 (char *) "self", NULL
13589 };
13590
13591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13594 {
13595 PyThreadState* __tstate = wxPyBeginAllowThreads();
13596 result = (bool)((wxMouseEvent const *)arg1)->AltDown();
13597
13598 wxPyEndAllowThreads(__tstate);
13599 if (PyErr_Occurred()) SWIG_fail;
13600 }
4e760a36 13601 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13602 return resultobj;
13603 fail:
13604 return NULL;
13605}
13606
13607
13608static PyObject *_wrap_MouseEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13609 PyObject *resultobj;
13610 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13611 bool result;
13612 PyObject * obj0 = 0 ;
13613 char *kwnames[] = {
13614 (char *) "self", NULL
13615 };
13616
13617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13620 {
13621 PyThreadState* __tstate = wxPyBeginAllowThreads();
13622 result = (bool)((wxMouseEvent const *)arg1)->ShiftDown();
13623
13624 wxPyEndAllowThreads(__tstate);
13625 if (PyErr_Occurred()) SWIG_fail;
13626 }
4e760a36 13627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13628 return resultobj;
13629 fail:
13630 return NULL;
13631}
13632
13633
13634static PyObject *_wrap_MouseEvent_LeftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13635 PyObject *resultobj;
13636 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13637 bool result;
13638 PyObject * obj0 = 0 ;
13639 char *kwnames[] = {
13640 (char *) "self", NULL
13641 };
13642
13643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13646 {
13647 PyThreadState* __tstate = wxPyBeginAllowThreads();
13648 result = (bool)((wxMouseEvent const *)arg1)->LeftDown();
13649
13650 wxPyEndAllowThreads(__tstate);
13651 if (PyErr_Occurred()) SWIG_fail;
13652 }
4e760a36 13653 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13654 return resultobj;
13655 fail:
13656 return NULL;
13657}
13658
13659
13660static PyObject *_wrap_MouseEvent_MiddleDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13661 PyObject *resultobj;
13662 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13663 bool result;
13664 PyObject * obj0 = 0 ;
13665 char *kwnames[] = {
13666 (char *) "self", NULL
13667 };
13668
13669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13672 {
13673 PyThreadState* __tstate = wxPyBeginAllowThreads();
13674 result = (bool)((wxMouseEvent const *)arg1)->MiddleDown();
13675
13676 wxPyEndAllowThreads(__tstate);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
4e760a36 13679 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13680 return resultobj;
13681 fail:
13682 return NULL;
13683}
13684
13685
13686static PyObject *_wrap_MouseEvent_RightDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13687 PyObject *resultobj;
13688 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13689 bool result;
13690 PyObject * obj0 = 0 ;
13691 char *kwnames[] = {
13692 (char *) "self", NULL
13693 };
13694
13695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 result = (bool)((wxMouseEvent const *)arg1)->RightDown();
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
4e760a36 13705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13706 return resultobj;
13707 fail:
13708 return NULL;
13709}
13710
13711
13712static PyObject *_wrap_MouseEvent_LeftUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13713 PyObject *resultobj;
13714 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13715 bool result;
13716 PyObject * obj0 = 0 ;
13717 char *kwnames[] = {
13718 (char *) "self", NULL
13719 };
13720
13721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13724 {
13725 PyThreadState* __tstate = wxPyBeginAllowThreads();
13726 result = (bool)((wxMouseEvent const *)arg1)->LeftUp();
13727
13728 wxPyEndAllowThreads(__tstate);
13729 if (PyErr_Occurred()) SWIG_fail;
13730 }
4e760a36 13731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13732 return resultobj;
13733 fail:
13734 return NULL;
13735}
13736
13737
13738static PyObject *_wrap_MouseEvent_MiddleUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13739 PyObject *resultobj;
13740 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13741 bool result;
13742 PyObject * obj0 = 0 ;
13743 char *kwnames[] = {
13744 (char *) "self", NULL
13745 };
13746
13747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13750 {
13751 PyThreadState* __tstate = wxPyBeginAllowThreads();
13752 result = (bool)((wxMouseEvent const *)arg1)->MiddleUp();
13753
13754 wxPyEndAllowThreads(__tstate);
13755 if (PyErr_Occurred()) SWIG_fail;
13756 }
4e760a36 13757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13758 return resultobj;
13759 fail:
13760 return NULL;
13761}
13762
13763
13764static PyObject *_wrap_MouseEvent_RightUp(PyObject *self, PyObject *args, PyObject *kwargs) {
13765 PyObject *resultobj;
13766 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13767 bool result;
13768 PyObject * obj0 = 0 ;
13769 char *kwnames[] = {
13770 (char *) "self", NULL
13771 };
13772
13773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13774 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13775 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13776 {
13777 PyThreadState* __tstate = wxPyBeginAllowThreads();
13778 result = (bool)((wxMouseEvent const *)arg1)->RightUp();
13779
13780 wxPyEndAllowThreads(__tstate);
13781 if (PyErr_Occurred()) SWIG_fail;
13782 }
4e760a36 13783 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13784 return resultobj;
13785 fail:
13786 return NULL;
13787}
13788
13789
13790static PyObject *_wrap_MouseEvent_LeftDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13791 PyObject *resultobj;
13792 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13793 bool result;
13794 PyObject * obj0 = 0 ;
13795 char *kwnames[] = {
13796 (char *) "self", NULL
13797 };
13798
13799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftDClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13802 {
13803 PyThreadState* __tstate = wxPyBeginAllowThreads();
13804 result = (bool)((wxMouseEvent const *)arg1)->LeftDClick();
13805
13806 wxPyEndAllowThreads(__tstate);
13807 if (PyErr_Occurred()) SWIG_fail;
13808 }
4e760a36 13809 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13810 return resultobj;
13811 fail:
13812 return NULL;
13813}
13814
13815
13816static PyObject *_wrap_MouseEvent_MiddleDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13817 PyObject *resultobj;
13818 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13819 bool result;
13820 PyObject * obj0 = 0 ;
13821 char *kwnames[] = {
13822 (char *) "self", NULL
13823 };
13824
13825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleDClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13828 {
13829 PyThreadState* __tstate = wxPyBeginAllowThreads();
13830 result = (bool)((wxMouseEvent const *)arg1)->MiddleDClick();
13831
13832 wxPyEndAllowThreads(__tstate);
13833 if (PyErr_Occurred()) SWIG_fail;
13834 }
4e760a36 13835 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13836 return resultobj;
13837 fail:
13838 return NULL;
13839}
13840
13841
13842static PyObject *_wrap_MouseEvent_RightDClick(PyObject *self, PyObject *args, PyObject *kwargs) {
13843 PyObject *resultobj;
13844 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13845 bool result;
13846 PyObject * obj0 = 0 ;
13847 char *kwnames[] = {
13848 (char *) "self", NULL
13849 };
13850
13851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightDClick",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13852 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13853 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13854 {
13855 PyThreadState* __tstate = wxPyBeginAllowThreads();
13856 result = (bool)((wxMouseEvent const *)arg1)->RightDClick();
13857
13858 wxPyEndAllowThreads(__tstate);
13859 if (PyErr_Occurred()) SWIG_fail;
13860 }
4e760a36 13861 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13862 return resultobj;
13863 fail:
13864 return NULL;
13865}
13866
13867
13868static PyObject *_wrap_MouseEvent_LeftIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj;
13870 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13871 bool result;
13872 PyObject * obj0 = 0 ;
13873 char *kwnames[] = {
13874 (char *) "self", NULL
13875 };
13876
13877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_LeftIsDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13878 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13879 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 result = (bool)(arg1)->LeftIsDown();
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
4e760a36 13887 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13888 return resultobj;
13889 fail:
13890 return NULL;
13891}
13892
13893
13894static PyObject *_wrap_MouseEvent_MiddleIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13895 PyObject *resultobj;
13896 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13897 bool result;
13898 PyObject * obj0 = 0 ;
13899 char *kwnames[] = {
13900 (char *) "self", NULL
13901 };
13902
13903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_MiddleIsDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13904 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13905 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13906 {
13907 PyThreadState* __tstate = wxPyBeginAllowThreads();
13908 result = (bool)(arg1)->MiddleIsDown();
13909
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
4e760a36 13913 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13914 return resultobj;
13915 fail:
13916 return NULL;
13917}
13918
13919
13920static PyObject *_wrap_MouseEvent_RightIsDown(PyObject *self, PyObject *args, PyObject *kwargs) {
13921 PyObject *resultobj;
13922 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13923 bool result;
13924 PyObject * obj0 = 0 ;
13925 char *kwnames[] = {
13926 (char *) "self", NULL
13927 };
13928
13929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_RightIsDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13930 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13931 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13932 {
13933 PyThreadState* __tstate = wxPyBeginAllowThreads();
13934 result = (bool)(arg1)->RightIsDown();
13935
13936 wxPyEndAllowThreads(__tstate);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 }
4e760a36 13939 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13940 return resultobj;
13941 fail:
13942 return NULL;
13943}
13944
13945
13946static PyObject *_wrap_MouseEvent_Dragging(PyObject *self, PyObject *args, PyObject *kwargs) {
13947 PyObject *resultobj;
13948 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13949 bool result;
13950 PyObject * obj0 = 0 ;
13951 char *kwnames[] = {
13952 (char *) "self", NULL
13953 };
13954
13955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Dragging",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13956 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13957 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 result = (bool)((wxMouseEvent const *)arg1)->Dragging();
13961
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
4e760a36 13965 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13966 return resultobj;
13967 fail:
13968 return NULL;
13969}
13970
13971
13972static PyObject *_wrap_MouseEvent_Moving(PyObject *self, PyObject *args, PyObject *kwargs) {
13973 PyObject *resultobj;
13974 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
13975 bool result;
13976 PyObject * obj0 = 0 ;
13977 char *kwnames[] = {
13978 (char *) "self", NULL
13979 };
13980
13981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Moving",kwnames,&obj0)) goto fail;
2f4c0a16
RD
13982 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
13983 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
13984 {
13985 PyThreadState* __tstate = wxPyBeginAllowThreads();
13986 result = (bool)((wxMouseEvent const *)arg1)->Moving();
13987
13988 wxPyEndAllowThreads(__tstate);
13989 if (PyErr_Occurred()) SWIG_fail;
13990 }
4e760a36 13991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13992 return resultobj;
13993 fail:
13994 return NULL;
13995}
13996
13997
13998static PyObject *_wrap_MouseEvent_Entering(PyObject *self, PyObject *args, PyObject *kwargs) {
13999 PyObject *resultobj;
14000 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14001 bool result;
14002 PyObject * obj0 = 0 ;
14003 char *kwnames[] = {
14004 (char *) "self", NULL
14005 };
14006
14007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Entering",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14010 {
14011 PyThreadState* __tstate = wxPyBeginAllowThreads();
14012 result = (bool)((wxMouseEvent const *)arg1)->Entering();
14013
14014 wxPyEndAllowThreads(__tstate);
14015 if (PyErr_Occurred()) SWIG_fail;
14016 }
4e760a36 14017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14018 return resultobj;
14019 fail:
14020 return NULL;
14021}
14022
14023
14024static PyObject *_wrap_MouseEvent_Leaving(PyObject *self, PyObject *args, PyObject *kwargs) {
14025 PyObject *resultobj;
14026 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14027 bool result;
14028 PyObject * obj0 = 0 ;
14029 char *kwnames[] = {
14030 (char *) "self", NULL
14031 };
14032
14033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_Leaving",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14036 {
14037 PyThreadState* __tstate = wxPyBeginAllowThreads();
14038 result = (bool)((wxMouseEvent const *)arg1)->Leaving();
14039
14040 wxPyEndAllowThreads(__tstate);
14041 if (PyErr_Occurred()) SWIG_fail;
14042 }
4e760a36 14043 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14044 return resultobj;
14045 fail:
14046 return NULL;
14047}
14048
14049
14050static PyObject *_wrap_MouseEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14051 PyObject *resultobj;
14052 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14053 wxPoint result;
14054 PyObject * obj0 = 0 ;
14055 char *kwnames[] = {
14056 (char *) "self", NULL
14057 };
14058
14059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14060 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14061 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14062 {
14063 PyThreadState* __tstate = wxPyBeginAllowThreads();
14064 result = (arg1)->GetPosition();
14065
14066 wxPyEndAllowThreads(__tstate);
14067 if (PyErr_Occurred()) SWIG_fail;
14068 }
14069 {
14070 wxPoint * resultptr;
14071 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14072 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14073 }
14074 return resultobj;
14075 fail:
14076 return NULL;
14077}
14078
14079
14080static PyObject *_wrap_MouseEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
14081 PyObject *resultobj;
14082 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14083 long *arg2 = (long *) 0 ;
14084 long *arg3 = (long *) 0 ;
14085 long temp2 ;
14086 long temp3 ;
14087 PyObject * obj0 = 0 ;
14088 char *kwnames[] = {
14089 (char *) "self", NULL
14090 };
14091
14092 arg2 = &temp2;
14093 arg3 = &temp3;
14094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14095 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14096 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14097 {
14098 PyThreadState* __tstate = wxPyBeginAllowThreads();
14099 (arg1)->GetPosition(arg2,arg3);
14100
14101 wxPyEndAllowThreads(__tstate);
14102 if (PyErr_Occurred()) SWIG_fail;
14103 }
14104 Py_INCREF(Py_None); resultobj = Py_None;
14105 {
14106 PyObject *o = PyInt_FromLong((long) (*arg2));
14107 resultobj = t_output_helper(resultobj,o);
14108 }
14109 {
14110 PyObject *o = PyInt_FromLong((long) (*arg3));
14111 resultobj = t_output_helper(resultobj,o);
14112 }
14113 return resultobj;
14114 fail:
14115 return NULL;
14116}
14117
14118
14119static PyObject *_wrap_MouseEvent_GetLogicalPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14120 PyObject *resultobj;
14121 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14122 wxDC *arg2 = 0 ;
14123 wxPoint result;
14124 PyObject * obj0 = 0 ;
14125 PyObject * obj1 = 0 ;
14126 char *kwnames[] = {
14127 (char *) "self",(char *) "dc", NULL
14128 };
14129
14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14133 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
14134 SWIG_POINTER_EXCEPTION | 0)) == -1)
14135 SWIG_fail;
d14a1e28 14136 if (arg2 == NULL) {
2f4c0a16
RD
14137 PyErr_SetString(PyExc_TypeError,"null reference");
14138 SWIG_fail;
d14a1e28
RD
14139 }
14140 {
14141 PyThreadState* __tstate = wxPyBeginAllowThreads();
14142 result = ((wxMouseEvent const *)arg1)->GetLogicalPosition((wxDC const &)*arg2);
14143
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 {
14148 wxPoint * resultptr;
14149 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 14150 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
14151 }
14152 return resultobj;
14153 fail:
14154 return NULL;
14155}
14156
14157
14158static PyObject *_wrap_MouseEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14159 PyObject *resultobj;
14160 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14161 int result;
d14a1e28
RD
14162 PyObject * obj0 = 0 ;
14163 char *kwnames[] = {
14164 (char *) "self", NULL
14165 };
14166
14167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14168 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14169 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14170 {
14171 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14172 result = (int)((wxMouseEvent const *)arg1)->GetX();
d14a1e28
RD
14173
14174 wxPyEndAllowThreads(__tstate);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
2f4c0a16 14177 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14178 return resultobj;
14179 fail:
14180 return NULL;
14181}
14182
14183
14184static PyObject *_wrap_MouseEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14185 PyObject *resultobj;
14186 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14187 int result;
d14a1e28
RD
14188 PyObject * obj0 = 0 ;
14189 char *kwnames[] = {
14190 (char *) "self", NULL
14191 };
14192
14193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14196 {
14197 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14198 result = (int)((wxMouseEvent const *)arg1)->GetY();
d14a1e28
RD
14199
14200 wxPyEndAllowThreads(__tstate);
14201 if (PyErr_Occurred()) SWIG_fail;
14202 }
2f4c0a16 14203 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14204 return resultobj;
14205 fail:
14206 return NULL;
14207}
14208
14209
14210static PyObject *_wrap_MouseEvent_GetWheelRotation(PyObject *self, PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj;
14212 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14213 int result;
14214 PyObject * obj0 = 0 ;
14215 char *kwnames[] = {
14216 (char *) "self", NULL
14217 };
14218
14219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelRotation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14222 {
14223 PyThreadState* __tstate = wxPyBeginAllowThreads();
14224 result = (int)((wxMouseEvent const *)arg1)->GetWheelRotation();
14225
14226 wxPyEndAllowThreads(__tstate);
14227 if (PyErr_Occurred()) SWIG_fail;
14228 }
2f4c0a16 14229 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14230 return resultobj;
14231 fail:
14232 return NULL;
14233}
14234
14235
14236static PyObject *_wrap_MouseEvent_GetWheelDelta(PyObject *self, PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj;
14238 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14239 int result;
14240 PyObject * obj0 = 0 ;
14241 char *kwnames[] = {
14242 (char *) "self", NULL
14243 };
14244
14245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetWheelDelta",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14248 {
14249 PyThreadState* __tstate = wxPyBeginAllowThreads();
14250 result = (int)((wxMouseEvent const *)arg1)->GetWheelDelta();
14251
14252 wxPyEndAllowThreads(__tstate);
14253 if (PyErr_Occurred()) SWIG_fail;
14254 }
2f4c0a16 14255 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14256 return resultobj;
14257 fail:
14258 return NULL;
14259}
14260
14261
14262static PyObject *_wrap_MouseEvent_GetLinesPerAction(PyObject *self, PyObject *args, PyObject *kwargs) {
14263 PyObject *resultobj;
14264 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14265 int result;
14266 PyObject * obj0 = 0 ;
14267 char *kwnames[] = {
14268 (char *) "self", NULL
14269 };
14270
14271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_GetLinesPerAction",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14272 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14274 {
14275 PyThreadState* __tstate = wxPyBeginAllowThreads();
14276 result = (int)((wxMouseEvent const *)arg1)->GetLinesPerAction();
14277
14278 wxPyEndAllowThreads(__tstate);
14279 if (PyErr_Occurred()) SWIG_fail;
14280 }
2f4c0a16 14281 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14282 return resultobj;
14283 fail:
14284 return NULL;
14285}
14286
14287
14288static PyObject *_wrap_MouseEvent_IsPageScroll(PyObject *self, PyObject *args, PyObject *kwargs) {
14289 PyObject *resultobj;
14290 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14291 bool result;
14292 PyObject * obj0 = 0 ;
14293 char *kwnames[] = {
14294 (char *) "self", NULL
14295 };
14296
14297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_IsPageScroll",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14298 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14299 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14300 {
14301 PyThreadState* __tstate = wxPyBeginAllowThreads();
14302 result = (bool)((wxMouseEvent const *)arg1)->IsPageScroll();
14303
14304 wxPyEndAllowThreads(__tstate);
14305 if (PyErr_Occurred()) SWIG_fail;
14306 }
4e760a36 14307 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14308 return resultobj;
14309 fail:
14310 return NULL;
14311}
14312
14313
14314static PyObject *_wrap_MouseEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14315 PyObject *resultobj;
14316 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14317 int arg2 ;
d14a1e28 14318 PyObject * obj0 = 0 ;
8edf1c75 14319 PyObject * obj1 = 0 ;
d14a1e28
RD
14320 char *kwnames[] = {
14321 (char *) "self",(char *) "m_x", NULL
14322 };
14323
8edf1c75 14324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14325 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14326 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14327 arg2 = (int) SWIG_AsInt(obj1);
14328 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14329 if (arg1) (arg1)->m_x = arg2;
14330
14331 Py_INCREF(Py_None); resultobj = Py_None;
14332 return resultobj;
14333 fail:
14334 return NULL;
14335}
14336
14337
14338static PyObject *_wrap_MouseEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14339 PyObject *resultobj;
14340 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14341 int result;
d14a1e28
RD
14342 PyObject * obj0 = 0 ;
14343 char *kwnames[] = {
14344 (char *) "self", NULL
14345 };
14346
14347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 14350 result = (int) ((arg1)->m_x);
d14a1e28 14351
2f4c0a16 14352 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14353 return resultobj;
14354 fail:
14355 return NULL;
14356}
14357
14358
14359static PyObject *_wrap_MouseEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj;
14361 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14362 int arg2 ;
d14a1e28 14363 PyObject * obj0 = 0 ;
8edf1c75 14364 PyObject * obj1 = 0 ;
d14a1e28
RD
14365 char *kwnames[] = {
14366 (char *) "self",(char *) "m_y", NULL
14367 };
14368
8edf1c75 14369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14370 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14371 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14372 arg2 = (int) SWIG_AsInt(obj1);
14373 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14374 if (arg1) (arg1)->m_y = arg2;
14375
14376 Py_INCREF(Py_None); resultobj = Py_None;
14377 return resultobj;
14378 fail:
14379 return NULL;
14380}
14381
14382
14383static PyObject *_wrap_MouseEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14384 PyObject *resultobj;
14385 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
423f194a 14386 int result;
d14a1e28
RD
14387 PyObject * obj0 = 0 ;
14388 char *kwnames[] = {
14389 (char *) "self", NULL
14390 };
14391
14392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 14395 result = (int) ((arg1)->m_y);
d14a1e28 14396
2f4c0a16 14397 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14398 return resultobj;
14399 fail:
14400 return NULL;
14401}
14402
14403
14404static PyObject *_wrap_MouseEvent_m_leftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14405 PyObject *resultobj;
14406 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14407 bool arg2 ;
14408 PyObject * obj0 = 0 ;
14409 PyObject * obj1 = 0 ;
14410 char *kwnames[] = {
14411 (char *) "self",(char *) "m_leftDown", NULL
14412 };
14413
14414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_leftDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14415 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14416 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14417 arg2 = (bool) SWIG_AsBool(obj1);
14418 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14419 if (arg1) (arg1)->m_leftDown = arg2;
14420
14421 Py_INCREF(Py_None); resultobj = Py_None;
14422 return resultobj;
14423 fail:
14424 return NULL;
14425}
14426
14427
14428static PyObject *_wrap_MouseEvent_m_leftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14429 PyObject *resultobj;
14430 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14431 bool result;
14432 PyObject * obj0 = 0 ;
14433 char *kwnames[] = {
14434 (char *) "self", NULL
14435 };
14436
14437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_leftDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14438 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14439 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14440 result = (bool) ((arg1)->m_leftDown);
14441
4e760a36 14442 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14443 return resultobj;
14444 fail:
14445 return NULL;
14446}
14447
14448
14449static PyObject *_wrap_MouseEvent_m_middleDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14450 PyObject *resultobj;
14451 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14452 bool arg2 ;
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self",(char *) "m_middleDown", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_middleDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14460 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14462 arg2 = (bool) SWIG_AsBool(obj1);
14463 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14464 if (arg1) (arg1)->m_middleDown = arg2;
14465
14466 Py_INCREF(Py_None); resultobj = Py_None;
14467 return resultobj;
14468 fail:
14469 return NULL;
14470}
14471
14472
14473static PyObject *_wrap_MouseEvent_m_middleDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14474 PyObject *resultobj;
14475 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14476 bool result;
14477 PyObject * obj0 = 0 ;
14478 char *kwnames[] = {
14479 (char *) "self", NULL
14480 };
14481
14482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_middleDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14483 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14484 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14485 result = (bool) ((arg1)->m_middleDown);
14486
4e760a36 14487 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14488 return resultobj;
14489 fail:
14490 return NULL;
14491}
14492
14493
14494static PyObject *_wrap_MouseEvent_m_rightDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14495 PyObject *resultobj;
14496 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14497 bool arg2 ;
14498 PyObject * obj0 = 0 ;
14499 PyObject * obj1 = 0 ;
14500 char *kwnames[] = {
14501 (char *) "self",(char *) "m_rightDown", NULL
14502 };
14503
14504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_rightDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14507 arg2 = (bool) SWIG_AsBool(obj1);
14508 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14509 if (arg1) (arg1)->m_rightDown = arg2;
14510
14511 Py_INCREF(Py_None); resultobj = Py_None;
14512 return resultobj;
14513 fail:
14514 return NULL;
14515}
14516
14517
14518static PyObject *_wrap_MouseEvent_m_rightDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14519 PyObject *resultobj;
14520 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14521 bool result;
14522 PyObject * obj0 = 0 ;
14523 char *kwnames[] = {
14524 (char *) "self", NULL
14525 };
14526
14527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_rightDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14528 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14529 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14530 result = (bool) ((arg1)->m_rightDown);
14531
4e760a36 14532 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14533 return resultobj;
14534 fail:
14535 return NULL;
14536}
14537
14538
14539static PyObject *_wrap_MouseEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14540 PyObject *resultobj;
14541 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14542 bool arg2 ;
14543 PyObject * obj0 = 0 ;
14544 PyObject * obj1 = 0 ;
14545 char *kwnames[] = {
14546 (char *) "self",(char *) "m_controlDown", NULL
14547 };
14548
14549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14552 arg2 = (bool) SWIG_AsBool(obj1);
14553 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14554 if (arg1) (arg1)->m_controlDown = arg2;
14555
14556 Py_INCREF(Py_None); resultobj = Py_None;
14557 return resultobj;
14558 fail:
14559 return NULL;
14560}
14561
14562
14563static PyObject *_wrap_MouseEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14564 PyObject *resultobj;
14565 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14566 bool result;
14567 PyObject * obj0 = 0 ;
14568 char *kwnames[] = {
14569 (char *) "self", NULL
14570 };
14571
14572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14573 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14574 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14575 result = (bool) ((arg1)->m_controlDown);
14576
4e760a36 14577 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14578 return resultobj;
14579 fail:
14580 return NULL;
14581}
14582
14583
14584static PyObject *_wrap_MouseEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14585 PyObject *resultobj;
14586 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14587 bool arg2 ;
14588 PyObject * obj0 = 0 ;
14589 PyObject * obj1 = 0 ;
14590 char *kwnames[] = {
14591 (char *) "self",(char *) "m_shiftDown", NULL
14592 };
14593
14594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14597 arg2 = (bool) SWIG_AsBool(obj1);
14598 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14599 if (arg1) (arg1)->m_shiftDown = arg2;
14600
14601 Py_INCREF(Py_None); resultobj = Py_None;
14602 return resultobj;
14603 fail:
14604 return NULL;
14605}
14606
14607
14608static PyObject *_wrap_MouseEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14609 PyObject *resultobj;
14610 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14611 bool result;
14612 PyObject * obj0 = 0 ;
14613 char *kwnames[] = {
14614 (char *) "self", NULL
14615 };
14616
14617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14620 result = (bool) ((arg1)->m_shiftDown);
14621
4e760a36 14622 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14623 return resultobj;
14624 fail:
14625 return NULL;
14626}
14627
14628
14629static PyObject *_wrap_MouseEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14630 PyObject *resultobj;
14631 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14632 bool arg2 ;
14633 PyObject * obj0 = 0 ;
14634 PyObject * obj1 = 0 ;
14635 char *kwnames[] = {
14636 (char *) "self",(char *) "m_altDown", NULL
14637 };
14638
14639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14642 arg2 = (bool) SWIG_AsBool(obj1);
14643 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14644 if (arg1) (arg1)->m_altDown = arg2;
14645
14646 Py_INCREF(Py_None); resultobj = Py_None;
14647 return resultobj;
14648 fail:
14649 return NULL;
14650}
14651
14652
14653static PyObject *_wrap_MouseEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14654 PyObject *resultobj;
14655 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14656 bool result;
14657 PyObject * obj0 = 0 ;
14658 char *kwnames[] = {
14659 (char *) "self", NULL
14660 };
14661
14662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_altDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14663 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14664 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14665 result = (bool) ((arg1)->m_altDown);
14666
4e760a36 14667 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14668 return resultobj;
14669 fail:
14670 return NULL;
14671}
14672
14673
14674static PyObject *_wrap_MouseEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14675 PyObject *resultobj;
14676 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14677 bool arg2 ;
14678 PyObject * obj0 = 0 ;
14679 PyObject * obj1 = 0 ;
14680 char *kwnames[] = {
14681 (char *) "self",(char *) "m_metaDown", NULL
14682 };
14683
14684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14685 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14686 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14687 arg2 = (bool) SWIG_AsBool(obj1);
14688 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14689 if (arg1) (arg1)->m_metaDown = arg2;
14690
14691 Py_INCREF(Py_None); resultobj = Py_None;
14692 return resultobj;
14693 fail:
14694 return NULL;
14695}
14696
14697
14698static PyObject *_wrap_MouseEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14699 PyObject *resultobj;
14700 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14701 bool result;
14702 PyObject * obj0 = 0 ;
14703 char *kwnames[] = {
14704 (char *) "self", NULL
14705 };
14706
14707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14708 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14710 result = (bool) ((arg1)->m_metaDown);
14711
4e760a36 14712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14713 return resultobj;
14714 fail:
14715 return NULL;
14716}
14717
14718
14719static PyObject *_wrap_MouseEvent_m_wheelRotation_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14720 PyObject *resultobj;
14721 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14722 int arg2 ;
14723 PyObject * obj0 = 0 ;
8edf1c75 14724 PyObject * obj1 = 0 ;
d14a1e28
RD
14725 char *kwnames[] = {
14726 (char *) "self",(char *) "m_wheelRotation", NULL
14727 };
14728
8edf1c75 14729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14732 arg2 = (int) SWIG_AsInt(obj1);
14733 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14734 if (arg1) (arg1)->m_wheelRotation = arg2;
14735
14736 Py_INCREF(Py_None); resultobj = Py_None;
14737 return resultobj;
14738 fail:
14739 return NULL;
14740}
14741
14742
14743static PyObject *_wrap_MouseEvent_m_wheelRotation_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14744 PyObject *resultobj;
14745 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14746 int result;
14747 PyObject * obj0 = 0 ;
14748 char *kwnames[] = {
14749 (char *) "self", NULL
14750 };
14751
14752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14753 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14754 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14755 result = (int) ((arg1)->m_wheelRotation);
14756
2f4c0a16 14757 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14758 return resultobj;
14759 fail:
14760 return NULL;
14761}
14762
14763
14764static PyObject *_wrap_MouseEvent_m_wheelDelta_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14765 PyObject *resultobj;
14766 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14767 int arg2 ;
14768 PyObject * obj0 = 0 ;
8edf1c75 14769 PyObject * obj1 = 0 ;
d14a1e28
RD
14770 char *kwnames[] = {
14771 (char *) "self",(char *) "m_wheelDelta", NULL
14772 };
14773
8edf1c75 14774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14777 arg2 = (int) SWIG_AsInt(obj1);
14778 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14779 if (arg1) (arg1)->m_wheelDelta = arg2;
14780
14781 Py_INCREF(Py_None); resultobj = Py_None;
14782 return resultobj;
14783 fail:
14784 return NULL;
14785}
14786
14787
14788static PyObject *_wrap_MouseEvent_m_wheelDelta_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14789 PyObject *resultobj;
14790 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14791 int result;
14792 PyObject * obj0 = 0 ;
14793 char *kwnames[] = {
14794 (char *) "self", NULL
14795 };
14796
14797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14798 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14799 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14800 result = (int) ((arg1)->m_wheelDelta);
14801
2f4c0a16 14802 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14803 return resultobj;
14804 fail:
14805 return NULL;
14806}
14807
14808
14809static PyObject *_wrap_MouseEvent_m_linesPerAction_set(PyObject *self, PyObject *args, PyObject *kwargs) {
14810 PyObject *resultobj;
14811 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14812 int arg2 ;
14813 PyObject * obj0 = 0 ;
8edf1c75 14814 PyObject * obj1 = 0 ;
d14a1e28
RD
14815 char *kwnames[] = {
14816 (char *) "self",(char *) "m_linesPerAction", NULL
14817 };
14818
8edf1c75 14819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14820 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14821 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14822 arg2 = (int) SWIG_AsInt(obj1);
14823 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
14824 if (arg1) (arg1)->m_linesPerAction = arg2;
14825
14826 Py_INCREF(Py_None); resultobj = Py_None;
14827 return resultobj;
14828 fail:
14829 return NULL;
14830}
14831
14832
14833static PyObject *_wrap_MouseEvent_m_linesPerAction_get(PyObject *self, PyObject *args, PyObject *kwargs) {
14834 PyObject *resultobj;
14835 wxMouseEvent *arg1 = (wxMouseEvent *) 0 ;
14836 int result;
14837 PyObject * obj0 = 0 ;
14838 char *kwnames[] = {
14839 (char *) "self", NULL
14840 };
14841
14842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14843 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseEvent,
14844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14845 result = (int) ((arg1)->m_linesPerAction);
14846
2f4c0a16 14847 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14848 return resultobj;
14849 fail:
14850 return NULL;
14851}
14852
14853
14854static PyObject * MouseEvent_swigregister(PyObject *self, PyObject *args) {
14855 PyObject *obj;
14856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14857 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent, obj);
14858 Py_INCREF(obj);
14859 return Py_BuildValue((char *)"");
14860}
14861static PyObject *_wrap_new_SetCursorEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
14862 PyObject *resultobj;
423f194a
RD
14863 int arg1 = (int) 0 ;
14864 int arg2 = (int) 0 ;
d14a1e28 14865 wxSetCursorEvent *result;
8edf1c75
RD
14866 PyObject * obj0 = 0 ;
14867 PyObject * obj1 = 0 ;
d14a1e28
RD
14868 char *kwnames[] = {
14869 (char *) "x",(char *) "y", NULL
14870 };
14871
8edf1c75
RD
14872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SetCursorEvent",kwnames,&obj0,&obj1)) goto fail;
14873 if (obj0) {
2f4c0a16
RD
14874 arg1 = (int) SWIG_AsInt(obj0);
14875 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
14876 }
14877 if (obj1) {
2f4c0a16
RD
14878 arg2 = (int) SWIG_AsInt(obj1);
14879 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 14880 }
d14a1e28
RD
14881 {
14882 PyThreadState* __tstate = wxPyBeginAllowThreads();
14883 result = (wxSetCursorEvent *)new wxSetCursorEvent(arg1,arg2);
14884
14885 wxPyEndAllowThreads(__tstate);
14886 if (PyErr_Occurred()) SWIG_fail;
14887 }
2f4c0a16 14888 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSetCursorEvent, 1);
d14a1e28
RD
14889 return resultobj;
14890 fail:
14891 return NULL;
14892}
14893
14894
14895static PyObject *_wrap_SetCursorEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
14896 PyObject *resultobj;
14897 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
423f194a 14898 int result;
d14a1e28
RD
14899 PyObject * obj0 = 0 ;
14900 char *kwnames[] = {
14901 (char *) "self", NULL
14902 };
14903
14904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14905 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
14906 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14907 {
14908 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14909 result = (int)((wxSetCursorEvent const *)arg1)->GetX();
d14a1e28
RD
14910
14911 wxPyEndAllowThreads(__tstate);
14912 if (PyErr_Occurred()) SWIG_fail;
14913 }
2f4c0a16 14914 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14915 return resultobj;
14916 fail:
14917 return NULL;
14918}
14919
14920
14921static PyObject *_wrap_SetCursorEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
14922 PyObject *resultobj;
14923 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
423f194a 14924 int result;
d14a1e28
RD
14925 PyObject * obj0 = 0 ;
14926 char *kwnames[] = {
14927 (char *) "self", NULL
14928 };
14929
14930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
14932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14933 {
14934 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 14935 result = (int)((wxSetCursorEvent const *)arg1)->GetY();
d14a1e28
RD
14936
14937 wxPyEndAllowThreads(__tstate);
14938 if (PyErr_Occurred()) SWIG_fail;
14939 }
2f4c0a16 14940 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
14941 return resultobj;
14942 fail:
14943 return NULL;
14944}
14945
14946
14947static PyObject *_wrap_SetCursorEvent_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
14948 PyObject *resultobj;
14949 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
14950 wxCursor *arg2 = 0 ;
14951 PyObject * obj0 = 0 ;
14952 PyObject * obj1 = 0 ;
14953 char *kwnames[] = {
14954 (char *) "self",(char *) "cursor", NULL
14955 };
14956
14957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SetCursorEvent_SetCursor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
14958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
14959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
14960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
14961 SWIG_POINTER_EXCEPTION | 0)) == -1)
14962 SWIG_fail;
d14a1e28 14963 if (arg2 == NULL) {
2f4c0a16
RD
14964 PyErr_SetString(PyExc_TypeError,"null reference");
14965 SWIG_fail;
d14a1e28
RD
14966 }
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 (arg1)->SetCursor((wxCursor const &)*arg2);
14970
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 Py_INCREF(Py_None); resultobj = Py_None;
14975 return resultobj;
14976 fail:
14977 return NULL;
14978}
14979
14980
14981static PyObject *_wrap_SetCursorEvent_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
14982 PyObject *resultobj;
14983 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
14984 wxCursor *result;
14985 PyObject * obj0 = 0 ;
14986 char *kwnames[] = {
14987 (char *) "self", NULL
14988 };
14989
14990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_GetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
14991 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
14992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
14993 {
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 {
14996 wxCursor const &_result_ref = ((wxSetCursorEvent const *)arg1)->GetCursor();
14997 result = (wxCursor *) &_result_ref;
14998 }
14999
15000 wxPyEndAllowThreads(__tstate);
15001 if (PyErr_Occurred()) SWIG_fail;
15002 }
fe763115
RD
15003 {
15004 wxCursor* resultptr = new wxCursor(*result);
15005 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
15006 }
d14a1e28
RD
15007 return resultobj;
15008 fail:
15009 return NULL;
15010}
15011
15012
15013static PyObject *_wrap_SetCursorEvent_HasCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
15014 PyObject *resultobj;
15015 wxSetCursorEvent *arg1 = (wxSetCursorEvent *) 0 ;
15016 bool result;
15017 PyObject * obj0 = 0 ;
15018 char *kwnames[] = {
15019 (char *) "self", NULL
15020 };
15021
15022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SetCursorEvent_HasCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15023 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSetCursorEvent,
15024 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15025 {
15026 PyThreadState* __tstate = wxPyBeginAllowThreads();
15027 result = (bool)((wxSetCursorEvent const *)arg1)->HasCursor();
15028
15029 wxPyEndAllowThreads(__tstate);
15030 if (PyErr_Occurred()) SWIG_fail;
15031 }
4e760a36 15032 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15033 return resultobj;
15034 fail:
15035 return NULL;
15036}
15037
15038
15039static PyObject * SetCursorEvent_swigregister(PyObject *self, PyObject *args) {
15040 PyObject *obj;
15041 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15042 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent, obj);
15043 Py_INCREF(obj);
15044 return Py_BuildValue((char *)"");
15045}
15046static PyObject *_wrap_new_KeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15047 PyObject *resultobj;
15048 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
15049 wxKeyEvent *result;
8edf1c75 15050 PyObject * obj0 = 0 ;
d14a1e28
RD
15051 char *kwnames[] = {
15052 (char *) "keyType", NULL
15053 };
15054
8edf1c75
RD
15055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_KeyEvent",kwnames,&obj0)) goto fail;
15056 if (obj0) {
2f4c0a16
RD
15057 arg1 = (wxEventType) SWIG_AsInt(obj0);
15058 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15059 }
d14a1e28
RD
15060 {
15061 PyThreadState* __tstate = wxPyBeginAllowThreads();
15062 result = (wxKeyEvent *)new wxKeyEvent(arg1);
15063
15064 wxPyEndAllowThreads(__tstate);
15065 if (PyErr_Occurred()) SWIG_fail;
15066 }
2f4c0a16 15067 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxKeyEvent, 1);
d14a1e28
RD
15068 return resultobj;
15069 fail:
15070 return NULL;
15071}
15072
15073
15074static PyObject *_wrap_KeyEvent_ControlDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15075 PyObject *resultobj;
15076 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15077 bool result;
15078 PyObject * obj0 = 0 ;
15079 char *kwnames[] = {
15080 (char *) "self", NULL
15081 };
15082
15083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ControlDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15086 {
15087 PyThreadState* __tstate = wxPyBeginAllowThreads();
15088 result = (bool)((wxKeyEvent const *)arg1)->ControlDown();
15089
15090 wxPyEndAllowThreads(__tstate);
15091 if (PyErr_Occurred()) SWIG_fail;
15092 }
4e760a36 15093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15094 return resultobj;
15095 fail:
15096 return NULL;
15097}
15098
15099
15100static PyObject *_wrap_KeyEvent_MetaDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15101 PyObject *resultobj;
15102 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15103 bool result;
15104 PyObject * obj0 = 0 ;
15105 char *kwnames[] = {
15106 (char *) "self", NULL
15107 };
15108
15109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_MetaDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15112 {
15113 PyThreadState* __tstate = wxPyBeginAllowThreads();
15114 result = (bool)((wxKeyEvent const *)arg1)->MetaDown();
15115
15116 wxPyEndAllowThreads(__tstate);
15117 if (PyErr_Occurred()) SWIG_fail;
15118 }
4e760a36 15119 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15120 return resultobj;
15121 fail:
15122 return NULL;
15123}
15124
15125
15126static PyObject *_wrap_KeyEvent_AltDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15127 PyObject *resultobj;
15128 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15129 bool result;
15130 PyObject * obj0 = 0 ;
15131 char *kwnames[] = {
15132 (char *) "self", NULL
15133 };
15134
15135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_AltDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15136 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15137 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15138 {
15139 PyThreadState* __tstate = wxPyBeginAllowThreads();
15140 result = (bool)((wxKeyEvent const *)arg1)->AltDown();
15141
15142 wxPyEndAllowThreads(__tstate);
15143 if (PyErr_Occurred()) SWIG_fail;
15144 }
4e760a36 15145 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15146 return resultobj;
15147 fail:
15148 return NULL;
15149}
15150
15151
15152static PyObject *_wrap_KeyEvent_ShiftDown(PyObject *self, PyObject *args, PyObject *kwargs) {
15153 PyObject *resultobj;
15154 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15155 bool result;
15156 PyObject * obj0 = 0 ;
15157 char *kwnames[] = {
15158 (char *) "self", NULL
15159 };
15160
15161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_ShiftDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15162 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 result = (bool)((wxKeyEvent const *)arg1)->ShiftDown();
15167
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
4e760a36 15171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15172 return resultobj;
15173 fail:
15174 return NULL;
15175}
15176
15177
15178static PyObject *_wrap_KeyEvent_HasModifiers(PyObject *self, PyObject *args, PyObject *kwargs) {
15179 PyObject *resultobj;
15180 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15181 bool result;
15182 PyObject * obj0 = 0 ;
15183 char *kwnames[] = {
15184 (char *) "self", NULL
15185 };
15186
15187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_HasModifiers",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15190 {
15191 PyThreadState* __tstate = wxPyBeginAllowThreads();
15192 result = (bool)((wxKeyEvent const *)arg1)->HasModifiers();
15193
15194 wxPyEndAllowThreads(__tstate);
15195 if (PyErr_Occurred()) SWIG_fail;
15196 }
4e760a36 15197 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15198 return resultobj;
15199 fail:
15200 return NULL;
15201}
15202
15203
15204static PyObject *_wrap_KeyEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15205 PyObject *resultobj;
15206 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15207 int result;
15208 PyObject * obj0 = 0 ;
15209 char *kwnames[] = {
15210 (char *) "self", NULL
15211 };
15212
15213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15214 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15215 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15216 {
15217 PyThreadState* __tstate = wxPyBeginAllowThreads();
15218 result = (int)((wxKeyEvent const *)arg1)->GetKeyCode();
15219
15220 wxPyEndAllowThreads(__tstate);
15221 if (PyErr_Occurred()) SWIG_fail;
15222 }
2f4c0a16 15223 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15224 return resultobj;
15225 fail:
15226 return NULL;
15227}
15228
15229
15230static PyObject *_wrap_KeyEvent_GetUniChar(PyObject *self, PyObject *args, PyObject *kwargs) {
15231 PyObject *resultobj;
15232 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15233 int result;
15234 PyObject * obj0 = 0 ;
15235 char *kwnames[] = {
15236 (char *) "self", NULL
15237 };
15238
15239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetUniChar",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15240 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15241 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15242 {
15243 PyThreadState* __tstate = wxPyBeginAllowThreads();
15244 result = (int)wxKeyEvent_GetUniChar(arg1);
15245
15246 wxPyEndAllowThreads(__tstate);
15247 if (PyErr_Occurred()) SWIG_fail;
15248 }
2f4c0a16 15249 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15250 return resultobj;
15251 fail:
15252 return NULL;
15253}
15254
15255
15256static PyObject *_wrap_KeyEvent_GetRawKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
15257 PyObject *resultobj;
15258 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15259 unsigned int result;
d14a1e28
RD
15260 PyObject * obj0 = 0 ;
15261 char *kwnames[] = {
15262 (char *) "self", NULL
15263 };
15264
15265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15266 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15267 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15270 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyCode();
d14a1e28
RD
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
2f4c0a16 15275 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15276 return resultobj;
15277 fail:
15278 return NULL;
15279}
15280
15281
15282static PyObject *_wrap_KeyEvent_GetRawKeyFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj;
15284 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15285 unsigned int result;
d14a1e28
RD
15286 PyObject * obj0 = 0 ;
15287 char *kwnames[] = {
15288 (char *) "self", NULL
15289 };
15290
15291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15292 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15293 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15294 {
15295 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15296 result = (unsigned int)((wxKeyEvent const *)arg1)->GetRawKeyFlags();
d14a1e28
RD
15297
15298 wxPyEndAllowThreads(__tstate);
15299 if (PyErr_Occurred()) SWIG_fail;
15300 }
2f4c0a16 15301 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15302 return resultobj;
15303 fail:
15304 return NULL;
15305}
15306
15307
15308static PyObject *_wrap_KeyEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15309 PyObject *resultobj;
15310 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15311 wxPoint result;
15312 PyObject * obj0 = 0 ;
15313 char *kwnames[] = {
15314 (char *) "self", NULL
15315 };
15316
15317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15320 {
15321 PyThreadState* __tstate = wxPyBeginAllowThreads();
15322 result = (arg1)->GetPosition();
15323
15324 wxPyEndAllowThreads(__tstate);
15325 if (PyErr_Occurred()) SWIG_fail;
15326 }
15327 {
15328 wxPoint * resultptr;
15329 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 15330 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
15331 }
15332 return resultobj;
15333 fail:
15334 return NULL;
15335}
15336
15337
15338static PyObject *_wrap_KeyEvent_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
15339 PyObject *resultobj;
15340 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15341 long *arg2 = (long *) 0 ;
15342 long *arg3 = (long *) 0 ;
15343 long temp2 ;
15344 long temp3 ;
15345 PyObject * obj0 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "self", NULL
15348 };
15349
15350 arg2 = &temp2;
15351 arg3 = &temp3;
15352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15355 {
15356 PyThreadState* __tstate = wxPyBeginAllowThreads();
15357 (arg1)->GetPosition(arg2,arg3);
15358
15359 wxPyEndAllowThreads(__tstate);
15360 if (PyErr_Occurred()) SWIG_fail;
15361 }
15362 Py_INCREF(Py_None); resultobj = Py_None;
15363 {
15364 PyObject *o = PyInt_FromLong((long) (*arg2));
15365 resultobj = t_output_helper(resultobj,o);
15366 }
15367 {
15368 PyObject *o = PyInt_FromLong((long) (*arg3));
15369 resultobj = t_output_helper(resultobj,o);
15370 }
15371 return resultobj;
15372 fail:
15373 return NULL;
15374}
15375
15376
15377static PyObject *_wrap_KeyEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
15378 PyObject *resultobj;
15379 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15380 int result;
d14a1e28
RD
15381 PyObject * obj0 = 0 ;
15382 char *kwnames[] = {
15383 (char *) "self", NULL
15384 };
15385
15386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetX",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15387 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15388 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15389 {
15390 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15391 result = (int)((wxKeyEvent const *)arg1)->GetX();
d14a1e28
RD
15392
15393 wxPyEndAllowThreads(__tstate);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 }
2f4c0a16 15396 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15397 return resultobj;
15398 fail:
15399 return NULL;
15400}
15401
15402
15403static PyObject *_wrap_KeyEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
15404 PyObject *resultobj;
15405 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15406 int result;
d14a1e28
RD
15407 PyObject * obj0 = 0 ;
15408 char *kwnames[] = {
15409 (char *) "self", NULL
15410 };
15411
15412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_GetY",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15413 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15414 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 15417 result = (int)((wxKeyEvent const *)arg1)->GetY();
d14a1e28
RD
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
2f4c0a16 15422 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15423 return resultobj;
15424 fail:
15425 return NULL;
15426}
15427
15428
15429static PyObject *_wrap_KeyEvent_m_x_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj;
15431 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15432 int arg2 ;
d14a1e28 15433 PyObject * obj0 = 0 ;
8edf1c75 15434 PyObject * obj1 = 0 ;
d14a1e28
RD
15435 char *kwnames[] = {
15436 (char *) "self",(char *) "m_x", NULL
15437 };
15438
8edf1c75 15439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_x_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15440 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15441 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15442 arg2 = (int) SWIG_AsInt(obj1);
15443 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15444 if (arg1) (arg1)->m_x = arg2;
15445
15446 Py_INCREF(Py_None); resultobj = Py_None;
15447 return resultobj;
15448 fail:
15449 return NULL;
15450}
15451
15452
15453static PyObject *_wrap_KeyEvent_m_x_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15454 PyObject *resultobj;
15455 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15456 int result;
d14a1e28
RD
15457 PyObject * obj0 = 0 ;
15458 char *kwnames[] = {
15459 (char *) "self", NULL
15460 };
15461
15462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_x_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15463 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15464 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 15465 result = (int) ((arg1)->m_x);
d14a1e28 15466
2f4c0a16 15467 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15468 return resultobj;
15469 fail:
15470 return NULL;
15471}
15472
15473
15474static PyObject *_wrap_KeyEvent_m_y_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15475 PyObject *resultobj;
15476 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15477 int arg2 ;
d14a1e28 15478 PyObject * obj0 = 0 ;
8edf1c75 15479 PyObject * obj1 = 0 ;
d14a1e28
RD
15480 char *kwnames[] = {
15481 (char *) "self",(char *) "m_y", NULL
15482 };
15483
8edf1c75 15484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_y_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15487 arg2 = (int) SWIG_AsInt(obj1);
15488 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15489 if (arg1) (arg1)->m_y = arg2;
15490
15491 Py_INCREF(Py_None); resultobj = Py_None;
15492 return resultobj;
15493 fail:
15494 return NULL;
15495}
15496
15497
15498static PyObject *_wrap_KeyEvent_m_y_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15499 PyObject *resultobj;
15500 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15501 int result;
d14a1e28
RD
15502 PyObject * obj0 = 0 ;
15503 char *kwnames[] = {
15504 (char *) "self", NULL
15505 };
15506
15507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_y_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 15510 result = (int) ((arg1)->m_y);
d14a1e28 15511
2f4c0a16 15512 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
15513 return resultobj;
15514 fail:
15515 return NULL;
15516}
15517
15518
15519static PyObject *_wrap_KeyEvent_m_keyCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15520 PyObject *resultobj;
15521 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15522 long arg2 ;
15523 PyObject * obj0 = 0 ;
8edf1c75 15524 PyObject * obj1 = 0 ;
d14a1e28
RD
15525 char *kwnames[] = {
15526 (char *) "self",(char *) "m_keyCode", NULL
15527 };
15528
8edf1c75 15529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_keyCode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15530 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15531 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15532 arg2 = (long) SWIG_AsLong(obj1);
15533 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15534 if (arg1) (arg1)->m_keyCode = arg2;
15535
15536 Py_INCREF(Py_None); resultobj = Py_None;
15537 return resultobj;
15538 fail:
15539 return NULL;
15540}
15541
15542
15543static PyObject *_wrap_KeyEvent_m_keyCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15544 PyObject *resultobj;
15545 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15546 long result;
15547 PyObject * obj0 = 0 ;
15548 char *kwnames[] = {
15549 (char *) "self", NULL
15550 };
15551
15552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_keyCode_get",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 result = (long) ((arg1)->m_keyCode);
15556
2f4c0a16 15557 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
15558 return resultobj;
15559 fail:
15560 return NULL;
15561}
15562
15563
15564static PyObject *_wrap_KeyEvent_m_controlDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15565 PyObject *resultobj;
15566 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15567 bool arg2 ;
15568 PyObject * obj0 = 0 ;
15569 PyObject * obj1 = 0 ;
15570 char *kwnames[] = {
15571 (char *) "self",(char *) "m_controlDown", NULL
15572 };
15573
15574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_controlDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15577 arg2 = (bool) SWIG_AsBool(obj1);
15578 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15579 if (arg1) (arg1)->m_controlDown = arg2;
15580
15581 Py_INCREF(Py_None); resultobj = Py_None;
15582 return resultobj;
15583 fail:
15584 return NULL;
15585}
15586
15587
15588static PyObject *_wrap_KeyEvent_m_controlDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15589 PyObject *resultobj;
15590 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15591 bool result;
15592 PyObject * obj0 = 0 ;
15593 char *kwnames[] = {
15594 (char *) "self", NULL
15595 };
15596
15597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_controlDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15598 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15599 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15600 result = (bool) ((arg1)->m_controlDown);
15601
4e760a36 15602 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15603 return resultobj;
15604 fail:
15605 return NULL;
15606}
15607
15608
15609static PyObject *_wrap_KeyEvent_m_shiftDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15610 PyObject *resultobj;
15611 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15612 bool arg2 ;
15613 PyObject * obj0 = 0 ;
15614 PyObject * obj1 = 0 ;
15615 char *kwnames[] = {
15616 (char *) "self",(char *) "m_shiftDown", NULL
15617 };
15618
15619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15620 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15621 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15622 arg2 = (bool) SWIG_AsBool(obj1);
15623 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15624 if (arg1) (arg1)->m_shiftDown = arg2;
15625
15626 Py_INCREF(Py_None); resultobj = Py_None;
15627 return resultobj;
15628 fail:
15629 return NULL;
15630}
15631
15632
15633static PyObject *_wrap_KeyEvent_m_shiftDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj;
15635 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15636 bool result;
15637 PyObject * obj0 = 0 ;
15638 char *kwnames[] = {
15639 (char *) "self", NULL
15640 };
15641
15642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_shiftDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15645 result = (bool) ((arg1)->m_shiftDown);
15646
4e760a36 15647 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15648 return resultobj;
15649 fail:
15650 return NULL;
15651}
15652
15653
15654static PyObject *_wrap_KeyEvent_m_altDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15655 PyObject *resultobj;
15656 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15657 bool arg2 ;
15658 PyObject * obj0 = 0 ;
15659 PyObject * obj1 = 0 ;
15660 char *kwnames[] = {
15661 (char *) "self",(char *) "m_altDown", NULL
15662 };
15663
15664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_altDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15667 arg2 = (bool) SWIG_AsBool(obj1);
15668 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15669 if (arg1) (arg1)->m_altDown = arg2;
15670
15671 Py_INCREF(Py_None); resultobj = Py_None;
15672 return resultobj;
15673 fail:
15674 return NULL;
15675}
15676
15677
15678static PyObject *_wrap_KeyEvent_m_altDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj;
15680 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15681 bool result;
15682 PyObject * obj0 = 0 ;
15683 char *kwnames[] = {
15684 (char *) "self", NULL
15685 };
15686
15687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_altDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15688 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15689 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15690 result = (bool) ((arg1)->m_altDown);
15691
4e760a36 15692 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15693 return resultobj;
15694 fail:
15695 return NULL;
15696}
15697
15698
15699static PyObject *_wrap_KeyEvent_m_metaDown_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15700 PyObject *resultobj;
15701 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15702 bool arg2 ;
15703 PyObject * obj0 = 0 ;
15704 PyObject * obj1 = 0 ;
15705 char *kwnames[] = {
15706 (char *) "self",(char *) "m_metaDown", NULL
15707 };
15708
15709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_metaDown_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15710 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15711 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15712 arg2 = (bool) SWIG_AsBool(obj1);
15713 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15714 if (arg1) (arg1)->m_metaDown = arg2;
15715
15716 Py_INCREF(Py_None); resultobj = Py_None;
15717 return resultobj;
15718 fail:
15719 return NULL;
15720}
15721
15722
15723static PyObject *_wrap_KeyEvent_m_metaDown_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15724 PyObject *resultobj;
15725 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15726 bool result;
15727 PyObject * obj0 = 0 ;
15728 char *kwnames[] = {
15729 (char *) "self", NULL
15730 };
15731
15732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_metaDown_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15733 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15734 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15735 result = (bool) ((arg1)->m_metaDown);
15736
4e760a36 15737 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15738 return resultobj;
15739 fail:
15740 return NULL;
15741}
15742
15743
15744static PyObject *_wrap_KeyEvent_m_scanCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15745 PyObject *resultobj;
15746 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15747 bool arg2 ;
15748 PyObject * obj0 = 0 ;
15749 PyObject * obj1 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self",(char *) "m_scanCode", NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_scanCode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15757 arg2 = (bool) SWIG_AsBool(obj1);
15758 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15759 if (arg1) (arg1)->m_scanCode = arg2;
15760
15761 Py_INCREF(Py_None); resultobj = Py_None;
15762 return resultobj;
15763 fail:
15764 return NULL;
15765}
15766
15767
15768static PyObject *_wrap_KeyEvent_m_scanCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15769 PyObject *resultobj;
15770 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
15771 bool result;
15772 PyObject * obj0 = 0 ;
15773 char *kwnames[] = {
15774 (char *) "self", NULL
15775 };
15776
15777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_scanCode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15778 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15779 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15780 result = (bool) ((arg1)->m_scanCode);
15781
4e760a36 15782 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15783 return resultobj;
15784 fail:
15785 return NULL;
15786}
15787
15788
15789static PyObject *_wrap_KeyEvent_m_rawCode_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15790 PyObject *resultobj;
15791 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15792 unsigned int arg2 ;
d14a1e28
RD
15793 PyObject * obj0 = 0 ;
15794 PyObject * obj1 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self",(char *) "m_rawCode", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawCode_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15800 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15801 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15802 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
15803 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15804 if (arg1) (arg1)->m_rawCode = arg2;
15805
15806 Py_INCREF(Py_None); resultobj = Py_None;
15807 return resultobj;
15808 fail:
15809 return NULL;
15810}
15811
15812
15813static PyObject *_wrap_KeyEvent_m_rawCode_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15814 PyObject *resultobj;
15815 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15816 unsigned int result;
d14a1e28
RD
15817 PyObject * obj0 = 0 ;
15818 char *kwnames[] = {
15819 (char *) "self", NULL
15820 };
15821
15822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawCode_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 15825 result = (unsigned int) ((arg1)->m_rawCode);
d14a1e28 15826
2f4c0a16 15827 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15828 return resultobj;
15829 fail:
15830 return NULL;
15831}
15832
15833
15834static PyObject *_wrap_KeyEvent_m_rawFlags_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15835 PyObject *resultobj;
15836 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15837 unsigned int arg2 ;
d14a1e28
RD
15838 PyObject * obj0 = 0 ;
15839 PyObject * obj1 = 0 ;
15840 char *kwnames[] = {
15841 (char *) "self",(char *) "m_rawFlags", NULL
15842 };
15843
15844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15845 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15846 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15847 arg2 = (unsigned int) SWIG_AsUnsignedInt(obj1);
15848 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
15849 if (arg1) (arg1)->m_rawFlags = arg2;
15850
15851 Py_INCREF(Py_None); resultobj = Py_None;
15852 return resultobj;
15853 fail:
15854 return NULL;
15855}
15856
15857
15858static PyObject *_wrap_KeyEvent_m_rawFlags_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15859 PyObject *resultobj;
15860 wxKeyEvent *arg1 = (wxKeyEvent *) 0 ;
423f194a 15861 unsigned int result;
d14a1e28
RD
15862 PyObject * obj0 = 0 ;
15863 char *kwnames[] = {
15864 (char *) "self", NULL
15865 };
15866
15867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:KeyEvent_m_rawFlags_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxKeyEvent,
15869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a 15870 result = (unsigned int) ((arg1)->m_rawFlags);
d14a1e28 15871
2f4c0a16 15872 resultobj = SWIG_FromUnsignedInt((unsigned int)result);
d14a1e28
RD
15873 return resultobj;
15874 fail:
15875 return NULL;
15876}
15877
15878
15879static PyObject * KeyEvent_swigregister(PyObject *self, PyObject *args) {
15880 PyObject *obj;
15881 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15882 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent, obj);
15883 Py_INCREF(obj);
15884 return Py_BuildValue((char *)"");
15885}
15886static PyObject *_wrap_new_SizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
15887 PyObject *resultobj;
15888 wxSize const &arg1_defvalue = wxDefaultSize ;
15889 wxSize *arg1 = (wxSize *) &arg1_defvalue ;
15890 int arg2 = (int) 0 ;
15891 wxSizeEvent *result;
15892 wxSize temp1 ;
15893 PyObject * obj0 = 0 ;
8edf1c75 15894 PyObject * obj1 = 0 ;
d14a1e28
RD
15895 char *kwnames[] = {
15896 (char *) "sz",(char *) "winid", NULL
15897 };
15898
8edf1c75 15899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SizeEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
15900 if (obj0) {
15901 {
15902 arg1 = &temp1;
15903 if ( ! wxSize_helper(obj0, &arg1)) SWIG_fail;
15904 }
15905 }
8edf1c75 15906 if (obj1) {
2f4c0a16
RD
15907 arg2 = (int) SWIG_AsInt(obj1);
15908 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 15909 }
d14a1e28
RD
15910 {
15911 PyThreadState* __tstate = wxPyBeginAllowThreads();
15912 result = (wxSizeEvent *)new wxSizeEvent((wxSize const &)*arg1,arg2);
15913
15914 wxPyEndAllowThreads(__tstate);
15915 if (PyErr_Occurred()) SWIG_fail;
15916 }
2f4c0a16 15917 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizeEvent, 1);
d14a1e28
RD
15918 return resultobj;
15919 fail:
15920 return NULL;
15921}
15922
15923
15924static PyObject *_wrap_SizeEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15925 PyObject *resultobj;
15926 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15927 wxSize result;
15928 PyObject * obj0 = 0 ;
15929 char *kwnames[] = {
15930 (char *) "self", NULL
15931 };
15932
15933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15934 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
15935 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15936 {
15937 PyThreadState* __tstate = wxPyBeginAllowThreads();
15938 result = ((wxSizeEvent const *)arg1)->GetSize();
15939
15940 wxPyEndAllowThreads(__tstate);
15941 if (PyErr_Occurred()) SWIG_fail;
15942 }
15943 {
15944 wxSize * resultptr;
15945 resultptr = new wxSize((wxSize &) result);
2f4c0a16 15946 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
15947 }
15948 return resultobj;
15949 fail:
15950 return NULL;
15951}
15952
15953
15954static PyObject *_wrap_SizeEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15955 PyObject *resultobj;
15956 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15957 wxRect result;
15958 PyObject * obj0 = 0 ;
15959 char *kwnames[] = {
15960 (char *) "self", NULL
15961 };
15962
15963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
15964 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
15965 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
15966 {
15967 PyThreadState* __tstate = wxPyBeginAllowThreads();
15968 result = ((wxSizeEvent const *)arg1)->GetRect();
15969
15970 wxPyEndAllowThreads(__tstate);
15971 if (PyErr_Occurred()) SWIG_fail;
15972 }
15973 {
15974 wxRect * resultptr;
15975 resultptr = new wxRect((wxRect &) result);
2f4c0a16 15976 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
15977 }
15978 return resultobj;
15979 fail:
15980 return NULL;
15981}
15982
15983
15984static PyObject *_wrap_SizeEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
15985 PyObject *resultobj;
15986 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
15987 wxRect arg2 ;
15988 wxRect *argp2 ;
15989 PyObject * obj0 = 0 ;
15990 PyObject * obj1 = 0 ;
15991 char *kwnames[] = {
15992 (char *) "self",(char *) "rect", NULL
15993 };
15994
15995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
15996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
15997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
15998 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
15999 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16000 arg2 = *argp2;
d14a1e28
RD
16001 {
16002 PyThreadState* __tstate = wxPyBeginAllowThreads();
16003 (arg1)->SetRect(arg2);
16004
16005 wxPyEndAllowThreads(__tstate);
16006 if (PyErr_Occurred()) SWIG_fail;
16007 }
16008 Py_INCREF(Py_None); resultobj = Py_None;
16009 return resultobj;
16010 fail:
16011 return NULL;
16012}
16013
16014
16015static PyObject *_wrap_SizeEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16016 PyObject *resultobj;
16017 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16018 wxSize arg2 ;
16019 wxSize *argp2 ;
16020 PyObject * obj0 = 0 ;
16021 PyObject * obj1 = 0 ;
16022 char *kwnames[] = {
16023 (char *) "self",(char *) "size", NULL
16024 };
16025
16026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16027 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16028 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16029 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
16030 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16031 arg2 = *argp2;
d14a1e28
RD
16032 {
16033 PyThreadState* __tstate = wxPyBeginAllowThreads();
16034 wxSizeEvent_SetSize(arg1,arg2);
16035
16036 wxPyEndAllowThreads(__tstate);
16037 if (PyErr_Occurred()) SWIG_fail;
16038 }
16039 Py_INCREF(Py_None); resultobj = Py_None;
16040 return resultobj;
16041 fail:
16042 return NULL;
16043}
16044
16045
16046static PyObject *_wrap_SizeEvent_m_size_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16047 PyObject *resultobj;
16048 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16049 wxSize *arg2 = (wxSize *) 0 ;
16050 PyObject * obj0 = 0 ;
16051 PyObject * obj1 = 0 ;
16052 char *kwnames[] = {
16053 (char *) "self",(char *) "m_size", NULL
16054 };
16055
16056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_size_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16057 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16058 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16059 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSize,
16060 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16061 if (arg1) (arg1)->m_size = *arg2;
16062
16063 Py_INCREF(Py_None); resultobj = Py_None;
16064 return resultobj;
16065 fail:
16066 return NULL;
16067}
16068
16069
16070static PyObject *_wrap_SizeEvent_m_size_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16071 PyObject *resultobj;
16072 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16073 wxSize *result;
16074 PyObject * obj0 = 0 ;
16075 char *kwnames[] = {
16076 (char *) "self", NULL
16077 };
16078
16079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_size_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16080 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16081 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16082 result = (wxSize *)& ((arg1)->m_size);
16083
2f4c0a16 16084 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
16085 return resultobj;
16086 fail:
16087 return NULL;
16088}
16089
16090
16091static PyObject *_wrap_SizeEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16092 PyObject *resultobj;
16093 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16094 wxRect *arg2 = (wxRect *) 0 ;
16095 PyObject * obj0 = 0 ;
16096 PyObject * obj1 = 0 ;
16097 char *kwnames[] = {
16098 (char *) "self",(char *) "m_rect", NULL
16099 };
16100
16101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizeEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16104 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16106 if (arg1) (arg1)->m_rect = *arg2;
16107
16108 Py_INCREF(Py_None); resultobj = Py_None;
16109 return resultobj;
16110 fail:
16111 return NULL;
16112}
16113
16114
16115static PyObject *_wrap_SizeEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj;
16117 wxSizeEvent *arg1 = (wxSizeEvent *) 0 ;
16118 wxRect *result;
16119 PyObject * obj0 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizeEvent_m_rect_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizeEvent,
16126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16127 result = (wxRect *)& ((arg1)->m_rect);
16128
2f4c0a16 16129 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16130 return resultobj;
16131 fail:
16132 return NULL;
16133}
16134
16135
16136static PyObject * SizeEvent_swigregister(PyObject *self, PyObject *args) {
16137 PyObject *obj;
16138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16139 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent, obj);
16140 Py_INCREF(obj);
16141 return Py_BuildValue((char *)"");
16142}
16143static PyObject *_wrap_new_MoveEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16144 PyObject *resultobj;
16145 wxPoint const &arg1_defvalue = wxDefaultPosition ;
16146 wxPoint *arg1 = (wxPoint *) &arg1_defvalue ;
16147 int arg2 = (int) 0 ;
16148 wxMoveEvent *result;
16149 wxPoint temp1 ;
16150 PyObject * obj0 = 0 ;
8edf1c75 16151 PyObject * obj1 = 0 ;
d14a1e28
RD
16152 char *kwnames[] = {
16153 (char *) "pos",(char *) "winid", NULL
16154 };
16155
8edf1c75 16156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MoveEvent",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
16157 if (obj0) {
16158 {
16159 arg1 = &temp1;
16160 if ( ! wxPoint_helper(obj0, &arg1)) SWIG_fail;
16161 }
16162 }
8edf1c75 16163 if (obj1) {
2f4c0a16
RD
16164 arg2 = (int) SWIG_AsInt(obj1);
16165 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16166 }
d14a1e28
RD
16167 {
16168 PyThreadState* __tstate = wxPyBeginAllowThreads();
16169 result = (wxMoveEvent *)new wxMoveEvent((wxPoint const &)*arg1,arg2);
16170
16171 wxPyEndAllowThreads(__tstate);
16172 if (PyErr_Occurred()) SWIG_fail;
16173 }
2f4c0a16 16174 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMoveEvent, 1);
d14a1e28
RD
16175 return resultobj;
16176 fail:
16177 return NULL;
16178}
16179
16180
16181static PyObject *_wrap_MoveEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16182 PyObject *resultobj;
16183 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16184 wxPoint result;
16185 PyObject * obj0 = 0 ;
16186 char *kwnames[] = {
16187 (char *) "self", NULL
16188 };
16189
16190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16193 {
16194 PyThreadState* __tstate = wxPyBeginAllowThreads();
16195 result = ((wxMoveEvent const *)arg1)->GetPosition();
16196
16197 wxPyEndAllowThreads(__tstate);
16198 if (PyErr_Occurred()) SWIG_fail;
16199 }
16200 {
16201 wxPoint * resultptr;
16202 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 16203 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
16204 }
16205 return resultobj;
16206 fail:
16207 return NULL;
16208}
16209
16210
16211static PyObject *_wrap_MoveEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16212 PyObject *resultobj;
16213 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16214 wxRect result;
16215 PyObject * obj0 = 0 ;
16216 char *kwnames[] = {
16217 (char *) "self", NULL
16218 };
16219
16220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16223 {
16224 PyThreadState* __tstate = wxPyBeginAllowThreads();
16225 result = ((wxMoveEvent const *)arg1)->GetRect();
16226
16227 wxPyEndAllowThreads(__tstate);
16228 if (PyErr_Occurred()) SWIG_fail;
16229 }
16230 {
16231 wxRect * resultptr;
16232 resultptr = new wxRect((wxRect &) result);
2f4c0a16 16233 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
16234 }
16235 return resultobj;
16236 fail:
16237 return NULL;
16238}
16239
16240
16241static PyObject *_wrap_MoveEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
16242 PyObject *resultobj;
16243 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16244 wxRect arg2 ;
16245 wxRect *argp2 ;
16246 PyObject * obj0 = 0 ;
16247 PyObject * obj1 = 0 ;
16248 char *kwnames[] = {
16249 (char *) "self",(char *) "rect", NULL
16250 };
16251
16252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16255 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxRect,
16256 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16257 arg2 = *argp2;
d14a1e28
RD
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 (arg1)->SetRect(arg2);
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
16265 Py_INCREF(Py_None); resultobj = Py_None;
16266 return resultobj;
16267 fail:
16268 return NULL;
16269}
16270
16271
16272static PyObject *_wrap_MoveEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj;
16274 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16275 wxPoint arg2 ;
16276 wxPoint *argp2 ;
16277 PyObject * obj0 = 0 ;
16278 PyObject * obj1 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self",(char *) "pos", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16286 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
16287 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
16288 arg2 = *argp2;
d14a1e28
RD
16289 {
16290 PyThreadState* __tstate = wxPyBeginAllowThreads();
16291 wxMoveEvent_SetPosition(arg1,arg2);
16292
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 Py_INCREF(Py_None); resultobj = Py_None;
16297 return resultobj;
16298 fail:
16299 return NULL;
16300}
16301
16302
16303static PyObject *_wrap_MoveEvent_m_pos_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16304 PyObject *resultobj;
16305 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16306 wxPoint *arg2 = (wxPoint *) 0 ;
16307 PyObject * obj0 = 0 ;
16308 PyObject * obj1 = 0 ;
16309 char *kwnames[] = {
16310 (char *) "self",(char *) "m_pos", NULL
16311 };
16312
16313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_pos_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16314 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16315 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16316 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPoint,
16317 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16318 if (arg1) (arg1)->m_pos = *arg2;
16319
16320 Py_INCREF(Py_None); resultobj = Py_None;
16321 return resultobj;
16322 fail:
16323 return NULL;
16324}
16325
16326
16327static PyObject *_wrap_MoveEvent_m_pos_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16328 PyObject *resultobj;
16329 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16330 wxPoint *result;
16331 PyObject * obj0 = 0 ;
16332 char *kwnames[] = {
16333 (char *) "self", NULL
16334 };
16335
16336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_pos_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16339 result = (wxPoint *)& ((arg1)->m_pos);
16340
2f4c0a16 16341 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
16342 return resultobj;
16343 fail:
16344 return NULL;
16345}
16346
16347
16348static PyObject *_wrap_MoveEvent_m_rect_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16349 PyObject *resultobj;
16350 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16351 wxRect *arg2 = (wxRect *) 0 ;
16352 PyObject * obj0 = 0 ;
16353 PyObject * obj1 = 0 ;
16354 char *kwnames[] = {
16355 (char *) "self",(char *) "m_rect", NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MoveEvent_m_rect_set",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16361 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxRect,
16362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16363 if (arg1) (arg1)->m_rect = *arg2;
16364
16365 Py_INCREF(Py_None); resultobj = Py_None;
16366 return resultobj;
16367 fail:
16368 return NULL;
16369}
16370
16371
16372static PyObject *_wrap_MoveEvent_m_rect_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16373 PyObject *resultobj;
16374 wxMoveEvent *arg1 = (wxMoveEvent *) 0 ;
16375 wxRect *result;
16376 PyObject * obj0 = 0 ;
16377 char *kwnames[] = {
16378 (char *) "self", NULL
16379 };
16380
16381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MoveEvent_m_rect_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16382 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMoveEvent,
16383 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16384 result = (wxRect *)& ((arg1)->m_rect);
16385
2f4c0a16 16386 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRect, 0);
d14a1e28
RD
16387 return resultobj;
16388 fail:
16389 return NULL;
16390}
16391
16392
16393static PyObject * MoveEvent_swigregister(PyObject *self, PyObject *args) {
16394 PyObject *obj;
16395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16396 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent, obj);
16397 Py_INCREF(obj);
16398 return Py_BuildValue((char *)"");
16399}
16400static PyObject *_wrap_new_PaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj;
16402 int arg1 = (int) 0 ;
16403 wxPaintEvent *result;
8edf1c75 16404 PyObject * obj0 = 0 ;
d14a1e28
RD
16405 char *kwnames[] = {
16406 (char *) "Id", NULL
16407 };
16408
8edf1c75
RD
16409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaintEvent",kwnames,&obj0)) goto fail;
16410 if (obj0) {
2f4c0a16
RD
16411 arg1 = (int) SWIG_AsInt(obj0);
16412 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16413 }
d14a1e28
RD
16414 {
16415 PyThreadState* __tstate = wxPyBeginAllowThreads();
16416 result = (wxPaintEvent *)new wxPaintEvent(arg1);
16417
16418 wxPyEndAllowThreads(__tstate);
16419 if (PyErr_Occurred()) SWIG_fail;
16420 }
2f4c0a16 16421 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaintEvent, 1);
d14a1e28
RD
16422 return resultobj;
16423 fail:
16424 return NULL;
16425}
16426
16427
16428static PyObject * PaintEvent_swigregister(PyObject *self, PyObject *args) {
16429 PyObject *obj;
16430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16431 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent, obj);
16432 Py_INCREF(obj);
16433 return Py_BuildValue((char *)"");
16434}
16435static PyObject *_wrap_new_NcPaintEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16436 PyObject *resultobj;
16437 int arg1 = (int) 0 ;
16438 wxNcPaintEvent *result;
8edf1c75 16439 PyObject * obj0 = 0 ;
d14a1e28
RD
16440 char *kwnames[] = {
16441 (char *) "winid", NULL
16442 };
16443
8edf1c75
RD
16444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_NcPaintEvent",kwnames,&obj0)) goto fail;
16445 if (obj0) {
2f4c0a16
RD
16446 arg1 = (int) SWIG_AsInt(obj0);
16447 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16448 }
d14a1e28
RD
16449 {
16450 PyThreadState* __tstate = wxPyBeginAllowThreads();
16451 result = (wxNcPaintEvent *)new wxNcPaintEvent(arg1);
16452
16453 wxPyEndAllowThreads(__tstate);
16454 if (PyErr_Occurred()) SWIG_fail;
16455 }
2f4c0a16 16456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNcPaintEvent, 1);
d14a1e28
RD
16457 return resultobj;
16458 fail:
16459 return NULL;
16460}
16461
16462
16463static PyObject * NcPaintEvent_swigregister(PyObject *self, PyObject *args) {
16464 PyObject *obj;
16465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16466 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent, obj);
16467 Py_INCREF(obj);
16468 return Py_BuildValue((char *)"");
16469}
16470static PyObject *_wrap_new_EraseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16471 PyObject *resultobj;
16472 int arg1 = (int) 0 ;
16473 wxDC *arg2 = (wxDC *) (wxDC *) NULL ;
16474 wxEraseEvent *result;
8edf1c75 16475 PyObject * obj0 = 0 ;
d14a1e28
RD
16476 PyObject * obj1 = 0 ;
16477 char *kwnames[] = {
16478 (char *) "Id",(char *) "dc", NULL
16479 };
16480
8edf1c75
RD
16481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_EraseEvent",kwnames,&obj0,&obj1)) goto fail;
16482 if (obj0) {
2f4c0a16
RD
16483 arg1 = (int) SWIG_AsInt(obj0);
16484 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16485 }
d14a1e28 16486 if (obj1) {
2f4c0a16
RD
16487 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
16488 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16489 }
16490 {
16491 PyThreadState* __tstate = wxPyBeginAllowThreads();
16492 result = (wxEraseEvent *)new wxEraseEvent(arg1,arg2);
16493
16494 wxPyEndAllowThreads(__tstate);
16495 if (PyErr_Occurred()) SWIG_fail;
16496 }
2f4c0a16 16497 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxEraseEvent, 1);
d14a1e28
RD
16498 return resultobj;
16499 fail:
16500 return NULL;
16501}
16502
16503
16504static PyObject *_wrap_EraseEvent_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
16505 PyObject *resultobj;
16506 wxEraseEvent *arg1 = (wxEraseEvent *) 0 ;
16507 wxDC *result;
16508 PyObject * obj0 = 0 ;
16509 char *kwnames[] = {
16510 (char *) "self", NULL
16511 };
16512
16513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:EraseEvent_GetDC",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16514 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEraseEvent,
16515 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16516 {
16517 PyThreadState* __tstate = wxPyBeginAllowThreads();
16518 result = (wxDC *)((wxEraseEvent const *)arg1)->GetDC();
16519
16520 wxPyEndAllowThreads(__tstate);
16521 if (PyErr_Occurred()) SWIG_fail;
16522 }
16523 {
16524 resultobj = wxPyMake_wxObject(result);
16525 }
16526 return resultobj;
16527 fail:
16528 return NULL;
16529}
16530
16531
16532static PyObject * EraseEvent_swigregister(PyObject *self, PyObject *args) {
16533 PyObject *obj;
16534 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16535 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent, obj);
16536 Py_INCREF(obj);
16537 return Py_BuildValue((char *)"");
16538}
16539static PyObject *_wrap_new_FocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16540 PyObject *resultobj;
16541 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16542 int arg2 = (int) 0 ;
16543 wxFocusEvent *result;
8edf1c75
RD
16544 PyObject * obj0 = 0 ;
16545 PyObject * obj1 = 0 ;
d14a1e28
RD
16546 char *kwnames[] = {
16547 (char *) "type",(char *) "winid", NULL
16548 };
16549
8edf1c75
RD
16550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FocusEvent",kwnames,&obj0,&obj1)) goto fail;
16551 if (obj0) {
2f4c0a16
RD
16552 arg1 = (wxEventType) SWIG_AsInt(obj0);
16553 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16554 }
16555 if (obj1) {
2f4c0a16
RD
16556 arg2 = (int) SWIG_AsInt(obj1);
16557 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16558 }
d14a1e28
RD
16559 {
16560 PyThreadState* __tstate = wxPyBeginAllowThreads();
16561 result = (wxFocusEvent *)new wxFocusEvent(arg1,arg2);
16562
16563 wxPyEndAllowThreads(__tstate);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 }
2f4c0a16 16566 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFocusEvent, 1);
d14a1e28
RD
16567 return resultobj;
16568 fail:
16569 return NULL;
16570}
16571
16572
16573static PyObject *_wrap_FocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16574 PyObject *resultobj;
16575 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16576 wxWindow *result;
16577 PyObject * obj0 = 0 ;
16578 char *kwnames[] = {
16579 (char *) "self", NULL
16580 };
16581
16582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FocusEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16585 {
16586 PyThreadState* __tstate = wxPyBeginAllowThreads();
16587 result = (wxWindow *)((wxFocusEvent const *)arg1)->GetWindow();
16588
16589 wxPyEndAllowThreads(__tstate);
16590 if (PyErr_Occurred()) SWIG_fail;
16591 }
16592 {
16593 resultobj = wxPyMake_wxObject(result);
16594 }
16595 return resultobj;
16596 fail:
16597 return NULL;
16598}
16599
16600
16601static PyObject *_wrap_FocusEvent_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16602 PyObject *resultobj;
16603 wxFocusEvent *arg1 = (wxFocusEvent *) 0 ;
16604 wxWindow *arg2 = (wxWindow *) 0 ;
16605 PyObject * obj0 = 0 ;
16606 PyObject * obj1 = 0 ;
16607 char *kwnames[] = {
16608 (char *) "self",(char *) "win", NULL
16609 };
16610
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FocusEvent_SetWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16612 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFocusEvent,
16613 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16614 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
16615 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16616 {
16617 PyThreadState* __tstate = wxPyBeginAllowThreads();
16618 (arg1)->SetWindow(arg2);
16619
16620 wxPyEndAllowThreads(__tstate);
16621 if (PyErr_Occurred()) SWIG_fail;
16622 }
16623 Py_INCREF(Py_None); resultobj = Py_None;
16624 return resultobj;
16625 fail:
16626 return NULL;
16627}
16628
16629
16630static PyObject * FocusEvent_swigregister(PyObject *self, PyObject *args) {
16631 PyObject *obj;
16632 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16633 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent, obj);
16634 Py_INCREF(obj);
16635 return Py_BuildValue((char *)"");
16636}
16637static PyObject *_wrap_new_ChildFocusEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16638 PyObject *resultobj;
16639 wxWindow *arg1 = (wxWindow *) NULL ;
16640 wxChildFocusEvent *result;
16641 PyObject * obj0 = 0 ;
16642 char *kwnames[] = {
16643 (char *) "win", NULL
16644 };
16645
16646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_ChildFocusEvent",kwnames,&obj0)) goto fail;
16647 if (obj0) {
2f4c0a16
RD
16648 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
16649 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16650 }
16651 {
16652 PyThreadState* __tstate = wxPyBeginAllowThreads();
16653 result = (wxChildFocusEvent *)new wxChildFocusEvent(arg1);
16654
16655 wxPyEndAllowThreads(__tstate);
16656 if (PyErr_Occurred()) SWIG_fail;
16657 }
2f4c0a16 16658 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxChildFocusEvent, 1);
d14a1e28
RD
16659 return resultobj;
16660 fail:
16661 return NULL;
16662}
16663
16664
16665static PyObject *_wrap_ChildFocusEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16666 PyObject *resultobj;
16667 wxChildFocusEvent *arg1 = (wxChildFocusEvent *) 0 ;
16668 wxWindow *result;
16669 PyObject * obj0 = 0 ;
16670 char *kwnames[] = {
16671 (char *) "self", NULL
16672 };
16673
16674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ChildFocusEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16675 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxChildFocusEvent,
16676 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16677 {
16678 PyThreadState* __tstate = wxPyBeginAllowThreads();
16679 result = (wxWindow *)((wxChildFocusEvent const *)arg1)->GetWindow();
16680
16681 wxPyEndAllowThreads(__tstate);
16682 if (PyErr_Occurred()) SWIG_fail;
16683 }
16684 {
16685 resultobj = wxPyMake_wxObject(result);
16686 }
16687 return resultobj;
16688 fail:
16689 return NULL;
16690}
16691
16692
16693static PyObject * ChildFocusEvent_swigregister(PyObject *self, PyObject *args) {
16694 PyObject *obj;
16695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16696 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent, obj);
16697 Py_INCREF(obj);
16698 return Py_BuildValue((char *)"");
16699}
16700static PyObject *_wrap_new_ActivateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj;
16702 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 16703 bool arg2 = (bool) True ;
d14a1e28
RD
16704 int arg3 = (int) 0 ;
16705 wxActivateEvent *result;
8edf1c75 16706 PyObject * obj0 = 0 ;
d14a1e28 16707 PyObject * obj1 = 0 ;
8edf1c75 16708 PyObject * obj2 = 0 ;
d14a1e28
RD
16709 char *kwnames[] = {
16710 (char *) "type",(char *) "active",(char *) "Id", NULL
16711 };
16712
8edf1c75
RD
16713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ActivateEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
16714 if (obj0) {
2f4c0a16
RD
16715 arg1 = (wxEventType) SWIG_AsInt(obj0);
16716 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16717 }
d14a1e28 16718 if (obj1) {
2f4c0a16
RD
16719 arg2 = (bool) SWIG_AsBool(obj1);
16720 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16721 }
16722 if (obj2) {
2f4c0a16
RD
16723 arg3 = (int) SWIG_AsInt(obj2);
16724 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16725 }
16726 {
16727 PyThreadState* __tstate = wxPyBeginAllowThreads();
16728 result = (wxActivateEvent *)new wxActivateEvent(arg1,arg2,arg3);
16729
16730 wxPyEndAllowThreads(__tstate);
16731 if (PyErr_Occurred()) SWIG_fail;
16732 }
2f4c0a16 16733 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxActivateEvent, 1);
d14a1e28
RD
16734 return resultobj;
16735 fail:
16736 return NULL;
16737}
16738
16739
16740static PyObject *_wrap_ActivateEvent_GetActive(PyObject *self, PyObject *args, PyObject *kwargs) {
16741 PyObject *resultobj;
16742 wxActivateEvent *arg1 = (wxActivateEvent *) 0 ;
16743 bool result;
16744 PyObject * obj0 = 0 ;
16745 char *kwnames[] = {
16746 (char *) "self", NULL
16747 };
16748
16749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ActivateEvent_GetActive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxActivateEvent,
16751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16752 {
16753 PyThreadState* __tstate = wxPyBeginAllowThreads();
16754 result = (bool)((wxActivateEvent const *)arg1)->GetActive();
16755
16756 wxPyEndAllowThreads(__tstate);
16757 if (PyErr_Occurred()) SWIG_fail;
16758 }
4e760a36 16759 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16760 return resultobj;
16761 fail:
16762 return NULL;
16763}
16764
16765
16766static PyObject * ActivateEvent_swigregister(PyObject *self, PyObject *args) {
16767 PyObject *obj;
16768 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16769 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent, obj);
16770 Py_INCREF(obj);
16771 return Py_BuildValue((char *)"");
16772}
16773static PyObject *_wrap_new_InitDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 int arg1 = (int) 0 ;
16776 wxInitDialogEvent *result;
8edf1c75 16777 PyObject * obj0 = 0 ;
d14a1e28
RD
16778 char *kwnames[] = {
16779 (char *) "Id", NULL
16780 };
16781
8edf1c75
RD
16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_InitDialogEvent",kwnames,&obj0)) goto fail;
16783 if (obj0) {
2f4c0a16
RD
16784 arg1 = (int) SWIG_AsInt(obj0);
16785 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16786 }
d14a1e28
RD
16787 {
16788 PyThreadState* __tstate = wxPyBeginAllowThreads();
16789 result = (wxInitDialogEvent *)new wxInitDialogEvent(arg1);
16790
16791 wxPyEndAllowThreads(__tstate);
16792 if (PyErr_Occurred()) SWIG_fail;
16793 }
2f4c0a16 16794 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxInitDialogEvent, 1);
d14a1e28
RD
16795 return resultobj;
16796 fail:
16797 return NULL;
16798}
16799
16800
16801static PyObject * InitDialogEvent_swigregister(PyObject *self, PyObject *args) {
16802 PyObject *obj;
16803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16804 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent, obj);
16805 Py_INCREF(obj);
16806 return Py_BuildValue((char *)"");
16807}
16808static PyObject *_wrap_new_MenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16809 PyObject *resultobj;
16810 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16811 int arg2 = (int) 0 ;
16812 wxMenu *arg3 = (wxMenu *) NULL ;
16813 wxMenuEvent *result;
8edf1c75
RD
16814 PyObject * obj0 = 0 ;
16815 PyObject * obj1 = 0 ;
d14a1e28
RD
16816 PyObject * obj2 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "type",(char *) "winid",(char *) "menu", NULL
16819 };
16820
8edf1c75
RD
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_MenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
16822 if (obj0) {
2f4c0a16
RD
16823 arg1 = (wxEventType) SWIG_AsInt(obj0);
16824 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16825 }
16826 if (obj1) {
2f4c0a16
RD
16827 arg2 = (int) SWIG_AsInt(obj1);
16828 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16829 }
d14a1e28 16830 if (obj2) {
2f4c0a16
RD
16831 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
16832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16833 }
16834 {
16835 PyThreadState* __tstate = wxPyBeginAllowThreads();
16836 result = (wxMenuEvent *)new wxMenuEvent(arg1,arg2,arg3);
16837
16838 wxPyEndAllowThreads(__tstate);
16839 if (PyErr_Occurred()) SWIG_fail;
16840 }
2f4c0a16 16841 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMenuEvent, 1);
d14a1e28
RD
16842 return resultobj;
16843 fail:
16844 return NULL;
16845}
16846
16847
16848static PyObject *_wrap_MenuEvent_GetMenuId(PyObject *self, PyObject *args, PyObject *kwargs) {
16849 PyObject *resultobj;
16850 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
16851 int result;
16852 PyObject * obj0 = 0 ;
16853 char *kwnames[] = {
16854 (char *) "self", NULL
16855 };
16856
16857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenuId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
16859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16860 {
16861 PyThreadState* __tstate = wxPyBeginAllowThreads();
16862 result = (int)((wxMenuEvent const *)arg1)->GetMenuId();
16863
16864 wxPyEndAllowThreads(__tstate);
16865 if (PyErr_Occurred()) SWIG_fail;
16866 }
2f4c0a16 16867 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
16868 return resultobj;
16869 fail:
16870 return NULL;
16871}
16872
16873
16874static PyObject *_wrap_MenuEvent_IsPopup(PyObject *self, PyObject *args, PyObject *kwargs) {
16875 PyObject *resultobj;
16876 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
16877 bool result;
16878 PyObject * obj0 = 0 ;
16879 char *kwnames[] = {
16880 (char *) "self", NULL
16881 };
16882
16883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_IsPopup",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
16885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16886 {
16887 PyThreadState* __tstate = wxPyBeginAllowThreads();
16888 result = (bool)((wxMenuEvent const *)arg1)->IsPopup();
16889
16890 wxPyEndAllowThreads(__tstate);
16891 if (PyErr_Occurred()) SWIG_fail;
16892 }
4e760a36 16893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16894 return resultobj;
16895 fail:
16896 return NULL;
16897}
16898
16899
16900static PyObject *_wrap_MenuEvent_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj;
16902 wxMenuEvent *arg1 = (wxMenuEvent *) 0 ;
16903 wxMenu *result;
16904 PyObject * obj0 = 0 ;
16905 char *kwnames[] = {
16906 (char *) "self", NULL
16907 };
16908
16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuEvent_GetMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
16910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuEvent,
16911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
16912 {
16913 PyThreadState* __tstate = wxPyBeginAllowThreads();
16914 result = (wxMenu *)((wxMenuEvent const *)arg1)->GetMenu();
16915
16916 wxPyEndAllowThreads(__tstate);
16917 if (PyErr_Occurred()) SWIG_fail;
16918 }
16919 {
16920 resultobj = wxPyMake_wxObject(result);
16921 }
16922 return resultobj;
16923 fail:
16924 return NULL;
16925}
16926
16927
16928static PyObject * MenuEvent_swigregister(PyObject *self, PyObject *args) {
16929 PyObject *obj;
16930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16931 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent, obj);
16932 Py_INCREF(obj);
16933 return Py_BuildValue((char *)"");
16934}
16935static PyObject *_wrap_new_CloseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj;
16937 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16938 int arg2 = (int) 0 ;
16939 wxCloseEvent *result;
8edf1c75
RD
16940 PyObject * obj0 = 0 ;
16941 PyObject * obj1 = 0 ;
d14a1e28
RD
16942 char *kwnames[] = {
16943 (char *) "type",(char *) "winid", NULL
16944 };
16945
8edf1c75
RD
16946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_CloseEvent",kwnames,&obj0,&obj1)) goto fail;
16947 if (obj0) {
2f4c0a16
RD
16948 arg1 = (wxEventType) SWIG_AsInt(obj0);
16949 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
16950 }
16951 if (obj1) {
2f4c0a16
RD
16952 arg2 = (int) SWIG_AsInt(obj1);
16953 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 16954 }
d14a1e28
RD
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 result = (wxCloseEvent *)new wxCloseEvent(arg1,arg2);
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
2f4c0a16 16962 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCloseEvent, 1);
d14a1e28
RD
16963 return resultobj;
16964 fail:
16965 return NULL;
16966}
16967
16968
16969static PyObject *_wrap_CloseEvent_SetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
16970 PyObject *resultobj;
16971 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
16972 bool arg2 ;
16973 PyObject * obj0 = 0 ;
16974 PyObject * obj1 = 0 ;
16975 char *kwnames[] = {
16976 (char *) "self",(char *) "logOff", NULL
16977 };
16978
16979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetLoggingOff",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
16980 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
16981 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
16982 arg2 = (bool) SWIG_AsBool(obj1);
16983 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
16984 {
16985 PyThreadState* __tstate = wxPyBeginAllowThreads();
16986 (arg1)->SetLoggingOff(arg2);
16987
16988 wxPyEndAllowThreads(__tstate);
16989 if (PyErr_Occurred()) SWIG_fail;
16990 }
16991 Py_INCREF(Py_None); resultobj = Py_None;
16992 return resultobj;
16993 fail:
16994 return NULL;
16995}
16996
16997
16998static PyObject *_wrap_CloseEvent_GetLoggingOff(PyObject *self, PyObject *args, PyObject *kwargs) {
16999 PyObject *resultobj;
17000 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17001 bool result;
17002 PyObject * obj0 = 0 ;
17003 char *kwnames[] = {
17004 (char *) "self", NULL
17005 };
17006
17007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetLoggingOff",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17010 {
17011 PyThreadState* __tstate = wxPyBeginAllowThreads();
17012 result = (bool)((wxCloseEvent const *)arg1)->GetLoggingOff();
17013
17014 wxPyEndAllowThreads(__tstate);
17015 if (PyErr_Occurred()) SWIG_fail;
17016 }
4e760a36 17017 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17018 return resultobj;
17019 fail:
17020 return NULL;
17021}
17022
17023
17024static PyObject *_wrap_CloseEvent_Veto(PyObject *self, PyObject *args, PyObject *kwargs) {
17025 PyObject *resultobj;
17026 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
423f194a 17027 bool arg2 = (bool) True ;
d14a1e28
RD
17028 PyObject * obj0 = 0 ;
17029 PyObject * obj1 = 0 ;
17030 char *kwnames[] = {
17031 (char *) "self",(char *) "veto", NULL
17032 };
17033
17034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:CloseEvent_Veto",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 17037 if (obj1) {
2f4c0a16
RD
17038 arg2 = (bool) SWIG_AsBool(obj1);
17039 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17040 }
17041 {
17042 PyThreadState* __tstate = wxPyBeginAllowThreads();
17043 (arg1)->Veto(arg2);
17044
17045 wxPyEndAllowThreads(__tstate);
17046 if (PyErr_Occurred()) SWIG_fail;
17047 }
17048 Py_INCREF(Py_None); resultobj = Py_None;
17049 return resultobj;
17050 fail:
17051 return NULL;
17052}
17053
17054
17055static PyObject *_wrap_CloseEvent_SetCanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17056 PyObject *resultobj;
17057 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17058 bool arg2 ;
17059 PyObject * obj0 = 0 ;
17060 PyObject * obj1 = 0 ;
17061 char *kwnames[] = {
17062 (char *) "self",(char *) "canVeto", NULL
17063 };
17064
17065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CloseEvent_SetCanVeto",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17066 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17067 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17068 arg2 = (bool) SWIG_AsBool(obj1);
17069 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17070 {
17071 PyThreadState* __tstate = wxPyBeginAllowThreads();
17072 (arg1)->SetCanVeto(arg2);
17073
17074 wxPyEndAllowThreads(__tstate);
17075 if (PyErr_Occurred()) SWIG_fail;
17076 }
17077 Py_INCREF(Py_None); resultobj = Py_None;
17078 return resultobj;
17079 fail:
17080 return NULL;
17081}
17082
17083
17084static PyObject *_wrap_CloseEvent_CanVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17085 PyObject *resultobj;
17086 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17087 bool result;
17088 PyObject * obj0 = 0 ;
17089 char *kwnames[] = {
17090 (char *) "self", NULL
17091 };
17092
17093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_CanVeto",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17094 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17095 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 result = (bool)((wxCloseEvent const *)arg1)->CanVeto();
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
4e760a36 17103 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17104 return resultobj;
17105 fail:
17106 return NULL;
17107}
17108
17109
17110static PyObject *_wrap_CloseEvent_GetVeto(PyObject *self, PyObject *args, PyObject *kwargs) {
17111 PyObject *resultobj;
17112 wxCloseEvent *arg1 = (wxCloseEvent *) 0 ;
17113 bool result;
17114 PyObject * obj0 = 0 ;
17115 char *kwnames[] = {
17116 (char *) "self", NULL
17117 };
17118
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CloseEvent_GetVeto",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17120 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxCloseEvent,
17121 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17122 {
17123 PyThreadState* __tstate = wxPyBeginAllowThreads();
17124 result = (bool)((wxCloseEvent const *)arg1)->GetVeto();
17125
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
4e760a36 17129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17130 return resultobj;
17131 fail:
17132 return NULL;
17133}
17134
17135
17136static PyObject * CloseEvent_swigregister(PyObject *self, PyObject *args) {
17137 PyObject *obj;
17138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17139 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent, obj);
17140 Py_INCREF(obj);
17141 return Py_BuildValue((char *)"");
17142}
17143static PyObject *_wrap_new_ShowEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 int arg1 = (int) 0 ;
423f194a 17146 bool arg2 = (bool) False ;
d14a1e28 17147 wxShowEvent *result;
8edf1c75 17148 PyObject * obj0 = 0 ;
d14a1e28
RD
17149 PyObject * obj1 = 0 ;
17150 char *kwnames[] = {
17151 (char *) "winid",(char *) "show", NULL
17152 };
17153
8edf1c75
RD
17154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ShowEvent",kwnames,&obj0,&obj1)) goto fail;
17155 if (obj0) {
2f4c0a16
RD
17156 arg1 = (int) SWIG_AsInt(obj0);
17157 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17158 }
d14a1e28 17159 if (obj1) {
2f4c0a16
RD
17160 arg2 = (bool) SWIG_AsBool(obj1);
17161 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17162 }
17163 {
17164 PyThreadState* __tstate = wxPyBeginAllowThreads();
17165 result = (wxShowEvent *)new wxShowEvent(arg1,arg2);
17166
17167 wxPyEndAllowThreads(__tstate);
17168 if (PyErr_Occurred()) SWIG_fail;
17169 }
2f4c0a16 17170 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxShowEvent, 1);
d14a1e28
RD
17171 return resultobj;
17172 fail:
17173 return NULL;
17174}
17175
17176
17177static PyObject *_wrap_ShowEvent_SetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17178 PyObject *resultobj;
17179 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17180 bool arg2 ;
17181 PyObject * obj0 = 0 ;
17182 PyObject * obj1 = 0 ;
17183 char *kwnames[] = {
17184 (char *) "self",(char *) "show", NULL
17185 };
17186
17187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ShowEvent_SetShow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17188 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17189 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17190 arg2 = (bool) SWIG_AsBool(obj1);
17191 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17192 {
17193 PyThreadState* __tstate = wxPyBeginAllowThreads();
17194 (arg1)->SetShow(arg2);
17195
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 Py_INCREF(Py_None); resultobj = Py_None;
17200 return resultobj;
17201 fail:
17202 return NULL;
17203}
17204
17205
17206static PyObject *_wrap_ShowEvent_GetShow(PyObject *self, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 wxShowEvent *arg1 = (wxShowEvent *) 0 ;
17209 bool result;
17210 PyObject * obj0 = 0 ;
17211 char *kwnames[] = {
17212 (char *) "self", NULL
17213 };
17214
17215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ShowEvent_GetShow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17216 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxShowEvent,
17217 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17218 {
17219 PyThreadState* __tstate = wxPyBeginAllowThreads();
17220 result = (bool)((wxShowEvent const *)arg1)->GetShow();
17221
17222 wxPyEndAllowThreads(__tstate);
17223 if (PyErr_Occurred()) SWIG_fail;
17224 }
4e760a36 17225 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17226 return resultobj;
17227 fail:
17228 return NULL;
17229}
17230
17231
17232static PyObject * ShowEvent_swigregister(PyObject *self, PyObject *args) {
17233 PyObject *obj;
17234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17235 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent, obj);
17236 Py_INCREF(obj);
17237 return Py_BuildValue((char *)"");
17238}
17239static PyObject *_wrap_new_IconizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17240 PyObject *resultobj;
17241 int arg1 = (int) 0 ;
423f194a 17242 bool arg2 = (bool) True ;
d14a1e28 17243 wxIconizeEvent *result;
8edf1c75 17244 PyObject * obj0 = 0 ;
d14a1e28
RD
17245 PyObject * obj1 = 0 ;
17246 char *kwnames[] = {
17247 (char *) "id",(char *) "iconized", NULL
17248 };
17249
8edf1c75
RD
17250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_IconizeEvent",kwnames,&obj0,&obj1)) goto fail;
17251 if (obj0) {
2f4c0a16
RD
17252 arg1 = (int) SWIG_AsInt(obj0);
17253 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17254 }
d14a1e28 17255 if (obj1) {
2f4c0a16
RD
17256 arg2 = (bool) SWIG_AsBool(obj1);
17257 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17258 }
17259 {
17260 PyThreadState* __tstate = wxPyBeginAllowThreads();
17261 result = (wxIconizeEvent *)new wxIconizeEvent(arg1,arg2);
17262
17263 wxPyEndAllowThreads(__tstate);
17264 if (PyErr_Occurred()) SWIG_fail;
17265 }
2f4c0a16 17266 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIconizeEvent, 1);
d14a1e28
RD
17267 return resultobj;
17268 fail:
17269 return NULL;
17270}
17271
17272
17273static PyObject *_wrap_IconizeEvent_Iconized(PyObject *self, PyObject *args, PyObject *kwargs) {
17274 PyObject *resultobj;
17275 wxIconizeEvent *arg1 = (wxIconizeEvent *) 0 ;
17276 bool result;
17277 PyObject * obj0 = 0 ;
17278 char *kwnames[] = {
17279 (char *) "self", NULL
17280 };
17281
17282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IconizeEvent_Iconized",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17283 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIconizeEvent,
17284 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17285 {
17286 PyThreadState* __tstate = wxPyBeginAllowThreads();
17287 result = (bool)(arg1)->Iconized();
17288
17289 wxPyEndAllowThreads(__tstate);
17290 if (PyErr_Occurred()) SWIG_fail;
17291 }
4e760a36 17292 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17293 return resultobj;
17294 fail:
17295 return NULL;
17296}
17297
17298
17299static PyObject * IconizeEvent_swigregister(PyObject *self, PyObject *args) {
17300 PyObject *obj;
17301 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17302 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent, obj);
17303 Py_INCREF(obj);
17304 return Py_BuildValue((char *)"");
17305}
17306static PyObject *_wrap_new_MaximizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17307 PyObject *resultobj;
17308 int arg1 = (int) 0 ;
17309 wxMaximizeEvent *result;
8edf1c75 17310 PyObject * obj0 = 0 ;
d14a1e28
RD
17311 char *kwnames[] = {
17312 (char *) "id", NULL
17313 };
17314
8edf1c75
RD
17315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MaximizeEvent",kwnames,&obj0)) goto fail;
17316 if (obj0) {
2f4c0a16
RD
17317 arg1 = (int) SWIG_AsInt(obj0);
17318 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17319 }
d14a1e28
RD
17320 {
17321 PyThreadState* __tstate = wxPyBeginAllowThreads();
17322 result = (wxMaximizeEvent *)new wxMaximizeEvent(arg1);
17323
17324 wxPyEndAllowThreads(__tstate);
17325 if (PyErr_Occurred()) SWIG_fail;
17326 }
2f4c0a16 17327 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMaximizeEvent, 1);
d14a1e28
RD
17328 return resultobj;
17329 fail:
17330 return NULL;
17331}
17332
17333
17334static PyObject * MaximizeEvent_swigregister(PyObject *self, PyObject *args) {
17335 PyObject *obj;
17336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17337 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent, obj);
17338 Py_INCREF(obj);
17339 return Py_BuildValue((char *)"");
17340}
17341static PyObject *_wrap_DropFilesEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17344 wxPoint result;
17345 PyObject * obj0 = 0 ;
17346 char *kwnames[] = {
17347 (char *) "self", NULL
17348 };
17349
17350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17351 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17352 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
17355 result = (arg1)->GetPosition();
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 {
17361 wxPoint * resultptr;
17362 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 17363 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
17364 }
17365 return resultobj;
17366 fail:
17367 return NULL;
17368}
17369
17370
17371static PyObject *_wrap_DropFilesEvent_GetNumberOfFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17374 int result;
17375 PyObject * obj0 = 0 ;
17376 char *kwnames[] = {
17377 (char *) "self", NULL
17378 };
17379
17380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17381 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17382 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 result = (int)(arg1)->GetNumberOfFiles();
17386
17387 wxPyEndAllowThreads(__tstate);
17388 if (PyErr_Occurred()) SWIG_fail;
17389 }
2f4c0a16 17390 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17391 return resultobj;
17392 fail:
17393 return NULL;
17394}
17395
17396
17397static PyObject *_wrap_DropFilesEvent_GetFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
17398 PyObject *resultobj;
17399 wxDropFilesEvent *arg1 = (wxDropFilesEvent *) 0 ;
17400 PyObject *result;
17401 PyObject * obj0 = 0 ;
17402 char *kwnames[] = {
17403 (char *) "self", NULL
17404 };
17405
17406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DropFilesEvent_GetFiles",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17407 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxDropFilesEvent,
17408 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17409 {
17410 PyThreadState* __tstate = wxPyBeginAllowThreads();
17411 result = (PyObject *)wxDropFilesEvent_GetFiles(arg1);
17412
17413 wxPyEndAllowThreads(__tstate);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
17416 resultobj = result;
17417 return resultobj;
17418 fail:
17419 return NULL;
17420}
17421
17422
17423static PyObject * DropFilesEvent_swigregister(PyObject *self, PyObject *args) {
17424 PyObject *obj;
17425 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17426 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent, obj);
17427 Py_INCREF(obj);
17428 return Py_BuildValue((char *)"");
17429}
17430static PyObject *_wrap_new_UpdateUIEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17431 PyObject *resultobj;
423f194a 17432 int arg1 = (int) 0 ;
d14a1e28 17433 wxUpdateUIEvent *result;
8edf1c75 17434 PyObject * obj0 = 0 ;
d14a1e28
RD
17435 char *kwnames[] = {
17436 (char *) "commandId", NULL
17437 };
17438
8edf1c75
RD
17439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_UpdateUIEvent",kwnames,&obj0)) goto fail;
17440 if (obj0) {
2f4c0a16
RD
17441 arg1 = (int) SWIG_AsInt(obj0);
17442 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17443 }
d14a1e28
RD
17444 {
17445 PyThreadState* __tstate = wxPyBeginAllowThreads();
17446 result = (wxUpdateUIEvent *)new wxUpdateUIEvent(arg1);
17447
17448 wxPyEndAllowThreads(__tstate);
17449 if (PyErr_Occurred()) SWIG_fail;
17450 }
2f4c0a16 17451 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxUpdateUIEvent, 1);
d14a1e28
RD
17452 return resultobj;
17453 fail:
17454 return NULL;
17455}
17456
17457
17458static PyObject *_wrap_UpdateUIEvent_GetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17459 PyObject *resultobj;
17460 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17461 bool result;
17462 PyObject * obj0 = 0 ;
17463 char *kwnames[] = {
17464 (char *) "self", NULL
17465 };
17466
17467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 result = (bool)((wxUpdateUIEvent const *)arg1)->GetChecked();
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
4e760a36 17477 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17478 return resultobj;
17479 fail:
17480 return NULL;
17481}
17482
17483
17484static PyObject *_wrap_UpdateUIEvent_GetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17485 PyObject *resultobj;
17486 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17487 bool result;
17488 PyObject * obj0 = 0 ;
17489 char *kwnames[] = {
17490 (char *) "self", NULL
17491 };
17492
17493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 result = (bool)((wxUpdateUIEvent const *)arg1)->GetEnabled();
17499
17500 wxPyEndAllowThreads(__tstate);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 }
4e760a36 17503 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17504 return resultobj;
17505 fail:
17506 return NULL;
17507}
17508
17509
17510static PyObject *_wrap_UpdateUIEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17511 PyObject *resultobj;
17512 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17513 wxString result;
17514 PyObject * obj0 = 0 ;
17515 char *kwnames[] = {
17516 (char *) "self", NULL
17517 };
17518
17519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17522 {
17523 PyThreadState* __tstate = wxPyBeginAllowThreads();
17524 result = ((wxUpdateUIEvent const *)arg1)->GetText();
17525
17526 wxPyEndAllowThreads(__tstate);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 {
17530#if wxUSE_UNICODE
17531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17532#else
17533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17534#endif
17535 }
17536 return resultobj;
17537 fail:
17538 return NULL;
17539}
17540
17541
17542static PyObject *_wrap_UpdateUIEvent_GetSetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17543 PyObject *resultobj;
17544 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17545 bool result;
17546 PyObject * obj0 = 0 ;
17547 char *kwnames[] = {
17548 (char *) "self", NULL
17549 };
17550
17551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
17556 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetText();
17557
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
4e760a36 17561 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17562 return resultobj;
17563 fail:
17564 return NULL;
17565}
17566
17567
17568static PyObject *_wrap_UpdateUIEvent_GetSetChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
17569 PyObject *resultobj;
17570 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17571 bool result;
17572 PyObject * obj0 = 0 ;
17573 char *kwnames[] = {
17574 (char *) "self", NULL
17575 };
17576
17577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17578 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17579 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17580 {
17581 PyThreadState* __tstate = wxPyBeginAllowThreads();
17582 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetChecked();
17583
17584 wxPyEndAllowThreads(__tstate);
17585 if (PyErr_Occurred()) SWIG_fail;
17586 }
4e760a36 17587 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17588 return resultobj;
17589 fail:
17590 return NULL;
17591}
17592
17593
17594static PyObject *_wrap_UpdateUIEvent_GetSetEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
17595 PyObject *resultobj;
17596 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17597 bool result;
17598 PyObject * obj0 = 0 ;
17599 char *kwnames[] = {
17600 (char *) "self", NULL
17601 };
17602
17603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17606 {
17607 PyThreadState* __tstate = wxPyBeginAllowThreads();
17608 result = (bool)((wxUpdateUIEvent const *)arg1)->GetSetEnabled();
17609
17610 wxPyEndAllowThreads(__tstate);
17611 if (PyErr_Occurred()) SWIG_fail;
17612 }
4e760a36 17613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17614 return resultobj;
17615 fail:
17616 return NULL;
17617}
17618
17619
17620static PyObject *_wrap_UpdateUIEvent_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
17621 PyObject *resultobj;
17622 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17623 bool arg2 ;
17624 PyObject * obj0 = 0 ;
17625 PyObject * obj1 = 0 ;
17626 char *kwnames[] = {
17627 (char *) "self",(char *) "check", NULL
17628 };
17629
17630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Check",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17633 arg2 = (bool) SWIG_AsBool(obj1);
17634 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17635 {
17636 PyThreadState* __tstate = wxPyBeginAllowThreads();
17637 (arg1)->Check(arg2);
17638
17639 wxPyEndAllowThreads(__tstate);
17640 if (PyErr_Occurred()) SWIG_fail;
17641 }
17642 Py_INCREF(Py_None); resultobj = Py_None;
17643 return resultobj;
17644 fail:
17645 return NULL;
17646}
17647
17648
17649static PyObject *_wrap_UpdateUIEvent_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
17650 PyObject *resultobj;
17651 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17652 bool arg2 ;
17653 PyObject * obj0 = 0 ;
17654 PyObject * obj1 = 0 ;
17655 char *kwnames[] = {
17656 (char *) "self",(char *) "enable", NULL
17657 };
17658
17659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
17662 arg2 = (bool) SWIG_AsBool(obj1);
17663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 (arg1)->Enable(arg2);
17667
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 Py_INCREF(Py_None); resultobj = Py_None;
17672 return resultobj;
17673 fail:
17674 return NULL;
17675}
17676
17677
17678static PyObject *_wrap_UpdateUIEvent_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17679 PyObject *resultobj;
17680 wxUpdateUIEvent *arg1 = (wxUpdateUIEvent *) 0 ;
17681 wxString *arg2 = 0 ;
423f194a 17682 bool temp2 = False ;
d14a1e28
RD
17683 PyObject * obj0 = 0 ;
17684 PyObject * obj1 = 0 ;
17685 char *kwnames[] = {
17686 (char *) "self",(char *) "text", NULL
17687 };
17688
17689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:UpdateUIEvent_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
17690 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxUpdateUIEvent,
17691 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17692 {
17693 arg2 = wxString_in_helper(obj1);
17694 if (arg2 == NULL) SWIG_fail;
423f194a 17695 temp2 = True;
d14a1e28
RD
17696 }
17697 {
17698 PyThreadState* __tstate = wxPyBeginAllowThreads();
17699 (arg1)->SetText((wxString const &)*arg2);
17700
17701 wxPyEndAllowThreads(__tstate);
17702 if (PyErr_Occurred()) SWIG_fail;
17703 }
17704 Py_INCREF(Py_None); resultobj = Py_None;
17705 {
17706 if (temp2)
17707 delete arg2;
17708 }
17709 return resultobj;
17710 fail:
17711 {
17712 if (temp2)
17713 delete arg2;
17714 }
17715 return NULL;
17716}
17717
17718
17719static PyObject *_wrap_UpdateUIEvent_SetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
17720 PyObject *resultobj;
17721 long arg1 ;
8edf1c75 17722 PyObject * obj0 = 0 ;
d14a1e28
RD
17723 char *kwnames[] = {
17724 (char *) "updateInterval", NULL
17725 };
17726
8edf1c75 17727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17728 arg1 = (long) SWIG_AsLong(obj0);
17729 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 wxUpdateUIEvent::SetUpdateInterval(arg1);
17733
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 Py_INCREF(Py_None); resultobj = Py_None;
17738 return resultobj;
17739 fail:
17740 return NULL;
17741}
17742
17743
17744static PyObject *_wrap_UpdateUIEvent_GetUpdateInterval(PyObject *self, PyObject *args, PyObject *kwargs) {
17745 PyObject *resultobj;
17746 long result;
17747 char *kwnames[] = {
17748 NULL
17749 };
17750
17751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames)) goto fail;
17752 {
17753 PyThreadState* __tstate = wxPyBeginAllowThreads();
17754 result = (long)wxUpdateUIEvent::GetUpdateInterval();
17755
17756 wxPyEndAllowThreads(__tstate);
17757 if (PyErr_Occurred()) SWIG_fail;
17758 }
2f4c0a16 17759 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
17760 return resultobj;
17761 fail:
17762 return NULL;
17763}
17764
17765
17766static PyObject *_wrap_UpdateUIEvent_CanUpdate(PyObject *self, PyObject *args, PyObject *kwargs) {
17767 PyObject *resultobj;
17768 wxWindow *arg1 = (wxWindow *) 0 ;
17769 bool result;
17770 PyObject * obj0 = 0 ;
17771 char *kwnames[] = {
17772 (char *) "win", NULL
17773 };
17774
17775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_CanUpdate",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17776 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
17777 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17778 {
17779 PyThreadState* __tstate = wxPyBeginAllowThreads();
17780 result = (bool)wxUpdateUIEvent::CanUpdate(arg1);
17781
17782 wxPyEndAllowThreads(__tstate);
17783 if (PyErr_Occurred()) SWIG_fail;
17784 }
4e760a36 17785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
17786 return resultobj;
17787 fail:
17788 return NULL;
17789}
17790
17791
17792static PyObject *_wrap_UpdateUIEvent_ResetUpdateTime(PyObject *self, PyObject *args, PyObject *kwargs) {
17793 PyObject *resultobj;
17794 char *kwnames[] = {
17795 NULL
17796 };
17797
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames)) goto fail;
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 wxUpdateUIEvent::ResetUpdateTime();
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 Py_INCREF(Py_None); resultobj = Py_None;
17807 return resultobj;
17808 fail:
17809 return NULL;
17810}
17811
17812
17813static PyObject *_wrap_UpdateUIEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17814 PyObject *resultobj;
17815 int arg1 ;
8edf1c75 17816 PyObject * obj0 = 0 ;
d14a1e28
RD
17817 char *kwnames[] = {
17818 (char *) "mode", NULL
17819 };
17820
8edf1c75 17821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:UpdateUIEvent_SetMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17822 arg1 = (wxUpdateUIMode) SWIG_AsInt(obj0);
17823 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
17824 {
17825 PyThreadState* __tstate = wxPyBeginAllowThreads();
17826 wxUpdateUIEvent::SetMode((wxUpdateUIMode )arg1);
17827
17828 wxPyEndAllowThreads(__tstate);
17829 if (PyErr_Occurred()) SWIG_fail;
17830 }
17831 Py_INCREF(Py_None); resultobj = Py_None;
17832 return resultobj;
17833 fail:
17834 return NULL;
17835}
17836
17837
17838static PyObject *_wrap_UpdateUIEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17839 PyObject *resultobj;
17840 int result;
17841 char *kwnames[] = {
17842 NULL
17843 };
17844
17845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":UpdateUIEvent_GetMode",kwnames)) goto fail;
17846 {
17847 PyThreadState* __tstate = wxPyBeginAllowThreads();
17848 result = (int)wxUpdateUIEvent::GetMode();
17849
17850 wxPyEndAllowThreads(__tstate);
17851 if (PyErr_Occurred()) SWIG_fail;
17852 }
2f4c0a16 17853 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
17854 return resultobj;
17855 fail:
17856 return NULL;
17857}
17858
17859
17860static PyObject * UpdateUIEvent_swigregister(PyObject *self, PyObject *args) {
17861 PyObject *obj;
17862 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17863 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent, obj);
17864 Py_INCREF(obj);
17865 return Py_BuildValue((char *)"");
17866}
17867static PyObject *_wrap_new_SysColourChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxSysColourChangedEvent *result;
17870 char *kwnames[] = {
17871 NULL
17872 };
17873
17874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SysColourChangedEvent",kwnames)) goto fail;
17875 {
17876 PyThreadState* __tstate = wxPyBeginAllowThreads();
17877 result = (wxSysColourChangedEvent *)new wxSysColourChangedEvent();
17878
17879 wxPyEndAllowThreads(__tstate);
17880 if (PyErr_Occurred()) SWIG_fail;
17881 }
2f4c0a16 17882 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSysColourChangedEvent, 1);
d14a1e28
RD
17883 return resultobj;
17884 fail:
17885 return NULL;
17886}
17887
17888
17889static PyObject * SysColourChangedEvent_swigregister(PyObject *self, PyObject *args) {
17890 PyObject *obj;
17891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17892 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent, obj);
17893 Py_INCREF(obj);
17894 return Py_BuildValue((char *)"");
17895}
17896static PyObject *_wrap_new_MouseCaptureChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17897 PyObject *resultobj;
423f194a 17898 int arg1 = (int) 0 ;
d14a1e28
RD
17899 wxWindow *arg2 = (wxWindow *) NULL ;
17900 wxMouseCaptureChangedEvent *result;
8edf1c75 17901 PyObject * obj0 = 0 ;
d14a1e28
RD
17902 PyObject * obj1 = 0 ;
17903 char *kwnames[] = {
17904 (char *) "winid",(char *) "gainedCapture", NULL
17905 };
17906
8edf1c75
RD
17907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames,&obj0,&obj1)) goto fail;
17908 if (obj0) {
2f4c0a16
RD
17909 arg1 = (int) SWIG_AsInt(obj0);
17910 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 17911 }
d14a1e28 17912 if (obj1) {
2f4c0a16
RD
17913 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
17914 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17915 }
17916 {
17917 PyThreadState* __tstate = wxPyBeginAllowThreads();
17918 result = (wxMouseCaptureChangedEvent *)new wxMouseCaptureChangedEvent(arg1,arg2);
17919
17920 wxPyEndAllowThreads(__tstate);
17921 if (PyErr_Occurred()) SWIG_fail;
17922 }
2f4c0a16 17923 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxMouseCaptureChangedEvent, 1);
d14a1e28
RD
17924 return resultobj;
17925 fail:
17926 return NULL;
17927}
17928
17929
17930static PyObject *_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17931 PyObject *resultobj;
17932 wxMouseCaptureChangedEvent *arg1 = (wxMouseCaptureChangedEvent *) 0 ;
17933 wxWindow *result;
17934 PyObject * obj0 = 0 ;
17935 char *kwnames[] = {
17936 (char *) "self", NULL
17937 };
17938
17939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
17940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMouseCaptureChangedEvent,
17941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
17942 {
17943 PyThreadState* __tstate = wxPyBeginAllowThreads();
17944 result = (wxWindow *)((wxMouseCaptureChangedEvent const *)arg1)->GetCapturedWindow();
17945
17946 wxPyEndAllowThreads(__tstate);
17947 if (PyErr_Occurred()) SWIG_fail;
17948 }
17949 {
17950 resultobj = wxPyMake_wxObject(result);
17951 }
17952 return resultobj;
17953 fail:
17954 return NULL;
17955}
17956
17957
17958static PyObject * MouseCaptureChangedEvent_swigregister(PyObject *self, PyObject *args) {
17959 PyObject *obj;
17960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17961 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent, obj);
17962 Py_INCREF(obj);
17963 return Py_BuildValue((char *)"");
17964}
17965static PyObject *_wrap_new_DisplayChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17966 PyObject *resultobj;
17967 wxDisplayChangedEvent *result;
17968 char *kwnames[] = {
17969 NULL
17970 };
17971
17972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_DisplayChangedEvent",kwnames)) goto fail;
17973 {
17974 PyThreadState* __tstate = wxPyBeginAllowThreads();
17975 result = (wxDisplayChangedEvent *)new wxDisplayChangedEvent();
17976
17977 wxPyEndAllowThreads(__tstate);
17978 if (PyErr_Occurred()) SWIG_fail;
17979 }
2f4c0a16 17980 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxDisplayChangedEvent, 1);
d14a1e28
RD
17981 return resultobj;
17982 fail:
17983 return NULL;
17984}
17985
17986
17987static PyObject * DisplayChangedEvent_swigregister(PyObject *self, PyObject *args) {
17988 PyObject *obj;
17989 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17990 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent, obj);
17991 Py_INCREF(obj);
17992 return Py_BuildValue((char *)"");
17993}
17994static PyObject *_wrap_new_PaletteChangedEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
17995 PyObject *resultobj;
423f194a 17996 int arg1 = (int) 0 ;
d14a1e28 17997 wxPaletteChangedEvent *result;
8edf1c75 17998 PyObject * obj0 = 0 ;
d14a1e28
RD
17999 char *kwnames[] = {
18000 (char *) "id", NULL
18001 };
18002
8edf1c75
RD
18003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_PaletteChangedEvent",kwnames,&obj0)) goto fail;
18004 if (obj0) {
2f4c0a16
RD
18005 arg1 = (int) SWIG_AsInt(obj0);
18006 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18007 }
d14a1e28
RD
18008 {
18009 PyThreadState* __tstate = wxPyBeginAllowThreads();
18010 result = (wxPaletteChangedEvent *)new wxPaletteChangedEvent(arg1);
18011
18012 wxPyEndAllowThreads(__tstate);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 }
2f4c0a16 18015 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPaletteChangedEvent, 1);
d14a1e28
RD
18016 return resultobj;
18017 fail:
18018 return NULL;
18019}
18020
18021
18022static PyObject *_wrap_PaletteChangedEvent_SetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18023 PyObject *resultobj;
18024 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18025 wxWindow *arg2 = (wxWindow *) 0 ;
18026 PyObject * obj0 = 0 ;
18027 PyObject * obj1 = 0 ;
18028 char *kwnames[] = {
18029 (char *) "self",(char *) "win", NULL
18030 };
18031
18032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18035 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18037 {
18038 PyThreadState* __tstate = wxPyBeginAllowThreads();
18039 (arg1)->SetChangedWindow(arg2);
18040
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 Py_INCREF(Py_None); resultobj = Py_None;
18045 return resultobj;
18046 fail:
18047 return NULL;
18048}
18049
18050
18051static PyObject *_wrap_PaletteChangedEvent_GetChangedWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18052 PyObject *resultobj;
18053 wxPaletteChangedEvent *arg1 = (wxPaletteChangedEvent *) 0 ;
18054 wxWindow *result;
18055 PyObject * obj0 = 0 ;
18056 char *kwnames[] = {
18057 (char *) "self", NULL
18058 };
18059
18060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18061 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPaletteChangedEvent,
18062 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18063 {
18064 PyThreadState* __tstate = wxPyBeginAllowThreads();
18065 result = (wxWindow *)(arg1)->GetChangedWindow();
18066
18067 wxPyEndAllowThreads(__tstate);
18068 if (PyErr_Occurred()) SWIG_fail;
18069 }
18070 {
18071 resultobj = wxPyMake_wxObject(result);
18072 }
18073 return resultobj;
18074 fail:
18075 return NULL;
18076}
18077
18078
18079static PyObject * PaletteChangedEvent_swigregister(PyObject *self, PyObject *args) {
18080 PyObject *obj;
18081 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18082 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent, obj);
18083 Py_INCREF(obj);
18084 return Py_BuildValue((char *)"");
18085}
18086static PyObject *_wrap_new_QueryNewPaletteEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18087 PyObject *resultobj;
423f194a 18088 int arg1 = (int) 0 ;
d14a1e28 18089 wxQueryNewPaletteEvent *result;
8edf1c75 18090 PyObject * obj0 = 0 ;
d14a1e28
RD
18091 char *kwnames[] = {
18092 (char *) "winid", NULL
18093 };
18094
8edf1c75
RD
18095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryNewPaletteEvent",kwnames,&obj0)) goto fail;
18096 if (obj0) {
2f4c0a16
RD
18097 arg1 = (int) SWIG_AsInt(obj0);
18098 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18099 }
d14a1e28
RD
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 result = (wxQueryNewPaletteEvent *)new wxQueryNewPaletteEvent(arg1);
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
2f4c0a16 18107 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxQueryNewPaletteEvent, 1);
d14a1e28
RD
18108 return resultobj;
18109 fail:
18110 return NULL;
18111}
18112
18113
18114static PyObject *_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18115 PyObject *resultobj;
18116 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18117 bool arg2 ;
18118 PyObject * obj0 = 0 ;
18119 PyObject * obj1 = 0 ;
18120 char *kwnames[] = {
18121 (char *) "self",(char *) "realized", NULL
18122 };
18123
18124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18125 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18126 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18127 arg2 = (bool) SWIG_AsBool(obj1);
18128 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 (arg1)->SetPaletteRealized(arg2);
18132
18133 wxPyEndAllowThreads(__tstate);
18134 if (PyErr_Occurred()) SWIG_fail;
18135 }
18136 Py_INCREF(Py_None); resultobj = Py_None;
18137 return resultobj;
18138 fail:
18139 return NULL;
18140}
18141
18142
18143static PyObject *_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject *self, PyObject *args, PyObject *kwargs) {
18144 PyObject *resultobj;
18145 wxQueryNewPaletteEvent *arg1 = (wxQueryNewPaletteEvent *) 0 ;
18146 bool result;
18147 PyObject * obj0 = 0 ;
18148 char *kwnames[] = {
18149 (char *) "self", NULL
18150 };
18151
18152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18153 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxQueryNewPaletteEvent,
18154 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18155 {
18156 PyThreadState* __tstate = wxPyBeginAllowThreads();
18157 result = (bool)((wxQueryNewPaletteEvent const *)arg1)->GetPaletteRealized();
18158
18159 wxPyEndAllowThreads(__tstate);
18160 if (PyErr_Occurred()) SWIG_fail;
18161 }
4e760a36 18162 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18163 return resultobj;
18164 fail:
18165 return NULL;
18166}
18167
18168
18169static PyObject * QueryNewPaletteEvent_swigregister(PyObject *self, PyObject *args) {
18170 PyObject *obj;
18171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18172 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent, obj);
18173 Py_INCREF(obj);
18174 return Py_BuildValue((char *)"");
18175}
18176static PyObject *_wrap_new_NavigationKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18177 PyObject *resultobj;
18178 wxNavigationKeyEvent *result;
18179 char *kwnames[] = {
18180 NULL
18181 };
18182
18183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_NavigationKeyEvent",kwnames)) goto fail;
18184 {
18185 PyThreadState* __tstate = wxPyBeginAllowThreads();
18186 result = (wxNavigationKeyEvent *)new wxNavigationKeyEvent();
18187
18188 wxPyEndAllowThreads(__tstate);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 }
2f4c0a16 18191 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxNavigationKeyEvent, 1);
d14a1e28
RD
18192 return resultobj;
18193 fail:
18194 return NULL;
18195}
18196
18197
18198static PyObject *_wrap_NavigationKeyEvent_GetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18199 PyObject *resultobj;
18200 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18201 bool result;
18202 PyObject * obj0 = 0 ;
18203 char *kwnames[] = {
18204 (char *) "self", NULL
18205 };
18206
18207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetDirection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18210 {
18211 PyThreadState* __tstate = wxPyBeginAllowThreads();
18212 result = (bool)((wxNavigationKeyEvent const *)arg1)->GetDirection();
18213
18214 wxPyEndAllowThreads(__tstate);
18215 if (PyErr_Occurred()) SWIG_fail;
18216 }
4e760a36 18217 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18218 return resultobj;
18219 fail:
18220 return NULL;
18221}
18222
18223
18224static PyObject *_wrap_NavigationKeyEvent_SetDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
18225 PyObject *resultobj;
18226 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18227 bool arg2 ;
18228 PyObject * obj0 = 0 ;
18229 PyObject * obj1 = 0 ;
18230 char *kwnames[] = {
18231 (char *) "self",(char *) "bForward", NULL
18232 };
18233
18234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18237 arg2 = (bool) SWIG_AsBool(obj1);
18238 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18239 {
18240 PyThreadState* __tstate = wxPyBeginAllowThreads();
18241 (arg1)->SetDirection(arg2);
18242
18243 wxPyEndAllowThreads(__tstate);
18244 if (PyErr_Occurred()) SWIG_fail;
18245 }
18246 Py_INCREF(Py_None); resultobj = Py_None;
18247 return resultobj;
18248 fail:
18249 return NULL;
18250}
18251
18252
18253static PyObject *_wrap_NavigationKeyEvent_IsWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18254 PyObject *resultobj;
18255 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18256 bool result;
18257 PyObject * obj0 = 0 ;
18258 char *kwnames[] = {
18259 (char *) "self", NULL
18260 };
18261
18262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18263 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18264 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 result = (bool)((wxNavigationKeyEvent const *)arg1)->IsWindowChange();
18268
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
4e760a36 18272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18273 return resultobj;
18274 fail:
18275 return NULL;
18276}
18277
18278
18279static PyObject *_wrap_NavigationKeyEvent_SetWindowChange(PyObject *self, PyObject *args, PyObject *kwargs) {
18280 PyObject *resultobj;
18281 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18282 bool arg2 ;
18283 PyObject * obj0 = 0 ;
18284 PyObject * obj1 = 0 ;
18285 char *kwnames[] = {
18286 (char *) "self",(char *) "bIs", NULL
18287 };
18288
18289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18290 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18291 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18292 arg2 = (bool) SWIG_AsBool(obj1);
18293 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18294 {
18295 PyThreadState* __tstate = wxPyBeginAllowThreads();
18296 (arg1)->SetWindowChange(arg2);
18297
18298 wxPyEndAllowThreads(__tstate);
18299 if (PyErr_Occurred()) SWIG_fail;
18300 }
18301 Py_INCREF(Py_None); resultobj = Py_None;
18302 return resultobj;
18303 fail:
18304 return NULL;
18305}
18306
18307
18308static PyObject *_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18309 PyObject *resultobj;
18310 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18311 wxWindow *result;
18312 PyObject * obj0 = 0 ;
18313 char *kwnames[] = {
18314 (char *) "self", NULL
18315 };
18316
18317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18318 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18319 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18320 {
18321 PyThreadState* __tstate = wxPyBeginAllowThreads();
18322 result = (wxWindow *)((wxNavigationKeyEvent const *)arg1)->GetCurrentFocus();
18323
18324 wxPyEndAllowThreads(__tstate);
18325 if (PyErr_Occurred()) SWIG_fail;
18326 }
18327 {
18328 resultobj = wxPyMake_wxObject(result);
18329 }
18330 return resultobj;
18331 fail:
18332 return NULL;
18333}
18334
18335
18336static PyObject *_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
18337 PyObject *resultobj;
18338 wxNavigationKeyEvent *arg1 = (wxNavigationKeyEvent *) 0 ;
18339 wxWindow *arg2 = (wxWindow *) 0 ;
18340 PyObject * obj0 = 0 ;
18341 PyObject * obj1 = 0 ;
18342 char *kwnames[] = {
18343 (char *) "self",(char *) "win", NULL
18344 };
18345
18346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18347 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxNavigationKeyEvent,
18348 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
18349 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
18350 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18351 {
18352 PyThreadState* __tstate = wxPyBeginAllowThreads();
18353 (arg1)->SetCurrentFocus(arg2);
18354
18355 wxPyEndAllowThreads(__tstate);
18356 if (PyErr_Occurred()) SWIG_fail;
18357 }
18358 Py_INCREF(Py_None); resultobj = Py_None;
18359 return resultobj;
18360 fail:
18361 return NULL;
18362}
18363
18364
18365static PyObject * NavigationKeyEvent_swigregister(PyObject *self, PyObject *args) {
18366 PyObject *obj;
18367 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18368 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent, obj);
18369 Py_INCREF(obj);
18370 return Py_BuildValue((char *)"");
18371}
18372static PyObject *_wrap_new_WindowCreateEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18373 PyObject *resultobj;
18374 wxWindow *arg1 = (wxWindow *) NULL ;
18375 wxWindowCreateEvent *result;
18376 PyObject * obj0 = 0 ;
18377 char *kwnames[] = {
18378 (char *) "win", NULL
18379 };
18380
18381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowCreateEvent",kwnames,&obj0)) goto fail;
18382 if (obj0) {
2f4c0a16
RD
18383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18385 }
18386 {
18387 PyThreadState* __tstate = wxPyBeginAllowThreads();
18388 result = (wxWindowCreateEvent *)new wxWindowCreateEvent(arg1);
18389
18390 wxPyEndAllowThreads(__tstate);
18391 if (PyErr_Occurred()) SWIG_fail;
18392 }
2f4c0a16 18393 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowCreateEvent, 1);
d14a1e28
RD
18394 return resultobj;
18395 fail:
18396 return NULL;
18397}
18398
18399
18400static PyObject *_wrap_WindowCreateEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18401 PyObject *resultobj;
18402 wxWindowCreateEvent *arg1 = (wxWindowCreateEvent *) 0 ;
18403 wxWindow *result;
18404 PyObject * obj0 = 0 ;
18405 char *kwnames[] = {
18406 (char *) "self", NULL
18407 };
18408
18409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowCreateEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18410 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowCreateEvent,
18411 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18412 {
18413 PyThreadState* __tstate = wxPyBeginAllowThreads();
18414 result = (wxWindow *)((wxWindowCreateEvent const *)arg1)->GetWindow();
18415
18416 wxPyEndAllowThreads(__tstate);
18417 if (PyErr_Occurred()) SWIG_fail;
18418 }
18419 {
18420 resultobj = wxPyMake_wxObject(result);
18421 }
18422 return resultobj;
18423 fail:
18424 return NULL;
18425}
18426
18427
18428static PyObject * WindowCreateEvent_swigregister(PyObject *self, PyObject *args) {
18429 PyObject *obj;
18430 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18431 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent, obj);
18432 Py_INCREF(obj);
18433 return Py_BuildValue((char *)"");
18434}
18435static PyObject *_wrap_new_WindowDestroyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18436 PyObject *resultobj;
18437 wxWindow *arg1 = (wxWindow *) NULL ;
18438 wxWindowDestroyEvent *result;
18439 PyObject * obj0 = 0 ;
18440 char *kwnames[] = {
18441 (char *) "win", NULL
18442 };
18443
18444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_WindowDestroyEvent",kwnames,&obj0)) goto fail;
18445 if (obj0) {
2f4c0a16
RD
18446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18448 }
18449 {
18450 PyThreadState* __tstate = wxPyBeginAllowThreads();
18451 result = (wxWindowDestroyEvent *)new wxWindowDestroyEvent(arg1);
18452
18453 wxPyEndAllowThreads(__tstate);
18454 if (PyErr_Occurred()) SWIG_fail;
18455 }
2f4c0a16 18456 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxWindowDestroyEvent, 1);
d14a1e28
RD
18457 return resultobj;
18458 fail:
18459 return NULL;
18460}
18461
18462
18463static PyObject *_wrap_WindowDestroyEvent_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18464 PyObject *resultobj;
18465 wxWindowDestroyEvent *arg1 = (wxWindowDestroyEvent *) 0 ;
18466 wxWindow *result;
18467 PyObject * obj0 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self", NULL
18470 };
18471
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:WindowDestroyEvent_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18473 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindowDestroyEvent,
18474 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 result = (wxWindow *)((wxWindowDestroyEvent const *)arg1)->GetWindow();
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 {
18483 resultobj = wxPyMake_wxObject(result);
18484 }
18485 return resultobj;
18486 fail:
18487 return NULL;
18488}
18489
18490
18491static PyObject * WindowDestroyEvent_swigregister(PyObject *self, PyObject *args) {
18492 PyObject *obj;
18493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18494 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent, obj);
18495 Py_INCREF(obj);
18496 return Py_BuildValue((char *)"");
18497}
18498static PyObject *_wrap_new_ContextMenuEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18499 PyObject *resultobj;
18500 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
423f194a 18501 int arg2 = (int) 0 ;
d14a1e28
RD
18502 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18503 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18504 wxContextMenuEvent *result;
18505 wxPoint temp3 ;
8edf1c75
RD
18506 PyObject * obj0 = 0 ;
18507 PyObject * obj1 = 0 ;
d14a1e28
RD
18508 PyObject * obj2 = 0 ;
18509 char *kwnames[] = {
18510 (char *) "type",(char *) "winid",(char *) "pt", NULL
18511 };
18512
8edf1c75
RD
18513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ContextMenuEvent",kwnames,&obj0,&obj1,&obj2)) goto fail;
18514 if (obj0) {
2f4c0a16
RD
18515 arg1 = (wxEventType) SWIG_AsInt(obj0);
18516 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18517 }
18518 if (obj1) {
2f4c0a16
RD
18519 arg2 = (int) SWIG_AsInt(obj1);
18520 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18521 }
d14a1e28
RD
18522 if (obj2) {
18523 {
18524 arg3 = &temp3;
18525 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18526 }
18527 }
18528 {
18529 PyThreadState* __tstate = wxPyBeginAllowThreads();
18530 result = (wxContextMenuEvent *)new wxContextMenuEvent(arg1,arg2,(wxPoint const &)*arg3);
18531
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
2f4c0a16 18535 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxContextMenuEvent, 1);
d14a1e28
RD
18536 return resultobj;
18537 fail:
18538 return NULL;
18539}
18540
18541
18542static PyObject *_wrap_ContextMenuEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj;
18544 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18545 wxPoint *result;
18546 PyObject * obj0 = 0 ;
18547 char *kwnames[] = {
18548 (char *) "self", NULL
18549 };
18550
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextMenuEvent_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18552 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18553 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18554 {
18555 PyThreadState* __tstate = wxPyBeginAllowThreads();
18556 {
18557 wxPoint const &_result_ref = ((wxContextMenuEvent const *)arg1)->GetPosition();
18558 result = (wxPoint *) &_result_ref;
18559 }
18560
18561 wxPyEndAllowThreads(__tstate);
18562 if (PyErr_Occurred()) SWIG_fail;
18563 }
2f4c0a16 18564 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPoint, 0);
d14a1e28
RD
18565 return resultobj;
18566 fail:
18567 return NULL;
18568}
18569
18570
18571static PyObject *_wrap_ContextMenuEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18572 PyObject *resultobj;
18573 wxContextMenuEvent *arg1 = (wxContextMenuEvent *) 0 ;
18574 wxPoint *arg2 = 0 ;
18575 wxPoint temp2 ;
18576 PyObject * obj0 = 0 ;
18577 PyObject * obj1 = 0 ;
18578 char *kwnames[] = {
18579 (char *) "self",(char *) "pos", NULL
18580 };
18581
18582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ContextMenuEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18583 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxContextMenuEvent,
18584 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18585 {
18586 arg2 = &temp2;
18587 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18588 }
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 (arg1)->SetPosition((wxPoint const &)*arg2);
18592
18593 wxPyEndAllowThreads(__tstate);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 }
18596 Py_INCREF(Py_None); resultobj = Py_None;
18597 return resultobj;
18598 fail:
18599 return NULL;
18600}
18601
18602
18603static PyObject * ContextMenuEvent_swigregister(PyObject *self, PyObject *args) {
18604 PyObject *obj;
18605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18606 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent, obj);
18607 Py_INCREF(obj);
18608 return Py_BuildValue((char *)"");
18609}
18610static PyObject *_wrap_new_IdleEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18611 PyObject *resultobj;
18612 wxIdleEvent *result;
18613 char *kwnames[] = {
18614 NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_IdleEvent",kwnames)) goto fail;
18618 {
18619 PyThreadState* __tstate = wxPyBeginAllowThreads();
18620 result = (wxIdleEvent *)new wxIdleEvent();
18621
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
2f4c0a16 18625 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIdleEvent, 1);
d14a1e28
RD
18626 return resultobj;
18627 fail:
18628 return NULL;
18629}
18630
18631
18632static PyObject *_wrap_IdleEvent_RequestMore(PyObject *self, PyObject *args, PyObject *kwargs) {
18633 PyObject *resultobj;
18634 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
423f194a 18635 bool arg2 = (bool) True ;
d14a1e28
RD
18636 PyObject * obj0 = 0 ;
18637 PyObject * obj1 = 0 ;
18638 char *kwnames[] = {
18639 (char *) "self",(char *) "needMore", NULL
18640 };
18641
18642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:IdleEvent_RequestMore",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18643 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
18644 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 18645 if (obj1) {
2f4c0a16
RD
18646 arg2 = (bool) SWIG_AsBool(obj1);
18647 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18648 }
18649 {
18650 PyThreadState* __tstate = wxPyBeginAllowThreads();
18651 (arg1)->RequestMore(arg2);
18652
18653 wxPyEndAllowThreads(__tstate);
18654 if (PyErr_Occurred()) SWIG_fail;
18655 }
18656 Py_INCREF(Py_None); resultobj = Py_None;
18657 return resultobj;
18658 fail:
18659 return NULL;
18660}
18661
18662
18663static PyObject *_wrap_IdleEvent_MoreRequested(PyObject *self, PyObject *args, PyObject *kwargs) {
18664 PyObject *resultobj;
18665 wxIdleEvent *arg1 = (wxIdleEvent *) 0 ;
18666 bool result;
18667 PyObject * obj0 = 0 ;
18668 char *kwnames[] = {
18669 (char *) "self", NULL
18670 };
18671
18672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_MoreRequested",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18673 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIdleEvent,
18674 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18675 {
18676 PyThreadState* __tstate = wxPyBeginAllowThreads();
18677 result = (bool)((wxIdleEvent const *)arg1)->MoreRequested();
18678
18679 wxPyEndAllowThreads(__tstate);
18680 if (PyErr_Occurred()) SWIG_fail;
18681 }
4e760a36 18682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18683 return resultobj;
18684 fail:
18685 return NULL;
18686}
18687
18688
18689static PyObject *_wrap_IdleEvent_SetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18690 PyObject *resultobj;
18691 int arg1 ;
8edf1c75 18692 PyObject * obj0 = 0 ;
d14a1e28
RD
18693 char *kwnames[] = {
18694 (char *) "mode", NULL
18695 };
18696
8edf1c75 18697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_SetMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18698 arg1 = (wxIdleMode) SWIG_AsInt(obj0);
18699 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
18700 {
18701 PyThreadState* __tstate = wxPyBeginAllowThreads();
18702 wxIdleEvent::SetMode((wxIdleMode )arg1);
18703
18704 wxPyEndAllowThreads(__tstate);
18705 if (PyErr_Occurred()) SWIG_fail;
18706 }
18707 Py_INCREF(Py_None); resultobj = Py_None;
18708 return resultobj;
18709 fail:
18710 return NULL;
18711}
18712
18713
18714static PyObject *_wrap_IdleEvent_GetMode(PyObject *self, PyObject *args, PyObject *kwargs) {
18715 PyObject *resultobj;
18716 int result;
18717 char *kwnames[] = {
18718 NULL
18719 };
18720
18721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":IdleEvent_GetMode",kwnames)) goto fail;
18722 {
18723 PyThreadState* __tstate = wxPyBeginAllowThreads();
18724 result = (int)wxIdleEvent::GetMode();
18725
18726 wxPyEndAllowThreads(__tstate);
18727 if (PyErr_Occurred()) SWIG_fail;
18728 }
2f4c0a16 18729 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
18730 return resultobj;
18731 fail:
18732 return NULL;
18733}
18734
18735
18736static PyObject *_wrap_IdleEvent_CanSend(PyObject *self, PyObject *args, PyObject *kwargs) {
18737 PyObject *resultobj;
18738 wxWindow *arg1 = (wxWindow *) 0 ;
18739 bool result;
18740 PyObject * obj0 = 0 ;
18741 char *kwnames[] = {
18742 (char *) "win", NULL
18743 };
18744
18745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IdleEvent_CanSend",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
18747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 result = (bool)wxIdleEvent::CanSend(arg1);
18751
18752 wxPyEndAllowThreads(__tstate);
18753 if (PyErr_Occurred()) SWIG_fail;
18754 }
4e760a36 18755 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18756 return resultobj;
18757 fail:
18758 return NULL;
18759}
18760
18761
18762static PyObject * IdleEvent_swigregister(PyObject *self, PyObject *args) {
18763 PyObject *obj;
18764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18765 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent, obj);
18766 Py_INCREF(obj);
18767 return Py_BuildValue((char *)"");
18768}
18769static PyObject *_wrap_new_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18770 PyObject *resultobj;
18771 int arg1 = (int) 0 ;
18772 wxEventType arg2 = (wxEventType) wxEVT_NULL ;
18773 wxPyEvent *result;
8edf1c75
RD
18774 PyObject * obj0 = 0 ;
18775 PyObject * obj1 = 0 ;
d14a1e28
RD
18776 char *kwnames[] = {
18777 (char *) "winid",(char *) "commandType", NULL
18778 };
18779
8edf1c75
RD
18780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyEvent",kwnames,&obj0,&obj1)) goto fail;
18781 if (obj0) {
2f4c0a16
RD
18782 arg1 = (int) SWIG_AsInt(obj0);
18783 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18784 }
18785 if (obj1) {
2f4c0a16
RD
18786 arg2 = (wxEventType) SWIG_AsInt(obj1);
18787 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18788 }
d14a1e28
RD
18789 {
18790 PyThreadState* __tstate = wxPyBeginAllowThreads();
18791 result = (wxPyEvent *)new wxPyEvent(arg1,arg2);
18792
18793 wxPyEndAllowThreads(__tstate);
18794 if (PyErr_Occurred()) SWIG_fail;
18795 }
2f4c0a16 18796 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyEvent, 1);
d14a1e28
RD
18797 return resultobj;
18798 fail:
18799 return NULL;
18800}
18801
18802
18803static PyObject *_wrap_delete_PyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18804 PyObject *resultobj;
18805 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
18806 PyObject * obj0 = 0 ;
18807 char *kwnames[] = {
18808 (char *) "self", NULL
18809 };
18810
18811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
18813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 delete arg1;
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 Py_INCREF(Py_None); resultobj = Py_None;
18822 return resultobj;
18823 fail:
18824 return NULL;
18825}
18826
18827
18828static PyObject *_wrap_PyEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj;
18830 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
18831 PyObject *arg2 = (PyObject *) 0 ;
18832 PyObject * obj0 = 0 ;
18833 PyObject * obj1 = 0 ;
18834 char *kwnames[] = {
18835 (char *) "self",(char *) "self", NULL
18836 };
18837
18838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18839 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
18840 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18841 arg2 = obj1;
18842 {
18843 PyThreadState* __tstate = wxPyBeginAllowThreads();
18844 (arg1)->SetSelf(arg2);
18845
18846 wxPyEndAllowThreads(__tstate);
18847 if (PyErr_Occurred()) SWIG_fail;
18848 }
18849 Py_INCREF(Py_None); resultobj = Py_None;
18850 return resultobj;
18851 fail:
18852 return NULL;
18853}
18854
18855
18856static PyObject *_wrap_PyEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
18857 PyObject *resultobj;
18858 wxPyEvent *arg1 = (wxPyEvent *) 0 ;
18859 PyObject *result;
18860 PyObject * obj0 = 0 ;
18861 char *kwnames[] = {
18862 (char *) "self", NULL
18863 };
18864
18865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyEvent_GetSelf",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18866 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyEvent,
18867 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18868 {
18869 PyThreadState* __tstate = wxPyBeginAllowThreads();
18870 result = (PyObject *)(arg1)->GetSelf();
18871
18872 wxPyEndAllowThreads(__tstate);
18873 if (PyErr_Occurred()) SWIG_fail;
18874 }
18875 resultobj = result;
18876 return resultobj;
18877 fail:
18878 return NULL;
18879}
18880
18881
18882static PyObject * PyEvent_swigregister(PyObject *self, PyObject *args) {
18883 PyObject *obj;
18884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18885 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent, obj);
18886 Py_INCREF(obj);
18887 return Py_BuildValue((char *)"");
18888}
18889static PyObject *_wrap_new_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18890 PyObject *resultobj;
18891 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
18892 int arg2 = (int) 0 ;
18893 wxPyCommandEvent *result;
8edf1c75
RD
18894 PyObject * obj0 = 0 ;
18895 PyObject * obj1 = 0 ;
d14a1e28
RD
18896 char *kwnames[] = {
18897 (char *) "commandType",(char *) "id", NULL
18898 };
18899
8edf1c75
RD
18900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_PyCommandEvent",kwnames,&obj0,&obj1)) goto fail;
18901 if (obj0) {
2f4c0a16
RD
18902 arg1 = (wxEventType) SWIG_AsInt(obj0);
18903 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
18904 }
18905 if (obj1) {
2f4c0a16
RD
18906 arg2 = (int) SWIG_AsInt(obj1);
18907 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 18908 }
d14a1e28
RD
18909 {
18910 PyThreadState* __tstate = wxPyBeginAllowThreads();
18911 result = (wxPyCommandEvent *)new wxPyCommandEvent(arg1,arg2);
18912
18913 wxPyEndAllowThreads(__tstate);
18914 if (PyErr_Occurred()) SWIG_fail;
18915 }
2f4c0a16 18916 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyCommandEvent, 1);
d14a1e28
RD
18917 return resultobj;
18918 fail:
18919 return NULL;
18920}
18921
18922
18923static PyObject *_wrap_delete_PyCommandEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
18924 PyObject *resultobj;
18925 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
18926 PyObject * obj0 = 0 ;
18927 char *kwnames[] = {
18928 (char *) "self", NULL
18929 };
18930
18931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyCommandEvent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
18933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18934 {
18935 PyThreadState* __tstate = wxPyBeginAllowThreads();
18936 delete arg1;
18937
18938 wxPyEndAllowThreads(__tstate);
18939 if (PyErr_Occurred()) SWIG_fail;
18940 }
18941 Py_INCREF(Py_None); resultobj = Py_None;
18942 return resultobj;
18943 fail:
18944 return NULL;
18945}
18946
18947
18948static PyObject *_wrap_PyCommandEvent_SetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
18949 PyObject *resultobj;
18950 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
18951 PyObject *arg2 = (PyObject *) 0 ;
18952 PyObject * obj0 = 0 ;
18953 PyObject * obj1 = 0 ;
18954 char *kwnames[] = {
18955 (char *) "self",(char *) "self", NULL
18956 };
18957
18958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyCommandEvent_SetSelf",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
18959 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
18960 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18961 arg2 = obj1;
18962 {
18963 PyThreadState* __tstate = wxPyBeginAllowThreads();
18964 (arg1)->SetSelf(arg2);
18965
18966 wxPyEndAllowThreads(__tstate);
18967 if (PyErr_Occurred()) SWIG_fail;
18968 }
18969 Py_INCREF(Py_None); resultobj = Py_None;
18970 return resultobj;
18971 fail:
18972 return NULL;
18973}
18974
18975
18976static PyObject *_wrap_PyCommandEvent_GetSelf(PyObject *self, PyObject *args, PyObject *kwargs) {
18977 PyObject *resultobj;
18978 wxPyCommandEvent *arg1 = (wxPyCommandEvent *) 0 ;
18979 PyObject *result;
18980 PyObject * obj0 = 0 ;
18981 char *kwnames[] = {
18982 (char *) "self", NULL
18983 };
18984
18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyCommandEvent_GetSelf",kwnames,&obj0)) goto fail;
2f4c0a16
RD
18986 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyCommandEvent,
18987 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
18988 {
18989 PyThreadState* __tstate = wxPyBeginAllowThreads();
18990 result = (PyObject *)(arg1)->GetSelf();
18991
18992 wxPyEndAllowThreads(__tstate);
18993 if (PyErr_Occurred()) SWIG_fail;
18994 }
18995 resultobj = result;
18996 return resultobj;
18997 fail:
18998 return NULL;
18999}
19000
19001
19002static PyObject * PyCommandEvent_swigregister(PyObject *self, PyObject *args) {
19003 PyObject *obj;
19004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19005 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent, obj);
19006 Py_INCREF(obj);
19007 return Py_BuildValue((char *)"");
19008}
19009static PyObject *_wrap_new_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj;
19011 wxPyApp *result;
19012 char *kwnames[] = {
19013 NULL
19014 };
19015
19016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyApp",kwnames)) goto fail;
19017 {
19018 PyThreadState* __tstate = wxPyBeginAllowThreads();
19019 result = (wxPyApp *)new_wxPyApp();
19020
19021 wxPyEndAllowThreads(__tstate);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 }
19024 {
19025 resultobj = wxPyMake_wxObject(result);
19026 }
19027 return resultobj;
19028 fail:
19029 return NULL;
19030}
19031
19032
19033static PyObject *_wrap_delete_PyApp(PyObject *self, PyObject *args, PyObject *kwargs) {
19034 PyObject *resultobj;
19035 wxPyApp *arg1 = (wxPyApp *) 0 ;
19036 PyObject * obj0 = 0 ;
19037 char *kwnames[] = {
19038 (char *) "self", NULL
19039 };
19040
19041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PyApp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19044 {
19045 PyThreadState* __tstate = wxPyBeginAllowThreads();
19046 delete arg1;
19047
19048 wxPyEndAllowThreads(__tstate);
19049 if (PyErr_Occurred()) SWIG_fail;
19050 }
19051 Py_INCREF(Py_None); resultobj = Py_None;
19052 return resultobj;
19053 fail:
19054 return NULL;
19055}
19056
19057
19058static PyObject *_wrap_PyApp__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19059 PyObject *resultobj;
19060 wxPyApp *arg1 = (wxPyApp *) 0 ;
19061 PyObject *arg2 = (PyObject *) 0 ;
19062 PyObject *arg3 = (PyObject *) 0 ;
19063 PyObject * obj0 = 0 ;
19064 PyObject * obj1 = 0 ;
19065 PyObject * obj2 = 0 ;
19066 char *kwnames[] = {
19067 (char *) "self",(char *) "self",(char *) "_class", NULL
19068 };
19069
19070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19073 arg2 = obj1;
19074 arg3 = obj2;
19075 {
19076 PyThreadState* __tstate = wxPyBeginAllowThreads();
19077 (arg1)->_setCallbackInfo(arg2,arg3);
19078
19079 wxPyEndAllowThreads(__tstate);
19080 if (PyErr_Occurred()) SWIG_fail;
19081 }
19082 Py_INCREF(Py_None); resultobj = Py_None;
19083 return resultobj;
19084 fail:
19085 return NULL;
19086}
19087
19088
19089static PyObject *_wrap_PyApp_GetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19090 PyObject *resultobj;
19091 wxPyApp *arg1 = (wxPyApp *) 0 ;
19092 wxString result;
19093 PyObject * obj0 = 0 ;
19094 char *kwnames[] = {
19095 (char *) "self", NULL
19096 };
19097
19098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAppName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19101 {
19102 PyThreadState* __tstate = wxPyBeginAllowThreads();
19103 result = ((wxPyApp const *)arg1)->GetAppName();
19104
19105 wxPyEndAllowThreads(__tstate);
19106 if (PyErr_Occurred()) SWIG_fail;
19107 }
19108 {
19109#if wxUSE_UNICODE
19110 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19111#else
19112 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19113#endif
19114 }
19115 return resultobj;
19116 fail:
19117 return NULL;
19118}
19119
19120
19121static PyObject *_wrap_PyApp_SetAppName(PyObject *self, PyObject *args, PyObject *kwargs) {
19122 PyObject *resultobj;
19123 wxPyApp *arg1 = (wxPyApp *) 0 ;
19124 wxString *arg2 = 0 ;
423f194a 19125 bool temp2 = False ;
d14a1e28
RD
19126 PyObject * obj0 = 0 ;
19127 PyObject * obj1 = 0 ;
19128 char *kwnames[] = {
19129 (char *) "self",(char *) "name", NULL
19130 };
19131
19132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAppName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19133 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19134 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19135 {
19136 arg2 = wxString_in_helper(obj1);
19137 if (arg2 == NULL) SWIG_fail;
423f194a 19138 temp2 = True;
d14a1e28
RD
19139 }
19140 {
19141 PyThreadState* __tstate = wxPyBeginAllowThreads();
19142 (arg1)->SetAppName((wxString const &)*arg2);
19143
19144 wxPyEndAllowThreads(__tstate);
19145 if (PyErr_Occurred()) SWIG_fail;
19146 }
19147 Py_INCREF(Py_None); resultobj = Py_None;
19148 {
19149 if (temp2)
19150 delete arg2;
19151 }
19152 return resultobj;
19153 fail:
19154 {
19155 if (temp2)
19156 delete arg2;
19157 }
19158 return NULL;
19159}
19160
19161
19162static PyObject *_wrap_PyApp_GetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19163 PyObject *resultobj;
19164 wxPyApp *arg1 = (wxPyApp *) 0 ;
19165 wxString result;
19166 PyObject * obj0 = 0 ;
19167 char *kwnames[] = {
19168 (char *) "self", NULL
19169 };
19170
19171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetClassName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19172 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19173 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19174 {
19175 PyThreadState* __tstate = wxPyBeginAllowThreads();
19176 result = ((wxPyApp const *)arg1)->GetClassName();
19177
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 {
19182#if wxUSE_UNICODE
19183 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19184#else
19185 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19186#endif
19187 }
19188 return resultobj;
19189 fail:
19190 return NULL;
19191}
19192
19193
19194static PyObject *_wrap_PyApp_SetClassName(PyObject *self, PyObject *args, PyObject *kwargs) {
19195 PyObject *resultobj;
19196 wxPyApp *arg1 = (wxPyApp *) 0 ;
19197 wxString *arg2 = 0 ;
423f194a 19198 bool temp2 = False ;
d14a1e28
RD
19199 PyObject * obj0 = 0 ;
19200 PyObject * obj1 = 0 ;
19201 char *kwnames[] = {
19202 (char *) "self",(char *) "name", NULL
19203 };
19204
19205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetClassName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19206 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19207 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19208 {
19209 arg2 = wxString_in_helper(obj1);
19210 if (arg2 == NULL) SWIG_fail;
423f194a 19211 temp2 = True;
d14a1e28
RD
19212 }
19213 {
19214 PyThreadState* __tstate = wxPyBeginAllowThreads();
19215 (arg1)->SetClassName((wxString const &)*arg2);
19216
19217 wxPyEndAllowThreads(__tstate);
19218 if (PyErr_Occurred()) SWIG_fail;
19219 }
19220 Py_INCREF(Py_None); resultobj = Py_None;
19221 {
19222 if (temp2)
19223 delete arg2;
19224 }
19225 return resultobj;
19226 fail:
19227 {
19228 if (temp2)
19229 delete arg2;
19230 }
19231 return NULL;
19232}
19233
19234
19235static PyObject *_wrap_PyApp_GetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19236 PyObject *resultobj;
19237 wxPyApp *arg1 = (wxPyApp *) 0 ;
19238 wxString *result;
19239 PyObject * obj0 = 0 ;
19240 char *kwnames[] = {
19241 (char *) "self", NULL
19242 };
19243
19244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetVendorName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19245 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19246 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 {
19250 wxString const &_result_ref = ((wxPyApp const *)arg1)->GetVendorName();
19251 result = (wxString *) &_result_ref;
19252 }
19253
19254 wxPyEndAllowThreads(__tstate);
19255 if (PyErr_Occurred()) SWIG_fail;
19256 }
f0983263
RD
19257 {
19258#if wxUSE_UNICODE
19259 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
19260#else
19261 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
19262#endif
19263 }
d14a1e28
RD
19264 return resultobj;
19265 fail:
19266 return NULL;
19267}
19268
19269
19270static PyObject *_wrap_PyApp_SetVendorName(PyObject *self, PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj;
19272 wxPyApp *arg1 = (wxPyApp *) 0 ;
19273 wxString *arg2 = 0 ;
423f194a 19274 bool temp2 = False ;
d14a1e28
RD
19275 PyObject * obj0 = 0 ;
19276 PyObject * obj1 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self",(char *) "name", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetVendorName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19282 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19283 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19284 {
19285 arg2 = wxString_in_helper(obj1);
19286 if (arg2 == NULL) SWIG_fail;
423f194a 19287 temp2 = True;
d14a1e28
RD
19288 }
19289 {
19290 PyThreadState* __tstate = wxPyBeginAllowThreads();
19291 (arg1)->SetVendorName((wxString const &)*arg2);
19292
19293 wxPyEndAllowThreads(__tstate);
19294 if (PyErr_Occurred()) SWIG_fail;
19295 }
19296 Py_INCREF(Py_None); resultobj = Py_None;
19297 {
19298 if (temp2)
19299 delete arg2;
19300 }
19301 return resultobj;
19302 fail:
19303 {
19304 if (temp2)
19305 delete arg2;
19306 }
19307 return NULL;
19308}
19309
19310
19311static PyObject *_wrap_PyApp_GetTraits(PyObject *self, PyObject *args, PyObject *kwargs) {
19312 PyObject *resultobj;
19313 wxPyApp *arg1 = (wxPyApp *) 0 ;
19314 wxAppTraits *result;
19315 PyObject * obj0 = 0 ;
19316 char *kwnames[] = {
19317 (char *) "self", NULL
19318 };
19319
19320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTraits",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19321 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19322 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19323 {
19324 PyThreadState* __tstate = wxPyBeginAllowThreads();
19325 result = (wxAppTraits *)(arg1)->GetTraits();
19326
19327 wxPyEndAllowThreads(__tstate);
19328 if (PyErr_Occurred()) SWIG_fail;
19329 }
2f4c0a16 19330 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAppTraits, 0);
d14a1e28
RD
19331 return resultobj;
19332 fail:
19333 return NULL;
19334}
19335
19336
19337static PyObject *_wrap_PyApp_ProcessPendingEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19338 PyObject *resultobj;
19339 wxPyApp *arg1 = (wxPyApp *) 0 ;
19340 PyObject * obj0 = 0 ;
19341 char *kwnames[] = {
19342 (char *) "self", NULL
19343 };
19344
19345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessPendingEvents",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19346 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19347 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19348 {
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 (arg1)->ProcessPendingEvents();
19351
19352 wxPyEndAllowThreads(__tstate);
19353 if (PyErr_Occurred()) SWIG_fail;
19354 }
19355 Py_INCREF(Py_None); resultobj = Py_None;
19356 return resultobj;
19357 fail:
19358 return NULL;
19359}
19360
19361
19362static PyObject *_wrap_PyApp_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
19363 PyObject *resultobj;
19364 wxPyApp *arg1 = (wxPyApp *) 0 ;
423f194a 19365 bool arg2 = (bool) False ;
d14a1e28
RD
19366 bool result;
19367 PyObject * obj0 = 0 ;
19368 PyObject * obj1 = 0 ;
19369 char *kwnames[] = {
19370 (char *) "self",(char *) "onlyIfNeeded", NULL
19371 };
19372
19373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PyApp_Yield",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19374 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19375 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 19376 if (obj1) {
2f4c0a16
RD
19377 arg2 = (bool) SWIG_AsBool(obj1);
19378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19379 }
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 result = (bool)(arg1)->Yield(arg2);
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
4e760a36 19387 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19388 return resultobj;
19389 fail:
19390 return NULL;
19391}
19392
19393
19394static PyObject *_wrap_PyApp_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19395 PyObject *resultobj;
19396 wxPyApp *arg1 = (wxPyApp *) 0 ;
19397 PyObject * obj0 = 0 ;
19398 char *kwnames[] = {
19399 (char *) "self", NULL
19400 };
19401
19402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_WakeUpIdle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19405 {
19406 PyThreadState* __tstate = wxPyBeginAllowThreads();
19407 (arg1)->WakeUpIdle();
19408
19409 wxPyEndAllowThreads(__tstate);
19410 if (PyErr_Occurred()) SWIG_fail;
19411 }
19412 Py_INCREF(Py_None); resultobj = Py_None;
19413 return resultobj;
19414 fail:
19415 return NULL;
19416}
19417
19418
19419static PyObject *_wrap_PyApp_MainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19420 PyObject *resultobj;
19421 wxPyApp *arg1 = (wxPyApp *) 0 ;
19422 int result;
19423 PyObject * obj0 = 0 ;
19424 char *kwnames[] = {
19425 (char *) "self", NULL
19426 };
19427
19428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_MainLoop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19431 {
19432 PyThreadState* __tstate = wxPyBeginAllowThreads();
19433 result = (int)(arg1)->MainLoop();
19434
19435 wxPyEndAllowThreads(__tstate);
19436 if (PyErr_Occurred()) SWIG_fail;
19437 }
2f4c0a16 19438 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19439 return resultobj;
19440 fail:
19441 return NULL;
19442}
19443
19444
19445static PyObject *_wrap_PyApp_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
19446 PyObject *resultobj;
19447 wxPyApp *arg1 = (wxPyApp *) 0 ;
19448 PyObject * obj0 = 0 ;
19449 char *kwnames[] = {
19450 (char *) "self", NULL
19451 };
19452
19453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Exit",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19456 {
19457 PyThreadState* __tstate = wxPyBeginAllowThreads();
19458 (arg1)->Exit();
19459
19460 wxPyEndAllowThreads(__tstate);
19461 if (PyErr_Occurred()) SWIG_fail;
19462 }
19463 Py_INCREF(Py_None); resultobj = Py_None;
19464 return resultobj;
19465 fail:
19466 return NULL;
19467}
19468
19469
19470static PyObject *_wrap_PyApp_ExitMainLoop(PyObject *self, PyObject *args, PyObject *kwargs) {
19471 PyObject *resultobj;
19472 wxPyApp *arg1 = (wxPyApp *) 0 ;
19473 PyObject * obj0 = 0 ;
19474 char *kwnames[] = {
19475 (char *) "self", NULL
19476 };
19477
19478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ExitMainLoop",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19479 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19480 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19481 {
19482 PyThreadState* __tstate = wxPyBeginAllowThreads();
19483 (arg1)->ExitMainLoop();
19484
19485 wxPyEndAllowThreads(__tstate);
19486 if (PyErr_Occurred()) SWIG_fail;
19487 }
19488 Py_INCREF(Py_None); resultobj = Py_None;
19489 return resultobj;
19490 fail:
19491 return NULL;
19492}
19493
19494
19495static PyObject *_wrap_PyApp_Pending(PyObject *self, PyObject *args, PyObject *kwargs) {
19496 PyObject *resultobj;
19497 wxPyApp *arg1 = (wxPyApp *) 0 ;
19498 bool result;
19499 PyObject * obj0 = 0 ;
19500 char *kwnames[] = {
19501 (char *) "self", NULL
19502 };
19503
19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Pending",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19505 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19506 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19507 {
19508 PyThreadState* __tstate = wxPyBeginAllowThreads();
19509 result = (bool)(arg1)->Pending();
19510
19511 wxPyEndAllowThreads(__tstate);
19512 if (PyErr_Occurred()) SWIG_fail;
19513 }
4e760a36 19514 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19515 return resultobj;
19516 fail:
19517 return NULL;
19518}
19519
19520
19521static PyObject *_wrap_PyApp_Dispatch(PyObject *self, PyObject *args, PyObject *kwargs) {
19522 PyObject *resultobj;
19523 wxPyApp *arg1 = (wxPyApp *) 0 ;
19524 bool result;
19525 PyObject * obj0 = 0 ;
19526 char *kwnames[] = {
19527 (char *) "self", NULL
19528 };
19529
19530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_Dispatch",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19533 {
19534 PyThreadState* __tstate = wxPyBeginAllowThreads();
19535 result = (bool)(arg1)->Dispatch();
19536
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
4e760a36 19540 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19541 return resultobj;
19542 fail:
19543 return NULL;
19544}
19545
19546
19547static PyObject *_wrap_PyApp_ProcessIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
19548 PyObject *resultobj;
19549 wxPyApp *arg1 = (wxPyApp *) 0 ;
19550 bool result;
19551 PyObject * obj0 = 0 ;
19552 char *kwnames[] = {
19553 (char *) "self", NULL
19554 };
19555
19556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_ProcessIdle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19557 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19558 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19559 {
19560 PyThreadState* __tstate = wxPyBeginAllowThreads();
19561 result = (bool)(arg1)->ProcessIdle();
19562
19563 wxPyEndAllowThreads(__tstate);
19564 if (PyErr_Occurred()) SWIG_fail;
19565 }
4e760a36 19566 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19567 return resultobj;
19568 fail:
19569 return NULL;
19570}
19571
19572
19573static PyObject *_wrap_PyApp_SendIdleEvents(PyObject *self, PyObject *args, PyObject *kwargs) {
19574 PyObject *resultobj;
19575 wxPyApp *arg1 = (wxPyApp *) 0 ;
19576 wxWindow *arg2 = (wxWindow *) 0 ;
19577 wxIdleEvent *arg3 = 0 ;
19578 bool result;
19579 PyObject * obj0 = 0 ;
19580 PyObject * obj1 = 0 ;
19581 PyObject * obj2 = 0 ;
19582 char *kwnames[] = {
19583 (char *) "self",(char *) "win",(char *) "event", NULL
19584 };
19585
19586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyApp_SendIdleEvents",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
19587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19589 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19591 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxIdleEvent,
19592 SWIG_POINTER_EXCEPTION | 0)) == -1)
19593 SWIG_fail;
d14a1e28 19594 if (arg3 == NULL) {
2f4c0a16
RD
19595 PyErr_SetString(PyExc_TypeError,"null reference");
19596 SWIG_fail;
d14a1e28
RD
19597 }
19598 {
19599 PyThreadState* __tstate = wxPyBeginAllowThreads();
19600 result = (bool)(arg1)->SendIdleEvents(arg2,*arg3);
19601
19602 wxPyEndAllowThreads(__tstate);
19603 if (PyErr_Occurred()) SWIG_fail;
19604 }
4e760a36 19605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19606 return resultobj;
19607 fail:
19608 return NULL;
19609}
19610
19611
d14a1e28
RD
19612static PyObject *_wrap_PyApp_IsActive(PyObject *self, PyObject *args, PyObject *kwargs) {
19613 PyObject *resultobj;
19614 wxPyApp *arg1 = (wxPyApp *) 0 ;
19615 bool result;
19616 PyObject * obj0 = 0 ;
19617 char *kwnames[] = {
19618 (char *) "self", NULL
19619 };
19620
19621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_IsActive",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19622 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19623 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19624 {
19625 PyThreadState* __tstate = wxPyBeginAllowThreads();
19626 result = (bool)((wxPyApp const *)arg1)->IsActive();
19627
19628 wxPyEndAllowThreads(__tstate);
19629 if (PyErr_Occurred()) SWIG_fail;
19630 }
4e760a36 19631 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19632 return resultobj;
19633 fail:
19634 return NULL;
19635}
19636
19637
19638static PyObject *_wrap_PyApp_SetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19639 PyObject *resultobj;
19640 wxPyApp *arg1 = (wxPyApp *) 0 ;
19641 wxWindow *arg2 = (wxWindow *) 0 ;
19642 PyObject * obj0 = 0 ;
19643 PyObject * obj1 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self",(char *) "win", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetTopWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19649 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19650 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19651 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
19652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19653 {
19654 PyThreadState* __tstate = wxPyBeginAllowThreads();
19655 (arg1)->SetTopWindow(arg2);
19656
19657 wxPyEndAllowThreads(__tstate);
19658 if (PyErr_Occurred()) SWIG_fail;
19659 }
19660 Py_INCREF(Py_None); resultobj = Py_None;
19661 return resultobj;
19662 fail:
19663 return NULL;
19664}
19665
19666
19667static PyObject *_wrap_PyApp_GetTopWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19668 PyObject *resultobj;
19669 wxPyApp *arg1 = (wxPyApp *) 0 ;
19670 wxWindow *result;
19671 PyObject * obj0 = 0 ;
19672 char *kwnames[] = {
19673 (char *) "self", NULL
19674 };
19675
19676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetTopWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19677 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19678 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19679 {
19680 PyThreadState* __tstate = wxPyBeginAllowThreads();
19681 result = (wxWindow *)((wxPyApp const *)arg1)->GetTopWindow();
19682
19683 wxPyEndAllowThreads(__tstate);
19684 if (PyErr_Occurred()) SWIG_fail;
19685 }
19686 {
19687 resultobj = wxPyMake_wxObject(result);
19688 }
19689 return resultobj;
19690 fail:
19691 return NULL;
19692}
19693
19694
19695static PyObject *_wrap_PyApp_SetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
19696 PyObject *resultobj;
19697 wxPyApp *arg1 = (wxPyApp *) 0 ;
19698 bool arg2 ;
19699 PyObject * obj0 = 0 ;
19700 PyObject * obj1 = 0 ;
19701 char *kwnames[] = {
19702 (char *) "self",(char *) "flag", NULL
19703 };
19704
19705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19708 arg2 = (bool) SWIG_AsBool(obj1);
19709 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19710 {
19711 PyThreadState* __tstate = wxPyBeginAllowThreads();
19712 (arg1)->SetExitOnFrameDelete(arg2);
19713
19714 wxPyEndAllowThreads(__tstate);
19715 if (PyErr_Occurred()) SWIG_fail;
19716 }
19717 Py_INCREF(Py_None); resultobj = Py_None;
19718 return resultobj;
19719 fail:
19720 return NULL;
19721}
19722
19723
19724static PyObject *_wrap_PyApp_GetExitOnFrameDelete(PyObject *self, PyObject *args, PyObject *kwargs) {
19725 PyObject *resultobj;
19726 wxPyApp *arg1 = (wxPyApp *) 0 ;
19727 bool result;
19728 PyObject * obj0 = 0 ;
19729 char *kwnames[] = {
19730 (char *) "self", NULL
19731 };
19732
19733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetExitOnFrameDelete",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 = (bool)((wxPyApp const *)arg1)->GetExitOnFrameDelete();
19739
19740 wxPyEndAllowThreads(__tstate);
19741 if (PyErr_Occurred()) SWIG_fail;
19742 }
4e760a36 19743 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19744 return resultobj;
19745 fail:
19746 return NULL;
19747}
19748
19749
19750static PyObject *_wrap_PyApp_SetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
19751 PyObject *resultobj;
19752 wxPyApp *arg1 = (wxPyApp *) 0 ;
19753 bool arg2 ;
19754 PyObject * obj0 = 0 ;
19755 PyObject * obj1 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "self",(char *) "flag", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetUseBestVisual",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19761 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19762 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19763 arg2 = (bool) SWIG_AsBool(obj1);
19764 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19765 {
19766 PyThreadState* __tstate = wxPyBeginAllowThreads();
19767 (arg1)->SetUseBestVisual(arg2);
19768
19769 wxPyEndAllowThreads(__tstate);
19770 if (PyErr_Occurred()) SWIG_fail;
19771 }
19772 Py_INCREF(Py_None); resultobj = Py_None;
19773 return resultobj;
19774 fail:
19775 return NULL;
19776}
19777
19778
19779static PyObject *_wrap_PyApp_GetUseBestVisual(PyObject *self, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj;
19781 wxPyApp *arg1 = (wxPyApp *) 0 ;
19782 bool result;
19783 PyObject * obj0 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetUseBestVisual",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19789 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19791 {
19792 PyThreadState* __tstate = wxPyBeginAllowThreads();
19793 result = (bool)((wxPyApp const *)arg1)->GetUseBestVisual();
19794
19795 wxPyEndAllowThreads(__tstate);
19796 if (PyErr_Occurred()) SWIG_fail;
19797 }
4e760a36 19798 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19799 return resultobj;
19800 fail:
19801 return NULL;
19802}
19803
19804
19805static PyObject *_wrap_PyApp_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
19806 PyObject *resultobj;
19807 wxPyApp *arg1 = (wxPyApp *) 0 ;
19808 int arg2 ;
19809 PyObject * obj0 = 0 ;
8edf1c75 19810 PyObject * obj1 = 0 ;
d14a1e28
RD
19811 char *kwnames[] = {
19812 (char *) "self",(char *) "mode", NULL
19813 };
19814
8edf1c75 19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19816 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19817 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19818 arg2 = (int) SWIG_AsInt(obj1);
19819 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19820 {
19821 PyThreadState* __tstate = wxPyBeginAllowThreads();
19822 (arg1)->SetPrintMode(arg2);
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
19834static PyObject *_wrap_PyApp_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
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_GetPrintMode",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)((wxPyApp const *)arg1)->GetPrintMode();
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
44127b65 19860static PyObject *_wrap_PyApp_SetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19861 PyObject *resultobj;
19862 wxPyApp *arg1 = (wxPyApp *) 0 ;
44127b65 19863 int arg2 ;
d14a1e28 19864 PyObject * obj0 = 0 ;
8edf1c75 19865 PyObject * obj1 = 0 ;
d14a1e28 19866 char *kwnames[] = {
44127b65 19867 (char *) "self",(char *) "mode", NULL
d14a1e28
RD
19868 };
19869
8edf1c75 19870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyApp_SetAssertMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
19871 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19872 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
19873 arg2 = (int) SWIG_AsInt(obj1);
19874 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19877 (arg1)->SetAssertMode(arg2);
d14a1e28
RD
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
44127b65 19882 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
19883 return resultobj;
19884 fail:
19885 return NULL;
19886}
19887
19888
44127b65 19889static PyObject *_wrap_PyApp_GetAssertMode(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
19890 PyObject *resultobj;
19891 wxPyApp *arg1 = (wxPyApp *) 0 ;
44127b65 19892 int result;
d14a1e28
RD
19893 PyObject * obj0 = 0 ;
19894 char *kwnames[] = {
44127b65 19895 (char *) "self", NULL
d14a1e28
RD
19896 };
19897
44127b65 19898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_GetAssertMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
19899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
19900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
19901 {
19902 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 19903 result = (int)(arg1)->GetAssertMode();
d14a1e28
RD
19904
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
2f4c0a16 19908 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
19909 return resultobj;
19910 fail:
19911 return NULL;
19912}
19913
19914
19915static PyObject *_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
19916 PyObject *resultobj;
19917 bool result;
19918 char *kwnames[] = {
19919 NULL
19920 };
19921
19922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames)) goto fail;
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 result = (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19926
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
4e760a36 19930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19931 return resultobj;
19932 fail:
19933 return NULL;
19934}
19935
19936
19937static PyObject *_wrap_PyApp_GetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj;
19939 long result;
19940 char *kwnames[] = {
19941 NULL
19942 };
19943
19944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacAboutMenuItemId",kwnames)) goto fail;
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
19947 result = (long)wxPyApp::GetMacAboutMenuItemId();
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
2f4c0a16 19952 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19953 return resultobj;
19954 fail:
19955 return NULL;
19956}
19957
19958
19959static PyObject *_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19960 PyObject *resultobj;
19961 long result;
19962 char *kwnames[] = {
19963 NULL
19964 };
19965
19966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames)) goto fail;
19967 {
19968 PyThreadState* __tstate = wxPyBeginAllowThreads();
19969 result = (long)wxPyApp::GetMacPreferencesMenuItemId();
19970
19971 wxPyEndAllowThreads(__tstate);
19972 if (PyErr_Occurred()) SWIG_fail;
19973 }
2f4c0a16 19974 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19975 return resultobj;
19976 fail:
19977 return NULL;
19978}
19979
19980
19981static PyObject *_wrap_PyApp_GetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19982 PyObject *resultobj;
19983 long result;
19984 char *kwnames[] = {
19985 NULL
19986 };
19987
19988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacExitMenuItemId",kwnames)) goto fail;
19989 {
19990 PyThreadState* __tstate = wxPyBeginAllowThreads();
19991 result = (long)wxPyApp::GetMacExitMenuItemId();
19992
19993 wxPyEndAllowThreads(__tstate);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
2f4c0a16 19996 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
19997 return resultobj;
19998 fail:
19999 return NULL;
20000}
20001
20002
20003static PyObject *_wrap_PyApp_GetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20004 PyObject *resultobj;
20005 wxString result;
20006 char *kwnames[] = {
20007 NULL
20008 };
20009
20010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames)) goto fail;
20011 {
20012 PyThreadState* __tstate = wxPyBeginAllowThreads();
20013 result = wxPyApp::GetMacHelpMenuTitleName();
20014
20015 wxPyEndAllowThreads(__tstate);
20016 if (PyErr_Occurred()) SWIG_fail;
20017 }
20018 {
20019#if wxUSE_UNICODE
20020 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20021#else
20022 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20023#endif
20024 }
20025 return resultobj;
20026 fail:
20027 return NULL;
20028}
20029
20030
20031static PyObject *_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject *self, PyObject *args, PyObject *kwargs) {
20032 PyObject *resultobj;
20033 bool arg1 ;
20034 PyObject * obj0 = 0 ;
20035 char *kwnames[] = {
20036 (char *) "val", NULL
20037 };
20038
20039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20040 arg1 = (bool) SWIG_AsBool(obj0);
20041 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20042 {
20043 PyThreadState* __tstate = wxPyBeginAllowThreads();
20044 wxPyApp::SetMacSupportPCMenuShortcuts(arg1);
20045
20046 wxPyEndAllowThreads(__tstate);
20047 if (PyErr_Occurred()) SWIG_fail;
20048 }
20049 Py_INCREF(Py_None); resultobj = Py_None;
20050 return resultobj;
20051 fail:
20052 return NULL;
20053}
20054
20055
20056static PyObject *_wrap_PyApp_SetMacAboutMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20057 PyObject *resultobj;
20058 long arg1 ;
8edf1c75 20059 PyObject * obj0 = 0 ;
d14a1e28
RD
20060 char *kwnames[] = {
20061 (char *) "val", NULL
20062 };
20063
8edf1c75 20064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20065 arg1 = (long) SWIG_AsLong(obj0);
20066 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20067 {
20068 PyThreadState* __tstate = wxPyBeginAllowThreads();
20069 wxPyApp::SetMacAboutMenuItemId(arg1);
20070
20071 wxPyEndAllowThreads(__tstate);
20072 if (PyErr_Occurred()) SWIG_fail;
20073 }
20074 Py_INCREF(Py_None); resultobj = Py_None;
20075 return resultobj;
20076 fail:
20077 return NULL;
20078}
20079
20080
20081static PyObject *_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20082 PyObject *resultobj;
20083 long arg1 ;
8edf1c75 20084 PyObject * obj0 = 0 ;
d14a1e28
RD
20085 char *kwnames[] = {
20086 (char *) "val", NULL
20087 };
20088
8edf1c75 20089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20090 arg1 = (long) SWIG_AsLong(obj0);
20091 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20092 {
20093 PyThreadState* __tstate = wxPyBeginAllowThreads();
20094 wxPyApp::SetMacPreferencesMenuItemId(arg1);
20095
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 Py_INCREF(Py_None); resultobj = Py_None;
20100 return resultobj;
20101 fail:
20102 return NULL;
20103}
20104
20105
20106static PyObject *_wrap_PyApp_SetMacExitMenuItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
20107 PyObject *resultobj;
20108 long arg1 ;
8edf1c75 20109 PyObject * obj0 = 0 ;
d14a1e28
RD
20110 char *kwnames[] = {
20111 (char *) "val", NULL
20112 };
20113
8edf1c75 20114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20115 arg1 = (long) SWIG_AsLong(obj0);
20116 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20117 {
20118 PyThreadState* __tstate = wxPyBeginAllowThreads();
20119 wxPyApp::SetMacExitMenuItemId(arg1);
20120
20121 wxPyEndAllowThreads(__tstate);
20122 if (PyErr_Occurred()) SWIG_fail;
20123 }
20124 Py_INCREF(Py_None); resultobj = Py_None;
20125 return resultobj;
20126 fail:
20127 return NULL;
20128}
20129
20130
20131static PyObject *_wrap_PyApp_SetMacHelpMenuTitleName(PyObject *self, PyObject *args, PyObject *kwargs) {
20132 PyObject *resultobj;
20133 wxString *arg1 = 0 ;
423f194a 20134 bool temp1 = False ;
d14a1e28
RD
20135 PyObject * obj0 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "val", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames,&obj0)) goto fail;
20141 {
20142 arg1 = wxString_in_helper(obj0);
20143 if (arg1 == NULL) SWIG_fail;
423f194a 20144 temp1 = True;
d14a1e28
RD
20145 }
20146 {
20147 PyThreadState* __tstate = wxPyBeginAllowThreads();
20148 wxPyApp::SetMacHelpMenuTitleName((wxString const &)*arg1);
20149
20150 wxPyEndAllowThreads(__tstate);
20151 if (PyErr_Occurred()) SWIG_fail;
20152 }
20153 Py_INCREF(Py_None); resultobj = Py_None;
20154 {
20155 if (temp1)
20156 delete arg1;
20157 }
20158 return resultobj;
20159 fail:
20160 {
20161 if (temp1)
20162 delete arg1;
20163 }
20164 return NULL;
20165}
20166
20167
20168static PyObject *_wrap_PyApp__BootstrapApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20169 PyObject *resultobj;
20170 wxPyApp *arg1 = (wxPyApp *) 0 ;
20171 PyObject * obj0 = 0 ;
20172 char *kwnames[] = {
20173 (char *) "self", NULL
20174 };
20175
20176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyApp__BootstrapApp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20177 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyApp,
20178 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20179 {
20180 PyThreadState* __tstate = wxPyBeginAllowThreads();
20181 (arg1)->_BootstrapApp();
20182
20183 wxPyEndAllowThreads(__tstate);
20184 if (PyErr_Occurred()) SWIG_fail;
20185 }
20186 Py_INCREF(Py_None); resultobj = Py_None;
20187 return resultobj;
20188 fail:
20189 return NULL;
20190}
20191
20192
20193static PyObject *_wrap_PyApp_GetComCtl32Version(PyObject *self, PyObject *args, PyObject *kwargs) {
20194 PyObject *resultobj;
20195 int result;
20196 char *kwnames[] = {
20197 NULL
20198 };
20199
20200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":PyApp_GetComCtl32Version",kwnames)) goto fail;
20201 {
20202 PyThreadState* __tstate = wxPyBeginAllowThreads();
20203 result = (int)wxPyApp::GetComCtl32Version();
20204
20205 wxPyEndAllowThreads(__tstate);
20206 if (PyErr_Occurred()) SWIG_fail;
20207 }
2f4c0a16 20208 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
20209 return resultobj;
20210 fail:
20211 return NULL;
20212}
20213
20214
20215static PyObject * PyApp_swigregister(PyObject *self, PyObject *args) {
20216 PyObject *obj;
20217 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20218 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp, obj);
20219 Py_INCREF(obj);
20220 return Py_BuildValue((char *)"");
20221}
20222static PyObject *_wrap_Exit(PyObject *self, PyObject *args, PyObject *kwargs) {
20223 PyObject *resultobj;
20224 char *kwnames[] = {
20225 NULL
20226 };
20227
20228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Exit",kwnames)) goto fail;
20229 {
20230 PyThreadState* __tstate = wxPyBeginAllowThreads();
20231 wxExit();
20232
20233 wxPyEndAllowThreads(__tstate);
20234 if (PyErr_Occurred()) SWIG_fail;
20235 }
20236 Py_INCREF(Py_None); resultobj = Py_None;
20237 return resultobj;
20238 fail:
20239 return NULL;
20240}
20241
20242
20243static PyObject *_wrap_Yield(PyObject *self, PyObject *args, PyObject *kwargs) {
20244 PyObject *resultobj;
20245 bool result;
20246 char *kwnames[] = {
20247 NULL
20248 };
20249
20250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Yield",kwnames)) goto fail;
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 result = (bool)wxYield();
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
4e760a36 20258 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20259 return resultobj;
20260 fail:
20261 return NULL;
20262}
20263
20264
20265static PyObject *_wrap_YieldIfNeeded(PyObject *self, PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj;
20267 bool result;
20268 char *kwnames[] = {
20269 NULL
20270 };
20271
20272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":YieldIfNeeded",kwnames)) goto fail;
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 result = (bool)wxYieldIfNeeded();
20276
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
4e760a36 20280 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20281 return resultobj;
20282 fail:
20283 return NULL;
20284}
20285
20286
20287static PyObject *_wrap_SafeYield(PyObject *self, PyObject *args, PyObject *kwargs) {
20288 PyObject *resultobj;
20289 wxWindow *arg1 = (wxWindow *) NULL ;
423f194a 20290 bool arg2 = (bool) False ;
d14a1e28
RD
20291 bool result;
20292 PyObject * obj0 = 0 ;
20293 PyObject * obj1 = 0 ;
20294 char *kwnames[] = {
20295 (char *) "win",(char *) "onlyIfNeeded", NULL
20296 };
20297
20298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:SafeYield",kwnames,&obj0,&obj1)) goto fail;
20299 if (obj0) {
2f4c0a16
RD
20300 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20301 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
20302 }
20303 if (obj1) {
2f4c0a16
RD
20304 arg2 = (bool) SWIG_AsBool(obj1);
20305 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20306 }
20307 {
20308 PyThreadState* __tstate = wxPyBeginAllowThreads();
20309 result = (bool)wxSafeYield(arg1,arg2);
20310
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
4e760a36 20314 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20315 return resultobj;
20316 fail:
20317 return NULL;
20318}
20319
20320
20321static PyObject *_wrap_WakeUpIdle(PyObject *self, PyObject *args, PyObject *kwargs) {
20322 PyObject *resultobj;
20323 char *kwnames[] = {
20324 NULL
20325 };
20326
20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":WakeUpIdle",kwnames)) goto fail;
20328 {
20329 PyThreadState* __tstate = wxPyBeginAllowThreads();
20330 wxWakeUpIdle();
20331
20332 wxPyEndAllowThreads(__tstate);
20333 if (PyErr_Occurred()) SWIG_fail;
20334 }
20335 Py_INCREF(Py_None); resultobj = Py_None;
20336 return resultobj;
20337 fail:
20338 return NULL;
20339}
20340
20341
20342static PyObject *_wrap_PostEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20343 PyObject *resultobj;
20344 wxEvtHandler *arg1 = (wxEvtHandler *) 0 ;
20345 wxEvent *arg2 = 0 ;
20346 PyObject * obj0 = 0 ;
20347 PyObject * obj1 = 0 ;
20348 char *kwnames[] = {
20349 (char *) "dest",(char *) "event", NULL
20350 };
20351
20352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PostEvent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxEvtHandler,
20354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20355 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvent,
20356 SWIG_POINTER_EXCEPTION | 0)) == -1)
20357 SWIG_fail;
d14a1e28 20358 if (arg2 == NULL) {
2f4c0a16
RD
20359 PyErr_SetString(PyExc_TypeError,"null reference");
20360 SWIG_fail;
d14a1e28
RD
20361 }
20362 {
20363 PyThreadState* __tstate = wxPyBeginAllowThreads();
20364 wxPostEvent(arg1,*arg2);
20365
20366 wxPyEndAllowThreads(__tstate);
20367 if (PyErr_Occurred()) SWIG_fail;
20368 }
20369 Py_INCREF(Py_None); resultobj = Py_None;
20370 return resultobj;
20371 fail:
20372 return NULL;
20373}
20374
20375
20376static PyObject *_wrap_App_CleanUp(PyObject *self, PyObject *args, PyObject *kwargs) {
20377 PyObject *resultobj;
20378 char *kwnames[] = {
20379 NULL
20380 };
20381
20382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":App_CleanUp",kwnames)) goto fail;
20383 {
20384 PyThreadState* __tstate = wxPyBeginAllowThreads();
20385 wxApp_CleanUp();
20386
20387 wxPyEndAllowThreads(__tstate);
20388 if (PyErr_Occurred()) SWIG_fail;
20389 }
20390 Py_INCREF(Py_None); resultobj = Py_None;
20391 return resultobj;
20392 fail:
20393 return NULL;
20394}
20395
20396
20397static PyObject *_wrap_GetApp(PyObject *self, PyObject *args, PyObject *kwargs) {
20398 PyObject *resultobj;
20399 wxPyApp *result;
20400 char *kwnames[] = {
20401 NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":GetApp",kwnames)) goto fail;
20405 {
20406 PyThreadState* __tstate = wxPyBeginAllowThreads();
20407 result = (wxPyApp *)wxGetApp();
20408
20409 wxPyEndAllowThreads(__tstate);
20410 if (PyErr_Occurred()) SWIG_fail;
20411 }
20412 {
20413 resultobj = wxPyMake_wxObject(result);
20414 }
20415 return resultobj;
20416 fail:
20417 return NULL;
20418}
20419
20420
41f1cec7
RD
20421static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20422 PyObject *resultobj;
20423 int arg1 = (int) 0 ;
20424 int arg2 = (int) 0 ;
20425 int arg3 = (int) 0 ;
20426 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
20427 wxAcceleratorEntry *result;
8edf1c75
RD
20428 PyObject * obj0 = 0 ;
20429 PyObject * obj1 = 0 ;
20430 PyObject * obj2 = 0 ;
41f1cec7
RD
20431 PyObject * obj3 = 0 ;
20432 char *kwnames[] = {
20433 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20434 };
20435
8edf1c75
RD
20436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_AcceleratorEntry",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20437 if (obj0) {
2f4c0a16
RD
20438 arg1 = (int) SWIG_AsInt(obj0);
20439 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
20440 }
20441 if (obj1) {
2f4c0a16
RD
20442 arg2 = (int) SWIG_AsInt(obj1);
20443 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
20444 }
20445 if (obj2) {
2f4c0a16
RD
20446 arg3 = (int) SWIG_AsInt(obj2);
20447 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20448 }
41f1cec7 20449 if (obj3) {
2f4c0a16
RD
20450 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenuItem,
20451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20452 }
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
2f4c0a16 20460 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 1);
41f1cec7
RD
20461 return resultobj;
20462 fail:
20463 return NULL;
20464}
20465
20466
20467static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
20468 PyObject *resultobj;
20469 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20470 PyObject * obj0 = 0 ;
20471 char *kwnames[] = {
20472 (char *) "self", NULL
20473 };
20474
20475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20476 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20477 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20478 {
20479 PyThreadState* __tstate = wxPyBeginAllowThreads();
20480 delete arg1;
20481
20482 wxPyEndAllowThreads(__tstate);
20483 if (PyErr_Occurred()) SWIG_fail;
20484 }
20485 Py_INCREF(Py_None); resultobj = Py_None;
20486 return resultobj;
20487 fail:
20488 return NULL;
20489}
20490
20491
20492static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
20493 PyObject *resultobj;
20494 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20495 int arg2 ;
20496 int arg3 ;
20497 int arg4 ;
20498 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
20499 PyObject * obj0 = 0 ;
8edf1c75
RD
20500 PyObject * obj1 = 0 ;
20501 PyObject * obj2 = 0 ;
20502 PyObject * obj3 = 0 ;
41f1cec7
RD
20503 PyObject * obj4 = 0 ;
20504 char *kwnames[] = {
20505 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20506 };
20507
8edf1c75 20508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
20509 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20510 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20511 arg2 = (int) SWIG_AsInt(obj1);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 arg3 = (int) SWIG_AsInt(obj2);
20514 if (PyErr_Occurred()) SWIG_fail;
20515 arg4 = (int) SWIG_AsInt(obj3);
20516 if (PyErr_Occurred()) SWIG_fail;
41f1cec7 20517 if (obj4) {
2f4c0a16
RD
20518 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenuItem,
20519 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20520 }
20521 {
20522 PyThreadState* __tstate = wxPyBeginAllowThreads();
20523 (arg1)->Set(arg2,arg3,arg4,arg5);
20524
20525 wxPyEndAllowThreads(__tstate);
20526 if (PyErr_Occurred()) SWIG_fail;
20527 }
20528 Py_INCREF(Py_None); resultobj = Py_None;
20529 return resultobj;
20530 fail:
20531 return NULL;
20532}
20533
20534
20535static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20536 PyObject *resultobj;
20537 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20538 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
20539 PyObject * obj0 = 0 ;
20540 PyObject * obj1 = 0 ;
20541 char *kwnames[] = {
20542 (char *) "self",(char *) "item", NULL
20543 };
20544
20545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
20546 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20547 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20548 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
20549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20550 {
20551 PyThreadState* __tstate = wxPyBeginAllowThreads();
20552 (arg1)->SetMenuItem(arg2);
20553
20554 wxPyEndAllowThreads(__tstate);
20555 if (PyErr_Occurred()) SWIG_fail;
20556 }
20557 Py_INCREF(Py_None); resultobj = Py_None;
20558 return resultobj;
20559 fail:
20560 return NULL;
20561}
20562
20563
20564static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20565 PyObject *resultobj;
20566 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20567 wxMenuItem *result;
20568 PyObject * obj0 = 0 ;
20569 char *kwnames[] = {
20570 (char *) "self", NULL
20571 };
20572
20573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20576 {
20577 PyThreadState* __tstate = wxPyBeginAllowThreads();
20578 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
20579
20580 wxPyEndAllowThreads(__tstate);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
20583 {
20584 resultobj = wxPyMake_wxObject(result);
20585 }
20586 return resultobj;
20587 fail:
20588 return NULL;
20589}
20590
20591
20592static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
20593 PyObject *resultobj;
20594 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20595 int result;
20596 PyObject * obj0 = 0 ;
20597 char *kwnames[] = {
20598 (char *) "self", NULL
20599 };
20600
20601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20602 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20603 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20604 {
20605 PyThreadState* __tstate = wxPyBeginAllowThreads();
20606 result = (int)(arg1)->GetFlags();
20607
20608 wxPyEndAllowThreads(__tstate);
20609 if (PyErr_Occurred()) SWIG_fail;
20610 }
2f4c0a16 20611 resultobj = SWIG_FromInt((int)result);
41f1cec7
RD
20612 return resultobj;
20613 fail:
20614 return NULL;
20615}
20616
20617
20618static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20619 PyObject *resultobj;
20620 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20621 int result;
20622 PyObject * obj0 = 0 ;
20623 char *kwnames[] = {
20624 (char *) "self", NULL
20625 };
20626
20627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20628 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20629 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20630 {
20631 PyThreadState* __tstate = wxPyBeginAllowThreads();
20632 result = (int)(arg1)->GetKeyCode();
20633
20634 wxPyEndAllowThreads(__tstate);
20635 if (PyErr_Occurred()) SWIG_fail;
20636 }
2f4c0a16 20637 resultobj = SWIG_FromInt((int)result);
41f1cec7
RD
20638 return resultobj;
20639 fail:
20640 return NULL;
20641}
20642
20643
20644static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
20645 PyObject *resultobj;
20646 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
20647 int result;
20648 PyObject * obj0 = 0 ;
20649 char *kwnames[] = {
20650 (char *) "self", NULL
20651 };
20652
20653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20654 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorEntry,
20655 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20656 {
20657 PyThreadState* __tstate = wxPyBeginAllowThreads();
20658 result = (int)(arg1)->GetCommand();
20659
20660 wxPyEndAllowThreads(__tstate);
20661 if (PyErr_Occurred()) SWIG_fail;
20662 }
2f4c0a16 20663 resultobj = SWIG_FromInt((int)result);
41f1cec7
RD
20664 return resultobj;
20665 fail:
20666 return NULL;
20667}
20668
20669
20670static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
20671 PyObject *obj;
20672 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20673 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
20674 Py_INCREF(obj);
20675 return Py_BuildValue((char *)"");
20676}
20677static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
20678 PyObject *resultobj;
20679 int arg1 ;
20680 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
20681 wxAcceleratorTable *result;
20682 PyObject * obj0 = 0 ;
20683 char *kwnames[] = {
20684 (char *) "n", NULL
20685 };
20686
20687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
20688 {
20689 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
20690 if (arg2) arg1 = PyList_Size(obj0);
20691 else arg1 = 0;
20692 }
20693 {
20694 PyThreadState* __tstate = wxPyBeginAllowThreads();
20695 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
20696
20697 wxPyEndAllowThreads(__tstate);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 }
2f4c0a16 20700 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 1);
41f1cec7
RD
20701 {
20702 delete [] arg2;
20703 }
20704 return resultobj;
20705 fail:
20706 {
20707 delete [] arg2;
20708 }
20709 return NULL;
20710}
20711
20712
20713static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
20714 PyObject *resultobj;
20715 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
20716 PyObject * obj0 = 0 ;
20717 char *kwnames[] = {
20718 (char *) "self", NULL
20719 };
20720
20721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20722 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
20723 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20724 {
20725 PyThreadState* __tstate = wxPyBeginAllowThreads();
20726 delete arg1;
20727
20728 wxPyEndAllowThreads(__tstate);
20729 if (PyErr_Occurred()) SWIG_fail;
20730 }
20731 Py_INCREF(Py_None); resultobj = Py_None;
20732 return resultobj;
20733 fail:
20734 return NULL;
20735}
20736
20737
20738static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20739 PyObject *resultobj;
20740 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
20741 bool result;
20742 PyObject * obj0 = 0 ;
20743 char *kwnames[] = {
20744 (char *) "self", NULL
20745 };
20746
20747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
2f4c0a16
RD
20748 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxAcceleratorTable,
20749 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
41f1cec7
RD
20750 {
20751 PyThreadState* __tstate = wxPyBeginAllowThreads();
20752 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
20753
20754 wxPyEndAllowThreads(__tstate);
20755 if (PyErr_Occurred()) SWIG_fail;
20756 }
4e760a36 20757 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
41f1cec7
RD
20758 return resultobj;
20759 fail:
20760 return NULL;
20761}
20762
20763
20764static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
20765 PyObject *obj;
20766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20767 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
20768 Py_INCREF(obj);
20769 return Py_BuildValue((char *)"");
20770}
2f4c0a16 20771static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
41f1cec7
RD
20772 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
20773 return 1;
20774}
20775
20776
20777static PyObject *_wrap_NullAcceleratorTable_get() {
20778 PyObject *pyobj;
20779
2f4c0a16 20780 pyobj = SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable), SWIGTYPE_p_wxAcceleratorTable, 0);
41f1cec7
RD
20781 return pyobj;
20782}
20783
20784
20785static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
20786 PyObject *resultobj;
20787 wxString *arg1 = 0 ;
20788 wxAcceleratorEntry *result;
20789 bool temp1 = False ;
20790 PyObject * obj0 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "label", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
20796 {
20797 arg1 = wxString_in_helper(obj0);
20798 if (arg1 == NULL) SWIG_fail;
20799 temp1 = True;
20800 }
20801 {
20802 PyThreadState* __tstate = wxPyBeginAllowThreads();
20803 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
20804
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
2f4c0a16 20808 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
41f1cec7
RD
20809 {
20810 if (temp1)
20811 delete arg1;
20812 }
20813 return resultobj;
20814 fail:
20815 {
20816 if (temp1)
20817 delete arg1;
20818 }
20819 return NULL;
20820}
20821
20822
2f4c0a16 20823static int _wrap_PanelNameStr_set(PyObject *_val) {
423f194a
RD
20824 PyErr_SetString(PyExc_TypeError,"Variable PanelNameStr is read-only.");
20825 return 1;
20826}
20827
20828
20829static PyObject *_wrap_PanelNameStr_get() {
20830 PyObject *pyobj;
20831
20832 {
20833#if wxUSE_UNICODE
20834 pyobj = PyUnicode_FromWideChar((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
20835#else
20836 pyobj = PyString_FromStringAndSize((&wxPyPanelNameStr)->c_str(), (&wxPyPanelNameStr)->Len());
20837#endif
20838 }
20839 return pyobj;
20840}
20841
20842
d14a1e28
RD
20843static PyObject *_wrap_new_Window(PyObject *self, PyObject *args, PyObject *kwargs) {
20844 PyObject *resultobj;
20845 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 20846 int arg2 ;
d14a1e28
RD
20847 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20848 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20849 wxSize const &arg4_defvalue = wxDefaultSize ;
20850 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20851 long arg5 = (long) 0 ;
20852 wxString const &arg6_defvalue = wxPyPanelNameStr ;
20853 wxString *arg6 = (wxString *) &arg6_defvalue ;
20854 wxWindow *result;
20855 wxPoint temp3 ;
20856 wxSize temp4 ;
423f194a 20857 bool temp6 = False ;
d14a1e28 20858 PyObject * obj0 = 0 ;
8edf1c75 20859 PyObject * obj1 = 0 ;
d14a1e28
RD
20860 PyObject * obj2 = 0 ;
20861 PyObject * obj3 = 0 ;
8edf1c75 20862 PyObject * obj4 = 0 ;
d14a1e28
RD
20863 PyObject * obj5 = 0 ;
20864 char *kwnames[] = {
20865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20866 };
20867
8edf1c75 20868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_Window",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
20869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20871 arg2 = (int const) SWIG_AsInt(obj1);
20872 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20873 if (obj2) {
20874 {
20875 arg3 = &temp3;
20876 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20877 }
20878 }
20879 if (obj3) {
20880 {
20881 arg4 = &temp4;
20882 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20883 }
20884 }
8edf1c75 20885 if (obj4) {
2f4c0a16
RD
20886 arg5 = (long) SWIG_AsLong(obj4);
20887 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20888 }
d14a1e28
RD
20889 if (obj5) {
20890 {
20891 arg6 = wxString_in_helper(obj5);
20892 if (arg6 == NULL) SWIG_fail;
423f194a 20893 temp6 = True;
d14a1e28
RD
20894 }
20895 }
20896 {
20897 PyThreadState* __tstate = wxPyBeginAllowThreads();
20898 result = (wxWindow *)new wxWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20899
20900 wxPyEndAllowThreads(__tstate);
20901 if (PyErr_Occurred()) SWIG_fail;
20902 }
20903 {
20904 resultobj = wxPyMake_wxObject(result);
20905 }
20906 {
20907 if (temp6)
20908 delete arg6;
20909 }
20910 return resultobj;
20911 fail:
20912 {
20913 if (temp6)
20914 delete arg6;
20915 }
20916 return NULL;
20917}
20918
20919
20920static PyObject *_wrap_new_PreWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
20921 PyObject *resultobj;
20922 wxWindow *result;
20923 char *kwnames[] = {
20924 NULL
20925 };
20926
20927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreWindow",kwnames)) goto fail;
20928 {
20929 PyThreadState* __tstate = wxPyBeginAllowThreads();
20930 result = (wxWindow *)new wxWindow();
20931
20932 wxPyEndAllowThreads(__tstate);
20933 if (PyErr_Occurred()) SWIG_fail;
20934 }
20935 {
20936 resultobj = wxPyMake_wxObject(result);
20937 }
20938 return resultobj;
20939 fail:
20940 return NULL;
20941}
20942
20943
20944static PyObject *_wrap_Window_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20945 PyObject *resultobj;
20946 wxWindow *arg1 = (wxWindow *) 0 ;
20947 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 20948 int arg3 ;
d14a1e28
RD
20949 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20950 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20951 wxSize const &arg5_defvalue = wxDefaultSize ;
20952 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20953 long arg6 = (long) 0 ;
20954 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20955 wxString *arg7 = (wxString *) &arg7_defvalue ;
20956 bool result;
20957 wxPoint temp4 ;
20958 wxSize temp5 ;
423f194a 20959 bool temp7 = False ;
d14a1e28
RD
20960 PyObject * obj0 = 0 ;
20961 PyObject * obj1 = 0 ;
8edf1c75 20962 PyObject * obj2 = 0 ;
d14a1e28
RD
20963 PyObject * obj3 = 0 ;
20964 PyObject * obj4 = 0 ;
8edf1c75 20965 PyObject * obj5 = 0 ;
d14a1e28
RD
20966 PyObject * obj6 = 0 ;
20967 char *kwnames[] = {
20968 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20969 };
20970
8edf1c75 20971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
20972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
20973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
20975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
20976 arg3 = (int const) SWIG_AsInt(obj2);
20977 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
20978 if (obj3) {
20979 {
20980 arg4 = &temp4;
20981 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20982 }
20983 }
20984 if (obj4) {
20985 {
20986 arg5 = &temp5;
20987 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20988 }
20989 }
8edf1c75 20990 if (obj5) {
2f4c0a16
RD
20991 arg6 = (long) SWIG_AsLong(obj5);
20992 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 20993 }
d14a1e28
RD
20994 if (obj6) {
20995 {
20996 arg7 = wxString_in_helper(obj6);
20997 if (arg7 == NULL) SWIG_fail;
423f194a 20998 temp7 = True;
d14a1e28
RD
20999 }
21000 }
21001 {
21002 PyThreadState* __tstate = wxPyBeginAllowThreads();
21003 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21004
21005 wxPyEndAllowThreads(__tstate);
21006 if (PyErr_Occurred()) SWIG_fail;
21007 }
4e760a36 21008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21009 {
21010 if (temp7)
21011 delete arg7;
21012 }
21013 return resultobj;
21014 fail:
21015 {
21016 if (temp7)
21017 delete arg7;
21018 }
21019 return NULL;
21020}
21021
21022
21023static PyObject *_wrap_Window_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
21024 PyObject *resultobj;
21025 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21026 bool arg2 = (bool) False ;
d14a1e28
RD
21027 bool result;
21028 PyObject * obj0 = 0 ;
21029 PyObject * obj1 = 0 ;
21030 char *kwnames[] = {
21031 (char *) "self",(char *) "force", NULL
21032 };
21033
21034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Close",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 21037 if (obj1) {
2f4c0a16
RD
21038 arg2 = (bool) SWIG_AsBool(obj1);
21039 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21040 }
21041 {
21042 PyThreadState* __tstate = wxPyBeginAllowThreads();
21043 result = (bool)(arg1)->Close(arg2);
21044
21045 wxPyEndAllowThreads(__tstate);
21046 if (PyErr_Occurred()) SWIG_fail;
21047 }
4e760a36 21048 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21049 return resultobj;
21050 fail:
21051 return NULL;
21052}
21053
21054
21055static PyObject *_wrap_Window_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
21056 PyObject *resultobj;
21057 wxWindow *arg1 = (wxWindow *) 0 ;
21058 bool result;
21059 PyObject * obj0 = 0 ;
21060 char *kwnames[] = {
21061 (char *) "self", NULL
21062 };
21063
21064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21065 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21066 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 result = (bool)(arg1)->Destroy();
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
4e760a36 21074 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21075 return resultobj;
21076 fail:
21077 return NULL;
21078}
21079
21080
21081static PyObject *_wrap_Window_DestroyChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21082 PyObject *resultobj;
21083 wxWindow *arg1 = (wxWindow *) 0 ;
21084 bool result;
21085 PyObject * obj0 = 0 ;
21086 char *kwnames[] = {
21087 (char *) "self", NULL
21088 };
21089
21090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_DestroyChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21091 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21092 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21093 {
21094 PyThreadState* __tstate = wxPyBeginAllowThreads();
21095 result = (bool)(arg1)->DestroyChildren();
21096
21097 wxPyEndAllowThreads(__tstate);
21098 if (PyErr_Occurred()) SWIG_fail;
21099 }
4e760a36 21100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21101 return resultobj;
21102 fail:
21103 return NULL;
21104}
21105
21106
21107static PyObject *_wrap_Window_IsBeingDeleted(PyObject *self, PyObject *args, PyObject *kwargs) {
21108 PyObject *resultobj;
21109 wxWindow *arg1 = (wxWindow *) 0 ;
21110 bool result;
21111 PyObject * obj0 = 0 ;
21112 char *kwnames[] = {
21113 (char *) "self", NULL
21114 };
21115
21116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsBeingDeleted",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21117 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21118 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21119 {
21120 PyThreadState* __tstate = wxPyBeginAllowThreads();
21121 result = (bool)((wxWindow const *)arg1)->IsBeingDeleted();
21122
21123 wxPyEndAllowThreads(__tstate);
21124 if (PyErr_Occurred()) SWIG_fail;
21125 }
4e760a36 21126 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21127 return resultobj;
21128 fail:
21129 return NULL;
21130}
21131
21132
21133static PyObject *_wrap_Window_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21134 PyObject *resultobj;
21135 wxWindow *arg1 = (wxWindow *) 0 ;
21136 wxString *arg2 = 0 ;
423f194a 21137 bool temp2 = False ;
d14a1e28
RD
21138 PyObject * obj0 = 0 ;
21139 PyObject * obj1 = 0 ;
21140 char *kwnames[] = {
21141 (char *) "self",(char *) "title", NULL
21142 };
21143
21144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21145 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21146 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21147 {
21148 arg2 = wxString_in_helper(obj1);
21149 if (arg2 == NULL) SWIG_fail;
423f194a 21150 temp2 = True;
d14a1e28
RD
21151 }
21152 {
21153 PyThreadState* __tstate = wxPyBeginAllowThreads();
21154 (arg1)->SetTitle((wxString const &)*arg2);
21155
21156 wxPyEndAllowThreads(__tstate);
21157 if (PyErr_Occurred()) SWIG_fail;
21158 }
21159 Py_INCREF(Py_None); resultobj = Py_None;
21160 {
21161 if (temp2)
21162 delete arg2;
21163 }
21164 return resultobj;
21165 fail:
21166 {
21167 if (temp2)
21168 delete arg2;
21169 }
21170 return NULL;
21171}
21172
21173
21174static PyObject *_wrap_Window_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
21175 PyObject *resultobj;
21176 wxWindow *arg1 = (wxWindow *) 0 ;
21177 wxString result;
21178 PyObject * obj0 = 0 ;
21179 char *kwnames[] = {
21180 (char *) "self", NULL
21181 };
21182
21183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetTitle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21184 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21185 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21186 {
21187 PyThreadState* __tstate = wxPyBeginAllowThreads();
21188 result = ((wxWindow const *)arg1)->GetTitle();
21189
21190 wxPyEndAllowThreads(__tstate);
21191 if (PyErr_Occurred()) SWIG_fail;
21192 }
21193 {
21194#if wxUSE_UNICODE
21195 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21196#else
21197 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21198#endif
21199 }
21200 return resultobj;
21201 fail:
21202 return NULL;
21203}
21204
21205
21206static PyObject *_wrap_Window_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21207 PyObject *resultobj;
21208 wxWindow *arg1 = (wxWindow *) 0 ;
21209 wxString *arg2 = 0 ;
423f194a 21210 bool temp2 = False ;
d14a1e28
RD
21211 PyObject * obj0 = 0 ;
21212 PyObject * obj1 = 0 ;
21213 char *kwnames[] = {
21214 (char *) "self",(char *) "label", NULL
21215 };
21216
21217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21220 {
21221 arg2 = wxString_in_helper(obj1);
21222 if (arg2 == NULL) SWIG_fail;
423f194a 21223 temp2 = True;
d14a1e28
RD
21224 }
21225 {
21226 PyThreadState* __tstate = wxPyBeginAllowThreads();
21227 (arg1)->SetLabel((wxString const &)*arg2);
21228
21229 wxPyEndAllowThreads(__tstate);
21230 if (PyErr_Occurred()) SWIG_fail;
21231 }
21232 Py_INCREF(Py_None); resultobj = Py_None;
21233 {
21234 if (temp2)
21235 delete arg2;
21236 }
21237 return resultobj;
21238 fail:
21239 {
21240 if (temp2)
21241 delete arg2;
21242 }
21243 return NULL;
21244}
21245
21246
21247static PyObject *_wrap_Window_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
21248 PyObject *resultobj;
21249 wxWindow *arg1 = (wxWindow *) 0 ;
21250 wxString result;
21251 PyObject * obj0 = 0 ;
21252 char *kwnames[] = {
21253 (char *) "self", NULL
21254 };
21255
21256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21259 {
21260 PyThreadState* __tstate = wxPyBeginAllowThreads();
21261 result = ((wxWindow const *)arg1)->GetLabel();
21262
21263 wxPyEndAllowThreads(__tstate);
21264 if (PyErr_Occurred()) SWIG_fail;
21265 }
21266 {
21267#if wxUSE_UNICODE
21268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21269#else
21270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21271#endif
21272 }
21273 return resultobj;
21274 fail:
21275 return NULL;
21276}
21277
21278
21279static PyObject *_wrap_Window_SetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21280 PyObject *resultobj;
21281 wxWindow *arg1 = (wxWindow *) 0 ;
21282 wxString *arg2 = 0 ;
423f194a 21283 bool temp2 = False ;
d14a1e28
RD
21284 PyObject * obj0 = 0 ;
21285 PyObject * obj1 = 0 ;
21286 char *kwnames[] = {
21287 (char *) "self",(char *) "name", NULL
21288 };
21289
21290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21291 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21292 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21293 {
21294 arg2 = wxString_in_helper(obj1);
21295 if (arg2 == NULL) SWIG_fail;
423f194a 21296 temp2 = True;
d14a1e28
RD
21297 }
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
21300 (arg1)->SetName((wxString const &)*arg2);
21301
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 Py_INCREF(Py_None); resultobj = Py_None;
21306 {
21307 if (temp2)
21308 delete arg2;
21309 }
21310 return resultobj;
21311 fail:
21312 {
21313 if (temp2)
21314 delete arg2;
21315 }
21316 return NULL;
21317}
21318
21319
21320static PyObject *_wrap_Window_GetName(PyObject *self, PyObject *args, PyObject *kwargs) {
21321 PyObject *resultobj;
21322 wxWindow *arg1 = (wxWindow *) 0 ;
21323 wxString result;
21324 PyObject * obj0 = 0 ;
21325 char *kwnames[] = {
21326 (char *) "self", NULL
21327 };
21328
21329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetName",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21330 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21331 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21332 {
21333 PyThreadState* __tstate = wxPyBeginAllowThreads();
21334 result = ((wxWindow const *)arg1)->GetName();
21335
21336 wxPyEndAllowThreads(__tstate);
21337 if (PyErr_Occurred()) SWIG_fail;
21338 }
21339 {
21340#if wxUSE_UNICODE
21341 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21342#else
21343 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21344#endif
21345 }
21346 return resultobj;
21347 fail:
21348 return NULL;
21349}
21350
21351
fe763115
RD
21352static PyObject *_wrap_Window_SetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21353 PyObject *resultobj;
21354 wxWindow *arg1 = (wxWindow *) 0 ;
21355 int arg2 ;
21356 PyObject * obj0 = 0 ;
21357 PyObject * obj1 = 0 ;
21358 char *kwnames[] = {
21359 (char *) "self",(char *) "variant", NULL
21360 };
21361
21362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowVariant",kwnames,&obj0,&obj1)) goto fail;
21363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21365 arg2 = (wxWindowVariant) SWIG_AsInt(obj1);
21366 if (PyErr_Occurred()) SWIG_fail;
21367 {
21368 PyThreadState* __tstate = wxPyBeginAllowThreads();
21369 (arg1)->SetWindowVariant((wxWindowVariant )arg2);
21370
21371 wxPyEndAllowThreads(__tstate);
21372 if (PyErr_Occurred()) SWIG_fail;
21373 }
21374 Py_INCREF(Py_None); resultobj = Py_None;
21375 return resultobj;
21376 fail:
21377 return NULL;
21378}
21379
21380
21381static PyObject *_wrap_Window_GetWindowVariant(PyObject *self, PyObject *args, PyObject *kwargs) {
21382 PyObject *resultobj;
21383 wxWindow *arg1 = (wxWindow *) 0 ;
21384 int result;
21385 PyObject * obj0 = 0 ;
21386 char *kwnames[] = {
21387 (char *) "self", NULL
21388 };
21389
21390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowVariant",kwnames,&obj0)) goto fail;
21391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21393 {
21394 PyThreadState* __tstate = wxPyBeginAllowThreads();
21395 result = (int)((wxWindow const *)arg1)->GetWindowVariant();
21396
21397 wxPyEndAllowThreads(__tstate);
21398 if (PyErr_Occurred()) SWIG_fail;
21399 }
21400 resultobj = SWIG_FromInt((int)result);
21401 return resultobj;
21402 fail:
21403 return NULL;
21404}
21405
21406
d14a1e28
RD
21407static PyObject *_wrap_Window_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21408 PyObject *resultobj;
21409 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21410 int arg2 ;
d14a1e28 21411 PyObject * obj0 = 0 ;
8edf1c75 21412 PyObject * obj1 = 0 ;
d14a1e28
RD
21413 char *kwnames[] = {
21414 (char *) "self",(char *) "winid", NULL
21415 };
21416
8edf1c75 21417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21418 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21419 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21420 arg2 = (int) SWIG_AsInt(obj1);
21421 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21422 {
21423 PyThreadState* __tstate = wxPyBeginAllowThreads();
21424 (arg1)->SetId(arg2);
21425
21426 wxPyEndAllowThreads(__tstate);
21427 if (PyErr_Occurred()) SWIG_fail;
21428 }
21429 Py_INCREF(Py_None); resultobj = Py_None;
21430 return resultobj;
21431 fail:
21432 return NULL;
21433}
21434
21435
21436static PyObject *_wrap_Window_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
21437 PyObject *resultobj;
21438 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 21439 int result;
d14a1e28
RD
21440 PyObject * obj0 = 0 ;
21441 char *kwnames[] = {
21442 (char *) "self", NULL
21443 };
21444
21445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21446 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21447 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 21450 result = (int)((wxWindow const *)arg1)->GetId();
d14a1e28
RD
21451
21452 wxPyEndAllowThreads(__tstate);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 }
2f4c0a16 21455 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21456 return resultobj;
21457 fail:
21458 return NULL;
21459}
21460
21461
21462static PyObject *_wrap_Window_NewControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21463 PyObject *resultobj;
21464 int result;
21465 char *kwnames[] = {
21466 NULL
21467 };
21468
21469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_NewControlId",kwnames)) goto fail;
21470 {
21471 PyThreadState* __tstate = wxPyBeginAllowThreads();
21472 result = (int)wxWindow::NewControlId();
21473
21474 wxPyEndAllowThreads(__tstate);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 }
2f4c0a16 21477 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21478 return resultobj;
21479 fail:
21480 return NULL;
21481}
21482
21483
21484static PyObject *_wrap_Window_NextControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21485 PyObject *resultobj;
21486 int arg1 ;
21487 int result;
8edf1c75 21488 PyObject * obj0 = 0 ;
d14a1e28
RD
21489 char *kwnames[] = {
21490 (char *) "winid", NULL
21491 };
21492
8edf1c75 21493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_NextControlId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21494 arg1 = (int) SWIG_AsInt(obj0);
21495 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21496 {
21497 PyThreadState* __tstate = wxPyBeginAllowThreads();
21498 result = (int)wxWindow::NextControlId(arg1);
21499
21500 wxPyEndAllowThreads(__tstate);
21501 if (PyErr_Occurred()) SWIG_fail;
21502 }
2f4c0a16 21503 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21504 return resultobj;
21505 fail:
21506 return NULL;
21507}
21508
21509
21510static PyObject *_wrap_Window_PrevControlId(PyObject *self, PyObject *args, PyObject *kwargs) {
21511 PyObject *resultobj;
21512 int arg1 ;
21513 int result;
8edf1c75 21514 PyObject * obj0 = 0 ;
d14a1e28
RD
21515 char *kwnames[] = {
21516 (char *) "winid", NULL
21517 };
21518
8edf1c75 21519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PrevControlId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21520 arg1 = (int) SWIG_AsInt(obj0);
21521 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21522 {
21523 PyThreadState* __tstate = wxPyBeginAllowThreads();
21524 result = (int)wxWindow::PrevControlId(arg1);
21525
21526 wxPyEndAllowThreads(__tstate);
21527 if (PyErr_Occurred()) SWIG_fail;
21528 }
2f4c0a16 21529 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
21530 return resultobj;
21531 fail:
21532 return NULL;
21533}
21534
21535
21536static PyObject *_wrap_Window_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21537 PyObject *resultobj;
21538 wxWindow *arg1 = (wxWindow *) 0 ;
21539 wxSize *arg2 = 0 ;
21540 wxSize temp2 ;
21541 PyObject * obj0 = 0 ;
21542 PyObject * obj1 = 0 ;
21543 char *kwnames[] = {
21544 (char *) "self",(char *) "size", NULL
21545 };
21546
21547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21550 {
21551 arg2 = &temp2;
21552 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21553 }
21554 {
21555 PyThreadState* __tstate = wxPyBeginAllowThreads();
21556 (arg1)->SetSize((wxSize const &)*arg2);
21557
21558 wxPyEndAllowThreads(__tstate);
21559 if (PyErr_Occurred()) SWIG_fail;
21560 }
21561 Py_INCREF(Py_None); resultobj = Py_None;
21562 return resultobj;
21563 fail:
21564 return NULL;
21565}
21566
21567
21568static PyObject *_wrap_Window_SetDimensions(PyObject *self, PyObject *args, PyObject *kwargs) {
21569 PyObject *resultobj;
21570 wxWindow *arg1 = (wxWindow *) 0 ;
21571 int arg2 ;
21572 int arg3 ;
21573 int arg4 ;
21574 int arg5 ;
21575 int arg6 = (int) wxSIZE_AUTO ;
21576 PyObject * obj0 = 0 ;
8edf1c75
RD
21577 PyObject * obj1 = 0 ;
21578 PyObject * obj2 = 0 ;
21579 PyObject * obj3 = 0 ;
21580 PyObject * obj4 = 0 ;
21581 PyObject * obj5 = 0 ;
d14a1e28
RD
21582 char *kwnames[] = {
21583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21584 };
21585
8edf1c75 21586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetDimensions",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
21587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21589 arg2 = (int) SWIG_AsInt(obj1);
21590 if (PyErr_Occurred()) SWIG_fail;
21591 arg3 = (int) SWIG_AsInt(obj2);
21592 if (PyErr_Occurred()) SWIG_fail;
21593 arg4 = (int) SWIG_AsInt(obj3);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 arg5 = (int) SWIG_AsInt(obj4);
21596 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21597 if (obj5) {
2f4c0a16
RD
21598 arg6 = (int) SWIG_AsInt(obj5);
21599 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21600 }
d14a1e28
RD
21601 {
21602 PyThreadState* __tstate = wxPyBeginAllowThreads();
21603 (arg1)->SetSize(arg2,arg3,arg4,arg5,arg6);
21604
21605 wxPyEndAllowThreads(__tstate);
21606 if (PyErr_Occurred()) SWIG_fail;
21607 }
21608 Py_INCREF(Py_None); resultobj = Py_None;
21609 return resultobj;
21610 fail:
21611 return NULL;
21612}
21613
21614
21615static PyObject *_wrap_Window_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21616 PyObject *resultobj;
21617 wxWindow *arg1 = (wxWindow *) 0 ;
21618 wxRect *arg2 = 0 ;
21619 int arg3 = (int) wxSIZE_AUTO ;
21620 wxRect temp2 ;
21621 PyObject * obj0 = 0 ;
21622 PyObject * obj1 = 0 ;
8edf1c75 21623 PyObject * obj2 = 0 ;
d14a1e28
RD
21624 char *kwnames[] = {
21625 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21626 };
21627
8edf1c75 21628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21631 {
21632 arg2 = &temp2;
21633 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21634 }
8edf1c75 21635 if (obj2) {
2f4c0a16
RD
21636 arg3 = (int) SWIG_AsInt(obj2);
21637 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21638 }
d14a1e28
RD
21639 {
21640 PyThreadState* __tstate = wxPyBeginAllowThreads();
21641 (arg1)->SetSize((wxRect const &)*arg2,arg3);
21642
21643 wxPyEndAllowThreads(__tstate);
21644 if (PyErr_Occurred()) SWIG_fail;
21645 }
21646 Py_INCREF(Py_None); resultobj = Py_None;
21647 return resultobj;
21648 fail:
21649 return NULL;
21650}
21651
21652
21653static PyObject *_wrap_Window_SetSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
21654 PyObject *resultobj;
21655 wxWindow *arg1 = (wxWindow *) 0 ;
21656 int arg2 ;
21657 int arg3 ;
21658 PyObject * obj0 = 0 ;
8edf1c75
RD
21659 PyObject * obj1 = 0 ;
21660 PyObject * obj2 = 0 ;
d14a1e28
RD
21661 char *kwnames[] = {
21662 (char *) "self",(char *) "width",(char *) "height", NULL
21663 };
21664
8edf1c75 21665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21668 arg2 = (int) SWIG_AsInt(obj1);
21669 if (PyErr_Occurred()) SWIG_fail;
21670 arg3 = (int) SWIG_AsInt(obj2);
21671 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21672 {
21673 PyThreadState* __tstate = wxPyBeginAllowThreads();
21674 (arg1)->SetSize(arg2,arg3);
21675
21676 wxPyEndAllowThreads(__tstate);
21677 if (PyErr_Occurred()) SWIG_fail;
21678 }
21679 Py_INCREF(Py_None); resultobj = Py_None;
21680 return resultobj;
21681 fail:
21682 return NULL;
21683}
21684
21685
21686static PyObject *_wrap_Window_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
21687 PyObject *resultobj;
21688 wxWindow *arg1 = (wxWindow *) 0 ;
21689 wxPoint *arg2 = 0 ;
21690 int arg3 = (int) wxSIZE_USE_EXISTING ;
21691 wxPoint temp2 ;
21692 PyObject * obj0 = 0 ;
21693 PyObject * obj1 = 0 ;
8edf1c75 21694 PyObject * obj2 = 0 ;
d14a1e28
RD
21695 char *kwnames[] = {
21696 (char *) "self",(char *) "pt",(char *) "flags", NULL
21697 };
21698
8edf1c75 21699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_Move",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21700 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21701 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21702 {
21703 arg2 = &temp2;
21704 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
21705 }
8edf1c75 21706 if (obj2) {
2f4c0a16
RD
21707 arg3 = (int) SWIG_AsInt(obj2);
21708 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21709 }
d14a1e28
RD
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 (arg1)->Move((wxPoint const &)*arg2,arg3);
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 Py_INCREF(Py_None); resultobj = Py_None;
21718 return resultobj;
21719 fail:
21720 return NULL;
21721}
21722
21723
21724static PyObject *_wrap_Window_MoveXY(PyObject *self, PyObject *args, PyObject *kwargs) {
21725 PyObject *resultobj;
21726 wxWindow *arg1 = (wxWindow *) 0 ;
21727 int arg2 ;
21728 int arg3 ;
21729 int arg4 = (int) wxSIZE_USE_EXISTING ;
21730 PyObject * obj0 = 0 ;
8edf1c75
RD
21731 PyObject * obj1 = 0 ;
21732 PyObject * obj2 = 0 ;
21733 PyObject * obj3 = 0 ;
d14a1e28
RD
21734 char *kwnames[] = {
21735 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21736 };
21737
8edf1c75 21738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_MoveXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
21739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21741 arg2 = (int) SWIG_AsInt(obj1);
21742 if (PyErr_Occurred()) SWIG_fail;
21743 arg3 = (int) SWIG_AsInt(obj2);
21744 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21745 if (obj3) {
2f4c0a16
RD
21746 arg4 = (int) SWIG_AsInt(obj3);
21747 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 21748 }
d14a1e28
RD
21749 {
21750 PyThreadState* __tstate = wxPyBeginAllowThreads();
21751 (arg1)->Move(arg2,arg3,arg4);
21752
21753 wxPyEndAllowThreads(__tstate);
21754 if (PyErr_Occurred()) SWIG_fail;
21755 }
21756 Py_INCREF(Py_None); resultobj = Py_None;
21757 return resultobj;
21758 fail:
21759 return NULL;
21760}
21761
21762
21763static PyObject *_wrap_Window_Raise(PyObject *self, PyObject *args, PyObject *kwargs) {
21764 PyObject *resultobj;
21765 wxWindow *arg1 = (wxWindow *) 0 ;
21766 PyObject * obj0 = 0 ;
21767 char *kwnames[] = {
21768 (char *) "self", NULL
21769 };
21770
21771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Raise",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21774 {
21775 PyThreadState* __tstate = wxPyBeginAllowThreads();
21776 (arg1)->Raise();
21777
21778 wxPyEndAllowThreads(__tstate);
21779 if (PyErr_Occurred()) SWIG_fail;
21780 }
21781 Py_INCREF(Py_None); resultobj = Py_None;
21782 return resultobj;
21783 fail:
21784 return NULL;
21785}
21786
21787
21788static PyObject *_wrap_Window_Lower(PyObject *self, PyObject *args, PyObject *kwargs) {
21789 PyObject *resultobj;
21790 wxWindow *arg1 = (wxWindow *) 0 ;
21791 PyObject * obj0 = 0 ;
21792 char *kwnames[] = {
21793 (char *) "self", NULL
21794 };
21795
21796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Lower",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21799 {
21800 PyThreadState* __tstate = wxPyBeginAllowThreads();
21801 (arg1)->Lower();
21802
21803 wxPyEndAllowThreads(__tstate);
21804 if (PyErr_Occurred()) SWIG_fail;
21805 }
21806 Py_INCREF(Py_None); resultobj = Py_None;
21807 return resultobj;
21808 fail:
21809 return NULL;
21810}
21811
21812
21813static PyObject *_wrap_Window_SetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21814 PyObject *resultobj;
21815 wxWindow *arg1 = (wxWindow *) 0 ;
21816 wxSize *arg2 = 0 ;
21817 wxSize temp2 ;
21818 PyObject * obj0 = 0 ;
21819 PyObject * obj1 = 0 ;
21820 char *kwnames[] = {
21821 (char *) "self",(char *) "size", NULL
21822 };
21823
21824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21825 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21826 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21827 {
21828 arg2 = &temp2;
21829 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
21830 }
21831 {
21832 PyThreadState* __tstate = wxPyBeginAllowThreads();
21833 (arg1)->SetClientSize((wxSize const &)*arg2);
21834
21835 wxPyEndAllowThreads(__tstate);
21836 if (PyErr_Occurred()) SWIG_fail;
21837 }
21838 Py_INCREF(Py_None); resultobj = Py_None;
21839 return resultobj;
21840 fail:
21841 return NULL;
21842}
21843
21844
21845static PyObject *_wrap_Window_SetClientSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
21846 PyObject *resultobj;
21847 wxWindow *arg1 = (wxWindow *) 0 ;
21848 int arg2 ;
21849 int arg3 ;
21850 PyObject * obj0 = 0 ;
8edf1c75
RD
21851 PyObject * obj1 = 0 ;
21852 PyObject * obj2 = 0 ;
d14a1e28
RD
21853 char *kwnames[] = {
21854 (char *) "self",(char *) "width",(char *) "height", NULL
21855 };
21856
8edf1c75 21857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetClientSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
21858 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
21860 arg2 = (int) SWIG_AsInt(obj1);
21861 if (PyErr_Occurred()) SWIG_fail;
21862 arg3 = (int) SWIG_AsInt(obj2);
21863 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
21864 {
21865 PyThreadState* __tstate = wxPyBeginAllowThreads();
21866 (arg1)->SetClientSize(arg2,arg3);
21867
21868 wxPyEndAllowThreads(__tstate);
21869 if (PyErr_Occurred()) SWIG_fail;
21870 }
21871 Py_INCREF(Py_None); resultobj = Py_None;
21872 return resultobj;
21873 fail:
21874 return NULL;
21875}
21876
21877
21878static PyObject *_wrap_Window_SetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
21879 PyObject *resultobj;
21880 wxWindow *arg1 = (wxWindow *) 0 ;
21881 wxRect *arg2 = 0 ;
21882 wxRect temp2 ;
21883 PyObject * obj0 = 0 ;
21884 PyObject * obj1 = 0 ;
21885 char *kwnames[] = {
21886 (char *) "self",(char *) "rect", NULL
21887 };
21888
21889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetClientRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
21890 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21892 {
21893 arg2 = &temp2;
21894 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
21895 }
21896 {
21897 PyThreadState* __tstate = wxPyBeginAllowThreads();
21898 (arg1)->SetClientSize((wxRect const &)*arg2);
21899
21900 wxPyEndAllowThreads(__tstate);
21901 if (PyErr_Occurred()) SWIG_fail;
21902 }
21903 Py_INCREF(Py_None); resultobj = Py_None;
21904 return resultobj;
21905 fail:
21906 return NULL;
21907}
21908
21909
21910static PyObject *_wrap_Window_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
21911 PyObject *resultobj;
21912 wxWindow *arg1 = (wxWindow *) 0 ;
21913 wxPoint result;
21914 PyObject * obj0 = 0 ;
21915 char *kwnames[] = {
21916 (char *) "self", NULL
21917 };
21918
21919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21920 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21921 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21922 {
21923 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 21924 result = (arg1)->GetPosition();
d14a1e28
RD
21925
21926 wxPyEndAllowThreads(__tstate);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 }
21929 {
21930 wxPoint * resultptr;
21931 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 21932 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
21933 }
21934 return resultobj;
21935 fail:
21936 return NULL;
21937}
21938
21939
21940static PyObject *_wrap_Window_GetPositionTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
21941 PyObject *resultobj;
21942 wxWindow *arg1 = (wxWindow *) 0 ;
21943 int *arg2 = (int *) 0 ;
21944 int *arg3 = (int *) 0 ;
21945 int temp2 ;
21946 int temp3 ;
21947 PyObject * obj0 = 0 ;
21948 char *kwnames[] = {
21949 (char *) "self", NULL
21950 };
21951
21952 arg2 = &temp2;
21953 arg3 = &temp3;
21954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetPositionTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21955 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21957 {
21958 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 21959 (arg1)->GetPosition(arg2,arg3);
d14a1e28
RD
21960
21961 wxPyEndAllowThreads(__tstate);
21962 if (PyErr_Occurred()) SWIG_fail;
21963 }
21964 Py_INCREF(Py_None); resultobj = Py_None;
21965 {
21966 PyObject *o = PyInt_FromLong((long) (*arg2));
21967 resultobj = t_output_helper(resultobj,o);
21968 }
21969 {
21970 PyObject *o = PyInt_FromLong((long) (*arg3));
21971 resultobj = t_output_helper(resultobj,o);
21972 }
21973 return resultobj;
21974 fail:
21975 return NULL;
21976}
21977
21978
21979static PyObject *_wrap_Window_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
21980 PyObject *resultobj;
21981 wxWindow *arg1 = (wxWindow *) 0 ;
21982 wxSize result;
21983 PyObject * obj0 = 0 ;
21984 char *kwnames[] = {
21985 (char *) "self", NULL
21986 };
21987
21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
21989 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
21990 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
21991 {
21992 PyThreadState* __tstate = wxPyBeginAllowThreads();
21993 result = ((wxWindow const *)arg1)->GetSize();
21994
21995 wxPyEndAllowThreads(__tstate);
21996 if (PyErr_Occurred()) SWIG_fail;
21997 }
21998 {
21999 wxSize * resultptr;
22000 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22001 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22002 }
22003 return resultobj;
22004 fail:
22005 return NULL;
22006}
22007
22008
22009static PyObject *_wrap_Window_GetSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22010 PyObject *resultobj;
22011 wxWindow *arg1 = (wxWindow *) 0 ;
22012 int *arg2 = (int *) 0 ;
22013 int *arg3 = (int *) 0 ;
22014 int temp2 ;
22015 int temp3 ;
22016 PyObject * obj0 = 0 ;
22017 char *kwnames[] = {
22018 (char *) "self", NULL
22019 };
22020
22021 arg2 = &temp2;
22022 arg3 = &temp3;
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22026 {
22027 PyThreadState* __tstate = wxPyBeginAllowThreads();
22028 ((wxWindow const *)arg1)->GetSize(arg2,arg3);
22029
22030 wxPyEndAllowThreads(__tstate);
22031 if (PyErr_Occurred()) SWIG_fail;
22032 }
22033 Py_INCREF(Py_None); resultobj = Py_None;
22034 {
22035 PyObject *o = PyInt_FromLong((long) (*arg2));
22036 resultobj = t_output_helper(resultobj,o);
22037 }
22038 {
22039 PyObject *o = PyInt_FromLong((long) (*arg3));
22040 resultobj = t_output_helper(resultobj,o);
22041 }
22042 return resultobj;
22043 fail:
22044 return NULL;
22045}
22046
22047
22048static PyObject *_wrap_Window_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22049 PyObject *resultobj;
22050 wxWindow *arg1 = (wxWindow *) 0 ;
22051 wxRect result;
22052 PyObject * obj0 = 0 ;
22053 char *kwnames[] = {
22054 (char *) "self", NULL
22055 };
22056
22057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22058 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22059 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22060 {
22061 PyThreadState* __tstate = wxPyBeginAllowThreads();
22062 result = ((wxWindow const *)arg1)->GetRect();
22063
22064 wxPyEndAllowThreads(__tstate);
22065 if (PyErr_Occurred()) SWIG_fail;
22066 }
22067 {
22068 wxRect * resultptr;
22069 resultptr = new wxRect((wxRect &) result);
2f4c0a16 22070 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22071 }
22072 return resultobj;
22073 fail:
22074 return NULL;
22075}
22076
22077
22078static PyObject *_wrap_Window_GetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22079 PyObject *resultobj;
22080 wxWindow *arg1 = (wxWindow *) 0 ;
22081 wxSize result;
22082 PyObject * obj0 = 0 ;
22083 char *kwnames[] = {
22084 (char *) "self", NULL
22085 };
22086
22087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSize",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();
22092 result = ((wxWindow const *)arg1)->GetClientSize();
22093
22094 wxPyEndAllowThreads(__tstate);
22095 if (PyErr_Occurred()) SWIG_fail;
22096 }
22097 {
22098 wxSize * resultptr;
22099 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22100 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22101 }
22102 return resultobj;
22103 fail:
22104 return NULL;
22105}
22106
22107
22108static PyObject *_wrap_Window_GetClientSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22109 PyObject *resultobj;
22110 wxWindow *arg1 = (wxWindow *) 0 ;
22111 int *arg2 = (int *) 0 ;
22112 int *arg3 = (int *) 0 ;
22113 int temp2 ;
22114 int temp3 ;
22115 PyObject * obj0 = 0 ;
22116 char *kwnames[] = {
22117 (char *) "self", NULL
22118 };
22119
22120 arg2 = &temp2;
22121 arg3 = &temp3;
22122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22123 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22124 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22125 {
22126 PyThreadState* __tstate = wxPyBeginAllowThreads();
22127 ((wxWindow const *)arg1)->GetClientSize(arg2,arg3);
22128
22129 wxPyEndAllowThreads(__tstate);
22130 if (PyErr_Occurred()) SWIG_fail;
22131 }
22132 Py_INCREF(Py_None); resultobj = Py_None;
22133 {
22134 PyObject *o = PyInt_FromLong((long) (*arg2));
22135 resultobj = t_output_helper(resultobj,o);
22136 }
22137 {
22138 PyObject *o = PyInt_FromLong((long) (*arg3));
22139 resultobj = t_output_helper(resultobj,o);
22140 }
22141 return resultobj;
22142 fail:
22143 return NULL;
22144}
22145
22146
22147static PyObject *_wrap_Window_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
22148 PyObject *resultobj;
22149 wxWindow *arg1 = (wxWindow *) 0 ;
22150 wxPoint result;
22151 PyObject * obj0 = 0 ;
22152 char *kwnames[] = {
22153 (char *) "self", NULL
22154 };
22155
22156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22157 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22158 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22159 {
22160 PyThreadState* __tstate = wxPyBeginAllowThreads();
22161 result = ((wxWindow const *)arg1)->GetClientAreaOrigin();
22162
22163 wxPyEndAllowThreads(__tstate);
22164 if (PyErr_Occurred()) SWIG_fail;
22165 }
22166 {
22167 wxPoint * resultptr;
22168 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 22169 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
22170 }
22171 return resultobj;
22172 fail:
22173 return NULL;
22174}
22175
22176
22177static PyObject *_wrap_Window_GetClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22178 PyObject *resultobj;
22179 wxWindow *arg1 = (wxWindow *) 0 ;
22180 wxRect result;
22181 PyObject * obj0 = 0 ;
22182 char *kwnames[] = {
22183 (char *) "self", NULL
22184 };
22185
22186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetClientRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22187 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22188 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22189 {
22190 PyThreadState* __tstate = wxPyBeginAllowThreads();
22191 result = ((wxWindow const *)arg1)->GetClientRect();
22192
22193 wxPyEndAllowThreads(__tstate);
22194 if (PyErr_Occurred()) SWIG_fail;
22195 }
22196 {
22197 wxRect * resultptr;
22198 resultptr = new wxRect((wxRect &) result);
2f4c0a16 22199 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
22200 }
22201 return resultobj;
22202 fail:
22203 return NULL;
22204}
22205
22206
22207static PyObject *_wrap_Window_GetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22208 PyObject *resultobj;
22209 wxWindow *arg1 = (wxWindow *) 0 ;
22210 wxSize result;
22211 PyObject * obj0 = 0 ;
22212 char *kwnames[] = {
22213 (char *) "self", NULL
22214 };
22215
22216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22217 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22218 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22219 {
22220 PyThreadState* __tstate = wxPyBeginAllowThreads();
22221 result = ((wxWindow const *)arg1)->GetBestSize();
22222
22223 wxPyEndAllowThreads(__tstate);
22224 if (PyErr_Occurred()) SWIG_fail;
22225 }
22226 {
22227 wxSize * resultptr;
22228 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22229 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22230 }
22231 return resultobj;
22232 fail:
22233 return NULL;
22234}
22235
22236
22237static PyObject *_wrap_Window_GetBestSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22238 PyObject *resultobj;
22239 wxWindow *arg1 = (wxWindow *) 0 ;
22240 int *arg2 = (int *) 0 ;
22241 int *arg3 = (int *) 0 ;
22242 int temp2 ;
22243 int temp3 ;
22244 PyObject * obj0 = 0 ;
22245 char *kwnames[] = {
22246 (char *) "self", NULL
22247 };
22248
22249 arg2 = &temp2;
22250 arg3 = &temp3;
22251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22252 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22253 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22254 {
22255 PyThreadState* __tstate = wxPyBeginAllowThreads();
22256 ((wxWindow const *)arg1)->GetBestSize(arg2,arg3);
22257
22258 wxPyEndAllowThreads(__tstate);
22259 if (PyErr_Occurred()) SWIG_fail;
22260 }
22261 Py_INCREF(Py_None); resultobj = Py_None;
22262 {
22263 PyObject *o = PyInt_FromLong((long) (*arg2));
22264 resultobj = t_output_helper(resultobj,o);
22265 }
22266 {
22267 PyObject *o = PyInt_FromLong((long) (*arg3));
22268 resultobj = t_output_helper(resultobj,o);
22269 }
22270 return resultobj;
22271 fail:
22272 return NULL;
22273}
22274
22275
22276static PyObject *_wrap_Window_GetAdjustedBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22277 PyObject *resultobj;
22278 wxWindow *arg1 = (wxWindow *) 0 ;
22279 wxSize result;
22280 PyObject * obj0 = 0 ;
22281 char *kwnames[] = {
22282 (char *) "self", NULL
22283 };
22284
22285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAdjustedBestSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22286 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22287 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22288 {
22289 PyThreadState* __tstate = wxPyBeginAllowThreads();
22290 result = ((wxWindow const *)arg1)->GetAdjustedBestSize();
22291
22292 wxPyEndAllowThreads(__tstate);
22293 if (PyErr_Occurred()) SWIG_fail;
22294 }
22295 {
22296 wxSize * resultptr;
22297 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22298 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22299 }
22300 return resultobj;
22301 fail:
22302 return NULL;
22303}
22304
22305
22306static PyObject *_wrap_Window_Center(PyObject *self, PyObject *args, PyObject *kwargs) {
22307 PyObject *resultobj;
22308 wxWindow *arg1 = (wxWindow *) 0 ;
22309 int arg2 = (int) wxBOTH ;
22310 PyObject * obj0 = 0 ;
8edf1c75 22311 PyObject * obj1 = 0 ;
d14a1e28
RD
22312 char *kwnames[] = {
22313 (char *) "self",(char *) "direction", NULL
22314 };
22315
8edf1c75 22316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Center",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22317 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22318 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 22319 if (obj1) {
2f4c0a16
RD
22320 arg2 = (int) SWIG_AsInt(obj1);
22321 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22322 }
d14a1e28
RD
22323 {
22324 PyThreadState* __tstate = wxPyBeginAllowThreads();
22325 (arg1)->Center(arg2);
22326
22327 wxPyEndAllowThreads(__tstate);
22328 if (PyErr_Occurred()) SWIG_fail;
22329 }
22330 Py_INCREF(Py_None); resultobj = Py_None;
22331 return resultobj;
22332 fail:
22333 return NULL;
22334}
22335
22336
22337static PyObject *_wrap_Window_CenterOnScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
22338 PyObject *resultobj;
22339 wxWindow *arg1 = (wxWindow *) 0 ;
22340 int arg2 = (int) wxBOTH ;
22341 PyObject * obj0 = 0 ;
8edf1c75 22342 PyObject * obj1 = 0 ;
d14a1e28
RD
22343 char *kwnames[] = {
22344 (char *) "self",(char *) "dir", NULL
22345 };
22346
8edf1c75 22347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnScreen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 22350 if (obj1) {
2f4c0a16
RD
22351 arg2 = (int) SWIG_AsInt(obj1);
22352 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22353 }
d14a1e28
RD
22354 {
22355 PyThreadState* __tstate = wxPyBeginAllowThreads();
22356 (arg1)->CenterOnScreen(arg2);
22357
22358 wxPyEndAllowThreads(__tstate);
22359 if (PyErr_Occurred()) SWIG_fail;
22360 }
22361 Py_INCREF(Py_None); resultobj = Py_None;
22362 return resultobj;
22363 fail:
22364 return NULL;
22365}
22366
22367
22368static PyObject *_wrap_Window_CenterOnParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22369 PyObject *resultobj;
22370 wxWindow *arg1 = (wxWindow *) 0 ;
22371 int arg2 = (int) wxBOTH ;
22372 PyObject * obj0 = 0 ;
8edf1c75 22373 PyObject * obj1 = 0 ;
d14a1e28
RD
22374 char *kwnames[] = {
22375 (char *) "self",(char *) "dir", NULL
22376 };
22377
8edf1c75 22378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_CenterOnParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 22381 if (obj1) {
2f4c0a16
RD
22382 arg2 = (int) SWIG_AsInt(obj1);
22383 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22384 }
d14a1e28
RD
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 (arg1)->CenterOnParent(arg2);
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 Py_INCREF(Py_None); resultobj = Py_None;
22393 return resultobj;
22394 fail:
22395 return NULL;
22396}
22397
22398
22399static PyObject *_wrap_Window_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
22400 PyObject *resultobj;
22401 wxWindow *arg1 = (wxWindow *) 0 ;
22402 PyObject * obj0 = 0 ;
22403 char *kwnames[] = {
22404 (char *) "self", NULL
22405 };
22406
22407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Fit",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22408 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22409 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22410 {
22411 PyThreadState* __tstate = wxPyBeginAllowThreads();
22412 (arg1)->Fit();
22413
22414 wxPyEndAllowThreads(__tstate);
22415 if (PyErr_Occurred()) SWIG_fail;
22416 }
22417 Py_INCREF(Py_None); resultobj = Py_None;
22418 return resultobj;
22419 fail:
22420 return NULL;
22421}
22422
22423
22424static PyObject *_wrap_Window_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
22425 PyObject *resultobj;
22426 wxWindow *arg1 = (wxWindow *) 0 ;
22427 PyObject * obj0 = 0 ;
22428 char *kwnames[] = {
22429 (char *) "self", NULL
22430 };
22431
22432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_FitInside",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22435 {
22436 PyThreadState* __tstate = wxPyBeginAllowThreads();
22437 (arg1)->FitInside();
22438
22439 wxPyEndAllowThreads(__tstate);
22440 if (PyErr_Occurred()) SWIG_fail;
22441 }
22442 Py_INCREF(Py_None); resultobj = Py_None;
22443 return resultobj;
22444 fail:
22445 return NULL;
22446}
22447
22448
22449static PyObject *_wrap_Window_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
22450 PyObject *resultobj;
22451 wxWindow *arg1 = (wxWindow *) 0 ;
22452 int arg2 ;
22453 int arg3 ;
22454 int arg4 = (int) -1 ;
22455 int arg5 = (int) -1 ;
22456 int arg6 = (int) -1 ;
22457 int arg7 = (int) -1 ;
22458 PyObject * obj0 = 0 ;
8edf1c75
RD
22459 PyObject * obj1 = 0 ;
22460 PyObject * obj2 = 0 ;
22461 PyObject * obj3 = 0 ;
22462 PyObject * obj4 = 0 ;
22463 PyObject * obj5 = 0 ;
22464 PyObject * obj6 = 0 ;
d14a1e28
RD
22465 char *kwnames[] = {
22466 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22467 };
22468
8edf1c75 22469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
22470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22472 arg2 = (int) SWIG_AsInt(obj1);
22473 if (PyErr_Occurred()) SWIG_fail;
22474 arg3 = (int) SWIG_AsInt(obj2);
22475 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22476 if (obj3) {
2f4c0a16
RD
22477 arg4 = (int) SWIG_AsInt(obj3);
22478 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22479 }
22480 if (obj4) {
2f4c0a16
RD
22481 arg5 = (int) SWIG_AsInt(obj4);
22482 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22483 }
22484 if (obj5) {
2f4c0a16
RD
22485 arg6 = (int) SWIG_AsInt(obj5);
22486 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22487 }
22488 if (obj6) {
2f4c0a16
RD
22489 arg7 = (int) SWIG_AsInt(obj6);
22490 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22491 }
d14a1e28
RD
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 (arg1)->SetSizeHints(arg2,arg3,arg4,arg5,arg6,arg7);
22495
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 Py_INCREF(Py_None); resultobj = Py_None;
22500 return resultobj;
22501 fail:
22502 return NULL;
22503}
22504
22505
22506static PyObject *_wrap_Window_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
22507 PyObject *resultobj;
22508 wxWindow *arg1 = (wxWindow *) 0 ;
22509 int arg2 ;
22510 int arg3 ;
22511 int arg4 = (int) -1 ;
22512 int arg5 = (int) -1 ;
22513 PyObject * obj0 = 0 ;
8edf1c75
RD
22514 PyObject * obj1 = 0 ;
22515 PyObject * obj2 = 0 ;
22516 PyObject * obj3 = 0 ;
22517 PyObject * obj4 = 0 ;
d14a1e28
RD
22518 char *kwnames[] = {
22519 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22520 };
22521
8edf1c75 22522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
22523 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22524 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22525 arg2 = (int) SWIG_AsInt(obj1);
22526 if (PyErr_Occurred()) SWIG_fail;
22527 arg3 = (int) SWIG_AsInt(obj2);
22528 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22529 if (obj3) {
2f4c0a16
RD
22530 arg4 = (int) SWIG_AsInt(obj3);
22531 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
22532 }
22533 if (obj4) {
2f4c0a16
RD
22534 arg5 = (int) SWIG_AsInt(obj4);
22535 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 22536 }
d14a1e28
RD
22537 {
22538 PyThreadState* __tstate = wxPyBeginAllowThreads();
22539 (arg1)->SetVirtualSizeHints(arg2,arg3,arg4,arg5);
22540
22541 wxPyEndAllowThreads(__tstate);
22542 if (PyErr_Occurred()) SWIG_fail;
22543 }
22544 Py_INCREF(Py_None); resultobj = Py_None;
22545 return resultobj;
22546 fail:
22547 return NULL;
22548}
22549
22550
22551static PyObject *_wrap_Window_GetMinWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22552 PyObject *resultobj;
22553 wxWindow *arg1 = (wxWindow *) 0 ;
22554 int result;
22555 PyObject * obj0 = 0 ;
22556 char *kwnames[] = {
22557 (char *) "self", NULL
22558 };
22559
22560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22561 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22562 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22563 {
22564 PyThreadState* __tstate = wxPyBeginAllowThreads();
22565 result = (int)((wxWindow const *)arg1)->GetMinWidth();
22566
22567 wxPyEndAllowThreads(__tstate);
22568 if (PyErr_Occurred()) SWIG_fail;
22569 }
2f4c0a16 22570 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22571 return resultobj;
22572 fail:
22573 return NULL;
22574}
22575
22576
22577static PyObject *_wrap_Window_GetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22578 PyObject *resultobj;
22579 wxWindow *arg1 = (wxWindow *) 0 ;
22580 int result;
22581 PyObject * obj0 = 0 ;
22582 char *kwnames[] = {
22583 (char *) "self", NULL
22584 };
22585
22586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMinHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22587 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22588 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22589 {
22590 PyThreadState* __tstate = wxPyBeginAllowThreads();
22591 result = (int)((wxWindow const *)arg1)->GetMinHeight();
22592
22593 wxPyEndAllowThreads(__tstate);
22594 if (PyErr_Occurred()) SWIG_fail;
22595 }
2f4c0a16 22596 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22597 return resultobj;
22598 fail:
22599 return NULL;
22600}
22601
22602
22603static PyObject *_wrap_Window_GetMaxWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
22604 PyObject *resultobj;
22605 wxWindow *arg1 = (wxWindow *) 0 ;
22606 int result;
22607 PyObject * obj0 = 0 ;
22608 char *kwnames[] = {
22609 (char *) "self", NULL
22610 };
22611
22612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22613 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22614 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22615 {
22616 PyThreadState* __tstate = wxPyBeginAllowThreads();
22617 result = (int)((wxWindow const *)arg1)->GetMaxWidth();
22618
22619 wxPyEndAllowThreads(__tstate);
22620 if (PyErr_Occurred()) SWIG_fail;
22621 }
2f4c0a16 22622 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22623 return resultobj;
22624 fail:
22625 return NULL;
22626}
22627
22628
22629static PyObject *_wrap_Window_GetMaxHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
22630 PyObject *resultobj;
22631 wxWindow *arg1 = (wxWindow *) 0 ;
22632 int result;
22633 PyObject * obj0 = 0 ;
22634 char *kwnames[] = {
22635 (char *) "self", NULL
22636 };
22637
22638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22639 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22640 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22641 {
22642 PyThreadState* __tstate = wxPyBeginAllowThreads();
22643 result = (int)((wxWindow const *)arg1)->GetMaxHeight();
22644
22645 wxPyEndAllowThreads(__tstate);
22646 if (PyErr_Occurred()) SWIG_fail;
22647 }
2f4c0a16 22648 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
22649 return resultobj;
22650 fail:
22651 return NULL;
22652}
22653
22654
22655static PyObject *_wrap_Window_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22656 PyObject *resultobj;
22657 wxWindow *arg1 = (wxWindow *) 0 ;
22658 wxSize result;
22659 PyObject * obj0 = 0 ;
22660 char *kwnames[] = {
22661 (char *) "self", NULL
22662 };
22663
22664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetMaxSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22665 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22666 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22667 {
22668 PyThreadState* __tstate = wxPyBeginAllowThreads();
22669 result = ((wxWindow const *)arg1)->GetMaxSize();
22670
22671 wxPyEndAllowThreads(__tstate);
22672 if (PyErr_Occurred()) SWIG_fail;
22673 }
22674 {
22675 wxSize * resultptr;
22676 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22677 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22678 }
22679 return resultobj;
22680 fail:
22681 return NULL;
22682}
22683
22684
22685static PyObject *_wrap_Window_SetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22686 PyObject *resultobj;
22687 wxWindow *arg1 = (wxWindow *) 0 ;
22688 wxSize *arg2 = 0 ;
22689 wxSize temp2 ;
22690 PyObject * obj0 = 0 ;
22691 PyObject * obj1 = 0 ;
22692 char *kwnames[] = {
22693 (char *) "self",(char *) "size", NULL
22694 };
22695
22696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetVirtualSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22699 {
22700 arg2 = &temp2;
22701 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
22702 }
22703 {
22704 PyThreadState* __tstate = wxPyBeginAllowThreads();
22705 (arg1)->SetVirtualSize((wxSize const &)*arg2);
22706
22707 wxPyEndAllowThreads(__tstate);
22708 if (PyErr_Occurred()) SWIG_fail;
22709 }
22710 Py_INCREF(Py_None); resultobj = Py_None;
22711 return resultobj;
22712 fail:
22713 return NULL;
22714}
22715
22716
22717static PyObject *_wrap_Window_SetVirtualSizeWH(PyObject *self, PyObject *args, PyObject *kwargs) {
22718 PyObject *resultobj;
22719 wxWindow *arg1 = (wxWindow *) 0 ;
22720 int arg2 ;
22721 int arg3 ;
22722 PyObject * obj0 = 0 ;
8edf1c75
RD
22723 PyObject * obj1 = 0 ;
22724 PyObject * obj2 = 0 ;
d14a1e28
RD
22725 char *kwnames[] = {
22726 (char *) "self",(char *) "w",(char *) "h", NULL
22727 };
22728
8edf1c75 22729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_SetVirtualSizeWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
22730 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22731 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
22732 arg2 = (int) SWIG_AsInt(obj1);
22733 if (PyErr_Occurred()) SWIG_fail;
22734 arg3 = (int) SWIG_AsInt(obj2);
22735 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22736 {
22737 PyThreadState* __tstate = wxPyBeginAllowThreads();
22738 (arg1)->SetVirtualSize(arg2,arg3);
22739
22740 wxPyEndAllowThreads(__tstate);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 }
22743 Py_INCREF(Py_None); resultobj = Py_None;
22744 return resultobj;
22745 fail:
22746 return NULL;
22747}
22748
22749
22750static PyObject *_wrap_Window_GetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22751 PyObject *resultobj;
22752 wxWindow *arg1 = (wxWindow *) 0 ;
22753 wxSize result;
22754 PyObject * obj0 = 0 ;
22755 char *kwnames[] = {
22756 (char *) "self", NULL
22757 };
22758
22759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22760 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22761 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22762 {
22763 PyThreadState* __tstate = wxPyBeginAllowThreads();
22764 result = ((wxWindow const *)arg1)->GetVirtualSize();
22765
22766 wxPyEndAllowThreads(__tstate);
22767 if (PyErr_Occurred()) SWIG_fail;
22768 }
22769 {
22770 wxSize * resultptr;
22771 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22772 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22773 }
22774 return resultobj;
22775 fail:
22776 return NULL;
22777}
22778
22779
22780static PyObject *_wrap_Window_GetVirtualSizeTuple(PyObject *self, PyObject *args, PyObject *kwargs) {
22781 PyObject *resultobj;
22782 wxWindow *arg1 = (wxWindow *) 0 ;
22783 int *arg2 = (int *) 0 ;
22784 int *arg3 = (int *) 0 ;
22785 int temp2 ;
22786 int temp3 ;
22787 PyObject * obj0 = 0 ;
22788 char *kwnames[] = {
22789 (char *) "self", NULL
22790 };
22791
22792 arg2 = &temp2;
22793 arg3 = &temp3;
22794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetVirtualSizeTuple",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22797 {
22798 PyThreadState* __tstate = wxPyBeginAllowThreads();
22799 ((wxWindow const *)arg1)->GetVirtualSize(arg2,arg3);
22800
22801 wxPyEndAllowThreads(__tstate);
22802 if (PyErr_Occurred()) SWIG_fail;
22803 }
22804 Py_INCREF(Py_None); resultobj = Py_None;
22805 {
22806 PyObject *o = PyInt_FromLong((long) (*arg2));
22807 resultobj = t_output_helper(resultobj,o);
22808 }
22809 {
22810 PyObject *o = PyInt_FromLong((long) (*arg3));
22811 resultobj = t_output_helper(resultobj,o);
22812 }
22813 return resultobj;
22814 fail:
22815 return NULL;
22816}
22817
22818
22819static PyObject *_wrap_Window_GetBestVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
22820 PyObject *resultobj;
22821 wxWindow *arg1 = (wxWindow *) 0 ;
22822 wxSize result;
22823 PyObject * obj0 = 0 ;
22824 char *kwnames[] = {
22825 (char *) "self", NULL
22826 };
22827
22828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBestVirtualSize",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)->GetBestVirtualSize();
22834
22835 wxPyEndAllowThreads(__tstate);
22836 if (PyErr_Occurred()) SWIG_fail;
22837 }
22838 {
22839 wxSize * resultptr;
22840 resultptr = new wxSize((wxSize &) result);
2f4c0a16 22841 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
22842 }
22843 return resultobj;
22844 fail:
22845 return NULL;
22846}
22847
22848
22849static PyObject *_wrap_Window_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
22850 PyObject *resultobj;
22851 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 22852 bool arg2 = (bool) True ;
d14a1e28
RD
22853 bool result;
22854 PyObject * obj0 = 0 ;
22855 PyObject * obj1 = 0 ;
22856 char *kwnames[] = {
22857 (char *) "self",(char *) "show", NULL
22858 };
22859
22860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22861 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22862 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 22863 if (obj1) {
2f4c0a16
RD
22864 arg2 = (bool) SWIG_AsBool(obj1);
22865 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22866 }
22867 {
22868 PyThreadState* __tstate = wxPyBeginAllowThreads();
22869 result = (bool)(arg1)->Show(arg2);
22870
22871 wxPyEndAllowThreads(__tstate);
22872 if (PyErr_Occurred()) SWIG_fail;
22873 }
4e760a36 22874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22875 return resultobj;
22876 fail:
22877 return NULL;
22878}
22879
22880
22881static PyObject *_wrap_Window_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
22882 PyObject *resultobj;
22883 wxWindow *arg1 = (wxWindow *) 0 ;
22884 bool result;
22885 PyObject * obj0 = 0 ;
22886 char *kwnames[] = {
22887 (char *) "self", NULL
22888 };
22889
22890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Hide",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22893 {
22894 PyThreadState* __tstate = wxPyBeginAllowThreads();
22895 result = (bool)(arg1)->Hide();
22896
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
4e760a36 22900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22901 return resultobj;
22902 fail:
22903 return NULL;
22904}
22905
22906
22907static PyObject *_wrap_Window_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
22908 PyObject *resultobj;
22909 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 22910 bool arg2 = (bool) True ;
d14a1e28
RD
22911 bool result;
22912 PyObject * obj0 = 0 ;
22913 PyObject * obj1 = 0 ;
22914 char *kwnames[] = {
22915 (char *) "self",(char *) "enable", NULL
22916 };
22917
22918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
22919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 22921 if (obj1) {
2f4c0a16
RD
22922 arg2 = (bool) SWIG_AsBool(obj1);
22923 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
22924 }
22925 {
22926 PyThreadState* __tstate = wxPyBeginAllowThreads();
22927 result = (bool)(arg1)->Enable(arg2);
22928
22929 wxPyEndAllowThreads(__tstate);
22930 if (PyErr_Occurred()) SWIG_fail;
22931 }
4e760a36 22932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22933 return resultobj;
22934 fail:
22935 return NULL;
22936}
22937
22938
22939static PyObject *_wrap_Window_Disable(PyObject *self, PyObject *args, PyObject *kwargs) {
22940 PyObject *resultobj;
22941 wxWindow *arg1 = (wxWindow *) 0 ;
22942 bool result;
22943 PyObject * obj0 = 0 ;
22944 char *kwnames[] = {
22945 (char *) "self", NULL
22946 };
22947
22948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Disable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22951 {
22952 PyThreadState* __tstate = wxPyBeginAllowThreads();
22953 result = (bool)(arg1)->Disable();
22954
22955 wxPyEndAllowThreads(__tstate);
22956 if (PyErr_Occurred()) SWIG_fail;
22957 }
4e760a36 22958 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22959 return resultobj;
22960 fail:
22961 return NULL;
22962}
22963
22964
22965static PyObject *_wrap_Window_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
22966 PyObject *resultobj;
22967 wxWindow *arg1 = (wxWindow *) 0 ;
22968 bool result;
22969 PyObject * obj0 = 0 ;
22970 char *kwnames[] = {
22971 (char *) "self", NULL
22972 };
22973
22974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
22975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
22976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
22977 {
22978 PyThreadState* __tstate = wxPyBeginAllowThreads();
22979 result = (bool)((wxWindow const *)arg1)->IsShown();
22980
22981 wxPyEndAllowThreads(__tstate);
22982 if (PyErr_Occurred()) SWIG_fail;
22983 }
4e760a36 22984 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22985 return resultobj;
22986 fail:
22987 return NULL;
22988}
22989
22990
22991static PyObject *_wrap_Window_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
22992 PyObject *resultobj;
22993 wxWindow *arg1 = (wxWindow *) 0 ;
22994 bool result;
22995 PyObject * obj0 = 0 ;
22996 char *kwnames[] = {
22997 (char *) "self", NULL
22998 };
22999
23000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23001 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23002 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23003 {
23004 PyThreadState* __tstate = wxPyBeginAllowThreads();
23005 result = (bool)((wxWindow const *)arg1)->IsEnabled();
23006
23007 wxPyEndAllowThreads(__tstate);
23008 if (PyErr_Occurred()) SWIG_fail;
23009 }
4e760a36 23010 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23011 return resultobj;
23012 fail:
23013 return NULL;
23014}
23015
23016
23017static PyObject *_wrap_Window_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23018 PyObject *resultobj;
23019 wxWindow *arg1 = (wxWindow *) 0 ;
23020 long arg2 ;
23021 PyObject * obj0 = 0 ;
8edf1c75 23022 PyObject * obj1 = 0 ;
d14a1e28
RD
23023 char *kwnames[] = {
23024 (char *) "self",(char *) "style", NULL
23025 };
23026
8edf1c75 23027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetWindowStyleFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23028 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23029 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23030 arg2 = (long) SWIG_AsLong(obj1);
23031 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23032 {
23033 PyThreadState* __tstate = wxPyBeginAllowThreads();
23034 (arg1)->SetWindowStyleFlag(arg2);
23035
23036 wxPyEndAllowThreads(__tstate);
23037 if (PyErr_Occurred()) SWIG_fail;
23038 }
23039 Py_INCREF(Py_None); resultobj = Py_None;
23040 return resultobj;
23041 fail:
23042 return NULL;
23043}
23044
23045
23046static PyObject *_wrap_Window_GetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23047 PyObject *resultobj;
23048 wxWindow *arg1 = (wxWindow *) 0 ;
23049 long result;
23050 PyObject * obj0 = 0 ;
23051 char *kwnames[] = {
23052 (char *) "self", NULL
23053 };
23054
23055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetWindowStyleFlag",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23058 {
23059 PyThreadState* __tstate = wxPyBeginAllowThreads();
23060 result = (long)((wxWindow const *)arg1)->GetWindowStyleFlag();
23061
23062 wxPyEndAllowThreads(__tstate);
23063 if (PyErr_Occurred()) SWIG_fail;
23064 }
2f4c0a16 23065 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23066 return resultobj;
23067 fail:
23068 return NULL;
23069}
23070
23071
23072static PyObject *_wrap_Window_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
23073 PyObject *resultobj;
23074 wxWindow *arg1 = (wxWindow *) 0 ;
23075 int arg2 ;
23076 bool result;
23077 PyObject * obj0 = 0 ;
8edf1c75 23078 PyObject * obj1 = 0 ;
d14a1e28
RD
23079 char *kwnames[] = {
23080 (char *) "self",(char *) "flag", NULL
23081 };
23082
8edf1c75 23083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23084 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23085 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23086 arg2 = (int) SWIG_AsInt(obj1);
23087 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23088 {
23089 PyThreadState* __tstate = wxPyBeginAllowThreads();
23090 result = (bool)((wxWindow const *)arg1)->HasFlag(arg2);
23091
23092 wxPyEndAllowThreads(__tstate);
23093 if (PyErr_Occurred()) SWIG_fail;
23094 }
4e760a36 23095 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23096 return resultobj;
23097 fail:
23098 return NULL;
23099}
23100
23101
23102static PyObject *_wrap_Window_IsRetained(PyObject *self, PyObject *args, PyObject *kwargs) {
23103 PyObject *resultobj;
23104 wxWindow *arg1 = (wxWindow *) 0 ;
23105 bool result;
23106 PyObject * obj0 = 0 ;
23107 char *kwnames[] = {
23108 (char *) "self", NULL
23109 };
23110
23111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsRetained",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23114 {
23115 PyThreadState* __tstate = wxPyBeginAllowThreads();
23116 result = (bool)((wxWindow const *)arg1)->IsRetained();
23117
23118 wxPyEndAllowThreads(__tstate);
23119 if (PyErr_Occurred()) SWIG_fail;
23120 }
4e760a36 23121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23122 return resultobj;
23123 fail:
23124 return NULL;
23125}
23126
23127
23128static PyObject *_wrap_Window_SetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
23129 PyObject *resultobj;
23130 wxWindow *arg1 = (wxWindow *) 0 ;
23131 long arg2 ;
23132 PyObject * obj0 = 0 ;
8edf1c75 23133 PyObject * obj1 = 0 ;
d14a1e28
RD
23134 char *kwnames[] = {
23135 (char *) "self",(char *) "exStyle", NULL
23136 };
23137
8edf1c75 23138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetExtraStyle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23139 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23140 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23141 arg2 = (long) SWIG_AsLong(obj1);
23142 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23143 {
23144 PyThreadState* __tstate = wxPyBeginAllowThreads();
23145 (arg1)->SetExtraStyle(arg2);
23146
23147 wxPyEndAllowThreads(__tstate);
23148 if (PyErr_Occurred()) SWIG_fail;
23149 }
23150 Py_INCREF(Py_None); resultobj = Py_None;
23151 return resultobj;
23152 fail:
23153 return NULL;
23154}
23155
23156
23157static PyObject *_wrap_Window_GetExtraStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
23158 PyObject *resultobj;
23159 wxWindow *arg1 = (wxWindow *) 0 ;
23160 long result;
23161 PyObject * obj0 = 0 ;
23162 char *kwnames[] = {
23163 (char *) "self", NULL
23164 };
23165
23166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetExtraStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23167 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23168 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23169 {
23170 PyThreadState* __tstate = wxPyBeginAllowThreads();
23171 result = (long)((wxWindow const *)arg1)->GetExtraStyle();
23172
23173 wxPyEndAllowThreads(__tstate);
23174 if (PyErr_Occurred()) SWIG_fail;
23175 }
2f4c0a16 23176 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
23177 return resultobj;
23178 fail:
23179 return NULL;
23180}
23181
23182
23183static PyObject *_wrap_Window_MakeModal(PyObject *self, PyObject *args, PyObject *kwargs) {
23184 PyObject *resultobj;
23185 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 23186 bool arg2 = (bool) True ;
d14a1e28
RD
23187 PyObject * obj0 = 0 ;
23188 PyObject * obj1 = 0 ;
23189 char *kwnames[] = {
23190 (char *) "self",(char *) "modal", NULL
23191 };
23192
23193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_MakeModal",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23194 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23195 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23196 if (obj1) {
2f4c0a16
RD
23197 arg2 = (bool) SWIG_AsBool(obj1);
23198 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23199 }
23200 {
23201 PyThreadState* __tstate = wxPyBeginAllowThreads();
23202 (arg1)->MakeModal(arg2);
23203
23204 wxPyEndAllowThreads(__tstate);
23205 if (PyErr_Occurred()) SWIG_fail;
23206 }
23207 Py_INCREF(Py_None); resultobj = Py_None;
23208 return resultobj;
23209 fail:
23210 return NULL;
23211}
23212
23213
23214static PyObject *_wrap_Window_SetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23215 PyObject *resultobj;
23216 wxWindow *arg1 = (wxWindow *) 0 ;
23217 bool arg2 ;
23218 PyObject * obj0 = 0 ;
23219 PyObject * obj1 = 0 ;
23220 char *kwnames[] = {
23221 (char *) "self",(char *) "enableTheme", NULL
23222 };
23223
23224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetThemeEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23227 arg2 = (bool) SWIG_AsBool(obj1);
23228 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23229 {
23230 PyThreadState* __tstate = wxPyBeginAllowThreads();
23231 (arg1)->SetThemeEnabled(arg2);
23232
23233 wxPyEndAllowThreads(__tstate);
23234 if (PyErr_Occurred()) SWIG_fail;
23235 }
23236 Py_INCREF(Py_None); resultobj = Py_None;
23237 return resultobj;
23238 fail:
23239 return NULL;
23240}
23241
23242
23243static PyObject *_wrap_Window_GetThemeEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
23244 PyObject *resultobj;
23245 wxWindow *arg1 = (wxWindow *) 0 ;
23246 bool result;
23247 PyObject * obj0 = 0 ;
23248 char *kwnames[] = {
23249 (char *) "self", NULL
23250 };
23251
23252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetThemeEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23255 {
23256 PyThreadState* __tstate = wxPyBeginAllowThreads();
23257 result = (bool)((wxWindow const *)arg1)->GetThemeEnabled();
23258
23259 wxPyEndAllowThreads(__tstate);
23260 if (PyErr_Occurred()) SWIG_fail;
23261 }
4e760a36 23262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23263 return resultobj;
23264 fail:
23265 return NULL;
23266}
23267
23268
d14a1e28
RD
23269static PyObject *_wrap_Window_SetFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
23270 PyObject *resultobj;
23271 wxWindow *arg1 = (wxWindow *) 0 ;
23272 PyObject * obj0 = 0 ;
23273 char *kwnames[] = {
23274 (char *) "self", NULL
23275 };
23276
23277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23278 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23279 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23280 {
23281 PyThreadState* __tstate = wxPyBeginAllowThreads();
23282 (arg1)->SetFocus();
23283
23284 wxPyEndAllowThreads(__tstate);
23285 if (PyErr_Occurred()) SWIG_fail;
23286 }
23287 Py_INCREF(Py_None); resultobj = Py_None;
23288 return resultobj;
23289 fail:
23290 return NULL;
23291}
23292
23293
23294static PyObject *_wrap_Window_SetFocusFromKbd(PyObject *self, PyObject *args, PyObject *kwargs) {
23295 PyObject *resultobj;
23296 wxWindow *arg1 = (wxWindow *) 0 ;
23297 PyObject * obj0 = 0 ;
23298 char *kwnames[] = {
23299 (char *) "self", NULL
23300 };
23301
23302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_SetFocusFromKbd",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23303 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23304 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23305 {
23306 PyThreadState* __tstate = wxPyBeginAllowThreads();
23307 (arg1)->SetFocusFromKbd();
23308
23309 wxPyEndAllowThreads(__tstate);
23310 if (PyErr_Occurred()) SWIG_fail;
23311 }
23312 Py_INCREF(Py_None); resultobj = Py_None;
23313 return resultobj;
23314 fail:
23315 return NULL;
23316}
23317
23318
23319static PyObject *_wrap_Window_FindFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
23320 PyObject *resultobj;
23321 wxWindow *result;
23322 char *kwnames[] = {
23323 NULL
23324 };
23325
23326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_FindFocus",kwnames)) goto fail;
23327 {
23328 PyThreadState* __tstate = wxPyBeginAllowThreads();
23329 result = (wxWindow *)wxWindow::FindFocus();
23330
23331 wxPyEndAllowThreads(__tstate);
23332 if (PyErr_Occurred()) SWIG_fail;
23333 }
23334 {
23335 resultobj = wxPyMake_wxObject(result);
23336 }
23337 return resultobj;
23338 fail:
23339 return NULL;
23340}
23341
23342
23343static PyObject *_wrap_Window_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
23344 PyObject *resultobj;
23345 wxWindow *arg1 = (wxWindow *) 0 ;
23346 bool result;
23347 PyObject * obj0 = 0 ;
23348 char *kwnames[] = {
23349 (char *) "self", NULL
23350 };
23351
23352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocus",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23353 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23354 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23355 {
23356 PyThreadState* __tstate = wxPyBeginAllowThreads();
23357 result = (bool)((wxWindow const *)arg1)->AcceptsFocus();
23358
23359 wxPyEndAllowThreads(__tstate);
23360 if (PyErr_Occurred()) SWIG_fail;
23361 }
4e760a36 23362 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23363 return resultobj;
23364 fail:
23365 return NULL;
23366}
23367
23368
23369static PyObject *_wrap_Window_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
23370 PyObject *resultobj;
23371 wxWindow *arg1 = (wxWindow *) 0 ;
23372 bool result;
23373 PyObject * obj0 = 0 ;
23374 char *kwnames[] = {
23375 (char *) "self", NULL
23376 };
23377
23378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23379 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23380 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23381 {
23382 PyThreadState* __tstate = wxPyBeginAllowThreads();
23383 result = (bool)((wxWindow const *)arg1)->AcceptsFocusFromKeyboard();
23384
23385 wxPyEndAllowThreads(__tstate);
23386 if (PyErr_Occurred()) SWIG_fail;
23387 }
4e760a36 23388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23389 return resultobj;
23390 fail:
23391 return NULL;
23392}
23393
23394
23395static PyObject *_wrap_Window_GetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23396 PyObject *resultobj;
23397 wxWindow *arg1 = (wxWindow *) 0 ;
23398 wxWindow *result;
23399 PyObject * obj0 = 0 ;
23400 char *kwnames[] = {
23401 (char *) "self", NULL
23402 };
23403
23404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDefaultItem",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23405 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23406 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23407 {
23408 PyThreadState* __tstate = wxPyBeginAllowThreads();
23409 result = (wxWindow *)((wxWindow const *)arg1)->GetDefaultItem();
23410
23411 wxPyEndAllowThreads(__tstate);
23412 if (PyErr_Occurred()) SWIG_fail;
23413 }
23414 {
23415 resultobj = wxPyMake_wxObject(result);
23416 }
23417 return resultobj;
23418 fail:
23419 return NULL;
23420}
23421
23422
23423static PyObject *_wrap_Window_SetDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23424 PyObject *resultobj;
23425 wxWindow *arg1 = (wxWindow *) 0 ;
23426 wxWindow *arg2 = (wxWindow *) 0 ;
23427 wxWindow *result;
23428 PyObject * obj0 = 0 ;
23429 PyObject * obj1 = 0 ;
23430 char *kwnames[] = {
23431 (char *) "self",(char *) "child", NULL
23432 };
23433
23434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDefaultItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23437 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23439 {
23440 PyThreadState* __tstate = wxPyBeginAllowThreads();
23441 result = (wxWindow *)(arg1)->SetDefaultItem(arg2);
23442
23443 wxPyEndAllowThreads(__tstate);
23444 if (PyErr_Occurred()) SWIG_fail;
23445 }
23446 {
23447 resultobj = wxPyMake_wxObject(result);
23448 }
23449 return resultobj;
23450 fail:
23451 return NULL;
23452}
23453
23454
23455static PyObject *_wrap_Window_SetTmpDefaultItem(PyObject *self, PyObject *args, PyObject *kwargs) {
23456 PyObject *resultobj;
23457 wxWindow *arg1 = (wxWindow *) 0 ;
23458 wxWindow *arg2 = (wxWindow *) 0 ;
23459 PyObject * obj0 = 0 ;
23460 PyObject * obj1 = 0 ;
23461 char *kwnames[] = {
23462 (char *) "self",(char *) "win", NULL
23463 };
23464
23465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetTmpDefaultItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23466 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23467 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23468 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23470 {
23471 PyThreadState* __tstate = wxPyBeginAllowThreads();
23472 (arg1)->SetTmpDefaultItem(arg2);
23473
23474 wxPyEndAllowThreads(__tstate);
23475 if (PyErr_Occurred()) SWIG_fail;
23476 }
23477 Py_INCREF(Py_None); resultobj = Py_None;
23478 return resultobj;
23479 fail:
23480 return NULL;
23481}
23482
23483
23484static PyObject *_wrap_Window_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23485 PyObject *resultobj;
23486 wxWindow *arg1 = (wxWindow *) 0 ;
23487 PyObject *result;
23488 PyObject * obj0 = 0 ;
23489 char *kwnames[] = {
23490 (char *) "self", NULL
23491 };
23492
23493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23494 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23496 {
23497 PyThreadState* __tstate = wxPyBeginAllowThreads();
23498 result = (PyObject *)wxWindow_GetChildren(arg1);
23499
23500 wxPyEndAllowThreads(__tstate);
23501 if (PyErr_Occurred()) SWIG_fail;
23502 }
23503 resultobj = result;
23504 return resultobj;
23505 fail:
23506 return NULL;
23507}
23508
23509
23510static PyObject *_wrap_Window_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
23511 PyObject *resultobj;
23512 wxWindow *arg1 = (wxWindow *) 0 ;
23513 wxWindow *result;
23514 PyObject * obj0 = 0 ;
23515 char *kwnames[] = {
23516 (char *) "self", NULL
23517 };
23518
23519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23522 {
23523 PyThreadState* __tstate = wxPyBeginAllowThreads();
23524 result = (wxWindow *)((wxWindow const *)arg1)->GetParent();
23525
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 {
23530 resultobj = wxPyMake_wxObject(result);
23531 }
23532 return resultobj;
23533 fail:
23534 return NULL;
23535}
23536
23537
23538static PyObject *_wrap_Window_GetGrandParent(PyObject *self, PyObject *args, PyObject *kwargs) {
23539 PyObject *resultobj;
23540 wxWindow *arg1 = (wxWindow *) 0 ;
23541 wxWindow *result;
23542 PyObject * obj0 = 0 ;
23543 char *kwnames[] = {
23544 (char *) "self", NULL
23545 };
23546
23547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetGrandParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23550 {
23551 PyThreadState* __tstate = wxPyBeginAllowThreads();
23552 result = (wxWindow *)((wxWindow const *)arg1)->GetGrandParent();
23553
23554 wxPyEndAllowThreads(__tstate);
23555 if (PyErr_Occurred()) SWIG_fail;
23556 }
23557 {
23558 resultobj = wxPyMake_wxObject(result);
23559 }
23560 return resultobj;
23561 fail:
23562 return NULL;
23563}
23564
23565
23566static PyObject *_wrap_Window_IsTopLevel(PyObject *self, PyObject *args, PyObject *kwargs) {
23567 PyObject *resultobj;
23568 wxWindow *arg1 = (wxWindow *) 0 ;
23569 bool result;
23570 PyObject * obj0 = 0 ;
23571 char *kwnames[] = {
23572 (char *) "self", NULL
23573 };
23574
23575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_IsTopLevel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23576 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23577 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23578 {
23579 PyThreadState* __tstate = wxPyBeginAllowThreads();
23580 result = (bool)((wxWindow const *)arg1)->IsTopLevel();
23581
23582 wxPyEndAllowThreads(__tstate);
23583 if (PyErr_Occurred()) SWIG_fail;
23584 }
4e760a36 23585 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23586 return resultobj;
23587 fail:
23588 return NULL;
23589}
23590
23591
23592static PyObject *_wrap_Window_Reparent(PyObject *self, PyObject *args, PyObject *kwargs) {
23593 PyObject *resultobj;
23594 wxWindow *arg1 = (wxWindow *) 0 ;
23595 wxWindow *arg2 = (wxWindow *) 0 ;
23596 bool result;
23597 PyObject * obj0 = 0 ;
23598 PyObject * obj1 = 0 ;
23599 char *kwnames[] = {
23600 (char *) "self",(char *) "newParent", NULL
23601 };
23602
23603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_Reparent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23606 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23607 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23608 {
23609 PyThreadState* __tstate = wxPyBeginAllowThreads();
23610 result = (bool)(arg1)->Reparent(arg2);
23611
23612 wxPyEndAllowThreads(__tstate);
23613 if (PyErr_Occurred()) SWIG_fail;
23614 }
4e760a36 23615 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23616 return resultobj;
23617 fail:
23618 return NULL;
23619}
23620
23621
23622static PyObject *_wrap_Window_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23623 PyObject *resultobj;
23624 wxWindow *arg1 = (wxWindow *) 0 ;
23625 wxWindow *arg2 = (wxWindow *) 0 ;
23626 PyObject * obj0 = 0 ;
23627 PyObject * obj1 = 0 ;
23628 char *kwnames[] = {
23629 (char *) "self",(char *) "child", NULL
23630 };
23631
23632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_AddChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23635 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23636 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 (arg1)->AddChild(arg2);
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 Py_INCREF(Py_None); resultobj = Py_None;
23645 return resultobj;
23646 fail:
23647 return NULL;
23648}
23649
23650
23651static PyObject *_wrap_Window_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23652 PyObject *resultobj;
23653 wxWindow *arg1 = (wxWindow *) 0 ;
23654 wxWindow *arg2 = (wxWindow *) 0 ;
23655 PyObject * obj0 = 0 ;
23656 PyObject * obj1 = 0 ;
23657 char *kwnames[] = {
23658 (char *) "self",(char *) "child", NULL
23659 };
23660
23661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23664 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
23665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23666 {
23667 PyThreadState* __tstate = wxPyBeginAllowThreads();
23668 (arg1)->RemoveChild(arg2);
23669
23670 wxPyEndAllowThreads(__tstate);
23671 if (PyErr_Occurred()) SWIG_fail;
23672 }
23673 Py_INCREF(Py_None); resultobj = Py_None;
23674 return resultobj;
23675 fail:
23676 return NULL;
23677}
23678
23679
23680static PyObject *_wrap_Window_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
23681 PyObject *resultobj;
23682 wxWindow *arg1 = (wxWindow *) 0 ;
23683 long arg2 ;
23684 wxWindow *result;
23685 PyObject * obj0 = 0 ;
8edf1c75 23686 PyObject * obj1 = 0 ;
d14a1e28
RD
23687 char *kwnames[] = {
23688 (char *) "self",(char *) "winid", NULL
23689 };
23690
8edf1c75 23691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23692 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23693 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23694 arg2 = (long) SWIG_AsLong(obj1);
23695 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23696 {
23697 PyThreadState* __tstate = wxPyBeginAllowThreads();
23698 result = (wxWindow *)(arg1)->FindWindow(arg2);
23699
23700 wxPyEndAllowThreads(__tstate);
23701 if (PyErr_Occurred()) SWIG_fail;
23702 }
23703 {
23704 resultobj = wxPyMake_wxObject(result);
23705 }
23706 return resultobj;
23707 fail:
23708 return NULL;
23709}
23710
23711
23712static PyObject *_wrap_Window_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
23713 PyObject *resultobj;
23714 wxWindow *arg1 = (wxWindow *) 0 ;
23715 wxString *arg2 = 0 ;
23716 wxWindow *result;
423f194a 23717 bool temp2 = False ;
d14a1e28
RD
23718 PyObject * obj0 = 0 ;
23719 PyObject * obj1 = 0 ;
23720 char *kwnames[] = {
23721 (char *) "self",(char *) "name", NULL
23722 };
23723
23724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23725 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23726 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23727 {
23728 arg2 = wxString_in_helper(obj1);
23729 if (arg2 == NULL) SWIG_fail;
423f194a 23730 temp2 = True;
d14a1e28
RD
23731 }
23732 {
23733 PyThreadState* __tstate = wxPyBeginAllowThreads();
23734 result = (wxWindow *)(arg1)->FindWindow((wxString const &)*arg2);
23735
23736 wxPyEndAllowThreads(__tstate);
23737 if (PyErr_Occurred()) SWIG_fail;
23738 }
23739 {
23740 resultobj = wxPyMake_wxObject(result);
23741 }
23742 {
23743 if (temp2)
23744 delete arg2;
23745 }
23746 return resultobj;
23747 fail:
23748 {
23749 if (temp2)
23750 delete arg2;
23751 }
23752 return NULL;
23753}
23754
23755
23756static PyObject *_wrap_Window_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
23757 PyObject *resultobj;
23758 wxWindow *arg1 = (wxWindow *) 0 ;
23759 wxEvtHandler *result;
23760 PyObject * obj0 = 0 ;
23761 char *kwnames[] = {
23762 (char *) "self", NULL
23763 };
23764
23765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetEventHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23766 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23767 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 result = (wxEvtHandler *)((wxWindow const *)arg1)->GetEventHandler();
23771
23772 wxPyEndAllowThreads(__tstate);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 }
23775 {
23776 resultobj = wxPyMake_wxObject(result);
23777 }
23778 return resultobj;
23779 fail:
23780 return NULL;
23781}
23782
23783
23784static PyObject *_wrap_Window_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
23785 PyObject *resultobj;
23786 wxWindow *arg1 = (wxWindow *) 0 ;
23787 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
23788 PyObject * obj0 = 0 ;
23789 PyObject * obj1 = 0 ;
23790 char *kwnames[] = {
23791 (char *) "self",(char *) "handler", NULL
23792 };
23793
23794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
23798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23799 {
23800 PyThreadState* __tstate = wxPyBeginAllowThreads();
23801 (arg1)->SetEventHandler(arg2);
23802
23803 wxPyEndAllowThreads(__tstate);
23804 if (PyErr_Occurred()) SWIG_fail;
23805 }
23806 Py_INCREF(Py_None); resultobj = Py_None;
23807 return resultobj;
23808 fail:
23809 return NULL;
23810}
23811
23812
23813static PyObject *_wrap_Window_PushEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
23814 PyObject *resultobj;
23815 wxWindow *arg1 = (wxWindow *) 0 ;
23816 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
23817 PyObject * obj0 = 0 ;
23818 PyObject * obj1 = 0 ;
23819 char *kwnames[] = {
23820 (char *) "self",(char *) "handler", NULL
23821 };
23822
23823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PushEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23824 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23825 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23826 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
23827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23828 {
23829 PyThreadState* __tstate = wxPyBeginAllowThreads();
23830 (arg1)->PushEventHandler(arg2);
23831
23832 wxPyEndAllowThreads(__tstate);
23833 if (PyErr_Occurred()) SWIG_fail;
23834 }
23835 Py_INCREF(Py_None); resultobj = Py_None;
23836 return resultobj;
23837 fail:
23838 return NULL;
23839}
23840
23841
23842static PyObject *_wrap_Window_PopEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
23843 PyObject *resultobj;
23844 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 23845 bool arg2 = (bool) False ;
d14a1e28
RD
23846 wxEvtHandler *result;
23847 PyObject * obj0 = 0 ;
23848 PyObject * obj1 = 0 ;
23849 char *kwnames[] = {
23850 (char *) "self",(char *) "deleteHandler", NULL
23851 };
23852
23853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_PopEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23854 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23855 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 23856 if (obj1) {
2f4c0a16
RD
23857 arg2 = (bool) SWIG_AsBool(obj1);
23858 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
23859 }
23860 {
23861 PyThreadState* __tstate = wxPyBeginAllowThreads();
23862 result = (wxEvtHandler *)(arg1)->PopEventHandler(arg2);
23863
23864 wxPyEndAllowThreads(__tstate);
23865 if (PyErr_Occurred()) SWIG_fail;
23866 }
23867 {
23868 resultobj = wxPyMake_wxObject(result);
23869 }
23870 return resultobj;
23871 fail:
23872 return NULL;
23873}
23874
23875
23876static PyObject *_wrap_Window_RemoveEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
23877 PyObject *resultobj;
23878 wxWindow *arg1 = (wxWindow *) 0 ;
23879 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
23880 bool result;
23881 PyObject * obj0 = 0 ;
23882 PyObject * obj1 = 0 ;
23883 char *kwnames[] = {
23884 (char *) "self",(char *) "handler", NULL
23885 };
23886
23887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RemoveEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23888 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23890 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
23891 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23892 {
23893 PyThreadState* __tstate = wxPyBeginAllowThreads();
23894 result = (bool)(arg1)->RemoveEventHandler(arg2);
23895
23896 wxPyEndAllowThreads(__tstate);
23897 if (PyErr_Occurred()) SWIG_fail;
23898 }
4e760a36 23899 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
23900 return resultobj;
23901 fail:
23902 return NULL;
23903}
23904
23905
23906static PyObject *_wrap_Window_SetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
23907 PyObject *resultobj;
23908 wxWindow *arg1 = (wxWindow *) 0 ;
23909 wxValidator *arg2 = 0 ;
23910 PyObject * obj0 = 0 ;
23911 PyObject * obj1 = 0 ;
23912 char *kwnames[] = {
23913 (char *) "self",(char *) "validator", NULL
23914 };
23915
23916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetValidator",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23919 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxValidator,
23920 SWIG_POINTER_EXCEPTION | 0)) == -1)
23921 SWIG_fail;
d14a1e28 23922 if (arg2 == NULL) {
2f4c0a16
RD
23923 PyErr_SetString(PyExc_TypeError,"null reference");
23924 SWIG_fail;
d14a1e28
RD
23925 }
23926 {
23927 PyThreadState* __tstate = wxPyBeginAllowThreads();
23928 (arg1)->SetValidator((wxValidator const &)*arg2);
23929
23930 wxPyEndAllowThreads(__tstate);
23931 if (PyErr_Occurred()) SWIG_fail;
23932 }
23933 Py_INCREF(Py_None); resultobj = Py_None;
23934 return resultobj;
23935 fail:
23936 return NULL;
23937}
23938
23939
23940static PyObject *_wrap_Window_GetValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
23941 PyObject *resultobj;
23942 wxWindow *arg1 = (wxWindow *) 0 ;
23943 wxValidator *result;
23944 PyObject * obj0 = 0 ;
23945 char *kwnames[] = {
23946 (char *) "self", NULL
23947 };
23948
23949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetValidator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
23950 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23951 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
23952 {
23953 PyThreadState* __tstate = wxPyBeginAllowThreads();
23954 result = (wxValidator *)(arg1)->GetValidator();
23955
23956 wxPyEndAllowThreads(__tstate);
23957 if (PyErr_Occurred()) SWIG_fail;
23958 }
23959 {
23960 resultobj = wxPyMake_wxObject(result);
23961 }
23962 return resultobj;
23963 fail:
23964 return NULL;
23965}
23966
23967
23968static PyObject *_wrap_Window_SetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
23969 PyObject *resultobj;
23970 wxWindow *arg1 = (wxWindow *) 0 ;
23971 wxAcceleratorTable *arg2 = 0 ;
23972 PyObject * obj0 = 0 ;
23973 PyObject * obj1 = 0 ;
23974 char *kwnames[] = {
23975 (char *) "self",(char *) "accel", NULL
23976 };
23977
23978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAcceleratorTable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
23979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
23980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
23981 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorTable,
23982 SWIG_POINTER_EXCEPTION | 0)) == -1)
23983 SWIG_fail;
d14a1e28 23984 if (arg2 == NULL) {
2f4c0a16
RD
23985 PyErr_SetString(PyExc_TypeError,"null reference");
23986 SWIG_fail;
d14a1e28
RD
23987 }
23988 {
23989 PyThreadState* __tstate = wxPyBeginAllowThreads();
23990 (arg1)->SetAcceleratorTable((wxAcceleratorTable const &)*arg2);
23991
23992 wxPyEndAllowThreads(__tstate);
23993 if (PyErr_Occurred()) SWIG_fail;
23994 }
23995 Py_INCREF(Py_None); resultobj = Py_None;
23996 return resultobj;
23997 fail:
23998 return NULL;
23999}
24000
24001
24002static PyObject *_wrap_Window_GetAcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
24003 PyObject *resultobj;
24004 wxWindow *arg1 = (wxWindow *) 0 ;
24005 wxAcceleratorTable *result;
24006 PyObject * obj0 = 0 ;
24007 char *kwnames[] = {
24008 (char *) "self", NULL
24009 };
24010
24011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAcceleratorTable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24012 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24013 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24014 {
24015 PyThreadState* __tstate = wxPyBeginAllowThreads();
24016 result = (wxAcceleratorTable *)(arg1)->GetAcceleratorTable();
24017
24018 wxPyEndAllowThreads(__tstate);
24019 if (PyErr_Occurred()) SWIG_fail;
24020 }
2f4c0a16 24021 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorTable, 0);
d14a1e28
RD
24022 return resultobj;
24023 fail:
24024 return NULL;
24025}
24026
24027
24028static PyObject *_wrap_Window_RegisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
24029 PyObject *resultobj;
24030 wxWindow *arg1 = (wxWindow *) 0 ;
24031 int arg2 ;
24032 int arg3 ;
24033 int arg4 ;
24034 bool result;
24035 PyObject * obj0 = 0 ;
8edf1c75
RD
24036 PyObject * obj1 = 0 ;
24037 PyObject * obj2 = 0 ;
24038 PyObject * obj3 = 0 ;
d14a1e28
RD
24039 char *kwnames[] = {
24040 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24041 };
24042
8edf1c75 24043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_RegisterHotKey",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
24044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24046 arg2 = (int) SWIG_AsInt(obj1);
24047 if (PyErr_Occurred()) SWIG_fail;
24048 arg3 = (int) SWIG_AsInt(obj2);
24049 if (PyErr_Occurred()) SWIG_fail;
24050 arg4 = (int) SWIG_AsInt(obj3);
24051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24052 {
24053 PyThreadState* __tstate = wxPyBeginAllowThreads();
24054 result = (bool)wxWindow_RegisterHotKey(arg1,arg2,arg3,arg4);
24055
24056 wxPyEndAllowThreads(__tstate);
24057 if (PyErr_Occurred()) SWIG_fail;
24058 }
4e760a36 24059 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24060 return resultobj;
24061 fail:
24062 return NULL;
24063}
24064
24065
24066static PyObject *_wrap_Window_UnregisterHotKey(PyObject *self, PyObject *args, PyObject *kwargs) {
24067 PyObject *resultobj;
24068 wxWindow *arg1 = (wxWindow *) 0 ;
24069 int arg2 ;
24070 bool result;
24071 PyObject * obj0 = 0 ;
8edf1c75 24072 PyObject * obj1 = 0 ;
d14a1e28
RD
24073 char *kwnames[] = {
24074 (char *) "self",(char *) "hotkeyId", NULL
24075 };
24076
8edf1c75 24077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_UnregisterHotKey",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24080 arg2 = (int) SWIG_AsInt(obj1);
24081 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24082 {
24083 PyThreadState* __tstate = wxPyBeginAllowThreads();
24084 result = (bool)wxWindow_UnregisterHotKey(arg1,arg2);
24085
24086 wxPyEndAllowThreads(__tstate);
24087 if (PyErr_Occurred()) SWIG_fail;
24088 }
4e760a36 24089 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24090 return resultobj;
24091 fail:
24092 return NULL;
24093}
24094
24095
24096static PyObject *_wrap_Window_ConvertDialogPointToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
24097 PyObject *resultobj;
24098 wxWindow *arg1 = (wxWindow *) 0 ;
24099 wxPoint *arg2 = 0 ;
24100 wxPoint result;
24101 wxPoint temp2 ;
24102 PyObject * obj0 = 0 ;
24103 PyObject * obj1 = 0 ;
24104 char *kwnames[] = {
24105 (char *) "self",(char *) "pt", NULL
24106 };
24107
24108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames,&obj0,&obj1)) 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 arg2 = &temp2;
24113 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24114 }
24115 {
24116 PyThreadState* __tstate = wxPyBeginAllowThreads();
24117 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
24118
24119 wxPyEndAllowThreads(__tstate);
24120 if (PyErr_Occurred()) SWIG_fail;
24121 }
24122 {
24123 wxPoint * resultptr;
24124 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 24125 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24126 }
24127 return resultobj;
24128 fail:
24129 return NULL;
24130}
24131
24132
24133static PyObject *_wrap_Window_ConvertDialogSizeToPixels(PyObject *self, PyObject *args, PyObject *kwargs) {
24134 PyObject *resultobj;
24135 wxWindow *arg1 = (wxWindow *) 0 ;
24136 wxSize *arg2 = 0 ;
24137 wxSize result;
24138 wxSize temp2 ;
24139 PyObject * obj0 = 0 ;
24140 PyObject * obj1 = 0 ;
24141 char *kwnames[] = {
24142 (char *) "self",(char *) "sz", NULL
24143 };
24144
24145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24146 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24147 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24148 {
24149 arg2 = &temp2;
24150 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24151 }
24152 {
24153 PyThreadState* __tstate = wxPyBeginAllowThreads();
24154 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
24155
24156 wxPyEndAllowThreads(__tstate);
24157 if (PyErr_Occurred()) SWIG_fail;
24158 }
24159 {
24160 wxSize * resultptr;
24161 resultptr = new wxSize((wxSize &) result);
2f4c0a16 24162 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24163 }
24164 return resultobj;
24165 fail:
24166 return NULL;
24167}
24168
24169
24170static PyObject *_wrap_Window_DLG_PNT(PyObject *self, PyObject *args, PyObject *kwargs) {
24171 PyObject *resultobj;
24172 wxWindow *arg1 = (wxWindow *) 0 ;
24173 wxPoint *arg2 = 0 ;
24174 wxPoint result;
24175 wxPoint temp2 ;
24176 PyObject * obj0 = 0 ;
24177 PyObject * obj1 = 0 ;
24178 char *kwnames[] = {
24179 (char *) "self",(char *) "pt", NULL
24180 };
24181
24182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_PNT",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24183 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24184 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24185 {
24186 arg2 = &temp2;
24187 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24188 }
24189 {
24190 PyThreadState* __tstate = wxPyBeginAllowThreads();
24191 result = (arg1)->ConvertDialogToPixels((wxPoint const &)*arg2);
24192
24193 wxPyEndAllowThreads(__tstate);
24194 if (PyErr_Occurred()) SWIG_fail;
24195 }
24196 {
24197 wxPoint * resultptr;
24198 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 24199 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24200 }
24201 return resultobj;
24202 fail:
24203 return NULL;
24204}
24205
24206
24207static PyObject *_wrap_Window_DLG_SZE(PyObject *self, PyObject *args, PyObject *kwargs) {
24208 PyObject *resultobj;
24209 wxWindow *arg1 = (wxWindow *) 0 ;
24210 wxSize *arg2 = 0 ;
24211 wxSize result;
24212 wxSize temp2 ;
24213 PyObject * obj0 = 0 ;
24214 PyObject * obj1 = 0 ;
24215 char *kwnames[] = {
24216 (char *) "self",(char *) "sz", NULL
24217 };
24218
24219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DLG_SZE",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24220 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24221 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24222 {
24223 arg2 = &temp2;
24224 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24225 }
24226 {
24227 PyThreadState* __tstate = wxPyBeginAllowThreads();
24228 result = (arg1)->ConvertDialogToPixels((wxSize const &)*arg2);
24229
24230 wxPyEndAllowThreads(__tstate);
24231 if (PyErr_Occurred()) SWIG_fail;
24232 }
24233 {
24234 wxSize * resultptr;
24235 resultptr = new wxSize((wxSize &) result);
2f4c0a16 24236 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24237 }
24238 return resultobj;
24239 fail:
24240 return NULL;
24241}
24242
24243
24244static PyObject *_wrap_Window_ConvertPixelPointToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24245 PyObject *resultobj;
24246 wxWindow *arg1 = (wxWindow *) 0 ;
24247 wxPoint *arg2 = 0 ;
24248 wxPoint result;
24249 wxPoint temp2 ;
24250 PyObject * obj0 = 0 ;
24251 PyObject * obj1 = 0 ;
24252 char *kwnames[] = {
24253 (char *) "self",(char *) "pt", NULL
24254 };
24255
24256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24259 {
24260 arg2 = &temp2;
24261 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24262 }
24263 {
24264 PyThreadState* __tstate = wxPyBeginAllowThreads();
24265 result = (arg1)->ConvertPixelsToDialog((wxPoint const &)*arg2);
24266
24267 wxPyEndAllowThreads(__tstate);
24268 if (PyErr_Occurred()) SWIG_fail;
24269 }
24270 {
24271 wxPoint * resultptr;
24272 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 24273 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
24274 }
24275 return resultobj;
24276 fail:
24277 return NULL;
24278}
24279
24280
24281static PyObject *_wrap_Window_ConvertPixelSizeToDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24282 PyObject *resultobj;
24283 wxWindow *arg1 = (wxWindow *) 0 ;
24284 wxSize *arg2 = 0 ;
24285 wxSize result;
24286 wxSize temp2 ;
24287 PyObject * obj0 = 0 ;
24288 PyObject * obj1 = 0 ;
24289 char *kwnames[] = {
24290 (char *) "self",(char *) "sz", NULL
24291 };
24292
24293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24294 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24295 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24296 {
24297 arg2 = &temp2;
24298 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
24299 }
24300 {
24301 PyThreadState* __tstate = wxPyBeginAllowThreads();
24302 result = (arg1)->ConvertPixelsToDialog((wxSize const &)*arg2);
24303
24304 wxPyEndAllowThreads(__tstate);
24305 if (PyErr_Occurred()) SWIG_fail;
24306 }
24307 {
24308 wxSize * resultptr;
24309 resultptr = new wxSize((wxSize &) result);
2f4c0a16 24310 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
24311 }
24312 return resultobj;
24313 fail:
24314 return NULL;
24315}
24316
24317
24318static PyObject *_wrap_Window_WarpPointer(PyObject *self, PyObject *args, PyObject *kwargs) {
24319 PyObject *resultobj;
24320 wxWindow *arg1 = (wxWindow *) 0 ;
24321 int arg2 ;
24322 int arg3 ;
24323 PyObject * obj0 = 0 ;
8edf1c75
RD
24324 PyObject * obj1 = 0 ;
24325 PyObject * obj2 = 0 ;
d14a1e28
RD
24326 char *kwnames[] = {
24327 (char *) "self",(char *) "x",(char *) "y", NULL
24328 };
24329
8edf1c75 24330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_WarpPointer",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24331 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24332 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24333 arg2 = (int) SWIG_AsInt(obj1);
24334 if (PyErr_Occurred()) SWIG_fail;
24335 arg3 = (int) SWIG_AsInt(obj2);
24336 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24337 {
24338 PyThreadState* __tstate = wxPyBeginAllowThreads();
24339 (arg1)->WarpPointer(arg2,arg3);
24340
24341 wxPyEndAllowThreads(__tstate);
24342 if (PyErr_Occurred()) SWIG_fail;
24343 }
24344 Py_INCREF(Py_None); resultobj = Py_None;
24345 return resultobj;
24346 fail:
24347 return NULL;
24348}
24349
24350
24351static PyObject *_wrap_Window_CaptureMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
24352 PyObject *resultobj;
24353 wxWindow *arg1 = (wxWindow *) 0 ;
24354 PyObject * obj0 = 0 ;
24355 char *kwnames[] = {
24356 (char *) "self", NULL
24357 };
24358
24359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_CaptureMouse",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24362 {
24363 PyThreadState* __tstate = wxPyBeginAllowThreads();
24364 (arg1)->CaptureMouse();
24365
24366 wxPyEndAllowThreads(__tstate);
24367 if (PyErr_Occurred()) SWIG_fail;
24368 }
24369 Py_INCREF(Py_None); resultobj = Py_None;
24370 return resultobj;
24371 fail:
24372 return NULL;
24373}
24374
24375
24376static PyObject *_wrap_Window_ReleaseMouse(PyObject *self, PyObject *args, PyObject *kwargs) {
24377 PyObject *resultobj;
24378 wxWindow *arg1 = (wxWindow *) 0 ;
24379 PyObject * obj0 = 0 ;
24380 char *kwnames[] = {
24381 (char *) "self", NULL
24382 };
24383
24384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ReleaseMouse",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24385 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24386 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24387 {
24388 PyThreadState* __tstate = wxPyBeginAllowThreads();
24389 (arg1)->ReleaseMouse();
24390
24391 wxPyEndAllowThreads(__tstate);
24392 if (PyErr_Occurred()) SWIG_fail;
24393 }
24394 Py_INCREF(Py_None); resultobj = Py_None;
24395 return resultobj;
24396 fail:
24397 return NULL;
24398}
24399
24400
24401static PyObject *_wrap_Window_GetCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
24402 PyObject *resultobj;
24403 wxWindow *result;
24404 char *kwnames[] = {
24405 NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Window_GetCapture",kwnames)) goto fail;
24409 {
24410 PyThreadState* __tstate = wxPyBeginAllowThreads();
24411 result = (wxWindow *)wxWindow::GetCapture();
24412
24413 wxPyEndAllowThreads(__tstate);
24414 if (PyErr_Occurred()) SWIG_fail;
24415 }
24416 {
24417 resultobj = wxPyMake_wxObject(result);
24418 }
24419 return resultobj;
24420 fail:
24421 return NULL;
24422}
24423
24424
24425static PyObject *_wrap_Window_HasCapture(PyObject *self, PyObject *args, PyObject *kwargs) {
24426 PyObject *resultobj;
24427 wxWindow *arg1 = (wxWindow *) 0 ;
24428 bool result;
24429 PyObject * obj0 = 0 ;
24430 char *kwnames[] = {
24431 (char *) "self", NULL
24432 };
24433
24434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_HasCapture",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24435 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24436 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24437 {
24438 PyThreadState* __tstate = wxPyBeginAllowThreads();
24439 result = (bool)((wxWindow const *)arg1)->HasCapture();
24440
24441 wxPyEndAllowThreads(__tstate);
24442 if (PyErr_Occurred()) SWIG_fail;
24443 }
4e760a36 24444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24445 return resultobj;
24446 fail:
24447 return NULL;
24448}
24449
24450
24451static PyObject *_wrap_Window_Refresh(PyObject *self, PyObject *args, PyObject *kwargs) {
24452 PyObject *resultobj;
24453 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 24454 bool arg2 = (bool) True ;
d14a1e28
RD
24455 wxRect *arg3 = (wxRect *) NULL ;
24456 PyObject * obj0 = 0 ;
24457 PyObject * obj1 = 0 ;
24458 PyObject * obj2 = 0 ;
24459 char *kwnames[] = {
24460 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24461 };
24462
24463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:Window_Refresh",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
24464 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24465 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 24466 if (obj1) {
2f4c0a16
RD
24467 arg2 = (bool) SWIG_AsBool(obj1);
24468 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
24469 }
24470 if (obj2) {
2f4c0a16
RD
24471 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxRect,
24472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24473 }
24474 {
24475 PyThreadState* __tstate = wxPyBeginAllowThreads();
24476 (arg1)->Refresh(arg2,(wxRect const *)arg3);
24477
24478 wxPyEndAllowThreads(__tstate);
24479 if (PyErr_Occurred()) SWIG_fail;
24480 }
24481 Py_INCREF(Py_None); resultobj = Py_None;
24482 return resultobj;
24483 fail:
24484 return NULL;
24485}
24486
24487
24488static PyObject *_wrap_Window_RefreshRect(PyObject *self, PyObject *args, PyObject *kwargs) {
24489 PyObject *resultobj;
24490 wxWindow *arg1 = (wxWindow *) 0 ;
24491 wxRect *arg2 = 0 ;
24492 wxRect temp2 ;
24493 PyObject * obj0 = 0 ;
24494 PyObject * obj1 = 0 ;
24495 char *kwnames[] = {
24496 (char *) "self",(char *) "rect", NULL
24497 };
24498
24499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_RefreshRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24500 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24501 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24502 {
24503 arg2 = &temp2;
24504 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
24505 }
24506 {
24507 PyThreadState* __tstate = wxPyBeginAllowThreads();
24508 (arg1)->RefreshRect((wxRect const &)*arg2);
24509
24510 wxPyEndAllowThreads(__tstate);
24511 if (PyErr_Occurred()) SWIG_fail;
24512 }
24513 Py_INCREF(Py_None); resultobj = Py_None;
24514 return resultobj;
24515 fail:
24516 return NULL;
24517}
24518
24519
24520static PyObject *_wrap_Window_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
24521 PyObject *resultobj;
24522 wxWindow *arg1 = (wxWindow *) 0 ;
24523 PyObject * obj0 = 0 ;
24524 char *kwnames[] = {
24525 (char *) "self", NULL
24526 };
24527
24528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Update",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24529 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24530 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24531 {
24532 PyThreadState* __tstate = wxPyBeginAllowThreads();
24533 (arg1)->Update();
24534
24535 wxPyEndAllowThreads(__tstate);
24536 if (PyErr_Occurred()) SWIG_fail;
24537 }
24538 Py_INCREF(Py_None); resultobj = Py_None;
24539 return resultobj;
24540 fail:
24541 return NULL;
24542}
24543
24544
24545static PyObject *_wrap_Window_ClearBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
24546 PyObject *resultobj;
24547 wxWindow *arg1 = (wxWindow *) 0 ;
24548 PyObject * obj0 = 0 ;
24549 char *kwnames[] = {
24550 (char *) "self", NULL
24551 };
24552
24553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_ClearBackground",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24554 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24555 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24556 {
24557 PyThreadState* __tstate = wxPyBeginAllowThreads();
24558 (arg1)->ClearBackground();
24559
24560 wxPyEndAllowThreads(__tstate);
24561 if (PyErr_Occurred()) SWIG_fail;
24562 }
24563 Py_INCREF(Py_None); resultobj = Py_None;
24564 return resultobj;
24565 fail:
24566 return NULL;
24567}
24568
24569
24570static PyObject *_wrap_Window_Freeze(PyObject *self, PyObject *args, PyObject *kwargs) {
24571 PyObject *resultobj;
24572 wxWindow *arg1 = (wxWindow *) 0 ;
24573 PyObject * obj0 = 0 ;
24574 char *kwnames[] = {
24575 (char *) "self", NULL
24576 };
24577
24578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Freeze",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24581 {
24582 PyThreadState* __tstate = wxPyBeginAllowThreads();
24583 (arg1)->Freeze();
24584
24585 wxPyEndAllowThreads(__tstate);
24586 if (PyErr_Occurred()) SWIG_fail;
24587 }
24588 Py_INCREF(Py_None); resultobj = Py_None;
24589 return resultobj;
24590 fail:
24591 return NULL;
24592}
24593
24594
24595static PyObject *_wrap_Window_Thaw(PyObject *self, PyObject *args, PyObject *kwargs) {
24596 PyObject *resultobj;
24597 wxWindow *arg1 = (wxWindow *) 0 ;
24598 PyObject * obj0 = 0 ;
24599 char *kwnames[] = {
24600 (char *) "self", NULL
24601 };
24602
24603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Thaw",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24604 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24605 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24606 {
24607 PyThreadState* __tstate = wxPyBeginAllowThreads();
24608 (arg1)->Thaw();
24609
24610 wxPyEndAllowThreads(__tstate);
24611 if (PyErr_Occurred()) SWIG_fail;
24612 }
24613 Py_INCREF(Py_None); resultobj = Py_None;
24614 return resultobj;
24615 fail:
24616 return NULL;
24617}
24618
24619
24620static PyObject *_wrap_Window_PrepareDC(PyObject *self, PyObject *args, PyObject *kwargs) {
24621 PyObject *resultobj;
24622 wxWindow *arg1 = (wxWindow *) 0 ;
24623 wxDC *arg2 = 0 ;
24624 PyObject * obj0 = 0 ;
24625 PyObject * obj1 = 0 ;
24626 char *kwnames[] = {
24627 (char *) "self",(char *) "dc", NULL
24628 };
24629
24630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_PrepareDC",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24633 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxDC,
24634 SWIG_POINTER_EXCEPTION | 0)) == -1)
24635 SWIG_fail;
d14a1e28 24636 if (arg2 == NULL) {
2f4c0a16
RD
24637 PyErr_SetString(PyExc_TypeError,"null reference");
24638 SWIG_fail;
d14a1e28
RD
24639 }
24640 {
24641 PyThreadState* __tstate = wxPyBeginAllowThreads();
24642 (arg1)->PrepareDC(*arg2);
24643
24644 wxPyEndAllowThreads(__tstate);
24645 if (PyErr_Occurred()) SWIG_fail;
24646 }
24647 Py_INCREF(Py_None); resultobj = Py_None;
24648 return resultobj;
24649 fail:
24650 return NULL;
24651}
24652
24653
24654static PyObject *_wrap_Window_GetUpdateRegion(PyObject *self, PyObject *args, PyObject *kwargs) {
24655 PyObject *resultobj;
24656 wxWindow *arg1 = (wxWindow *) 0 ;
24657 wxRegion *result;
24658 PyObject * obj0 = 0 ;
24659 char *kwnames[] = {
24660 (char *) "self", NULL
24661 };
24662
24663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateRegion",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24664 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24665 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24666 {
24667 PyThreadState* __tstate = wxPyBeginAllowThreads();
24668 {
24669 wxRegion &_result_ref = (arg1)->GetUpdateRegion();
24670 result = (wxRegion *) &_result_ref;
24671 }
24672
24673 wxPyEndAllowThreads(__tstate);
24674 if (PyErr_Occurred()) SWIG_fail;
24675 }
2f4c0a16 24676 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxRegion, 0);
d14a1e28
RD
24677 return resultobj;
24678 fail:
24679 return NULL;
24680}
24681
24682
24683static PyObject *_wrap_Window_GetUpdateClientRect(PyObject *self, PyObject *args, PyObject *kwargs) {
24684 PyObject *resultobj;
24685 wxWindow *arg1 = (wxWindow *) 0 ;
24686 wxRect result;
24687 PyObject * obj0 = 0 ;
24688 char *kwnames[] = {
24689 (char *) "self", NULL
24690 };
24691
24692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetUpdateClientRect",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24693 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24694 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24695 {
24696 PyThreadState* __tstate = wxPyBeginAllowThreads();
24697 result = ((wxWindow const *)arg1)->GetUpdateClientRect();
24698
24699 wxPyEndAllowThreads(__tstate);
24700 if (PyErr_Occurred()) SWIG_fail;
24701 }
24702 {
24703 wxRect * resultptr;
24704 resultptr = new wxRect((wxRect &) result);
2f4c0a16 24705 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxRect, 1);
d14a1e28
RD
24706 }
24707 return resultobj;
24708 fail:
24709 return NULL;
24710}
24711
24712
24713static PyObject *_wrap_Window_IsExposed(PyObject *self, PyObject *args, PyObject *kwargs) {
24714 PyObject *resultobj;
24715 wxWindow *arg1 = (wxWindow *) 0 ;
24716 int arg2 ;
24717 int arg3 ;
24718 int arg4 = (int) 1 ;
24719 int arg5 = (int) 1 ;
24720 bool result;
24721 PyObject * obj0 = 0 ;
8edf1c75
RD
24722 PyObject * obj1 = 0 ;
24723 PyObject * obj2 = 0 ;
24724 PyObject * obj3 = 0 ;
24725 PyObject * obj4 = 0 ;
d14a1e28
RD
24726 char *kwnames[] = {
24727 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24728 };
24729
8edf1c75 24730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Window_IsExposed",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
24731 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24732 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24733 arg2 = (int) SWIG_AsInt(obj1);
24734 if (PyErr_Occurred()) SWIG_fail;
24735 arg3 = (int) SWIG_AsInt(obj2);
24736 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24737 if (obj3) {
2f4c0a16
RD
24738 arg4 = (int) SWIG_AsInt(obj3);
24739 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
24740 }
24741 if (obj4) {
2f4c0a16
RD
24742 arg5 = (int) SWIG_AsInt(obj4);
24743 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 24744 }
d14a1e28
RD
24745 {
24746 PyThreadState* __tstate = wxPyBeginAllowThreads();
24747 result = (bool)((wxWindow const *)arg1)->IsExposed(arg2,arg3,arg4,arg5);
24748
24749 wxPyEndAllowThreads(__tstate);
24750 if (PyErr_Occurred()) SWIG_fail;
24751 }
4e760a36 24752 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24753 return resultobj;
24754 fail:
24755 return NULL;
24756}
24757
24758
24759static PyObject *_wrap_Window_IsExposedPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
24760 PyObject *resultobj;
24761 wxWindow *arg1 = (wxWindow *) 0 ;
24762 wxPoint *arg2 = 0 ;
24763 bool result;
24764 wxPoint temp2 ;
24765 PyObject * obj0 = 0 ;
24766 PyObject * obj1 = 0 ;
24767 char *kwnames[] = {
24768 (char *) "self",(char *) "pt", NULL
24769 };
24770
24771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24774 {
24775 arg2 = &temp2;
24776 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24777 }
24778 {
24779 PyThreadState* __tstate = wxPyBeginAllowThreads();
24780 result = (bool)((wxWindow const *)arg1)->IsExposed((wxPoint const &)*arg2);
24781
24782 wxPyEndAllowThreads(__tstate);
24783 if (PyErr_Occurred()) SWIG_fail;
24784 }
4e760a36 24785 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24786 return resultobj;
24787 fail:
24788 return NULL;
24789}
24790
24791
fe763115 24792static PyObject *_wrap_Window_IsExposedRect(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
24793 PyObject *resultobj;
24794 wxWindow *arg1 = (wxWindow *) 0 ;
24795 wxRect *arg2 = 0 ;
24796 bool result;
24797 wxRect temp2 ;
24798 PyObject * obj0 = 0 ;
24799 PyObject * obj1 = 0 ;
24800 char *kwnames[] = {
24801 (char *) "self",(char *) "rect", NULL
24802 };
24803
fe763115 24804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_IsExposedRect",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24807 {
24808 arg2 = &temp2;
24809 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
24810 }
24811 {
24812 PyThreadState* __tstate = wxPyBeginAllowThreads();
24813 result = (bool)((wxWindow const *)arg1)->IsExposed((wxRect const &)*arg2);
24814
24815 wxPyEndAllowThreads(__tstate);
24816 if (PyErr_Occurred()) SWIG_fail;
24817 }
4e760a36 24818 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24819 return resultobj;
24820 fail:
24821 return NULL;
24822}
24823
24824
24825static PyObject *_wrap_Window_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24826 PyObject *resultobj;
24827 wxWindow *arg1 = (wxWindow *) 0 ;
24828 wxColour *arg2 = 0 ;
24829 bool result;
24830 wxColour temp2 ;
24831 PyObject * obj0 = 0 ;
24832 PyObject * obj1 = 0 ;
24833 char *kwnames[] = {
24834 (char *) "self",(char *) "colour", NULL
24835 };
24836
24837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24838 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24839 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24840 {
24841 arg2 = &temp2;
24842 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24843 }
24844 {
24845 PyThreadState* __tstate = wxPyBeginAllowThreads();
24846 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
24847
24848 wxPyEndAllowThreads(__tstate);
24849 if (PyErr_Occurred()) SWIG_fail;
24850 }
4e760a36 24851 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24852 return resultobj;
24853 fail:
24854 return NULL;
24855}
24856
24857
24858static PyObject *_wrap_Window_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24859 PyObject *resultobj;
24860 wxWindow *arg1 = (wxWindow *) 0 ;
24861 wxColour *arg2 = 0 ;
24862 bool result;
24863 wxColour temp2 ;
24864 PyObject * obj0 = 0 ;
24865 PyObject * obj1 = 0 ;
24866 char *kwnames[] = {
24867 (char *) "self",(char *) "colour", NULL
24868 };
24869
24870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetForegroundColour",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;
d14a1e28
RD
24873 {
24874 arg2 = &temp2;
24875 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
24876 }
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
24880
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
4e760a36 24884 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24885 return resultobj;
24886 fail:
24887 return NULL;
24888}
24889
24890
24891static PyObject *_wrap_Window_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24892 PyObject *resultobj;
24893 wxWindow *arg1 = (wxWindow *) 0 ;
24894 wxColour result;
24895 PyObject * obj0 = 0 ;
24896 char *kwnames[] = {
24897 (char *) "self", NULL
24898 };
24899
24900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24901 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24902 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24903 {
24904 PyThreadState* __tstate = wxPyBeginAllowThreads();
24905 result = ((wxWindow const *)arg1)->GetBackgroundColour();
24906
24907 wxPyEndAllowThreads(__tstate);
24908 if (PyErr_Occurred()) SWIG_fail;
24909 }
24910 {
24911 wxColour * resultptr;
24912 resultptr = new wxColour((wxColour &) result);
2f4c0a16 24913 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
24914 }
24915 return resultobj;
24916 fail:
24917 return NULL;
24918}
24919
24920
24921static PyObject *_wrap_Window_GetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
24922 PyObject *resultobj;
24923 wxWindow *arg1 = (wxWindow *) 0 ;
24924 wxColour result;
24925 PyObject * obj0 = 0 ;
24926 char *kwnames[] = {
24927 (char *) "self", NULL
24928 };
24929
24930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetForegroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24931 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24932 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24933 {
24934 PyThreadState* __tstate = wxPyBeginAllowThreads();
24935 result = ((wxWindow const *)arg1)->GetForegroundColour();
24936
24937 wxPyEndAllowThreads(__tstate);
24938 if (PyErr_Occurred()) SWIG_fail;
24939 }
24940 {
24941 wxColour * resultptr;
24942 resultptr = new wxColour((wxColour &) result);
2f4c0a16 24943 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
24944 }
24945 return resultobj;
24946 fail:
24947 return NULL;
24948}
24949
24950
24951static PyObject *_wrap_Window_SetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
24952 PyObject *resultobj;
24953 wxWindow *arg1 = (wxWindow *) 0 ;
24954 wxCursor *arg2 = 0 ;
24955 bool result;
24956 PyObject * obj0 = 0 ;
24957 PyObject * obj1 = 0 ;
24958 char *kwnames[] = {
24959 (char *) "self",(char *) "cursor", NULL
24960 };
24961
24962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCursor",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
24963 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24964 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
24965 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCursor,
24966 SWIG_POINTER_EXCEPTION | 0)) == -1)
24967 SWIG_fail;
d14a1e28 24968 if (arg2 == NULL) {
2f4c0a16
RD
24969 PyErr_SetString(PyExc_TypeError,"null reference");
24970 SWIG_fail;
d14a1e28
RD
24971 }
24972 {
24973 PyThreadState* __tstate = wxPyBeginAllowThreads();
24974 result = (bool)(arg1)->SetCursor((wxCursor const &)*arg2);
24975
24976 wxPyEndAllowThreads(__tstate);
24977 if (PyErr_Occurred()) SWIG_fail;
24978 }
4e760a36 24979 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
24980 return resultobj;
24981 fail:
24982 return NULL;
24983}
24984
24985
24986static PyObject *_wrap_Window_GetCursor(PyObject *self, PyObject *args, PyObject *kwargs) {
24987 PyObject *resultobj;
24988 wxWindow *arg1 = (wxWindow *) 0 ;
24989 wxCursor *result;
24990 PyObject * obj0 = 0 ;
24991 char *kwnames[] = {
24992 (char *) "self", NULL
24993 };
24994
24995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCursor",kwnames,&obj0)) goto fail;
2f4c0a16
RD
24996 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
24997 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
24998 {
24999 PyThreadState* __tstate = wxPyBeginAllowThreads();
25000 {
25001 wxCursor &_result_ref = (arg1)->GetCursor();
25002 result = (wxCursor *) &_result_ref;
25003 }
25004
25005 wxPyEndAllowThreads(__tstate);
25006 if (PyErr_Occurred()) SWIG_fail;
25007 }
fe763115
RD
25008 {
25009 wxCursor* resultptr = new wxCursor(*result);
25010 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxCursor, 1);
25011 }
d14a1e28
RD
25012 return resultobj;
25013 fail:
25014 return NULL;
25015}
25016
25017
25018static PyObject *_wrap_Window_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25019 PyObject *resultobj;
25020 wxWindow *arg1 = (wxWindow *) 0 ;
25021 wxFont *arg2 = 0 ;
25022 bool result;
25023 PyObject * obj0 = 0 ;
25024 PyObject * obj1 = 0 ;
25025 char *kwnames[] = {
25026 (char *) "self",(char *) "font", NULL
25027 };
25028
25029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25030 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25031 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25032 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
25033 SWIG_POINTER_EXCEPTION | 0)) == -1)
25034 SWIG_fail;
d14a1e28 25035 if (arg2 == NULL) {
2f4c0a16
RD
25036 PyErr_SetString(PyExc_TypeError,"null reference");
25037 SWIG_fail;
d14a1e28
RD
25038 }
25039 {
25040 PyThreadState* __tstate = wxPyBeginAllowThreads();
25041 result = (bool)(arg1)->SetFont((wxFont const &)*arg2);
25042
25043 wxPyEndAllowThreads(__tstate);
25044 if (PyErr_Occurred()) SWIG_fail;
25045 }
4e760a36 25046 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25047 return resultobj;
25048 fail:
25049 return NULL;
25050}
25051
25052
25053static PyObject *_wrap_Window_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
25054 PyObject *resultobj;
25055 wxWindow *arg1 = (wxWindow *) 0 ;
25056 wxFont *result;
25057 PyObject * obj0 = 0 ;
25058 char *kwnames[] = {
25059 (char *) "self", NULL
25060 };
25061
25062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25063 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25064 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25065 {
25066 PyThreadState* __tstate = wxPyBeginAllowThreads();
25067 {
25068 wxFont &_result_ref = (arg1)->GetFont();
25069 result = (wxFont *) &_result_ref;
25070 }
25071
25072 wxPyEndAllowThreads(__tstate);
25073 if (PyErr_Occurred()) SWIG_fail;
25074 }
fe763115
RD
25075 {
25076 wxFont* resultptr = new wxFont(*result);
25077 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxFont, 1);
25078 }
d14a1e28
RD
25079 return resultobj;
25080 fail:
25081 return NULL;
25082}
25083
25084
25085static PyObject *_wrap_Window_SetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
25086 PyObject *resultobj;
25087 wxWindow *arg1 = (wxWindow *) 0 ;
25088 wxCaret *arg2 = (wxCaret *) 0 ;
25089 PyObject * obj0 = 0 ;
25090 PyObject * obj1 = 0 ;
25091 char *kwnames[] = {
25092 (char *) "self",(char *) "caret", NULL
25093 };
25094
25095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetCaret",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25096 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25097 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25098 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCaret,
25099 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25100 {
25101 PyThreadState* __tstate = wxPyBeginAllowThreads();
25102 (arg1)->SetCaret(arg2);
25103
25104 wxPyEndAllowThreads(__tstate);
25105 if (PyErr_Occurred()) SWIG_fail;
25106 }
25107 Py_INCREF(Py_None); resultobj = Py_None;
25108 return resultobj;
25109 fail:
25110 return NULL;
25111}
25112
25113
25114static PyObject *_wrap_Window_GetCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
25115 PyObject *resultobj;
25116 wxWindow *arg1 = (wxWindow *) 0 ;
25117 wxCaret *result;
25118 PyObject * obj0 = 0 ;
25119 char *kwnames[] = {
25120 (char *) "self", NULL
25121 };
25122
25123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCaret",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25124 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25125 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25126 {
25127 PyThreadState* __tstate = wxPyBeginAllowThreads();
25128 result = (wxCaret *)((wxWindow const *)arg1)->GetCaret();
25129
25130 wxPyEndAllowThreads(__tstate);
25131 if (PyErr_Occurred()) SWIG_fail;
25132 }
2f4c0a16 25133 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxCaret, 0);
d14a1e28
RD
25134 return resultobj;
25135 fail:
25136 return NULL;
25137}
25138
25139
25140static PyObject *_wrap_Window_GetCharHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
25141 PyObject *resultobj;
25142 wxWindow *arg1 = (wxWindow *) 0 ;
25143 int result;
25144 PyObject * obj0 = 0 ;
25145 char *kwnames[] = {
25146 (char *) "self", NULL
25147 };
25148
25149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharHeight",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25150 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25151 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25152 {
25153 PyThreadState* __tstate = wxPyBeginAllowThreads();
25154 result = (int)((wxWindow const *)arg1)->GetCharHeight();
25155
25156 wxPyEndAllowThreads(__tstate);
25157 if (PyErr_Occurred()) SWIG_fail;
25158 }
2f4c0a16 25159 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25160 return resultobj;
25161 fail:
25162 return NULL;
25163}
25164
25165
25166static PyObject *_wrap_Window_GetCharWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
25167 PyObject *resultobj;
25168 wxWindow *arg1 = (wxWindow *) 0 ;
25169 int result;
25170 PyObject * obj0 = 0 ;
25171 char *kwnames[] = {
25172 (char *) "self", NULL
25173 };
25174
25175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetCharWidth",kwnames,&obj0)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
25180 result = (int)((wxWindow const *)arg1)->GetCharWidth();
25181
25182 wxPyEndAllowThreads(__tstate);
25183 if (PyErr_Occurred()) SWIG_fail;
25184 }
2f4c0a16 25185 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25186 return resultobj;
25187 fail:
25188 return NULL;
25189}
25190
25191
25192static PyObject *_wrap_Window_GetTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
25193 PyObject *resultobj;
25194 wxWindow *arg1 = (wxWindow *) 0 ;
25195 wxString *arg2 = 0 ;
25196 int *arg3 = (int *) 0 ;
25197 int *arg4 = (int *) 0 ;
423f194a 25198 bool temp2 = False ;
d14a1e28
RD
25199 int temp3 ;
25200 int temp4 ;
25201 PyObject * obj0 = 0 ;
25202 PyObject * obj1 = 0 ;
25203 char *kwnames[] = {
25204 (char *) "self",(char *) "string", NULL
25205 };
25206
25207 arg3 = &temp3;
25208 arg4 = &temp4;
25209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetTextExtent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25210 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25211 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25212 {
25213 arg2 = wxString_in_helper(obj1);
25214 if (arg2 == NULL) SWIG_fail;
423f194a 25215 temp2 = True;
d14a1e28
RD
25216 }
25217 {
25218 PyThreadState* __tstate = wxPyBeginAllowThreads();
25219 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4);
25220
25221 wxPyEndAllowThreads(__tstate);
25222 if (PyErr_Occurred()) SWIG_fail;
25223 }
25224 Py_INCREF(Py_None); resultobj = Py_None;
25225 {
25226 PyObject *o = PyInt_FromLong((long) (*arg3));
25227 resultobj = t_output_helper(resultobj,o);
25228 }
25229 {
25230 PyObject *o = PyInt_FromLong((long) (*arg4));
25231 resultobj = t_output_helper(resultobj,o);
25232 }
25233 {
25234 if (temp2)
25235 delete arg2;
25236 }
25237 return resultobj;
25238 fail:
25239 {
25240 if (temp2)
25241 delete arg2;
25242 }
25243 return NULL;
25244}
25245
25246
25247static PyObject *_wrap_Window_GetFullTextExtent(PyObject *self, PyObject *args, PyObject *kwargs) {
25248 PyObject *resultobj;
25249 wxWindow *arg1 = (wxWindow *) 0 ;
25250 wxString *arg2 = 0 ;
25251 int *arg3 = (int *) 0 ;
25252 int *arg4 = (int *) 0 ;
25253 int *arg5 = (int *) 0 ;
25254 int *arg6 = (int *) 0 ;
25255 wxFont *arg7 = (wxFont *) NULL ;
423f194a 25256 bool temp2 = False ;
d14a1e28
RD
25257 int temp3 ;
25258 int temp4 ;
25259 int temp5 ;
25260 int temp6 ;
25261 PyObject * obj0 = 0 ;
25262 PyObject * obj1 = 0 ;
25263 PyObject * obj2 = 0 ;
25264 char *kwnames[] = {
25265 (char *) "self",(char *) "string",(char *) "font", NULL
25266 };
25267
25268 arg3 = &temp3;
25269 arg4 = &temp4;
25270 arg5 = &temp5;
25271 arg6 = &temp6;
25272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_GetFullTextExtent",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25273 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25274 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25275 {
25276 arg2 = wxString_in_helper(obj1);
25277 if (arg2 == NULL) SWIG_fail;
423f194a 25278 temp2 = True;
d14a1e28
RD
25279 }
25280 if (obj2) {
2f4c0a16
RD
25281 if ((SWIG_ConvertPtr(obj2,(void **)(&arg7),SWIGTYPE_p_wxFont,
25282 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25283 }
25284 {
25285 PyThreadState* __tstate = wxPyBeginAllowThreads();
25286 (arg1)->GetTextExtent((wxString const &)*arg2,arg3,arg4,arg5,arg6,(wxFont const *)arg7);
25287
25288 wxPyEndAllowThreads(__tstate);
25289 if (PyErr_Occurred()) SWIG_fail;
25290 }
25291 Py_INCREF(Py_None); resultobj = Py_None;
25292 {
25293 PyObject *o = PyInt_FromLong((long) (*arg3));
25294 resultobj = t_output_helper(resultobj,o);
25295 }
25296 {
25297 PyObject *o = PyInt_FromLong((long) (*arg4));
25298 resultobj = t_output_helper(resultobj,o);
25299 }
25300 {
25301 PyObject *o = PyInt_FromLong((long) (*arg5));
25302 resultobj = t_output_helper(resultobj,o);
25303 }
25304 {
25305 PyObject *o = PyInt_FromLong((long) (*arg6));
25306 resultobj = t_output_helper(resultobj,o);
25307 }
25308 {
25309 if (temp2)
25310 delete arg2;
25311 }
25312 return resultobj;
25313 fail:
25314 {
25315 if (temp2)
25316 delete arg2;
25317 }
25318 return NULL;
25319}
25320
25321
25322static PyObject *_wrap_Window_ClientToScreenXY(PyObject *self, PyObject *args, PyObject *kwargs) {
25323 PyObject *resultobj;
25324 wxWindow *arg1 = (wxWindow *) 0 ;
25325 int *arg2 = (int *) 0 ;
25326 int *arg3 = (int *) 0 ;
25327 int temp2 ;
25328 int temp3 ;
25329 PyObject * obj0 = 0 ;
25330 PyObject * obj1 = 0 ;
25331 PyObject * obj2 = 0 ;
25332 char *kwnames[] = {
25333 (char *) "self",(char *) "x",(char *) "y", NULL
25334 };
25335
25336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ClientToScreenXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25337 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25338 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25339 {
25340 temp2 = PyInt_AsLong(obj1);
25341 if (PyErr_Occurred()) SWIG_fail;
25342 arg2 = &temp2;
25343 }
25344 {
25345 temp3 = PyInt_AsLong(obj2);
25346 if (PyErr_Occurred()) SWIG_fail;
25347 arg3 = &temp3;
25348 }
25349 {
25350 PyThreadState* __tstate = wxPyBeginAllowThreads();
25351 ((wxWindow const *)arg1)->ClientToScreen(arg2,arg3);
25352
25353 wxPyEndAllowThreads(__tstate);
25354 if (PyErr_Occurred()) SWIG_fail;
25355 }
25356 Py_INCREF(Py_None); resultobj = Py_None;
25357 {
25358 PyObject *o = PyInt_FromLong((long) (*arg2));
25359 resultobj = t_output_helper(resultobj,o);
25360 }
25361 {
25362 PyObject *o = PyInt_FromLong((long) (*arg3));
25363 resultobj = t_output_helper(resultobj,o);
25364 }
25365 return resultobj;
25366 fail:
25367 return NULL;
25368}
25369
25370
25371static PyObject *_wrap_Window_ScreenToClientXY(PyObject *self, PyObject *args, PyObject *kwargs) {
25372 PyObject *resultobj;
25373 wxWindow *arg1 = (wxWindow *) 0 ;
25374 int *arg2 = (int *) 0 ;
25375 int *arg3 = (int *) 0 ;
25376 int temp2 ;
25377 int temp3 ;
25378 PyObject * obj0 = 0 ;
25379 PyObject * obj1 = 0 ;
25380 PyObject * obj2 = 0 ;
25381 char *kwnames[] = {
25382 (char *) "self",(char *) "x",(char *) "y", NULL
25383 };
25384
25385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_ScreenToClientXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25386 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25387 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25388 {
25389 temp2 = PyInt_AsLong(obj1);
25390 if (PyErr_Occurred()) SWIG_fail;
25391 arg2 = &temp2;
25392 }
25393 {
25394 temp3 = PyInt_AsLong(obj2);
25395 if (PyErr_Occurred()) SWIG_fail;
25396 arg3 = &temp3;
25397 }
25398 {
25399 PyThreadState* __tstate = wxPyBeginAllowThreads();
25400 ((wxWindow const *)arg1)->ScreenToClient(arg2,arg3);
25401
25402 wxPyEndAllowThreads(__tstate);
25403 if (PyErr_Occurred()) SWIG_fail;
25404 }
25405 Py_INCREF(Py_None); resultobj = Py_None;
25406 {
25407 PyObject *o = PyInt_FromLong((long) (*arg2));
25408 resultobj = t_output_helper(resultobj,o);
25409 }
25410 {
25411 PyObject *o = PyInt_FromLong((long) (*arg3));
25412 resultobj = t_output_helper(resultobj,o);
25413 }
25414 return resultobj;
25415 fail:
25416 return NULL;
25417}
25418
25419
25420static PyObject *_wrap_Window_ClientToScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
25421 PyObject *resultobj;
25422 wxWindow *arg1 = (wxWindow *) 0 ;
25423 wxPoint *arg2 = 0 ;
25424 wxPoint result;
25425 wxPoint temp2 ;
25426 PyObject * obj0 = 0 ;
25427 PyObject * obj1 = 0 ;
25428 char *kwnames[] = {
25429 (char *) "self",(char *) "pt", NULL
25430 };
25431
25432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ClientToScreen",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25433 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25434 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25435 {
25436 arg2 = &temp2;
25437 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25438 }
25439 {
25440 PyThreadState* __tstate = wxPyBeginAllowThreads();
25441 result = ((wxWindow const *)arg1)->ClientToScreen((wxPoint const &)*arg2);
25442
25443 wxPyEndAllowThreads(__tstate);
25444 if (PyErr_Occurred()) SWIG_fail;
25445 }
25446 {
25447 wxPoint * resultptr;
25448 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 25449 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25450 }
25451 return resultobj;
25452 fail:
25453 return NULL;
25454}
25455
25456
25457static PyObject *_wrap_Window_ScreenToClient(PyObject *self, PyObject *args, PyObject *kwargs) {
25458 PyObject *resultobj;
25459 wxWindow *arg1 = (wxWindow *) 0 ;
25460 wxPoint *arg2 = 0 ;
25461 wxPoint result;
25462 wxPoint temp2 ;
25463 PyObject * obj0 = 0 ;
25464 PyObject * obj1 = 0 ;
25465 char *kwnames[] = {
25466 (char *) "self",(char *) "pt", NULL
25467 };
25468
25469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScreenToClient",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25470 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25471 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25472 {
25473 arg2 = &temp2;
25474 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25475 }
25476 {
25477 PyThreadState* __tstate = wxPyBeginAllowThreads();
25478 result = ((wxWindow const *)arg1)->ScreenToClient((wxPoint const &)*arg2);
25479
25480 wxPyEndAllowThreads(__tstate);
25481 if (PyErr_Occurred()) SWIG_fail;
25482 }
25483 {
25484 wxPoint * resultptr;
25485 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 25486 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
25487 }
25488 return resultobj;
25489 fail:
25490 return NULL;
25491}
25492
25493
25494static PyObject *_wrap_Window_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
25495 PyObject *resultobj;
25496 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a
RD
25497 int arg2 ;
25498 int arg3 ;
d14a1e28
RD
25499 int result;
25500 PyObject * obj0 = 0 ;
8edf1c75
RD
25501 PyObject * obj1 = 0 ;
25502 PyObject * obj2 = 0 ;
d14a1e28
RD
25503 char *kwnames[] = {
25504 (char *) "self",(char *) "x",(char *) "y", NULL
25505 };
25506
8edf1c75 25507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_HitTestXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25508 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25509 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25510 arg2 = (int) SWIG_AsInt(obj1);
25511 if (PyErr_Occurred()) SWIG_fail;
25512 arg3 = (int) SWIG_AsInt(obj2);
25513 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25514 {
25515 PyThreadState* __tstate = wxPyBeginAllowThreads();
25516 result = (int)((wxWindow const *)arg1)->HitTest(arg2,arg3);
25517
25518 wxPyEndAllowThreads(__tstate);
25519 if (PyErr_Occurred()) SWIG_fail;
25520 }
2f4c0a16 25521 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25522 return resultobj;
25523 fail:
25524 return NULL;
25525}
25526
25527
25528static PyObject *_wrap_Window_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
25529 PyObject *resultobj;
25530 wxWindow *arg1 = (wxWindow *) 0 ;
25531 wxPoint *arg2 = 0 ;
25532 int result;
25533 wxPoint temp2 ;
25534 PyObject * obj0 = 0 ;
25535 PyObject * obj1 = 0 ;
25536 char *kwnames[] = {
25537 (char *) "self",(char *) "pt", NULL
25538 };
25539
25540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HitTest",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25543 {
25544 arg2 = &temp2;
25545 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25546 }
25547 {
25548 PyThreadState* __tstate = wxPyBeginAllowThreads();
25549 result = (int)((wxWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
25550
25551 wxPyEndAllowThreads(__tstate);
25552 if (PyErr_Occurred()) SWIG_fail;
25553 }
2f4c0a16 25554 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25555 return resultobj;
25556 fail:
25557 return NULL;
25558}
25559
25560
2f4c0a16 25561static PyObject *_wrap_Window_GetBorder__SWIG_0(PyObject *self, PyObject *args) {
d14a1e28
RD
25562 PyObject *resultobj;
25563 wxWindow *arg1 = (wxWindow *) 0 ;
25564 long arg2 ;
25565 int result;
25566 PyObject * obj0 = 0 ;
8edf1c75 25567 PyObject * obj1 = 0 ;
d14a1e28 25568
2f4c0a16
RD
25569 if(!PyArg_ParseTuple(args,(char *)"OO:Window_GetBorder",&obj0,&obj1)) goto fail;
25570 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25572 arg2 = (long) SWIG_AsLong(obj1);
25573 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25574 {
25575 PyThreadState* __tstate = wxPyBeginAllowThreads();
25576 result = (int)((wxWindow const *)arg1)->GetBorder(arg2);
25577
25578 wxPyEndAllowThreads(__tstate);
25579 if (PyErr_Occurred()) SWIG_fail;
25580 }
2f4c0a16 25581 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25582 return resultobj;
25583 fail:
25584 return NULL;
25585}
25586
25587
2f4c0a16 25588static PyObject *_wrap_Window_GetBorder__SWIG_1(PyObject *self, PyObject *args) {
d14a1e28
RD
25589 PyObject *resultobj;
25590 wxWindow *arg1 = (wxWindow *) 0 ;
25591 int result;
25592 PyObject * obj0 = 0 ;
d14a1e28 25593
2f4c0a16
RD
25594 if(!PyArg_ParseTuple(args,(char *)"O:Window_GetBorder",&obj0)) goto fail;
25595 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25596 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25597 {
25598 PyThreadState* __tstate = wxPyBeginAllowThreads();
25599 result = (int)((wxWindow const *)arg1)->GetBorder();
25600
25601 wxPyEndAllowThreads(__tstate);
25602 if (PyErr_Occurred()) SWIG_fail;
25603 }
2f4c0a16 25604 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25605 return resultobj;
25606 fail:
25607 return NULL;
25608}
25609
25610
2f4c0a16
RD
25611static PyObject *_wrap_Window_GetBorder(PyObject *self, PyObject *args) {
25612 int argc;
25613 PyObject *argv[3];
25614 int ii;
25615
25616 argc = PyObject_Length(args);
25617 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
25618 argv[ii] = PyTuple_GetItem(args,ii);
25619 }
25620 if (argc == 1) {
25621 int _v;
25622 {
25623 void *ptr;
25624 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
25625 _v = 0;
25626 PyErr_Clear();
25627 } else {
25628 _v = 1;
25629 }
25630 }
25631 if (_v) {
25632 return _wrap_Window_GetBorder__SWIG_1(self,args);
25633 }
25634 }
25635 if (argc == 2) {
25636 int _v;
25637 {
25638 void *ptr;
25639 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
25640 _v = 0;
25641 PyErr_Clear();
25642 } else {
25643 _v = 1;
25644 }
25645 }
25646 if (_v) {
25647 _v = SWIG_CheckLong(argv[1]);
25648 if (_v) {
25649 return _wrap_Window_GetBorder__SWIG_0(self,args);
25650 }
25651 }
25652 }
25653
25654 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'Window_GetBorder'");
25655 return NULL;
25656}
25657
25658
d14a1e28
RD
25659static PyObject *_wrap_Window_UpdateWindowUI(PyObject *self, PyObject *args, PyObject *kwargs) {
25660 PyObject *resultobj;
25661 wxWindow *arg1 = (wxWindow *) 0 ;
25662 long arg2 = (long) wxUPDATE_UI_NONE ;
25663 PyObject * obj0 = 0 ;
8edf1c75 25664 PyObject * obj1 = 0 ;
d14a1e28
RD
25665 char *kwnames[] = {
25666 (char *) "self",(char *) "flags", NULL
25667 };
25668
8edf1c75 25669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Window_UpdateWindowUI",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 25672 if (obj1) {
2f4c0a16
RD
25673 arg2 = (long) SWIG_AsLong(obj1);
25674 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 25675 }
d14a1e28
RD
25676 {
25677 PyThreadState* __tstate = wxPyBeginAllowThreads();
25678 (arg1)->UpdateWindowUI(arg2);
25679
25680 wxPyEndAllowThreads(__tstate);
25681 if (PyErr_Occurred()) SWIG_fail;
25682 }
25683 Py_INCREF(Py_None); resultobj = Py_None;
25684 return resultobj;
25685 fail:
25686 return NULL;
25687}
25688
25689
25690static PyObject *_wrap_Window_PopupMenuXY(PyObject *self, PyObject *args, PyObject *kwargs) {
25691 PyObject *resultobj;
25692 wxWindow *arg1 = (wxWindow *) 0 ;
25693 wxMenu *arg2 = (wxMenu *) 0 ;
25694 int arg3 ;
25695 int arg4 ;
25696 bool result;
25697 PyObject * obj0 = 0 ;
25698 PyObject * obj1 = 0 ;
8edf1c75
RD
25699 PyObject * obj2 = 0 ;
25700 PyObject * obj3 = 0 ;
d14a1e28
RD
25701 char *kwnames[] = {
25702 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25703 };
25704
8edf1c75 25705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Window_PopupMenuXY",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25706 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25707 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25708 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
25709 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25710 arg3 = (int) SWIG_AsInt(obj2);
25711 if (PyErr_Occurred()) SWIG_fail;
25712 arg4 = (int) SWIG_AsInt(obj3);
25713 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25714 {
25715 PyThreadState* __tstate = wxPyBeginAllowThreads();
25716 result = (bool)(arg1)->PopupMenu(arg2,arg3,arg4);
25717
25718 wxPyEndAllowThreads(__tstate);
25719 if (PyErr_Occurred()) SWIG_fail;
25720 }
4e760a36 25721 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25722 return resultobj;
25723 fail:
25724 return NULL;
25725}
25726
25727
25728static PyObject *_wrap_Window_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
25729 PyObject *resultobj;
25730 wxWindow *arg1 = (wxWindow *) 0 ;
25731 wxMenu *arg2 = (wxMenu *) 0 ;
25732 wxPoint *arg3 = 0 ;
25733 bool result;
25734 wxPoint temp3 ;
25735 PyObject * obj0 = 0 ;
25736 PyObject * obj1 = 0 ;
25737 PyObject * obj2 = 0 ;
25738 char *kwnames[] = {
25739 (char *) "self",(char *) "menu",(char *) "pos", NULL
25740 };
25741
25742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Window_PopupMenu",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
25743 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25745 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
25746 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25747 {
25748 arg3 = &temp3;
25749 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25750 }
25751 {
25752 PyThreadState* __tstate = wxPyBeginAllowThreads();
25753 result = (bool)(arg1)->PopupMenu(arg2,(wxPoint const &)*arg3);
25754
25755 wxPyEndAllowThreads(__tstate);
25756 if (PyErr_Occurred()) SWIG_fail;
25757 }
4e760a36 25758 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25759 return resultobj;
25760 fail:
25761 return NULL;
25762}
25763
25764
25765static PyObject *_wrap_Window_GetHandle(PyObject *self, PyObject *args, PyObject *kwargs) {
25766 PyObject *resultobj;
25767 wxWindow *arg1 = (wxWindow *) 0 ;
25768 long result;
25769 PyObject * obj0 = 0 ;
25770 char *kwnames[] = {
25771 (char *) "self", NULL
25772 };
25773
25774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHandle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
25775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
25777 {
25778 PyThreadState* __tstate = wxPyBeginAllowThreads();
25779 result = (long)wxWindow_GetHandle(arg1);
25780
25781 wxPyEndAllowThreads(__tstate);
25782 if (PyErr_Occurred()) SWIG_fail;
25783 }
2f4c0a16 25784 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
25785 return resultobj;
25786 fail:
25787 return NULL;
25788}
25789
25790
25791static PyObject *_wrap_Window_OnPaint(PyObject *self, PyObject *args, PyObject *kwargs) {
25792 PyObject *resultobj;
25793 wxWindow *arg1 = (wxWindow *) 0 ;
25794 wxPaintEvent *arg2 = 0 ;
25795 PyObject * obj0 = 0 ;
25796 PyObject * obj1 = 0 ;
25797 char *kwnames[] = {
25798 (char *) "self",(char *) "event", NULL
25799 };
25800
25801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_OnPaint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25802 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25803 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25804 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPaintEvent,
25805 SWIG_POINTER_EXCEPTION | 0)) == -1)
25806 SWIG_fail;
d14a1e28 25807 if (arg2 == NULL) {
2f4c0a16
RD
25808 PyErr_SetString(PyExc_TypeError,"null reference");
25809 SWIG_fail;
d14a1e28
RD
25810 }
25811 {
25812 PyThreadState* __tstate = wxPyBeginAllowThreads();
25813 (arg1)->OnPaint(*arg2);
25814
25815 wxPyEndAllowThreads(__tstate);
25816 if (PyErr_Occurred()) SWIG_fail;
25817 }
25818 Py_INCREF(Py_None); resultobj = Py_None;
25819 return resultobj;
25820 fail:
25821 return NULL;
25822}
25823
25824
25825static PyObject *_wrap_Window_HasScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
25826 PyObject *resultobj;
25827 wxWindow *arg1 = (wxWindow *) 0 ;
25828 int arg2 ;
25829 bool result;
25830 PyObject * obj0 = 0 ;
8edf1c75 25831 PyObject * obj1 = 0 ;
d14a1e28
RD
25832 char *kwnames[] = {
25833 (char *) "self",(char *) "orient", NULL
25834 };
25835
8edf1c75 25836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_HasScrollbar",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25839 arg2 = (int) SWIG_AsInt(obj1);
25840 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25841 {
25842 PyThreadState* __tstate = wxPyBeginAllowThreads();
25843 result = (bool)((wxWindow const *)arg1)->HasScrollbar(arg2);
25844
25845 wxPyEndAllowThreads(__tstate);
25846 if (PyErr_Occurred()) SWIG_fail;
25847 }
4e760a36 25848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
25849 return resultobj;
25850 fail:
25851 return NULL;
25852}
25853
25854
25855static PyObject *_wrap_Window_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
25856 PyObject *resultobj;
25857 wxWindow *arg1 = (wxWindow *) 0 ;
25858 int arg2 ;
25859 int arg3 ;
25860 int arg4 ;
25861 int arg5 ;
423f194a 25862 bool arg6 = (bool) True ;
d14a1e28 25863 PyObject * obj0 = 0 ;
8edf1c75
RD
25864 PyObject * obj1 = 0 ;
25865 PyObject * obj2 = 0 ;
25866 PyObject * obj3 = 0 ;
25867 PyObject * obj4 = 0 ;
d14a1e28
RD
25868 PyObject * obj5 = 0 ;
25869 char *kwnames[] = {
2f4c0a16 25870 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
d14a1e28
RD
25871 };
25872
8edf1c75 25873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Window_SetScrollbar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
25874 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25875 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25876 arg2 = (int) SWIG_AsInt(obj1);
25877 if (PyErr_Occurred()) SWIG_fail;
25878 arg3 = (int) SWIG_AsInt(obj2);
25879 if (PyErr_Occurred()) SWIG_fail;
25880 arg4 = (int) SWIG_AsInt(obj3);
25881 if (PyErr_Occurred()) SWIG_fail;
25882 arg5 = (int) SWIG_AsInt(obj4);
25883 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25884 if (obj5) {
2f4c0a16
RD
25885 arg6 = (bool) SWIG_AsBool(obj5);
25886 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25887 }
25888 {
25889 PyThreadState* __tstate = wxPyBeginAllowThreads();
25890 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
25891
25892 wxPyEndAllowThreads(__tstate);
25893 if (PyErr_Occurred()) SWIG_fail;
25894 }
25895 Py_INCREF(Py_None); resultobj = Py_None;
25896 return resultobj;
25897 fail:
25898 return NULL;
25899}
25900
25901
25902static PyObject *_wrap_Window_SetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
25903 PyObject *resultobj;
25904 wxWindow *arg1 = (wxWindow *) 0 ;
25905 int arg2 ;
25906 int arg3 ;
423f194a 25907 bool arg4 = (bool) True ;
d14a1e28 25908 PyObject * obj0 = 0 ;
8edf1c75
RD
25909 PyObject * obj1 = 0 ;
25910 PyObject * obj2 = 0 ;
d14a1e28
RD
25911 PyObject * obj3 = 0 ;
25912 char *kwnames[] = {
2f4c0a16 25913 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
d14a1e28
RD
25914 };
25915
8edf1c75 25916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_SetScrollPos",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
25917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25919 arg2 = (int) SWIG_AsInt(obj1);
25920 if (PyErr_Occurred()) SWIG_fail;
25921 arg3 = (int) SWIG_AsInt(obj2);
25922 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 25923 if (obj3) {
2f4c0a16
RD
25924 arg4 = (bool) SWIG_AsBool(obj3);
25925 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25926 }
25927 {
25928 PyThreadState* __tstate = wxPyBeginAllowThreads();
25929 (arg1)->SetScrollPos(arg2,arg3,arg4);
25930
25931 wxPyEndAllowThreads(__tstate);
25932 if (PyErr_Occurred()) SWIG_fail;
25933 }
25934 Py_INCREF(Py_None); resultobj = Py_None;
25935 return resultobj;
25936 fail:
25937 return NULL;
25938}
25939
25940
25941static PyObject *_wrap_Window_GetScrollPos(PyObject *self, PyObject *args, PyObject *kwargs) {
25942 PyObject *resultobj;
25943 wxWindow *arg1 = (wxWindow *) 0 ;
25944 int arg2 ;
25945 int result;
25946 PyObject * obj0 = 0 ;
8edf1c75 25947 PyObject * obj1 = 0 ;
d14a1e28 25948 char *kwnames[] = {
2f4c0a16 25949 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
25950 };
25951
8edf1c75 25952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25953 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25955 arg2 = (int) SWIG_AsInt(obj1);
25956 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25957 {
25958 PyThreadState* __tstate = wxPyBeginAllowThreads();
25959 result = (int)((wxWindow const *)arg1)->GetScrollPos(arg2);
25960
25961 wxPyEndAllowThreads(__tstate);
25962 if (PyErr_Occurred()) SWIG_fail;
25963 }
2f4c0a16 25964 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25965 return resultobj;
25966 fail:
25967 return NULL;
25968}
25969
25970
25971static PyObject *_wrap_Window_GetScrollThumb(PyObject *self, PyObject *args, PyObject *kwargs) {
25972 PyObject *resultobj;
25973 wxWindow *arg1 = (wxWindow *) 0 ;
25974 int arg2 ;
25975 int result;
25976 PyObject * obj0 = 0 ;
8edf1c75 25977 PyObject * obj1 = 0 ;
d14a1e28 25978 char *kwnames[] = {
2f4c0a16 25979 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
25980 };
25981
8edf1c75 25982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollThumb",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
25983 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
25984 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
25985 arg2 = (int) SWIG_AsInt(obj1);
25986 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
25987 {
25988 PyThreadState* __tstate = wxPyBeginAllowThreads();
25989 result = (int)((wxWindow const *)arg1)->GetScrollThumb(arg2);
25990
25991 wxPyEndAllowThreads(__tstate);
25992 if (PyErr_Occurred()) SWIG_fail;
25993 }
2f4c0a16 25994 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
25995 return resultobj;
25996 fail:
25997 return NULL;
25998}
25999
26000
26001static PyObject *_wrap_Window_GetScrollRange(PyObject *self, PyObject *args, PyObject *kwargs) {
26002 PyObject *resultobj;
26003 wxWindow *arg1 = (wxWindow *) 0 ;
26004 int arg2 ;
26005 int result;
26006 PyObject * obj0 = 0 ;
8edf1c75 26007 PyObject * obj1 = 0 ;
d14a1e28 26008 char *kwnames[] = {
2f4c0a16 26009 (char *) "self",(char *) "orientation", NULL
d14a1e28
RD
26010 };
26011
8edf1c75 26012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_GetScrollRange",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26015 arg2 = (int) SWIG_AsInt(obj1);
26016 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26017 {
26018 PyThreadState* __tstate = wxPyBeginAllowThreads();
26019 result = (int)((wxWindow const *)arg1)->GetScrollRange(arg2);
26020
26021 wxPyEndAllowThreads(__tstate);
26022 if (PyErr_Occurred()) SWIG_fail;
26023 }
2f4c0a16 26024 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
26025 return resultobj;
26026 fail:
26027 return NULL;
26028}
26029
26030
26031static PyObject *_wrap_Window_ScrollWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
26032 PyObject *resultobj;
26033 wxWindow *arg1 = (wxWindow *) 0 ;
26034 int arg2 ;
26035 int arg3 ;
26036 wxRect *arg4 = (wxRect *) NULL ;
26037 PyObject * obj0 = 0 ;
8edf1c75
RD
26038 PyObject * obj1 = 0 ;
26039 PyObject * obj2 = 0 ;
d14a1e28
RD
26040 PyObject * obj3 = 0 ;
26041 char *kwnames[] = {
26042 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
26043 };
26044
8edf1c75 26045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Window_ScrollWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
26046 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26048 arg2 = (int) SWIG_AsInt(obj1);
26049 if (PyErr_Occurred()) SWIG_fail;
26050 arg3 = (int) SWIG_AsInt(obj2);
26051 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26052 if (obj3) {
2f4c0a16
RD
26053 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxRect,
26054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26055 }
26056 {
26057 PyThreadState* __tstate = wxPyBeginAllowThreads();
26058 (arg1)->ScrollWindow(arg2,arg3,(wxRect const *)arg4);
26059
26060 wxPyEndAllowThreads(__tstate);
26061 if (PyErr_Occurred()) SWIG_fail;
26062 }
26063 Py_INCREF(Py_None); resultobj = Py_None;
26064 return resultobj;
26065 fail:
26066 return NULL;
26067}
26068
26069
26070static PyObject *_wrap_Window_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
26071 PyObject *resultobj;
26072 wxWindow *arg1 = (wxWindow *) 0 ;
26073 int arg2 ;
26074 bool result;
26075 PyObject * obj0 = 0 ;
8edf1c75 26076 PyObject * obj1 = 0 ;
d14a1e28
RD
26077 char *kwnames[] = {
26078 (char *) "self",(char *) "lines", NULL
26079 };
26080
8edf1c75 26081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26082 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26083 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26084 arg2 = (int) SWIG_AsInt(obj1);
26085 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26086 {
26087 PyThreadState* __tstate = wxPyBeginAllowThreads();
26088 result = (bool)(arg1)->ScrollLines(arg2);
26089
26090 wxPyEndAllowThreads(__tstate);
26091 if (PyErr_Occurred()) SWIG_fail;
26092 }
4e760a36 26093 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26094 return resultobj;
26095 fail:
26096 return NULL;
26097}
26098
26099
26100static PyObject *_wrap_Window_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
26101 PyObject *resultobj;
26102 wxWindow *arg1 = (wxWindow *) 0 ;
26103 int arg2 ;
26104 bool result;
26105 PyObject * obj0 = 0 ;
8edf1c75 26106 PyObject * obj1 = 0 ;
d14a1e28
RD
26107 char *kwnames[] = {
26108 (char *) "self",(char *) "pages", NULL
26109 };
26110
8edf1c75 26111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26112 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26113 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26114 arg2 = (int) SWIG_AsInt(obj1);
26115 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26116 {
26117 PyThreadState* __tstate = wxPyBeginAllowThreads();
26118 result = (bool)(arg1)->ScrollPages(arg2);
26119
26120 wxPyEndAllowThreads(__tstate);
26121 if (PyErr_Occurred()) SWIG_fail;
26122 }
4e760a36 26123 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26124 return resultobj;
26125 fail:
26126 return NULL;
26127}
26128
26129
26130static PyObject *_wrap_Window_LineUp(PyObject *self, PyObject *args, PyObject *kwargs) {
26131 PyObject *resultobj;
26132 wxWindow *arg1 = (wxWindow *) 0 ;
26133 bool result;
26134 PyObject * obj0 = 0 ;
26135 char *kwnames[] = {
26136 (char *) "self", NULL
26137 };
26138
26139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26142 {
26143 PyThreadState* __tstate = wxPyBeginAllowThreads();
26144 result = (bool)(arg1)->LineUp();
26145
26146 wxPyEndAllowThreads(__tstate);
26147 if (PyErr_Occurred()) SWIG_fail;
26148 }
4e760a36 26149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26150 return resultobj;
26151 fail:
26152 return NULL;
26153}
26154
26155
26156static PyObject *_wrap_Window_LineDown(PyObject *self, PyObject *args, PyObject *kwargs) {
26157 PyObject *resultobj;
26158 wxWindow *arg1 = (wxWindow *) 0 ;
26159 bool result;
26160 PyObject * obj0 = 0 ;
26161 char *kwnames[] = {
26162 (char *) "self", NULL
26163 };
26164
26165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_LineDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26166 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26168 {
26169 PyThreadState* __tstate = wxPyBeginAllowThreads();
26170 result = (bool)(arg1)->LineDown();
26171
26172 wxPyEndAllowThreads(__tstate);
26173 if (PyErr_Occurred()) SWIG_fail;
26174 }
4e760a36 26175 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26176 return resultobj;
26177 fail:
26178 return NULL;
26179}
26180
26181
26182static PyObject *_wrap_Window_PageUp(PyObject *self, PyObject *args, PyObject *kwargs) {
26183 PyObject *resultobj;
26184 wxWindow *arg1 = (wxWindow *) 0 ;
26185 bool result;
26186 PyObject * obj0 = 0 ;
26187 char *kwnames[] = {
26188 (char *) "self", NULL
26189 };
26190
26191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageUp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26194 {
26195 PyThreadState* __tstate = wxPyBeginAllowThreads();
26196 result = (bool)(arg1)->PageUp();
26197
26198 wxPyEndAllowThreads(__tstate);
26199 if (PyErr_Occurred()) SWIG_fail;
26200 }
4e760a36 26201 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26202 return resultobj;
26203 fail:
26204 return NULL;
26205}
26206
26207
26208static PyObject *_wrap_Window_PageDown(PyObject *self, PyObject *args, PyObject *kwargs) {
26209 PyObject *resultobj;
26210 wxWindow *arg1 = (wxWindow *) 0 ;
26211 bool result;
26212 PyObject * obj0 = 0 ;
26213 char *kwnames[] = {
26214 (char *) "self", NULL
26215 };
26216
26217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_PageDown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26218 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26219 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26220 {
26221 PyThreadState* __tstate = wxPyBeginAllowThreads();
26222 result = (bool)(arg1)->PageDown();
26223
26224 wxPyEndAllowThreads(__tstate);
26225 if (PyErr_Occurred()) SWIG_fail;
26226 }
4e760a36 26227 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26228 return resultobj;
26229 fail:
26230 return NULL;
26231}
26232
26233
26234static PyObject *_wrap_Window_SetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
26235 PyObject *resultobj;
26236 wxWindow *arg1 = (wxWindow *) 0 ;
26237 wxString *arg2 = 0 ;
423f194a 26238 bool temp2 = False ;
d14a1e28
RD
26239 PyObject * obj0 = 0 ;
26240 PyObject * obj1 = 0 ;
26241 char *kwnames[] = {
26242 (char *) "self",(char *) "text", NULL
26243 };
26244
26245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26246 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26247 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26248 {
26249 arg2 = wxString_in_helper(obj1);
26250 if (arg2 == NULL) SWIG_fail;
423f194a 26251 temp2 = True;
d14a1e28
RD
26252 }
26253 {
26254 PyThreadState* __tstate = wxPyBeginAllowThreads();
26255 (arg1)->SetHelpText((wxString const &)*arg2);
26256
26257 wxPyEndAllowThreads(__tstate);
26258 if (PyErr_Occurred()) SWIG_fail;
26259 }
26260 Py_INCREF(Py_None); resultobj = Py_None;
26261 {
26262 if (temp2)
26263 delete arg2;
26264 }
26265 return resultobj;
26266 fail:
26267 {
26268 if (temp2)
26269 delete arg2;
26270 }
26271 return NULL;
26272}
26273
26274
26275static PyObject *_wrap_Window_SetHelpTextForId(PyObject *self, PyObject *args, PyObject *kwargs) {
26276 PyObject *resultobj;
26277 wxWindow *arg1 = (wxWindow *) 0 ;
26278 wxString *arg2 = 0 ;
423f194a 26279 bool temp2 = False ;
d14a1e28
RD
26280 PyObject * obj0 = 0 ;
26281 PyObject * obj1 = 0 ;
26282 char *kwnames[] = {
26283 (char *) "self",(char *) "text", NULL
26284 };
26285
26286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetHelpTextForId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26287 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26288 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26289 {
26290 arg2 = wxString_in_helper(obj1);
26291 if (arg2 == NULL) SWIG_fail;
423f194a 26292 temp2 = True;
d14a1e28
RD
26293 }
26294 {
26295 PyThreadState* __tstate = wxPyBeginAllowThreads();
26296 (arg1)->SetHelpTextForId((wxString const &)*arg2);
26297
26298 wxPyEndAllowThreads(__tstate);
26299 if (PyErr_Occurred()) SWIG_fail;
26300 }
26301 Py_INCREF(Py_None); resultobj = Py_None;
26302 {
26303 if (temp2)
26304 delete arg2;
26305 }
26306 return resultobj;
26307 fail:
26308 {
26309 if (temp2)
26310 delete arg2;
26311 }
26312 return NULL;
26313}
26314
26315
26316static PyObject *_wrap_Window_GetHelpText(PyObject *self, PyObject *args, PyObject *kwargs) {
26317 PyObject *resultobj;
26318 wxWindow *arg1 = (wxWindow *) 0 ;
26319 wxString result;
26320 PyObject * obj0 = 0 ;
26321 char *kwnames[] = {
26322 (char *) "self", NULL
26323 };
26324
26325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetHelpText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26326 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26327 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26328 {
26329 PyThreadState* __tstate = wxPyBeginAllowThreads();
26330 result = ((wxWindow const *)arg1)->GetHelpText();
26331
26332 wxPyEndAllowThreads(__tstate);
26333 if (PyErr_Occurred()) SWIG_fail;
26334 }
26335 {
26336#if wxUSE_UNICODE
26337 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
26338#else
26339 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
26340#endif
26341 }
26342 return resultobj;
26343 fail:
26344 return NULL;
26345}
26346
26347
26348static PyObject *_wrap_Window_SetToolTipString(PyObject *self, PyObject *args, PyObject *kwargs) {
26349 PyObject *resultobj;
26350 wxWindow *arg1 = (wxWindow *) 0 ;
26351 wxString *arg2 = 0 ;
423f194a 26352 bool temp2 = False ;
d14a1e28
RD
26353 PyObject * obj0 = 0 ;
26354 PyObject * obj1 = 0 ;
26355 char *kwnames[] = {
26356 (char *) "self",(char *) "tip", NULL
26357 };
26358
26359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTipString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26360 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26361 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26362 {
26363 arg2 = wxString_in_helper(obj1);
26364 if (arg2 == NULL) SWIG_fail;
423f194a 26365 temp2 = True;
d14a1e28
RD
26366 }
26367 {
26368 PyThreadState* __tstate = wxPyBeginAllowThreads();
26369 (arg1)->SetToolTip((wxString const &)*arg2);
26370
26371 wxPyEndAllowThreads(__tstate);
26372 if (PyErr_Occurred()) SWIG_fail;
26373 }
26374 Py_INCREF(Py_None); resultobj = Py_None;
26375 {
26376 if (temp2)
26377 delete arg2;
26378 }
26379 return resultobj;
26380 fail:
26381 {
26382 if (temp2)
26383 delete arg2;
26384 }
26385 return NULL;
26386}
26387
26388
26389static PyObject *_wrap_Window_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
26390 PyObject *resultobj;
26391 wxWindow *arg1 = (wxWindow *) 0 ;
26392 wxToolTip *arg2 = (wxToolTip *) 0 ;
26393 PyObject * obj0 = 0 ;
26394 PyObject * obj1 = 0 ;
26395 char *kwnames[] = {
26396 (char *) "self",(char *) "tip", NULL
26397 };
26398
26399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26400 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26402 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxToolTip,
26403 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26404 {
26405 PyThreadState* __tstate = wxPyBeginAllowThreads();
26406 (arg1)->SetToolTip(arg2);
26407
26408 wxPyEndAllowThreads(__tstate);
26409 if (PyErr_Occurred()) SWIG_fail;
26410 }
26411 Py_INCREF(Py_None); resultobj = Py_None;
26412 return resultobj;
26413 fail:
26414 return NULL;
26415}
26416
26417
26418static PyObject *_wrap_Window_GetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
26419 PyObject *resultobj;
26420 wxWindow *arg1 = (wxWindow *) 0 ;
26421 wxToolTip *result;
26422 PyObject * obj0 = 0 ;
26423 char *kwnames[] = {
26424 (char *) "self", NULL
26425 };
26426
26427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetToolTip",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26428 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26430 {
26431 PyThreadState* __tstate = wxPyBeginAllowThreads();
26432 result = (wxToolTip *)((wxWindow const *)arg1)->GetToolTip();
26433
26434 wxPyEndAllowThreads(__tstate);
26435 if (PyErr_Occurred()) SWIG_fail;
26436 }
26437 {
26438 resultobj = wxPyMake_wxObject(result);
26439 }
26440 return resultobj;
26441 fail:
26442 return NULL;
26443}
26444
26445
26446static PyObject *_wrap_Window_SetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26447 PyObject *resultobj;
26448 wxWindow *arg1 = (wxWindow *) 0 ;
44127b65 26449 wxPyDropTarget *arg2 = (wxPyDropTarget *) 0 ;
d14a1e28
RD
26450 PyObject * obj0 = 0 ;
26451 PyObject * obj1 = 0 ;
26452 char *kwnames[] = {
26453 (char *) "self",(char *) "dropTarget", NULL
26454 };
26455
26456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetDropTarget",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26457 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26458 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26459 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxPyDropTarget,
26460 SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN)) == -1) SWIG_fail;
d14a1e28
RD
26461 {
26462 PyThreadState* __tstate = wxPyBeginAllowThreads();
26463 (arg1)->SetDropTarget(arg2);
26464
26465 wxPyEndAllowThreads(__tstate);
26466 if (PyErr_Occurred()) SWIG_fail;
26467 }
26468 Py_INCREF(Py_None); resultobj = Py_None;
26469 return resultobj;
26470 fail:
26471 return NULL;
26472}
26473
26474
26475static PyObject *_wrap_Window_GetDropTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
26476 PyObject *resultobj;
26477 wxWindow *arg1 = (wxWindow *) 0 ;
44127b65 26478 wxPyDropTarget *result;
d14a1e28
RD
26479 PyObject * obj0 = 0 ;
26480 char *kwnames[] = {
26481 (char *) "self", NULL
26482 };
26483
26484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetDropTarget",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26485 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26486 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26487 {
26488 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 26489 result = (wxPyDropTarget *)((wxWindow const *)arg1)->GetDropTarget();
d14a1e28
RD
26490
26491 wxPyEndAllowThreads(__tstate);
26492 if (PyErr_Occurred()) SWIG_fail;
26493 }
2f4c0a16 26494 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyDropTarget, 0);
d14a1e28
RD
26495 return resultobj;
26496 fail:
26497 return NULL;
26498}
26499
26500
26501static PyObject *_wrap_Window_DragAcceptFiles(PyObject *self, PyObject *args, PyObject *kwargs) {
26502 PyObject *resultobj;
26503 wxWindow *arg1 = (wxWindow *) 0 ;
26504 bool arg2 ;
26505 PyObject * obj0 = 0 ;
26506 PyObject * obj1 = 0 ;
26507 char *kwnames[] = {
26508 (char *) "self",(char *) "accept", NULL
26509 };
26510
26511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_DragAcceptFiles",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26512 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26513 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26514 arg2 = (bool) SWIG_AsBool(obj1);
26515 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26516 {
26517 PyThreadState* __tstate = wxPyBeginAllowThreads();
26518 (arg1)->DragAcceptFiles(arg2);
26519
26520 wxPyEndAllowThreads(__tstate);
26521 if (PyErr_Occurred()) SWIG_fail;
26522 }
26523 Py_INCREF(Py_None); resultobj = Py_None;
26524 return resultobj;
26525 fail:
26526 return NULL;
26527}
26528
26529
26530static PyObject *_wrap_Window_SetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
26531 PyObject *resultobj;
26532 wxWindow *arg1 = (wxWindow *) 0 ;
26533 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
26534 PyObject * obj0 = 0 ;
26535 PyObject * obj1 = 0 ;
26536 char *kwnames[] = {
26537 (char *) "self",(char *) "constraints", NULL
26538 };
26539
26540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetConstraints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
26544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26545 {
26546 PyThreadState* __tstate = wxPyBeginAllowThreads();
26547 (arg1)->SetConstraints(arg2);
26548
26549 wxPyEndAllowThreads(__tstate);
26550 if (PyErr_Occurred()) SWIG_fail;
26551 }
26552 Py_INCREF(Py_None); resultobj = Py_None;
26553 return resultobj;
26554 fail:
26555 return NULL;
26556}
26557
26558
26559static PyObject *_wrap_Window_GetConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
26560 PyObject *resultobj;
26561 wxWindow *arg1 = (wxWindow *) 0 ;
26562 wxLayoutConstraints *result;
26563 PyObject * obj0 = 0 ;
26564 char *kwnames[] = {
26565 (char *) "self", NULL
26566 };
26567
26568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetConstraints",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26571 {
26572 PyThreadState* __tstate = wxPyBeginAllowThreads();
26573 result = (wxLayoutConstraints *)((wxWindow const *)arg1)->GetConstraints();
26574
26575 wxPyEndAllowThreads(__tstate);
26576 if (PyErr_Occurred()) SWIG_fail;
26577 }
2f4c0a16 26578 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 0);
d14a1e28
RD
26579 return resultobj;
26580 fail:
26581 return NULL;
26582}
26583
26584
26585static PyObject *_wrap_Window_SetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
26586 PyObject *resultobj;
26587 wxWindow *arg1 = (wxWindow *) 0 ;
26588 bool arg2 ;
26589 PyObject * obj0 = 0 ;
26590 PyObject * obj1 = 0 ;
26591 char *kwnames[] = {
26592 (char *) "self",(char *) "autoLayout", NULL
26593 };
26594
26595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetAutoLayout",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26596 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26597 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26598 arg2 = (bool) SWIG_AsBool(obj1);
26599 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26600 {
26601 PyThreadState* __tstate = wxPyBeginAllowThreads();
26602 (arg1)->SetAutoLayout(arg2);
26603
26604 wxPyEndAllowThreads(__tstate);
26605 if (PyErr_Occurred()) SWIG_fail;
26606 }
26607 Py_INCREF(Py_None); resultobj = Py_None;
26608 return resultobj;
26609 fail:
26610 return NULL;
26611}
26612
26613
26614static PyObject *_wrap_Window_GetAutoLayout(PyObject *self, PyObject *args, PyObject *kwargs) {
26615 PyObject *resultobj;
26616 wxWindow *arg1 = (wxWindow *) 0 ;
26617 bool result;
26618 PyObject * obj0 = 0 ;
26619 char *kwnames[] = {
26620 (char *) "self", NULL
26621 };
26622
26623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetAutoLayout",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26624 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26625 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26626 {
26627 PyThreadState* __tstate = wxPyBeginAllowThreads();
26628 result = (bool)((wxWindow const *)arg1)->GetAutoLayout();
26629
26630 wxPyEndAllowThreads(__tstate);
26631 if (PyErr_Occurred()) SWIG_fail;
26632 }
4e760a36 26633 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26634 return resultobj;
26635 fail:
26636 return NULL;
26637}
26638
26639
26640static PyObject *_wrap_Window_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
26641 PyObject *resultobj;
26642 wxWindow *arg1 = (wxWindow *) 0 ;
26643 bool result;
26644 PyObject * obj0 = 0 ;
26645 char *kwnames[] = {
26646 (char *) "self", NULL
26647 };
26648
26649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_Layout",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26650 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26651 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26652 {
26653 PyThreadState* __tstate = wxPyBeginAllowThreads();
26654 result = (bool)(arg1)->Layout();
26655
26656 wxPyEndAllowThreads(__tstate);
26657 if (PyErr_Occurred()) SWIG_fail;
26658 }
4e760a36 26659 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
26660 return resultobj;
26661 fail:
26662 return NULL;
26663}
26664
26665
26666static PyObject *_wrap_Window_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
26667 PyObject *resultobj;
26668 wxWindow *arg1 = (wxWindow *) 0 ;
26669 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 26670 bool arg3 = (bool) True ;
d14a1e28
RD
26671 PyObject * obj0 = 0 ;
26672 PyObject * obj1 = 0 ;
26673 PyObject * obj2 = 0 ;
26674 char *kwnames[] = {
26675 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26676 };
26677
26678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizer",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26681 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
26682 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 26683 if (obj2) {
2f4c0a16
RD
26684 arg3 = (bool) SWIG_AsBool(obj2);
26685 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26686 }
26687 {
26688 PyThreadState* __tstate = wxPyBeginAllowThreads();
26689 (arg1)->SetSizer(arg2,arg3);
26690
26691 wxPyEndAllowThreads(__tstate);
26692 if (PyErr_Occurred()) SWIG_fail;
26693 }
26694 Py_INCREF(Py_None); resultobj = Py_None;
26695 return resultobj;
26696 fail:
26697 return NULL;
26698}
26699
26700
26701static PyObject *_wrap_Window_SetSizerAndFit(PyObject *self, PyObject *args, PyObject *kwargs) {
26702 PyObject *resultobj;
26703 wxWindow *arg1 = (wxWindow *) 0 ;
26704 wxSizer *arg2 = (wxSizer *) 0 ;
423f194a 26705 bool arg3 = (bool) True ;
d14a1e28
RD
26706 PyObject * obj0 = 0 ;
26707 PyObject * obj1 = 0 ;
26708 PyObject * obj2 = 0 ;
26709 char *kwnames[] = {
26710 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26711 };
26712
26713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Window_SetSizerAndFit",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
26714 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26715 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26716 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
26717 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 26718 if (obj2) {
2f4c0a16
RD
26719 arg3 = (bool) SWIG_AsBool(obj2);
26720 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26721 }
26722 {
26723 PyThreadState* __tstate = wxPyBeginAllowThreads();
26724 (arg1)->SetSizerAndFit(arg2,arg3);
26725
26726 wxPyEndAllowThreads(__tstate);
26727 if (PyErr_Occurred()) SWIG_fail;
26728 }
26729 Py_INCREF(Py_None); resultobj = Py_None;
26730 return resultobj;
26731 fail:
26732 return NULL;
26733}
26734
26735
26736static PyObject *_wrap_Window_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
26737 PyObject *resultobj;
26738 wxWindow *arg1 = (wxWindow *) 0 ;
26739 wxSizer *result;
26740 PyObject * obj0 = 0 ;
26741 char *kwnames[] = {
26742 (char *) "self", NULL
26743 };
26744
26745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26746 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26747 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26748 {
26749 PyThreadState* __tstate = wxPyBeginAllowThreads();
26750 result = (wxSizer *)((wxWindow const *)arg1)->GetSizer();
26751
26752 wxPyEndAllowThreads(__tstate);
26753 if (PyErr_Occurred()) SWIG_fail;
26754 }
26755 {
26756 resultobj = wxPyMake_wxSizer(result);
26757 }
26758 return resultobj;
26759 fail:
26760 return NULL;
26761}
26762
26763
26764static PyObject *_wrap_Window_SetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
26765 PyObject *resultobj;
26766 wxWindow *arg1 = (wxWindow *) 0 ;
26767 wxSizer *arg2 = (wxSizer *) 0 ;
26768 PyObject * obj0 = 0 ;
26769 PyObject * obj1 = 0 ;
26770 char *kwnames[] = {
26771 (char *) "self",(char *) "sizer", NULL
26772 };
26773
26774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_SetContainingSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26775 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26776 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26777 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
26778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26779 {
26780 PyThreadState* __tstate = wxPyBeginAllowThreads();
26781 (arg1)->SetContainingSizer(arg2);
26782
26783 wxPyEndAllowThreads(__tstate);
26784 if (PyErr_Occurred()) SWIG_fail;
26785 }
26786 Py_INCREF(Py_None); resultobj = Py_None;
26787 return resultobj;
26788 fail:
26789 return NULL;
26790}
26791
26792
26793static PyObject *_wrap_Window_GetContainingSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
26794 PyObject *resultobj;
26795 wxWindow *arg1 = (wxWindow *) 0 ;
26796 wxSizer *result;
26797 PyObject * obj0 = 0 ;
26798 char *kwnames[] = {
26799 (char *) "self", NULL
26800 };
26801
26802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Window_GetContainingSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
26803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26805 {
26806 PyThreadState* __tstate = wxPyBeginAllowThreads();
26807 result = (wxSizer *)((wxWindow const *)arg1)->GetContainingSizer();
26808
26809 wxPyEndAllowThreads(__tstate);
26810 if (PyErr_Occurred()) SWIG_fail;
26811 }
26812 {
26813 resultobj = wxPyMake_wxSizer(result);
26814 }
26815 return resultobj;
26816 fail:
26817 return NULL;
26818}
26819
26820
26821static PyObject * Window_swigregister(PyObject *self, PyObject *args) {
26822 PyObject *obj;
26823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26824 SWIG_TypeClientData(SWIGTYPE_p_wxWindow, obj);
26825 Py_INCREF(obj);
26826 return Py_BuildValue((char *)"");
26827}
26828static PyObject *_wrap_FindWindowById(PyObject *self, PyObject *args, PyObject *kwargs) {
26829 PyObject *resultobj;
26830 long arg1 ;
26831 wxWindow *arg2 = (wxWindow *) NULL ;
26832 wxWindow *result;
8edf1c75 26833 PyObject * obj0 = 0 ;
d14a1e28
RD
26834 PyObject * obj1 = 0 ;
26835 char *kwnames[] = {
26836 (char *) "id",(char *) "parent", NULL
26837 };
26838
8edf1c75 26839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
26840 arg1 = (long) SWIG_AsLong(obj0);
26841 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 26842 if (obj1) {
2f4c0a16
RD
26843 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26844 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26845 }
26846 {
26847 PyThreadState* __tstate = wxPyBeginAllowThreads();
26848 result = (wxWindow *)wxFindWindowById(arg1,(wxWindow const *)arg2);
26849
26850 wxPyEndAllowThreads(__tstate);
26851 if (PyErr_Occurred()) SWIG_fail;
26852 }
26853 {
26854 resultobj = wxPyMake_wxObject(result);
26855 }
26856 return resultobj;
26857 fail:
26858 return NULL;
26859}
26860
26861
26862static PyObject *_wrap_FindWindowByName(PyObject *self, PyObject *args, PyObject *kwargs) {
26863 PyObject *resultobj;
26864 wxString *arg1 = 0 ;
26865 wxWindow *arg2 = (wxWindow *) NULL ;
26866 wxWindow *result;
423f194a 26867 bool temp1 = False ;
d14a1e28
RD
26868 PyObject * obj0 = 0 ;
26869 PyObject * obj1 = 0 ;
26870 char *kwnames[] = {
26871 (char *) "name",(char *) "parent", NULL
26872 };
26873
26874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByName",kwnames,&obj0,&obj1)) goto fail;
26875 {
26876 arg1 = wxString_in_helper(obj0);
26877 if (arg1 == NULL) SWIG_fail;
423f194a 26878 temp1 = True;
d14a1e28
RD
26879 }
26880 if (obj1) {
2f4c0a16
RD
26881 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26883 }
26884 {
26885 PyThreadState* __tstate = wxPyBeginAllowThreads();
26886 result = (wxWindow *)wxFindWindowByName((wxString const &)*arg1,(wxWindow const *)arg2);
26887
26888 wxPyEndAllowThreads(__tstate);
26889 if (PyErr_Occurred()) SWIG_fail;
26890 }
26891 {
26892 resultobj = wxPyMake_wxObject(result);
26893 }
26894 {
26895 if (temp1)
26896 delete arg1;
26897 }
26898 return resultobj;
26899 fail:
26900 {
26901 if (temp1)
26902 delete arg1;
26903 }
26904 return NULL;
26905}
26906
26907
26908static PyObject *_wrap_FindWindowByLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
26909 PyObject *resultobj;
26910 wxString *arg1 = 0 ;
26911 wxWindow *arg2 = (wxWindow *) NULL ;
26912 wxWindow *result;
423f194a 26913 bool temp1 = False ;
d14a1e28
RD
26914 PyObject * obj0 = 0 ;
26915 PyObject * obj1 = 0 ;
26916 char *kwnames[] = {
26917 (char *) "label",(char *) "parent", NULL
26918 };
26919
26920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:FindWindowByLabel",kwnames,&obj0,&obj1)) goto fail;
26921 {
26922 arg1 = wxString_in_helper(obj0);
26923 if (arg1 == NULL) SWIG_fail;
423f194a 26924 temp1 = True;
d14a1e28
RD
26925 }
26926 if (obj1) {
2f4c0a16
RD
26927 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
26928 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
26929 }
26930 {
26931 PyThreadState* __tstate = wxPyBeginAllowThreads();
26932 result = (wxWindow *)wxFindWindowByLabel((wxString const &)*arg1,(wxWindow const *)arg2);
26933
26934 wxPyEndAllowThreads(__tstate);
26935 if (PyErr_Occurred()) SWIG_fail;
26936 }
26937 {
26938 resultobj = wxPyMake_wxObject(result);
26939 }
26940 {
26941 if (temp1)
26942 delete arg1;
26943 }
26944 return resultobj;
26945 fail:
26946 {
26947 if (temp1)
26948 delete arg1;
26949 }
26950 return NULL;
26951}
26952
26953
26954static PyObject *_wrap_Window_FromHWND(PyObject *self, PyObject *args, PyObject *kwargs) {
26955 PyObject *resultobj;
fe763115
RD
26956 wxWindow *arg1 = (wxWindow *) 0 ;
26957 unsigned long arg2 ;
d14a1e28
RD
26958 wxWindow *result;
26959 PyObject * obj0 = 0 ;
fe763115 26960 PyObject * obj1 = 0 ;
d14a1e28 26961 char *kwnames[] = {
fe763115 26962 (char *) "parent",(char *) "_hWnd", NULL
d14a1e28
RD
26963 };
26964
fe763115
RD
26965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Window_FromHWND",kwnames,&obj0,&obj1)) goto fail;
26966 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
26967 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
26968 arg2 = (unsigned long) SWIG_AsUnsignedLong(obj1);
2f4c0a16 26969 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
26970 {
26971 PyThreadState* __tstate = wxPyBeginAllowThreads();
fe763115 26972 result = (wxWindow *)wxWindow_FromHWND(arg1,arg2);
d14a1e28
RD
26973
26974 wxPyEndAllowThreads(__tstate);
26975 if (PyErr_Occurred()) SWIG_fail;
26976 }
26977 {
26978 resultobj = wxPyMake_wxObject(result);
26979 }
26980 return resultobj;
26981 fail:
26982 return NULL;
26983}
26984
26985
26986static PyObject *_wrap_new_Validator(PyObject *self, PyObject *args, PyObject *kwargs) {
26987 PyObject *resultobj;
26988 wxValidator *result;
26989 char *kwnames[] = {
26990 NULL
26991 };
26992
26993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_Validator",kwnames)) goto fail;
26994 {
26995 PyThreadState* __tstate = wxPyBeginAllowThreads();
26996 result = (wxValidator *)new wxValidator();
26997
26998 wxPyEndAllowThreads(__tstate);
26999 if (PyErr_Occurred()) SWIG_fail;
27000 }
27001 {
27002 resultobj = wxPyMake_wxObject(result);
27003 }
27004 return resultobj;
27005 fail:
27006 return NULL;
27007}
27008
27009
27010static PyObject *_wrap_Validator_Clone(PyObject *self, PyObject *args, PyObject *kwargs) {
27011 PyObject *resultobj;
27012 wxValidator *arg1 = (wxValidator *) 0 ;
27013 wxValidator *result;
27014 PyObject * obj0 = 0 ;
27015 char *kwnames[] = {
27016 (char *) "self", NULL
27017 };
27018
27019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_Clone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27022 {
27023 PyThreadState* __tstate = wxPyBeginAllowThreads();
27024 result = (wxValidator *)(arg1)->Clone();
27025
27026 wxPyEndAllowThreads(__tstate);
27027 if (PyErr_Occurred()) SWIG_fail;
27028 }
27029 {
27030 resultobj = wxPyMake_wxObject(result);
27031 }
27032 return resultobj;
27033 fail:
27034 return NULL;
27035}
27036
27037
27038static PyObject *_wrap_Validator_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
27039 PyObject *resultobj;
27040 wxValidator *arg1 = (wxValidator *) 0 ;
27041 wxWindow *arg2 = (wxWindow *) 0 ;
27042 bool result;
27043 PyObject * obj0 = 0 ;
27044 PyObject * obj1 = 0 ;
27045 char *kwnames[] = {
27046 (char *) "self",(char *) "parent", NULL
27047 };
27048
27049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_Validate",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27050 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27051 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27052 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27053 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27054 {
27055 PyThreadState* __tstate = wxPyBeginAllowThreads();
27056 result = (bool)(arg1)->Validate(arg2);
27057
27058 wxPyEndAllowThreads(__tstate);
27059 if (PyErr_Occurred()) SWIG_fail;
27060 }
4e760a36 27061 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
27062 return resultobj;
27063 fail:
27064 return NULL;
27065}
27066
27067
27068static PyObject *_wrap_Validator_TransferToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27069 PyObject *resultobj;
27070 wxValidator *arg1 = (wxValidator *) 0 ;
27071 bool result;
27072 PyObject * obj0 = 0 ;
27073 char *kwnames[] = {
27074 (char *) "self", NULL
27075 };
27076
27077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferToWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27078 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27079 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27080 {
27081 PyThreadState* __tstate = wxPyBeginAllowThreads();
27082 result = (bool)(arg1)->TransferToWindow();
27083
27084 wxPyEndAllowThreads(__tstate);
27085 if (PyErr_Occurred()) SWIG_fail;
27086 }
4e760a36 27087 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
27088 return resultobj;
27089 fail:
27090 return NULL;
27091}
27092
27093
27094static PyObject *_wrap_Validator_TransferFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27095 PyObject *resultobj;
27096 wxValidator *arg1 = (wxValidator *) 0 ;
27097 bool result;
27098 PyObject * obj0 = 0 ;
27099 char *kwnames[] = {
27100 (char *) "self", NULL
27101 };
27102
27103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_TransferFromWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27104 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27105 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27106 {
27107 PyThreadState* __tstate = wxPyBeginAllowThreads();
27108 result = (bool)(arg1)->TransferFromWindow();
27109
27110 wxPyEndAllowThreads(__tstate);
27111 if (PyErr_Occurred()) SWIG_fail;
27112 }
4e760a36 27113 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
27114 return resultobj;
27115 fail:
27116 return NULL;
27117}
27118
27119
27120static PyObject *_wrap_Validator_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27121 PyObject *resultobj;
27122 wxValidator *arg1 = (wxValidator *) 0 ;
27123 wxWindow *result;
27124 PyObject * obj0 = 0 ;
27125 char *kwnames[] = {
27126 (char *) "self", NULL
27127 };
27128
27129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Validator_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27132 {
27133 PyThreadState* __tstate = wxPyBeginAllowThreads();
27134 result = (wxWindow *)(arg1)->GetWindow();
27135
27136 wxPyEndAllowThreads(__tstate);
27137 if (PyErr_Occurred()) SWIG_fail;
27138 }
27139 {
27140 resultobj = wxPyMake_wxObject(result);
27141 }
27142 return resultobj;
27143 fail:
27144 return NULL;
27145}
27146
27147
27148static PyObject *_wrap_Validator_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
27149 PyObject *resultobj;
27150 wxValidator *arg1 = (wxValidator *) 0 ;
27151 wxWindow *arg2 = (wxWindow *) 0 ;
27152 PyObject * obj0 = 0 ;
27153 PyObject * obj1 = 0 ;
27154 char *kwnames[] = {
27155 (char *) "self",(char *) "window", NULL
27156 };
27157
27158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Validator_SetWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27159 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxValidator,
27160 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27161 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
27162 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27163 {
27164 PyThreadState* __tstate = wxPyBeginAllowThreads();
27165 (arg1)->SetWindow(arg2);
27166
27167 wxPyEndAllowThreads(__tstate);
27168 if (PyErr_Occurred()) SWIG_fail;
27169 }
27170 Py_INCREF(Py_None); resultobj = Py_None;
27171 return resultobj;
27172 fail:
27173 return NULL;
27174}
27175
27176
27177static PyObject *_wrap_Validator_IsSilent(PyObject *self, PyObject *args, PyObject *kwargs) {
27178 PyObject *resultobj;
27179 bool result;
27180 char *kwnames[] = {
27181 NULL
27182 };
27183
27184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Validator_IsSilent",kwnames)) goto fail;
27185 {
27186 PyThreadState* __tstate = wxPyBeginAllowThreads();
27187 result = (bool)wxValidator::IsSilent();
27188
27189 wxPyEndAllowThreads(__tstate);
27190 if (PyErr_Occurred()) SWIG_fail;
27191 }
4e760a36 27192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
27193 return resultobj;
27194 fail:
27195 return NULL;
27196}
27197
27198
27199static PyObject *_wrap_Validator_SetBellOnError(PyObject *self, PyObject *args, PyObject *kwargs) {
27200 PyObject *resultobj;
423f194a 27201 int arg1 = (int) True ;
8edf1c75 27202 PyObject * obj0 = 0 ;
d14a1e28
RD
27203 char *kwnames[] = {
27204 (char *) "doIt", NULL
27205 };
27206
8edf1c75
RD
27207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:Validator_SetBellOnError",kwnames,&obj0)) goto fail;
27208 if (obj0) {
2f4c0a16
RD
27209 arg1 = (int) SWIG_AsInt(obj0);
27210 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27211 }
d14a1e28
RD
27212 {
27213 PyThreadState* __tstate = wxPyBeginAllowThreads();
27214 wxValidator::SetBellOnError(arg1);
27215
27216 wxPyEndAllowThreads(__tstate);
27217 if (PyErr_Occurred()) SWIG_fail;
27218 }
27219 Py_INCREF(Py_None); resultobj = Py_None;
27220 return resultobj;
27221 fail:
27222 return NULL;
27223}
27224
27225
27226static PyObject * Validator_swigregister(PyObject *self, PyObject *args) {
27227 PyObject *obj;
27228 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27229 SWIG_TypeClientData(SWIGTYPE_p_wxValidator, obj);
27230 Py_INCREF(obj);
27231 return Py_BuildValue((char *)"");
27232}
27233static PyObject *_wrap_new_PyValidator(PyObject *self, PyObject *args, PyObject *kwargs) {
27234 PyObject *resultobj;
27235 wxPyValidator *result;
27236 char *kwnames[] = {
27237 NULL
27238 };
27239
27240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PyValidator",kwnames)) goto fail;
27241 {
27242 PyThreadState* __tstate = wxPyBeginAllowThreads();
27243 result = (wxPyValidator *)new wxPyValidator();
27244
27245 wxPyEndAllowThreads(__tstate);
27246 if (PyErr_Occurred()) SWIG_fail;
27247 }
2f4c0a16 27248 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPyValidator, 1);
d14a1e28
RD
27249 return resultobj;
27250 fail:
27251 return NULL;
27252}
27253
27254
27255static PyObject *_wrap_PyValidator__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
27256 PyObject *resultobj;
27257 wxPyValidator *arg1 = (wxPyValidator *) 0 ;
27258 PyObject *arg2 = (PyObject *) 0 ;
27259 PyObject *arg3 = (PyObject *) 0 ;
423f194a 27260 int arg4 = (int) True ;
d14a1e28
RD
27261 PyObject * obj0 = 0 ;
27262 PyObject * obj1 = 0 ;
27263 PyObject * obj2 = 0 ;
8edf1c75 27264 PyObject * obj3 = 0 ;
d14a1e28
RD
27265 char *kwnames[] = {
27266 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27267 };
27268
8edf1c75 27269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
27270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPyValidator,
27271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27272 arg2 = obj1;
27273 arg3 = obj2;
8edf1c75 27274 if (obj3) {
2f4c0a16
RD
27275 arg4 = (int) SWIG_AsInt(obj3);
27276 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27277 }
d14a1e28
RD
27278 {
27279 PyThreadState* __tstate = wxPyBeginAllowThreads();
27280 (arg1)->_setCallbackInfo(arg2,arg3,arg4);
27281
27282 wxPyEndAllowThreads(__tstate);
27283 if (PyErr_Occurred()) SWIG_fail;
27284 }
27285 Py_INCREF(Py_None); resultobj = Py_None;
27286 return resultobj;
27287 fail:
27288 return NULL;
27289}
27290
27291
27292static PyObject * PyValidator_swigregister(PyObject *self, PyObject *args) {
27293 PyObject *obj;
27294 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
27295 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator, obj);
27296 Py_INCREF(obj);
27297 return Py_BuildValue((char *)"");
27298}
2f4c0a16 27299static int _wrap_DefaultValidator_set(PyObject *_val) {
d14a1e28
RD
27300 PyErr_SetString(PyExc_TypeError,"Variable DefaultValidator is read-only.");
27301 return 1;
27302}
27303
27304
27305static PyObject *_wrap_DefaultValidator_get() {
27306 PyObject *pyobj;
27307
2f4c0a16 27308 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultValidator), SWIGTYPE_p_wxValidator, 0);
d14a1e28
RD
27309 return pyobj;
27310}
27311
27312
27313static PyObject *_wrap_new_Menu(PyObject *self, PyObject *args, PyObject *kwargs) {
27314 PyObject *resultobj;
27315 wxString const &arg1_defvalue = wxPyEmptyString ;
27316 wxString *arg1 = (wxString *) &arg1_defvalue ;
27317 long arg2 = (long) 0 ;
27318 wxMenu *result;
423f194a 27319 bool temp1 = False ;
d14a1e28 27320 PyObject * obj0 = 0 ;
8edf1c75 27321 PyObject * obj1 = 0 ;
d14a1e28
RD
27322 char *kwnames[] = {
27323 (char *) "title",(char *) "style", NULL
27324 };
27325
8edf1c75 27326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_Menu",kwnames,&obj0,&obj1)) goto fail;
d14a1e28
RD
27327 if (obj0) {
27328 {
27329 arg1 = wxString_in_helper(obj0);
27330 if (arg1 == NULL) SWIG_fail;
423f194a 27331 temp1 = True;
d14a1e28
RD
27332 }
27333 }
8edf1c75 27334 if (obj1) {
2f4c0a16
RD
27335 arg2 = (long) SWIG_AsLong(obj1);
27336 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27337 }
d14a1e28
RD
27338 {
27339 PyThreadState* __tstate = wxPyBeginAllowThreads();
27340 result = (wxMenu *)new wxMenu((wxString const &)*arg1,arg2);
27341
27342 wxPyEndAllowThreads(__tstate);
27343 if (PyErr_Occurred()) SWIG_fail;
27344 }
27345 {
27346 resultobj = wxPyMake_wxObject(result);
27347 }
27348 {
27349 if (temp1)
27350 delete arg1;
27351 }
27352 return resultobj;
27353 fail:
27354 {
27355 if (temp1)
27356 delete arg1;
27357 }
27358 return NULL;
27359}
27360
27361
27362static PyObject *_wrap_Menu_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
27363 PyObject *resultobj;
27364 wxMenu *arg1 = (wxMenu *) 0 ;
27365 int arg2 ;
27366 wxString *arg3 = 0 ;
27367 wxString const &arg4_defvalue = wxPyEmptyString ;
27368 wxString *arg4 = (wxString *) &arg4_defvalue ;
27369 int arg5 = (int) wxITEM_NORMAL ;
83448d71 27370 wxMenuItem *result;
423f194a
RD
27371 bool temp3 = False ;
27372 bool temp4 = False ;
d14a1e28 27373 PyObject * obj0 = 0 ;
8edf1c75 27374 PyObject * obj1 = 0 ;
d14a1e28
RD
27375 PyObject * obj2 = 0 ;
27376 PyObject * obj3 = 0 ;
8edf1c75 27377 PyObject * obj4 = 0 ;
d14a1e28 27378 char *kwnames[] = {
f0983263 27379 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
27380 };
27381
8edf1c75 27382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Append",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27383 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27384 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27385 arg2 = (int) SWIG_AsInt(obj1);
27386 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27387 {
27388 arg3 = wxString_in_helper(obj2);
27389 if (arg3 == NULL) SWIG_fail;
423f194a 27390 temp3 = True;
d14a1e28
RD
27391 }
27392 if (obj3) {
27393 {
27394 arg4 = wxString_in_helper(obj3);
27395 if (arg4 == NULL) SWIG_fail;
423f194a 27396 temp4 = True;
d14a1e28
RD
27397 }
27398 }
8edf1c75 27399 if (obj4) {
2f4c0a16
RD
27400 arg5 = (wxItemKind) SWIG_AsInt(obj4);
27401 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27402 }
d14a1e28
RD
27403 {
27404 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 27405 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
27406
27407 wxPyEndAllowThreads(__tstate);
27408 if (PyErr_Occurred()) SWIG_fail;
27409 }
83448d71
RD
27410 {
27411 resultobj = wxPyMake_wxObject(result);
27412 }
d14a1e28
RD
27413 {
27414 if (temp3)
27415 delete arg3;
27416 }
27417 {
27418 if (temp4)
27419 delete arg4;
27420 }
27421 return resultobj;
27422 fail:
27423 {
27424 if (temp3)
27425 delete arg3;
27426 }
27427 {
27428 if (temp4)
27429 delete arg4;
27430 }
27431 return NULL;
27432}
27433
27434
27435static PyObject *_wrap_Menu_AppendSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27436 PyObject *resultobj;
27437 wxMenu *arg1 = (wxMenu *) 0 ;
83448d71 27438 wxMenuItem *result;
d14a1e28
RD
27439 PyObject * obj0 = 0 ;
27440 char *kwnames[] = {
27441 (char *) "self", NULL
27442 };
27443
27444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_AppendSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27445 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27447 {
27448 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 27449 result = (wxMenuItem *)(arg1)->AppendSeparator();
d14a1e28
RD
27450
27451 wxPyEndAllowThreads(__tstate);
27452 if (PyErr_Occurred()) SWIG_fail;
27453 }
83448d71
RD
27454 {
27455 resultobj = wxPyMake_wxObject(result);
27456 }
d14a1e28
RD
27457 return resultobj;
27458 fail:
27459 return NULL;
27460}
27461
27462
27463static PyObject *_wrap_Menu_AppendCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27464 PyObject *resultobj;
27465 wxMenu *arg1 = (wxMenu *) 0 ;
27466 int arg2 ;
27467 wxString *arg3 = 0 ;
27468 wxString const &arg4_defvalue = wxPyEmptyString ;
27469 wxString *arg4 = (wxString *) &arg4_defvalue ;
83448d71 27470 wxMenuItem *result;
423f194a
RD
27471 bool temp3 = False ;
27472 bool temp4 = False ;
d14a1e28 27473 PyObject * obj0 = 0 ;
8edf1c75 27474 PyObject * obj1 = 0 ;
d14a1e28
RD
27475 PyObject * obj2 = 0 ;
27476 PyObject * obj3 = 0 ;
27477 char *kwnames[] = {
f0983263 27478 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27479 };
27480
8edf1c75 27481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
27482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27484 arg2 = (int) SWIG_AsInt(obj1);
27485 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27486 {
27487 arg3 = wxString_in_helper(obj2);
27488 if (arg3 == NULL) SWIG_fail;
423f194a 27489 temp3 = True;
d14a1e28
RD
27490 }
27491 if (obj3) {
27492 {
27493 arg4 = wxString_in_helper(obj3);
27494 if (arg4 == NULL) SWIG_fail;
423f194a 27495 temp4 = True;
d14a1e28
RD
27496 }
27497 }
27498 {
27499 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 27500 result = (wxMenuItem *)(arg1)->AppendCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
27501
27502 wxPyEndAllowThreads(__tstate);
27503 if (PyErr_Occurred()) SWIG_fail;
27504 }
83448d71
RD
27505 {
27506 resultobj = wxPyMake_wxObject(result);
27507 }
d14a1e28
RD
27508 {
27509 if (temp3)
27510 delete arg3;
27511 }
27512 {
27513 if (temp4)
27514 delete arg4;
27515 }
27516 return resultobj;
27517 fail:
27518 {
27519 if (temp3)
27520 delete arg3;
27521 }
27522 {
27523 if (temp4)
27524 delete arg4;
27525 }
27526 return NULL;
27527}
27528
27529
27530static PyObject *_wrap_Menu_AppendRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27531 PyObject *resultobj;
27532 wxMenu *arg1 = (wxMenu *) 0 ;
27533 int arg2 ;
27534 wxString *arg3 = 0 ;
27535 wxString const &arg4_defvalue = wxPyEmptyString ;
27536 wxString *arg4 = (wxString *) &arg4_defvalue ;
83448d71 27537 wxMenuItem *result;
423f194a
RD
27538 bool temp3 = False ;
27539 bool temp4 = False ;
d14a1e28 27540 PyObject * obj0 = 0 ;
8edf1c75 27541 PyObject * obj1 = 0 ;
d14a1e28
RD
27542 PyObject * obj2 = 0 ;
27543 PyObject * obj3 = 0 ;
27544 char *kwnames[] = {
f0983263 27545 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27546 };
27547
8edf1c75 27548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_AppendRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
27549 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27550 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27551 arg2 = (int) SWIG_AsInt(obj1);
27552 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27553 {
27554 arg3 = wxString_in_helper(obj2);
27555 if (arg3 == NULL) SWIG_fail;
423f194a 27556 temp3 = True;
d14a1e28
RD
27557 }
27558 if (obj3) {
27559 {
27560 arg4 = wxString_in_helper(obj3);
27561 if (arg4 == NULL) SWIG_fail;
423f194a 27562 temp4 = True;
d14a1e28
RD
27563 }
27564 }
27565 {
27566 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 27567 result = (wxMenuItem *)(arg1)->AppendRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
27568
27569 wxPyEndAllowThreads(__tstate);
27570 if (PyErr_Occurred()) SWIG_fail;
27571 }
83448d71
RD
27572 {
27573 resultobj = wxPyMake_wxObject(result);
27574 }
d14a1e28
RD
27575 {
27576 if (temp3)
27577 delete arg3;
27578 }
27579 {
27580 if (temp4)
27581 delete arg4;
27582 }
27583 return resultobj;
27584 fail:
27585 {
27586 if (temp3)
27587 delete arg3;
27588 }
27589 {
27590 if (temp4)
27591 delete arg4;
27592 }
27593 return NULL;
27594}
27595
27596
27597static PyObject *_wrap_Menu_AppendMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
27598 PyObject *resultobj;
27599 wxMenu *arg1 = (wxMenu *) 0 ;
27600 int arg2 ;
27601 wxString *arg3 = 0 ;
27602 wxMenu *arg4 = (wxMenu *) 0 ;
27603 wxString const &arg5_defvalue = wxPyEmptyString ;
27604 wxString *arg5 = (wxString *) &arg5_defvalue ;
83448d71 27605 wxMenuItem *result;
423f194a
RD
27606 bool temp3 = False ;
27607 bool temp5 = False ;
d14a1e28 27608 PyObject * obj0 = 0 ;
8edf1c75 27609 PyObject * obj1 = 0 ;
d14a1e28
RD
27610 PyObject * obj2 = 0 ;
27611 PyObject * obj3 = 0 ;
27612 PyObject * obj4 = 0 ;
27613 char *kwnames[] = {
f0983263 27614 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
27615 };
27616
8edf1c75 27617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_AppendMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27618 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27620 arg2 = (int) SWIG_AsInt(obj1);
27621 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27622 {
27623 arg3 = wxString_in_helper(obj2);
27624 if (arg3 == NULL) SWIG_fail;
423f194a 27625 temp3 = True;
d14a1e28 27626 }
2f4c0a16
RD
27627 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
27628 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27629 if (obj4) {
27630 {
27631 arg5 = wxString_in_helper(obj4);
27632 if (arg5 == NULL) SWIG_fail;
423f194a 27633 temp5 = True;
d14a1e28
RD
27634 }
27635 }
27636 {
27637 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 27638 result = (wxMenuItem *)(arg1)->Append(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
27639
27640 wxPyEndAllowThreads(__tstate);
27641 if (PyErr_Occurred()) SWIG_fail;
27642 }
83448d71
RD
27643 {
27644 resultobj = wxPyMake_wxObject(result);
27645 }
d14a1e28
RD
27646 {
27647 if (temp3)
27648 delete arg3;
27649 }
27650 {
27651 if (temp5)
27652 delete arg5;
27653 }
27654 return resultobj;
27655 fail:
27656 {
27657 if (temp3)
27658 delete arg3;
27659 }
27660 {
27661 if (temp5)
27662 delete arg5;
27663 }
27664 return NULL;
27665}
27666
27667
27668static PyObject *_wrap_Menu_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27669 PyObject *resultobj;
27670 wxMenu *arg1 = (wxMenu *) 0 ;
27671 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
83448d71 27672 wxMenuItem *result;
d14a1e28
RD
27673 PyObject * obj0 = 0 ;
27674 PyObject * obj1 = 0 ;
27675 char *kwnames[] = {
27676 (char *) "self",(char *) "item", NULL
27677 };
27678
27679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_AppendItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27680 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27681 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27682 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
27683 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27684 {
27685 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 27686 result = (wxMenuItem *)(arg1)->Append(arg2);
d14a1e28
RD
27687
27688 wxPyEndAllowThreads(__tstate);
27689 if (PyErr_Occurred()) SWIG_fail;
27690 }
83448d71
RD
27691 {
27692 resultobj = wxPyMake_wxObject(result);
27693 }
d14a1e28
RD
27694 return resultobj;
27695 fail:
27696 return NULL;
27697}
27698
27699
27700static PyObject *_wrap_Menu_Break(PyObject *self, PyObject *args, PyObject *kwargs) {
27701 PyObject *resultobj;
27702 wxMenu *arg1 = (wxMenu *) 0 ;
27703 PyObject * obj0 = 0 ;
27704 char *kwnames[] = {
27705 (char *) "self", NULL
27706 };
27707
27708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Break",kwnames,&obj0)) goto fail;
2f4c0a16
RD
27709 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27710 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27711 {
27712 PyThreadState* __tstate = wxPyBeginAllowThreads();
27713 (arg1)->Break();
27714
27715 wxPyEndAllowThreads(__tstate);
27716 if (PyErr_Occurred()) SWIG_fail;
27717 }
27718 Py_INCREF(Py_None); resultobj = Py_None;
27719 return resultobj;
27720 fail:
27721 return NULL;
27722}
27723
27724
27725static PyObject *_wrap_Menu_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27726 PyObject *resultobj;
27727 wxMenu *arg1 = (wxMenu *) 0 ;
27728 size_t arg2 ;
27729 wxMenuItem *arg3 = (wxMenuItem *) 0 ;
83448d71 27730 wxMenuItem *result;
d14a1e28
RD
27731 PyObject * obj0 = 0 ;
27732 PyObject * obj1 = 0 ;
27733 PyObject * obj2 = 0 ;
27734 char *kwnames[] = {
27735 (char *) "self",(char *) "pos",(char *) "item", NULL
27736 };
27737
27738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
27739 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27740 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27741 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
27742 if (PyErr_Occurred()) SWIG_fail;
27743 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenuItem,
27744 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
27745 {
27746 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 27747 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3);
d14a1e28
RD
27748
27749 wxPyEndAllowThreads(__tstate);
27750 if (PyErr_Occurred()) SWIG_fail;
27751 }
83448d71
RD
27752 {
27753 resultobj = wxPyMake_wxObject(result);
27754 }
d14a1e28
RD
27755 return resultobj;
27756 fail:
27757 return NULL;
27758}
27759
27760
27761static PyObject *_wrap_Menu_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
27762 PyObject *resultobj;
27763 wxMenu *arg1 = (wxMenu *) 0 ;
27764 size_t arg2 ;
27765 int arg3 ;
27766 wxString *arg4 = 0 ;
27767 wxString const &arg5_defvalue = wxPyEmptyString ;
27768 wxString *arg5 = (wxString *) &arg5_defvalue ;
27769 int arg6 = (int) wxITEM_NORMAL ;
83448d71 27770 wxMenuItem *result;
423f194a
RD
27771 bool temp4 = False ;
27772 bool temp5 = False ;
d14a1e28
RD
27773 PyObject * obj0 = 0 ;
27774 PyObject * obj1 = 0 ;
8edf1c75 27775 PyObject * obj2 = 0 ;
d14a1e28
RD
27776 PyObject * obj3 = 0 ;
27777 PyObject * obj4 = 0 ;
8edf1c75 27778 PyObject * obj5 = 0 ;
d14a1e28 27779 char *kwnames[] = {
f0983263 27780 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
27781 };
27782
8edf1c75 27783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:Menu_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
27784 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27785 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27786 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
27787 if (PyErr_Occurred()) SWIG_fail;
27788 arg3 = (int) SWIG_AsInt(obj2);
27789 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27790 {
27791 arg4 = wxString_in_helper(obj3);
27792 if (arg4 == NULL) SWIG_fail;
423f194a 27793 temp4 = True;
d14a1e28
RD
27794 }
27795 if (obj4) {
27796 {
27797 arg5 = wxString_in_helper(obj4);
27798 if (arg5 == NULL) SWIG_fail;
423f194a 27799 temp5 = True;
d14a1e28
RD
27800 }
27801 }
8edf1c75 27802 if (obj5) {
2f4c0a16
RD
27803 arg6 = (wxItemKind) SWIG_AsInt(obj5);
27804 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 27805 }
d14a1e28
RD
27806 {
27807 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 27808 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5,(wxItemKind )arg6);
d14a1e28
RD
27809
27810 wxPyEndAllowThreads(__tstate);
27811 if (PyErr_Occurred()) SWIG_fail;
27812 }
83448d71
RD
27813 {
27814 resultobj = wxPyMake_wxObject(result);
27815 }
d14a1e28
RD
27816 {
27817 if (temp4)
27818 delete arg4;
27819 }
27820 {
27821 if (temp5)
27822 delete arg5;
27823 }
27824 return resultobj;
27825 fail:
27826 {
27827 if (temp4)
27828 delete arg4;
27829 }
27830 {
27831 if (temp5)
27832 delete arg5;
27833 }
27834 return NULL;
27835}
27836
27837
27838static PyObject *_wrap_Menu_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
27839 PyObject *resultobj;
27840 wxMenu *arg1 = (wxMenu *) 0 ;
27841 size_t arg2 ;
83448d71 27842 wxMenuItem *result;
d14a1e28
RD
27843 PyObject * obj0 = 0 ;
27844 PyObject * obj1 = 0 ;
27845 char *kwnames[] = {
27846 (char *) "self",(char *) "pos", NULL
27847 };
27848
27849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
27850 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27851 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27852 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
27853 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27854 {
27855 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 27856 result = (wxMenuItem *)(arg1)->InsertSeparator(arg2);
d14a1e28
RD
27857
27858 wxPyEndAllowThreads(__tstate);
27859 if (PyErr_Occurred()) SWIG_fail;
27860 }
83448d71
RD
27861 {
27862 resultobj = wxPyMake_wxObject(result);
27863 }
d14a1e28
RD
27864 return resultobj;
27865 fail:
27866 return NULL;
27867}
27868
27869
27870static PyObject *_wrap_Menu_InsertCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27871 PyObject *resultobj;
27872 wxMenu *arg1 = (wxMenu *) 0 ;
27873 size_t arg2 ;
27874 int arg3 ;
27875 wxString *arg4 = 0 ;
27876 wxString const &arg5_defvalue = wxPyEmptyString ;
27877 wxString *arg5 = (wxString *) &arg5_defvalue ;
83448d71 27878 wxMenuItem *result;
423f194a
RD
27879 bool temp4 = False ;
27880 bool temp5 = False ;
d14a1e28
RD
27881 PyObject * obj0 = 0 ;
27882 PyObject * obj1 = 0 ;
8edf1c75 27883 PyObject * obj2 = 0 ;
d14a1e28
RD
27884 PyObject * obj3 = 0 ;
27885 PyObject * obj4 = 0 ;
27886 char *kwnames[] = {
f0983263 27887 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27888 };
27889
8edf1c75 27890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27891 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27892 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27893 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
27894 if (PyErr_Occurred()) SWIG_fail;
27895 arg3 = (int) SWIG_AsInt(obj2);
27896 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27897 {
27898 arg4 = wxString_in_helper(obj3);
27899 if (arg4 == NULL) SWIG_fail;
423f194a 27900 temp4 = True;
d14a1e28
RD
27901 }
27902 if (obj4) {
27903 {
27904 arg5 = wxString_in_helper(obj4);
27905 if (arg5 == NULL) SWIG_fail;
423f194a 27906 temp5 = True;
d14a1e28
RD
27907 }
27908 }
27909 {
27910 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 27911 result = (wxMenuItem *)(arg1)->InsertCheckItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
27912
27913 wxPyEndAllowThreads(__tstate);
27914 if (PyErr_Occurred()) SWIG_fail;
27915 }
83448d71
RD
27916 {
27917 resultobj = wxPyMake_wxObject(result);
27918 }
d14a1e28
RD
27919 {
27920 if (temp4)
27921 delete arg4;
27922 }
27923 {
27924 if (temp5)
27925 delete arg5;
27926 }
27927 return resultobj;
27928 fail:
27929 {
27930 if (temp4)
27931 delete arg4;
27932 }
27933 {
27934 if (temp5)
27935 delete arg5;
27936 }
27937 return NULL;
27938}
27939
27940
27941static PyObject *_wrap_Menu_InsertRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
27942 PyObject *resultobj;
27943 wxMenu *arg1 = (wxMenu *) 0 ;
27944 size_t arg2 ;
27945 int arg3 ;
27946 wxString *arg4 = 0 ;
27947 wxString const &arg5_defvalue = wxPyEmptyString ;
27948 wxString *arg5 = (wxString *) &arg5_defvalue ;
83448d71 27949 wxMenuItem *result;
423f194a
RD
27950 bool temp4 = False ;
27951 bool temp5 = False ;
d14a1e28
RD
27952 PyObject * obj0 = 0 ;
27953 PyObject * obj1 = 0 ;
8edf1c75 27954 PyObject * obj2 = 0 ;
d14a1e28
RD
27955 PyObject * obj3 = 0 ;
27956 PyObject * obj4 = 0 ;
27957 char *kwnames[] = {
f0983263 27958 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
27959 };
27960
8edf1c75 27961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
27962 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
27963 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
27964 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
27965 if (PyErr_Occurred()) SWIG_fail;
27966 arg3 = (int) SWIG_AsInt(obj2);
27967 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
27968 {
27969 arg4 = wxString_in_helper(obj3);
27970 if (arg4 == NULL) SWIG_fail;
423f194a 27971 temp4 = True;
d14a1e28
RD
27972 }
27973 if (obj4) {
27974 {
27975 arg5 = wxString_in_helper(obj4);
27976 if (arg5 == NULL) SWIG_fail;
423f194a 27977 temp5 = True;
d14a1e28
RD
27978 }
27979 }
27980 {
27981 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 27982 result = (wxMenuItem *)(arg1)->InsertRadioItem(arg2,arg3,(wxString const &)*arg4,(wxString const &)*arg5);
d14a1e28
RD
27983
27984 wxPyEndAllowThreads(__tstate);
27985 if (PyErr_Occurred()) SWIG_fail;
27986 }
83448d71
RD
27987 {
27988 resultobj = wxPyMake_wxObject(result);
27989 }
d14a1e28
RD
27990 {
27991 if (temp4)
27992 delete arg4;
27993 }
27994 {
27995 if (temp5)
27996 delete arg5;
27997 }
27998 return resultobj;
27999 fail:
28000 {
28001 if (temp4)
28002 delete arg4;
28003 }
28004 {
28005 if (temp5)
28006 delete arg5;
28007 }
28008 return NULL;
28009}
28010
28011
28012static PyObject *_wrap_Menu_InsertMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28013 PyObject *resultobj;
28014 wxMenu *arg1 = (wxMenu *) 0 ;
28015 size_t arg2 ;
28016 int arg3 ;
28017 wxString *arg4 = 0 ;
28018 wxMenu *arg5 = (wxMenu *) 0 ;
28019 wxString const &arg6_defvalue = wxPyEmptyString ;
28020 wxString *arg6 = (wxString *) &arg6_defvalue ;
83448d71 28021 wxMenuItem *result;
423f194a
RD
28022 bool temp4 = False ;
28023 bool temp6 = False ;
d14a1e28
RD
28024 PyObject * obj0 = 0 ;
28025 PyObject * obj1 = 0 ;
8edf1c75 28026 PyObject * obj2 = 0 ;
d14a1e28
RD
28027 PyObject * obj3 = 0 ;
28028 PyObject * obj4 = 0 ;
28029 PyObject * obj5 = 0 ;
28030 char *kwnames[] = {
f0983263 28031 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
28032 };
28033
8edf1c75 28034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:Menu_InsertMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
28035 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28036 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28037 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28038 if (PyErr_Occurred()) SWIG_fail;
28039 arg3 = (int) SWIG_AsInt(obj2);
28040 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28041 {
28042 arg4 = wxString_in_helper(obj3);
28043 if (arg4 == NULL) SWIG_fail;
423f194a 28044 temp4 = True;
d14a1e28 28045 }
2f4c0a16
RD
28046 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxMenu,
28047 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28048 if (obj5) {
28049 {
28050 arg6 = wxString_in_helper(obj5);
28051 if (arg6 == NULL) SWIG_fail;
423f194a 28052 temp6 = True;
d14a1e28
RD
28053 }
28054 }
28055 {
28056 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28057 result = (wxMenuItem *)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4,arg5,(wxString const &)*arg6);
d14a1e28
RD
28058
28059 wxPyEndAllowThreads(__tstate);
28060 if (PyErr_Occurred()) SWIG_fail;
28061 }
83448d71
RD
28062 {
28063 resultobj = wxPyMake_wxObject(result);
28064 }
d14a1e28
RD
28065 {
28066 if (temp4)
28067 delete arg4;
28068 }
28069 {
28070 if (temp6)
28071 delete arg6;
28072 }
28073 return resultobj;
28074 fail:
28075 {
28076 if (temp4)
28077 delete arg4;
28078 }
28079 {
28080 if (temp6)
28081 delete arg6;
28082 }
28083 return NULL;
28084}
28085
28086
28087static PyObject *_wrap_Menu_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28088 PyObject *resultobj;
28089 wxMenu *arg1 = (wxMenu *) 0 ;
28090 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
83448d71 28091 wxMenuItem *result;
d14a1e28
RD
28092 PyObject * obj0 = 0 ;
28093 PyObject * obj1 = 0 ;
28094 char *kwnames[] = {
28095 (char *) "self",(char *) "item", NULL
28096 };
28097
28098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_PrependItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28099 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28100 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28101 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28102 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28103 {
28104 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28105 result = (wxMenuItem *)(arg1)->Prepend(arg2);
d14a1e28
RD
28106
28107 wxPyEndAllowThreads(__tstate);
28108 if (PyErr_Occurred()) SWIG_fail;
28109 }
83448d71
RD
28110 {
28111 resultobj = wxPyMake_wxObject(result);
28112 }
d14a1e28
RD
28113 return resultobj;
28114 fail:
28115 return NULL;
28116}
28117
28118
28119static PyObject *_wrap_Menu_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
28120 PyObject *resultobj;
28121 wxMenu *arg1 = (wxMenu *) 0 ;
28122 int arg2 ;
28123 wxString *arg3 = 0 ;
28124 wxString const &arg4_defvalue = wxPyEmptyString ;
28125 wxString *arg4 = (wxString *) &arg4_defvalue ;
28126 int arg5 = (int) wxITEM_NORMAL ;
83448d71 28127 wxMenuItem *result;
423f194a
RD
28128 bool temp3 = False ;
28129 bool temp4 = False ;
d14a1e28 28130 PyObject * obj0 = 0 ;
8edf1c75 28131 PyObject * obj1 = 0 ;
d14a1e28
RD
28132 PyObject * obj2 = 0 ;
28133 PyObject * obj3 = 0 ;
8edf1c75 28134 PyObject * obj4 = 0 ;
d14a1e28 28135 char *kwnames[] = {
f0983263 28136 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
d14a1e28
RD
28137 };
28138
8edf1c75 28139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:Menu_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28140 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28141 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28142 arg2 = (int) SWIG_AsInt(obj1);
28143 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28144 {
28145 arg3 = wxString_in_helper(obj2);
28146 if (arg3 == NULL) SWIG_fail;
423f194a 28147 temp3 = True;
d14a1e28
RD
28148 }
28149 if (obj3) {
28150 {
28151 arg4 = wxString_in_helper(obj3);
28152 if (arg4 == NULL) SWIG_fail;
423f194a 28153 temp4 = True;
d14a1e28
RD
28154 }
28155 }
8edf1c75 28156 if (obj4) {
2f4c0a16
RD
28157 arg5 = (wxItemKind) SWIG_AsInt(obj4);
28158 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 28159 }
d14a1e28
RD
28160 {
28161 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28162 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5);
d14a1e28
RD
28163
28164 wxPyEndAllowThreads(__tstate);
28165 if (PyErr_Occurred()) SWIG_fail;
28166 }
83448d71
RD
28167 {
28168 resultobj = wxPyMake_wxObject(result);
28169 }
d14a1e28
RD
28170 {
28171 if (temp3)
28172 delete arg3;
28173 }
28174 {
28175 if (temp4)
28176 delete arg4;
28177 }
28178 return resultobj;
28179 fail:
28180 {
28181 if (temp3)
28182 delete arg3;
28183 }
28184 {
28185 if (temp4)
28186 delete arg4;
28187 }
28188 return NULL;
28189}
28190
28191
28192static PyObject *_wrap_Menu_PrependSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
28193 PyObject *resultobj;
28194 wxMenu *arg1 = (wxMenu *) 0 ;
83448d71 28195 wxMenuItem *result;
d14a1e28
RD
28196 PyObject * obj0 = 0 ;
28197 char *kwnames[] = {
28198 (char *) "self", NULL
28199 };
28200
28201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_PrependSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28202 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28203 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28204 {
28205 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28206 result = (wxMenuItem *)(arg1)->PrependSeparator();
d14a1e28
RD
28207
28208 wxPyEndAllowThreads(__tstate);
28209 if (PyErr_Occurred()) SWIG_fail;
28210 }
83448d71
RD
28211 {
28212 resultobj = wxPyMake_wxObject(result);
28213 }
d14a1e28
RD
28214 return resultobj;
28215 fail:
28216 return NULL;
28217}
28218
28219
28220static PyObject *_wrap_Menu_PrependCheckItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28221 PyObject *resultobj;
28222 wxMenu *arg1 = (wxMenu *) 0 ;
28223 int arg2 ;
28224 wxString *arg3 = 0 ;
28225 wxString const &arg4_defvalue = wxPyEmptyString ;
28226 wxString *arg4 = (wxString *) &arg4_defvalue ;
83448d71 28227 wxMenuItem *result;
423f194a
RD
28228 bool temp3 = False ;
28229 bool temp4 = False ;
d14a1e28 28230 PyObject * obj0 = 0 ;
8edf1c75 28231 PyObject * obj1 = 0 ;
d14a1e28
RD
28232 PyObject * obj2 = 0 ;
28233 PyObject * obj3 = 0 ;
28234 char *kwnames[] = {
f0983263 28235 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28236 };
28237
8edf1c75 28238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependCheckItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
28239 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28240 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28241 arg2 = (int) SWIG_AsInt(obj1);
28242 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28243 {
28244 arg3 = wxString_in_helper(obj2);
28245 if (arg3 == NULL) SWIG_fail;
423f194a 28246 temp3 = True;
d14a1e28
RD
28247 }
28248 if (obj3) {
28249 {
28250 arg4 = wxString_in_helper(obj3);
28251 if (arg4 == NULL) SWIG_fail;
423f194a 28252 temp4 = True;
d14a1e28
RD
28253 }
28254 }
28255 {
28256 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28257 result = (wxMenuItem *)(arg1)->PrependCheckItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28258
28259 wxPyEndAllowThreads(__tstate);
28260 if (PyErr_Occurred()) SWIG_fail;
28261 }
83448d71
RD
28262 {
28263 resultobj = wxPyMake_wxObject(result);
28264 }
d14a1e28
RD
28265 {
28266 if (temp3)
28267 delete arg3;
28268 }
28269 {
28270 if (temp4)
28271 delete arg4;
28272 }
28273 return resultobj;
28274 fail:
28275 {
28276 if (temp3)
28277 delete arg3;
28278 }
28279 {
28280 if (temp4)
28281 delete arg4;
28282 }
28283 return NULL;
28284}
28285
28286
28287static PyObject *_wrap_Menu_PrependRadioItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28288 PyObject *resultobj;
28289 wxMenu *arg1 = (wxMenu *) 0 ;
28290 int arg2 ;
28291 wxString *arg3 = 0 ;
28292 wxString const &arg4_defvalue = wxPyEmptyString ;
28293 wxString *arg4 = (wxString *) &arg4_defvalue ;
83448d71 28294 wxMenuItem *result;
423f194a
RD
28295 bool temp3 = False ;
28296 bool temp4 = False ;
d14a1e28 28297 PyObject * obj0 = 0 ;
8edf1c75 28298 PyObject * obj1 = 0 ;
d14a1e28
RD
28299 PyObject * obj2 = 0 ;
28300 PyObject * obj3 = 0 ;
28301 char *kwnames[] = {
f0983263 28302 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
d14a1e28
RD
28303 };
28304
8edf1c75 28305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Menu_PrependRadioItem",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
28306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28308 arg2 = (int) SWIG_AsInt(obj1);
28309 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28310 {
28311 arg3 = wxString_in_helper(obj2);
28312 if (arg3 == NULL) SWIG_fail;
423f194a 28313 temp3 = True;
d14a1e28
RD
28314 }
28315 if (obj3) {
28316 {
28317 arg4 = wxString_in_helper(obj3);
28318 if (arg4 == NULL) SWIG_fail;
423f194a 28319 temp4 = True;
d14a1e28
RD
28320 }
28321 }
28322 {
28323 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28324 result = (wxMenuItem *)(arg1)->PrependRadioItem(arg2,(wxString const &)*arg3,(wxString const &)*arg4);
d14a1e28
RD
28325
28326 wxPyEndAllowThreads(__tstate);
28327 if (PyErr_Occurred()) SWIG_fail;
28328 }
83448d71
RD
28329 {
28330 resultobj = wxPyMake_wxObject(result);
28331 }
d14a1e28
RD
28332 {
28333 if (temp3)
28334 delete arg3;
28335 }
28336 {
28337 if (temp4)
28338 delete arg4;
28339 }
28340 return resultobj;
28341 fail:
28342 {
28343 if (temp3)
28344 delete arg3;
28345 }
28346 {
28347 if (temp4)
28348 delete arg4;
28349 }
28350 return NULL;
28351}
28352
28353
28354static PyObject *_wrap_Menu_PrependMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
28355 PyObject *resultobj;
28356 wxMenu *arg1 = (wxMenu *) 0 ;
28357 int arg2 ;
28358 wxString *arg3 = 0 ;
28359 wxMenu *arg4 = (wxMenu *) 0 ;
28360 wxString const &arg5_defvalue = wxPyEmptyString ;
28361 wxString *arg5 = (wxString *) &arg5_defvalue ;
83448d71 28362 wxMenuItem *result;
423f194a
RD
28363 bool temp3 = False ;
28364 bool temp5 = False ;
d14a1e28 28365 PyObject * obj0 = 0 ;
8edf1c75 28366 PyObject * obj1 = 0 ;
d14a1e28
RD
28367 PyObject * obj2 = 0 ;
28368 PyObject * obj3 = 0 ;
28369 PyObject * obj4 = 0 ;
28370 char *kwnames[] = {
f0983263 28371 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
d14a1e28
RD
28372 };
28373
8edf1c75 28374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:Menu_PrependMenu",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
28375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28377 arg2 = (int) SWIG_AsInt(obj1);
28378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28379 {
28380 arg3 = wxString_in_helper(obj2);
28381 if (arg3 == NULL) SWIG_fail;
423f194a 28382 temp3 = True;
d14a1e28 28383 }
2f4c0a16
RD
28384 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxMenu,
28385 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28386 if (obj4) {
28387 {
28388 arg5 = wxString_in_helper(obj4);
28389 if (arg5 == NULL) SWIG_fail;
423f194a 28390 temp5 = True;
d14a1e28
RD
28391 }
28392 }
28393 {
28394 PyThreadState* __tstate = wxPyBeginAllowThreads();
83448d71 28395 result = (wxMenuItem *)(arg1)->Prepend(arg2,(wxString const &)*arg3,arg4,(wxString const &)*arg5);
d14a1e28
RD
28396
28397 wxPyEndAllowThreads(__tstate);
28398 if (PyErr_Occurred()) SWIG_fail;
28399 }
83448d71
RD
28400 {
28401 resultobj = wxPyMake_wxObject(result);
28402 }
d14a1e28
RD
28403 {
28404 if (temp3)
28405 delete arg3;
28406 }
28407 {
28408 if (temp5)
28409 delete arg5;
28410 }
28411 return resultobj;
28412 fail:
28413 {
28414 if (temp3)
28415 delete arg3;
28416 }
28417 {
28418 if (temp5)
28419 delete arg5;
28420 }
28421 return NULL;
28422}
28423
28424
28425static PyObject *_wrap_Menu_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
28426 PyObject *resultobj;
28427 wxMenu *arg1 = (wxMenu *) 0 ;
28428 int arg2 ;
28429 wxMenuItem *result;
28430 PyObject * obj0 = 0 ;
8edf1c75 28431 PyObject * obj1 = 0 ;
d14a1e28 28432 char *kwnames[] = {
f0983263 28433 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28434 };
28435
8edf1c75 28436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28437 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28438 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28439 arg2 = (int) SWIG_AsInt(obj1);
28440 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28441 {
28442 PyThreadState* __tstate = wxPyBeginAllowThreads();
28443 result = (wxMenuItem *)(arg1)->Remove(arg2);
28444
28445 wxPyEndAllowThreads(__tstate);
28446 if (PyErr_Occurred()) SWIG_fail;
28447 }
28448 {
28449 resultobj = wxPyMake_wxObject(result);
28450 }
28451 return resultobj;
28452 fail:
28453 return NULL;
28454}
28455
28456
28457static PyObject *_wrap_Menu_RemoveItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28458 PyObject *resultobj;
28459 wxMenu *arg1 = (wxMenu *) 0 ;
28460 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28461 wxMenuItem *result;
28462 PyObject * obj0 = 0 ;
28463 PyObject * obj1 = 0 ;
28464 char *kwnames[] = {
28465 (char *) "self",(char *) "item", NULL
28466 };
28467
28468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_RemoveItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28469 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28470 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28471 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28473 {
28474 PyThreadState* __tstate = wxPyBeginAllowThreads();
28475 result = (wxMenuItem *)(arg1)->Remove(arg2);
28476
28477 wxPyEndAllowThreads(__tstate);
28478 if (PyErr_Occurred()) SWIG_fail;
28479 }
28480 {
28481 resultobj = wxPyMake_wxObject(result);
28482 }
28483 return resultobj;
28484 fail:
28485 return NULL;
28486}
28487
28488
28489static PyObject *_wrap_Menu_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
28490 PyObject *resultobj;
28491 wxMenu *arg1 = (wxMenu *) 0 ;
28492 int arg2 ;
28493 bool result;
28494 PyObject * obj0 = 0 ;
8edf1c75 28495 PyObject * obj1 = 0 ;
d14a1e28 28496 char *kwnames[] = {
f0983263 28497 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28498 };
28499
8edf1c75 28500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Delete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28501 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28502 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28503 arg2 = (int) SWIG_AsInt(obj1);
28504 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28505 {
28506 PyThreadState* __tstate = wxPyBeginAllowThreads();
28507 result = (bool)(arg1)->Delete(arg2);
28508
28509 wxPyEndAllowThreads(__tstate);
28510 if (PyErr_Occurred()) SWIG_fail;
28511 }
4e760a36 28512 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28513 return resultobj;
28514 fail:
28515 return NULL;
28516}
28517
28518
28519static PyObject *_wrap_Menu_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28520 PyObject *resultobj;
28521 wxMenu *arg1 = (wxMenu *) 0 ;
28522 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28523 bool result;
28524 PyObject * obj0 = 0 ;
28525 PyObject * obj1 = 0 ;
28526 char *kwnames[] = {
28527 (char *) "self",(char *) "item", NULL
28528 };
28529
28530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DeleteItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28533 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28534 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28535 {
28536 PyThreadState* __tstate = wxPyBeginAllowThreads();
28537 result = (bool)(arg1)->Delete(arg2);
28538
28539 wxPyEndAllowThreads(__tstate);
28540 if (PyErr_Occurred()) SWIG_fail;
28541 }
4e760a36 28542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28543 return resultobj;
28544 fail:
28545 return NULL;
28546}
28547
28548
28549static PyObject *_wrap_Menu_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
28550 PyObject *resultobj;
28551 wxMenu *arg1 = (wxMenu *) 0 ;
28552 PyObject * obj0 = 0 ;
28553 char *kwnames[] = {
28554 (char *) "self", NULL
28555 };
28556
28557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Destroy",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28558 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28559 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28560 {
28561 PyThreadState* __tstate = wxPyBeginAllowThreads();
28562 wxMenu_Destroy(arg1);
28563
28564 wxPyEndAllowThreads(__tstate);
28565 if (PyErr_Occurred()) SWIG_fail;
28566 }
28567 Py_INCREF(Py_None); resultobj = Py_None;
28568 return resultobj;
28569 fail:
28570 return NULL;
28571}
28572
28573
28574static PyObject *_wrap_Menu_DestroyId(PyObject *self, PyObject *args, PyObject *kwargs) {
28575 PyObject *resultobj;
28576 wxMenu *arg1 = (wxMenu *) 0 ;
28577 int arg2 ;
28578 bool result;
28579 PyObject * obj0 = 0 ;
8edf1c75 28580 PyObject * obj1 = 0 ;
d14a1e28 28581 char *kwnames[] = {
f0983263 28582 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28583 };
28584
8edf1c75 28585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28586 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28587 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28588 arg2 = (int) SWIG_AsInt(obj1);
28589 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28590 {
28591 PyThreadState* __tstate = wxPyBeginAllowThreads();
28592 result = (bool)(arg1)->Destroy(arg2);
28593
28594 wxPyEndAllowThreads(__tstate);
28595 if (PyErr_Occurred()) SWIG_fail;
28596 }
4e760a36 28597 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28598 return resultobj;
28599 fail:
28600 return NULL;
28601}
28602
28603
28604static PyObject *_wrap_Menu_DestroyItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28605 PyObject *resultobj;
28606 wxMenu *arg1 = (wxMenu *) 0 ;
28607 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
28608 bool result;
28609 PyObject * obj0 = 0 ;
28610 PyObject * obj1 = 0 ;
28611 char *kwnames[] = {
28612 (char *) "self",(char *) "item", NULL
28613 };
28614
28615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_DestroyItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28616 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28617 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28618 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuItem,
28619 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28620 {
28621 PyThreadState* __tstate = wxPyBeginAllowThreads();
28622 result = (bool)(arg1)->Destroy(arg2);
28623
28624 wxPyEndAllowThreads(__tstate);
28625 if (PyErr_Occurred()) SWIG_fail;
28626 }
4e760a36 28627 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28628 return resultobj;
28629 fail:
28630 return NULL;
28631}
28632
28633
28634static PyObject *_wrap_Menu_GetMenuItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
28635 PyObject *resultobj;
28636 wxMenu *arg1 = (wxMenu *) 0 ;
28637 size_t result;
28638 PyObject * obj0 = 0 ;
28639 char *kwnames[] = {
28640 (char *) "self", NULL
28641 };
28642
28643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItemCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28644 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28645 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28646 {
28647 PyThreadState* __tstate = wxPyBeginAllowThreads();
28648 result = (size_t)((wxMenu const *)arg1)->GetMenuItemCount();
28649
28650 wxPyEndAllowThreads(__tstate);
28651 if (PyErr_Occurred()) SWIG_fail;
28652 }
2f4c0a16 28653 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
28654 return resultobj;
28655 fail:
28656 return NULL;
28657}
28658
28659
28660static PyObject *_wrap_Menu_GetMenuItems(PyObject *self, PyObject *args, PyObject *kwargs) {
28661 PyObject *resultobj;
28662 wxMenu *arg1 = (wxMenu *) 0 ;
28663 PyObject *result;
28664 PyObject * obj0 = 0 ;
28665 char *kwnames[] = {
28666 (char *) "self", NULL
28667 };
28668
28669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuItems",kwnames,&obj0)) goto fail;
2f4c0a16
RD
28670 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28671 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28672 {
28673 PyThreadState* __tstate = wxPyBeginAllowThreads();
28674 result = (PyObject *)wxMenu_GetMenuItems(arg1);
28675
28676 wxPyEndAllowThreads(__tstate);
28677 if (PyErr_Occurred()) SWIG_fail;
28678 }
28679 resultobj = result;
28680 return resultobj;
28681 fail:
28682 return NULL;
28683}
28684
28685
28686static PyObject *_wrap_Menu_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
28687 PyObject *resultobj;
28688 wxMenu *arg1 = (wxMenu *) 0 ;
28689 wxString *arg2 = 0 ;
28690 int result;
423f194a 28691 bool temp2 = False ;
d14a1e28
RD
28692 PyObject * obj0 = 0 ;
28693 PyObject * obj1 = 0 ;
28694 char *kwnames[] = {
28695 (char *) "self",(char *) "item", NULL
28696 };
28697
28698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28699 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28700 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
28701 {
28702 arg2 = wxString_in_helper(obj1);
28703 if (arg2 == NULL) SWIG_fail;
423f194a 28704 temp2 = True;
d14a1e28
RD
28705 }
28706 {
28707 PyThreadState* __tstate = wxPyBeginAllowThreads();
28708 result = (int)((wxMenu const *)arg1)->FindItem((wxString const &)*arg2);
28709
28710 wxPyEndAllowThreads(__tstate);
28711 if (PyErr_Occurred()) SWIG_fail;
28712 }
2f4c0a16 28713 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
28714 {
28715 if (temp2)
28716 delete arg2;
28717 }
28718 return resultobj;
28719 fail:
28720 {
28721 if (temp2)
28722 delete arg2;
28723 }
28724 return NULL;
28725}
28726
28727
28728static PyObject *_wrap_Menu_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
28729 PyObject *resultobj;
28730 wxMenu *arg1 = (wxMenu *) 0 ;
28731 int arg2 ;
28732 wxMenuItem *result;
28733 PyObject * obj0 = 0 ;
8edf1c75 28734 PyObject * obj1 = 0 ;
d14a1e28 28735 char *kwnames[] = {
f0983263 28736 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28737 };
28738
8edf1c75 28739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28740 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28741 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28742 arg2 = (int) SWIG_AsInt(obj1);
28743 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28744 {
28745 PyThreadState* __tstate = wxPyBeginAllowThreads();
28746 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItem(arg2);
28747
28748 wxPyEndAllowThreads(__tstate);
28749 if (PyErr_Occurred()) SWIG_fail;
28750 }
28751 {
28752 resultobj = wxPyMake_wxObject(result);
28753 }
28754 return resultobj;
28755 fail:
28756 return NULL;
28757}
28758
28759
28760static PyObject *_wrap_Menu_FindItemByPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
28761 PyObject *resultobj;
28762 wxMenu *arg1 = (wxMenu *) 0 ;
28763 size_t arg2 ;
28764 wxMenuItem *result;
28765 PyObject * obj0 = 0 ;
28766 PyObject * obj1 = 0 ;
28767 char *kwnames[] = {
28768 (char *) "self",(char *) "position", NULL
28769 };
28770
28771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_FindItemByPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28772 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28773 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28774 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
28775 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28776 {
28777 PyThreadState* __tstate = wxPyBeginAllowThreads();
28778 result = (wxMenuItem *)((wxMenu const *)arg1)->FindItemByPosition(arg2);
28779
28780 wxPyEndAllowThreads(__tstate);
28781 if (PyErr_Occurred()) SWIG_fail;
28782 }
28783 {
28784 resultobj = wxPyMake_wxObject(result);
28785 }
28786 return resultobj;
28787 fail:
28788 return NULL;
28789}
28790
28791
28792static PyObject *_wrap_Menu_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
28793 PyObject *resultobj;
28794 wxMenu *arg1 = (wxMenu *) 0 ;
28795 int arg2 ;
28796 bool arg3 ;
28797 PyObject * obj0 = 0 ;
8edf1c75 28798 PyObject * obj1 = 0 ;
d14a1e28
RD
28799 PyObject * obj2 = 0 ;
28800 char *kwnames[] = {
f0983263 28801 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
28802 };
28803
8edf1c75 28804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28805 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28806 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28807 arg2 = (int) SWIG_AsInt(obj1);
28808 if (PyErr_Occurred()) SWIG_fail;
28809 arg3 = (bool) SWIG_AsBool(obj2);
28810 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28811 {
28812 PyThreadState* __tstate = wxPyBeginAllowThreads();
28813 (arg1)->Enable(arg2,arg3);
28814
28815 wxPyEndAllowThreads(__tstate);
28816 if (PyErr_Occurred()) SWIG_fail;
28817 }
28818 Py_INCREF(Py_None); resultobj = Py_None;
28819 return resultobj;
28820 fail:
28821 return NULL;
28822}
28823
28824
28825static PyObject *_wrap_Menu_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
28826 PyObject *resultobj;
28827 wxMenu *arg1 = (wxMenu *) 0 ;
28828 int arg2 ;
28829 bool result;
28830 PyObject * obj0 = 0 ;
8edf1c75 28831 PyObject * obj1 = 0 ;
d14a1e28 28832 char *kwnames[] = {
f0983263 28833 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28834 };
28835
8edf1c75 28836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28837 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28838 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28839 arg2 = (int) SWIG_AsInt(obj1);
28840 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28841 {
28842 PyThreadState* __tstate = wxPyBeginAllowThreads();
28843 result = (bool)((wxMenu const *)arg1)->IsEnabled(arg2);
28844
28845 wxPyEndAllowThreads(__tstate);
28846 if (PyErr_Occurred()) SWIG_fail;
28847 }
4e760a36 28848 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28849 return resultobj;
28850 fail:
28851 return NULL;
28852}
28853
28854
28855static PyObject *_wrap_Menu_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
28856 PyObject *resultobj;
28857 wxMenu *arg1 = (wxMenu *) 0 ;
28858 int arg2 ;
28859 bool arg3 ;
28860 PyObject * obj0 = 0 ;
8edf1c75 28861 PyObject * obj1 = 0 ;
d14a1e28
RD
28862 PyObject * obj2 = 0 ;
28863 char *kwnames[] = {
f0983263 28864 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
28865 };
28866
8edf1c75 28867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28868 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28869 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28870 arg2 = (int) SWIG_AsInt(obj1);
28871 if (PyErr_Occurred()) SWIG_fail;
28872 arg3 = (bool) SWIG_AsBool(obj2);
28873 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28874 {
28875 PyThreadState* __tstate = wxPyBeginAllowThreads();
28876 (arg1)->Check(arg2,arg3);
28877
28878 wxPyEndAllowThreads(__tstate);
28879 if (PyErr_Occurred()) SWIG_fail;
28880 }
28881 Py_INCREF(Py_None); resultobj = Py_None;
28882 return resultobj;
28883 fail:
28884 return NULL;
28885}
28886
28887
28888static PyObject *_wrap_Menu_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
28889 PyObject *resultobj;
28890 wxMenu *arg1 = (wxMenu *) 0 ;
28891 int arg2 ;
28892 bool result;
28893 PyObject * obj0 = 0 ;
8edf1c75 28894 PyObject * obj1 = 0 ;
d14a1e28 28895 char *kwnames[] = {
f0983263 28896 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28897 };
28898
8edf1c75 28899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_IsChecked",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28900 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28901 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28902 arg2 = (int) SWIG_AsInt(obj1);
28903 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28904 {
28905 PyThreadState* __tstate = wxPyBeginAllowThreads();
28906 result = (bool)((wxMenu const *)arg1)->IsChecked(arg2);
28907
28908 wxPyEndAllowThreads(__tstate);
28909 if (PyErr_Occurred()) SWIG_fail;
28910 }
4e760a36 28911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
28912 return resultobj;
28913 fail:
28914 return NULL;
28915}
28916
28917
28918static PyObject *_wrap_Menu_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28919 PyObject *resultobj;
28920 wxMenu *arg1 = (wxMenu *) 0 ;
28921 int arg2 ;
28922 wxString *arg3 = 0 ;
423f194a 28923 bool temp3 = False ;
d14a1e28 28924 PyObject * obj0 = 0 ;
8edf1c75 28925 PyObject * obj1 = 0 ;
d14a1e28
RD
28926 PyObject * obj2 = 0 ;
28927 char *kwnames[] = {
f0983263 28928 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
28929 };
28930
8edf1c75 28931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
28932 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28933 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28934 arg2 = (int) SWIG_AsInt(obj1);
28935 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28936 {
28937 arg3 = wxString_in_helper(obj2);
28938 if (arg3 == NULL) SWIG_fail;
423f194a 28939 temp3 = True;
d14a1e28
RD
28940 }
28941 {
28942 PyThreadState* __tstate = wxPyBeginAllowThreads();
28943 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
28944
28945 wxPyEndAllowThreads(__tstate);
28946 if (PyErr_Occurred()) SWIG_fail;
28947 }
28948 Py_INCREF(Py_None); resultobj = Py_None;
28949 {
28950 if (temp3)
28951 delete arg3;
28952 }
28953 return resultobj;
28954 fail:
28955 {
28956 if (temp3)
28957 delete arg3;
28958 }
28959 return NULL;
28960}
28961
28962
28963static PyObject *_wrap_Menu_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
28964 PyObject *resultobj;
28965 wxMenu *arg1 = (wxMenu *) 0 ;
28966 int arg2 ;
28967 wxString result;
28968 PyObject * obj0 = 0 ;
8edf1c75 28969 PyObject * obj1 = 0 ;
d14a1e28 28970 char *kwnames[] = {
f0983263 28971 (char *) "self",(char *) "id", NULL
d14a1e28
RD
28972 };
28973
8edf1c75 28974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
28975 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
28976 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
28977 arg2 = (int) SWIG_AsInt(obj1);
28978 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
28979 {
28980 PyThreadState* __tstate = wxPyBeginAllowThreads();
28981 result = ((wxMenu const *)arg1)->GetLabel(arg2);
28982
28983 wxPyEndAllowThreads(__tstate);
28984 if (PyErr_Occurred()) SWIG_fail;
28985 }
28986 {
28987#if wxUSE_UNICODE
28988 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
28989#else
28990 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
28991#endif
28992 }
28993 return resultobj;
28994 fail:
28995 return NULL;
28996}
28997
28998
28999static PyObject *_wrap_Menu_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
29000 PyObject *resultobj;
29001 wxMenu *arg1 = (wxMenu *) 0 ;
29002 int arg2 ;
29003 wxString *arg3 = 0 ;
423f194a 29004 bool temp3 = False ;
d14a1e28 29005 PyObject * obj0 = 0 ;
8edf1c75 29006 PyObject * obj1 = 0 ;
d14a1e28
RD
29007 PyObject * obj2 = 0 ;
29008 char *kwnames[] = {
f0983263 29009 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
29010 };
29011
8edf1c75 29012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Menu_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29013 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29014 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29015 arg2 = (int) SWIG_AsInt(obj1);
29016 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29017 {
29018 arg3 = wxString_in_helper(obj2);
29019 if (arg3 == NULL) SWIG_fail;
423f194a 29020 temp3 = True;
d14a1e28
RD
29021 }
29022 {
29023 PyThreadState* __tstate = wxPyBeginAllowThreads();
29024 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
29025
29026 wxPyEndAllowThreads(__tstate);
29027 if (PyErr_Occurred()) SWIG_fail;
29028 }
29029 Py_INCREF(Py_None); resultobj = Py_None;
29030 {
29031 if (temp3)
29032 delete arg3;
29033 }
29034 return resultobj;
29035 fail:
29036 {
29037 if (temp3)
29038 delete arg3;
29039 }
29040 return NULL;
29041}
29042
29043
29044static PyObject *_wrap_Menu_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
29045 PyObject *resultobj;
29046 wxMenu *arg1 = (wxMenu *) 0 ;
29047 int arg2 ;
29048 wxString result;
29049 PyObject * obj0 = 0 ;
8edf1c75 29050 PyObject * obj1 = 0 ;
d14a1e28 29051 char *kwnames[] = {
f0983263 29052 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29053 };
29054
8edf1c75 29055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29056 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29057 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29058 arg2 = (int) SWIG_AsInt(obj1);
29059 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29060 {
29061 PyThreadState* __tstate = wxPyBeginAllowThreads();
29062 result = ((wxMenu const *)arg1)->GetHelpString(arg2);
29063
29064 wxPyEndAllowThreads(__tstate);
29065 if (PyErr_Occurred()) SWIG_fail;
29066 }
29067 {
29068#if wxUSE_UNICODE
29069 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29070#else
29071 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29072#endif
29073 }
29074 return resultobj;
29075 fail:
29076 return NULL;
29077}
29078
29079
29080static PyObject *_wrap_Menu_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
29081 PyObject *resultobj;
29082 wxMenu *arg1 = (wxMenu *) 0 ;
29083 wxString *arg2 = 0 ;
423f194a 29084 bool temp2 = False ;
d14a1e28
RD
29085 PyObject * obj0 = 0 ;
29086 PyObject * obj1 = 0 ;
29087 char *kwnames[] = {
29088 (char *) "self",(char *) "title", NULL
29089 };
29090
29091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29092 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29093 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29094 {
29095 arg2 = wxString_in_helper(obj1);
29096 if (arg2 == NULL) SWIG_fail;
423f194a 29097 temp2 = True;
d14a1e28
RD
29098 }
29099 {
29100 PyThreadState* __tstate = wxPyBeginAllowThreads();
29101 (arg1)->SetTitle((wxString const &)*arg2);
29102
29103 wxPyEndAllowThreads(__tstate);
29104 if (PyErr_Occurred()) SWIG_fail;
29105 }
29106 Py_INCREF(Py_None); resultobj = Py_None;
29107 {
29108 if (temp2)
29109 delete arg2;
29110 }
29111 return resultobj;
29112 fail:
29113 {
29114 if (temp2)
29115 delete arg2;
29116 }
29117 return NULL;
29118}
29119
29120
29121static PyObject *_wrap_Menu_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
29122 PyObject *resultobj;
29123 wxMenu *arg1 = (wxMenu *) 0 ;
29124 wxString result;
29125 PyObject * obj0 = 0 ;
29126 char *kwnames[] = {
29127 (char *) "self", NULL
29128 };
29129
29130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetTitle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29133 {
29134 PyThreadState* __tstate = wxPyBeginAllowThreads();
29135 result = ((wxMenu const *)arg1)->GetTitle();
29136
29137 wxPyEndAllowThreads(__tstate);
29138 if (PyErr_Occurred()) SWIG_fail;
29139 }
29140 {
29141#if wxUSE_UNICODE
29142 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29143#else
29144 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29145#endif
29146 }
29147 return resultobj;
29148 fail:
29149 return NULL;
29150}
29151
29152
29153static PyObject *_wrap_Menu_SetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
29154 PyObject *resultobj;
29155 wxMenu *arg1 = (wxMenu *) 0 ;
29156 wxEvtHandler *arg2 = (wxEvtHandler *) 0 ;
29157 PyObject * obj0 = 0 ;
29158 PyObject * obj1 = 0 ;
29159 char *kwnames[] = {
29160 (char *) "self",(char *) "handler", NULL
29161 };
29162
29163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetEventHandler",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29164 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29165 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29166 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
29167 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29168 {
29169 PyThreadState* __tstate = wxPyBeginAllowThreads();
29170 (arg1)->SetEventHandler(arg2);
29171
29172 wxPyEndAllowThreads(__tstate);
29173 if (PyErr_Occurred()) SWIG_fail;
29174 }
29175 Py_INCREF(Py_None); resultobj = Py_None;
29176 return resultobj;
29177 fail:
29178 return NULL;
29179}
29180
29181
29182static PyObject *_wrap_Menu_GetEventHandler(PyObject *self, PyObject *args, PyObject *kwargs) {
29183 PyObject *resultobj;
29184 wxMenu *arg1 = (wxMenu *) 0 ;
29185 wxEvtHandler *result;
29186 PyObject * obj0 = 0 ;
29187 char *kwnames[] = {
29188 (char *) "self", NULL
29189 };
29190
29191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetEventHandler",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29192 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29193 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29194 {
29195 PyThreadState* __tstate = wxPyBeginAllowThreads();
29196 result = (wxEvtHandler *)((wxMenu const *)arg1)->GetEventHandler();
29197
29198 wxPyEndAllowThreads(__tstate);
29199 if (PyErr_Occurred()) SWIG_fail;
29200 }
29201 {
29202 resultobj = wxPyMake_wxObject(result);
29203 }
29204 return resultobj;
29205 fail:
29206 return NULL;
29207}
29208
29209
29210static PyObject *_wrap_Menu_SetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29211 PyObject *resultobj;
29212 wxMenu *arg1 = (wxMenu *) 0 ;
29213 wxWindow *arg2 = (wxWindow *) 0 ;
29214 PyObject * obj0 = 0 ;
29215 PyObject * obj1 = 0 ;
29216 char *kwnames[] = {
29217 (char *) "self",(char *) "win", NULL
29218 };
29219
29220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetInvokingWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29223 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
29224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29225 {
29226 PyThreadState* __tstate = wxPyBeginAllowThreads();
29227 (arg1)->SetInvokingWindow(arg2);
29228
29229 wxPyEndAllowThreads(__tstate);
29230 if (PyErr_Occurred()) SWIG_fail;
29231 }
29232 Py_INCREF(Py_None); resultobj = Py_None;
29233 return resultobj;
29234 fail:
29235 return NULL;
29236}
29237
29238
29239static PyObject *_wrap_Menu_GetInvokingWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
29240 PyObject *resultobj;
29241 wxMenu *arg1 = (wxMenu *) 0 ;
29242 wxWindow *result;
29243 PyObject * obj0 = 0 ;
29244 char *kwnames[] = {
29245 (char *) "self", NULL
29246 };
29247
29248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetInvokingWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29249 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29250 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29251 {
29252 PyThreadState* __tstate = wxPyBeginAllowThreads();
29253 result = (wxWindow *)((wxMenu const *)arg1)->GetInvokingWindow();
29254
29255 wxPyEndAllowThreads(__tstate);
29256 if (PyErr_Occurred()) SWIG_fail;
29257 }
29258 {
29259 resultobj = wxPyMake_wxObject(result);
29260 }
29261 return resultobj;
29262 fail:
29263 return NULL;
29264}
29265
29266
29267static PyObject *_wrap_Menu_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
29268 PyObject *resultobj;
29269 wxMenu *arg1 = (wxMenu *) 0 ;
29270 long result;
29271 PyObject * obj0 = 0 ;
29272 char *kwnames[] = {
29273 (char *) "self", NULL
29274 };
29275
29276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetStyle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29277 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29278 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29279 {
29280 PyThreadState* __tstate = wxPyBeginAllowThreads();
29281 result = (long)((wxMenu const *)arg1)->GetStyle();
29282
29283 wxPyEndAllowThreads(__tstate);
29284 if (PyErr_Occurred()) SWIG_fail;
29285 }
2f4c0a16 29286 resultobj = SWIG_FromLong((long)result);
d14a1e28
RD
29287 return resultobj;
29288 fail:
29289 return NULL;
29290}
29291
29292
29293static PyObject *_wrap_Menu_UpdateUI(PyObject *self, PyObject *args, PyObject *kwargs) {
29294 PyObject *resultobj;
29295 wxMenu *arg1 = (wxMenu *) 0 ;
29296 wxEvtHandler *arg2 = (wxEvtHandler *) NULL ;
29297 PyObject * obj0 = 0 ;
29298 PyObject * obj1 = 0 ;
29299 char *kwnames[] = {
29300 (char *) "self",(char *) "source", NULL
29301 };
29302
29303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Menu_UpdateUI",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 29306 if (obj1) {
2f4c0a16
RD
29307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxEvtHandler,
29308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29309 }
29310 {
29311 PyThreadState* __tstate = wxPyBeginAllowThreads();
29312 (arg1)->UpdateUI(arg2);
29313
29314 wxPyEndAllowThreads(__tstate);
29315 if (PyErr_Occurred()) SWIG_fail;
29316 }
29317 Py_INCREF(Py_None); resultobj = Py_None;
29318 return resultobj;
29319 fail:
29320 return NULL;
29321}
29322
29323
29324static PyObject *_wrap_Menu_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
29325 PyObject *resultobj;
29326 wxMenu *arg1 = (wxMenu *) 0 ;
29327 wxMenuBar *result;
29328 PyObject * obj0 = 0 ;
29329 char *kwnames[] = {
29330 (char *) "self", NULL
29331 };
29332
29333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetMenuBar",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29334 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29335 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29336 {
29337 PyThreadState* __tstate = wxPyBeginAllowThreads();
29338 result = (wxMenuBar *)((wxMenu const *)arg1)->GetMenuBar();
29339
29340 wxPyEndAllowThreads(__tstate);
29341 if (PyErr_Occurred()) SWIG_fail;
29342 }
29343 {
29344 resultobj = wxPyMake_wxObject(result);
29345 }
29346 return resultobj;
29347 fail:
29348 return NULL;
29349}
29350
29351
29352static PyObject *_wrap_Menu_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
29353 PyObject *resultobj;
29354 wxMenu *arg1 = (wxMenu *) 0 ;
29355 wxMenuBarBase *arg2 = (wxMenuBarBase *) 0 ;
29356 PyObject * obj0 = 0 ;
29357 PyObject * obj1 = 0 ;
29358 char *kwnames[] = {
29359 (char *) "self",(char *) "menubar", NULL
29360 };
29361
29362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_Attach",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29363 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29364 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29365 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenuBarBase,
29366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29367 {
29368 PyThreadState* __tstate = wxPyBeginAllowThreads();
29369 (arg1)->Attach(arg2);
29370
29371 wxPyEndAllowThreads(__tstate);
29372 if (PyErr_Occurred()) SWIG_fail;
29373 }
29374 Py_INCREF(Py_None); resultobj = Py_None;
29375 return resultobj;
29376 fail:
29377 return NULL;
29378}
29379
29380
29381static PyObject *_wrap_Menu_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
29382 PyObject *resultobj;
29383 wxMenu *arg1 = (wxMenu *) 0 ;
29384 PyObject * obj0 = 0 ;
29385 char *kwnames[] = {
29386 (char *) "self", NULL
29387 };
29388
29389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29390 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29392 {
29393 PyThreadState* __tstate = wxPyBeginAllowThreads();
29394 (arg1)->Detach();
29395
29396 wxPyEndAllowThreads(__tstate);
29397 if (PyErr_Occurred()) SWIG_fail;
29398 }
29399 Py_INCREF(Py_None); resultobj = Py_None;
29400 return resultobj;
29401 fail:
29402 return NULL;
29403}
29404
29405
29406static PyObject *_wrap_Menu_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
29407 PyObject *resultobj;
29408 wxMenu *arg1 = (wxMenu *) 0 ;
29409 bool result;
29410 PyObject * obj0 = 0 ;
29411 char *kwnames[] = {
29412 (char *) "self", NULL
29413 };
29414
29415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_IsAttached",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29416 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29417 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29418 {
29419 PyThreadState* __tstate = wxPyBeginAllowThreads();
29420 result = (bool)((wxMenu const *)arg1)->IsAttached();
29421
29422 wxPyEndAllowThreads(__tstate);
29423 if (PyErr_Occurred()) SWIG_fail;
29424 }
4e760a36 29425 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29426 return resultobj;
29427 fail:
29428 return NULL;
29429}
29430
29431
29432static PyObject *_wrap_Menu_SetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
29433 PyObject *resultobj;
29434 wxMenu *arg1 = (wxMenu *) 0 ;
29435 wxMenu *arg2 = (wxMenu *) 0 ;
29436 PyObject * obj0 = 0 ;
29437 PyObject * obj1 = 0 ;
29438 char *kwnames[] = {
29439 (char *) "self",(char *) "parent", NULL
29440 };
29441
29442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Menu_SetParent",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29443 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29444 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29445 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
29446 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29447 {
29448 PyThreadState* __tstate = wxPyBeginAllowThreads();
29449 (arg1)->SetParent(arg2);
29450
29451 wxPyEndAllowThreads(__tstate);
29452 if (PyErr_Occurred()) SWIG_fail;
29453 }
29454 Py_INCREF(Py_None); resultobj = Py_None;
29455 return resultobj;
29456 fail:
29457 return NULL;
29458}
29459
29460
29461static PyObject *_wrap_Menu_GetParent(PyObject *self, PyObject *args, PyObject *kwargs) {
29462 PyObject *resultobj;
29463 wxMenu *arg1 = (wxMenu *) 0 ;
29464 wxMenu *result;
29465 PyObject * obj0 = 0 ;
29466 char *kwnames[] = {
29467 (char *) "self", NULL
29468 };
29469
29470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Menu_GetParent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29471 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
29472 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29473 {
29474 PyThreadState* __tstate = wxPyBeginAllowThreads();
29475 result = (wxMenu *)((wxMenu const *)arg1)->GetParent();
29476
29477 wxPyEndAllowThreads(__tstate);
29478 if (PyErr_Occurred()) SWIG_fail;
29479 }
29480 {
29481 resultobj = wxPyMake_wxObject(result);
29482 }
29483 return resultobj;
29484 fail:
29485 return NULL;
29486}
29487
29488
29489static PyObject * Menu_swigregister(PyObject *self, PyObject *args) {
29490 PyObject *obj;
29491 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
29492 SWIG_TypeClientData(SWIGTYPE_p_wxMenu, obj);
29493 Py_INCREF(obj);
29494 return Py_BuildValue((char *)"");
29495}
29496static PyObject *_wrap_new_MenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
29497 PyObject *resultobj;
29498 long arg1 = (long) 0 ;
29499 wxMenuBar *result;
8edf1c75 29500 PyObject * obj0 = 0 ;
d14a1e28
RD
29501 char *kwnames[] = {
29502 (char *) "style", NULL
29503 };
29504
8edf1c75
RD
29505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_MenuBar",kwnames,&obj0)) goto fail;
29506 if (obj0) {
2f4c0a16
RD
29507 arg1 = (long) SWIG_AsLong(obj0);
29508 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 29509 }
d14a1e28
RD
29510 {
29511 PyThreadState* __tstate = wxPyBeginAllowThreads();
29512 result = (wxMenuBar *)new wxMenuBar(arg1);
29513
29514 wxPyEndAllowThreads(__tstate);
29515 if (PyErr_Occurred()) SWIG_fail;
29516 }
29517 {
29518 resultobj = wxPyMake_wxObject(result);
29519 }
29520 return resultobj;
29521 fail:
29522 return NULL;
29523}
29524
29525
29526static PyObject *_wrap_MenuBar_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
29527 PyObject *resultobj;
29528 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29529 wxMenu *arg2 = (wxMenu *) 0 ;
29530 wxString *arg3 = 0 ;
29531 bool result;
423f194a 29532 bool temp3 = False ;
d14a1e28
RD
29533 PyObject * obj0 = 0 ;
29534 PyObject * obj1 = 0 ;
29535 PyObject * obj2 = 0 ;
29536 char *kwnames[] = {
29537 (char *) "self",(char *) "menu",(char *) "title", NULL
29538 };
29539
29540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29541 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29542 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29543 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
29544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29545 {
29546 arg3 = wxString_in_helper(obj2);
29547 if (arg3 == NULL) SWIG_fail;
423f194a 29548 temp3 = True;
d14a1e28
RD
29549 }
29550 {
29551 PyThreadState* __tstate = wxPyBeginAllowThreads();
29552 result = (bool)(arg1)->Append(arg2,(wxString const &)*arg3);
29553
29554 wxPyEndAllowThreads(__tstate);
29555 if (PyErr_Occurred()) SWIG_fail;
29556 }
4e760a36 29557 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29558 {
29559 if (temp3)
29560 delete arg3;
29561 }
29562 return resultobj;
29563 fail:
29564 {
29565 if (temp3)
29566 delete arg3;
29567 }
29568 return NULL;
29569}
29570
29571
29572static PyObject *_wrap_MenuBar_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
29573 PyObject *resultobj;
29574 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29575 size_t arg2 ;
29576 wxMenu *arg3 = (wxMenu *) 0 ;
29577 wxString *arg4 = 0 ;
29578 bool result;
423f194a 29579 bool temp4 = False ;
d14a1e28
RD
29580 PyObject * obj0 = 0 ;
29581 PyObject * obj1 = 0 ;
29582 PyObject * obj2 = 0 ;
29583 PyObject * obj3 = 0 ;
29584 char *kwnames[] = {
29585 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29586 };
29587
29588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
29589 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29590 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29591 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29592 if (PyErr_Occurred()) SWIG_fail;
29593 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
29594 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29595 {
29596 arg4 = wxString_in_helper(obj3);
29597 if (arg4 == NULL) SWIG_fail;
423f194a 29598 temp4 = True;
d14a1e28
RD
29599 }
29600 {
29601 PyThreadState* __tstate = wxPyBeginAllowThreads();
29602 result = (bool)(arg1)->Insert(arg2,arg3,(wxString const &)*arg4);
29603
29604 wxPyEndAllowThreads(__tstate);
29605 if (PyErr_Occurred()) SWIG_fail;
29606 }
4e760a36 29607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29608 {
29609 if (temp4)
29610 delete arg4;
29611 }
29612 return resultobj;
29613 fail:
29614 {
29615 if (temp4)
29616 delete arg4;
29617 }
29618 return NULL;
29619}
29620
29621
29622static PyObject *_wrap_MenuBar_GetMenuCount(PyObject *self, PyObject *args, PyObject *kwargs) {
29623 PyObject *resultobj;
29624 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29625 size_t result;
29626 PyObject * obj0 = 0 ;
29627 char *kwnames[] = {
29628 (char *) "self", NULL
29629 };
29630
29631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetMenuCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
29632 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29633 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29634 {
29635 PyThreadState* __tstate = wxPyBeginAllowThreads();
29636 result = (size_t)((wxMenuBar const *)arg1)->GetMenuCount();
29637
29638 wxPyEndAllowThreads(__tstate);
29639 if (PyErr_Occurred()) SWIG_fail;
29640 }
2f4c0a16 29641 resultobj = SWIG_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
29642 return resultobj;
29643 fail:
29644 return NULL;
29645}
29646
29647
29648static PyObject *_wrap_MenuBar_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29649 PyObject *resultobj;
29650 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29651 size_t arg2 ;
29652 wxMenu *result;
29653 PyObject * obj0 = 0 ;
29654 PyObject * obj1 = 0 ;
29655 char *kwnames[] = {
29656 (char *) "self",(char *) "pos", NULL
29657 };
29658
29659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29662 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29663 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29664 {
29665 PyThreadState* __tstate = wxPyBeginAllowThreads();
29666 result = (wxMenu *)((wxMenuBar const *)arg1)->GetMenu(arg2);
29667
29668 wxPyEndAllowThreads(__tstate);
29669 if (PyErr_Occurred()) SWIG_fail;
29670 }
29671 {
29672 resultobj = wxPyMake_wxObject(result);
29673 }
29674 return resultobj;
29675 fail:
29676 return NULL;
29677}
29678
29679
29680static PyObject *_wrap_MenuBar_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
29681 PyObject *resultobj;
29682 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29683 size_t arg2 ;
29684 wxMenu *arg3 = (wxMenu *) 0 ;
29685 wxString *arg4 = 0 ;
29686 wxMenu *result;
423f194a 29687 bool temp4 = False ;
d14a1e28
RD
29688 PyObject * obj0 = 0 ;
29689 PyObject * obj1 = 0 ;
29690 PyObject * obj2 = 0 ;
29691 PyObject * obj3 = 0 ;
29692 char *kwnames[] = {
29693 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29694 };
29695
29696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:MenuBar_Replace",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
29697 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29698 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29699 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29700 if (PyErr_Occurred()) SWIG_fail;
29701 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxMenu,
29702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29703 {
29704 arg4 = wxString_in_helper(obj3);
29705 if (arg4 == NULL) SWIG_fail;
423f194a 29706 temp4 = True;
d14a1e28
RD
29707 }
29708 {
29709 PyThreadState* __tstate = wxPyBeginAllowThreads();
29710 result = (wxMenu *)(arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
29711
29712 wxPyEndAllowThreads(__tstate);
29713 if (PyErr_Occurred()) SWIG_fail;
29714 }
29715 {
29716 resultobj = wxPyMake_wxObject(result);
29717 }
29718 {
29719 if (temp4)
29720 delete arg4;
29721 }
29722 return resultobj;
29723 fail:
29724 {
29725 if (temp4)
29726 delete arg4;
29727 }
29728 return NULL;
29729}
29730
29731
29732static PyObject *_wrap_MenuBar_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
29733 PyObject *resultobj;
29734 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29735 size_t arg2 ;
29736 wxMenu *result;
29737 PyObject * obj0 = 0 ;
29738 PyObject * obj1 = 0 ;
29739 char *kwnames[] = {
29740 (char *) "self",(char *) "pos", NULL
29741 };
29742
29743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29746 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29747 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29748 {
29749 PyThreadState* __tstate = wxPyBeginAllowThreads();
29750 result = (wxMenu *)(arg1)->Remove(arg2);
29751
29752 wxPyEndAllowThreads(__tstate);
29753 if (PyErr_Occurred()) SWIG_fail;
29754 }
29755 {
29756 resultobj = wxPyMake_wxObject(result);
29757 }
29758 return resultobj;
29759 fail:
29760 return NULL;
29761}
29762
29763
29764static PyObject *_wrap_MenuBar_EnableTop(PyObject *self, PyObject *args, PyObject *kwargs) {
29765 PyObject *resultobj;
29766 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29767 size_t arg2 ;
29768 bool arg3 ;
29769 PyObject * obj0 = 0 ;
29770 PyObject * obj1 = 0 ;
29771 PyObject * obj2 = 0 ;
29772 char *kwnames[] = {
29773 (char *) "self",(char *) "pos",(char *) "enable", NULL
29774 };
29775
29776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_EnableTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29779 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29780 if (PyErr_Occurred()) SWIG_fail;
29781 arg3 = (bool) SWIG_AsBool(obj2);
29782 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29783 {
29784 PyThreadState* __tstate = wxPyBeginAllowThreads();
29785 (arg1)->EnableTop(arg2,arg3);
29786
29787 wxPyEndAllowThreads(__tstate);
29788 if (PyErr_Occurred()) SWIG_fail;
29789 }
29790 Py_INCREF(Py_None); resultobj = Py_None;
29791 return resultobj;
29792 fail:
29793 return NULL;
29794}
29795
29796
29797static PyObject *_wrap_MenuBar_IsEnabledTop(PyObject *self, PyObject *args, PyObject *kwargs) {
29798 PyObject *resultobj;
29799 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29800 size_t arg2 ;
29801 bool result;
29802 PyObject * obj0 = 0 ;
29803 PyObject * obj1 = 0 ;
29804 char *kwnames[] = {
29805 (char *) "self",(char *) "pos", NULL
29806 };
29807
29808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabledTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29809 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29810 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29811 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29812 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29813 {
29814 PyThreadState* __tstate = wxPyBeginAllowThreads();
29815 result = (bool)((wxMenuBar const *)arg1)->IsEnabledTop(arg2);
29816
29817 wxPyEndAllowThreads(__tstate);
29818 if (PyErr_Occurred()) SWIG_fail;
29819 }
4e760a36 29820 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
29821 return resultobj;
29822 fail:
29823 return NULL;
29824}
29825
29826
29827static PyObject *_wrap_MenuBar_SetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
29828 PyObject *resultobj;
29829 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29830 size_t arg2 ;
29831 wxString *arg3 = 0 ;
423f194a 29832 bool temp3 = False ;
d14a1e28
RD
29833 PyObject * obj0 = 0 ;
29834 PyObject * obj1 = 0 ;
29835 PyObject * obj2 = 0 ;
29836 char *kwnames[] = {
29837 (char *) "self",(char *) "pos",(char *) "label", NULL
29838 };
29839
29840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabelTop",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29841 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29842 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29843 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29844 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29845 {
29846 arg3 = wxString_in_helper(obj2);
29847 if (arg3 == NULL) SWIG_fail;
423f194a 29848 temp3 = True;
d14a1e28
RD
29849 }
29850 {
29851 PyThreadState* __tstate = wxPyBeginAllowThreads();
29852 (arg1)->SetLabelTop(arg2,(wxString const &)*arg3);
29853
29854 wxPyEndAllowThreads(__tstate);
29855 if (PyErr_Occurred()) SWIG_fail;
29856 }
29857 Py_INCREF(Py_None); resultobj = Py_None;
29858 {
29859 if (temp3)
29860 delete arg3;
29861 }
29862 return resultobj;
29863 fail:
29864 {
29865 if (temp3)
29866 delete arg3;
29867 }
29868 return NULL;
29869}
29870
29871
29872static PyObject *_wrap_MenuBar_GetLabelTop(PyObject *self, PyObject *args, PyObject *kwargs) {
29873 PyObject *resultobj;
29874 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29875 size_t arg2 ;
29876 wxString result;
29877 PyObject * obj0 = 0 ;
29878 PyObject * obj1 = 0 ;
29879 char *kwnames[] = {
29880 (char *) "self",(char *) "pos", NULL
29881 };
29882
29883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabelTop",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29886 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
29887 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29888 {
29889 PyThreadState* __tstate = wxPyBeginAllowThreads();
29890 result = ((wxMenuBar const *)arg1)->GetLabelTop(arg2);
29891
29892 wxPyEndAllowThreads(__tstate);
29893 if (PyErr_Occurred()) SWIG_fail;
29894 }
29895 {
29896#if wxUSE_UNICODE
29897 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
29898#else
29899 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
29900#endif
29901 }
29902 return resultobj;
29903 fail:
29904 return NULL;
29905}
29906
29907
29908static PyObject *_wrap_MenuBar_FindMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
29909 PyObject *resultobj;
29910 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29911 wxString *arg2 = 0 ;
29912 wxString *arg3 = 0 ;
29913 int result;
423f194a
RD
29914 bool temp2 = False ;
29915 bool temp3 = False ;
d14a1e28
RD
29916 PyObject * obj0 = 0 ;
29917 PyObject * obj1 = 0 ;
29918 PyObject * obj2 = 0 ;
29919 char *kwnames[] = {
29920 (char *) "self",(char *) "menu",(char *) "item", NULL
29921 };
29922
29923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_FindMenuItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
29924 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29925 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
29926 {
29927 arg2 = wxString_in_helper(obj1);
29928 if (arg2 == NULL) SWIG_fail;
423f194a 29929 temp2 = True;
d14a1e28
RD
29930 }
29931 {
29932 arg3 = wxString_in_helper(obj2);
29933 if (arg3 == NULL) SWIG_fail;
423f194a 29934 temp3 = True;
d14a1e28
RD
29935 }
29936 {
29937 PyThreadState* __tstate = wxPyBeginAllowThreads();
29938 result = (int)((wxMenuBar const *)arg1)->FindMenuItem((wxString const &)*arg2,(wxString const &)*arg3);
29939
29940 wxPyEndAllowThreads(__tstate);
29941 if (PyErr_Occurred()) SWIG_fail;
29942 }
2f4c0a16 29943 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
29944 {
29945 if (temp2)
29946 delete arg2;
29947 }
29948 {
29949 if (temp3)
29950 delete arg3;
29951 }
29952 return resultobj;
29953 fail:
29954 {
29955 if (temp2)
29956 delete arg2;
29957 }
29958 {
29959 if (temp3)
29960 delete arg3;
29961 }
29962 return NULL;
29963}
29964
29965
29966static PyObject *_wrap_MenuBar_FindItemById(PyObject *self, PyObject *args, PyObject *kwargs) {
29967 PyObject *resultobj;
29968 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
29969 int arg2 ;
29970 wxMenuItem *result;
29971 PyObject * obj0 = 0 ;
8edf1c75 29972 PyObject * obj1 = 0 ;
d14a1e28 29973 char *kwnames[] = {
f0983263 29974 (char *) "self",(char *) "id", NULL
d14a1e28
RD
29975 };
29976
8edf1c75 29977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindItemById",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
29978 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
29979 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
29980 arg2 = (int) SWIG_AsInt(obj1);
29981 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
29982 {
29983 PyThreadState* __tstate = wxPyBeginAllowThreads();
29984 result = (wxMenuItem *)((wxMenuBar const *)arg1)->FindItem(arg2);
29985
29986 wxPyEndAllowThreads(__tstate);
29987 if (PyErr_Occurred()) SWIG_fail;
29988 }
29989 {
29990 resultobj = wxPyMake_wxObject(result);
29991 }
29992 return resultobj;
29993 fail:
29994 return NULL;
29995}
29996
29997
29998static PyObject *_wrap_MenuBar_FindMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
29999 PyObject *resultobj;
30000 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30001 wxString *arg2 = 0 ;
30002 int result;
423f194a 30003 bool temp2 = False ;
d14a1e28
RD
30004 PyObject * obj0 = 0 ;
30005 PyObject * obj1 = 0 ;
30006 char *kwnames[] = {
30007 (char *) "self",(char *) "title", NULL
30008 };
30009
30010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_FindMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30013 {
30014 arg2 = wxString_in_helper(obj1);
30015 if (arg2 == NULL) SWIG_fail;
423f194a 30016 temp2 = True;
d14a1e28
RD
30017 }
30018 {
30019 PyThreadState* __tstate = wxPyBeginAllowThreads();
30020 result = (int)((wxMenuBar const *)arg1)->FindMenu((wxString const &)*arg2);
30021
30022 wxPyEndAllowThreads(__tstate);
30023 if (PyErr_Occurred()) SWIG_fail;
30024 }
2f4c0a16 30025 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
30026 {
30027 if (temp2)
30028 delete arg2;
30029 }
30030 return resultobj;
30031 fail:
30032 {
30033 if (temp2)
30034 delete arg2;
30035 }
30036 return NULL;
30037}
30038
30039
30040static PyObject *_wrap_MenuBar_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
30041 PyObject *resultobj;
30042 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30043 int arg2 ;
30044 bool arg3 ;
30045 PyObject * obj0 = 0 ;
8edf1c75 30046 PyObject * obj1 = 0 ;
d14a1e28
RD
30047 PyObject * obj2 = 0 ;
30048 char *kwnames[] = {
f0983263 30049 (char *) "self",(char *) "id",(char *) "enable", NULL
d14a1e28
RD
30050 };
30051
8edf1c75 30052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Enable",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30055 arg2 = (int) SWIG_AsInt(obj1);
30056 if (PyErr_Occurred()) SWIG_fail;
30057 arg3 = (bool) SWIG_AsBool(obj2);
30058 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30059 {
30060 PyThreadState* __tstate = wxPyBeginAllowThreads();
30061 (arg1)->Enable(arg2,arg3);
30062
30063 wxPyEndAllowThreads(__tstate);
30064 if (PyErr_Occurred()) SWIG_fail;
30065 }
30066 Py_INCREF(Py_None); resultobj = Py_None;
30067 return resultobj;
30068 fail:
30069 return NULL;
30070}
30071
30072
30073static PyObject *_wrap_MenuBar_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
30074 PyObject *resultobj;
30075 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30076 int arg2 ;
30077 bool arg3 ;
30078 PyObject * obj0 = 0 ;
8edf1c75 30079 PyObject * obj1 = 0 ;
d14a1e28
RD
30080 PyObject * obj2 = 0 ;
30081 char *kwnames[] = {
f0983263 30082 (char *) "self",(char *) "id",(char *) "check", NULL
d14a1e28
RD
30083 };
30084
8edf1c75 30085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_Check",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30086 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30087 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30088 arg2 = (int) SWIG_AsInt(obj1);
30089 if (PyErr_Occurred()) SWIG_fail;
30090 arg3 = (bool) SWIG_AsBool(obj2);
30091 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30092 {
30093 PyThreadState* __tstate = wxPyBeginAllowThreads();
30094 (arg1)->Check(arg2,arg3);
30095
30096 wxPyEndAllowThreads(__tstate);
30097 if (PyErr_Occurred()) SWIG_fail;
30098 }
30099 Py_INCREF(Py_None); resultobj = Py_None;
30100 return resultobj;
30101 fail:
30102 return NULL;
30103}
30104
30105
30106static PyObject *_wrap_MenuBar_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
30107 PyObject *resultobj;
30108 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30109 int arg2 ;
30110 bool result;
30111 PyObject * obj0 = 0 ;
8edf1c75 30112 PyObject * obj1 = 0 ;
d14a1e28 30113 char *kwnames[] = {
f0983263 30114 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30115 };
30116
8edf1c75 30117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsChecked",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30118 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30119 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30120 arg2 = (int) SWIG_AsInt(obj1);
30121 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30122 {
30123 PyThreadState* __tstate = wxPyBeginAllowThreads();
30124 result = (bool)((wxMenuBar const *)arg1)->IsChecked(arg2);
30125
30126 wxPyEndAllowThreads(__tstate);
30127 if (PyErr_Occurred()) SWIG_fail;
30128 }
4e760a36 30129 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30130 return resultobj;
30131 fail:
30132 return NULL;
30133}
30134
30135
30136static PyObject *_wrap_MenuBar_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
30137 PyObject *resultobj;
30138 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30139 int arg2 ;
30140 bool result;
30141 PyObject * obj0 = 0 ;
8edf1c75 30142 PyObject * obj1 = 0 ;
d14a1e28 30143 char *kwnames[] = {
f0983263 30144 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30145 };
30146
8edf1c75 30147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_IsEnabled",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30148 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30149 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30150 arg2 = (int) SWIG_AsInt(obj1);
30151 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30152 {
30153 PyThreadState* __tstate = wxPyBeginAllowThreads();
30154 result = (bool)((wxMenuBar const *)arg1)->IsEnabled(arg2);
30155
30156 wxPyEndAllowThreads(__tstate);
30157 if (PyErr_Occurred()) SWIG_fail;
30158 }
4e760a36 30159 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30160 return resultobj;
30161 fail:
30162 return NULL;
30163}
30164
30165
30166static PyObject *_wrap_MenuBar_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30167 PyObject *resultobj;
30168 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30169 int arg2 ;
30170 wxString *arg3 = 0 ;
423f194a 30171 bool temp3 = False ;
d14a1e28 30172 PyObject * obj0 = 0 ;
8edf1c75 30173 PyObject * obj1 = 0 ;
d14a1e28
RD
30174 PyObject * obj2 = 0 ;
30175 char *kwnames[] = {
f0983263 30176 (char *) "self",(char *) "id",(char *) "label", NULL
d14a1e28
RD
30177 };
30178
8edf1c75 30179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30180 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30181 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30182 arg2 = (int) SWIG_AsInt(obj1);
30183 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30184 {
30185 arg3 = wxString_in_helper(obj2);
30186 if (arg3 == NULL) SWIG_fail;
423f194a 30187 temp3 = True;
d14a1e28
RD
30188 }
30189 {
30190 PyThreadState* __tstate = wxPyBeginAllowThreads();
30191 (arg1)->SetLabel(arg2,(wxString const &)*arg3);
30192
30193 wxPyEndAllowThreads(__tstate);
30194 if (PyErr_Occurred()) SWIG_fail;
30195 }
30196 Py_INCREF(Py_None); resultobj = Py_None;
30197 {
30198 if (temp3)
30199 delete arg3;
30200 }
30201 return resultobj;
30202 fail:
30203 {
30204 if (temp3)
30205 delete arg3;
30206 }
30207 return NULL;
30208}
30209
30210
30211static PyObject *_wrap_MenuBar_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30212 PyObject *resultobj;
30213 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30214 int arg2 ;
30215 wxString result;
30216 PyObject * obj0 = 0 ;
8edf1c75 30217 PyObject * obj1 = 0 ;
d14a1e28 30218 char *kwnames[] = {
f0983263 30219 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30220 };
30221
8edf1c75 30222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30225 arg2 = (int) SWIG_AsInt(obj1);
30226 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30227 {
30228 PyThreadState* __tstate = wxPyBeginAllowThreads();
30229 result = ((wxMenuBar const *)arg1)->GetLabel(arg2);
30230
30231 wxPyEndAllowThreads(__tstate);
30232 if (PyErr_Occurred()) SWIG_fail;
30233 }
30234 {
30235#if wxUSE_UNICODE
30236 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30237#else
30238 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30239#endif
30240 }
30241 return resultobj;
30242 fail:
30243 return NULL;
30244}
30245
30246
30247static PyObject *_wrap_MenuBar_SetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30248 PyObject *resultobj;
30249 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30250 int arg2 ;
30251 wxString *arg3 = 0 ;
423f194a 30252 bool temp3 = False ;
d14a1e28 30253 PyObject * obj0 = 0 ;
8edf1c75 30254 PyObject * obj1 = 0 ;
d14a1e28
RD
30255 PyObject * obj2 = 0 ;
30256 char *kwnames[] = {
f0983263 30257 (char *) "self",(char *) "id",(char *) "helpString", NULL
d14a1e28
RD
30258 };
30259
8edf1c75 30260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:MenuBar_SetHelpString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
30261 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30262 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30263 arg2 = (int) SWIG_AsInt(obj1);
30264 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30265 {
30266 arg3 = wxString_in_helper(obj2);
30267 if (arg3 == NULL) SWIG_fail;
423f194a 30268 temp3 = True;
d14a1e28
RD
30269 }
30270 {
30271 PyThreadState* __tstate = wxPyBeginAllowThreads();
30272 (arg1)->SetHelpString(arg2,(wxString const &)*arg3);
30273
30274 wxPyEndAllowThreads(__tstate);
30275 if (PyErr_Occurred()) SWIG_fail;
30276 }
30277 Py_INCREF(Py_None); resultobj = Py_None;
30278 {
30279 if (temp3)
30280 delete arg3;
30281 }
30282 return resultobj;
30283 fail:
30284 {
30285 if (temp3)
30286 delete arg3;
30287 }
30288 return NULL;
30289}
30290
30291
30292static PyObject *_wrap_MenuBar_GetHelpString(PyObject *self, PyObject *args, PyObject *kwargs) {
30293 PyObject *resultobj;
30294 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30295 int arg2 ;
30296 wxString result;
30297 PyObject * obj0 = 0 ;
8edf1c75 30298 PyObject * obj1 = 0 ;
d14a1e28 30299 char *kwnames[] = {
f0983263 30300 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30301 };
30302
8edf1c75 30303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_GetHelpString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30304 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30305 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30306 arg2 = (int) SWIG_AsInt(obj1);
30307 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30308 {
30309 PyThreadState* __tstate = wxPyBeginAllowThreads();
30310 result = ((wxMenuBar const *)arg1)->GetHelpString(arg2);
30311
30312 wxPyEndAllowThreads(__tstate);
30313 if (PyErr_Occurred()) SWIG_fail;
30314 }
30315 {
30316#if wxUSE_UNICODE
30317 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30318#else
30319 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30320#endif
30321 }
30322 return resultobj;
30323 fail:
30324 return NULL;
30325}
30326
30327
30328static PyObject *_wrap_MenuBar_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
30329 PyObject *resultobj;
30330 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30331 wxFrame *result;
30332 PyObject * obj0 = 0 ;
30333 char *kwnames[] = {
30334 (char *) "self", NULL
30335 };
30336
30337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_GetFrame",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30338 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30339 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30340 {
30341 PyThreadState* __tstate = wxPyBeginAllowThreads();
30342 result = (wxFrame *)((wxMenuBar const *)arg1)->GetFrame();
30343
30344 wxPyEndAllowThreads(__tstate);
30345 if (PyErr_Occurred()) SWIG_fail;
30346 }
30347 {
30348 resultobj = wxPyMake_wxObject(result);
30349 }
30350 return resultobj;
30351 fail:
30352 return NULL;
30353}
30354
30355
30356static PyObject *_wrap_MenuBar_IsAttached(PyObject *self, PyObject *args, PyObject *kwargs) {
30357 PyObject *resultobj;
30358 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30359 bool result;
30360 PyObject * obj0 = 0 ;
30361 char *kwnames[] = {
30362 (char *) "self", NULL
30363 };
30364
30365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_IsAttached",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30366 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30367 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30368 {
30369 PyThreadState* __tstate = wxPyBeginAllowThreads();
30370 result = (bool)((wxMenuBar const *)arg1)->IsAttached();
30371
30372 wxPyEndAllowThreads(__tstate);
30373 if (PyErr_Occurred()) SWIG_fail;
30374 }
4e760a36 30375 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30376 return resultobj;
30377 fail:
30378 return NULL;
30379}
30380
30381
30382static PyObject *_wrap_MenuBar_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
30383 PyObject *resultobj;
30384 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30385 wxFrame *arg2 = (wxFrame *) 0 ;
30386 PyObject * obj0 = 0 ;
30387 PyObject * obj1 = 0 ;
30388 char *kwnames[] = {
30389 (char *) "self",(char *) "frame", NULL
30390 };
30391
30392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuBar_Attach",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30395 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFrame,
30396 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30397 {
30398 PyThreadState* __tstate = wxPyBeginAllowThreads();
30399 (arg1)->Attach(arg2);
30400
30401 wxPyEndAllowThreads(__tstate);
30402 if (PyErr_Occurred()) SWIG_fail;
30403 }
30404 Py_INCREF(Py_None); resultobj = Py_None;
30405 return resultobj;
30406 fail:
30407 return NULL;
30408}
30409
30410
30411static PyObject *_wrap_MenuBar_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
30412 PyObject *resultobj;
30413 wxMenuBar *arg1 = (wxMenuBar *) 0 ;
30414 PyObject * obj0 = 0 ;
30415 char *kwnames[] = {
30416 (char *) "self", NULL
30417 };
30418
30419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuBar_Detach",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30420 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuBar,
30421 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30422 {
30423 PyThreadState* __tstate = wxPyBeginAllowThreads();
30424 (arg1)->Detach();
30425
30426 wxPyEndAllowThreads(__tstate);
30427 if (PyErr_Occurred()) SWIG_fail;
30428 }
30429 Py_INCREF(Py_None); resultobj = Py_None;
30430 return resultobj;
30431 fail:
30432 return NULL;
30433}
30434
30435
30436static PyObject * MenuBar_swigregister(PyObject *self, PyObject *args) {
30437 PyObject *obj;
30438 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
30439 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar, obj);
30440 Py_INCREF(obj);
30441 return Py_BuildValue((char *)"");
30442}
30443static PyObject *_wrap_new_MenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
30444 PyObject *resultobj;
30445 wxMenu *arg1 = (wxMenu *) NULL ;
30446 int arg2 = (int) wxID_SEPARATOR ;
30447 wxString const &arg3_defvalue = wxPyEmptyString ;
30448 wxString *arg3 = (wxString *) &arg3_defvalue ;
30449 wxString const &arg4_defvalue = wxPyEmptyString ;
30450 wxString *arg4 = (wxString *) &arg4_defvalue ;
30451 int arg5 = (int) wxITEM_NORMAL ;
30452 wxMenu *arg6 = (wxMenu *) NULL ;
30453 wxMenuItem *result;
423f194a
RD
30454 bool temp3 = False ;
30455 bool temp4 = False ;
d14a1e28 30456 PyObject * obj0 = 0 ;
8edf1c75 30457 PyObject * obj1 = 0 ;
d14a1e28
RD
30458 PyObject * obj2 = 0 ;
30459 PyObject * obj3 = 0 ;
8edf1c75 30460 PyObject * obj4 = 0 ;
d14a1e28
RD
30461 PyObject * obj5 = 0 ;
30462 char *kwnames[] = {
30463 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30464 };
30465
8edf1c75 30466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOOOO:new_MenuItem",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 30467 if (obj0) {
2f4c0a16
RD
30468 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenu,
30469 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30470 }
8edf1c75 30471 if (obj1) {
2f4c0a16
RD
30472 arg2 = (int) SWIG_AsInt(obj1);
30473 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30474 }
d14a1e28
RD
30475 if (obj2) {
30476 {
30477 arg3 = wxString_in_helper(obj2);
30478 if (arg3 == NULL) SWIG_fail;
423f194a 30479 temp3 = True;
d14a1e28
RD
30480 }
30481 }
30482 if (obj3) {
30483 {
30484 arg4 = wxString_in_helper(obj3);
30485 if (arg4 == NULL) SWIG_fail;
423f194a 30486 temp4 = True;
d14a1e28
RD
30487 }
30488 }
8edf1c75 30489 if (obj4) {
2f4c0a16
RD
30490 arg5 = (wxItemKind) SWIG_AsInt(obj4);
30491 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 30492 }
d14a1e28 30493 if (obj5) {
2f4c0a16
RD
30494 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxMenu,
30495 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30496 }
30497 {
30498 PyThreadState* __tstate = wxPyBeginAllowThreads();
30499 result = (wxMenuItem *)new wxMenuItem(arg1,arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxItemKind )arg5,arg6);
30500
30501 wxPyEndAllowThreads(__tstate);
30502 if (PyErr_Occurred()) SWIG_fail;
30503 }
30504 {
30505 resultobj = wxPyMake_wxObject(result);
30506 }
30507 {
30508 if (temp3)
30509 delete arg3;
30510 }
30511 {
30512 if (temp4)
30513 delete arg4;
30514 }
30515 return resultobj;
30516 fail:
30517 {
30518 if (temp3)
30519 delete arg3;
30520 }
30521 {
30522 if (temp4)
30523 delete arg4;
30524 }
30525 return NULL;
30526}
30527
30528
30529static PyObject *_wrap_MenuItem_GetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30530 PyObject *resultobj;
30531 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30532 wxMenu *result;
30533 PyObject * obj0 = 0 ;
30534 char *kwnames[] = {
30535 (char *) "self", NULL
30536 };
30537
30538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30539 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30540 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30541 {
30542 PyThreadState* __tstate = wxPyBeginAllowThreads();
30543 result = (wxMenu *)((wxMenuItem const *)arg1)->GetMenu();
30544
30545 wxPyEndAllowThreads(__tstate);
30546 if (PyErr_Occurred()) SWIG_fail;
30547 }
30548 {
30549 resultobj = wxPyMake_wxObject(result);
30550 }
30551 return resultobj;
30552 fail:
30553 return NULL;
30554}
30555
30556
30557static PyObject *_wrap_MenuItem_SetMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30558 PyObject *resultobj;
30559 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30560 wxMenu *arg2 = (wxMenu *) 0 ;
30561 PyObject * obj0 = 0 ;
30562 PyObject * obj1 = 0 ;
30563 char *kwnames[] = {
30564 (char *) "self",(char *) "menu", NULL
30565 };
30566
30567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30568 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30569 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30570 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30571 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30572 {
30573 PyThreadState* __tstate = wxPyBeginAllowThreads();
30574 (arg1)->SetMenu(arg2);
30575
30576 wxPyEndAllowThreads(__tstate);
30577 if (PyErr_Occurred()) SWIG_fail;
30578 }
30579 Py_INCREF(Py_None); resultobj = Py_None;
30580 return resultobj;
30581 fail:
30582 return NULL;
30583}
30584
30585
30586static PyObject *_wrap_MenuItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
30587 PyObject *resultobj;
30588 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30589 int arg2 ;
30590 PyObject * obj0 = 0 ;
8edf1c75 30591 PyObject * obj1 = 0 ;
d14a1e28 30592 char *kwnames[] = {
f0983263 30593 (char *) "self",(char *) "id", NULL
d14a1e28
RD
30594 };
30595
8edf1c75 30596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetId",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30599 arg2 = (int) SWIG_AsInt(obj1);
30600 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30601 {
30602 PyThreadState* __tstate = wxPyBeginAllowThreads();
30603 (arg1)->SetId(arg2);
30604
30605 wxPyEndAllowThreads(__tstate);
30606 if (PyErr_Occurred()) SWIG_fail;
30607 }
30608 Py_INCREF(Py_None); resultobj = Py_None;
30609 return resultobj;
30610 fail:
30611 return NULL;
30612}
30613
30614
30615static PyObject *_wrap_MenuItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
30616 PyObject *resultobj;
30617 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30618 int result;
30619 PyObject * obj0 = 0 ;
30620 char *kwnames[] = {
30621 (char *) "self", NULL
30622 };
30623
30624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetId",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30625 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30626 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30627 {
30628 PyThreadState* __tstate = wxPyBeginAllowThreads();
30629 result = (int)((wxMenuItem const *)arg1)->GetId();
30630
30631 wxPyEndAllowThreads(__tstate);
30632 if (PyErr_Occurred()) SWIG_fail;
30633 }
2f4c0a16 30634 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
30635 return resultobj;
30636 fail:
30637 return NULL;
30638}
30639
30640
30641static PyObject *_wrap_MenuItem_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
30642 PyObject *resultobj;
30643 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30644 bool result;
30645 PyObject * obj0 = 0 ;
30646 char *kwnames[] = {
30647 (char *) "self", NULL
30648 };
30649
30650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSeparator",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30651 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30652 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30653 {
30654 PyThreadState* __tstate = wxPyBeginAllowThreads();
30655 result = (bool)((wxMenuItem const *)arg1)->IsSeparator();
30656
30657 wxPyEndAllowThreads(__tstate);
30658 if (PyErr_Occurred()) SWIG_fail;
30659 }
4e760a36 30660 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30661 return resultobj;
30662 fail:
30663 return NULL;
30664}
30665
30666
30667static PyObject *_wrap_MenuItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
30668 PyObject *resultobj;
30669 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30670 wxString *arg2 = 0 ;
423f194a 30671 bool temp2 = False ;
d14a1e28
RD
30672 PyObject * obj0 = 0 ;
30673 PyObject * obj1 = 0 ;
30674 char *kwnames[] = {
30675 (char *) "self",(char *) "str", NULL
30676 };
30677
30678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetText",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30679 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30680 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30681 {
30682 arg2 = wxString_in_helper(obj1);
30683 if (arg2 == NULL) SWIG_fail;
423f194a 30684 temp2 = True;
d14a1e28
RD
30685 }
30686 {
30687 PyThreadState* __tstate = wxPyBeginAllowThreads();
30688 (arg1)->SetText((wxString const &)*arg2);
30689
30690 wxPyEndAllowThreads(__tstate);
30691 if (PyErr_Occurred()) SWIG_fail;
30692 }
30693 Py_INCREF(Py_None); resultobj = Py_None;
30694 {
30695 if (temp2)
30696 delete arg2;
30697 }
30698 return resultobj;
30699 fail:
30700 {
30701 if (temp2)
30702 delete arg2;
30703 }
30704 return NULL;
30705}
30706
30707
30708static PyObject *_wrap_MenuItem_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
30709 PyObject *resultobj;
30710 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30711 wxString result;
30712 PyObject * obj0 = 0 ;
30713 char *kwnames[] = {
30714 (char *) "self", NULL
30715 };
30716
30717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30720 {
30721 PyThreadState* __tstate = wxPyBeginAllowThreads();
30722 result = ((wxMenuItem const *)arg1)->GetLabel();
30723
30724 wxPyEndAllowThreads(__tstate);
30725 if (PyErr_Occurred()) SWIG_fail;
30726 }
30727 {
30728#if wxUSE_UNICODE
30729 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30730#else
30731 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30732#endif
30733 }
30734 return resultobj;
30735 fail:
30736 return NULL;
30737}
30738
30739
30740static PyObject *_wrap_MenuItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
30741 PyObject *resultobj;
30742 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30743 wxString *result;
30744 PyObject * obj0 = 0 ;
30745 char *kwnames[] = {
30746 (char *) "self", NULL
30747 };
30748
30749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetText",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30752 {
30753 PyThreadState* __tstate = wxPyBeginAllowThreads();
30754 {
30755 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetText();
30756 result = (wxString *) &_result_ref;
30757 }
30758
30759 wxPyEndAllowThreads(__tstate);
30760 if (PyErr_Occurred()) SWIG_fail;
30761 }
f0983263
RD
30762 {
30763#if wxUSE_UNICODE
30764 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
30765#else
30766 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
30767#endif
30768 }
d14a1e28
RD
30769 return resultobj;
30770 fail:
30771 return NULL;
30772}
30773
30774
30775static PyObject *_wrap_MenuItem_GetLabelFromText(PyObject *self, PyObject *args, PyObject *kwargs) {
30776 PyObject *resultobj;
30777 wxString *arg1 = 0 ;
30778 wxString result;
423f194a 30779 bool temp1 = False ;
d14a1e28
RD
30780 PyObject * obj0 = 0 ;
30781 char *kwnames[] = {
30782 (char *) "text", NULL
30783 };
30784
30785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetLabelFromText",kwnames,&obj0)) goto fail;
30786 {
30787 arg1 = wxString_in_helper(obj0);
30788 if (arg1 == NULL) SWIG_fail;
423f194a 30789 temp1 = True;
d14a1e28
RD
30790 }
30791 {
30792 PyThreadState* __tstate = wxPyBeginAllowThreads();
30793 result = wxMenuItem::GetLabelFromText((wxString const &)*arg1);
30794
30795 wxPyEndAllowThreads(__tstate);
30796 if (PyErr_Occurred()) SWIG_fail;
30797 }
30798 {
30799#if wxUSE_UNICODE
30800 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
30801#else
30802 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
30803#endif
30804 }
30805 {
30806 if (temp1)
30807 delete arg1;
30808 }
30809 return resultobj;
30810 fail:
30811 {
30812 if (temp1)
30813 delete arg1;
30814 }
30815 return NULL;
30816}
30817
30818
30819static PyObject *_wrap_MenuItem_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
30820 PyObject *resultobj;
30821 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30822 int result;
30823 PyObject * obj0 = 0 ;
30824 char *kwnames[] = {
30825 (char *) "self", NULL
30826 };
30827
30828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetKind",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30829 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30830 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30831 {
30832 PyThreadState* __tstate = wxPyBeginAllowThreads();
30833 result = (int)((wxMenuItem const *)arg1)->GetKind();
30834
30835 wxPyEndAllowThreads(__tstate);
30836 if (PyErr_Occurred()) SWIG_fail;
30837 }
2f4c0a16 30838 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
30839 return resultobj;
30840 fail:
30841 return NULL;
30842}
30843
30844
30845static PyObject *_wrap_MenuItem_SetCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
30846 PyObject *resultobj;
30847 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30848 bool arg2 ;
30849 PyObject * obj0 = 0 ;
30850 PyObject * obj1 = 0 ;
30851 char *kwnames[] = {
30852 (char *) "self",(char *) "checkable", NULL
30853 };
30854
30855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetCheckable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30858 arg2 = (bool) SWIG_AsBool(obj1);
30859 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30860 {
30861 PyThreadState* __tstate = wxPyBeginAllowThreads();
30862 (arg1)->SetCheckable(arg2);
30863
30864 wxPyEndAllowThreads(__tstate);
30865 if (PyErr_Occurred()) SWIG_fail;
30866 }
30867 Py_INCREF(Py_None); resultobj = Py_None;
30868 return resultobj;
30869 fail:
30870 return NULL;
30871}
30872
30873
30874static PyObject *_wrap_MenuItem_IsCheckable(PyObject *self, PyObject *args, PyObject *kwargs) {
30875 PyObject *resultobj;
30876 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30877 bool result;
30878 PyObject * obj0 = 0 ;
30879 char *kwnames[] = {
30880 (char *) "self", NULL
30881 };
30882
30883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsCheckable",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30884 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30885 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30886 {
30887 PyThreadState* __tstate = wxPyBeginAllowThreads();
30888 result = (bool)((wxMenuItem const *)arg1)->IsCheckable();
30889
30890 wxPyEndAllowThreads(__tstate);
30891 if (PyErr_Occurred()) SWIG_fail;
30892 }
4e760a36 30893 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30894 return resultobj;
30895 fail:
30896 return NULL;
30897}
30898
30899
30900static PyObject *_wrap_MenuItem_IsSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30901 PyObject *resultobj;
30902 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30903 bool result;
30904 PyObject * obj0 = 0 ;
30905 char *kwnames[] = {
30906 (char *) "self", NULL
30907 };
30908
30909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsSubMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30910 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30911 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30912 {
30913 PyThreadState* __tstate = wxPyBeginAllowThreads();
30914 result = (bool)((wxMenuItem const *)arg1)->IsSubMenu();
30915
30916 wxPyEndAllowThreads(__tstate);
30917 if (PyErr_Occurred()) SWIG_fail;
30918 }
4e760a36 30919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
30920 return resultobj;
30921 fail:
30922 return NULL;
30923}
30924
30925
30926static PyObject *_wrap_MenuItem_SetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30927 PyObject *resultobj;
30928 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30929 wxMenu *arg2 = (wxMenu *) 0 ;
30930 PyObject * obj0 = 0 ;
30931 PyObject * obj1 = 0 ;
30932 char *kwnames[] = {
30933 (char *) "self",(char *) "menu", NULL
30934 };
30935
30936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetSubMenu",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
30939 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxMenu,
30940 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30941 {
30942 PyThreadState* __tstate = wxPyBeginAllowThreads();
30943 (arg1)->SetSubMenu(arg2);
30944
30945 wxPyEndAllowThreads(__tstate);
30946 if (PyErr_Occurred()) SWIG_fail;
30947 }
30948 Py_INCREF(Py_None); resultobj = Py_None;
30949 return resultobj;
30950 fail:
30951 return NULL;
30952}
30953
30954
30955static PyObject *_wrap_MenuItem_GetSubMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
30956 PyObject *resultobj;
30957 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
30958 wxMenu *result;
30959 PyObject * obj0 = 0 ;
30960 char *kwnames[] = {
30961 (char *) "self", NULL
30962 };
30963
30964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetSubMenu",kwnames,&obj0)) goto fail;
2f4c0a16
RD
30965 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30966 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
30967 {
30968 PyThreadState* __tstate = wxPyBeginAllowThreads();
30969 result = (wxMenu *)((wxMenuItem const *)arg1)->GetSubMenu();
30970
30971 wxPyEndAllowThreads(__tstate);
30972 if (PyErr_Occurred()) SWIG_fail;
30973 }
30974 {
30975 resultobj = wxPyMake_wxObject(result);
30976 }
30977 return resultobj;
30978 fail:
30979 return NULL;
30980}
30981
30982
30983static PyObject *_wrap_MenuItem_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
30984 PyObject *resultobj;
30985 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 30986 bool arg2 = (bool) True ;
d14a1e28
RD
30987 PyObject * obj0 = 0 ;
30988 PyObject * obj1 = 0 ;
30989 char *kwnames[] = {
30990 (char *) "self",(char *) "enable", NULL
30991 };
30992
30993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Enable",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
30994 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
30995 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 30996 if (obj1) {
2f4c0a16
RD
30997 arg2 = (bool) SWIG_AsBool(obj1);
30998 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
30999 }
31000 {
31001 PyThreadState* __tstate = wxPyBeginAllowThreads();
31002 (arg1)->Enable(arg2);
31003
31004 wxPyEndAllowThreads(__tstate);
31005 if (PyErr_Occurred()) SWIG_fail;
31006 }
31007 Py_INCREF(Py_None); resultobj = Py_None;
31008 return resultobj;
31009 fail:
31010 return NULL;
31011}
31012
31013
31014static PyObject *_wrap_MenuItem_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
31015 PyObject *resultobj;
31016 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31017 bool result;
31018 PyObject * obj0 = 0 ;
31019 char *kwnames[] = {
31020 (char *) "self", NULL
31021 };
31022
31023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsEnabled",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31024 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31025 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31026 {
31027 PyThreadState* __tstate = wxPyBeginAllowThreads();
31028 result = (bool)((wxMenuItem const *)arg1)->IsEnabled();
31029
31030 wxPyEndAllowThreads(__tstate);
31031 if (PyErr_Occurred()) SWIG_fail;
31032 }
4e760a36 31033 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
31034 return resultobj;
31035 fail:
31036 return NULL;
31037}
31038
31039
31040static PyObject *_wrap_MenuItem_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
31041 PyObject *resultobj;
31042 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 31043 bool arg2 = (bool) True ;
d14a1e28
RD
31044 PyObject * obj0 = 0 ;
31045 PyObject * obj1 = 0 ;
31046 char *kwnames[] = {
31047 (char *) "self",(char *) "check", NULL
31048 };
31049
31050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_Check",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31051 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31052 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31053 if (obj1) {
2f4c0a16
RD
31054 arg2 = (bool) SWIG_AsBool(obj1);
31055 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31056 }
31057 {
31058 PyThreadState* __tstate = wxPyBeginAllowThreads();
31059 (arg1)->Check(arg2);
31060
31061 wxPyEndAllowThreads(__tstate);
31062 if (PyErr_Occurred()) SWIG_fail;
31063 }
31064 Py_INCREF(Py_None); resultobj = Py_None;
31065 return resultobj;
31066 fail:
31067 return NULL;
31068}
31069
31070
31071static PyObject *_wrap_MenuItem_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
31072 PyObject *resultobj;
31073 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31074 bool result;
31075 PyObject * obj0 = 0 ;
31076 char *kwnames[] = {
31077 (char *) "self", NULL
31078 };
31079
31080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsChecked",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31081 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31082 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31083 {
31084 PyThreadState* __tstate = wxPyBeginAllowThreads();
31085 result = (bool)((wxMenuItem const *)arg1)->IsChecked();
31086
31087 wxPyEndAllowThreads(__tstate);
31088 if (PyErr_Occurred()) SWIG_fail;
31089 }
4e760a36 31090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
31091 return resultobj;
31092 fail:
31093 return NULL;
31094}
31095
31096
31097static PyObject *_wrap_MenuItem_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
31098 PyObject *resultobj;
31099 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31100 PyObject * obj0 = 0 ;
31101 char *kwnames[] = {
31102 (char *) "self", NULL
31103 };
31104
31105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_Toggle",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31106 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31107 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31108 {
31109 PyThreadState* __tstate = wxPyBeginAllowThreads();
31110 (arg1)->Toggle();
31111
31112 wxPyEndAllowThreads(__tstate);
31113 if (PyErr_Occurred()) SWIG_fail;
31114 }
31115 Py_INCREF(Py_None); resultobj = Py_None;
31116 return resultobj;
31117 fail:
31118 return NULL;
31119}
31120
31121
31122static PyObject *_wrap_MenuItem_SetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
31123 PyObject *resultobj;
31124 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31125 wxString *arg2 = 0 ;
423f194a 31126 bool temp2 = False ;
d14a1e28
RD
31127 PyObject * obj0 = 0 ;
31128 PyObject * obj1 = 0 ;
31129 char *kwnames[] = {
31130 (char *) "self",(char *) "str", NULL
31131 };
31132
31133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetHelp",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31134 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31135 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31136 {
31137 arg2 = wxString_in_helper(obj1);
31138 if (arg2 == NULL) SWIG_fail;
423f194a 31139 temp2 = True;
d14a1e28
RD
31140 }
31141 {
31142 PyThreadState* __tstate = wxPyBeginAllowThreads();
31143 (arg1)->SetHelp((wxString const &)*arg2);
31144
31145 wxPyEndAllowThreads(__tstate);
31146 if (PyErr_Occurred()) SWIG_fail;
31147 }
31148 Py_INCREF(Py_None); resultobj = Py_None;
31149 {
31150 if (temp2)
31151 delete arg2;
31152 }
31153 return resultobj;
31154 fail:
31155 {
31156 if (temp2)
31157 delete arg2;
31158 }
31159 return NULL;
31160}
31161
31162
31163static PyObject *_wrap_MenuItem_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
31164 PyObject *resultobj;
31165 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31166 wxString *result;
31167 PyObject * obj0 = 0 ;
31168 char *kwnames[] = {
31169 (char *) "self", NULL
31170 };
31171
31172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetHelp",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31175 {
31176 PyThreadState* __tstate = wxPyBeginAllowThreads();
31177 {
31178 wxString const &_result_ref = ((wxMenuItem const *)arg1)->GetHelp();
31179 result = (wxString *) &_result_ref;
31180 }
31181
31182 wxPyEndAllowThreads(__tstate);
31183 if (PyErr_Occurred()) SWIG_fail;
31184 }
f0983263
RD
31185 {
31186#if wxUSE_UNICODE
31187 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
31188#else
31189 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
31190#endif
31191 }
d14a1e28
RD
31192 return resultobj;
31193 fail:
31194 return NULL;
31195}
31196
31197
31198static PyObject *_wrap_MenuItem_GetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
31199 PyObject *resultobj;
31200 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31201 wxAcceleratorEntry *result;
31202 PyObject * obj0 = 0 ;
31203 char *kwnames[] = {
31204 (char *) "self", NULL
31205 };
31206
31207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetAccel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31208 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31209 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31210 {
31211 PyThreadState* __tstate = wxPyBeginAllowThreads();
31212 result = (wxAcceleratorEntry *)((wxMenuItem const *)arg1)->GetAccel();
31213
31214 wxPyEndAllowThreads(__tstate);
31215 if (PyErr_Occurred()) SWIG_fail;
31216 }
2f4c0a16 31217 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxAcceleratorEntry, 0);
d14a1e28
RD
31218 return resultobj;
31219 fail:
31220 return NULL;
31221}
31222
31223
31224static PyObject *_wrap_MenuItem_SetAccel(PyObject *self, PyObject *args, PyObject *kwargs) {
31225 PyObject *resultobj;
31226 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31227 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
31228 PyObject * obj0 = 0 ;
31229 PyObject * obj1 = 0 ;
31230 char *kwnames[] = {
31231 (char *) "self",(char *) "accel", NULL
31232 };
31233
31234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetAccel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31235 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31236 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31237 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxAcceleratorEntry,
31238 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31239 {
31240 PyThreadState* __tstate = wxPyBeginAllowThreads();
31241 (arg1)->SetAccel(arg2);
31242
31243 wxPyEndAllowThreads(__tstate);
31244 if (PyErr_Occurred()) SWIG_fail;
31245 }
31246 Py_INCREF(Py_None); resultobj = Py_None;
31247 return resultobj;
31248 fail:
31249 return NULL;
31250}
31251
31252
31253static PyObject *_wrap_MenuItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
31254 PyObject *resultobj;
31255 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31256 wxFont *arg2 = 0 ;
31257 PyObject * obj0 = 0 ;
31258 PyObject * obj1 = 0 ;
31259 char *kwnames[] = {
31260 (char *) "self",(char *) "font", NULL
31261 };
31262
31263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31264 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31265 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31266 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxFont,
31267 SWIG_POINTER_EXCEPTION | 0)) == -1)
31268 SWIG_fail;
d14a1e28 31269 if (arg2 == NULL) {
2f4c0a16
RD
31270 PyErr_SetString(PyExc_TypeError,"null reference");
31271 SWIG_fail;
d14a1e28
RD
31272 }
31273 {
31274 PyThreadState* __tstate = wxPyBeginAllowThreads();
31275 (arg1)->SetFont((wxFont const &)*arg2);
31276
31277 wxPyEndAllowThreads(__tstate);
31278 if (PyErr_Occurred()) SWIG_fail;
31279 }
31280 Py_INCREF(Py_None); resultobj = Py_None;
31281 return resultobj;
31282 fail:
31283 return NULL;
31284}
31285
31286
31287static PyObject *_wrap_MenuItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
31288 PyObject *resultobj;
31289 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31290 wxFont result;
31291 PyObject * obj0 = 0 ;
31292 char *kwnames[] = {
31293 (char *) "self", NULL
31294 };
31295
31296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetFont",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31297 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31298 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31299 {
31300 PyThreadState* __tstate = wxPyBeginAllowThreads();
31301 result = (arg1)->GetFont();
31302
31303 wxPyEndAllowThreads(__tstate);
31304 if (PyErr_Occurred()) SWIG_fail;
31305 }
31306 {
31307 wxFont * resultptr;
31308 resultptr = new wxFont((wxFont &) result);
2f4c0a16 31309 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxFont, 1);
d14a1e28
RD
31310 }
31311 return resultobj;
31312 fail:
31313 return NULL;
31314}
31315
31316
31317static PyObject *_wrap_MenuItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
31318 PyObject *resultobj;
31319 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31320 wxColour *arg2 = 0 ;
31321 wxColour temp2 ;
31322 PyObject * obj0 = 0 ;
31323 PyObject * obj1 = 0 ;
31324 char *kwnames[] = {
31325 (char *) "self",(char *) "colText", NULL
31326 };
31327
31328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31329 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31330 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31331 {
31332 arg2 = &temp2;
31333 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
31334 }
31335 {
31336 PyThreadState* __tstate = wxPyBeginAllowThreads();
31337 (arg1)->SetTextColour((wxColour const &)*arg2);
31338
31339 wxPyEndAllowThreads(__tstate);
31340 if (PyErr_Occurred()) SWIG_fail;
31341 }
31342 Py_INCREF(Py_None); resultobj = Py_None;
31343 return resultobj;
31344 fail:
31345 return NULL;
31346}
31347
31348
31349static PyObject *_wrap_MenuItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
31350 PyObject *resultobj;
31351 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31352 wxColour result;
31353 PyObject * obj0 = 0 ;
31354 char *kwnames[] = {
31355 (char *) "self", NULL
31356 };
31357
31358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetTextColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31359 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31360 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31361 {
31362 PyThreadState* __tstate = wxPyBeginAllowThreads();
31363 result = (arg1)->GetTextColour();
31364
31365 wxPyEndAllowThreads(__tstate);
31366 if (PyErr_Occurred()) SWIG_fail;
31367 }
31368 {
31369 wxColour * resultptr;
31370 resultptr = new wxColour((wxColour &) result);
2f4c0a16 31371 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
31372 }
31373 return resultobj;
31374 fail:
31375 return NULL;
31376}
31377
31378
31379static PyObject *_wrap_MenuItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
31380 PyObject *resultobj;
31381 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31382 wxColour *arg2 = 0 ;
31383 wxColour temp2 ;
31384 PyObject * obj0 = 0 ;
31385 PyObject * obj1 = 0 ;
31386 char *kwnames[] = {
31387 (char *) "self",(char *) "colBack", NULL
31388 };
31389
31390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31391 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31392 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31393 {
31394 arg2 = &temp2;
31395 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
31396 }
31397 {
31398 PyThreadState* __tstate = wxPyBeginAllowThreads();
31399 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
31400
31401 wxPyEndAllowThreads(__tstate);
31402 if (PyErr_Occurred()) SWIG_fail;
31403 }
31404 Py_INCREF(Py_None); resultobj = Py_None;
31405 return resultobj;
31406 fail:
31407 return NULL;
31408}
31409
31410
31411static PyObject *_wrap_MenuItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
31412 PyObject *resultobj;
31413 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31414 wxColour result;
31415 PyObject * obj0 = 0 ;
31416 char *kwnames[] = {
31417 (char *) "self", NULL
31418 };
31419
31420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31421 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31423 {
31424 PyThreadState* __tstate = wxPyBeginAllowThreads();
31425 result = (arg1)->GetBackgroundColour();
31426
31427 wxPyEndAllowThreads(__tstate);
31428 if (PyErr_Occurred()) SWIG_fail;
31429 }
31430 {
31431 wxColour * resultptr;
31432 resultptr = new wxColour((wxColour &) result);
2f4c0a16 31433 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxColour, 1);
d14a1e28
RD
31434 }
31435 return resultobj;
31436 fail:
31437 return NULL;
31438}
31439
31440
31441static PyObject *_wrap_MenuItem_SetBitmaps(PyObject *self, PyObject *args, PyObject *kwargs) {
31442 PyObject *resultobj;
31443 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31444 wxBitmap *arg2 = 0 ;
31445 wxBitmap const &arg3_defvalue = wxNullBitmap ;
31446 wxBitmap *arg3 = (wxBitmap *) &arg3_defvalue ;
31447 PyObject * obj0 = 0 ;
31448 PyObject * obj1 = 0 ;
31449 PyObject * obj2 = 0 ;
31450 char *kwnames[] = {
31451 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
31452 };
31453
31454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MenuItem_SetBitmaps",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
31455 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31456 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31457 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31458 SWIG_POINTER_EXCEPTION | 0)) == -1)
31459 SWIG_fail;
d14a1e28 31460 if (arg2 == NULL) {
2f4c0a16
RD
31461 PyErr_SetString(PyExc_TypeError,"null reference");
31462 SWIG_fail;
d14a1e28
RD
31463 }
31464 if (obj2) {
2f4c0a16
RD
31465 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxBitmap,
31466 SWIG_POINTER_EXCEPTION | 0)) == -1)
31467 SWIG_fail;
d14a1e28 31468 if (arg3 == NULL) {
2f4c0a16
RD
31469 PyErr_SetString(PyExc_TypeError,"null reference");
31470 SWIG_fail;
d14a1e28
RD
31471 }
31472 }
31473 {
31474 PyThreadState* __tstate = wxPyBeginAllowThreads();
31475 (arg1)->SetBitmaps((wxBitmap const &)*arg2,(wxBitmap const &)*arg3);
31476
31477 wxPyEndAllowThreads(__tstate);
31478 if (PyErr_Occurred()) SWIG_fail;
31479 }
31480 Py_INCREF(Py_None); resultobj = Py_None;
31481 return resultobj;
31482 fail:
31483 return NULL;
31484}
31485
31486
31487static PyObject *_wrap_MenuItem_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
31488 PyObject *resultobj;
31489 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31490 wxBitmap *arg2 = 0 ;
31491 PyObject * obj0 = 0 ;
31492 PyObject * obj1 = 0 ;
31493 char *kwnames[] = {
31494 (char *) "self",(char *) "bmpDisabled", NULL
31495 };
31496
31497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31498 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31499 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31500 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31501 SWIG_POINTER_EXCEPTION | 0)) == -1)
31502 SWIG_fail;
d14a1e28 31503 if (arg2 == NULL) {
2f4c0a16
RD
31504 PyErr_SetString(PyExc_TypeError,"null reference");
31505 SWIG_fail;
d14a1e28
RD
31506 }
31507 {
31508 PyThreadState* __tstate = wxPyBeginAllowThreads();
31509 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
31510
31511 wxPyEndAllowThreads(__tstate);
31512 if (PyErr_Occurred()) SWIG_fail;
31513 }
31514 Py_INCREF(Py_None); resultobj = Py_None;
31515 return resultobj;
31516 fail:
31517 return NULL;
31518}
31519
31520
31521static PyObject *_wrap_MenuItem_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
31522 PyObject *resultobj;
31523 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31524 wxBitmap *result;
31525 PyObject * obj0 = 0 ;
31526 char *kwnames[] = {
31527 (char *) "self", NULL
31528 };
31529
31530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetDisabledBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31531 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31532 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31533 {
31534 PyThreadState* __tstate = wxPyBeginAllowThreads();
31535 {
31536 wxBitmap const &_result_ref = ((wxMenuItem const *)arg1)->GetDisabledBitmap();
31537 result = (wxBitmap *) &_result_ref;
31538 }
31539
31540 wxPyEndAllowThreads(__tstate);
31541 if (PyErr_Occurred()) SWIG_fail;
31542 }
fe763115
RD
31543 {
31544 wxBitmap* resultptr = new wxBitmap(*result);
31545 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
31546 }
d14a1e28
RD
31547 return resultobj;
31548 fail:
31549 return NULL;
31550}
31551
31552
31553static PyObject *_wrap_MenuItem_SetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
31554 PyObject *resultobj;
31555 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31556 int arg2 ;
31557 PyObject * obj0 = 0 ;
8edf1c75 31558 PyObject * obj1 = 0 ;
d14a1e28
RD
31559 char *kwnames[] = {
31560 (char *) "self",(char *) "nWidth", NULL
31561 };
31562
8edf1c75 31563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetMarginWidth",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31564 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31565 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31566 arg2 = (int) SWIG_AsInt(obj1);
31567 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31568 {
31569 PyThreadState* __tstate = wxPyBeginAllowThreads();
31570 (arg1)->SetMarginWidth(arg2);
31571
31572 wxPyEndAllowThreads(__tstate);
31573 if (PyErr_Occurred()) SWIG_fail;
31574 }
31575 Py_INCREF(Py_None); resultobj = Py_None;
31576 return resultobj;
31577 fail:
31578 return NULL;
31579}
31580
31581
31582static PyObject *_wrap_MenuItem_GetMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
31583 PyObject *resultobj;
31584 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31585 int result;
31586 PyObject * obj0 = 0 ;
31587 char *kwnames[] = {
31588 (char *) "self", NULL
31589 };
31590
31591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetMarginWidth",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31592 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31593 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31594 {
31595 PyThreadState* __tstate = wxPyBeginAllowThreads();
31596 result = (int)(arg1)->GetMarginWidth();
31597
31598 wxPyEndAllowThreads(__tstate);
31599 if (PyErr_Occurred()) SWIG_fail;
31600 }
2f4c0a16 31601 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31602 return resultobj;
31603 fail:
31604 return NULL;
31605}
31606
31607
31608static PyObject *_wrap_MenuItem_GetDefaultMarginWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
31609 PyObject *resultobj;
31610 int result;
31611 char *kwnames[] = {
31612 NULL
31613 };
31614
31615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":MenuItem_GetDefaultMarginWidth",kwnames)) goto fail;
31616 {
31617 PyThreadState* __tstate = wxPyBeginAllowThreads();
31618 result = (int)wxMenuItem::GetDefaultMarginWidth();
31619
31620 wxPyEndAllowThreads(__tstate);
31621 if (PyErr_Occurred()) SWIG_fail;
31622 }
2f4c0a16 31623 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
31624 return resultobj;
31625 fail:
31626 return NULL;
31627}
31628
31629
31630static PyObject *_wrap_MenuItem_IsOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
31631 PyObject *resultobj;
31632 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31633 bool result;
31634 PyObject * obj0 = 0 ;
31635 char *kwnames[] = {
31636 (char *) "self", NULL
31637 };
31638
31639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_IsOwnerDrawn",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31640 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31641 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31642 {
31643 PyThreadState* __tstate = wxPyBeginAllowThreads();
31644 result = (bool)(arg1)->IsOwnerDrawn();
31645
31646 wxPyEndAllowThreads(__tstate);
31647 if (PyErr_Occurred()) SWIG_fail;
31648 }
4e760a36 31649 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
31650 return resultobj;
31651 fail:
31652 return NULL;
31653}
31654
31655
31656static PyObject *_wrap_MenuItem_SetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
31657 PyObject *resultobj;
31658 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
423f194a 31659 bool arg2 = (bool) True ;
d14a1e28
RD
31660 PyObject * obj0 = 0 ;
31661 PyObject * obj1 = 0 ;
31662 char *kwnames[] = {
31663 (char *) "self",(char *) "ownerDrawn", NULL
31664 };
31665
31666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31667 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31668 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 31669 if (obj1) {
2f4c0a16
RD
31670 arg2 = (bool) SWIG_AsBool(obj1);
31671 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31672 }
31673 {
31674 PyThreadState* __tstate = wxPyBeginAllowThreads();
31675 (arg1)->SetOwnerDrawn(arg2);
31676
31677 wxPyEndAllowThreads(__tstate);
31678 if (PyErr_Occurred()) SWIG_fail;
31679 }
31680 Py_INCREF(Py_None); resultobj = Py_None;
31681 return resultobj;
31682 fail:
31683 return NULL;
31684}
31685
31686
31687static PyObject *_wrap_MenuItem_ResetOwnerDrawn(PyObject *self, PyObject *args, PyObject *kwargs) {
31688 PyObject *resultobj;
31689 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31690 PyObject * obj0 = 0 ;
31691 char *kwnames[] = {
31692 (char *) "self", NULL
31693 };
31694
31695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31696 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31697 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31698 {
31699 PyThreadState* __tstate = wxPyBeginAllowThreads();
31700 (arg1)->ResetOwnerDrawn();
31701
31702 wxPyEndAllowThreads(__tstate);
31703 if (PyErr_Occurred()) SWIG_fail;
31704 }
31705 Py_INCREF(Py_None); resultobj = Py_None;
31706 return resultobj;
31707 fail:
31708 return NULL;
31709}
31710
31711
31712static PyObject *_wrap_MenuItem_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
31713 PyObject *resultobj;
31714 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31715 wxBitmap *arg2 = 0 ;
31716 PyObject * obj0 = 0 ;
31717 PyObject * obj1 = 0 ;
31718 char *kwnames[] = {
31719 (char *) "self",(char *) "bitmap", NULL
31720 };
31721
31722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MenuItem_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
31723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31725 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxBitmap,
31726 SWIG_POINTER_EXCEPTION | 0)) == -1)
31727 SWIG_fail;
d14a1e28 31728 if (arg2 == NULL) {
2f4c0a16
RD
31729 PyErr_SetString(PyExc_TypeError,"null reference");
31730 SWIG_fail;
d14a1e28
RD
31731 }
31732 {
31733 PyThreadState* __tstate = wxPyBeginAllowThreads();
31734 (arg1)->SetBitmap((wxBitmap const &)*arg2);
31735
31736 wxPyEndAllowThreads(__tstate);
31737 if (PyErr_Occurred()) SWIG_fail;
31738 }
31739 Py_INCREF(Py_None); resultobj = Py_None;
31740 return resultobj;
31741 fail:
31742 return NULL;
31743}
31744
31745
31746static PyObject *_wrap_MenuItem_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
31747 PyObject *resultobj;
31748 wxMenuItem *arg1 = (wxMenuItem *) 0 ;
31749 wxBitmap *result;
31750 PyObject * obj0 = 0 ;
31751 char *kwnames[] = {
31752 (char *) "self", NULL
31753 };
31754
31755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MenuItem_GetBitmap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
31756 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxMenuItem,
31757 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
31758 {
31759 PyThreadState* __tstate = wxPyBeginAllowThreads();
31760 {
31761 wxBitmap const &_result_ref = (arg1)->GetBitmap();
31762 result = (wxBitmap *) &_result_ref;
31763 }
31764
31765 wxPyEndAllowThreads(__tstate);
31766 if (PyErr_Occurred()) SWIG_fail;
31767 }
fe763115
RD
31768 {
31769 wxBitmap* resultptr = new wxBitmap(*result);
31770 resultobj = SWIG_NewPointerObj((void*)(resultptr), SWIGTYPE_p_wxBitmap, 1);
31771 }
d14a1e28
RD
31772 return resultobj;
31773 fail:
31774 return NULL;
31775}
31776
31777
31778static PyObject * MenuItem_swigregister(PyObject *self, PyObject *args) {
31779 PyObject *obj;
31780 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
31781 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem, obj);
31782 Py_INCREF(obj);
31783 return Py_BuildValue((char *)"");
31784}
2f4c0a16 31785static int _wrap_ControlNameStr_set(PyObject *_val) {
d03fd34d
RD
31786 PyErr_SetString(PyExc_TypeError,"Variable ControlNameStr is read-only.");
31787 return 1;
31788}
31789
31790
31791static PyObject *_wrap_ControlNameStr_get() {
31792 PyObject *pyobj;
31793
31794 {
31795#if wxUSE_UNICODE
31796 pyobj = PyUnicode_FromWideChar((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
31797#else
31798 pyobj = PyString_FromStringAndSize((&wxPyControlNameStr)->c_str(), (&wxPyControlNameStr)->Len());
31799#endif
31800 }
31801 return pyobj;
31802}
31803
31804
d14a1e28
RD
31805static PyObject *_wrap_new_Control(PyObject *self, PyObject *args, PyObject *kwargs) {
31806 PyObject *resultobj;
31807 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 31808 int arg2 ;
d14a1e28
RD
31809 wxPoint const &arg3_defvalue = wxDefaultPosition ;
31810 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
31811 wxSize const &arg4_defvalue = wxDefaultSize ;
31812 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
31813 long arg5 = (long) 0 ;
31814 wxValidator const &arg6_defvalue = wxDefaultValidator ;
31815 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
31816 wxString const &arg7_defvalue = wxPyControlNameStr ;
31817 wxString *arg7 = (wxString *) &arg7_defvalue ;
31818 wxControl *result;
31819 wxPoint temp3 ;
31820 wxSize temp4 ;
423f194a 31821 bool temp7 = False ;
d14a1e28 31822 PyObject * obj0 = 0 ;
8edf1c75 31823 PyObject * obj1 = 0 ;
d14a1e28
RD
31824 PyObject * obj2 = 0 ;
31825 PyObject * obj3 = 0 ;
8edf1c75 31826 PyObject * obj4 = 0 ;
d14a1e28
RD
31827 PyObject * obj5 = 0 ;
31828 PyObject * obj6 = 0 ;
31829 char *kwnames[] = {
31830 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31831 };
31832
8edf1c75 31833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:new_Control",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
31834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
31835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31836 arg2 = (int) SWIG_AsInt(obj1);
31837 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31838 if (obj2) {
31839 {
31840 arg3 = &temp3;
31841 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
31842 }
31843 }
31844 if (obj3) {
31845 {
31846 arg4 = &temp4;
31847 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
31848 }
31849 }
8edf1c75 31850 if (obj4) {
2f4c0a16
RD
31851 arg5 = (long) SWIG_AsLong(obj4);
31852 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31853 }
d14a1e28 31854 if (obj5) {
2f4c0a16
RD
31855 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxValidator,
31856 SWIG_POINTER_EXCEPTION | 0)) == -1)
31857 SWIG_fail;
d14a1e28 31858 if (arg6 == NULL) {
2f4c0a16
RD
31859 PyErr_SetString(PyExc_TypeError,"null reference");
31860 SWIG_fail;
d14a1e28
RD
31861 }
31862 }
31863 if (obj6) {
31864 {
31865 arg7 = wxString_in_helper(obj6);
31866 if (arg7 == NULL) SWIG_fail;
423f194a 31867 temp7 = True;
d14a1e28
RD
31868 }
31869 }
31870 {
31871 PyThreadState* __tstate = wxPyBeginAllowThreads();
31872 result = (wxControl *)new wxControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
31873
31874 wxPyEndAllowThreads(__tstate);
31875 if (PyErr_Occurred()) SWIG_fail;
31876 }
31877 {
31878 resultobj = wxPyMake_wxObject(result);
31879 }
31880 {
31881 if (temp7)
31882 delete arg7;
31883 }
31884 return resultobj;
31885 fail:
31886 {
31887 if (temp7)
31888 delete arg7;
31889 }
31890 return NULL;
31891}
31892
31893
31894static PyObject *_wrap_new_PreControl(PyObject *self, PyObject *args, PyObject *kwargs) {
31895 PyObject *resultobj;
31896 wxControl *result;
31897 char *kwnames[] = {
31898 NULL
31899 };
31900
31901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreControl",kwnames)) goto fail;
31902 {
31903 PyThreadState* __tstate = wxPyBeginAllowThreads();
31904 result = (wxControl *)new wxControl();
31905
31906 wxPyEndAllowThreads(__tstate);
31907 if (PyErr_Occurred()) SWIG_fail;
31908 }
31909 {
31910 resultobj = wxPyMake_wxObject(result);
31911 }
31912 return resultobj;
31913 fail:
31914 return NULL;
31915}
31916
31917
31918static PyObject *_wrap_Control_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
31919 PyObject *resultobj;
31920 wxControl *arg1 = (wxControl *) 0 ;
31921 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 31922 int arg3 ;
d14a1e28
RD
31923 wxPoint const &arg4_defvalue = wxDefaultPosition ;
31924 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
31925 wxSize const &arg5_defvalue = wxDefaultSize ;
31926 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
31927 long arg6 = (long) 0 ;
31928 wxValidator const &arg7_defvalue = wxDefaultValidator ;
31929 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
31930 wxString const &arg8_defvalue = wxPyControlNameStr ;
31931 wxString *arg8 = (wxString *) &arg8_defvalue ;
31932 bool result;
31933 wxPoint temp4 ;
31934 wxSize temp5 ;
423f194a 31935 bool temp8 = False ;
d14a1e28
RD
31936 PyObject * obj0 = 0 ;
31937 PyObject * obj1 = 0 ;
8edf1c75 31938 PyObject * obj2 = 0 ;
d14a1e28
RD
31939 PyObject * obj3 = 0 ;
31940 PyObject * obj4 = 0 ;
8edf1c75 31941 PyObject * obj5 = 0 ;
d14a1e28
RD
31942 PyObject * obj6 = 0 ;
31943 PyObject * obj7 = 0 ;
31944 char *kwnames[] = {
31945 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31946 };
31947
8edf1c75 31948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOOO:Control_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2f4c0a16
RD
31949 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
31950 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31951 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
31952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
31953 arg3 = (int) SWIG_AsInt(obj2);
31954 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
31955 if (obj3) {
31956 {
31957 arg4 = &temp4;
31958 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
31959 }
31960 }
31961 if (obj4) {
31962 {
31963 arg5 = &temp5;
31964 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
31965 }
31966 }
8edf1c75 31967 if (obj5) {
2f4c0a16
RD
31968 arg6 = (long) SWIG_AsLong(obj5);
31969 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 31970 }
d14a1e28 31971 if (obj6) {
2f4c0a16
RD
31972 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxValidator,
31973 SWIG_POINTER_EXCEPTION | 0)) == -1)
31974 SWIG_fail;
d14a1e28 31975 if (arg7 == NULL) {
2f4c0a16
RD
31976 PyErr_SetString(PyExc_TypeError,"null reference");
31977 SWIG_fail;
d14a1e28
RD
31978 }
31979 }
31980 if (obj7) {
31981 {
31982 arg8 = wxString_in_helper(obj7);
31983 if (arg8 == NULL) SWIG_fail;
423f194a 31984 temp8 = True;
d14a1e28
RD
31985 }
31986 }
31987 {
31988 PyThreadState* __tstate = wxPyBeginAllowThreads();
31989 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
31990
31991 wxPyEndAllowThreads(__tstate);
31992 if (PyErr_Occurred()) SWIG_fail;
31993 }
4e760a36 31994 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
31995 {
31996 if (temp8)
31997 delete arg8;
31998 }
31999 return resultobj;
32000 fail:
32001 {
32002 if (temp8)
32003 delete arg8;
32004 }
32005 return NULL;
32006}
32007
32008
32009static PyObject *_wrap_Control_Command(PyObject *self, PyObject *args, PyObject *kwargs) {
32010 PyObject *resultobj;
32011 wxControl *arg1 = (wxControl *) 0 ;
32012 wxCommandEvent *arg2 = 0 ;
32013 PyObject * obj0 = 0 ;
32014 PyObject * obj1 = 0 ;
32015 char *kwnames[] = {
32016 (char *) "self",(char *) "event", NULL
32017 };
32018
32019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_Command",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32020 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32021 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32022 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxCommandEvent,
32023 SWIG_POINTER_EXCEPTION | 0)) == -1)
32024 SWIG_fail;
d14a1e28 32025 if (arg2 == NULL) {
2f4c0a16
RD
32026 PyErr_SetString(PyExc_TypeError,"null reference");
32027 SWIG_fail;
d14a1e28
RD
32028 }
32029 {
32030 PyThreadState* __tstate = wxPyBeginAllowThreads();
32031 (arg1)->Command(*arg2);
32032
32033 wxPyEndAllowThreads(__tstate);
32034 if (PyErr_Occurred()) SWIG_fail;
32035 }
32036 Py_INCREF(Py_None); resultobj = Py_None;
32037 return resultobj;
32038 fail:
32039 return NULL;
32040}
32041
32042
32043static PyObject *_wrap_Control_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32044 PyObject *resultobj;
32045 wxControl *arg1 = (wxControl *) 0 ;
32046 wxString result;
32047 PyObject * obj0 = 0 ;
32048 char *kwnames[] = {
32049 (char *) "self", NULL
32050 };
32051
32052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Control_GetLabel",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32053 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32054 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32055 {
32056 PyThreadState* __tstate = wxPyBeginAllowThreads();
32057 result = (arg1)->GetLabel();
32058
32059 wxPyEndAllowThreads(__tstate);
32060 if (PyErr_Occurred()) SWIG_fail;
32061 }
32062 {
32063#if wxUSE_UNICODE
32064 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32065#else
32066 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32067#endif
32068 }
32069 return resultobj;
32070 fail:
32071 return NULL;
32072}
32073
32074
32075static PyObject *_wrap_Control_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
32076 PyObject *resultobj;
32077 wxControl *arg1 = (wxControl *) 0 ;
32078 wxString *arg2 = 0 ;
423f194a 32079 bool temp2 = False ;
d14a1e28
RD
32080 PyObject * obj0 = 0 ;
32081 PyObject * obj1 = 0 ;
32082 char *kwnames[] = {
32083 (char *) "self",(char *) "label", NULL
32084 };
32085
32086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Control_SetLabel",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32087 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxControl,
32088 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32089 {
32090 arg2 = wxString_in_helper(obj1);
32091 if (arg2 == NULL) SWIG_fail;
423f194a 32092 temp2 = True;
d14a1e28
RD
32093 }
32094 {
32095 PyThreadState* __tstate = wxPyBeginAllowThreads();
32096 (arg1)->SetLabel((wxString const &)*arg2);
32097
32098 wxPyEndAllowThreads(__tstate);
32099 if (PyErr_Occurred()) SWIG_fail;
32100 }
32101 Py_INCREF(Py_None); resultobj = Py_None;
32102 {
32103 if (temp2)
32104 delete arg2;
32105 }
32106 return resultobj;
32107 fail:
32108 {
32109 if (temp2)
32110 delete arg2;
32111 }
32112 return NULL;
32113}
32114
32115
32116static PyObject * Control_swigregister(PyObject *self, PyObject *args) {
32117 PyObject *obj;
32118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32119 SWIG_TypeClientData(SWIGTYPE_p_wxControl, obj);
32120 Py_INCREF(obj);
32121 return Py_BuildValue((char *)"");
32122}
32123static PyObject *_wrap_ItemContainer_Append(PyObject *self, PyObject *args, PyObject *kwargs) {
32124 PyObject *resultobj;
32125 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32126 wxString *arg2 = 0 ;
32127 PyObject *arg3 = (PyObject *) NULL ;
32128 int result;
423f194a 32129 bool temp2 = False ;
d14a1e28
RD
32130 PyObject * obj0 = 0 ;
32131 PyObject * obj1 = 0 ;
32132 PyObject * obj2 = 0 ;
32133 char *kwnames[] = {
32134 (char *) "self",(char *) "item",(char *) "clientData", NULL
32135 };
32136
32137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ItemContainer_Append",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32138 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32139 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32140 {
32141 arg2 = wxString_in_helper(obj1);
32142 if (arg2 == NULL) SWIG_fail;
423f194a 32143 temp2 = True;
d14a1e28
RD
32144 }
32145 if (obj2) {
32146 arg3 = obj2;
32147 }
32148 {
32149 PyThreadState* __tstate = wxPyBeginAllowThreads();
32150 result = (int)wxItemContainer_Append(arg1,(wxString const &)*arg2,arg3);
32151
32152 wxPyEndAllowThreads(__tstate);
32153 if (PyErr_Occurred()) SWIG_fail;
32154 }
2f4c0a16 32155 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32156 {
32157 if (temp2)
32158 delete arg2;
32159 }
32160 return resultobj;
32161 fail:
32162 {
32163 if (temp2)
32164 delete arg2;
32165 }
32166 return NULL;
32167}
32168
32169
32170static PyObject *_wrap_ItemContainer_AppendItems(PyObject *self, PyObject *args, PyObject *kwargs) {
32171 PyObject *resultobj;
32172 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32173 wxArrayString *arg2 = 0 ;
db914595 32174 bool temp2 = False ;
d14a1e28
RD
32175 PyObject * obj0 = 0 ;
32176 PyObject * obj1 = 0 ;
32177 char *kwnames[] = {
32178 (char *) "self",(char *) "strings", NULL
32179 };
32180
32181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_AppendItems",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32182 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32183 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32184 {
32185 if (! PySequence_Check(obj1)) {
32186 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
32187 SWIG_fail;
32188 }
32189 arg2 = new wxArrayString;
db914595 32190 temp2 = True;
d14a1e28
RD
32191 int i, len=PySequence_Length(obj1);
32192 for (i=0; i<len; i++) {
32193 PyObject* item = PySequence_GetItem(obj1, i);
32194#if wxUSE_UNICODE
32195 PyObject* str = PyObject_Unicode(item);
32196#else
32197 PyObject* str = PyObject_Str(item);
32198#endif
32199 arg2->Add(Py2wxString(str));
32200 Py_DECREF(item);
32201 Py_DECREF(str);
32202 }
32203 }
32204 {
32205 PyThreadState* __tstate = wxPyBeginAllowThreads();
32206 (arg1)->Append((wxArrayString const &)*arg2);
32207
32208 wxPyEndAllowThreads(__tstate);
32209 if (PyErr_Occurred()) SWIG_fail;
32210 }
32211 Py_INCREF(Py_None); resultobj = Py_None;
32212 {
db914595 32213 if (temp2) delete arg2;
d14a1e28
RD
32214 }
32215 return resultobj;
32216 fail:
32217 {
db914595 32218 if (temp2) delete arg2;
d14a1e28
RD
32219 }
32220 return NULL;
32221}
32222
32223
32224static PyObject *_wrap_ItemContainer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
32225 PyObject *resultobj;
32226 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32227 wxString *arg2 = 0 ;
32228 int arg3 ;
32229 PyObject *arg4 = (PyObject *) NULL ;
32230 int result;
423f194a 32231 bool temp2 = False ;
d14a1e28
RD
32232 PyObject * obj0 = 0 ;
32233 PyObject * obj1 = 0 ;
8edf1c75 32234 PyObject * obj2 = 0 ;
d14a1e28
RD
32235 PyObject * obj3 = 0 ;
32236 char *kwnames[] = {
32237 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
32238 };
32239
8edf1c75 32240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:ItemContainer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
32241 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32242 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32243 {
32244 arg2 = wxString_in_helper(obj1);
32245 if (arg2 == NULL) SWIG_fail;
423f194a 32246 temp2 = True;
d14a1e28 32247 }
2f4c0a16
RD
32248 arg3 = (int) SWIG_AsInt(obj2);
32249 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32250 if (obj3) {
32251 arg4 = obj3;
32252 }
32253 {
32254 PyThreadState* __tstate = wxPyBeginAllowThreads();
32255 result = (int)wxItemContainer_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
32256
32257 wxPyEndAllowThreads(__tstate);
32258 if (PyErr_Occurred()) SWIG_fail;
32259 }
2f4c0a16 32260 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32261 {
32262 if (temp2)
32263 delete arg2;
32264 }
32265 return resultobj;
32266 fail:
32267 {
32268 if (temp2)
32269 delete arg2;
32270 }
32271 return NULL;
32272}
32273
32274
32275static PyObject *_wrap_ItemContainer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
32276 PyObject *resultobj;
32277 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32278 PyObject * obj0 = 0 ;
32279 char *kwnames[] = {
32280 (char *) "self", NULL
32281 };
32282
32283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_Clear",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32284 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32285 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32286 {
32287 PyThreadState* __tstate = wxPyBeginAllowThreads();
32288 (arg1)->Clear();
32289
32290 wxPyEndAllowThreads(__tstate);
32291 if (PyErr_Occurred()) SWIG_fail;
32292 }
32293 Py_INCREF(Py_None); resultobj = Py_None;
32294 return resultobj;
32295 fail:
32296 return NULL;
32297}
32298
32299
32300static PyObject *_wrap_ItemContainer_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
32301 PyObject *resultobj;
32302 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32303 int arg2 ;
32304 PyObject * obj0 = 0 ;
8edf1c75 32305 PyObject * obj1 = 0 ;
d14a1e28
RD
32306 char *kwnames[] = {
32307 (char *) "self",(char *) "n", NULL
32308 };
32309
8edf1c75 32310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Delete",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32311 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32312 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32313 arg2 = (int) SWIG_AsInt(obj1);
32314 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32315 {
32316 PyThreadState* __tstate = wxPyBeginAllowThreads();
32317 (arg1)->Delete(arg2);
32318
32319 wxPyEndAllowThreads(__tstate);
32320 if (PyErr_Occurred()) SWIG_fail;
32321 }
32322 Py_INCREF(Py_None); resultobj = Py_None;
32323 return resultobj;
32324 fail:
32325 return NULL;
32326}
32327
32328
32329static PyObject *_wrap_ItemContainer_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
32330 PyObject *resultobj;
32331 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32332 int result;
32333 PyObject * obj0 = 0 ;
32334 char *kwnames[] = {
32335 (char *) "self", NULL
32336 };
32337
32338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetCount",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32339 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32340 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32341 {
32342 PyThreadState* __tstate = wxPyBeginAllowThreads();
32343 result = (int)((wxItemContainer const *)arg1)->GetCount();
32344
32345 wxPyEndAllowThreads(__tstate);
32346 if (PyErr_Occurred()) SWIG_fail;
32347 }
2f4c0a16 32348 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32349 return resultobj;
32350 fail:
32351 return NULL;
32352}
32353
32354
32355static PyObject *_wrap_ItemContainer_IsEmpty(PyObject *self, PyObject *args, PyObject *kwargs) {
32356 PyObject *resultobj;
32357 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32358 bool result;
32359 PyObject * obj0 = 0 ;
32360 char *kwnames[] = {
32361 (char *) "self", NULL
32362 };
32363
32364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_IsEmpty",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32365 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32366 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32367 {
32368 PyThreadState* __tstate = wxPyBeginAllowThreads();
32369 result = (bool)((wxItemContainer const *)arg1)->IsEmpty();
32370
32371 wxPyEndAllowThreads(__tstate);
32372 if (PyErr_Occurred()) SWIG_fail;
32373 }
4e760a36 32374 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
32375 return resultobj;
32376 fail:
32377 return NULL;
32378}
32379
32380
32381static PyObject *_wrap_ItemContainer_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
32382 PyObject *resultobj;
32383 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32384 int arg2 ;
32385 wxString result;
32386 PyObject * obj0 = 0 ;
8edf1c75 32387 PyObject * obj1 = 0 ;
d14a1e28
RD
32388 char *kwnames[] = {
32389 (char *) "self",(char *) "n", NULL
32390 };
32391
8edf1c75 32392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32393 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32394 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32395 arg2 = (int) SWIG_AsInt(obj1);
32396 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32397 {
32398 PyThreadState* __tstate = wxPyBeginAllowThreads();
32399 result = ((wxItemContainer const *)arg1)->GetString(arg2);
32400
32401 wxPyEndAllowThreads(__tstate);
32402 if (PyErr_Occurred()) SWIG_fail;
32403 }
32404 {
32405#if wxUSE_UNICODE
32406 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32407#else
32408 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32409#endif
32410 }
32411 return resultobj;
32412 fail:
32413 return NULL;
32414}
32415
32416
32417static PyObject *_wrap_ItemContainer_GetStrings(PyObject *self, PyObject *args, PyObject *kwargs) {
32418 PyObject *resultobj;
32419 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32420 wxArrayString result;
32421 PyObject * obj0 = 0 ;
32422 char *kwnames[] = {
32423 (char *) "self", NULL
32424 };
32425
32426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStrings",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32429 {
32430 PyThreadState* __tstate = wxPyBeginAllowThreads();
32431 result = ((wxItemContainer const *)arg1)->GetStrings();
32432
32433 wxPyEndAllowThreads(__tstate);
32434 if (PyErr_Occurred()) SWIG_fail;
32435 }
32436 {
32437 resultobj = wxArrayString2PyList_helper(result);
32438 }
32439 return resultobj;
32440 fail:
32441 return NULL;
32442}
32443
32444
32445static PyObject *_wrap_ItemContainer_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
32446 PyObject *resultobj;
32447 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32448 int arg2 ;
32449 wxString *arg3 = 0 ;
423f194a 32450 bool temp3 = False ;
d14a1e28 32451 PyObject * obj0 = 0 ;
8edf1c75 32452 PyObject * obj1 = 0 ;
d14a1e28
RD
32453 PyObject * obj2 = 0 ;
32454 char *kwnames[] = {
32455 (char *) "self",(char *) "n",(char *) "s", NULL
32456 };
32457
8edf1c75 32458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetString",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32459 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32460 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32461 arg2 = (int) SWIG_AsInt(obj1);
32462 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32463 {
32464 arg3 = wxString_in_helper(obj2);
32465 if (arg3 == NULL) SWIG_fail;
423f194a 32466 temp3 = True;
d14a1e28
RD
32467 }
32468 {
32469 PyThreadState* __tstate = wxPyBeginAllowThreads();
32470 (arg1)->SetString(arg2,(wxString const &)*arg3);
32471
32472 wxPyEndAllowThreads(__tstate);
32473 if (PyErr_Occurred()) SWIG_fail;
32474 }
32475 Py_INCREF(Py_None); resultobj = Py_None;
32476 {
32477 if (temp3)
32478 delete arg3;
32479 }
32480 return resultobj;
32481 fail:
32482 {
32483 if (temp3)
32484 delete arg3;
32485 }
32486 return NULL;
32487}
32488
32489
32490static PyObject *_wrap_ItemContainer_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
32491 PyObject *resultobj;
32492 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32493 wxString *arg2 = 0 ;
32494 int result;
423f194a 32495 bool temp2 = False ;
d14a1e28
RD
32496 PyObject * obj0 = 0 ;
32497 PyObject * obj1 = 0 ;
32498 char *kwnames[] = {
32499 (char *) "self",(char *) "s", NULL
32500 };
32501
32502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_FindString",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32503 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32504 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32505 {
32506 arg2 = wxString_in_helper(obj1);
32507 if (arg2 == NULL) SWIG_fail;
423f194a 32508 temp2 = True;
d14a1e28
RD
32509 }
32510 {
32511 PyThreadState* __tstate = wxPyBeginAllowThreads();
32512 result = (int)((wxItemContainer const *)arg1)->FindString((wxString const &)*arg2);
32513
32514 wxPyEndAllowThreads(__tstate);
32515 if (PyErr_Occurred()) SWIG_fail;
32516 }
2f4c0a16 32517 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32518 {
32519 if (temp2)
32520 delete arg2;
32521 }
32522 return resultobj;
32523 fail:
32524 {
32525 if (temp2)
32526 delete arg2;
32527 }
32528 return NULL;
32529}
32530
32531
32532static PyObject *_wrap_ItemContainer_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
32533 PyObject *resultobj;
32534 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32535 int arg2 ;
32536 PyObject * obj0 = 0 ;
8edf1c75 32537 PyObject * obj1 = 0 ;
d14a1e28
RD
32538 char *kwnames[] = {
32539 (char *) "self",(char *) "n", NULL
32540 };
32541
8edf1c75 32542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_Select",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32545 arg2 = (int) SWIG_AsInt(obj1);
32546 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32547 {
32548 PyThreadState* __tstate = wxPyBeginAllowThreads();
32549 (arg1)->Select(arg2);
32550
32551 wxPyEndAllowThreads(__tstate);
32552 if (PyErr_Occurred()) SWIG_fail;
32553 }
32554 Py_INCREF(Py_None); resultobj = Py_None;
32555 return resultobj;
32556 fail:
32557 return NULL;
32558}
32559
32560
32561static PyObject *_wrap_ItemContainer_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
32562 PyObject *resultobj;
32563 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32564 int result;
32565 PyObject * obj0 = 0 ;
32566 char *kwnames[] = {
32567 (char *) "self", NULL
32568 };
32569
32570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32571 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32573 {
32574 PyThreadState* __tstate = wxPyBeginAllowThreads();
32575 result = (int)((wxItemContainer const *)arg1)->GetSelection();
32576
32577 wxPyEndAllowThreads(__tstate);
32578 if (PyErr_Occurred()) SWIG_fail;
32579 }
2f4c0a16 32580 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
32581 return resultobj;
32582 fail:
32583 return NULL;
32584}
32585
32586
32587static PyObject *_wrap_ItemContainer_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
32588 PyObject *resultobj;
32589 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32590 wxString result;
32591 PyObject * obj0 = 0 ;
32592 char *kwnames[] = {
32593 (char *) "self", NULL
32594 };
32595
32596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ItemContainer_GetStringSelection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32597 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32598 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32599 {
32600 PyThreadState* __tstate = wxPyBeginAllowThreads();
32601 result = ((wxItemContainer const *)arg1)->GetStringSelection();
32602
32603 wxPyEndAllowThreads(__tstate);
32604 if (PyErr_Occurred()) SWIG_fail;
32605 }
32606 {
32607#if wxUSE_UNICODE
32608 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
32609#else
32610 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
32611#endif
32612 }
32613 return resultobj;
32614 fail:
32615 return NULL;
32616}
32617
32618
32619static PyObject *_wrap_ItemContainer_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
32620 PyObject *resultobj;
32621 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32622 int arg2 ;
32623 PyObject *result;
32624 PyObject * obj0 = 0 ;
8edf1c75 32625 PyObject * obj1 = 0 ;
d14a1e28
RD
32626 char *kwnames[] = {
32627 (char *) "self",(char *) "n", NULL
32628 };
32629
8edf1c75 32630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ItemContainer_GetClientData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
32631 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32632 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32633 arg2 = (int) SWIG_AsInt(obj1);
32634 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32635 {
32636 PyThreadState* __tstate = wxPyBeginAllowThreads();
32637 result = (PyObject *)wxItemContainer_GetClientData(arg1,arg2);
32638
32639 wxPyEndAllowThreads(__tstate);
32640 if (PyErr_Occurred()) SWIG_fail;
32641 }
32642 resultobj = result;
32643 return resultobj;
32644 fail:
32645 return NULL;
32646}
32647
32648
32649static PyObject *_wrap_ItemContainer_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
32650 PyObject *resultobj;
32651 wxItemContainer *arg1 = (wxItemContainer *) 0 ;
32652 int arg2 ;
32653 PyObject *arg3 = (PyObject *) 0 ;
32654 PyObject * obj0 = 0 ;
8edf1c75 32655 PyObject * obj1 = 0 ;
d14a1e28
RD
32656 PyObject * obj2 = 0 ;
32657 char *kwnames[] = {
32658 (char *) "self",(char *) "n",(char *) "clientData", NULL
32659 };
32660
8edf1c75 32661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ItemContainer_SetClientData",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32662 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxItemContainer,
32663 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32664 arg2 = (int) SWIG_AsInt(obj1);
32665 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
32666 arg3 = obj2;
32667 {
32668 PyThreadState* __tstate = wxPyBeginAllowThreads();
32669 wxItemContainer_SetClientData(arg1,arg2,arg3);
32670
32671 wxPyEndAllowThreads(__tstate);
32672 if (PyErr_Occurred()) SWIG_fail;
32673 }
32674 Py_INCREF(Py_None); resultobj = Py_None;
32675 return resultobj;
32676 fail:
32677 return NULL;
32678}
32679
32680
32681static PyObject * ItemContainer_swigregister(PyObject *self, PyObject *args) {
32682 PyObject *obj;
32683 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32684 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer, obj);
32685 Py_INCREF(obj);
32686 return Py_BuildValue((char *)"");
32687}
32688static PyObject * ControlWithItems_swigregister(PyObject *self, PyObject *args) {
32689 PyObject *obj;
32690 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
32691 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems, obj);
32692 Py_INCREF(obj);
32693 return Py_BuildValue((char *)"");
32694}
32695static PyObject *_wrap_new_SizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
32696 PyObject *resultobj;
32697 wxSizerItem *result;
32698 char *kwnames[] = {
32699 NULL
32700 };
32701
32702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SizerItem",kwnames)) goto fail;
32703 {
32704 PyThreadState* __tstate = wxPyBeginAllowThreads();
32705 result = (wxSizerItem *)new wxSizerItem();
32706
32707 wxPyEndAllowThreads(__tstate);
32708 if (PyErr_Occurred()) SWIG_fail;
32709 }
2f4c0a16 32710 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
32711 return resultobj;
32712 fail:
32713 return NULL;
32714}
32715
32716
32717static PyObject *_wrap_new_SizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
32718 PyObject *resultobj;
32719 int arg1 ;
32720 int arg2 ;
32721 int arg3 ;
32722 int arg4 ;
32723 int arg5 ;
32724 wxObject *arg6 = (wxObject *) 0 ;
32725 wxSizerItem *result;
8edf1c75
RD
32726 PyObject * obj0 = 0 ;
32727 PyObject * obj1 = 0 ;
32728 PyObject * obj2 = 0 ;
32729 PyObject * obj3 = 0 ;
32730 PyObject * obj4 = 0 ;
d14a1e28
RD
32731 PyObject * obj5 = 0 ;
32732 char *kwnames[] = {
32733 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32734 };
32735
8edf1c75 32736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_SizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
32737 arg1 = (int) SWIG_AsInt(obj0);
32738 if (PyErr_Occurred()) SWIG_fail;
32739 arg2 = (int) SWIG_AsInt(obj1);
32740 if (PyErr_Occurred()) SWIG_fail;
32741 arg3 = (int) SWIG_AsInt(obj2);
32742 if (PyErr_Occurred()) SWIG_fail;
32743 arg4 = (int) SWIG_AsInt(obj3);
32744 if (PyErr_Occurred()) SWIG_fail;
32745 arg5 = (int) SWIG_AsInt(obj4);
32746 if (PyErr_Occurred()) SWIG_fail;
32747 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
32748 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32749 {
32750 PyThreadState* __tstate = wxPyBeginAllowThreads();
32751 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5,arg6);
32752
32753 wxPyEndAllowThreads(__tstate);
32754 if (PyErr_Occurred()) SWIG_fail;
32755 }
2f4c0a16 32756 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
32757 return resultobj;
32758 fail:
32759 return NULL;
32760}
32761
32762
32763static PyObject *_wrap_new_SizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
32764 PyObject *resultobj;
32765 wxWindow *arg1 = (wxWindow *) 0 ;
32766 int arg2 ;
32767 int arg3 ;
32768 int arg4 ;
32769 wxObject *arg5 = (wxObject *) 0 ;
32770 wxSizerItem *result;
32771 PyObject * obj0 = 0 ;
8edf1c75
RD
32772 PyObject * obj1 = 0 ;
32773 PyObject * obj2 = 0 ;
32774 PyObject * obj3 = 0 ;
d14a1e28
RD
32775 PyObject * obj4 = 0 ;
32776 char *kwnames[] = {
32777 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32778 };
32779
8edf1c75 32780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
32781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
32782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32783 arg2 = (int) SWIG_AsInt(obj1);
32784 if (PyErr_Occurred()) SWIG_fail;
32785 arg3 = (int) SWIG_AsInt(obj2);
32786 if (PyErr_Occurred()) SWIG_fail;
32787 arg4 = (int) SWIG_AsInt(obj3);
32788 if (PyErr_Occurred()) SWIG_fail;
32789 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
32790 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32791 {
32792 PyThreadState* __tstate = wxPyBeginAllowThreads();
32793 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
32794
32795 wxPyEndAllowThreads(__tstate);
32796 if (PyErr_Occurred()) SWIG_fail;
32797 }
2f4c0a16 32798 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
32799 return resultobj;
32800 fail:
32801 return NULL;
32802}
32803
32804
32805static PyObject *_wrap_new_SizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32806 PyObject *resultobj;
32807 wxSizer *arg1 = (wxSizer *) 0 ;
32808 int arg2 ;
32809 int arg3 ;
32810 int arg4 ;
32811 wxObject *arg5 = (wxObject *) 0 ;
32812 wxSizerItem *result;
32813 PyObject * obj0 = 0 ;
8edf1c75
RD
32814 PyObject * obj1 = 0 ;
32815 PyObject * obj2 = 0 ;
32816 PyObject * obj3 = 0 ;
d14a1e28
RD
32817 PyObject * obj4 = 0 ;
32818 char *kwnames[] = {
32819 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32820 };
32821
8edf1c75 32822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:new_SizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
32823 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
32824 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32825 arg2 = (int) SWIG_AsInt(obj1);
32826 if (PyErr_Occurred()) SWIG_fail;
32827 arg3 = (int) SWIG_AsInt(obj2);
32828 if (PyErr_Occurred()) SWIG_fail;
32829 arg4 = (int) SWIG_AsInt(obj3);
32830 if (PyErr_Occurred()) SWIG_fail;
32831 if ((SWIG_ConvertPtr(obj4,(void **)(&arg5),SWIGTYPE_p_wxObject,
32832 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32833 {
32834 PyThreadState* __tstate = wxPyBeginAllowThreads();
32835 result = (wxSizerItem *)new wxSizerItem(arg1,arg2,arg3,arg4,arg5);
32836
32837 wxPyEndAllowThreads(__tstate);
32838 if (PyErr_Occurred()) SWIG_fail;
32839 }
2f4c0a16 32840 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSizerItem, 1);
d14a1e28
RD
32841 return resultobj;
32842 fail:
32843 return NULL;
32844}
32845
32846
32847static PyObject *_wrap_SizerItem_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
32848 PyObject *resultobj;
32849 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32850 PyObject * obj0 = 0 ;
32851 char *kwnames[] = {
32852 (char *) "self", NULL
32853 };
32854
32855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DeleteWindows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32858 {
32859 PyThreadState* __tstate = wxPyBeginAllowThreads();
32860 (arg1)->DeleteWindows();
32861
32862 wxPyEndAllowThreads(__tstate);
32863 if (PyErr_Occurred()) SWIG_fail;
32864 }
32865 Py_INCREF(Py_None); resultobj = Py_None;
32866 return resultobj;
32867 fail:
32868 return NULL;
32869}
32870
32871
32872static PyObject *_wrap_SizerItem_DetachSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
32873 PyObject *resultobj;
32874 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32875 PyObject * obj0 = 0 ;
32876 char *kwnames[] = {
32877 (char *) "self", NULL
32878 };
32879
32880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_DetachSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32881 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32882 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32883 {
32884 PyThreadState* __tstate = wxPyBeginAllowThreads();
32885 (arg1)->DetachSizer();
32886
32887 wxPyEndAllowThreads(__tstate);
32888 if (PyErr_Occurred()) SWIG_fail;
32889 }
32890 Py_INCREF(Py_None); resultobj = Py_None;
32891 return resultobj;
32892 fail:
32893 return NULL;
32894}
32895
32896
32897static PyObject *_wrap_SizerItem_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32898 PyObject *resultobj;
32899 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32900 wxSize result;
32901 PyObject * obj0 = 0 ;
32902 char *kwnames[] = {
32903 (char *) "self", NULL
32904 };
32905
32906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32907 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32908 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32909 {
32910 PyThreadState* __tstate = wxPyBeginAllowThreads();
32911 result = (arg1)->GetSize();
32912
32913 wxPyEndAllowThreads(__tstate);
32914 if (PyErr_Occurred()) SWIG_fail;
32915 }
32916 {
32917 wxSize * resultptr;
32918 resultptr = new wxSize((wxSize &) result);
2f4c0a16 32919 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32920 }
32921 return resultobj;
32922 fail:
32923 return NULL;
32924}
32925
32926
32927static PyObject *_wrap_SizerItem_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
32928 PyObject *resultobj;
32929 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32930 wxSize result;
32931 PyObject * obj0 = 0 ;
32932 char *kwnames[] = {
32933 (char *) "self", NULL
32934 };
32935
32936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
32937 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32938 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
32939 {
32940 PyThreadState* __tstate = wxPyBeginAllowThreads();
32941 result = (arg1)->CalcMin();
32942
32943 wxPyEndAllowThreads(__tstate);
32944 if (PyErr_Occurred()) SWIG_fail;
32945 }
32946 {
32947 wxSize * resultptr;
32948 resultptr = new wxSize((wxSize &) result);
2f4c0a16 32949 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
32950 }
32951 return resultobj;
32952 fail:
32953 return NULL;
32954}
32955
32956
32957static PyObject *_wrap_SizerItem_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
32958 PyObject *resultobj;
32959 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32960 wxPoint arg2 ;
32961 wxSize arg3 ;
32962 wxPoint *argp2 ;
32963 wxSize *argp3 ;
32964 PyObject * obj0 = 0 ;
32965 PyObject * obj1 = 0 ;
32966 PyObject * obj2 = 0 ;
32967 char *kwnames[] = {
32968 (char *) "self",(char *) "pos",(char *) "size", NULL
32969 };
32970
32971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetDimension",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
32972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
32973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
32974 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxPoint,
32975 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32976 arg2 = *argp2;
32977 if ((SWIG_ConvertPtr(obj2,(void **)(&argp3),SWIGTYPE_p_wxSize,
32978 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
32979 arg3 = *argp3;
d14a1e28
RD
32980 {
32981 PyThreadState* __tstate = wxPyBeginAllowThreads();
32982 (arg1)->SetDimension(arg2,arg3);
32983
32984 wxPyEndAllowThreads(__tstate);
32985 if (PyErr_Occurred()) SWIG_fail;
32986 }
32987 Py_INCREF(Py_None); resultobj = Py_None;
32988 return resultobj;
32989 fail:
32990 return NULL;
32991}
32992
32993
32994static PyObject *_wrap_SizerItem_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
32995 PyObject *resultobj;
32996 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
32997 wxSize result;
32998 PyObject * obj0 = 0 ;
32999 char *kwnames[] = {
33000 (char *) "self", NULL
33001 };
33002
33003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetMinSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33004 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33005 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33006 {
33007 PyThreadState* __tstate = wxPyBeginAllowThreads();
33008 result = (arg1)->GetMinSize();
33009
33010 wxPyEndAllowThreads(__tstate);
33011 if (PyErr_Occurred()) SWIG_fail;
33012 }
33013 {
33014 wxSize * resultptr;
33015 resultptr = new wxSize((wxSize &) result);
2f4c0a16 33016 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
33017 }
33018 return resultobj;
33019 fail:
33020 return NULL;
33021}
33022
33023
33024static PyObject *_wrap_SizerItem_SetInitSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33025 PyObject *resultobj;
33026 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33027 int arg2 ;
33028 int arg3 ;
33029 PyObject * obj0 = 0 ;
8edf1c75
RD
33030 PyObject * obj1 = 0 ;
33031 PyObject * obj2 = 0 ;
d14a1e28
RD
33032 char *kwnames[] = {
33033 (char *) "self",(char *) "x",(char *) "y", NULL
33034 };
33035
8edf1c75 33036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetInitSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
33037 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33038 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33039 arg2 = (int) SWIG_AsInt(obj1);
33040 if (PyErr_Occurred()) SWIG_fail;
33041 arg3 = (int) SWIG_AsInt(obj2);
33042 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33043 {
33044 PyThreadState* __tstate = wxPyBeginAllowThreads();
33045 (arg1)->SetInitSize(arg2,arg3);
33046
33047 wxPyEndAllowThreads(__tstate);
33048 if (PyErr_Occurred()) SWIG_fail;
33049 }
33050 Py_INCREF(Py_None); resultobj = Py_None;
33051 return resultobj;
33052 fail:
33053 return NULL;
33054}
33055
33056
33057static PyObject *_wrap_SizerItem_SetRatioWH(PyObject *self, PyObject *args, PyObject *kwargs) {
33058 PyObject *resultobj;
33059 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33060 int arg2 ;
33061 int arg3 ;
33062 PyObject * obj0 = 0 ;
8edf1c75
RD
33063 PyObject * obj1 = 0 ;
33064 PyObject * obj2 = 0 ;
d14a1e28
RD
33065 char *kwnames[] = {
33066 (char *) "self",(char *) "width",(char *) "height", NULL
33067 };
33068
8edf1c75 33069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SizerItem_SetRatioWH",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
33070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33072 arg2 = (int) SWIG_AsInt(obj1);
33073 if (PyErr_Occurred()) SWIG_fail;
33074 arg3 = (int) SWIG_AsInt(obj2);
33075 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33076 {
33077 PyThreadState* __tstate = wxPyBeginAllowThreads();
33078 (arg1)->SetRatio(arg2,arg3);
33079
33080 wxPyEndAllowThreads(__tstate);
33081 if (PyErr_Occurred()) SWIG_fail;
33082 }
33083 Py_INCREF(Py_None); resultobj = Py_None;
33084 return resultobj;
33085 fail:
33086 return NULL;
33087}
33088
33089
33090static PyObject *_wrap_SizerItem_SetRatioSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33091 PyObject *resultobj;
33092 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33093 wxSize arg2 ;
33094 wxSize *argp2 ;
33095 PyObject * obj0 = 0 ;
33096 PyObject * obj1 = 0 ;
33097 char *kwnames[] = {
33098 (char *) "self",(char *) "size", NULL
33099 };
33100
33101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatioSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33102 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33103 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33104 if ((SWIG_ConvertPtr(obj1,(void **)(&argp2),SWIGTYPE_p_wxSize,
33105 SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
33106 arg2 = *argp2;
d14a1e28
RD
33107 {
33108 PyThreadState* __tstate = wxPyBeginAllowThreads();
33109 (arg1)->SetRatio(arg2);
33110
33111 wxPyEndAllowThreads(__tstate);
33112 if (PyErr_Occurred()) SWIG_fail;
33113 }
33114 Py_INCREF(Py_None); resultobj = Py_None;
33115 return resultobj;
33116 fail:
33117 return NULL;
33118}
33119
33120
33121static PyObject *_wrap_SizerItem_SetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
33122 PyObject *resultobj;
33123 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33124 float arg2 ;
33125 PyObject * obj0 = 0 ;
8edf1c75 33126 PyObject * obj1 = 0 ;
d14a1e28
RD
33127 char *kwnames[] = {
33128 (char *) "self",(char *) "ratio", NULL
33129 };
33130
8edf1c75 33131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetRatio",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33132 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33134 arg2 = (float) SWIG_AsFloat(obj1);
33135 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33136 {
33137 PyThreadState* __tstate = wxPyBeginAllowThreads();
33138 (arg1)->SetRatio(arg2);
33139
33140 wxPyEndAllowThreads(__tstate);
33141 if (PyErr_Occurred()) SWIG_fail;
33142 }
33143 Py_INCREF(Py_None); resultobj = Py_None;
33144 return resultobj;
33145 fail:
33146 return NULL;
33147}
33148
33149
33150static PyObject *_wrap_SizerItem_GetRatio(PyObject *self, PyObject *args, PyObject *kwargs) {
33151 PyObject *resultobj;
33152 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33153 float result;
33154 PyObject * obj0 = 0 ;
33155 char *kwnames[] = {
33156 (char *) "self", NULL
33157 };
33158
33159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetRatio",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33162 {
33163 PyThreadState* __tstate = wxPyBeginAllowThreads();
33164 result = (float)(arg1)->GetRatio();
33165
33166 wxPyEndAllowThreads(__tstate);
33167 if (PyErr_Occurred()) SWIG_fail;
33168 }
2f4c0a16 33169 resultobj = SWIG_FromFloat((float)result);
d14a1e28
RD
33170 return resultobj;
33171 fail:
33172 return NULL;
33173}
33174
33175
33176static PyObject *_wrap_SizerItem_IsWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33177 PyObject *resultobj;
33178 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33179 bool result;
33180 PyObject * obj0 = 0 ;
33181 char *kwnames[] = {
33182 (char *) "self", NULL
33183 };
33184
33185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33186 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33187 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33188 {
33189 PyThreadState* __tstate = wxPyBeginAllowThreads();
33190 result = (bool)(arg1)->IsWindow();
33191
33192 wxPyEndAllowThreads(__tstate);
33193 if (PyErr_Occurred()) SWIG_fail;
33194 }
4e760a36 33195 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
33196 return resultobj;
33197 fail:
33198 return NULL;
33199}
33200
33201
33202static PyObject *_wrap_SizerItem_IsSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33203 PyObject *resultobj;
33204 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33205 bool result;
33206 PyObject * obj0 = 0 ;
33207 char *kwnames[] = {
33208 (char *) "self", NULL
33209 };
33210
33211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33212 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33213 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33214 {
33215 PyThreadState* __tstate = wxPyBeginAllowThreads();
33216 result = (bool)(arg1)->IsSizer();
33217
33218 wxPyEndAllowThreads(__tstate);
33219 if (PyErr_Occurred()) SWIG_fail;
33220 }
4e760a36 33221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
33222 return resultobj;
33223 fail:
33224 return NULL;
33225}
33226
33227
33228static PyObject *_wrap_SizerItem_IsSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
33229 PyObject *resultobj;
33230 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33231 bool result;
33232 PyObject * obj0 = 0 ;
33233 char *kwnames[] = {
33234 (char *) "self", NULL
33235 };
33236
33237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsSpacer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33238 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33239 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33240 {
33241 PyThreadState* __tstate = wxPyBeginAllowThreads();
33242 result = (bool)(arg1)->IsSpacer();
33243
33244 wxPyEndAllowThreads(__tstate);
33245 if (PyErr_Occurred()) SWIG_fail;
33246 }
4e760a36 33247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
33248 return resultobj;
33249 fail:
33250 return NULL;
33251}
33252
33253
33254static PyObject *_wrap_SizerItem_SetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
33255 PyObject *resultobj;
33256 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33257 int arg2 ;
33258 PyObject * obj0 = 0 ;
8edf1c75 33259 PyObject * obj1 = 0 ;
d14a1e28
RD
33260 char *kwnames[] = {
33261 (char *) "self",(char *) "proportion", NULL
33262 };
33263
8edf1c75 33264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetProportion",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33265 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33266 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33267 arg2 = (int) SWIG_AsInt(obj1);
33268 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33269 {
33270 PyThreadState* __tstate = wxPyBeginAllowThreads();
33271 (arg1)->SetProportion(arg2);
33272
33273 wxPyEndAllowThreads(__tstate);
33274 if (PyErr_Occurred()) SWIG_fail;
33275 }
33276 Py_INCREF(Py_None); resultobj = Py_None;
33277 return resultobj;
33278 fail:
33279 return NULL;
33280}
33281
33282
33283static PyObject *_wrap_SizerItem_GetProportion(PyObject *self, PyObject *args, PyObject *kwargs) {
33284 PyObject *resultobj;
33285 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33286 int result;
33287 PyObject * obj0 = 0 ;
33288 char *kwnames[] = {
33289 (char *) "self", NULL
33290 };
33291
33292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetProportion",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33293 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33294 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33295 {
33296 PyThreadState* __tstate = wxPyBeginAllowThreads();
33297 result = (int)(arg1)->GetProportion();
33298
33299 wxPyEndAllowThreads(__tstate);
33300 if (PyErr_Occurred()) SWIG_fail;
33301 }
2f4c0a16 33302 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33303 return resultobj;
33304 fail:
33305 return NULL;
33306}
33307
33308
33309static PyObject *_wrap_SizerItem_SetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
33310 PyObject *resultobj;
33311 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33312 int arg2 ;
33313 PyObject * obj0 = 0 ;
8edf1c75 33314 PyObject * obj1 = 0 ;
d14a1e28
RD
33315 char *kwnames[] = {
33316 (char *) "self",(char *) "flag", NULL
33317 };
33318
8edf1c75 33319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetFlag",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33320 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33322 arg2 = (int) SWIG_AsInt(obj1);
33323 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33324 {
33325 PyThreadState* __tstate = wxPyBeginAllowThreads();
33326 (arg1)->SetFlag(arg2);
33327
33328 wxPyEndAllowThreads(__tstate);
33329 if (PyErr_Occurred()) SWIG_fail;
33330 }
33331 Py_INCREF(Py_None); resultobj = Py_None;
33332 return resultobj;
33333 fail:
33334 return NULL;
33335}
33336
33337
33338static PyObject *_wrap_SizerItem_GetFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
33339 PyObject *resultobj;
33340 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33341 int result;
33342 PyObject * obj0 = 0 ;
33343 char *kwnames[] = {
33344 (char *) "self", NULL
33345 };
33346
33347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetFlag",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33348 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33349 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33350 {
33351 PyThreadState* __tstate = wxPyBeginAllowThreads();
33352 result = (int)(arg1)->GetFlag();
33353
33354 wxPyEndAllowThreads(__tstate);
33355 if (PyErr_Occurred()) SWIG_fail;
33356 }
2f4c0a16 33357 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33358 return resultobj;
33359 fail:
33360 return NULL;
33361}
33362
33363
33364static PyObject *_wrap_SizerItem_SetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
33365 PyObject *resultobj;
33366 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33367 int arg2 ;
33368 PyObject * obj0 = 0 ;
8edf1c75 33369 PyObject * obj1 = 0 ;
d14a1e28
RD
33370 char *kwnames[] = {
33371 (char *) "self",(char *) "border", NULL
33372 };
33373
8edf1c75 33374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetBorder",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33377 arg2 = (int) SWIG_AsInt(obj1);
33378 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33379 {
33380 PyThreadState* __tstate = wxPyBeginAllowThreads();
33381 (arg1)->SetBorder(arg2);
33382
33383 wxPyEndAllowThreads(__tstate);
33384 if (PyErr_Occurred()) SWIG_fail;
33385 }
33386 Py_INCREF(Py_None); resultobj = Py_None;
33387 return resultobj;
33388 fail:
33389 return NULL;
33390}
33391
33392
33393static PyObject *_wrap_SizerItem_GetBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
33394 PyObject *resultobj;
33395 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33396 int result;
33397 PyObject * obj0 = 0 ;
33398 char *kwnames[] = {
33399 (char *) "self", NULL
33400 };
33401
33402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetBorder",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33403 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33404 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33405 {
33406 PyThreadState* __tstate = wxPyBeginAllowThreads();
33407 result = (int)(arg1)->GetBorder();
33408
33409 wxPyEndAllowThreads(__tstate);
33410 if (PyErr_Occurred()) SWIG_fail;
33411 }
2f4c0a16 33412 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
33413 return resultobj;
33414 fail:
33415 return NULL;
33416}
33417
33418
33419static PyObject *_wrap_SizerItem_GetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33420 PyObject *resultobj;
33421 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33422 wxWindow *result;
33423 PyObject * obj0 = 0 ;
33424 char *kwnames[] = {
33425 (char *) "self", NULL
33426 };
33427
33428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33429 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33430 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33431 {
33432 PyThreadState* __tstate = wxPyBeginAllowThreads();
33433 result = (wxWindow *)(arg1)->GetWindow();
33434
33435 wxPyEndAllowThreads(__tstate);
33436 if (PyErr_Occurred()) SWIG_fail;
33437 }
33438 {
33439 resultobj = wxPyMake_wxObject(result);
33440 }
33441 return resultobj;
33442 fail:
33443 return NULL;
33444}
33445
33446
33447static PyObject *_wrap_SizerItem_SetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
33448 PyObject *resultobj;
33449 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33450 wxWindow *arg2 = (wxWindow *) 0 ;
33451 PyObject * obj0 = 0 ;
33452 PyObject * obj1 = 0 ;
33453 char *kwnames[] = {
33454 (char *) "self",(char *) "window", NULL
33455 };
33456
33457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetWindow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33460 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
33461 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33462 {
33463 PyThreadState* __tstate = wxPyBeginAllowThreads();
33464 (arg1)->SetWindow(arg2);
33465
33466 wxPyEndAllowThreads(__tstate);
33467 if (PyErr_Occurred()) SWIG_fail;
33468 }
33469 Py_INCREF(Py_None); resultobj = Py_None;
33470 return resultobj;
33471 fail:
33472 return NULL;
33473}
33474
33475
33476static PyObject *_wrap_SizerItem_GetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33477 PyObject *resultobj;
33478 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33479 wxSizer *result;
33480 PyObject * obj0 = 0 ;
33481 char *kwnames[] = {
33482 (char *) "self", NULL
33483 };
33484
33485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33486 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33487 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33488 {
33489 PyThreadState* __tstate = wxPyBeginAllowThreads();
33490 result = (wxSizer *)(arg1)->GetSizer();
33491
33492 wxPyEndAllowThreads(__tstate);
33493 if (PyErr_Occurred()) SWIG_fail;
33494 }
33495 {
33496 resultobj = wxPyMake_wxSizer(result);
33497 }
33498 return resultobj;
33499 fail:
33500 return NULL;
33501}
33502
33503
33504static PyObject *_wrap_SizerItem_SetSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
33505 PyObject *resultobj;
33506 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33507 wxSizer *arg2 = (wxSizer *) 0 ;
33508 PyObject * obj0 = 0 ;
33509 PyObject * obj1 = 0 ;
33510 char *kwnames[] = {
33511 (char *) "self",(char *) "sizer", NULL
33512 };
33513
33514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33515 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33516 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33517 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
33518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33519 {
33520 PyThreadState* __tstate = wxPyBeginAllowThreads();
33521 (arg1)->SetSizer(arg2);
33522
33523 wxPyEndAllowThreads(__tstate);
33524 if (PyErr_Occurred()) SWIG_fail;
33525 }
33526 Py_INCREF(Py_None); resultobj = Py_None;
33527 return resultobj;
33528 fail:
33529 return NULL;
33530}
33531
33532
33533static PyObject *_wrap_SizerItem_GetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
33534 PyObject *resultobj;
33535 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33536 wxSize *result;
33537 PyObject * obj0 = 0 ;
33538 char *kwnames[] = {
33539 (char *) "self", NULL
33540 };
33541
33542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetSpacer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33545 {
33546 PyThreadState* __tstate = wxPyBeginAllowThreads();
33547 {
33548 wxSize const &_result_ref = (arg1)->GetSpacer();
33549 result = (wxSize *) &_result_ref;
33550 }
33551
33552 wxPyEndAllowThreads(__tstate);
33553 if (PyErr_Occurred()) SWIG_fail;
33554 }
2f4c0a16 33555 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxSize, 0);
d14a1e28
RD
33556 return resultobj;
33557 fail:
33558 return NULL;
33559}
33560
33561
33562static PyObject *_wrap_SizerItem_SetSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
33563 PyObject *resultobj;
33564 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33565 wxSize *arg2 = 0 ;
33566 wxSize temp2 ;
33567 PyObject * obj0 = 0 ;
33568 PyObject * obj1 = 0 ;
33569 char *kwnames[] = {
33570 (char *) "self",(char *) "size", NULL
33571 };
33572
33573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_SetSpacer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33574 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33575 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33576 {
33577 arg2 = &temp2;
33578 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
33579 }
33580 {
33581 PyThreadState* __tstate = wxPyBeginAllowThreads();
33582 (arg1)->SetSpacer((wxSize const &)*arg2);
33583
33584 wxPyEndAllowThreads(__tstate);
33585 if (PyErr_Occurred()) SWIG_fail;
33586 }
33587 Py_INCREF(Py_None); resultobj = Py_None;
33588 return resultobj;
33589 fail:
33590 return NULL;
33591}
33592
33593
33594static PyObject *_wrap_SizerItem_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
33595 PyObject *resultobj;
33596 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33597 bool arg2 ;
33598 PyObject * obj0 = 0 ;
33599 PyObject * obj1 = 0 ;
33600 char *kwnames[] = {
33601 (char *) "self",(char *) "show", NULL
33602 };
33603
33604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SizerItem_Show",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33605 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33607 arg2 = (bool) SWIG_AsBool(obj1);
33608 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
33609 {
33610 PyThreadState* __tstate = wxPyBeginAllowThreads();
33611 (arg1)->Show(arg2);
33612
33613 wxPyEndAllowThreads(__tstate);
33614 if (PyErr_Occurred()) SWIG_fail;
33615 }
33616 Py_INCREF(Py_None); resultobj = Py_None;
33617 return resultobj;
33618 fail:
33619 return NULL;
33620}
33621
33622
33623static PyObject *_wrap_SizerItem_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
33624 PyObject *resultobj;
33625 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33626 bool result;
33627 PyObject * obj0 = 0 ;
33628 char *kwnames[] = {
33629 (char *) "self", NULL
33630 };
33631
33632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_IsShown",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33633 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33634 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33635 {
33636 PyThreadState* __tstate = wxPyBeginAllowThreads();
33637 result = (bool)(arg1)->IsShown();
33638
33639 wxPyEndAllowThreads(__tstate);
33640 if (PyErr_Occurred()) SWIG_fail;
33641 }
4e760a36 33642 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
33643 return resultobj;
33644 fail:
33645 return NULL;
33646}
33647
33648
33649static PyObject *_wrap_SizerItem_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
33650 PyObject *resultobj;
33651 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33652 wxPoint result;
33653 PyObject * obj0 = 0 ;
33654 char *kwnames[] = {
33655 (char *) "self", NULL
33656 };
33657
33658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33659 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33660 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33661 {
33662 PyThreadState* __tstate = wxPyBeginAllowThreads();
33663 result = (arg1)->GetPosition();
33664
33665 wxPyEndAllowThreads(__tstate);
33666 if (PyErr_Occurred()) SWIG_fail;
33667 }
33668 {
33669 wxPoint * resultptr;
33670 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 33671 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
33672 }
33673 return resultobj;
33674 fail:
33675 return NULL;
33676}
33677
33678
33679static PyObject *_wrap_SizerItem_GetUserData(PyObject *self, PyObject *args, PyObject *kwargs) {
33680 PyObject *resultobj;
33681 wxSizerItem *arg1 = (wxSizerItem *) 0 ;
33682 PyObject *result;
33683 PyObject * obj0 = 0 ;
33684 char *kwnames[] = {
33685 (char *) "self", NULL
33686 };
33687
33688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SizerItem_GetUserData",kwnames,&obj0)) goto fail;
2f4c0a16
RD
33689 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizerItem,
33690 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33691 {
33692 PyThreadState* __tstate = wxPyBeginAllowThreads();
33693 result = (PyObject *)wxSizerItem_GetUserData(arg1);
33694
33695 wxPyEndAllowThreads(__tstate);
33696 if (PyErr_Occurred()) SWIG_fail;
33697 }
33698 resultobj = result;
33699 return resultobj;
33700 fail:
33701 return NULL;
33702}
33703
33704
33705static PyObject * SizerItem_swigregister(PyObject *self, PyObject *args) {
33706 PyObject *obj;
33707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
33708 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem, obj);
33709 Py_INCREF(obj);
33710 return Py_BuildValue((char *)"");
33711}
33712static PyObject *_wrap_Sizer__setOORInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
33713 PyObject *resultobj;
33714 wxSizer *arg1 = (wxSizer *) 0 ;
33715 PyObject *arg2 = (PyObject *) 0 ;
33716 PyObject * obj0 = 0 ;
33717 PyObject * obj1 = 0 ;
33718 char *kwnames[] = {
33719 (char *) "self",(char *) "_self", NULL
33720 };
33721
33722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer__setOORInfo",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33725 arg2 = obj1;
33726 {
33727 PyThreadState* __tstate = wxPyBeginAllowThreads();
33728 wxSizer__setOORInfo(arg1,arg2);
33729
33730 wxPyEndAllowThreads(__tstate);
33731 if (PyErr_Occurred()) SWIG_fail;
33732 }
33733 Py_INCREF(Py_None); resultobj = Py_None;
33734 return resultobj;
33735 fail:
33736 return NULL;
33737}
33738
33739
33740static PyObject *_wrap_Sizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
33741 PyObject *resultobj;
33742 wxSizer *arg1 = (wxSizer *) 0 ;
33743 PyObject *arg2 = (PyObject *) 0 ;
33744 int arg3 = (int) 0 ;
33745 int arg4 = (int) 0 ;
33746 int arg5 = (int) 0 ;
33747 PyObject *arg6 = (PyObject *) NULL ;
33748 PyObject * obj0 = 0 ;
33749 PyObject * obj1 = 0 ;
8edf1c75
RD
33750 PyObject * obj2 = 0 ;
33751 PyObject * obj3 = 0 ;
33752 PyObject * obj4 = 0 ;
d14a1e28
RD
33753 PyObject * obj5 = 0 ;
33754 char *kwnames[] = {
33755 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33756 };
33757
8edf1c75 33758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
33759 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33760 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33761 arg2 = obj1;
8edf1c75 33762 if (obj2) {
2f4c0a16
RD
33763 arg3 = (int) SWIG_AsInt(obj2);
33764 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
33765 }
33766 if (obj3) {
2f4c0a16
RD
33767 arg4 = (int) SWIG_AsInt(obj3);
33768 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
33769 }
33770 if (obj4) {
2f4c0a16
RD
33771 arg5 = (int) SWIG_AsInt(obj4);
33772 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 33773 }
d14a1e28
RD
33774 if (obj5) {
33775 arg6 = obj5;
33776 }
33777 {
33778 PyThreadState* __tstate = wxPyBeginAllowThreads();
33779 wxSizer_Add(arg1,arg2,arg3,arg4,arg5,arg6);
33780
33781 wxPyEndAllowThreads(__tstate);
33782 if (PyErr_Occurred()) SWIG_fail;
33783 }
33784 Py_INCREF(Py_None); resultobj = Py_None;
33785 return resultobj;
33786 fail:
33787 return NULL;
33788}
33789
33790
33791static PyObject *_wrap_Sizer_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
33792 PyObject *resultobj;
33793 wxSizer *arg1 = (wxSizer *) 0 ;
33794 int arg2 ;
33795 PyObject *arg3 = (PyObject *) 0 ;
33796 int arg4 = (int) 0 ;
33797 int arg5 = (int) 0 ;
33798 int arg6 = (int) 0 ;
33799 PyObject *arg7 = (PyObject *) NULL ;
33800 PyObject * obj0 = 0 ;
8edf1c75 33801 PyObject * obj1 = 0 ;
d14a1e28 33802 PyObject * obj2 = 0 ;
8edf1c75
RD
33803 PyObject * obj3 = 0 ;
33804 PyObject * obj4 = 0 ;
33805 PyObject * obj5 = 0 ;
d14a1e28
RD
33806 PyObject * obj6 = 0 ;
33807 char *kwnames[] = {
33808 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33809 };
33810
8edf1c75 33811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Sizer_Insert",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
33812 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33813 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33814 arg2 = (int) SWIG_AsInt(obj1);
33815 if (PyErr_Occurred()) SWIG_fail;
d14a1e28 33816 arg3 = obj2;
8edf1c75 33817 if (obj3) {
2f4c0a16
RD
33818 arg4 = (int) SWIG_AsInt(obj3);
33819 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
33820 }
33821 if (obj4) {
2f4c0a16
RD
33822 arg5 = (int) SWIG_AsInt(obj4);
33823 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
33824 }
33825 if (obj5) {
2f4c0a16
RD
33826 arg6 = (int) SWIG_AsInt(obj5);
33827 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 33828 }
d14a1e28
RD
33829 if (obj6) {
33830 arg7 = obj6;
33831 }
33832 {
33833 PyThreadState* __tstate = wxPyBeginAllowThreads();
33834 wxSizer_Insert(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
33835
33836 wxPyEndAllowThreads(__tstate);
33837 if (PyErr_Occurred()) SWIG_fail;
33838 }
33839 Py_INCREF(Py_None); resultobj = Py_None;
33840 return resultobj;
33841 fail:
33842 return NULL;
33843}
33844
33845
33846static PyObject *_wrap_Sizer_Prepend(PyObject *self, PyObject *args, PyObject *kwargs) {
33847 PyObject *resultobj;
33848 wxSizer *arg1 = (wxSizer *) 0 ;
33849 PyObject *arg2 = (PyObject *) 0 ;
33850 int arg3 = (int) 0 ;
33851 int arg4 = (int) 0 ;
33852 int arg5 = (int) 0 ;
33853 PyObject *arg6 = (PyObject *) NULL ;
33854 PyObject * obj0 = 0 ;
33855 PyObject * obj1 = 0 ;
8edf1c75
RD
33856 PyObject * obj2 = 0 ;
33857 PyObject * obj3 = 0 ;
33858 PyObject * obj4 = 0 ;
d14a1e28
RD
33859 PyObject * obj5 = 0 ;
33860 char *kwnames[] = {
33861 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33862 };
33863
8edf1c75 33864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:Sizer_Prepend",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
33865 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33866 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33867 arg2 = obj1;
8edf1c75 33868 if (obj2) {
2f4c0a16
RD
33869 arg3 = (int) SWIG_AsInt(obj2);
33870 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
33871 }
33872 if (obj3) {
2f4c0a16
RD
33873 arg4 = (int) SWIG_AsInt(obj3);
33874 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
33875 }
33876 if (obj4) {
2f4c0a16
RD
33877 arg5 = (int) SWIG_AsInt(obj4);
33878 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 33879 }
d14a1e28
RD
33880 if (obj5) {
33881 arg6 = obj5;
33882 }
33883 {
33884 PyThreadState* __tstate = wxPyBeginAllowThreads();
33885 wxSizer_Prepend(arg1,arg2,arg3,arg4,arg5,arg6);
33886
33887 wxPyEndAllowThreads(__tstate);
33888 if (PyErr_Occurred()) SWIG_fail;
33889 }
33890 Py_INCREF(Py_None); resultobj = Py_None;
33891 return resultobj;
33892 fail:
33893 return NULL;
33894}
33895
33896
33897static PyObject *_wrap_Sizer_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
33898 PyObject *resultobj;
33899 wxSizer *arg1 = (wxSizer *) 0 ;
33900 PyObject *arg2 = (PyObject *) 0 ;
33901 bool result;
33902 PyObject * obj0 = 0 ;
33903 PyObject * obj1 = 0 ;
33904 char *kwnames[] = {
33905 (char *) "self",(char *) "item", NULL
33906 };
33907
33908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Remove",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33909 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33910 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33911 arg2 = obj1;
33912 {
33913 PyThreadState* __tstate = wxPyBeginAllowThreads();
33914 result = (bool)wxSizer_Remove(arg1,arg2);
33915
33916 wxPyEndAllowThreads(__tstate);
33917 if (PyErr_Occurred()) SWIG_fail;
33918 }
4e760a36 33919 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
33920 return resultobj;
33921 fail:
33922 return NULL;
33923}
33924
33925
33926static PyObject *_wrap_Sizer__SetItemMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
33927 PyObject *resultobj;
33928 wxSizer *arg1 = (wxSizer *) 0 ;
33929 PyObject *arg2 = (PyObject *) 0 ;
423f194a
RD
33930 wxSize *arg3 = 0 ;
33931 wxSize temp3 ;
d14a1e28
RD
33932 PyObject * obj0 = 0 ;
33933 PyObject * obj1 = 0 ;
33934 PyObject * obj2 = 0 ;
33935 char *kwnames[] = {
33936 (char *) "self",(char *) "item",(char *) "size", NULL
33937 };
33938
33939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer__SetItemMinSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
33940 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33941 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 33942 arg2 = obj1;
423f194a
RD
33943 {
33944 arg3 = &temp3;
33945 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
33946 }
d14a1e28
RD
33947 {
33948 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 33949 wxSizer__SetItemMinSize(arg1,arg2,(wxSize const &)*arg3);
d14a1e28
RD
33950
33951 wxPyEndAllowThreads(__tstate);
33952 if (PyErr_Occurred()) SWIG_fail;
33953 }
33954 Py_INCREF(Py_None); resultobj = Py_None;
33955 return resultobj;
33956 fail:
33957 return NULL;
33958}
33959
33960
33961static PyObject *_wrap_Sizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33962 PyObject *resultobj;
33963 wxSizer *arg1 = (wxSizer *) 0 ;
33964 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
33965 PyObject * obj0 = 0 ;
33966 PyObject * obj1 = 0 ;
33967 char *kwnames[] = {
33968 (char *) "self",(char *) "item", NULL
33969 };
33970
33971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
33972 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
33973 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
33974 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
33975 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
33976 {
33977 PyThreadState* __tstate = wxPyBeginAllowThreads();
33978 (arg1)->Add(arg2);
33979
33980 wxPyEndAllowThreads(__tstate);
33981 if (PyErr_Occurred()) SWIG_fail;
33982 }
33983 Py_INCREF(Py_None); resultobj = Py_None;
33984 return resultobj;
33985 fail:
33986 return NULL;
33987}
33988
33989
33990static PyObject *_wrap_Sizer_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
33991 PyObject *resultobj;
33992 wxSizer *arg1 = (wxSizer *) 0 ;
33993 size_t arg2 ;
33994 wxSizerItem *arg3 = (wxSizerItem *) 0 ;
33995 PyObject * obj0 = 0 ;
33996 PyObject * obj1 = 0 ;
33997 PyObject * obj2 = 0 ;
33998 char *kwnames[] = {
33999 (char *) "self",(char *) "index",(char *) "item", NULL
34000 };
34001
34002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Sizer_InsertItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34003 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34004 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34005 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
34006 if (PyErr_Occurred()) SWIG_fail;
34007 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxSizerItem,
34008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34009 {
34010 PyThreadState* __tstate = wxPyBeginAllowThreads();
34011 (arg1)->Insert(arg2,arg3);
34012
34013 wxPyEndAllowThreads(__tstate);
34014 if (PyErr_Occurred()) SWIG_fail;
34015 }
34016 Py_INCREF(Py_None); resultobj = Py_None;
34017 return resultobj;
34018 fail:
34019 return NULL;
34020}
34021
34022
34023static PyObject *_wrap_Sizer_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
34024 PyObject *resultobj;
34025 wxSizer *arg1 = (wxSizer *) 0 ;
34026 wxSizerItem *arg2 = (wxSizerItem *) 0 ;
34027 PyObject * obj0 = 0 ;
34028 PyObject * obj1 = 0 ;
34029 char *kwnames[] = {
34030 (char *) "self",(char *) "item", NULL
34031 };
34032
34033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_PrependItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34034 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34035 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34036 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizerItem,
34037 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34038 {
34039 PyThreadState* __tstate = wxPyBeginAllowThreads();
34040 (arg1)->Prepend(arg2);
34041
34042 wxPyEndAllowThreads(__tstate);
34043 if (PyErr_Occurred()) SWIG_fail;
34044 }
34045 Py_INCREF(Py_None); resultobj = Py_None;
34046 return resultobj;
34047 fail:
34048 return NULL;
34049}
34050
34051
34052static PyObject *_wrap_Sizer_SetDimension(PyObject *self, PyObject *args, PyObject *kwargs) {
34053 PyObject *resultobj;
34054 wxSizer *arg1 = (wxSizer *) 0 ;
34055 int arg2 ;
34056 int arg3 ;
34057 int arg4 ;
34058 int arg5 ;
34059 PyObject * obj0 = 0 ;
8edf1c75
RD
34060 PyObject * obj1 = 0 ;
34061 PyObject * obj2 = 0 ;
34062 PyObject * obj3 = 0 ;
34063 PyObject * obj4 = 0 ;
d14a1e28
RD
34064 char *kwnames[] = {
34065 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34066 };
34067
8edf1c75 34068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:Sizer_SetDimension",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
2f4c0a16
RD
34069 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34070 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34071 arg2 = (int) SWIG_AsInt(obj1);
34072 if (PyErr_Occurred()) SWIG_fail;
34073 arg3 = (int) SWIG_AsInt(obj2);
34074 if (PyErr_Occurred()) SWIG_fail;
34075 arg4 = (int) SWIG_AsInt(obj3);
34076 if (PyErr_Occurred()) SWIG_fail;
34077 arg5 = (int) SWIG_AsInt(obj4);
34078 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34079 {
34080 PyThreadState* __tstate = wxPyBeginAllowThreads();
34081 (arg1)->SetDimension(arg2,arg3,arg4,arg5);
34082
34083 wxPyEndAllowThreads(__tstate);
34084 if (PyErr_Occurred()) SWIG_fail;
34085 }
34086 Py_INCREF(Py_None); resultobj = Py_None;
34087 return resultobj;
34088 fail:
34089 return NULL;
34090}
34091
34092
34093static PyObject *_wrap_Sizer_SetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34094 PyObject *resultobj;
34095 wxSizer *arg1 = (wxSizer *) 0 ;
a64def11
RD
34096 wxSize *arg2 = 0 ;
34097 wxSize temp2 ;
d14a1e28
RD
34098 PyObject * obj0 = 0 ;
34099 PyObject * obj1 = 0 ;
34100 char *kwnames[] = {
34101 (char *) "self",(char *) "size", NULL
34102 };
34103
34104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetMinSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34105 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34106 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
a64def11
RD
34107 {
34108 arg2 = &temp2;
34109 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
34110 }
d14a1e28
RD
34111 {
34112 PyThreadState* __tstate = wxPyBeginAllowThreads();
a64def11 34113 (arg1)->SetMinSize((wxSize const &)*arg2);
d14a1e28
RD
34114
34115 wxPyEndAllowThreads(__tstate);
34116 if (PyErr_Occurred()) SWIG_fail;
34117 }
34118 Py_INCREF(Py_None); resultobj = Py_None;
34119 return resultobj;
34120 fail:
34121 return NULL;
34122}
34123
34124
34125static PyObject *_wrap_Sizer_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34126 PyObject *resultobj;
34127 wxSizer *arg1 = (wxSizer *) 0 ;
34128 wxSize result;
34129 PyObject * obj0 = 0 ;
34130 char *kwnames[] = {
34131 (char *) "self", NULL
34132 };
34133
34134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34135 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34136 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34137 {
34138 PyThreadState* __tstate = wxPyBeginAllowThreads();
34139 result = (arg1)->GetSize();
34140
34141 wxPyEndAllowThreads(__tstate);
34142 if (PyErr_Occurred()) SWIG_fail;
34143 }
34144 {
34145 wxSize * resultptr;
34146 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34147 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34148 }
34149 return resultobj;
34150 fail:
34151 return NULL;
34152}
34153
34154
34155static PyObject *_wrap_Sizer_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
34156 PyObject *resultobj;
34157 wxSizer *arg1 = (wxSizer *) 0 ;
34158 wxPoint result;
34159 PyObject * obj0 = 0 ;
34160 char *kwnames[] = {
34161 (char *) "self", NULL
34162 };
34163
34164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetPosition",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34165 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34166 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34167 {
34168 PyThreadState* __tstate = wxPyBeginAllowThreads();
34169 result = (arg1)->GetPosition();
34170
34171 wxPyEndAllowThreads(__tstate);
34172 if (PyErr_Occurred()) SWIG_fail;
34173 }
34174 {
34175 wxPoint * resultptr;
34176 resultptr = new wxPoint((wxPoint &) result);
2f4c0a16 34177 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
34178 }
34179 return resultobj;
34180 fail:
34181 return NULL;
34182}
34183
34184
34185static PyObject *_wrap_Sizer_GetMinSize(PyObject *self, PyObject *args, PyObject *kwargs) {
34186 PyObject *resultobj;
34187 wxSizer *arg1 = (wxSizer *) 0 ;
34188 wxSize result;
34189 PyObject * obj0 = 0 ;
34190 char *kwnames[] = {
34191 (char *) "self", NULL
34192 };
34193
34194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetMinSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34195 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34196 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34197 {
34198 PyThreadState* __tstate = wxPyBeginAllowThreads();
34199 result = (arg1)->GetMinSize();
34200
34201 wxPyEndAllowThreads(__tstate);
34202 if (PyErr_Occurred()) SWIG_fail;
34203 }
34204 {
34205 wxSize * resultptr;
34206 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34207 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34208 }
34209 return resultobj;
34210 fail:
34211 return NULL;
34212}
34213
34214
34215static PyObject *_wrap_Sizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34216 PyObject *resultobj;
34217 wxSizer *arg1 = (wxSizer *) 0 ;
34218 PyObject * obj0 = 0 ;
34219 char *kwnames[] = {
34220 (char *) "self", NULL
34221 };
34222
34223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34224 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34225 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34226 {
34227 PyThreadState* __tstate = wxPyBeginAllowThreads();
34228 (arg1)->RecalcSizes();
34229
34230 wxPyEndAllowThreads(__tstate);
34231 if (PyErr_Occurred()) SWIG_fail;
34232 }
34233 Py_INCREF(Py_None); resultobj = Py_None;
34234 return resultobj;
34235 fail:
34236 return NULL;
34237}
34238
34239
34240static PyObject *_wrap_Sizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34241 PyObject *resultobj;
34242 wxSizer *arg1 = (wxSizer *) 0 ;
34243 wxSize result;
34244 PyObject * obj0 = 0 ;
34245 char *kwnames[] = {
34246 (char *) "self", NULL
34247 };
34248
34249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34250 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34251 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34252 {
34253 PyThreadState* __tstate = wxPyBeginAllowThreads();
34254 result = (arg1)->CalcMin();
34255
34256 wxPyEndAllowThreads(__tstate);
34257 if (PyErr_Occurred()) SWIG_fail;
34258 }
34259 {
34260 wxSize * resultptr;
34261 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34262 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34263 }
34264 return resultobj;
34265 fail:
34266 return NULL;
34267}
34268
34269
34270static PyObject *_wrap_Sizer_Layout(PyObject *self, PyObject *args, PyObject *kwargs) {
34271 PyObject *resultobj;
34272 wxSizer *arg1 = (wxSizer *) 0 ;
34273 PyObject * obj0 = 0 ;
34274 char *kwnames[] = {
34275 (char *) "self", NULL
34276 };
34277
34278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_Layout",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34279 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34280 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34281 {
34282 PyThreadState* __tstate = wxPyBeginAllowThreads();
34283 (arg1)->Layout();
34284
34285 wxPyEndAllowThreads(__tstate);
34286 if (PyErr_Occurred()) SWIG_fail;
34287 }
34288 Py_INCREF(Py_None); resultobj = Py_None;
34289 return resultobj;
34290 fail:
34291 return NULL;
34292}
34293
34294
34295static PyObject *_wrap_Sizer_Fit(PyObject *self, PyObject *args, PyObject *kwargs) {
34296 PyObject *resultobj;
34297 wxSizer *arg1 = (wxSizer *) 0 ;
34298 wxWindow *arg2 = (wxWindow *) 0 ;
34299 wxSize result;
34300 PyObject * obj0 = 0 ;
34301 PyObject * obj1 = 0 ;
34302 char *kwnames[] = {
34303 (char *) "self",(char *) "window", NULL
34304 };
34305
34306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Fit",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34307 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34309 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34310 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34311 {
34312 PyThreadState* __tstate = wxPyBeginAllowThreads();
34313 result = (arg1)->Fit(arg2);
34314
34315 wxPyEndAllowThreads(__tstate);
34316 if (PyErr_Occurred()) SWIG_fail;
34317 }
34318 {
34319 wxSize * resultptr;
34320 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34321 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34322 }
34323 return resultobj;
34324 fail:
34325 return NULL;
34326}
34327
34328
34329static PyObject *_wrap_Sizer_FitInside(PyObject *self, PyObject *args, PyObject *kwargs) {
34330 PyObject *resultobj;
34331 wxSizer *arg1 = (wxSizer *) 0 ;
34332 wxWindow *arg2 = (wxWindow *) 0 ;
34333 PyObject * obj0 = 0 ;
34334 PyObject * obj1 = 0 ;
34335 char *kwnames[] = {
34336 (char *) "self",(char *) "window", NULL
34337 };
34338
34339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_FitInside",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34344 {
34345 PyThreadState* __tstate = wxPyBeginAllowThreads();
34346 (arg1)->FitInside(arg2);
34347
34348 wxPyEndAllowThreads(__tstate);
34349 if (PyErr_Occurred()) SWIG_fail;
34350 }
34351 Py_INCREF(Py_None); resultobj = Py_None;
34352 return resultobj;
34353 fail:
34354 return NULL;
34355}
34356
34357
34358static PyObject *_wrap_Sizer_SetSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
34359 PyObject *resultobj;
34360 wxSizer *arg1 = (wxSizer *) 0 ;
34361 wxWindow *arg2 = (wxWindow *) 0 ;
34362 PyObject * obj0 = 0 ;
34363 PyObject * obj1 = 0 ;
34364 char *kwnames[] = {
34365 (char *) "self",(char *) "window", NULL
34366 };
34367
34368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetSizeHints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34369 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34370 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34371 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34372 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34373 {
34374 PyThreadState* __tstate = wxPyBeginAllowThreads();
34375 (arg1)->SetSizeHints(arg2);
34376
34377 wxPyEndAllowThreads(__tstate);
34378 if (PyErr_Occurred()) SWIG_fail;
34379 }
34380 Py_INCREF(Py_None); resultobj = Py_None;
34381 return resultobj;
34382 fail:
34383 return NULL;
34384}
34385
34386
34387static PyObject *_wrap_Sizer_SetVirtualSizeHints(PyObject *self, PyObject *args, PyObject *kwargs) {
34388 PyObject *resultobj;
34389 wxSizer *arg1 = (wxSizer *) 0 ;
34390 wxWindow *arg2 = (wxWindow *) 0 ;
34391 PyObject * obj0 = 0 ;
34392 PyObject * obj1 = 0 ;
34393 char *kwnames[] = {
34394 (char *) "self",(char *) "window", NULL
34395 };
34396
34397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34398 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34399 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34400 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
34401 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34402 {
34403 PyThreadState* __tstate = wxPyBeginAllowThreads();
34404 (arg1)->SetVirtualSizeHints(arg2);
34405
34406 wxPyEndAllowThreads(__tstate);
34407 if (PyErr_Occurred()) SWIG_fail;
34408 }
34409 Py_INCREF(Py_None); resultobj = Py_None;
34410 return resultobj;
34411 fail:
34412 return NULL;
34413}
34414
34415
34416static PyObject *_wrap_Sizer_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
34417 PyObject *resultobj;
34418 wxSizer *arg1 = (wxSizer *) 0 ;
423f194a 34419 bool arg2 = (bool) False ;
d14a1e28
RD
34420 PyObject * obj0 = 0 ;
34421 PyObject * obj1 = 0 ;
34422 char *kwnames[] = {
34423 (char *) "self",(char *) "delete_windows", NULL
34424 };
34425
34426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Sizer_Clear",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 34429 if (obj1) {
2f4c0a16
RD
34430 arg2 = (bool) SWIG_AsBool(obj1);
34431 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34432 }
34433 {
34434 PyThreadState* __tstate = wxPyBeginAllowThreads();
34435 (arg1)->Clear(arg2);
34436
34437 wxPyEndAllowThreads(__tstate);
34438 if (PyErr_Occurred()) SWIG_fail;
34439 }
34440 Py_INCREF(Py_None); resultobj = Py_None;
34441 return resultobj;
34442 fail:
34443 return NULL;
34444}
34445
34446
34447static PyObject *_wrap_Sizer_DeleteWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
34448 PyObject *resultobj;
34449 wxSizer *arg1 = (wxSizer *) 0 ;
34450 PyObject * obj0 = 0 ;
34451 char *kwnames[] = {
34452 (char *) "self", NULL
34453 };
34454
34455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_DeleteWindows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34456 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34457 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34458 {
34459 PyThreadState* __tstate = wxPyBeginAllowThreads();
34460 (arg1)->DeleteWindows();
34461
34462 wxPyEndAllowThreads(__tstate);
34463 if (PyErr_Occurred()) SWIG_fail;
34464 }
34465 Py_INCREF(Py_None); resultobj = Py_None;
34466 return resultobj;
34467 fail:
34468 return NULL;
34469}
34470
34471
34472static PyObject *_wrap_Sizer_GetChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
34473 PyObject *resultobj;
34474 wxSizer *arg1 = (wxSizer *) 0 ;
34475 PyObject *result;
34476 PyObject * obj0 = 0 ;
34477 char *kwnames[] = {
34478 (char *) "self", NULL
34479 };
34480
34481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Sizer_GetChildren",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34482 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34483 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34484 {
34485 PyThreadState* __tstate = wxPyBeginAllowThreads();
34486 result = (PyObject *)wxSizer_GetChildren(arg1);
34487
34488 wxPyEndAllowThreads(__tstate);
34489 if (PyErr_Occurred()) SWIG_fail;
34490 }
34491 resultobj = result;
34492 return resultobj;
34493 fail:
34494 return NULL;
34495}
34496
34497
34498static PyObject *_wrap_Sizer_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
34499 PyObject *resultobj;
34500 wxSizer *arg1 = (wxSizer *) 0 ;
34501 PyObject *arg2 = (PyObject *) 0 ;
423f194a 34502 bool arg3 = (bool) True ;
d14a1e28
RD
34503 PyObject * obj0 = 0 ;
34504 PyObject * obj1 = 0 ;
34505 PyObject * obj2 = 0 ;
34506 char *kwnames[] = {
34507 (char *) "self",(char *) "item",(char *) "show", NULL
34508 };
34509
34510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Sizer_Show",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34513 arg2 = obj1;
34514 if (obj2) {
2f4c0a16
RD
34515 arg3 = (bool) SWIG_AsBool(obj2);
34516 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34517 }
34518 {
34519 PyThreadState* __tstate = wxPyBeginAllowThreads();
34520 wxSizer_Show(arg1,arg2,arg3);
34521
34522 wxPyEndAllowThreads(__tstate);
34523 if (PyErr_Occurred()) SWIG_fail;
34524 }
34525 Py_INCREF(Py_None); resultobj = Py_None;
34526 return resultobj;
34527 fail:
34528 return NULL;
34529}
34530
34531
34532static PyObject *_wrap_Sizer_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
34533 PyObject *resultobj;
34534 wxSizer *arg1 = (wxSizer *) 0 ;
34535 PyObject *arg2 = (PyObject *) 0 ;
34536 PyObject * obj0 = 0 ;
34537 PyObject * obj1 = 0 ;
34538 char *kwnames[] = {
34539 (char *) "self",(char *) "item", NULL
34540 };
34541
34542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_Hide",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34543 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34544 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34545 arg2 = obj1;
34546 {
34547 PyThreadState* __tstate = wxPyBeginAllowThreads();
34548 wxSizer_Hide(arg1,arg2);
34549
34550 wxPyEndAllowThreads(__tstate);
34551 if (PyErr_Occurred()) SWIG_fail;
34552 }
34553 Py_INCREF(Py_None); resultobj = Py_None;
34554 return resultobj;
34555 fail:
34556 return NULL;
34557}
34558
34559
34560static PyObject *_wrap_Sizer_IsShown(PyObject *self, PyObject *args, PyObject *kwargs) {
34561 PyObject *resultobj;
34562 wxSizer *arg1 = (wxSizer *) 0 ;
34563 PyObject *arg2 = (PyObject *) 0 ;
34564 bool result;
34565 PyObject * obj0 = 0 ;
34566 PyObject * obj1 = 0 ;
34567 char *kwnames[] = {
34568 (char *) "self",(char *) "item", NULL
34569 };
34570
34571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_IsShown",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34572 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34573 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34574 arg2 = obj1;
34575 {
34576 PyThreadState* __tstate = wxPyBeginAllowThreads();
34577 result = (bool)wxSizer_IsShown(arg1,arg2);
34578
34579 wxPyEndAllowThreads(__tstate);
34580 if (PyErr_Occurred()) SWIG_fail;
34581 }
4e760a36 34582 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
34583 return resultobj;
34584 fail:
34585 return NULL;
34586}
34587
34588
34589static PyObject *_wrap_Sizer_ShowItems(PyObject *self, PyObject *args, PyObject *kwargs) {
34590 PyObject *resultobj;
34591 wxSizer *arg1 = (wxSizer *) 0 ;
34592 bool arg2 ;
34593 PyObject * obj0 = 0 ;
34594 PyObject * obj1 = 0 ;
34595 char *kwnames[] = {
34596 (char *) "self",(char *) "show", NULL
34597 };
34598
34599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Sizer_ShowItems",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34600 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
34601 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34602 arg2 = (bool) SWIG_AsBool(obj1);
34603 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34604 {
34605 PyThreadState* __tstate = wxPyBeginAllowThreads();
34606 (arg1)->ShowItems(arg2);
34607
34608 wxPyEndAllowThreads(__tstate);
34609 if (PyErr_Occurred()) SWIG_fail;
34610 }
34611 Py_INCREF(Py_None); resultobj = Py_None;
34612 return resultobj;
34613 fail:
34614 return NULL;
34615}
34616
34617
34618static PyObject * Sizer_swigregister(PyObject *self, PyObject *args) {
34619 PyObject *obj;
34620 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34621 SWIG_TypeClientData(SWIGTYPE_p_wxSizer, obj);
34622 Py_INCREF(obj);
34623 return Py_BuildValue((char *)"");
34624}
34625static PyObject *_wrap_new_PySizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34626 PyObject *resultobj;
34627 wxPySizer *result;
34628 char *kwnames[] = {
34629 NULL
34630 };
34631
34632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PySizer",kwnames)) goto fail;
34633 {
34634 PyThreadState* __tstate = wxPyBeginAllowThreads();
34635 result = (wxPySizer *)new wxPySizer();
34636
34637 wxPyEndAllowThreads(__tstate);
34638 if (PyErr_Occurred()) SWIG_fail;
34639 }
2f4c0a16 34640 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxPySizer, 1);
d14a1e28
RD
34641 return resultobj;
34642 fail:
34643 return NULL;
34644}
34645
34646
34647static PyObject *_wrap_PySizer__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
34648 PyObject *resultobj;
34649 wxPySizer *arg1 = (wxPySizer *) 0 ;
34650 PyObject *arg2 = (PyObject *) 0 ;
34651 PyObject *arg3 = (PyObject *) 0 ;
34652 PyObject * obj0 = 0 ;
34653 PyObject * obj1 = 0 ;
34654 PyObject * obj2 = 0 ;
34655 char *kwnames[] = {
34656 (char *) "self",(char *) "self",(char *) "_class", NULL
34657 };
34658
34659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PySizer__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
34660 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxPySizer,
34661 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34662 arg2 = obj1;
34663 arg3 = obj2;
34664 {
34665 PyThreadState* __tstate = wxPyBeginAllowThreads();
34666 (arg1)->_setCallbackInfo(arg2,arg3);
34667
34668 wxPyEndAllowThreads(__tstate);
34669 if (PyErr_Occurred()) SWIG_fail;
34670 }
34671 Py_INCREF(Py_None); resultobj = Py_None;
34672 return resultobj;
34673 fail:
34674 return NULL;
34675}
34676
34677
34678static PyObject * PySizer_swigregister(PyObject *self, PyObject *args) {
34679 PyObject *obj;
34680 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34681 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer, obj);
34682 Py_INCREF(obj);
34683 return Py_BuildValue((char *)"");
34684}
34685static PyObject *_wrap_new_BoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34686 PyObject *resultobj;
34687 int arg1 = (int) wxHORIZONTAL ;
34688 wxBoxSizer *result;
8edf1c75 34689 PyObject * obj0 = 0 ;
d14a1e28
RD
34690 char *kwnames[] = {
34691 (char *) "orient", NULL
34692 };
34693
8edf1c75
RD
34694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_BoxSizer",kwnames,&obj0)) goto fail;
34695 if (obj0) {
2f4c0a16
RD
34696 arg1 = (int) SWIG_AsInt(obj0);
34697 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34698 }
d14a1e28
RD
34699 {
34700 PyThreadState* __tstate = wxPyBeginAllowThreads();
34701 result = (wxBoxSizer *)new wxBoxSizer(arg1);
34702
34703 wxPyEndAllowThreads(__tstate);
34704 if (PyErr_Occurred()) SWIG_fail;
34705 }
2f4c0a16 34706 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxBoxSizer, 1);
d14a1e28
RD
34707 return resultobj;
34708 fail:
34709 return NULL;
34710}
34711
34712
34713static PyObject *_wrap_BoxSizer_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
34714 PyObject *resultobj;
34715 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34716 int result;
34717 PyObject * obj0 = 0 ;
34718 char *kwnames[] = {
34719 (char *) "self", NULL
34720 };
34721
34722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_GetOrientation",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34723 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34724 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34725 {
34726 PyThreadState* __tstate = wxPyBeginAllowThreads();
34727 result = (int)(arg1)->GetOrientation();
34728
34729 wxPyEndAllowThreads(__tstate);
34730 if (PyErr_Occurred()) SWIG_fail;
34731 }
2f4c0a16 34732 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
34733 return resultobj;
34734 fail:
34735 return NULL;
34736}
34737
34738
34739static PyObject *_wrap_BoxSizer_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
34740 PyObject *resultobj;
34741 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34742 int arg2 ;
34743 PyObject * obj0 = 0 ;
8edf1c75 34744 PyObject * obj1 = 0 ;
d14a1e28
RD
34745 char *kwnames[] = {
34746 (char *) "self",(char *) "orient", NULL
34747 };
34748
8edf1c75 34749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BoxSizer_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34750 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34751 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
34752 arg2 = (int) SWIG_AsInt(obj1);
34753 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
34754 {
34755 PyThreadState* __tstate = wxPyBeginAllowThreads();
34756 (arg1)->SetOrientation(arg2);
34757
34758 wxPyEndAllowThreads(__tstate);
34759 if (PyErr_Occurred()) SWIG_fail;
34760 }
34761 Py_INCREF(Py_None); resultobj = Py_None;
34762 return resultobj;
34763 fail:
34764 return NULL;
34765}
34766
34767
34768static PyObject *_wrap_BoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34769 PyObject *resultobj;
34770 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34771 PyObject * obj0 = 0 ;
34772 char *kwnames[] = {
34773 (char *) "self", NULL
34774 };
34775
34776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34777 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34778 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34779 {
34780 PyThreadState* __tstate = wxPyBeginAllowThreads();
34781 (arg1)->RecalcSizes();
34782
34783 wxPyEndAllowThreads(__tstate);
34784 if (PyErr_Occurred()) SWIG_fail;
34785 }
34786 Py_INCREF(Py_None); resultobj = Py_None;
34787 return resultobj;
34788 fail:
34789 return NULL;
34790}
34791
34792
34793static PyObject *_wrap_BoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34794 PyObject *resultobj;
34795 wxBoxSizer *arg1 = (wxBoxSizer *) 0 ;
34796 wxSize result;
34797 PyObject * obj0 = 0 ;
34798 char *kwnames[] = {
34799 (char *) "self", NULL
34800 };
34801
34802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BoxSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34803 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxBoxSizer,
34804 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34805 {
34806 PyThreadState* __tstate = wxPyBeginAllowThreads();
34807 result = (arg1)->CalcMin();
34808
34809 wxPyEndAllowThreads(__tstate);
34810 if (PyErr_Occurred()) SWIG_fail;
34811 }
34812 {
34813 wxSize * resultptr;
34814 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34815 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34816 }
34817 return resultobj;
34818 fail:
34819 return NULL;
34820}
34821
34822
34823static PyObject * BoxSizer_swigregister(PyObject *self, PyObject *args) {
34824 PyObject *obj;
34825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34826 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer, obj);
34827 Py_INCREF(obj);
34828 return Py_BuildValue((char *)"");
34829}
34830static PyObject *_wrap_new_StaticBoxSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34831 PyObject *resultobj;
34832 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
34833 int arg2 = (int) wxHORIZONTAL ;
34834 wxStaticBoxSizer *result;
34835 PyObject * obj0 = 0 ;
8edf1c75 34836 PyObject * obj1 = 0 ;
d14a1e28
RD
34837 char *kwnames[] = {
34838 (char *) "box",(char *) "orient", NULL
34839 };
34840
8edf1c75 34841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_StaticBoxSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
34842 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBox,
34843 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 34844 if (obj1) {
2f4c0a16
RD
34845 arg2 = (int) SWIG_AsInt(obj1);
34846 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34847 }
d14a1e28
RD
34848 {
34849 PyThreadState* __tstate = wxPyBeginAllowThreads();
34850 result = (wxStaticBoxSizer *)new wxStaticBoxSizer(arg1,arg2);
34851
34852 wxPyEndAllowThreads(__tstate);
34853 if (PyErr_Occurred()) SWIG_fail;
34854 }
2f4c0a16 34855 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxStaticBoxSizer, 1);
d14a1e28
RD
34856 return resultobj;
34857 fail:
34858 return NULL;
34859}
34860
34861
34862static PyObject *_wrap_StaticBoxSizer_GetStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
34863 PyObject *resultobj;
34864 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34865 wxStaticBox *result;
34866 PyObject * obj0 = 0 ;
34867 char *kwnames[] = {
34868 (char *) "self", NULL
34869 };
34870
34871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34872 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
34873 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34874 {
34875 PyThreadState* __tstate = wxPyBeginAllowThreads();
34876 result = (wxStaticBox *)(arg1)->GetStaticBox();
34877
34878 wxPyEndAllowThreads(__tstate);
34879 if (PyErr_Occurred()) SWIG_fail;
34880 }
34881 {
34882 resultobj = wxPyMake_wxObject(result);
34883 }
34884 return resultobj;
34885 fail:
34886 return NULL;
34887}
34888
34889
34890static PyObject *_wrap_StaticBoxSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34891 PyObject *resultobj;
34892 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34893 PyObject * obj0 = 0 ;
34894 char *kwnames[] = {
34895 (char *) "self", NULL
34896 };
34897
34898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34899 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
34900 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34901 {
34902 PyThreadState* __tstate = wxPyBeginAllowThreads();
34903 (arg1)->RecalcSizes();
34904
34905 wxPyEndAllowThreads(__tstate);
34906 if (PyErr_Occurred()) SWIG_fail;
34907 }
34908 Py_INCREF(Py_None); resultobj = Py_None;
34909 return resultobj;
34910 fail:
34911 return NULL;
34912}
34913
34914
34915static PyObject *_wrap_StaticBoxSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
34916 PyObject *resultobj;
34917 wxStaticBoxSizer *arg1 = (wxStaticBoxSizer *) 0 ;
34918 wxSize result;
34919 PyObject * obj0 = 0 ;
34920 char *kwnames[] = {
34921 (char *) "self", NULL
34922 };
34923
34924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBoxSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
34925 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxStaticBoxSizer,
34926 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
34927 {
34928 PyThreadState* __tstate = wxPyBeginAllowThreads();
34929 result = (arg1)->CalcMin();
34930
34931 wxPyEndAllowThreads(__tstate);
34932 if (PyErr_Occurred()) SWIG_fail;
34933 }
34934 {
34935 wxSize * resultptr;
34936 resultptr = new wxSize((wxSize &) result);
2f4c0a16 34937 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
34938 }
34939 return resultobj;
34940 fail:
34941 return NULL;
34942}
34943
34944
34945static PyObject * StaticBoxSizer_swigregister(PyObject *self, PyObject *args) {
34946 PyObject *obj;
34947 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
34948 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer, obj);
34949 Py_INCREF(obj);
34950 return Py_BuildValue((char *)"");
34951}
34952static PyObject *_wrap_new_GridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
34953 PyObject *resultobj;
34954 int arg1 = (int) 1 ;
34955 int arg2 = (int) 0 ;
34956 int arg3 = (int) 0 ;
34957 int arg4 = (int) 0 ;
34958 wxGridSizer *result;
8edf1c75
RD
34959 PyObject * obj0 = 0 ;
34960 PyObject * obj1 = 0 ;
34961 PyObject * obj2 = 0 ;
34962 PyObject * obj3 = 0 ;
d14a1e28
RD
34963 char *kwnames[] = {
34964 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34965 };
34966
8edf1c75
RD
34967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_GridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
34968 if (obj0) {
2f4c0a16
RD
34969 arg1 = (int) SWIG_AsInt(obj0);
34970 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34971 }
34972 if (obj1) {
2f4c0a16
RD
34973 arg2 = (int) SWIG_AsInt(obj1);
34974 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34975 }
34976 if (obj2) {
2f4c0a16
RD
34977 arg3 = (int) SWIG_AsInt(obj2);
34978 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
34979 }
34980 if (obj3) {
2f4c0a16
RD
34981 arg4 = (int) SWIG_AsInt(obj3);
34982 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 34983 }
d14a1e28
RD
34984 {
34985 PyThreadState* __tstate = wxPyBeginAllowThreads();
34986 result = (wxGridSizer *)new wxGridSizer(arg1,arg2,arg3,arg4);
34987
34988 wxPyEndAllowThreads(__tstate);
34989 if (PyErr_Occurred()) SWIG_fail;
34990 }
2f4c0a16 34991 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridSizer, 1);
d14a1e28
RD
34992 return resultobj;
34993 fail:
34994 return NULL;
34995}
34996
34997
34998static PyObject *_wrap_GridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
34999 PyObject *resultobj;
35000 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35001 PyObject * obj0 = 0 ;
35002 char *kwnames[] = {
35003 (char *) "self", NULL
35004 };
35005
35006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35007 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35008 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35009 {
35010 PyThreadState* __tstate = wxPyBeginAllowThreads();
35011 (arg1)->RecalcSizes();
35012
35013 wxPyEndAllowThreads(__tstate);
35014 if (PyErr_Occurred()) SWIG_fail;
35015 }
35016 Py_INCREF(Py_None); resultobj = Py_None;
35017 return resultobj;
35018 fail:
35019 return NULL;
35020}
35021
35022
35023static PyObject *_wrap_GridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35024 PyObject *resultobj;
35025 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35026 wxSize result;
35027 PyObject * obj0 = 0 ;
35028 char *kwnames[] = {
35029 (char *) "self", NULL
35030 };
35031
35032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35033 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35034 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35035 {
35036 PyThreadState* __tstate = wxPyBeginAllowThreads();
35037 result = (arg1)->CalcMin();
35038
35039 wxPyEndAllowThreads(__tstate);
35040 if (PyErr_Occurred()) SWIG_fail;
35041 }
35042 {
35043 wxSize * resultptr;
35044 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35045 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35046 }
35047 return resultobj;
35048 fail:
35049 return NULL;
35050}
35051
35052
35053static PyObject *_wrap_GridSizer_SetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
35054 PyObject *resultobj;
35055 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35056 int arg2 ;
35057 PyObject * obj0 = 0 ;
8edf1c75 35058 PyObject * obj1 = 0 ;
d14a1e28
RD
35059 char *kwnames[] = {
35060 (char *) "self",(char *) "cols", NULL
35061 };
35062
8edf1c75 35063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetCols",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35064 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35065 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35066 arg2 = (int) SWIG_AsInt(obj1);
35067 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35068 {
35069 PyThreadState* __tstate = wxPyBeginAllowThreads();
35070 (arg1)->SetCols(arg2);
35071
35072 wxPyEndAllowThreads(__tstate);
35073 if (PyErr_Occurred()) SWIG_fail;
35074 }
35075 Py_INCREF(Py_None); resultobj = Py_None;
35076 return resultobj;
35077 fail:
35078 return NULL;
35079}
35080
35081
35082static PyObject *_wrap_GridSizer_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
35083 PyObject *resultobj;
35084 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35085 int arg2 ;
35086 PyObject * obj0 = 0 ;
8edf1c75 35087 PyObject * obj1 = 0 ;
d14a1e28
RD
35088 char *kwnames[] = {
35089 (char *) "self",(char *) "rows", NULL
35090 };
35091
8edf1c75 35092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetRows",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35093 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35094 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35095 arg2 = (int) SWIG_AsInt(obj1);
35096 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35097 {
35098 PyThreadState* __tstate = wxPyBeginAllowThreads();
35099 (arg1)->SetRows(arg2);
35100
35101 wxPyEndAllowThreads(__tstate);
35102 if (PyErr_Occurred()) SWIG_fail;
35103 }
35104 Py_INCREF(Py_None); resultobj = Py_None;
35105 return resultobj;
35106 fail:
35107 return NULL;
35108}
35109
35110
35111static PyObject *_wrap_GridSizer_SetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35112 PyObject *resultobj;
35113 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35114 int arg2 ;
35115 PyObject * obj0 = 0 ;
8edf1c75 35116 PyObject * obj1 = 0 ;
d14a1e28
RD
35117 char *kwnames[] = {
35118 (char *) "self",(char *) "gap", NULL
35119 };
35120
8edf1c75 35121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetVGap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35122 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35123 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35124 arg2 = (int) SWIG_AsInt(obj1);
35125 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35126 {
35127 PyThreadState* __tstate = wxPyBeginAllowThreads();
35128 (arg1)->SetVGap(arg2);
35129
35130 wxPyEndAllowThreads(__tstate);
35131 if (PyErr_Occurred()) SWIG_fail;
35132 }
35133 Py_INCREF(Py_None); resultobj = Py_None;
35134 return resultobj;
35135 fail:
35136 return NULL;
35137}
35138
35139
35140static PyObject *_wrap_GridSizer_SetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35141 PyObject *resultobj;
35142 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35143 int arg2 ;
35144 PyObject * obj0 = 0 ;
8edf1c75 35145 PyObject * obj1 = 0 ;
d14a1e28
RD
35146 char *kwnames[] = {
35147 (char *) "self",(char *) "gap", NULL
35148 };
35149
8edf1c75 35150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridSizer_SetHGap",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35151 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35152 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35153 arg2 = (int) SWIG_AsInt(obj1);
35154 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35155 {
35156 PyThreadState* __tstate = wxPyBeginAllowThreads();
35157 (arg1)->SetHGap(arg2);
35158
35159 wxPyEndAllowThreads(__tstate);
35160 if (PyErr_Occurred()) SWIG_fail;
35161 }
35162 Py_INCREF(Py_None); resultobj = Py_None;
35163 return resultobj;
35164 fail:
35165 return NULL;
35166}
35167
35168
35169static PyObject *_wrap_GridSizer_GetCols(PyObject *self, PyObject *args, PyObject *kwargs) {
35170 PyObject *resultobj;
35171 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35172 int result;
35173 PyObject * obj0 = 0 ;
35174 char *kwnames[] = {
35175 (char *) "self", NULL
35176 };
35177
35178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetCols",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35179 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35180 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35181 {
35182 PyThreadState* __tstate = wxPyBeginAllowThreads();
35183 result = (int)(arg1)->GetCols();
35184
35185 wxPyEndAllowThreads(__tstate);
35186 if (PyErr_Occurred()) SWIG_fail;
35187 }
2f4c0a16 35188 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35189 return resultobj;
35190 fail:
35191 return NULL;
35192}
35193
35194
35195static PyObject *_wrap_GridSizer_GetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
35196 PyObject *resultobj;
35197 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35198 int result;
35199 PyObject * obj0 = 0 ;
35200 char *kwnames[] = {
35201 (char *) "self", NULL
35202 };
35203
35204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetRows",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35205 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35206 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35207 {
35208 PyThreadState* __tstate = wxPyBeginAllowThreads();
35209 result = (int)(arg1)->GetRows();
35210
35211 wxPyEndAllowThreads(__tstate);
35212 if (PyErr_Occurred()) SWIG_fail;
35213 }
2f4c0a16 35214 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35215 return resultobj;
35216 fail:
35217 return NULL;
35218}
35219
35220
35221static PyObject *_wrap_GridSizer_GetVGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35222 PyObject *resultobj;
35223 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35224 int result;
35225 PyObject * obj0 = 0 ;
35226 char *kwnames[] = {
35227 (char *) "self", NULL
35228 };
35229
35230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetVGap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35231 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35233 {
35234 PyThreadState* __tstate = wxPyBeginAllowThreads();
35235 result = (int)(arg1)->GetVGap();
35236
35237 wxPyEndAllowThreads(__tstate);
35238 if (PyErr_Occurred()) SWIG_fail;
35239 }
2f4c0a16 35240 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35241 return resultobj;
35242 fail:
35243 return NULL;
35244}
35245
35246
35247static PyObject *_wrap_GridSizer_GetHGap(PyObject *self, PyObject *args, PyObject *kwargs) {
35248 PyObject *resultobj;
35249 wxGridSizer *arg1 = (wxGridSizer *) 0 ;
35250 int result;
35251 PyObject * obj0 = 0 ;
35252 char *kwnames[] = {
35253 (char *) "self", NULL
35254 };
35255
35256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridSizer_GetHGap",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridSizer,
35258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35259 {
35260 PyThreadState* __tstate = wxPyBeginAllowThreads();
35261 result = (int)(arg1)->GetHGap();
35262
35263 wxPyEndAllowThreads(__tstate);
35264 if (PyErr_Occurred()) SWIG_fail;
35265 }
2f4c0a16 35266 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35267 return resultobj;
35268 fail:
35269 return NULL;
35270}
35271
35272
35273static PyObject * GridSizer_swigregister(PyObject *self, PyObject *args) {
35274 PyObject *obj;
35275 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35276 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer, obj);
35277 Py_INCREF(obj);
35278 return Py_BuildValue((char *)"");
35279}
35280static PyObject *_wrap_new_FlexGridSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
35281 PyObject *resultobj;
35282 int arg1 = (int) 1 ;
35283 int arg2 = (int) 0 ;
35284 int arg3 = (int) 0 ;
35285 int arg4 = (int) 0 ;
35286 wxFlexGridSizer *result;
8edf1c75
RD
35287 PyObject * obj0 = 0 ;
35288 PyObject * obj1 = 0 ;
35289 PyObject * obj2 = 0 ;
35290 PyObject * obj3 = 0 ;
d14a1e28
RD
35291 char *kwnames[] = {
35292 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35293 };
35294
8edf1c75
RD
35295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOOO:new_FlexGridSizer",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
35296 if (obj0) {
2f4c0a16
RD
35297 arg1 = (int) SWIG_AsInt(obj0);
35298 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35299 }
35300 if (obj1) {
2f4c0a16
RD
35301 arg2 = (int) SWIG_AsInt(obj1);
35302 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35303 }
35304 if (obj2) {
2f4c0a16
RD
35305 arg3 = (int) SWIG_AsInt(obj2);
35306 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35307 }
35308 if (obj3) {
2f4c0a16
RD
35309 arg4 = (int) SWIG_AsInt(obj3);
35310 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35311 }
d14a1e28
RD
35312 {
35313 PyThreadState* __tstate = wxPyBeginAllowThreads();
35314 result = (wxFlexGridSizer *)new wxFlexGridSizer(arg1,arg2,arg3,arg4);
35315
35316 wxPyEndAllowThreads(__tstate);
35317 if (PyErr_Occurred()) SWIG_fail;
35318 }
2f4c0a16 35319 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxFlexGridSizer, 1);
d14a1e28
RD
35320 return resultobj;
35321 fail:
35322 return NULL;
35323}
35324
35325
35326static PyObject *_wrap_FlexGridSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
35327 PyObject *resultobj;
35328 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35329 PyObject * obj0 = 0 ;
35330 char *kwnames[] = {
35331 (char *) "self", NULL
35332 };
35333
35334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35335 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35336 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35337 {
35338 PyThreadState* __tstate = wxPyBeginAllowThreads();
35339 (arg1)->RecalcSizes();
35340
35341 wxPyEndAllowThreads(__tstate);
35342 if (PyErr_Occurred()) SWIG_fail;
35343 }
35344 Py_INCREF(Py_None); resultobj = Py_None;
35345 return resultobj;
35346 fail:
35347 return NULL;
35348}
35349
35350
35351static PyObject *_wrap_FlexGridSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
35352 PyObject *resultobj;
35353 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35354 wxSize result;
35355 PyObject * obj0 = 0 ;
35356 char *kwnames[] = {
35357 (char *) "self", NULL
35358 };
35359
35360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35361 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35362 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35363 {
35364 PyThreadState* __tstate = wxPyBeginAllowThreads();
35365 result = (arg1)->CalcMin();
35366
35367 wxPyEndAllowThreads(__tstate);
35368 if (PyErr_Occurred()) SWIG_fail;
35369 }
35370 {
35371 wxSize * resultptr;
35372 resultptr = new wxSize((wxSize &) result);
2f4c0a16 35373 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
35374 }
35375 return resultobj;
35376 fail:
35377 return NULL;
35378}
35379
35380
35381static PyObject *_wrap_FlexGridSizer_AddGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
35382 PyObject *resultobj;
35383 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35384 size_t arg2 ;
35385 int arg3 = (int) 0 ;
35386 PyObject * obj0 = 0 ;
35387 PyObject * obj1 = 0 ;
8edf1c75 35388 PyObject * obj2 = 0 ;
d14a1e28
RD
35389 char *kwnames[] = {
35390 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35391 };
35392
8edf1c75 35393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
35394 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35395 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35396 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35397 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35398 if (obj2) {
2f4c0a16
RD
35399 arg3 = (int) SWIG_AsInt(obj2);
35400 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35401 }
d14a1e28
RD
35402 {
35403 PyThreadState* __tstate = wxPyBeginAllowThreads();
35404 (arg1)->AddGrowableRow(arg2,arg3);
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
35416static PyObject *_wrap_FlexGridSizer_RemoveGrowableRow(PyObject *self, PyObject *args, PyObject *kwargs) {
35417 PyObject *resultobj;
35418 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35419 size_t arg2 ;
35420 PyObject * obj0 = 0 ;
35421 PyObject * obj1 = 0 ;
35422 char *kwnames[] = {
35423 (char *) "self",(char *) "idx", NULL
35424 };
35425
35426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35427 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35428 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35429 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35430 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35431 {
35432 PyThreadState* __tstate = wxPyBeginAllowThreads();
35433 (arg1)->RemoveGrowableRow(arg2);
35434
35435 wxPyEndAllowThreads(__tstate);
35436 if (PyErr_Occurred()) SWIG_fail;
35437 }
35438 Py_INCREF(Py_None); resultobj = Py_None;
35439 return resultobj;
35440 fail:
35441 return NULL;
35442}
35443
35444
35445static PyObject *_wrap_FlexGridSizer_AddGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
35446 PyObject *resultobj;
35447 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35448 size_t arg2 ;
35449 int arg3 = (int) 0 ;
35450 PyObject * obj0 = 0 ;
35451 PyObject * obj1 = 0 ;
8edf1c75 35452 PyObject * obj2 = 0 ;
d14a1e28
RD
35453 char *kwnames[] = {
35454 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35455 };
35456
8edf1c75 35457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
35458 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35459 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35460 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35461 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35462 if (obj2) {
2f4c0a16
RD
35463 arg3 = (int) SWIG_AsInt(obj2);
35464 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35465 }
d14a1e28
RD
35466 {
35467 PyThreadState* __tstate = wxPyBeginAllowThreads();
35468 (arg1)->AddGrowableCol(arg2,arg3);
35469
35470 wxPyEndAllowThreads(__tstate);
35471 if (PyErr_Occurred()) SWIG_fail;
35472 }
35473 Py_INCREF(Py_None); resultobj = Py_None;
35474 return resultobj;
35475 fail:
35476 return NULL;
35477}
35478
35479
35480static PyObject *_wrap_FlexGridSizer_RemoveGrowableCol(PyObject *self, PyObject *args, PyObject *kwargs) {
35481 PyObject *resultobj;
35482 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35483 size_t arg2 ;
35484 PyObject * obj0 = 0 ;
35485 PyObject * obj1 = 0 ;
35486 char *kwnames[] = {
35487 (char *) "self",(char *) "idx", NULL
35488 };
35489
35490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35491 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35492 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35493 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
35494 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35495 {
35496 PyThreadState* __tstate = wxPyBeginAllowThreads();
35497 (arg1)->RemoveGrowableCol(arg2);
35498
35499 wxPyEndAllowThreads(__tstate);
35500 if (PyErr_Occurred()) SWIG_fail;
35501 }
35502 Py_INCREF(Py_None); resultobj = Py_None;
35503 return resultobj;
35504 fail:
35505 return NULL;
35506}
35507
35508
35509static PyObject *_wrap_FlexGridSizer_SetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
35510 PyObject *resultobj;
35511 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35512 int arg2 ;
35513 PyObject * obj0 = 0 ;
8edf1c75 35514 PyObject * obj1 = 0 ;
d14a1e28
RD
35515 char *kwnames[] = {
35516 (char *) "self",(char *) "direction", NULL
35517 };
35518
8edf1c75 35519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35520 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35521 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35522 arg2 = (int) SWIG_AsInt(obj1);
35523 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35524 {
35525 PyThreadState* __tstate = wxPyBeginAllowThreads();
35526 (arg1)->SetFlexibleDirection(arg2);
35527
35528 wxPyEndAllowThreads(__tstate);
35529 if (PyErr_Occurred()) SWIG_fail;
35530 }
35531 Py_INCREF(Py_None); resultobj = Py_None;
35532 return resultobj;
35533 fail:
35534 return NULL;
35535}
35536
35537
35538static PyObject *_wrap_FlexGridSizer_GetFlexibleDirection(PyObject *self, PyObject *args, PyObject *kwargs) {
35539 PyObject *resultobj;
35540 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35541 int result;
35542 PyObject * obj0 = 0 ;
35543 char *kwnames[] = {
35544 (char *) "self", NULL
35545 };
35546
35547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35548 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35549 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35550 {
35551 PyThreadState* __tstate = wxPyBeginAllowThreads();
35552 result = (int)(arg1)->GetFlexibleDirection();
35553
35554 wxPyEndAllowThreads(__tstate);
35555 if (PyErr_Occurred()) SWIG_fail;
35556 }
2f4c0a16 35557 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35558 return resultobj;
35559 fail:
35560 return NULL;
35561}
35562
35563
35564static PyObject *_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
35565 PyObject *resultobj;
35566 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35567 int arg2 ;
35568 PyObject * obj0 = 0 ;
8edf1c75 35569 PyObject * obj1 = 0 ;
d14a1e28
RD
35570 char *kwnames[] = {
35571 (char *) "self",(char *) "mode", NULL
35572 };
35573
8edf1c75 35574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35575 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35576 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35577 arg2 = (wxFlexSizerGrowMode) SWIG_AsInt(obj1);
35578 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35579 {
35580 PyThreadState* __tstate = wxPyBeginAllowThreads();
35581 (arg1)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode )arg2);
35582
35583 wxPyEndAllowThreads(__tstate);
35584 if (PyErr_Occurred()) SWIG_fail;
35585 }
35586 Py_INCREF(Py_None); resultobj = Py_None;
35587 return resultobj;
35588 fail:
35589 return NULL;
35590}
35591
35592
35593static PyObject *_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject *self, PyObject *args, PyObject *kwargs) {
35594 PyObject *resultobj;
35595 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35596 int result;
35597 PyObject * obj0 = 0 ;
35598 char *kwnames[] = {
35599 (char *) "self", NULL
35600 };
35601
35602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35605 {
35606 PyThreadState* __tstate = wxPyBeginAllowThreads();
35607 result = (int)(arg1)->GetNonFlexibleGrowMode();
35608
35609 wxPyEndAllowThreads(__tstate);
35610 if (PyErr_Occurred()) SWIG_fail;
35611 }
2f4c0a16 35612 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35613 return resultobj;
35614 fail:
35615 return NULL;
35616}
35617
35618
423f194a
RD
35619static PyObject *_wrap_FlexGridSizer_GetRowHeights(PyObject *self, PyObject *args, PyObject *kwargs) {
35620 PyObject *resultobj;
35621 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35622 wxArrayInt *result;
35623 PyObject * obj0 = 0 ;
35624 char *kwnames[] = {
35625 (char *) "self", NULL
35626 };
35627
35628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetRowHeights",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35629 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35630 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
35631 {
35632 PyThreadState* __tstate = wxPyBeginAllowThreads();
35633 {
35634 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetRowHeights();
35635 result = (wxArrayInt *) &_result_ref;
35636 }
35637
35638 wxPyEndAllowThreads(__tstate);
35639 if (PyErr_Occurred()) SWIG_fail;
35640 }
35641 {
35642 resultobj = PyList_New(0);
35643 size_t idx;
35644 for (idx = 0; idx < result->GetCount(); idx += 1) {
35645 PyObject* val = PyInt_FromLong( result->Item(idx) );
35646 PyList_Append(resultobj, val);
35647 Py_DECREF(val);
35648 }
35649 }
35650 return resultobj;
35651 fail:
35652 return NULL;
35653}
35654
35655
35656static PyObject *_wrap_FlexGridSizer_GetColWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
35657 PyObject *resultobj;
35658 wxFlexGridSizer *arg1 = (wxFlexGridSizer *) 0 ;
35659 wxArrayInt *result;
35660 PyObject * obj0 = 0 ;
35661 char *kwnames[] = {
35662 (char *) "self", NULL
35663 };
35664
35665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FlexGridSizer_GetColWidths",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35666 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxFlexGridSizer,
35667 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
35668 {
35669 PyThreadState* __tstate = wxPyBeginAllowThreads();
35670 {
35671 wxArrayInt const &_result_ref = ((wxFlexGridSizer const *)arg1)->GetColWidths();
35672 result = (wxArrayInt *) &_result_ref;
35673 }
35674
35675 wxPyEndAllowThreads(__tstate);
35676 if (PyErr_Occurred()) SWIG_fail;
35677 }
35678 {
35679 resultobj = PyList_New(0);
35680 size_t idx;
35681 for (idx = 0; idx < result->GetCount(); idx += 1) {
35682 PyObject* val = PyInt_FromLong( result->Item(idx) );
35683 PyList_Append(resultobj, val);
35684 Py_DECREF(val);
35685 }
35686 }
35687 return resultobj;
35688 fail:
35689 return NULL;
35690}
35691
35692
d14a1e28
RD
35693static PyObject * FlexGridSizer_swigregister(PyObject *self, PyObject *args) {
35694 PyObject *obj;
35695 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35696 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer, obj);
35697 Py_INCREF(obj);
35698 return Py_BuildValue((char *)"");
35699}
35700static PyObject *_wrap_new_GBPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
35701 PyObject *resultobj;
35702 int arg1 = (int) 0 ;
35703 int arg2 = (int) 0 ;
35704 wxGBPosition *result;
8edf1c75
RD
35705 PyObject * obj0 = 0 ;
35706 PyObject * obj1 = 0 ;
d14a1e28
RD
35707 char *kwnames[] = {
35708 (char *) "row",(char *) "col", NULL
35709 };
35710
8edf1c75
RD
35711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBPosition",kwnames,&obj0,&obj1)) goto fail;
35712 if (obj0) {
2f4c0a16
RD
35713 arg1 = (int) SWIG_AsInt(obj0);
35714 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35715 }
35716 if (obj1) {
2f4c0a16
RD
35717 arg2 = (int) SWIG_AsInt(obj1);
35718 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35719 }
d14a1e28
RD
35720 {
35721 PyThreadState* __tstate = wxPyBeginAllowThreads();
35722 result = (wxGBPosition *)new wxGBPosition(arg1,arg2);
35723
35724 wxPyEndAllowThreads(__tstate);
35725 if (PyErr_Occurred()) SWIG_fail;
35726 }
2f4c0a16 35727 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
35728 return resultobj;
35729 fail:
35730 return NULL;
35731}
35732
35733
35734static PyObject *_wrap_GBPosition_GetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
35735 PyObject *resultobj;
35736 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35737 int result;
35738 PyObject * obj0 = 0 ;
35739 char *kwnames[] = {
35740 (char *) "self", NULL
35741 };
35742
35743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetRow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35744 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35745 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35746 {
35747 PyThreadState* __tstate = wxPyBeginAllowThreads();
35748 result = (int)((wxGBPosition const *)arg1)->GetRow();
35749
35750 wxPyEndAllowThreads(__tstate);
35751 if (PyErr_Occurred()) SWIG_fail;
35752 }
2f4c0a16 35753 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35754 return resultobj;
35755 fail:
35756 return NULL;
35757}
35758
35759
35760static PyObject *_wrap_GBPosition_GetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
35761 PyObject *resultobj;
35762 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35763 int result;
35764 PyObject * obj0 = 0 ;
35765 char *kwnames[] = {
35766 (char *) "self", NULL
35767 };
35768
35769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_GetCol",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35770 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35772 {
35773 PyThreadState* __tstate = wxPyBeginAllowThreads();
35774 result = (int)((wxGBPosition const *)arg1)->GetCol();
35775
35776 wxPyEndAllowThreads(__tstate);
35777 if (PyErr_Occurred()) SWIG_fail;
35778 }
2f4c0a16 35779 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
35780 return resultobj;
35781 fail:
35782 return NULL;
35783}
35784
35785
35786static PyObject *_wrap_GBPosition_SetRow(PyObject *self, PyObject *args, PyObject *kwargs) {
35787 PyObject *resultobj;
35788 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35789 int arg2 ;
35790 PyObject * obj0 = 0 ;
8edf1c75 35791 PyObject * obj1 = 0 ;
d14a1e28
RD
35792 char *kwnames[] = {
35793 (char *) "self",(char *) "row", NULL
35794 };
35795
8edf1c75 35796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetRow",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35797 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35799 arg2 = (int) SWIG_AsInt(obj1);
35800 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35801 {
35802 PyThreadState* __tstate = wxPyBeginAllowThreads();
35803 (arg1)->SetRow(arg2);
35804
35805 wxPyEndAllowThreads(__tstate);
35806 if (PyErr_Occurred()) SWIG_fail;
35807 }
35808 Py_INCREF(Py_None); resultobj = Py_None;
35809 return resultobj;
35810 fail:
35811 return NULL;
35812}
35813
35814
35815static PyObject *_wrap_GBPosition_SetCol(PyObject *self, PyObject *args, PyObject *kwargs) {
35816 PyObject *resultobj;
35817 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35818 int arg2 ;
35819 PyObject * obj0 = 0 ;
8edf1c75 35820 PyObject * obj1 = 0 ;
d14a1e28
RD
35821 char *kwnames[] = {
35822 (char *) "self",(char *) "col", NULL
35823 };
35824
8edf1c75 35825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition_SetCol",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35826 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35827 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35828 arg2 = (int) SWIG_AsInt(obj1);
35829 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
35830 {
35831 PyThreadState* __tstate = wxPyBeginAllowThreads();
35832 (arg1)->SetCol(arg2);
35833
35834 wxPyEndAllowThreads(__tstate);
35835 if (PyErr_Occurred()) SWIG_fail;
35836 }
35837 Py_INCREF(Py_None); resultobj = Py_None;
35838 return resultobj;
35839 fail:
35840 return NULL;
35841}
35842
35843
35844static PyObject *_wrap_GBPosition___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
35845 PyObject *resultobj;
35846 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
328fcd84 35847 wxGBPosition *arg2 = (wxGBPosition *) 0 ;
d14a1e28 35848 bool result;
d14a1e28
RD
35849 PyObject * obj0 = 0 ;
35850 PyObject * obj1 = 0 ;
35851 char *kwnames[] = {
328fcd84 35852 (char *) "self",(char *) "other", NULL
d14a1e28
RD
35853 };
35854
35855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35856 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35857 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35858 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBPosition,
35859 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35860 {
35861 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 35862 result = (bool)wxGBPosition___eq__(arg1,(wxGBPosition const *)arg2);
d14a1e28
RD
35863
35864 wxPyEndAllowThreads(__tstate);
35865 if (PyErr_Occurred()) SWIG_fail;
35866 }
4e760a36 35867 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35868 return resultobj;
35869 fail:
35870 return NULL;
35871}
35872
35873
35874static PyObject *_wrap_GBPosition___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
35875 PyObject *resultobj;
35876 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
328fcd84 35877 wxGBPosition *arg2 = (wxGBPosition *) 0 ;
d14a1e28 35878 bool result;
d14a1e28
RD
35879 PyObject * obj0 = 0 ;
35880 PyObject * obj1 = 0 ;
35881 char *kwnames[] = {
328fcd84 35882 (char *) "self",(char *) "other", NULL
d14a1e28
RD
35883 };
35884
35885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBPosition___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
35886 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35887 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
35888 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBPosition,
35889 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35890 {
35891 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 35892 result = (bool)wxGBPosition___ne__(arg1,(wxGBPosition const *)arg2);
d14a1e28
RD
35893
35894 wxPyEndAllowThreads(__tstate);
35895 if (PyErr_Occurred()) SWIG_fail;
35896 }
4e760a36 35897 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
35898 return resultobj;
35899 fail:
35900 return NULL;
35901}
35902
35903
423f194a
RD
35904static PyObject *_wrap_GBPosition_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
35905 PyObject *resultobj;
35906 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35907 int arg2 = (int) 0 ;
35908 int arg3 = (int) 0 ;
35909 PyObject * obj0 = 0 ;
8edf1c75
RD
35910 PyObject * obj1 = 0 ;
35911 PyObject * obj2 = 0 ;
423f194a
RD
35912 char *kwnames[] = {
35913 (char *) "self",(char *) "row",(char *) "col", NULL
35914 };
35915
8edf1c75 35916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBPosition_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
35917 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35918 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 35919 if (obj1) {
2f4c0a16
RD
35920 arg2 = (int) SWIG_AsInt(obj1);
35921 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35922 }
35923 if (obj2) {
2f4c0a16
RD
35924 arg3 = (int) SWIG_AsInt(obj2);
35925 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35926 }
423f194a
RD
35927 {
35928 PyThreadState* __tstate = wxPyBeginAllowThreads();
35929 wxGBPosition_Set(arg1,arg2,arg3);
35930
35931 wxPyEndAllowThreads(__tstate);
35932 if (PyErr_Occurred()) SWIG_fail;
35933 }
35934 Py_INCREF(Py_None); resultobj = Py_None;
35935 return resultobj;
35936 fail:
35937 return NULL;
35938}
35939
35940
35941static PyObject *_wrap_GBPosition_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
35942 PyObject *resultobj;
35943 wxGBPosition *arg1 = (wxGBPosition *) 0 ;
35944 PyObject *result;
35945 PyObject * obj0 = 0 ;
35946 char *kwnames[] = {
35947 (char *) "self", NULL
35948 };
35949
423f194a 35950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBPosition_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
35951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBPosition,
35952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
35953 {
35954 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 35955 result = (PyObject *)wxGBPosition_Get(arg1);
d14a1e28
RD
35956
35957 wxPyEndAllowThreads(__tstate);
35958 if (PyErr_Occurred()) SWIG_fail;
35959 }
35960 resultobj = result;
35961 return resultobj;
35962 fail:
35963 return NULL;
35964}
35965
35966
35967static PyObject * GBPosition_swigregister(PyObject *self, PyObject *args) {
35968 PyObject *obj;
35969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
35970 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition, obj);
35971 Py_INCREF(obj);
35972 return Py_BuildValue((char *)"");
35973}
35974static PyObject *_wrap_new_GBSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
35975 PyObject *resultobj;
35976 int arg1 = (int) 1 ;
35977 int arg2 = (int) 1 ;
35978 wxGBSpan *result;
8edf1c75
RD
35979 PyObject * obj0 = 0 ;
35980 PyObject * obj1 = 0 ;
d14a1e28
RD
35981 char *kwnames[] = {
35982 (char *) "rowspan",(char *) "colspan", NULL
35983 };
35984
8edf1c75
RD
35985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GBSpan",kwnames,&obj0,&obj1)) goto fail;
35986 if (obj0) {
2f4c0a16
RD
35987 arg1 = (int) SWIG_AsInt(obj0);
35988 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
35989 }
35990 if (obj1) {
2f4c0a16
RD
35991 arg2 = (int) SWIG_AsInt(obj1);
35992 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 35993 }
d14a1e28
RD
35994 {
35995 PyThreadState* __tstate = wxPyBeginAllowThreads();
35996 result = (wxGBSpan *)new wxGBSpan(arg1,arg2);
35997
35998 wxPyEndAllowThreads(__tstate);
35999 if (PyErr_Occurred()) SWIG_fail;
36000 }
2f4c0a16 36001 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
36002 return resultobj;
36003 fail:
36004 return NULL;
36005}
36006
36007
36008static PyObject *_wrap_GBSpan_GetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36009 PyObject *resultobj;
36010 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36011 int result;
36012 PyObject * obj0 = 0 ;
36013 char *kwnames[] = {
36014 (char *) "self", NULL
36015 };
36016
36017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetRowspan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36018 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36019 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36020 {
36021 PyThreadState* __tstate = wxPyBeginAllowThreads();
36022 result = (int)((wxGBSpan const *)arg1)->GetRowspan();
36023
36024 wxPyEndAllowThreads(__tstate);
36025 if (PyErr_Occurred()) SWIG_fail;
36026 }
2f4c0a16 36027 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36028 return resultobj;
36029 fail:
36030 return NULL;
36031}
36032
36033
36034static PyObject *_wrap_GBSpan_GetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36035 PyObject *resultobj;
36036 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36037 int result;
36038 PyObject * obj0 = 0 ;
36039 char *kwnames[] = {
36040 (char *) "self", NULL
36041 };
36042
36043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_GetColspan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36044 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36046 {
36047 PyThreadState* __tstate = wxPyBeginAllowThreads();
36048 result = (int)((wxGBSpan const *)arg1)->GetColspan();
36049
36050 wxPyEndAllowThreads(__tstate);
36051 if (PyErr_Occurred()) SWIG_fail;
36052 }
2f4c0a16 36053 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
36054 return resultobj;
36055 fail:
36056 return NULL;
36057}
36058
36059
36060static PyObject *_wrap_GBSpan_SetRowspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36061 PyObject *resultobj;
36062 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36063 int arg2 ;
36064 PyObject * obj0 = 0 ;
8edf1c75 36065 PyObject * obj1 = 0 ;
d14a1e28
RD
36066 char *kwnames[] = {
36067 (char *) "self",(char *) "rowspan", NULL
36068 };
36069
8edf1c75 36070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetRowspan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36071 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36072 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36073 arg2 = (int) SWIG_AsInt(obj1);
36074 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36075 {
36076 PyThreadState* __tstate = wxPyBeginAllowThreads();
36077 (arg1)->SetRowspan(arg2);
36078
36079 wxPyEndAllowThreads(__tstate);
36080 if (PyErr_Occurred()) SWIG_fail;
36081 }
36082 Py_INCREF(Py_None); resultobj = Py_None;
36083 return resultobj;
36084 fail:
36085 return NULL;
36086}
36087
36088
36089static PyObject *_wrap_GBSpan_SetColspan(PyObject *self, PyObject *args, PyObject *kwargs) {
36090 PyObject *resultobj;
36091 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36092 int arg2 ;
36093 PyObject * obj0 = 0 ;
8edf1c75 36094 PyObject * obj1 = 0 ;
d14a1e28
RD
36095 char *kwnames[] = {
36096 (char *) "self",(char *) "colspan", NULL
36097 };
36098
8edf1c75 36099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan_SetColspan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36100 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36101 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36102 arg2 = (int) SWIG_AsInt(obj1);
36103 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36104 {
36105 PyThreadState* __tstate = wxPyBeginAllowThreads();
36106 (arg1)->SetColspan(arg2);
36107
36108 wxPyEndAllowThreads(__tstate);
36109 if (PyErr_Occurred()) SWIG_fail;
36110 }
36111 Py_INCREF(Py_None); resultobj = Py_None;
36112 return resultobj;
36113 fail:
36114 return NULL;
36115}
36116
36117
36118static PyObject *_wrap_GBSpan___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
36119 PyObject *resultobj;
36120 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
328fcd84 36121 wxGBSpan *arg2 = (wxGBSpan *) 0 ;
d14a1e28 36122 bool result;
d14a1e28
RD
36123 PyObject * obj0 = 0 ;
36124 PyObject * obj1 = 0 ;
36125 char *kwnames[] = {
328fcd84 36126 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36127 };
36128
36129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___eq__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36130 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36131 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36132 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSpan,
36133 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36134 {
36135 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 36136 result = (bool)wxGBSpan___eq__(arg1,(wxGBSpan const *)arg2);
d14a1e28
RD
36137
36138 wxPyEndAllowThreads(__tstate);
36139 if (PyErr_Occurred()) SWIG_fail;
36140 }
4e760a36 36141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36142 return resultobj;
36143 fail:
36144 return NULL;
36145}
36146
36147
36148static PyObject *_wrap_GBSpan___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
36149 PyObject *resultobj;
36150 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
328fcd84 36151 wxGBSpan *arg2 = (wxGBSpan *) 0 ;
d14a1e28 36152 bool result;
d14a1e28
RD
36153 PyObject * obj0 = 0 ;
36154 PyObject * obj1 = 0 ;
36155 char *kwnames[] = {
328fcd84 36156 (char *) "self",(char *) "other", NULL
d14a1e28
RD
36157 };
36158
36159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSpan___ne__",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36160 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36161 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36162 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSpan,
36163 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36164 {
36165 PyThreadState* __tstate = wxPyBeginAllowThreads();
328fcd84 36166 result = (bool)wxGBSpan___ne__(arg1,(wxGBSpan const *)arg2);
d14a1e28
RD
36167
36168 wxPyEndAllowThreads(__tstate);
36169 if (PyErr_Occurred()) SWIG_fail;
36170 }
4e760a36 36171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36172 return resultobj;
36173 fail:
36174 return NULL;
36175}
36176
36177
423f194a
RD
36178static PyObject *_wrap_GBSpan_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
36179 PyObject *resultobj;
36180 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36181 int arg2 = (int) 1 ;
36182 int arg3 = (int) 1 ;
36183 PyObject * obj0 = 0 ;
8edf1c75
RD
36184 PyObject * obj1 = 0 ;
36185 PyObject * obj2 = 0 ;
423f194a
RD
36186 char *kwnames[] = {
36187 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
36188 };
36189
8edf1c75 36190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OO:GBSpan_Set",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36191 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 36193 if (obj1) {
2f4c0a16
RD
36194 arg2 = (int) SWIG_AsInt(obj1);
36195 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36196 }
36197 if (obj2) {
2f4c0a16
RD
36198 arg3 = (int) SWIG_AsInt(obj2);
36199 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36200 }
423f194a
RD
36201 {
36202 PyThreadState* __tstate = wxPyBeginAllowThreads();
36203 wxGBSpan_Set(arg1,arg2,arg3);
36204
36205 wxPyEndAllowThreads(__tstate);
36206 if (PyErr_Occurred()) SWIG_fail;
36207 }
36208 Py_INCREF(Py_None); resultobj = Py_None;
36209 return resultobj;
36210 fail:
36211 return NULL;
36212}
36213
36214
36215static PyObject *_wrap_GBSpan_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
36216 PyObject *resultobj;
36217 wxGBSpan *arg1 = (wxGBSpan *) 0 ;
36218 PyObject *result;
36219 PyObject * obj0 = 0 ;
36220 char *kwnames[] = {
36221 (char *) "self", NULL
36222 };
36223
423f194a 36224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSpan_Get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36225 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSpan,
36226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36227 {
36228 PyThreadState* __tstate = wxPyBeginAllowThreads();
423f194a 36229 result = (PyObject *)wxGBSpan_Get(arg1);
d14a1e28
RD
36230
36231 wxPyEndAllowThreads(__tstate);
36232 if (PyErr_Occurred()) SWIG_fail;
36233 }
36234 resultobj = result;
36235 return resultobj;
36236 fail:
36237 return NULL;
36238}
36239
36240
36241static PyObject * GBSpan_swigregister(PyObject *self, PyObject *args) {
36242 PyObject *obj;
36243 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36244 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan, obj);
36245 Py_INCREF(obj);
36246 return Py_BuildValue((char *)"");
36247}
2f4c0a16 36248static int _wrap_DefaultSpan_set(PyObject *_val) {
d14a1e28
RD
36249 PyErr_SetString(PyExc_TypeError,"Variable DefaultSpan is read-only.");
36250 return 1;
36251}
36252
36253
36254static PyObject *_wrap_DefaultSpan_get() {
36255 PyObject *pyobj;
36256
2f4c0a16 36257 pyobj = SWIG_NewPointerObj((void *)(&wxDefaultSpan), SWIGTYPE_p_wxGBSpan, 0);
d14a1e28
RD
36258 return pyobj;
36259}
36260
36261
36262static PyObject *_wrap_new_GBSizerItem(PyObject *self, PyObject *args, PyObject *kwargs) {
36263 PyObject *resultobj;
36264 wxGBSizerItem *result;
36265 char *kwnames[] = {
36266 NULL
36267 };
36268
36269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_GBSizerItem",kwnames)) goto fail;
36270 {
36271 PyThreadState* __tstate = wxPyBeginAllowThreads();
36272 result = (wxGBSizerItem *)new wxGBSizerItem();
36273
36274 wxPyEndAllowThreads(__tstate);
36275 if (PyErr_Occurred()) SWIG_fail;
36276 }
2f4c0a16 36277 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
36278 return resultobj;
36279 fail:
36280 return NULL;
36281}
36282
36283
36284static PyObject *_wrap_new_GBSizerItemWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
36285 PyObject *resultobj;
36286 wxWindow *arg1 = (wxWindow *) 0 ;
36287 wxGBPosition *arg2 = 0 ;
36288 wxGBSpan *arg3 = 0 ;
36289 int arg4 ;
36290 int arg5 ;
36291 wxObject *arg6 = (wxObject *) 0 ;
36292 wxGBSizerItem *result;
36293 wxGBPosition temp2 ;
36294 wxGBSpan temp3 ;
36295 PyObject * obj0 = 0 ;
36296 PyObject * obj1 = 0 ;
36297 PyObject * obj2 = 0 ;
8edf1c75
RD
36298 PyObject * obj3 = 0 ;
36299 PyObject * obj4 = 0 ;
d14a1e28
RD
36300 PyObject * obj5 = 0 ;
36301 char *kwnames[] = {
36302 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36303 };
36304
8edf1c75 36305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
36306 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxWindow,
36307 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36308 {
36309 arg2 = &temp2;
36310 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36311 }
36312 {
36313 arg3 = &temp3;
36314 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36315 }
2f4c0a16
RD
36316 arg4 = (int) SWIG_AsInt(obj3);
36317 if (PyErr_Occurred()) SWIG_fail;
36318 arg5 = (int) SWIG_AsInt(obj4);
36319 if (PyErr_Occurred()) SWIG_fail;
36320 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
36321 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36322 {
36323 PyThreadState* __tstate = wxPyBeginAllowThreads();
36324 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
36325
36326 wxPyEndAllowThreads(__tstate);
36327 if (PyErr_Occurred()) SWIG_fail;
36328 }
2f4c0a16 36329 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
36330 return resultobj;
36331 fail:
36332 return NULL;
36333}
36334
36335
36336static PyObject *_wrap_new_GBSizerItemSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36337 PyObject *resultobj;
36338 wxSizer *arg1 = (wxSizer *) 0 ;
36339 wxGBPosition *arg2 = 0 ;
36340 wxGBSpan *arg3 = 0 ;
36341 int arg4 ;
36342 int arg5 ;
36343 wxObject *arg6 = (wxObject *) 0 ;
36344 wxGBSizerItem *result;
36345 wxGBPosition temp2 ;
36346 wxGBSpan temp3 ;
36347 PyObject * obj0 = 0 ;
36348 PyObject * obj1 = 0 ;
36349 PyObject * obj2 = 0 ;
8edf1c75
RD
36350 PyObject * obj3 = 0 ;
36351 PyObject * obj4 = 0 ;
d14a1e28
RD
36352 PyObject * obj5 = 0 ;
36353 char *kwnames[] = {
36354 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36355 };
36356
8edf1c75 36357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
36358 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxSizer,
36359 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36360 {
36361 arg2 = &temp2;
36362 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36363 }
36364 {
36365 arg3 = &temp3;
36366 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36367 }
2f4c0a16
RD
36368 arg4 = (int) SWIG_AsInt(obj3);
36369 if (PyErr_Occurred()) SWIG_fail;
36370 arg5 = (int) SWIG_AsInt(obj4);
36371 if (PyErr_Occurred()) SWIG_fail;
36372 if ((SWIG_ConvertPtr(obj5,(void **)(&arg6),SWIGTYPE_p_wxObject,
36373 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36374 {
36375 PyThreadState* __tstate = wxPyBeginAllowThreads();
36376 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,(wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4,arg5,arg6);
36377
36378 wxPyEndAllowThreads(__tstate);
36379 if (PyErr_Occurred()) SWIG_fail;
36380 }
2f4c0a16 36381 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
36382 return resultobj;
36383 fail:
36384 return NULL;
36385}
36386
36387
36388static PyObject *_wrap_new_GBSizerItemSpacer(PyObject *self, PyObject *args, PyObject *kwargs) {
36389 PyObject *resultobj;
36390 int arg1 ;
36391 int arg2 ;
36392 wxGBPosition *arg3 = 0 ;
36393 wxGBSpan *arg4 = 0 ;
36394 int arg5 ;
36395 int arg6 ;
36396 wxObject *arg7 = (wxObject *) 0 ;
36397 wxGBSizerItem *result;
36398 wxGBPosition temp3 ;
36399 wxGBSpan temp4 ;
8edf1c75
RD
36400 PyObject * obj0 = 0 ;
36401 PyObject * obj1 = 0 ;
d14a1e28
RD
36402 PyObject * obj2 = 0 ;
36403 PyObject * obj3 = 0 ;
8edf1c75
RD
36404 PyObject * obj4 = 0 ;
36405 PyObject * obj5 = 0 ;
d14a1e28
RD
36406 PyObject * obj6 = 0 ;
36407 char *kwnames[] = {
36408 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36409 };
36410
8edf1c75 36411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
36412 arg1 = (int) SWIG_AsInt(obj0);
36413 if (PyErr_Occurred()) SWIG_fail;
36414 arg2 = (int) SWIG_AsInt(obj1);
36415 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
36416 {
36417 arg3 = &temp3;
36418 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36419 }
36420 {
36421 arg4 = &temp4;
36422 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
36423 }
2f4c0a16
RD
36424 arg5 = (int) SWIG_AsInt(obj4);
36425 if (PyErr_Occurred()) SWIG_fail;
36426 arg6 = (int) SWIG_AsInt(obj5);
36427 if (PyErr_Occurred()) SWIG_fail;
36428 if ((SWIG_ConvertPtr(obj6,(void **)(&arg7),SWIGTYPE_p_wxObject,
36429 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36430 {
36431 PyThreadState* __tstate = wxPyBeginAllowThreads();
36432 result = (wxGBSizerItem *)new wxGBSizerItem(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
36433
36434 wxPyEndAllowThreads(__tstate);
36435 if (PyErr_Occurred()) SWIG_fail;
36436 }
2f4c0a16 36437 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 1);
d14a1e28
RD
36438 return resultobj;
36439 fail:
36440 return NULL;
36441}
36442
36443
36444static PyObject *_wrap_GBSizerItem_GetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
36445 PyObject *resultobj;
36446 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36447 wxGBPosition result;
36448 PyObject * obj0 = 0 ;
36449 char *kwnames[] = {
36450 (char *) "self", NULL
36451 };
36452
36453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetPos",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36454 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36455 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36456 {
36457 PyThreadState* __tstate = wxPyBeginAllowThreads();
36458 result = ((wxGBSizerItem const *)arg1)->GetPos();
36459
36460 wxPyEndAllowThreads(__tstate);
36461 if (PyErr_Occurred()) SWIG_fail;
36462 }
36463 {
36464 wxGBPosition * resultptr;
36465 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 36466 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
36467 }
36468 return resultobj;
36469 fail:
36470 return NULL;
36471}
36472
36473
36474static PyObject *_wrap_GBSizerItem_GetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
36475 PyObject *resultobj;
36476 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36477 wxGBSpan result;
36478 PyObject * obj0 = 0 ;
36479 char *kwnames[] = {
36480 (char *) "self", NULL
36481 };
36482
36483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetSpan",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36486 {
36487 PyThreadState* __tstate = wxPyBeginAllowThreads();
36488 result = ((wxGBSizerItem const *)arg1)->GetSpan();
36489
36490 wxPyEndAllowThreads(__tstate);
36491 if (PyErr_Occurred()) SWIG_fail;
36492 }
36493 {
36494 wxGBSpan * resultptr;
36495 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 36496 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
36497 }
36498 return resultobj;
36499 fail:
36500 return NULL;
36501}
36502
36503
36504static PyObject *_wrap_GBSizerItem_SetPos(PyObject *self, PyObject *args, PyObject *kwargs) {
36505 PyObject *resultobj;
36506 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36507 wxGBPosition *arg2 = 0 ;
36508 bool result;
36509 wxGBPosition temp2 ;
36510 PyObject * obj0 = 0 ;
36511 PyObject * obj1 = 0 ;
36512 char *kwnames[] = {
36513 (char *) "self",(char *) "pos", NULL
36514 };
36515
36516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetPos",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36517 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36518 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36519 {
36520 arg2 = &temp2;
36521 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36522 }
36523 {
36524 PyThreadState* __tstate = wxPyBeginAllowThreads();
36525 result = (bool)(arg1)->SetPos((wxGBPosition const &)*arg2);
36526
36527 wxPyEndAllowThreads(__tstate);
36528 if (PyErr_Occurred()) SWIG_fail;
36529 }
4e760a36 36530 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36531 return resultobj;
36532 fail:
36533 return NULL;
36534}
36535
36536
36537static PyObject *_wrap_GBSizerItem_SetSpan(PyObject *self, PyObject *args, PyObject *kwargs) {
36538 PyObject *resultobj;
36539 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36540 wxGBSpan *arg2 = 0 ;
36541 bool result;
36542 wxGBSpan temp2 ;
36543 PyObject * obj0 = 0 ;
36544 PyObject * obj1 = 0 ;
36545 char *kwnames[] = {
36546 (char *) "self",(char *) "span", NULL
36547 };
36548
36549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetSpan",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36550 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36551 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36552 {
36553 arg2 = &temp2;
36554 if ( ! wxGBSpan_helper(obj1, &arg2)) SWIG_fail;
36555 }
36556 {
36557 PyThreadState* __tstate = wxPyBeginAllowThreads();
36558 result = (bool)(arg1)->SetSpan((wxGBSpan const &)*arg2);
36559
36560 wxPyEndAllowThreads(__tstate);
36561 if (PyErr_Occurred()) SWIG_fail;
36562 }
4e760a36 36563 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36564 return resultobj;
36565 fail:
36566 return NULL;
36567}
36568
36569
36570static PyObject *_wrap_GBSizerItem_Intersects__SWIG_0(PyObject *self, PyObject *args) {
36571 PyObject *resultobj;
36572 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36573 wxGBSizerItem *arg2 = 0 ;
36574 bool result;
36575 PyObject * obj0 = 0 ;
36576 PyObject * obj1 = 0 ;
36577
36578 if(!PyArg_ParseTuple(args,(char *)"OO:GBSizerItem_Intersects",&obj0,&obj1)) goto fail;
2f4c0a16
RD
36579 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36580 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36581 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
36582 SWIG_POINTER_EXCEPTION | 0)) == -1)
36583 SWIG_fail;
d14a1e28 36584 if (arg2 == NULL) {
2f4c0a16
RD
36585 PyErr_SetString(PyExc_TypeError,"null reference");
36586 SWIG_fail;
d14a1e28
RD
36587 }
36588 {
36589 PyThreadState* __tstate = wxPyBeginAllowThreads();
36590 result = (bool)(arg1)->Intersects((wxGBSizerItem const &)*arg2);
36591
36592 wxPyEndAllowThreads(__tstate);
36593 if (PyErr_Occurred()) SWIG_fail;
36594 }
4e760a36 36595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36596 return resultobj;
36597 fail:
36598 return NULL;
36599}
36600
36601
36602static PyObject *_wrap_GBSizerItem_Intersects__SWIG_1(PyObject *self, PyObject *args) {
36603 PyObject *resultobj;
36604 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36605 wxGBPosition *arg2 = 0 ;
36606 wxGBSpan *arg3 = 0 ;
36607 bool result;
36608 wxGBPosition temp2 ;
36609 wxGBSpan temp3 ;
36610 PyObject * obj0 = 0 ;
36611 PyObject * obj1 = 0 ;
36612 PyObject * obj2 = 0 ;
36613
36614 if(!PyArg_ParseTuple(args,(char *)"OOO:GBSizerItem_Intersects",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36615 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36616 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36617 {
36618 arg2 = &temp2;
36619 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
36620 }
36621 {
36622 arg3 = &temp3;
36623 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
36624 }
36625 {
36626 PyThreadState* __tstate = wxPyBeginAllowThreads();
36627 result = (bool)(arg1)->Intersects((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3);
36628
36629 wxPyEndAllowThreads(__tstate);
36630 if (PyErr_Occurred()) SWIG_fail;
36631 }
4e760a36 36632 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36633 return resultobj;
36634 fail:
36635 return NULL;
36636}
36637
36638
36639static PyObject *_wrap_GBSizerItem_Intersects(PyObject *self, PyObject *args) {
36640 int argc;
36641 PyObject *argv[4];
36642 int ii;
36643
36644 argc = PyObject_Length(args);
36645 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
36646 argv[ii] = PyTuple_GetItem(args,ii);
36647 }
36648 if (argc == 2) {
36649 int _v;
36650 {
36651 void *ptr;
2f4c0a16 36652 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
36653 _v = 0;
36654 PyErr_Clear();
36655 } else {
36656 _v = 1;
36657 }
36658 }
36659 if (_v) {
36660 {
36661 void *ptr;
2f4c0a16 36662 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
36663 _v = 0;
36664 PyErr_Clear();
36665 } else {
36666 _v = 1;
36667 }
36668 }
36669 if (_v) {
36670 return _wrap_GBSizerItem_Intersects__SWIG_0(self,args);
36671 }
36672 }
36673 }
36674 if (argc == 3) {
36675 int _v;
36676 {
36677 void *ptr;
2f4c0a16 36678 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
36679 _v = 0;
36680 PyErr_Clear();
36681 } else {
36682 _v = 1;
36683 }
36684 }
36685 if (_v) {
36686 {
36687 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
36688 }
36689 if (_v) {
36690 {
36691 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
36692 }
36693 if (_v) {
36694 return _wrap_GBSizerItem_Intersects__SWIG_1(self,args);
36695 }
36696 }
36697 }
36698 }
36699
36700 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GBSizerItem_Intersects'");
36701 return NULL;
36702}
36703
36704
36705static PyObject *_wrap_GBSizerItem_GetEndPos(PyObject *self, PyObject *args, PyObject *kwargs) {
36706 PyObject *resultobj;
36707 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36708 int *arg2 = 0 ;
36709 int *arg3 = 0 ;
36710 PyObject * obj0 = 0 ;
36711 PyObject * obj1 = 0 ;
36712 PyObject * obj2 = 0 ;
36713 char *kwnames[] = {
36714 (char *) "self",(char *) "row",(char *) "col", NULL
36715 };
36716
36717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GBSizerItem_GetEndPos",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
36718 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36719 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36720 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_int,
36721 SWIG_POINTER_EXCEPTION | 0)) == -1)
36722 SWIG_fail;
d14a1e28 36723 if (arg2 == NULL) {
2f4c0a16
RD
36724 PyErr_SetString(PyExc_TypeError,"null reference");
36725 SWIG_fail;
d14a1e28 36726 }
2f4c0a16
RD
36727 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_int,
36728 SWIG_POINTER_EXCEPTION | 0)) == -1)
36729 SWIG_fail;
d14a1e28 36730 if (arg3 == NULL) {
2f4c0a16
RD
36731 PyErr_SetString(PyExc_TypeError,"null reference");
36732 SWIG_fail;
d14a1e28
RD
36733 }
36734 {
36735 PyThreadState* __tstate = wxPyBeginAllowThreads();
36736 (arg1)->GetEndPos(*arg2,*arg3);
36737
36738 wxPyEndAllowThreads(__tstate);
36739 if (PyErr_Occurred()) SWIG_fail;
36740 }
36741 Py_INCREF(Py_None); resultobj = Py_None;
36742 return resultobj;
36743 fail:
36744 return NULL;
36745}
36746
36747
36748static PyObject *_wrap_GBSizerItem_GetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36749 PyObject *resultobj;
36750 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36751 wxGridBagSizer *result;
36752 PyObject * obj0 = 0 ;
36753 char *kwnames[] = {
36754 (char *) "self", NULL
36755 };
36756
36757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GBSizerItem_GetGBSizer",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36758 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36759 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36760 {
36761 PyThreadState* __tstate = wxPyBeginAllowThreads();
36762 result = (wxGridBagSizer *)((wxGBSizerItem const *)arg1)->GetGBSizer();
36763
36764 wxPyEndAllowThreads(__tstate);
36765 if (PyErr_Occurred()) SWIG_fail;
36766 }
2f4c0a16 36767 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 0);
d14a1e28
RD
36768 return resultobj;
36769 fail:
36770 return NULL;
36771}
36772
36773
36774static PyObject *_wrap_GBSizerItem_SetGBSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36775 PyObject *resultobj;
36776 wxGBSizerItem *arg1 = (wxGBSizerItem *) 0 ;
36777 wxGridBagSizer *arg2 = (wxGridBagSizer *) 0 ;
36778 PyObject * obj0 = 0 ;
36779 PyObject * obj1 = 0 ;
36780 char *kwnames[] = {
36781 (char *) "self",(char *) "sizer", NULL
36782 };
36783
36784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GBSizerItem_SetGBSizer",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36785 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGBSizerItem,
36786 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36787 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGridBagSizer,
36788 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36789 {
36790 PyThreadState* __tstate = wxPyBeginAllowThreads();
36791 (arg1)->SetGBSizer(arg2);
36792
36793 wxPyEndAllowThreads(__tstate);
36794 if (PyErr_Occurred()) SWIG_fail;
36795 }
36796 Py_INCREF(Py_None); resultobj = Py_None;
36797 return resultobj;
36798 fail:
36799 return NULL;
36800}
36801
36802
36803static PyObject * GBSizerItem_swigregister(PyObject *self, PyObject *args) {
36804 PyObject *obj;
36805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
36806 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem, obj);
36807 Py_INCREF(obj);
36808 return Py_BuildValue((char *)"");
36809}
36810static PyObject *_wrap_new_GridBagSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
36811 PyObject *resultobj;
36812 int arg1 = (int) 0 ;
36813 int arg2 = (int) 0 ;
36814 wxGridBagSizer *result;
8edf1c75
RD
36815 PyObject * obj0 = 0 ;
36816 PyObject * obj1 = 0 ;
d14a1e28
RD
36817 char *kwnames[] = {
36818 (char *) "vgap",(char *) "hgap", NULL
36819 };
36820
8edf1c75
RD
36821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_GridBagSizer",kwnames,&obj0,&obj1)) goto fail;
36822 if (obj0) {
2f4c0a16
RD
36823 arg1 = (int) SWIG_AsInt(obj0);
36824 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36825 }
36826 if (obj1) {
2f4c0a16
RD
36827 arg2 = (int) SWIG_AsInt(obj1);
36828 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36829 }
d14a1e28
RD
36830 {
36831 PyThreadState* __tstate = wxPyBeginAllowThreads();
36832 result = (wxGridBagSizer *)new wxGridBagSizer(arg1,arg2);
36833
36834 wxPyEndAllowThreads(__tstate);
36835 if (PyErr_Occurred()) SWIG_fail;
36836 }
2f4c0a16 36837 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGridBagSizer, 1);
d14a1e28
RD
36838 return resultobj;
36839 fail:
36840 return NULL;
36841}
36842
36843
36844static PyObject *_wrap_GridBagSizer_Add(PyObject *self, PyObject *args, PyObject *kwargs) {
36845 PyObject *resultobj;
36846 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36847 PyObject *arg2 = (PyObject *) 0 ;
36848 wxGBPosition *arg3 = 0 ;
36849 wxGBSpan const &arg4_defvalue = wxDefaultSpan ;
36850 wxGBSpan *arg4 = (wxGBSpan *) &arg4_defvalue ;
36851 int arg5 = (int) 0 ;
36852 int arg6 = (int) 0 ;
36853 PyObject *arg7 = (PyObject *) NULL ;
36854 bool result;
36855 wxGBPosition temp3 ;
36856 wxGBSpan temp4 ;
36857 PyObject * obj0 = 0 ;
36858 PyObject * obj1 = 0 ;
36859 PyObject * obj2 = 0 ;
36860 PyObject * obj3 = 0 ;
8edf1c75
RD
36861 PyObject * obj4 = 0 ;
36862 PyObject * obj5 = 0 ;
d14a1e28
RD
36863 PyObject * obj6 = 0 ;
36864 char *kwnames[] = {
36865 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36866 };
36867
8edf1c75 36868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2f4c0a16
RD
36869 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36870 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36871 arg2 = obj1;
36872 {
36873 arg3 = &temp3;
36874 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
36875 }
36876 if (obj3) {
36877 {
36878 arg4 = &temp4;
36879 if ( ! wxGBSpan_helper(obj3, &arg4)) SWIG_fail;
36880 }
36881 }
8edf1c75 36882 if (obj4) {
2f4c0a16
RD
36883 arg5 = (int) SWIG_AsInt(obj4);
36884 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
36885 }
36886 if (obj5) {
2f4c0a16
RD
36887 arg6 = (int) SWIG_AsInt(obj5);
36888 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 36889 }
d14a1e28
RD
36890 if (obj6) {
36891 arg7 = obj6;
36892 }
36893 {
36894 PyThreadState* __tstate = wxPyBeginAllowThreads();
36895 result = (bool)wxGridBagSizer_Add(arg1,arg2,(wxGBPosition const &)*arg3,(wxGBSpan const &)*arg4,arg5,arg6,arg7);
36896
36897 wxPyEndAllowThreads(__tstate);
36898 if (PyErr_Occurred()) SWIG_fail;
36899 }
4e760a36 36900 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36901 return resultobj;
36902 fail:
36903 return NULL;
36904}
36905
36906
36907static PyObject *_wrap_GridBagSizer_AddItem(PyObject *self, PyObject *args, PyObject *kwargs) {
36908 PyObject *resultobj;
36909 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36910 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
36911 bool result;
36912 PyObject * obj0 = 0 ;
36913 PyObject * obj1 = 0 ;
36914 char *kwnames[] = {
36915 (char *) "self",(char *) "item", NULL
36916 };
36917
36918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_AddItem",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
36921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
36922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36923 {
36924 PyThreadState* __tstate = wxPyBeginAllowThreads();
36925 result = (bool)(arg1)->Add(arg2);
36926
36927 wxPyEndAllowThreads(__tstate);
36928 if (PyErr_Occurred()) SWIG_fail;
36929 }
4e760a36 36930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
36931 return resultobj;
36932 fail:
36933 return NULL;
36934}
36935
36936
36937static PyObject *_wrap_GridBagSizer_GetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
36938 PyObject *resultobj;
36939 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36940 wxSize result;
36941 PyObject * obj0 = 0 ;
36942 char *kwnames[] = {
36943 (char *) "self", NULL
36944 };
36945
36946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames,&obj0)) goto fail;
2f4c0a16
RD
36947 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36948 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36949 {
36950 PyThreadState* __tstate = wxPyBeginAllowThreads();
36951 result = ((wxGridBagSizer const *)arg1)->GetEmptyCellSize();
36952
36953 wxPyEndAllowThreads(__tstate);
36954 if (PyErr_Occurred()) SWIG_fail;
36955 }
36956 {
36957 wxSize * resultptr;
36958 resultptr = new wxSize((wxSize &) result);
2f4c0a16 36959 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
36960 }
36961 return resultobj;
36962 fail:
36963 return NULL;
36964}
36965
36966
36967static PyObject *_wrap_GridBagSizer_SetEmptyCellSize(PyObject *self, PyObject *args, PyObject *kwargs) {
36968 PyObject *resultobj;
36969 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
36970 wxSize *arg2 = 0 ;
36971 wxSize temp2 ;
36972 PyObject * obj0 = 0 ;
36973 PyObject * obj1 = 0 ;
36974 char *kwnames[] = {
36975 (char *) "self",(char *) "sz", NULL
36976 };
36977
36978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
36979 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
36980 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
36981 {
36982 arg2 = &temp2;
36983 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
36984 }
36985 {
36986 PyThreadState* __tstate = wxPyBeginAllowThreads();
36987 (arg1)->SetEmptyCellSize((wxSize const &)*arg2);
36988
36989 wxPyEndAllowThreads(__tstate);
36990 if (PyErr_Occurred()) SWIG_fail;
36991 }
36992 Py_INCREF(Py_None); resultobj = Py_None;
36993 return resultobj;
36994 fail:
36995 return NULL;
36996}
36997
36998
36999static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
37000 PyObject *resultobj;
37001 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37002 wxWindow *arg2 = (wxWindow *) 0 ;
37003 wxGBPosition result;
37004 PyObject * obj0 = 0 ;
37005 PyObject * obj1 = 0 ;
37006
37007 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37008 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37009 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37010 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37011 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37012 {
37013 PyThreadState* __tstate = wxPyBeginAllowThreads();
37014 result = (arg1)->GetItemPosition(arg2);
37015
37016 wxPyEndAllowThreads(__tstate);
37017 if (PyErr_Occurred()) SWIG_fail;
37018 }
37019 {
37020 wxGBPosition * resultptr;
37021 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 37022 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37023 }
37024 return resultobj;
37025 fail:
37026 return NULL;
37027}
37028
37029
37030static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
37031 PyObject *resultobj;
37032 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37033 wxSizer *arg2 = (wxSizer *) 0 ;
37034 wxGBPosition result;
37035 PyObject * obj0 = 0 ;
37036 PyObject * obj1 = 0 ;
37037
37038 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37039 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37040 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37041 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37042 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37043 {
37044 PyThreadState* __tstate = wxPyBeginAllowThreads();
37045 result = (arg1)->GetItemPosition(arg2);
37046
37047 wxPyEndAllowThreads(__tstate);
37048 if (PyErr_Occurred()) SWIG_fail;
37049 }
37050 {
37051 wxGBPosition * resultptr;
37052 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 37053 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37054 }
37055 return resultobj;
37056 fail:
37057 return NULL;
37058}
37059
37060
37061static PyObject *_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
37062 PyObject *resultobj;
37063 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37064 size_t arg2 ;
37065 wxGBPosition result;
37066 PyObject * obj0 = 0 ;
37067 PyObject * obj1 = 0 ;
37068
37069 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemPosition",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37070 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37071 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37072 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37073 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37074 {
37075 PyThreadState* __tstate = wxPyBeginAllowThreads();
37076 result = (arg1)->GetItemPosition(arg2);
37077
37078 wxPyEndAllowThreads(__tstate);
37079 if (PyErr_Occurred()) SWIG_fail;
37080 }
37081 {
37082 wxGBPosition * resultptr;
37083 resultptr = new wxGBPosition((wxGBPosition &) result);
2f4c0a16 37084 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBPosition, 1);
d14a1e28
RD
37085 }
37086 return resultobj;
37087 fail:
37088 return NULL;
37089}
37090
37091
37092static PyObject *_wrap_GridBagSizer_GetItemPosition(PyObject *self, PyObject *args) {
37093 int argc;
37094 PyObject *argv[3];
37095 int ii;
37096
37097 argc = PyObject_Length(args);
37098 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37099 argv[ii] = PyTuple_GetItem(args,ii);
37100 }
37101 if (argc == 2) {
37102 int _v;
37103 {
37104 void *ptr;
2f4c0a16 37105 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37106 _v = 0;
37107 PyErr_Clear();
37108 } else {
37109 _v = 1;
37110 }
37111 }
37112 if (_v) {
37113 {
37114 void *ptr;
2f4c0a16 37115 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37116 _v = 0;
37117 PyErr_Clear();
37118 } else {
37119 _v = 1;
37120 }
37121 }
37122 if (_v) {
37123 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self,args);
37124 }
37125 }
37126 }
37127 if (argc == 2) {
37128 int _v;
37129 {
37130 void *ptr;
2f4c0a16 37131 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37132 _v = 0;
37133 PyErr_Clear();
37134 } else {
37135 _v = 1;
37136 }
37137 }
37138 if (_v) {
37139 {
37140 void *ptr;
2f4c0a16 37141 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37142 _v = 0;
37143 PyErr_Clear();
37144 } else {
37145 _v = 1;
37146 }
37147 }
37148 if (_v) {
37149 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self,args);
37150 }
37151 }
37152 }
37153 if (argc == 2) {
37154 int _v;
37155 {
37156 void *ptr;
2f4c0a16 37157 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37158 _v = 0;
37159 PyErr_Clear();
37160 } else {
37161 _v = 1;
37162 }
37163 }
37164 if (_v) {
2f4c0a16 37165 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
37166 if (_v) {
37167 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self,args);
37168 }
37169 }
37170 }
37171
37172 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37173 return NULL;
37174}
37175
37176
37177static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject *self, PyObject *args) {
37178 PyObject *resultobj;
37179 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37180 wxWindow *arg2 = (wxWindow *) 0 ;
37181 wxGBPosition *arg3 = 0 ;
37182 bool result;
37183 wxGBPosition temp3 ;
37184 PyObject * obj0 = 0 ;
37185 PyObject * obj1 = 0 ;
37186 PyObject * obj2 = 0 ;
37187
37188 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37189 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37190 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37191 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37192 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37193 {
37194 arg3 = &temp3;
37195 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37196 }
37197 {
37198 PyThreadState* __tstate = wxPyBeginAllowThreads();
37199 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
37200
37201 wxPyEndAllowThreads(__tstate);
37202 if (PyErr_Occurred()) SWIG_fail;
37203 }
4e760a36 37204 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37205 return resultobj;
37206 fail:
37207 return NULL;
37208}
37209
37210
37211static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject *self, PyObject *args) {
37212 PyObject *resultobj;
37213 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37214 wxSizer *arg2 = (wxSizer *) 0 ;
37215 wxGBPosition *arg3 = 0 ;
37216 bool result;
37217 wxGBPosition temp3 ;
37218 PyObject * obj0 = 0 ;
37219 PyObject * obj1 = 0 ;
37220 PyObject * obj2 = 0 ;
37221
37222 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37223 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37225 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37226 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37227 {
37228 arg3 = &temp3;
37229 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37230 }
37231 {
37232 PyThreadState* __tstate = wxPyBeginAllowThreads();
37233 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
37234
37235 wxPyEndAllowThreads(__tstate);
37236 if (PyErr_Occurred()) SWIG_fail;
37237 }
4e760a36 37238 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37239 return resultobj;
37240 fail:
37241 return NULL;
37242}
37243
37244
37245static PyObject *_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject *self, PyObject *args) {
37246 PyObject *resultobj;
37247 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37248 size_t arg2 ;
37249 wxGBPosition *arg3 = 0 ;
37250 bool result;
37251 wxGBPosition temp3 ;
37252 PyObject * obj0 = 0 ;
37253 PyObject * obj1 = 0 ;
37254 PyObject * obj2 = 0 ;
37255
37256 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37257 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37258 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37259 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37260 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37261 {
37262 arg3 = &temp3;
37263 if ( ! wxGBPosition_helper(obj2, &arg3)) SWIG_fail;
37264 }
37265 {
37266 PyThreadState* __tstate = wxPyBeginAllowThreads();
37267 result = (bool)(arg1)->SetItemPosition(arg2,(wxGBPosition const &)*arg3);
37268
37269 wxPyEndAllowThreads(__tstate);
37270 if (PyErr_Occurred()) SWIG_fail;
37271 }
4e760a36 37272 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37273 return resultobj;
37274 fail:
37275 return NULL;
37276}
37277
37278
37279static PyObject *_wrap_GridBagSizer_SetItemPosition(PyObject *self, PyObject *args) {
37280 int argc;
37281 PyObject *argv[4];
37282 int ii;
37283
37284 argc = PyObject_Length(args);
37285 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
37286 argv[ii] = PyTuple_GetItem(args,ii);
37287 }
37288 if (argc == 3) {
37289 int _v;
37290 {
37291 void *ptr;
2f4c0a16 37292 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37293 _v = 0;
37294 PyErr_Clear();
37295 } else {
37296 _v = 1;
37297 }
37298 }
37299 if (_v) {
37300 {
37301 void *ptr;
2f4c0a16 37302 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37303 _v = 0;
37304 PyErr_Clear();
37305 } else {
37306 _v = 1;
37307 }
37308 }
37309 if (_v) {
37310 {
37311 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
37312 }
37313 if (_v) {
37314 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self,args);
37315 }
37316 }
37317 }
37318 }
37319 if (argc == 3) {
37320 int _v;
37321 {
37322 void *ptr;
2f4c0a16 37323 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37324 _v = 0;
37325 PyErr_Clear();
37326 } else {
37327 _v = 1;
37328 }
37329 }
37330 if (_v) {
37331 {
37332 void *ptr;
2f4c0a16 37333 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37334 _v = 0;
37335 PyErr_Clear();
37336 } else {
37337 _v = 1;
37338 }
37339 }
37340 if (_v) {
37341 {
37342 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
37343 }
37344 if (_v) {
37345 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self,args);
37346 }
37347 }
37348 }
37349 }
37350 if (argc == 3) {
37351 int _v;
37352 {
37353 void *ptr;
2f4c0a16 37354 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37355 _v = 0;
37356 PyErr_Clear();
37357 } else {
37358 _v = 1;
37359 }
37360 }
37361 if (_v) {
2f4c0a16 37362 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
37363 if (_v) {
37364 {
37365 _v = wxPySimple_typecheck(argv[2], wxT("wxGBPosition"), 2);
37366 }
37367 if (_v) {
37368 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self,args);
37369 }
37370 }
37371 }
37372 }
37373
37374 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
37375 return NULL;
37376}
37377
37378
37379static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
37380 PyObject *resultobj;
37381 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37382 wxWindow *arg2 = (wxWindow *) 0 ;
37383 wxGBSpan result;
37384 PyObject * obj0 = 0 ;
37385 PyObject * obj1 = 0 ;
37386
37387 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37388 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37389 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37390 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37391 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37392 {
37393 PyThreadState* __tstate = wxPyBeginAllowThreads();
37394 result = (arg1)->GetItemSpan(arg2);
37395
37396 wxPyEndAllowThreads(__tstate);
37397 if (PyErr_Occurred()) SWIG_fail;
37398 }
37399 {
37400 wxGBSpan * resultptr;
37401 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 37402 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37403 }
37404 return resultobj;
37405 fail:
37406 return NULL;
37407}
37408
37409
37410static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
37411 PyObject *resultobj;
37412 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37413 wxSizer *arg2 = (wxSizer *) 0 ;
37414 wxGBSpan result;
37415 PyObject * obj0 = 0 ;
37416 PyObject * obj1 = 0 ;
37417
37418 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37419 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37420 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37421 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37422 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37423 {
37424 PyThreadState* __tstate = wxPyBeginAllowThreads();
37425 result = (arg1)->GetItemSpan(arg2);
37426
37427 wxPyEndAllowThreads(__tstate);
37428 if (PyErr_Occurred()) SWIG_fail;
37429 }
37430 {
37431 wxGBSpan * resultptr;
37432 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 37433 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37434 }
37435 return resultobj;
37436 fail:
37437 return NULL;
37438}
37439
37440
37441static PyObject *_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
37442 PyObject *resultobj;
37443 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37444 size_t arg2 ;
37445 wxGBSpan result;
37446 PyObject * obj0 = 0 ;
37447 PyObject * obj1 = 0 ;
37448
37449 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_GetItemSpan",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37450 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37451 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37452 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37453 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37454 {
37455 PyThreadState* __tstate = wxPyBeginAllowThreads();
37456 result = (arg1)->GetItemSpan(arg2);
37457
37458 wxPyEndAllowThreads(__tstate);
37459 if (PyErr_Occurred()) SWIG_fail;
37460 }
37461 {
37462 wxGBSpan * resultptr;
37463 resultptr = new wxGBSpan((wxGBSpan &) result);
2f4c0a16 37464 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxGBSpan, 1);
d14a1e28
RD
37465 }
37466 return resultobj;
37467 fail:
37468 return NULL;
37469}
37470
37471
37472static PyObject *_wrap_GridBagSizer_GetItemSpan(PyObject *self, PyObject *args) {
37473 int argc;
37474 PyObject *argv[3];
37475 int ii;
37476
37477 argc = PyObject_Length(args);
37478 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37479 argv[ii] = PyTuple_GetItem(args,ii);
37480 }
37481 if (argc == 2) {
37482 int _v;
37483 {
37484 void *ptr;
2f4c0a16 37485 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37486 _v = 0;
37487 PyErr_Clear();
37488 } else {
37489 _v = 1;
37490 }
37491 }
37492 if (_v) {
37493 {
37494 void *ptr;
2f4c0a16 37495 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37496 _v = 0;
37497 PyErr_Clear();
37498 } else {
37499 _v = 1;
37500 }
37501 }
37502 if (_v) {
37503 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self,args);
37504 }
37505 }
37506 }
37507 if (argc == 2) {
37508 int _v;
37509 {
37510 void *ptr;
2f4c0a16 37511 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37512 _v = 0;
37513 PyErr_Clear();
37514 } else {
37515 _v = 1;
37516 }
37517 }
37518 if (_v) {
37519 {
37520 void *ptr;
2f4c0a16 37521 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37522 _v = 0;
37523 PyErr_Clear();
37524 } else {
37525 _v = 1;
37526 }
37527 }
37528 if (_v) {
37529 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self,args);
37530 }
37531 }
37532 }
37533 if (argc == 2) {
37534 int _v;
37535 {
37536 void *ptr;
2f4c0a16 37537 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37538 _v = 0;
37539 PyErr_Clear();
37540 } else {
37541 _v = 1;
37542 }
37543 }
37544 if (_v) {
2f4c0a16 37545 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
37546 if (_v) {
37547 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self,args);
37548 }
37549 }
37550 }
37551
37552 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37553 return NULL;
37554}
37555
37556
37557static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject *self, PyObject *args) {
37558 PyObject *resultobj;
37559 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37560 wxWindow *arg2 = (wxWindow *) 0 ;
37561 wxGBSpan *arg3 = 0 ;
37562 bool result;
37563 wxGBSpan temp3 ;
37564 PyObject * obj0 = 0 ;
37565 PyObject * obj1 = 0 ;
37566 PyObject * obj2 = 0 ;
37567
37568 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37569 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37570 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37571 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37572 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37573 {
37574 arg3 = &temp3;
37575 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37576 }
37577 {
37578 PyThreadState* __tstate = wxPyBeginAllowThreads();
37579 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
37580
37581 wxPyEndAllowThreads(__tstate);
37582 if (PyErr_Occurred()) SWIG_fail;
37583 }
4e760a36 37584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37585 return resultobj;
37586 fail:
37587 return NULL;
37588}
37589
37590
37591static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject *self, PyObject *args) {
37592 PyObject *resultobj;
37593 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37594 wxSizer *arg2 = (wxSizer *) 0 ;
37595 wxGBSpan *arg3 = 0 ;
37596 bool result;
37597 wxGBSpan temp3 ;
37598 PyObject * obj0 = 0 ;
37599 PyObject * obj1 = 0 ;
37600 PyObject * obj2 = 0 ;
37601
37602 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37603 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37604 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37605 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37606 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37607 {
37608 arg3 = &temp3;
37609 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37610 }
37611 {
37612 PyThreadState* __tstate = wxPyBeginAllowThreads();
37613 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
37614
37615 wxPyEndAllowThreads(__tstate);
37616 if (PyErr_Occurred()) SWIG_fail;
37617 }
4e760a36 37618 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37619 return resultobj;
37620 fail:
37621 return NULL;
37622}
37623
37624
37625static PyObject *_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject *self, PyObject *args) {
37626 PyObject *resultobj;
37627 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37628 size_t arg2 ;
37629 wxGBSpan *arg3 = 0 ;
37630 bool result;
37631 wxGBSpan temp3 ;
37632 PyObject * obj0 = 0 ;
37633 PyObject * obj1 = 0 ;
37634 PyObject * obj2 = 0 ;
37635
37636 if(!PyArg_ParseTuple(args,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
37637 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37638 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37639 arg2 = (size_t) SWIG_AsUnsignedLong(obj1);
37640 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
37641 {
37642 arg3 = &temp3;
37643 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
37644 }
37645 {
37646 PyThreadState* __tstate = wxPyBeginAllowThreads();
37647 result = (bool)(arg1)->SetItemSpan(arg2,(wxGBSpan const &)*arg3);
37648
37649 wxPyEndAllowThreads(__tstate);
37650 if (PyErr_Occurred()) SWIG_fail;
37651 }
4e760a36 37652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
37653 return resultobj;
37654 fail:
37655 return NULL;
37656}
37657
37658
37659static PyObject *_wrap_GridBagSizer_SetItemSpan(PyObject *self, PyObject *args) {
37660 int argc;
37661 PyObject *argv[4];
37662 int ii;
37663
37664 argc = PyObject_Length(args);
37665 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
37666 argv[ii] = PyTuple_GetItem(args,ii);
37667 }
37668 if (argc == 3) {
37669 int _v;
37670 {
37671 void *ptr;
2f4c0a16 37672 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37673 _v = 0;
37674 PyErr_Clear();
37675 } else {
37676 _v = 1;
37677 }
37678 }
37679 if (_v) {
37680 {
37681 void *ptr;
2f4c0a16 37682 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37683 _v = 0;
37684 PyErr_Clear();
37685 } else {
37686 _v = 1;
37687 }
37688 }
37689 if (_v) {
37690 {
37691 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37692 }
37693 if (_v) {
37694 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self,args);
37695 }
37696 }
37697 }
37698 }
37699 if (argc == 3) {
37700 int _v;
37701 {
37702 void *ptr;
2f4c0a16 37703 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37704 _v = 0;
37705 PyErr_Clear();
37706 } else {
37707 _v = 1;
37708 }
37709 }
37710 if (_v) {
37711 {
37712 void *ptr;
2f4c0a16 37713 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37714 _v = 0;
37715 PyErr_Clear();
37716 } else {
37717 _v = 1;
37718 }
37719 }
37720 if (_v) {
37721 {
37722 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37723 }
37724 if (_v) {
37725 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self,args);
37726 }
37727 }
37728 }
37729 }
37730 if (argc == 3) {
37731 int _v;
37732 {
37733 void *ptr;
2f4c0a16 37734 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37735 _v = 0;
37736 PyErr_Clear();
37737 } else {
37738 _v = 1;
37739 }
37740 }
37741 if (_v) {
2f4c0a16 37742 _v = SWIG_CheckUnsignedLong(argv[1]);
d14a1e28
RD
37743 if (_v) {
37744 {
37745 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
37746 }
37747 if (_v) {
37748 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self,args);
37749 }
37750 }
37751 }
37752 }
37753
37754 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37755 return NULL;
37756}
37757
37758
37759static PyObject *_wrap_GridBagSizer_FindItem__SWIG_0(PyObject *self, PyObject *args) {
37760 PyObject *resultobj;
37761 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37762 wxWindow *arg2 = (wxWindow *) 0 ;
37763 wxGBSizerItem *result;
37764 PyObject * obj0 = 0 ;
37765 PyObject * obj1 = 0 ;
37766
37767 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37768 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37769 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37770 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
37771 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37772 {
37773 PyThreadState* __tstate = wxPyBeginAllowThreads();
37774 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
37775
37776 wxPyEndAllowThreads(__tstate);
37777 if (PyErr_Occurred()) SWIG_fail;
37778 }
2f4c0a16 37779 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
37780 return resultobj;
37781 fail:
37782 return NULL;
37783}
37784
37785
37786static PyObject *_wrap_GridBagSizer_FindItem__SWIG_1(PyObject *self, PyObject *args) {
37787 PyObject *resultobj;
37788 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37789 wxSizer *arg2 = (wxSizer *) 0 ;
37790 wxGBSizerItem *result;
37791 PyObject * obj0 = 0 ;
37792 PyObject * obj1 = 0 ;
37793
37794 if(!PyArg_ParseTuple(args,(char *)"OO:GridBagSizer_FindItem",&obj0,&obj1)) goto fail;
2f4c0a16
RD
37795 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37796 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37797 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxSizer,
37798 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37799 {
37800 PyThreadState* __tstate = wxPyBeginAllowThreads();
37801 result = (wxGBSizerItem *)(arg1)->FindItem(arg2);
37802
37803 wxPyEndAllowThreads(__tstate);
37804 if (PyErr_Occurred()) SWIG_fail;
37805 }
2f4c0a16 37806 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
37807 return resultobj;
37808 fail:
37809 return NULL;
37810}
37811
37812
37813static PyObject *_wrap_GridBagSizer_FindItem(PyObject *self, PyObject *args) {
37814 int argc;
37815 PyObject *argv[3];
37816 int ii;
37817
37818 argc = PyObject_Length(args);
37819 for (ii = 0; (ii < argc) && (ii < 2); ii++) {
37820 argv[ii] = PyTuple_GetItem(args,ii);
37821 }
37822 if (argc == 2) {
37823 int _v;
37824 {
37825 void *ptr;
2f4c0a16 37826 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37827 _v = 0;
37828 PyErr_Clear();
37829 } else {
37830 _v = 1;
37831 }
37832 }
37833 if (_v) {
37834 {
37835 void *ptr;
2f4c0a16 37836 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxWindow, 0) == -1) {
d14a1e28
RD
37837 _v = 0;
37838 PyErr_Clear();
37839 } else {
37840 _v = 1;
37841 }
37842 }
37843 if (_v) {
37844 return _wrap_GridBagSizer_FindItem__SWIG_0(self,args);
37845 }
37846 }
37847 }
37848 if (argc == 2) {
37849 int _v;
37850 {
37851 void *ptr;
2f4c0a16 37852 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
37853 _v = 0;
37854 PyErr_Clear();
37855 } else {
37856 _v = 1;
37857 }
37858 }
37859 if (_v) {
37860 {
37861 void *ptr;
2f4c0a16 37862 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxSizer, 0) == -1) {
d14a1e28
RD
37863 _v = 0;
37864 PyErr_Clear();
37865 } else {
37866 _v = 1;
37867 }
37868 }
37869 if (_v) {
37870 return _wrap_GridBagSizer_FindItem__SWIG_1(self,args);
37871 }
37872 }
37873 }
37874
37875 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_FindItem'");
37876 return NULL;
37877}
37878
37879
37880static PyObject *_wrap_GridBagSizer_FindItemAtPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
37881 PyObject *resultobj;
37882 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37883 wxGBPosition *arg2 = 0 ;
37884 wxGBSizerItem *result;
37885 wxGBPosition temp2 ;
37886 PyObject * obj0 = 0 ;
37887 PyObject * obj1 = 0 ;
37888 char *kwnames[] = {
37889 (char *) "self",(char *) "pos", NULL
37890 };
37891
37892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37893 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37894 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37895 {
37896 arg2 = &temp2;
37897 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
37898 }
37899 {
37900 PyThreadState* __tstate = wxPyBeginAllowThreads();
37901 result = (wxGBSizerItem *)(arg1)->FindItemAtPosition((wxGBPosition const &)*arg2);
37902
37903 wxPyEndAllowThreads(__tstate);
37904 if (PyErr_Occurred()) SWIG_fail;
37905 }
2f4c0a16 37906 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
37907 return resultobj;
37908 fail:
37909 return NULL;
37910}
37911
37912
423f194a
RD
37913static PyObject *_wrap_GridBagSizer_FindItemAtPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
37914 PyObject *resultobj;
37915 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37916 wxPoint *arg2 = 0 ;
37917 wxGBSizerItem *result;
37918 wxPoint temp2 ;
37919 PyObject * obj0 = 0 ;
37920 PyObject * obj1 = 0 ;
37921 char *kwnames[] = {
37922 (char *) "self",(char *) "pt", NULL
37923 };
37924
37925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37926 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37927 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
423f194a
RD
37928 {
37929 arg2 = &temp2;
37930 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
37931 }
37932 {
37933 PyThreadState* __tstate = wxPyBeginAllowThreads();
37934 result = (wxGBSizerItem *)(arg1)->FindItemAtPoint((wxPoint const &)*arg2);
37935
37936 wxPyEndAllowThreads(__tstate);
37937 if (PyErr_Occurred()) SWIG_fail;
37938 }
2f4c0a16 37939 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
423f194a
RD
37940 return resultobj;
37941 fail:
37942 return NULL;
37943}
37944
37945
d14a1e28
RD
37946static PyObject *_wrap_GridBagSizer_FindItemWithData(PyObject *self, PyObject *args, PyObject *kwargs) {
37947 PyObject *resultobj;
37948 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37949 wxObject *arg2 = (wxObject *) 0 ;
37950 wxGBSizerItem *result;
37951 PyObject * obj0 = 0 ;
37952 PyObject * obj1 = 0 ;
37953 char *kwnames[] = {
37954 (char *) "self",(char *) "userData", NULL
37955 };
37956
37957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GridBagSizer_FindItemWithData",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
37958 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37959 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
37960 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxObject,
37961 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37962 {
37963 PyThreadState* __tstate = wxPyBeginAllowThreads();
37964 result = (wxGBSizerItem *)(arg1)->FindItemWithData((wxObject const *)arg2);
37965
37966 wxPyEndAllowThreads(__tstate);
37967 if (PyErr_Occurred()) SWIG_fail;
37968 }
2f4c0a16 37969 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxGBSizerItem, 0);
d14a1e28
RD
37970 return resultobj;
37971 fail:
37972 return NULL;
37973}
37974
37975
37976static PyObject *_wrap_GridBagSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
37977 PyObject *resultobj;
37978 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
37979 PyObject * obj0 = 0 ;
37980 char *kwnames[] = {
37981 (char *) "self", NULL
37982 };
37983
37984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_RecalcSizes",kwnames,&obj0)) goto fail;
2f4c0a16
RD
37985 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
37986 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
37987 {
37988 PyThreadState* __tstate = wxPyBeginAllowThreads();
37989 (arg1)->RecalcSizes();
37990
37991 wxPyEndAllowThreads(__tstate);
37992 if (PyErr_Occurred()) SWIG_fail;
37993 }
37994 Py_INCREF(Py_None); resultobj = Py_None;
37995 return resultobj;
37996 fail:
37997 return NULL;
37998}
37999
38000
38001static PyObject *_wrap_GridBagSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
38002 PyObject *resultobj;
38003 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38004 wxSize result;
38005 PyObject * obj0 = 0 ;
38006 char *kwnames[] = {
38007 (char *) "self", NULL
38008 };
38009
38010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GridBagSizer_CalcMin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38011 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38012 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38013 {
38014 PyThreadState* __tstate = wxPyBeginAllowThreads();
38015 result = (arg1)->CalcMin();
38016
38017 wxPyEndAllowThreads(__tstate);
38018 if (PyErr_Occurred()) SWIG_fail;
38019 }
38020 {
38021 wxSize * resultptr;
38022 resultptr = new wxSize((wxSize &) result);
2f4c0a16 38023 resultobj = SWIG_NewPointerObj((void *)(resultptr), SWIGTYPE_p_wxSize, 1);
d14a1e28
RD
38024 }
38025 return resultobj;
38026 fail:
38027 return NULL;
38028}
38029
38030
38031static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject *self, PyObject *args) {
38032 PyObject *resultobj;
38033 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38034 wxGBSizerItem *arg2 = (wxGBSizerItem *) 0 ;
38035 wxGBSizerItem *arg3 = (wxGBSizerItem *) NULL ;
38036 bool result;
38037 PyObject * obj0 = 0 ;
38038 PyObject * obj1 = 0 ;
38039 PyObject * obj2 = 0 ;
38040
38041 if(!PyArg_ParseTuple(args,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38042 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38043 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38044 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxGBSizerItem,
38045 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28 38046 if (obj2) {
2f4c0a16
RD
38047 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxGBSizerItem,
38048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38049 }
38050 {
38051 PyThreadState* __tstate = wxPyBeginAllowThreads();
38052 result = (bool)(arg1)->CheckForIntersection(arg2,arg3);
38053
38054 wxPyEndAllowThreads(__tstate);
38055 if (PyErr_Occurred()) SWIG_fail;
38056 }
4e760a36 38057 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38058 return resultobj;
38059 fail:
38060 return NULL;
38061}
38062
38063
38064static PyObject *_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject *self, PyObject *args) {
38065 PyObject *resultobj;
38066 wxGridBagSizer *arg1 = (wxGridBagSizer *) 0 ;
38067 wxGBPosition *arg2 = 0 ;
38068 wxGBSpan *arg3 = 0 ;
38069 wxGBSizerItem *arg4 = (wxGBSizerItem *) NULL ;
38070 bool result;
38071 wxGBPosition temp2 ;
38072 wxGBSpan temp3 ;
38073 PyObject * obj0 = 0 ;
38074 PyObject * obj1 = 0 ;
38075 PyObject * obj2 = 0 ;
38076 PyObject * obj3 = 0 ;
38077
38078 if(!PyArg_ParseTuple(args,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
38079 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxGridBagSizer,
38080 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38081 {
38082 arg2 = &temp2;
38083 if ( ! wxGBPosition_helper(obj1, &arg2)) SWIG_fail;
38084 }
38085 {
38086 arg3 = &temp3;
38087 if ( ! wxGBSpan_helper(obj2, &arg3)) SWIG_fail;
38088 }
38089 if (obj3) {
2f4c0a16
RD
38090 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxGBSizerItem,
38091 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38092 }
38093 {
38094 PyThreadState* __tstate = wxPyBeginAllowThreads();
38095 result = (bool)(arg1)->CheckForIntersection((wxGBPosition const &)*arg2,(wxGBSpan const &)*arg3,arg4);
38096
38097 wxPyEndAllowThreads(__tstate);
38098 if (PyErr_Occurred()) SWIG_fail;
38099 }
4e760a36 38100 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38101 return resultobj;
38102 fail:
38103 return NULL;
38104}
38105
38106
38107static PyObject *_wrap_GridBagSizer_CheckForIntersection(PyObject *self, PyObject *args) {
38108 int argc;
38109 PyObject *argv[5];
38110 int ii;
38111
38112 argc = PyObject_Length(args);
38113 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
38114 argv[ii] = PyTuple_GetItem(args,ii);
38115 }
38116 if ((argc >= 2) && (argc <= 3)) {
38117 int _v;
38118 {
38119 void *ptr;
2f4c0a16 38120 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38121 _v = 0;
38122 PyErr_Clear();
38123 } else {
38124 _v = 1;
38125 }
38126 }
38127 if (_v) {
38128 {
38129 void *ptr;
2f4c0a16 38130 if (SWIG_ConvertPtr(argv[1], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
38131 _v = 0;
38132 PyErr_Clear();
38133 } else {
38134 _v = 1;
38135 }
38136 }
38137 if (_v) {
38138 if (argc <= 2) {
38139 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
38140 }
38141 {
38142 void *ptr;
2f4c0a16 38143 if (SWIG_ConvertPtr(argv[2], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
38144 _v = 0;
38145 PyErr_Clear();
38146 } else {
38147 _v = 1;
38148 }
38149 }
38150 if (_v) {
38151 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self,args);
38152 }
38153 }
38154 }
38155 }
38156 if ((argc >= 3) && (argc <= 4)) {
38157 int _v;
38158 {
38159 void *ptr;
2f4c0a16 38160 if (SWIG_ConvertPtr(argv[0], &ptr, SWIGTYPE_p_wxGridBagSizer, 0) == -1) {
d14a1e28
RD
38161 _v = 0;
38162 PyErr_Clear();
38163 } else {
38164 _v = 1;
38165 }
38166 }
38167 if (_v) {
38168 {
38169 _v = wxPySimple_typecheck(argv[1], wxT("wxGBPosition"), 2);
38170 }
38171 if (_v) {
38172 {
38173 _v = wxPySimple_typecheck(argv[2], wxT("wxGBSpan"), 2);
38174 }
38175 if (_v) {
38176 if (argc <= 3) {
38177 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
38178 }
38179 {
38180 void *ptr;
2f4c0a16 38181 if (SWIG_ConvertPtr(argv[3], &ptr, SWIGTYPE_p_wxGBSizerItem, 0) == -1) {
d14a1e28
RD
38182 _v = 0;
38183 PyErr_Clear();
38184 } else {
38185 _v = 1;
38186 }
38187 }
38188 if (_v) {
38189 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self,args);
38190 }
38191 }
38192 }
38193 }
38194 }
38195
38196 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
38197 return NULL;
38198}
38199
38200
38201static PyObject * GridBagSizer_swigregister(PyObject *self, PyObject *args) {
38202 PyObject *obj;
38203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
38204 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer, obj);
38205 Py_INCREF(obj);
38206 return Py_BuildValue((char *)"");
38207}
38208static PyObject *_wrap_IndividualLayoutConstraint_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
38209 PyObject *resultobj;
38210 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38211 int arg2 ;
38212 wxWindow *arg3 = (wxWindow *) 0 ;
38213 int arg4 ;
38214 int arg5 = (int) 0 ;
38215 int arg6 = (int) wxLAYOUT_DEFAULT_MARGIN ;
38216 PyObject * obj0 = 0 ;
8edf1c75 38217 PyObject * obj1 = 0 ;
d14a1e28 38218 PyObject * obj2 = 0 ;
8edf1c75
RD
38219 PyObject * obj3 = 0 ;
38220 PyObject * obj4 = 0 ;
38221 PyObject * obj5 = 0 ;
d14a1e28
RD
38222 char *kwnames[] = {
38223 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38224 };
38225
8edf1c75 38226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
2f4c0a16
RD
38227 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38228 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38229 arg2 = (wxRelationship) SWIG_AsInt(obj1);
38230 if (PyErr_Occurred()) SWIG_fail;
38231 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38232 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38233 arg4 = (wxEdge) SWIG_AsInt(obj3);
38234 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 38235 if (obj4) {
2f4c0a16
RD
38236 arg5 = (int) SWIG_AsInt(obj4);
38237 if (PyErr_Occurred()) SWIG_fail;
8edf1c75
RD
38238 }
38239 if (obj5) {
2f4c0a16
RD
38240 arg6 = (int) SWIG_AsInt(obj5);
38241 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 38242 }
d14a1e28
RD
38243 {
38244 PyThreadState* __tstate = wxPyBeginAllowThreads();
38245 (arg1)->Set((wxRelationship )arg2,arg3,(wxEdge )arg4,arg5,arg6);
38246
38247 wxPyEndAllowThreads(__tstate);
38248 if (PyErr_Occurred()) SWIG_fail;
38249 }
38250 Py_INCREF(Py_None); resultobj = Py_None;
38251 return resultobj;
38252 fail:
38253 return NULL;
38254}
38255
38256
38257static PyObject *_wrap_IndividualLayoutConstraint_LeftOf(PyObject *self, PyObject *args, PyObject *kwargs) {
38258 PyObject *resultobj;
38259 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38260 wxWindow *arg2 = (wxWindow *) 0 ;
38261 int arg3 = (int) 0 ;
38262 PyObject * obj0 = 0 ;
38263 PyObject * obj1 = 0 ;
8edf1c75 38264 PyObject * obj2 = 0 ;
d14a1e28
RD
38265 char *kwnames[] = {
38266 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38267 };
38268
8edf1c75 38269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38270 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38271 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38272 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38273 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 38274 if (obj2) {
2f4c0a16
RD
38275 arg3 = (int) SWIG_AsInt(obj2);
38276 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 38277 }
d14a1e28
RD
38278 {
38279 PyThreadState* __tstate = wxPyBeginAllowThreads();
38280 (arg1)->LeftOf(arg2,arg3);
38281
38282 wxPyEndAllowThreads(__tstate);
38283 if (PyErr_Occurred()) SWIG_fail;
38284 }
38285 Py_INCREF(Py_None); resultobj = Py_None;
38286 return resultobj;
38287 fail:
38288 return NULL;
38289}
38290
38291
38292static PyObject *_wrap_IndividualLayoutConstraint_RightOf(PyObject *self, PyObject *args, PyObject *kwargs) {
38293 PyObject *resultobj;
38294 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38295 wxWindow *arg2 = (wxWindow *) 0 ;
38296 int arg3 = (int) 0 ;
38297 PyObject * obj0 = 0 ;
38298 PyObject * obj1 = 0 ;
8edf1c75 38299 PyObject * obj2 = 0 ;
d14a1e28
RD
38300 char *kwnames[] = {
38301 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38302 };
38303
8edf1c75 38304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38305 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38306 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38307 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38308 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 38309 if (obj2) {
2f4c0a16
RD
38310 arg3 = (int) SWIG_AsInt(obj2);
38311 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 38312 }
d14a1e28
RD
38313 {
38314 PyThreadState* __tstate = wxPyBeginAllowThreads();
38315 (arg1)->RightOf(arg2,arg3);
38316
38317 wxPyEndAllowThreads(__tstate);
38318 if (PyErr_Occurred()) SWIG_fail;
38319 }
38320 Py_INCREF(Py_None); resultobj = Py_None;
38321 return resultobj;
38322 fail:
38323 return NULL;
38324}
38325
38326
38327static PyObject *_wrap_IndividualLayoutConstraint_Above(PyObject *self, PyObject *args, PyObject *kwargs) {
38328 PyObject *resultobj;
38329 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38330 wxWindow *arg2 = (wxWindow *) 0 ;
38331 int arg3 = (int) 0 ;
38332 PyObject * obj0 = 0 ;
38333 PyObject * obj1 = 0 ;
8edf1c75 38334 PyObject * obj2 = 0 ;
d14a1e28
RD
38335 char *kwnames[] = {
38336 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38337 };
38338
8edf1c75 38339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38340 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38341 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38342 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38343 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 38344 if (obj2) {
2f4c0a16
RD
38345 arg3 = (int) SWIG_AsInt(obj2);
38346 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 38347 }
d14a1e28
RD
38348 {
38349 PyThreadState* __tstate = wxPyBeginAllowThreads();
38350 (arg1)->Above(arg2,arg3);
38351
38352 wxPyEndAllowThreads(__tstate);
38353 if (PyErr_Occurred()) SWIG_fail;
38354 }
38355 Py_INCREF(Py_None); resultobj = Py_None;
38356 return resultobj;
38357 fail:
38358 return NULL;
38359}
38360
38361
38362static PyObject *_wrap_IndividualLayoutConstraint_Below(PyObject *self, PyObject *args, PyObject *kwargs) {
38363 PyObject *resultobj;
38364 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38365 wxWindow *arg2 = (wxWindow *) 0 ;
38366 int arg3 = (int) 0 ;
38367 PyObject * obj0 = 0 ;
38368 PyObject * obj1 = 0 ;
8edf1c75 38369 PyObject * obj2 = 0 ;
d14a1e28
RD
38370 char *kwnames[] = {
38371 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38372 };
38373
8edf1c75 38374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38375 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38376 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38377 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38378 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
8edf1c75 38379 if (obj2) {
2f4c0a16
RD
38380 arg3 = (int) SWIG_AsInt(obj2);
38381 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 38382 }
d14a1e28
RD
38383 {
38384 PyThreadState* __tstate = wxPyBeginAllowThreads();
38385 (arg1)->Below(arg2,arg3);
38386
38387 wxPyEndAllowThreads(__tstate);
38388 if (PyErr_Occurred()) SWIG_fail;
38389 }
38390 Py_INCREF(Py_None); resultobj = Py_None;
38391 return resultobj;
38392 fail:
38393 return NULL;
38394}
38395
38396
38397static PyObject *_wrap_IndividualLayoutConstraint_SameAs(PyObject *self, PyObject *args, PyObject *kwargs) {
38398 PyObject *resultobj;
38399 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38400 wxWindow *arg2 = (wxWindow *) 0 ;
38401 int arg3 ;
38402 int arg4 = (int) 0 ;
38403 PyObject * obj0 = 0 ;
38404 PyObject * obj1 = 0 ;
8edf1c75
RD
38405 PyObject * obj2 = 0 ;
38406 PyObject * obj3 = 0 ;
d14a1e28
RD
38407 char *kwnames[] = {
38408 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
38409 };
38410
8edf1c75 38411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
38412 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38413 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38414 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38415 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38416 arg3 = (wxEdge) SWIG_AsInt(obj2);
38417 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 38418 if (obj3) {
2f4c0a16
RD
38419 arg4 = (int) SWIG_AsInt(obj3);
38420 if (PyErr_Occurred()) SWIG_fail;
8edf1c75 38421 }
d14a1e28
RD
38422 {
38423 PyThreadState* __tstate = wxPyBeginAllowThreads();
38424 (arg1)->SameAs(arg2,(wxEdge )arg3,arg4);
38425
38426 wxPyEndAllowThreads(__tstate);
38427 if (PyErr_Occurred()) SWIG_fail;
38428 }
38429 Py_INCREF(Py_None); resultobj = Py_None;
38430 return resultobj;
38431 fail:
38432 return NULL;
38433}
38434
38435
38436static PyObject *_wrap_IndividualLayoutConstraint_PercentOf(PyObject *self, PyObject *args, PyObject *kwargs) {
38437 PyObject *resultobj;
38438 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38439 wxWindow *arg2 = (wxWindow *) 0 ;
38440 int arg3 ;
38441 int arg4 ;
38442 PyObject * obj0 = 0 ;
38443 PyObject * obj1 = 0 ;
8edf1c75
RD
38444 PyObject * obj2 = 0 ;
38445 PyObject * obj3 = 0 ;
d14a1e28
RD
38446 char *kwnames[] = {
38447 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
38448 };
38449
8edf1c75 38450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
38451 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38452 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38453 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38454 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38455 arg3 = (wxEdge) SWIG_AsInt(obj2);
38456 if (PyErr_Occurred()) SWIG_fail;
38457 arg4 = (int) SWIG_AsInt(obj3);
38458 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38459 {
38460 PyThreadState* __tstate = wxPyBeginAllowThreads();
38461 (arg1)->PercentOf(arg2,(wxEdge )arg3,arg4);
38462
38463 wxPyEndAllowThreads(__tstate);
38464 if (PyErr_Occurred()) SWIG_fail;
38465 }
38466 Py_INCREF(Py_None); resultobj = Py_None;
38467 return resultobj;
38468 fail:
38469 return NULL;
38470}
38471
38472
38473static PyObject *_wrap_IndividualLayoutConstraint_Absolute(PyObject *self, PyObject *args, PyObject *kwargs) {
38474 PyObject *resultobj;
38475 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38476 int arg2 ;
38477 PyObject * obj0 = 0 ;
8edf1c75 38478 PyObject * obj1 = 0 ;
d14a1e28
RD
38479 char *kwnames[] = {
38480 (char *) "self",(char *) "val", NULL
38481 };
38482
8edf1c75 38483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38484 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38485 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38486 arg2 = (int) SWIG_AsInt(obj1);
38487 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38488 {
38489 PyThreadState* __tstate = wxPyBeginAllowThreads();
38490 (arg1)->Absolute(arg2);
38491
38492 wxPyEndAllowThreads(__tstate);
38493 if (PyErr_Occurred()) SWIG_fail;
38494 }
38495 Py_INCREF(Py_None); resultobj = Py_None;
38496 return resultobj;
38497 fail:
38498 return NULL;
38499}
38500
38501
38502static PyObject *_wrap_IndividualLayoutConstraint_Unconstrained(PyObject *self, PyObject *args, PyObject *kwargs) {
38503 PyObject *resultobj;
38504 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38505 PyObject * obj0 = 0 ;
38506 char *kwnames[] = {
38507 (char *) "self", NULL
38508 };
38509
38510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38511 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38512 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38513 {
38514 PyThreadState* __tstate = wxPyBeginAllowThreads();
38515 (arg1)->Unconstrained();
38516
38517 wxPyEndAllowThreads(__tstate);
38518 if (PyErr_Occurred()) SWIG_fail;
38519 }
38520 Py_INCREF(Py_None); resultobj = Py_None;
38521 return resultobj;
38522 fail:
38523 return NULL;
38524}
38525
38526
38527static PyObject *_wrap_IndividualLayoutConstraint_AsIs(PyObject *self, PyObject *args, PyObject *kwargs) {
38528 PyObject *resultobj;
38529 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38530 PyObject * obj0 = 0 ;
38531 char *kwnames[] = {
38532 (char *) "self", NULL
38533 };
38534
38535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38536 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38537 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38538 {
38539 PyThreadState* __tstate = wxPyBeginAllowThreads();
38540 (arg1)->AsIs();
38541
38542 wxPyEndAllowThreads(__tstate);
38543 if (PyErr_Occurred()) SWIG_fail;
38544 }
38545 Py_INCREF(Py_None); resultobj = Py_None;
38546 return resultobj;
38547 fail:
38548 return NULL;
38549}
38550
38551
38552static PyObject *_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
38553 PyObject *resultobj;
38554 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38555 wxWindow *result;
38556 PyObject * obj0 = 0 ;
38557 char *kwnames[] = {
38558 (char *) "self", NULL
38559 };
38560
38561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38562 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38563 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38564 {
38565 PyThreadState* __tstate = wxPyBeginAllowThreads();
38566 result = (wxWindow *)(arg1)->GetOtherWindow();
38567
38568 wxPyEndAllowThreads(__tstate);
38569 if (PyErr_Occurred()) SWIG_fail;
38570 }
38571 {
38572 resultobj = wxPyMake_wxObject(result);
38573 }
38574 return resultobj;
38575 fail:
38576 return NULL;
38577}
38578
38579
38580static PyObject *_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
38581 PyObject *resultobj;
38582 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38583 int result;
38584 PyObject * obj0 = 0 ;
38585 char *kwnames[] = {
38586 (char *) "self", NULL
38587 };
38588
38589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38590 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38591 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38592 {
38593 PyThreadState* __tstate = wxPyBeginAllowThreads();
38594 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetMyEdge();
38595
38596 wxPyEndAllowThreads(__tstate);
38597 if (PyErr_Occurred()) SWIG_fail;
38598 }
2f4c0a16 38599 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38600 return resultobj;
38601 fail:
38602 return NULL;
38603}
38604
38605
38606static PyObject *_wrap_IndividualLayoutConstraint_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
38607 PyObject *resultobj;
38608 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38609 int arg2 ;
38610 PyObject * obj0 = 0 ;
8edf1c75 38611 PyObject * obj1 = 0 ;
d14a1e28
RD
38612 char *kwnames[] = {
38613 (char *) "self",(char *) "which", NULL
38614 };
38615
8edf1c75 38616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38617 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38618 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38619 arg2 = (wxEdge) SWIG_AsInt(obj1);
38620 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38621 {
38622 PyThreadState* __tstate = wxPyBeginAllowThreads();
38623 (arg1)->SetEdge((wxEdge )arg2);
38624
38625 wxPyEndAllowThreads(__tstate);
38626 if (PyErr_Occurred()) SWIG_fail;
38627 }
38628 Py_INCREF(Py_None); resultobj = Py_None;
38629 return resultobj;
38630 fail:
38631 return NULL;
38632}
38633
38634
38635static PyObject *_wrap_IndividualLayoutConstraint_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
38636 PyObject *resultobj;
38637 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38638 int arg2 ;
38639 PyObject * obj0 = 0 ;
8edf1c75 38640 PyObject * obj1 = 0 ;
d14a1e28
RD
38641 char *kwnames[] = {
38642 (char *) "self",(char *) "v", NULL
38643 };
38644
8edf1c75 38645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38646 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38647 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38648 arg2 = (int) SWIG_AsInt(obj1);
38649 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38650 {
38651 PyThreadState* __tstate = wxPyBeginAllowThreads();
38652 (arg1)->SetValue(arg2);
38653
38654 wxPyEndAllowThreads(__tstate);
38655 if (PyErr_Occurred()) SWIG_fail;
38656 }
38657 Py_INCREF(Py_None); resultobj = Py_None;
38658 return resultobj;
38659 fail:
38660 return NULL;
38661}
38662
38663
38664static PyObject *_wrap_IndividualLayoutConstraint_GetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
38665 PyObject *resultobj;
38666 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38667 int result;
38668 PyObject * obj0 = 0 ;
38669 char *kwnames[] = {
38670 (char *) "self", NULL
38671 };
38672
38673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38674 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38675 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38676 {
38677 PyThreadState* __tstate = wxPyBeginAllowThreads();
38678 result = (int)(arg1)->GetMargin();
38679
38680 wxPyEndAllowThreads(__tstate);
38681 if (PyErr_Occurred()) SWIG_fail;
38682 }
2f4c0a16 38683 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38684 return resultobj;
38685 fail:
38686 return NULL;
38687}
38688
38689
38690static PyObject *_wrap_IndividualLayoutConstraint_SetMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
38691 PyObject *resultobj;
38692 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38693 int arg2 ;
38694 PyObject * obj0 = 0 ;
8edf1c75 38695 PyObject * obj1 = 0 ;
d14a1e28
RD
38696 char *kwnames[] = {
38697 (char *) "self",(char *) "m", NULL
38698 };
38699
8edf1c75 38700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38701 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38702 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38703 arg2 = (int) SWIG_AsInt(obj1);
38704 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38705 {
38706 PyThreadState* __tstate = wxPyBeginAllowThreads();
38707 (arg1)->SetMargin(arg2);
38708
38709 wxPyEndAllowThreads(__tstate);
38710 if (PyErr_Occurred()) SWIG_fail;
38711 }
38712 Py_INCREF(Py_None); resultobj = Py_None;
38713 return resultobj;
38714 fail:
38715 return NULL;
38716}
38717
38718
38719static PyObject *_wrap_IndividualLayoutConstraint_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
38720 PyObject *resultobj;
38721 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38722 int result;
38723 PyObject * obj0 = 0 ;
38724 char *kwnames[] = {
38725 (char *) "self", NULL
38726 };
38727
38728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38729 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38730 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38731 {
38732 PyThreadState* __tstate = wxPyBeginAllowThreads();
38733 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetValue();
38734
38735 wxPyEndAllowThreads(__tstate);
38736 if (PyErr_Occurred()) SWIG_fail;
38737 }
2f4c0a16 38738 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38739 return resultobj;
38740 fail:
38741 return NULL;
38742}
38743
38744
38745static PyObject *_wrap_IndividualLayoutConstraint_GetPercent(PyObject *self, PyObject *args, PyObject *kwargs) {
38746 PyObject *resultobj;
38747 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38748 int result;
38749 PyObject * obj0 = 0 ;
38750 char *kwnames[] = {
38751 (char *) "self", NULL
38752 };
38753
38754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38755 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38756 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38757 {
38758 PyThreadState* __tstate = wxPyBeginAllowThreads();
38759 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetPercent();
38760
38761 wxPyEndAllowThreads(__tstate);
38762 if (PyErr_Occurred()) SWIG_fail;
38763 }
2f4c0a16 38764 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38765 return resultobj;
38766 fail:
38767 return NULL;
38768}
38769
38770
38771static PyObject *_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
38772 PyObject *resultobj;
38773 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38774 int result;
38775 PyObject * obj0 = 0 ;
38776 char *kwnames[] = {
38777 (char *) "self", NULL
38778 };
38779
38780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38781 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38782 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38783 {
38784 PyThreadState* __tstate = wxPyBeginAllowThreads();
38785 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetOtherEdge();
38786
38787 wxPyEndAllowThreads(__tstate);
38788 if (PyErr_Occurred()) SWIG_fail;
38789 }
2f4c0a16 38790 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38791 return resultobj;
38792 fail:
38793 return NULL;
38794}
38795
38796
38797static PyObject *_wrap_IndividualLayoutConstraint_GetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
38798 PyObject *resultobj;
38799 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38800 bool result;
38801 PyObject * obj0 = 0 ;
38802 char *kwnames[] = {
38803 (char *) "self", NULL
38804 };
38805
38806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38807 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38808 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38809 {
38810 PyThreadState* __tstate = wxPyBeginAllowThreads();
38811 result = (bool)((wxIndividualLayoutConstraint const *)arg1)->GetDone();
38812
38813 wxPyEndAllowThreads(__tstate);
38814 if (PyErr_Occurred()) SWIG_fail;
38815 }
4e760a36 38816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38817 return resultobj;
38818 fail:
38819 return NULL;
38820}
38821
38822
38823static PyObject *_wrap_IndividualLayoutConstraint_SetDone(PyObject *self, PyObject *args, PyObject *kwargs) {
38824 PyObject *resultobj;
38825 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38826 bool arg2 ;
38827 PyObject * obj0 = 0 ;
38828 PyObject * obj1 = 0 ;
38829 char *kwnames[] = {
38830 (char *) "self",(char *) "d", NULL
38831 };
38832
38833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38834 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38835 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38836 arg2 = (bool) SWIG_AsBool(obj1);
38837 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38838 {
38839 PyThreadState* __tstate = wxPyBeginAllowThreads();
38840 (arg1)->SetDone(arg2);
38841
38842 wxPyEndAllowThreads(__tstate);
38843 if (PyErr_Occurred()) SWIG_fail;
38844 }
38845 Py_INCREF(Py_None); resultobj = Py_None;
38846 return resultobj;
38847 fail:
38848 return NULL;
38849}
38850
38851
38852static PyObject *_wrap_IndividualLayoutConstraint_GetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
38853 PyObject *resultobj;
38854 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38855 int result;
38856 PyObject * obj0 = 0 ;
38857 char *kwnames[] = {
38858 (char *) "self", NULL
38859 };
38860
38861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames,&obj0)) goto fail;
2f4c0a16
RD
38862 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38863 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38864 {
38865 PyThreadState* __tstate = wxPyBeginAllowThreads();
38866 result = (int)(arg1)->GetRelationship();
38867
38868 wxPyEndAllowThreads(__tstate);
38869 if (PyErr_Occurred()) SWIG_fail;
38870 }
2f4c0a16 38871 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
38872 return resultobj;
38873 fail:
38874 return NULL;
38875}
38876
38877
38878static PyObject *_wrap_IndividualLayoutConstraint_SetRelationship(PyObject *self, PyObject *args, PyObject *kwargs) {
38879 PyObject *resultobj;
38880 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38881 int arg2 ;
38882 PyObject * obj0 = 0 ;
8edf1c75 38883 PyObject * obj1 = 0 ;
d14a1e28
RD
38884 char *kwnames[] = {
38885 (char *) "self",(char *) "r", NULL
38886 };
38887
8edf1c75 38888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38889 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38890 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38891 arg2 = (wxRelationship) SWIG_AsInt(obj1);
38892 if (PyErr_Occurred()) SWIG_fail;
d14a1e28
RD
38893 {
38894 PyThreadState* __tstate = wxPyBeginAllowThreads();
38895 (arg1)->SetRelationship((wxRelationship )arg2);
38896
38897 wxPyEndAllowThreads(__tstate);
38898 if (PyErr_Occurred()) SWIG_fail;
38899 }
38900 Py_INCREF(Py_None); resultobj = Py_None;
38901 return resultobj;
38902 fail:
38903 return NULL;
38904}
38905
38906
38907static PyObject *_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject *self, PyObject *args, PyObject *kwargs) {
38908 PyObject *resultobj;
38909 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38910 wxWindow *arg2 = (wxWindow *) 0 ;
38911 bool result;
38912 PyObject * obj0 = 0 ;
38913 PyObject * obj1 = 0 ;
38914 char *kwnames[] = {
38915 (char *) "self",(char *) "otherW", NULL
38916 };
38917
38918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
38919 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38920 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38921 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
38922 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38923 {
38924 PyThreadState* __tstate = wxPyBeginAllowThreads();
38925 result = (bool)(arg1)->ResetIfWin(arg2);
38926
38927 wxPyEndAllowThreads(__tstate);
38928 if (PyErr_Occurred()) SWIG_fail;
38929 }
4e760a36 38930 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38931 return resultobj;
38932 fail:
38933 return NULL;
38934}
38935
38936
38937static PyObject *_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject *self, PyObject *args, PyObject *kwargs) {
38938 PyObject *resultobj;
38939 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38940 wxLayoutConstraints *arg2 = (wxLayoutConstraints *) 0 ;
38941 wxWindow *arg3 = (wxWindow *) 0 ;
38942 bool result;
38943 PyObject * obj0 = 0 ;
38944 PyObject * obj1 = 0 ;
38945 PyObject * obj2 = 0 ;
38946 char *kwnames[] = {
38947 (char *) "self",(char *) "constraints",(char *) "win", NULL
38948 };
38949
38950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames,&obj0,&obj1,&obj2)) goto fail;
2f4c0a16
RD
38951 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38952 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38953 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxLayoutConstraints,
38954 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38955 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38956 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38957 {
38958 PyThreadState* __tstate = wxPyBeginAllowThreads();
38959 result = (bool)(arg1)->SatisfyConstraint(arg2,arg3);
38960
38961 wxPyEndAllowThreads(__tstate);
38962 if (PyErr_Occurred()) SWIG_fail;
38963 }
4e760a36 38964 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
38965 return resultobj;
38966 fail:
38967 return NULL;
38968}
38969
38970
38971static PyObject *_wrap_IndividualLayoutConstraint_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
38972 PyObject *resultobj;
38973 wxIndividualLayoutConstraint *arg1 = (wxIndividualLayoutConstraint *) 0 ;
38974 int arg2 ;
38975 wxWindow *arg3 = (wxWindow *) 0 ;
38976 wxWindow *arg4 = (wxWindow *) 0 ;
38977 int result;
38978 PyObject * obj0 = 0 ;
8edf1c75 38979 PyObject * obj1 = 0 ;
d14a1e28
RD
38980 PyObject * obj2 = 0 ;
38981 PyObject * obj3 = 0 ;
38982 char *kwnames[] = {
38983 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38984 };
38985
8edf1c75 38986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
2f4c0a16
RD
38987 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxIndividualLayoutConstraint,
38988 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38989 arg2 = (wxEdge) SWIG_AsInt(obj1);
38990 if (PyErr_Occurred()) SWIG_fail;
38991 if ((SWIG_ConvertPtr(obj2,(void **)(&arg3),SWIGTYPE_p_wxWindow,
38992 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
38993 if ((SWIG_ConvertPtr(obj3,(void **)(&arg4),SWIGTYPE_p_wxWindow,
38994 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
38995 {
38996 PyThreadState* __tstate = wxPyBeginAllowThreads();
38997 result = (int)((wxIndividualLayoutConstraint const *)arg1)->GetEdge((wxEdge )arg2,arg3,arg4);
38998
38999 wxPyEndAllowThreads(__tstate);
39000 if (PyErr_Occurred()) SWIG_fail;
39001 }
2f4c0a16 39002 resultobj = SWIG_FromInt((int)result);
d14a1e28
RD
39003 return resultobj;
39004 fail:
39005 return NULL;
39006}
39007
39008
39009static PyObject * IndividualLayoutConstraint_swigregister(PyObject *self, PyObject *args) {
39010 PyObject *obj;
39011 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39012 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint, obj);
39013 Py_INCREF(obj);
39014 return Py_BuildValue((char *)"");
39015}
39016static PyObject *_wrap_LayoutConstraints_left_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39017 PyObject *resultobj;
39018 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39019 wxIndividualLayoutConstraint *result;
39020 PyObject * obj0 = 0 ;
39021 char *kwnames[] = {
39022 (char *) "self", NULL
39023 };
39024
39025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_left_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39026 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39027 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39028 result = (wxIndividualLayoutConstraint *)& ((arg1)->left);
39029
2f4c0a16 39030 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39031 return resultobj;
39032 fail:
39033 return NULL;
39034}
39035
39036
39037static PyObject *_wrap_LayoutConstraints_top_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39038 PyObject *resultobj;
39039 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39040 wxIndividualLayoutConstraint *result;
39041 PyObject * obj0 = 0 ;
39042 char *kwnames[] = {
39043 (char *) "self", NULL
39044 };
39045
39046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_top_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39047 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39048 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39049 result = (wxIndividualLayoutConstraint *)& ((arg1)->top);
39050
2f4c0a16 39051 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39052 return resultobj;
39053 fail:
39054 return NULL;
39055}
39056
39057
39058static PyObject *_wrap_LayoutConstraints_right_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39059 PyObject *resultobj;
39060 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39061 wxIndividualLayoutConstraint *result;
39062 PyObject * obj0 = 0 ;
39063 char *kwnames[] = {
39064 (char *) "self", NULL
39065 };
39066
39067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_right_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39068 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39069 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39070 result = (wxIndividualLayoutConstraint *)& ((arg1)->right);
39071
2f4c0a16 39072 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39073 return resultobj;
39074 fail:
39075 return NULL;
39076}
39077
39078
39079static PyObject *_wrap_LayoutConstraints_bottom_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39080 PyObject *resultobj;
39081 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39082 wxIndividualLayoutConstraint *result;
39083 PyObject * obj0 = 0 ;
39084 char *kwnames[] = {
39085 (char *) "self", NULL
39086 };
39087
39088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_bottom_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39089 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39090 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39091 result = (wxIndividualLayoutConstraint *)& ((arg1)->bottom);
39092
2f4c0a16 39093 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39094 return resultobj;
39095 fail:
39096 return NULL;
39097}
39098
39099
39100static PyObject *_wrap_LayoutConstraints_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39101 PyObject *resultobj;
39102 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39103 wxIndividualLayoutConstraint *result;
39104 PyObject * obj0 = 0 ;
39105 char *kwnames[] = {
39106 (char *) "self", NULL
39107 };
39108
39109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_width_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39110 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39111 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39112 result = (wxIndividualLayoutConstraint *)& ((arg1)->width);
39113
2f4c0a16 39114 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39115 return resultobj;
39116 fail:
39117 return NULL;
39118}
39119
39120
39121static PyObject *_wrap_LayoutConstraints_height_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39122 PyObject *resultobj;
39123 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39124 wxIndividualLayoutConstraint *result;
39125 PyObject * obj0 = 0 ;
39126 char *kwnames[] = {
39127 (char *) "self", NULL
39128 };
39129
39130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_height_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39131 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39132 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39133 result = (wxIndividualLayoutConstraint *)& ((arg1)->height);
39134
2f4c0a16 39135 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39136 return resultobj;
39137 fail:
39138 return NULL;
39139}
39140
39141
39142static PyObject *_wrap_LayoutConstraints_centreX_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39143 PyObject *resultobj;
39144 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39145 wxIndividualLayoutConstraint *result;
39146 PyObject * obj0 = 0 ;
39147 char *kwnames[] = {
39148 (char *) "self", NULL
39149 };
39150
39151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreX_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39152 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39153 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39154 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreX);
39155
2f4c0a16 39156 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39157 return resultobj;
39158 fail:
39159 return NULL;
39160}
39161
39162
39163static PyObject *_wrap_LayoutConstraints_centreY_get(PyObject *self, PyObject *args, PyObject *kwargs) {
39164 PyObject *resultobj;
39165 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39166 wxIndividualLayoutConstraint *result;
39167 PyObject * obj0 = 0 ;
39168 char *kwnames[] = {
39169 (char *) "self", NULL
39170 };
39171
39172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_centreY_get",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39173 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39174 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39175 result = (wxIndividualLayoutConstraint *)& ((arg1)->centreY);
39176
2f4c0a16 39177 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxIndividualLayoutConstraint, 0);
d14a1e28
RD
39178 return resultobj;
39179 fail:
39180 return NULL;
39181}
39182
39183
39184static PyObject *_wrap_new_LayoutConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
39185 PyObject *resultobj;
39186 wxLayoutConstraints *result;
39187 char *kwnames[] = {
39188 NULL
39189 };
39190
39191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutConstraints",kwnames)) goto fail;
39192 {
39193 PyThreadState* __tstate = wxPyBeginAllowThreads();
39194 result = (wxLayoutConstraints *)new wxLayoutConstraints();
39195
39196 wxPyEndAllowThreads(__tstate);
39197 if (PyErr_Occurred()) SWIG_fail;
39198 }
2f4c0a16 39199 resultobj = SWIG_NewPointerObj((void*)(result), SWIGTYPE_p_wxLayoutConstraints, 1);
d14a1e28
RD
39200 return resultobj;
39201 fail:
39202 return NULL;
39203}
39204
39205
39206static PyObject *_wrap_LayoutConstraints_SatisfyConstraints(PyObject *self, PyObject *args, PyObject *kwargs) {
39207 PyObject *resultobj;
39208 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39209 wxWindow *arg2 = (wxWindow *) 0 ;
39210 int *arg3 = (int *) 0 ;
39211 bool result;
39212 int temp3 ;
39213 PyObject * obj0 = 0 ;
39214 PyObject * obj1 = 0 ;
39215 char *kwnames[] = {
39216 (char *) "self",(char *) "win", NULL
39217 };
39218
39219 arg3 = &temp3;
39220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames,&obj0,&obj1)) goto fail;
2f4c0a16
RD
39221 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39222 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
39223 if ((SWIG_ConvertPtr(obj1,(void **)(&arg2),SWIGTYPE_p_wxWindow,
39224 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39225 {
39226 PyThreadState* __tstate = wxPyBeginAllowThreads();
39227 result = (bool)(arg1)->SatisfyConstraints(arg2,arg3);
39228
39229 wxPyEndAllowThreads(__tstate);
39230 if (PyErr_Occurred()) SWIG_fail;
39231 }
4e760a36 39232 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
39233 {
39234 PyObject *o = PyInt_FromLong((long) (*arg3));
39235 resultobj = t_output_helper(resultobj,o);
39236 }
39237 return resultobj;
39238 fail:
39239 return NULL;
39240}
39241
39242
39243static PyObject *_wrap_LayoutConstraints_AreSatisfied(PyObject *self, PyObject *args, PyObject *kwargs) {
39244 PyObject *resultobj;
39245 wxLayoutConstraints *arg1 = (wxLayoutConstraints *) 0 ;
39246 bool result;
39247 PyObject * obj0 = 0 ;
39248 char *kwnames[] = {
39249 (char *) "self", NULL
39250 };
39251
39252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:LayoutConstraints_AreSatisfied",kwnames,&obj0)) goto fail;
2f4c0a16
RD
39253 if ((SWIG_ConvertPtr(obj0,(void **)(&arg1),SWIGTYPE_p_wxLayoutConstraints,
39254 SWIG_POINTER_EXCEPTION | 0)) == -1) SWIG_fail;
d14a1e28
RD
39255 {
39256 PyThreadState* __tstate = wxPyBeginAllowThreads();
39257 result = (bool)((wxLayoutConstraints const *)arg1)->AreSatisfied();
39258
39259 wxPyEndAllowThreads(__tstate);
39260 if (PyErr_Occurred()) SWIG_fail;
39261 }
4e760a36 39262 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
39263 return resultobj;
39264 fail:
39265 return NULL;
39266}
39267
39268
39269static PyObject * LayoutConstraints_swigregister(PyObject *self, PyObject *args) {
39270 PyObject *obj;
39271 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
39272 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints, obj);
39273 Py_INCREF(obj);
39274 return Py_BuildValue((char *)"");
39275}
39276static PyMethodDef SwigMethods[] = {
39277 { (char *)"_wxPySetDictionary", __wxPySetDictionary, METH_VARARGS },
d03fd34d 39278 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects, METH_VARARGS },
d14a1e28
RD
39279 { (char *)"Object_GetClassName", (PyCFunction) _wrap_Object_GetClassName, METH_VARARGS | METH_KEYWORDS },
39280 { (char *)"Object_Destroy", (PyCFunction) _wrap_Object_Destroy, METH_VARARGS | METH_KEYWORDS },
39281 { (char *)"Object_swigregister", Object_swigregister, METH_VARARGS },
39282 { (char *)"Size_width_set", (PyCFunction) _wrap_Size_width_set, METH_VARARGS | METH_KEYWORDS },
39283 { (char *)"Size_width_get", (PyCFunction) _wrap_Size_width_get, METH_VARARGS | METH_KEYWORDS },
39284 { (char *)"Size_height_set", (PyCFunction) _wrap_Size_height_set, METH_VARARGS | METH_KEYWORDS },
39285 { (char *)"Size_height_get", (PyCFunction) _wrap_Size_height_get, METH_VARARGS | METH_KEYWORDS },
39286 { (char *)"new_Size", (PyCFunction) _wrap_new_Size, METH_VARARGS | METH_KEYWORDS },
39287 { (char *)"delete_Size", (PyCFunction) _wrap_delete_Size, METH_VARARGS | METH_KEYWORDS },
39288 { (char *)"Size___eq__", (PyCFunction) _wrap_Size___eq__, METH_VARARGS | METH_KEYWORDS },
39289 { (char *)"Size___ne__", (PyCFunction) _wrap_Size___ne__, METH_VARARGS | METH_KEYWORDS },
39290 { (char *)"Size___add__", (PyCFunction) _wrap_Size___add__, METH_VARARGS | METH_KEYWORDS },
39291 { (char *)"Size___sub__", (PyCFunction) _wrap_Size___sub__, METH_VARARGS | METH_KEYWORDS },
39292 { (char *)"Size_IncTo", (PyCFunction) _wrap_Size_IncTo, METH_VARARGS | METH_KEYWORDS },
39293 { (char *)"Size_DecTo", (PyCFunction) _wrap_Size_DecTo, METH_VARARGS | METH_KEYWORDS },
39294 { (char *)"Size_Set", (PyCFunction) _wrap_Size_Set, METH_VARARGS | METH_KEYWORDS },
39295 { (char *)"Size_SetWidth", (PyCFunction) _wrap_Size_SetWidth, METH_VARARGS | METH_KEYWORDS },
39296 { (char *)"Size_SetHeight", (PyCFunction) _wrap_Size_SetHeight, METH_VARARGS | METH_KEYWORDS },
39297 { (char *)"Size_GetWidth", (PyCFunction) _wrap_Size_GetWidth, METH_VARARGS | METH_KEYWORDS },
39298 { (char *)"Size_GetHeight", (PyCFunction) _wrap_Size_GetHeight, METH_VARARGS | METH_KEYWORDS },
423f194a 39299 { (char *)"Size_Get", (PyCFunction) _wrap_Size_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39300 { (char *)"Size_swigregister", Size_swigregister, METH_VARARGS },
39301 { (char *)"RealPoint_x_set", (PyCFunction) _wrap_RealPoint_x_set, METH_VARARGS | METH_KEYWORDS },
39302 { (char *)"RealPoint_x_get", (PyCFunction) _wrap_RealPoint_x_get, METH_VARARGS | METH_KEYWORDS },
39303 { (char *)"RealPoint_y_set", (PyCFunction) _wrap_RealPoint_y_set, METH_VARARGS | METH_KEYWORDS },
39304 { (char *)"RealPoint_y_get", (PyCFunction) _wrap_RealPoint_y_get, METH_VARARGS | METH_KEYWORDS },
39305 { (char *)"new_RealPoint", (PyCFunction) _wrap_new_RealPoint, METH_VARARGS | METH_KEYWORDS },
39306 { (char *)"delete_RealPoint", (PyCFunction) _wrap_delete_RealPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39307 { (char *)"RealPoint___eq__", (PyCFunction) _wrap_RealPoint___eq__, METH_VARARGS | METH_KEYWORDS },
39308 { (char *)"RealPoint___ne__", (PyCFunction) _wrap_RealPoint___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
39309 { (char *)"RealPoint___add__", (PyCFunction) _wrap_RealPoint___add__, METH_VARARGS | METH_KEYWORDS },
39310 { (char *)"RealPoint___sub__", (PyCFunction) _wrap_RealPoint___sub__, METH_VARARGS | METH_KEYWORDS },
d14a1e28 39311 { (char *)"RealPoint_Set", (PyCFunction) _wrap_RealPoint_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 39312 { (char *)"RealPoint_Get", (PyCFunction) _wrap_RealPoint_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39313 { (char *)"RealPoint_swigregister", RealPoint_swigregister, METH_VARARGS },
39314 { (char *)"Point_x_set", (PyCFunction) _wrap_Point_x_set, METH_VARARGS | METH_KEYWORDS },
39315 { (char *)"Point_x_get", (PyCFunction) _wrap_Point_x_get, METH_VARARGS | METH_KEYWORDS },
39316 { (char *)"Point_y_set", (PyCFunction) _wrap_Point_y_set, METH_VARARGS | METH_KEYWORDS },
39317 { (char *)"Point_y_get", (PyCFunction) _wrap_Point_y_get, METH_VARARGS | METH_KEYWORDS },
39318 { (char *)"new_Point", (PyCFunction) _wrap_new_Point, METH_VARARGS | METH_KEYWORDS },
39319 { (char *)"delete_Point", (PyCFunction) _wrap_delete_Point, METH_VARARGS | METH_KEYWORDS },
39320 { (char *)"Point___eq__", (PyCFunction) _wrap_Point___eq__, METH_VARARGS | METH_KEYWORDS },
39321 { (char *)"Point___ne__", (PyCFunction) _wrap_Point___ne__, METH_VARARGS | METH_KEYWORDS },
39322 { (char *)"Point___add__", (PyCFunction) _wrap_Point___add__, METH_VARARGS | METH_KEYWORDS },
39323 { (char *)"Point___sub__", (PyCFunction) _wrap_Point___sub__, METH_VARARGS | METH_KEYWORDS },
39324 { (char *)"Point___iadd__", (PyCFunction) _wrap_Point___iadd__, METH_VARARGS | METH_KEYWORDS },
39325 { (char *)"Point___isub__", (PyCFunction) _wrap_Point___isub__, METH_VARARGS | METH_KEYWORDS },
39326 { (char *)"Point_Set", (PyCFunction) _wrap_Point_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 39327 { (char *)"Point_Get", (PyCFunction) _wrap_Point_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39328 { (char *)"Point_swigregister", Point_swigregister, METH_VARARGS },
39329 { (char *)"new_Rect", (PyCFunction) _wrap_new_Rect, METH_VARARGS | METH_KEYWORDS },
39330 { (char *)"new_RectPP", (PyCFunction) _wrap_new_RectPP, METH_VARARGS | METH_KEYWORDS },
39331 { (char *)"new_RectPS", (PyCFunction) _wrap_new_RectPS, METH_VARARGS | METH_KEYWORDS },
39332 { (char *)"delete_Rect", (PyCFunction) _wrap_delete_Rect, METH_VARARGS | METH_KEYWORDS },
39333 { (char *)"Rect_GetX", (PyCFunction) _wrap_Rect_GetX, METH_VARARGS | METH_KEYWORDS },
39334 { (char *)"Rect_SetX", (PyCFunction) _wrap_Rect_SetX, METH_VARARGS | METH_KEYWORDS },
39335 { (char *)"Rect_GetY", (PyCFunction) _wrap_Rect_GetY, METH_VARARGS | METH_KEYWORDS },
39336 { (char *)"Rect_SetY", (PyCFunction) _wrap_Rect_SetY, METH_VARARGS | METH_KEYWORDS },
39337 { (char *)"Rect_GetWidth", (PyCFunction) _wrap_Rect_GetWidth, METH_VARARGS | METH_KEYWORDS },
39338 { (char *)"Rect_SetWidth", (PyCFunction) _wrap_Rect_SetWidth, METH_VARARGS | METH_KEYWORDS },
39339 { (char *)"Rect_GetHeight", (PyCFunction) _wrap_Rect_GetHeight, METH_VARARGS | METH_KEYWORDS },
39340 { (char *)"Rect_SetHeight", (PyCFunction) _wrap_Rect_SetHeight, METH_VARARGS | METH_KEYWORDS },
39341 { (char *)"Rect_GetPosition", (PyCFunction) _wrap_Rect_GetPosition, METH_VARARGS | METH_KEYWORDS },
39342 { (char *)"Rect_SetPosition", (PyCFunction) _wrap_Rect_SetPosition, METH_VARARGS | METH_KEYWORDS },
39343 { (char *)"Rect_GetSize", (PyCFunction) _wrap_Rect_GetSize, METH_VARARGS | METH_KEYWORDS },
39344 { (char *)"Rect_SetSize", (PyCFunction) _wrap_Rect_SetSize, METH_VARARGS | METH_KEYWORDS },
9fd4be55
RD
39345 { (char *)"Rect_GetTopLeft", (PyCFunction) _wrap_Rect_GetTopLeft, METH_VARARGS | METH_KEYWORDS },
39346 { (char *)"Rect_SetTopLeft", (PyCFunction) _wrap_Rect_SetTopLeft, METH_VARARGS | METH_KEYWORDS },
39347 { (char *)"Rect_GetBottomRight", (PyCFunction) _wrap_Rect_GetBottomRight, METH_VARARGS | METH_KEYWORDS },
39348 { (char *)"Rect_SetBottomRight", (PyCFunction) _wrap_Rect_SetBottomRight, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39349 { (char *)"Rect_GetLeft", (PyCFunction) _wrap_Rect_GetLeft, METH_VARARGS | METH_KEYWORDS },
39350 { (char *)"Rect_GetTop", (PyCFunction) _wrap_Rect_GetTop, METH_VARARGS | METH_KEYWORDS },
39351 { (char *)"Rect_GetBottom", (PyCFunction) _wrap_Rect_GetBottom, METH_VARARGS | METH_KEYWORDS },
39352 { (char *)"Rect_GetRight", (PyCFunction) _wrap_Rect_GetRight, METH_VARARGS | METH_KEYWORDS },
39353 { (char *)"Rect_SetLeft", (PyCFunction) _wrap_Rect_SetLeft, METH_VARARGS | METH_KEYWORDS },
39354 { (char *)"Rect_SetRight", (PyCFunction) _wrap_Rect_SetRight, METH_VARARGS | METH_KEYWORDS },
39355 { (char *)"Rect_SetTop", (PyCFunction) _wrap_Rect_SetTop, METH_VARARGS | METH_KEYWORDS },
39356 { (char *)"Rect_SetBottom", (PyCFunction) _wrap_Rect_SetBottom, METH_VARARGS | METH_KEYWORDS },
39357 { (char *)"Rect_Inflate", (PyCFunction) _wrap_Rect_Inflate, METH_VARARGS | METH_KEYWORDS },
39358 { (char *)"Rect_Deflate", (PyCFunction) _wrap_Rect_Deflate, METH_VARARGS | METH_KEYWORDS },
39359 { (char *)"Rect_OffsetXY", (PyCFunction) _wrap_Rect_OffsetXY, METH_VARARGS | METH_KEYWORDS },
39360 { (char *)"Rect_Offset", (PyCFunction) _wrap_Rect_Offset, METH_VARARGS | METH_KEYWORDS },
39361 { (char *)"Rect_Intersect", (PyCFunction) _wrap_Rect_Intersect, METH_VARARGS | METH_KEYWORDS },
39362 { (char *)"Rect___add__", (PyCFunction) _wrap_Rect___add__, METH_VARARGS | METH_KEYWORDS },
39363 { (char *)"Rect___iadd__", (PyCFunction) _wrap_Rect___iadd__, METH_VARARGS | METH_KEYWORDS },
39364 { (char *)"Rect___eq__", (PyCFunction) _wrap_Rect___eq__, METH_VARARGS | METH_KEYWORDS },
39365 { (char *)"Rect___ne__", (PyCFunction) _wrap_Rect___ne__, METH_VARARGS | METH_KEYWORDS },
39366 { (char *)"Rect_InsideXY", (PyCFunction) _wrap_Rect_InsideXY, METH_VARARGS | METH_KEYWORDS },
39367 { (char *)"Rect_Inside", (PyCFunction) _wrap_Rect_Inside, METH_VARARGS | METH_KEYWORDS },
39368 { (char *)"Rect_Intersects", (PyCFunction) _wrap_Rect_Intersects, METH_VARARGS | METH_KEYWORDS },
39369 { (char *)"Rect_x_set", (PyCFunction) _wrap_Rect_x_set, METH_VARARGS | METH_KEYWORDS },
39370 { (char *)"Rect_x_get", (PyCFunction) _wrap_Rect_x_get, METH_VARARGS | METH_KEYWORDS },
39371 { (char *)"Rect_y_set", (PyCFunction) _wrap_Rect_y_set, METH_VARARGS | METH_KEYWORDS },
39372 { (char *)"Rect_y_get", (PyCFunction) _wrap_Rect_y_get, METH_VARARGS | METH_KEYWORDS },
39373 { (char *)"Rect_width_set", (PyCFunction) _wrap_Rect_width_set, METH_VARARGS | METH_KEYWORDS },
39374 { (char *)"Rect_width_get", (PyCFunction) _wrap_Rect_width_get, METH_VARARGS | METH_KEYWORDS },
39375 { (char *)"Rect_height_set", (PyCFunction) _wrap_Rect_height_set, METH_VARARGS | METH_KEYWORDS },
39376 { (char *)"Rect_height_get", (PyCFunction) _wrap_Rect_height_get, METH_VARARGS | METH_KEYWORDS },
39377 { (char *)"Rect_Set", (PyCFunction) _wrap_Rect_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 39378 { (char *)"Rect_Get", (PyCFunction) _wrap_Rect_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39379 { (char *)"Rect_swigregister", Rect_swigregister, METH_VARARGS },
39380 { (char *)"IntersectRect", (PyCFunction) _wrap_IntersectRect, METH_VARARGS | METH_KEYWORDS },
39381 { (char *)"new_Point2D", (PyCFunction) _wrap_new_Point2D, METH_VARARGS | METH_KEYWORDS },
39382 { (char *)"new_Point2DCopy", (PyCFunction) _wrap_new_Point2DCopy, METH_VARARGS | METH_KEYWORDS },
39383 { (char *)"new_Point2DFromPoint", (PyCFunction) _wrap_new_Point2DFromPoint, METH_VARARGS | METH_KEYWORDS },
39384 { (char *)"Point2D_GetFloor", (PyCFunction) _wrap_Point2D_GetFloor, METH_VARARGS | METH_KEYWORDS },
39385 { (char *)"Point2D_GetRounded", (PyCFunction) _wrap_Point2D_GetRounded, METH_VARARGS | METH_KEYWORDS },
39386 { (char *)"Point2D_GetVectorLength", (PyCFunction) _wrap_Point2D_GetVectorLength, METH_VARARGS | METH_KEYWORDS },
39387 { (char *)"Point2D_GetVectorAngle", (PyCFunction) _wrap_Point2D_GetVectorAngle, METH_VARARGS | METH_KEYWORDS },
39388 { (char *)"Point2D_SetVectorLength", (PyCFunction) _wrap_Point2D_SetVectorLength, METH_VARARGS | METH_KEYWORDS },
39389 { (char *)"Point2D_SetVectorAngle", (PyCFunction) _wrap_Point2D_SetVectorAngle, METH_VARARGS | METH_KEYWORDS },
39390 { (char *)"Point2D_GetDistance", (PyCFunction) _wrap_Point2D_GetDistance, METH_VARARGS | METH_KEYWORDS },
39391 { (char *)"Point2D_GetDistanceSquare", (PyCFunction) _wrap_Point2D_GetDistanceSquare, METH_VARARGS | METH_KEYWORDS },
39392 { (char *)"Point2D_GetDotProduct", (PyCFunction) _wrap_Point2D_GetDotProduct, METH_VARARGS | METH_KEYWORDS },
39393 { (char *)"Point2D_GetCrossProduct", (PyCFunction) _wrap_Point2D_GetCrossProduct, METH_VARARGS | METH_KEYWORDS },
39394 { (char *)"Point2D___neg__", (PyCFunction) _wrap_Point2D___neg__, METH_VARARGS | METH_KEYWORDS },
39395 { (char *)"Point2D___iadd__", (PyCFunction) _wrap_Point2D___iadd__, METH_VARARGS | METH_KEYWORDS },
39396 { (char *)"Point2D___isub__", (PyCFunction) _wrap_Point2D___isub__, METH_VARARGS | METH_KEYWORDS },
39397 { (char *)"Point2D___imul__", (PyCFunction) _wrap_Point2D___imul__, METH_VARARGS | METH_KEYWORDS },
39398 { (char *)"Point2D___idiv__", (PyCFunction) _wrap_Point2D___idiv__, METH_VARARGS | METH_KEYWORDS },
39399 { (char *)"Point2D___eq__", (PyCFunction) _wrap_Point2D___eq__, METH_VARARGS | METH_KEYWORDS },
39400 { (char *)"Point2D___ne__", (PyCFunction) _wrap_Point2D___ne__, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39401 { (char *)"Point2D_x_set", (PyCFunction) _wrap_Point2D_x_set, METH_VARARGS | METH_KEYWORDS },
39402 { (char *)"Point2D_x_get", (PyCFunction) _wrap_Point2D_x_get, METH_VARARGS | METH_KEYWORDS },
39403 { (char *)"Point2D_y_set", (PyCFunction) _wrap_Point2D_y_set, METH_VARARGS | METH_KEYWORDS },
39404 { (char *)"Point2D_y_get", (PyCFunction) _wrap_Point2D_y_get, METH_VARARGS | METH_KEYWORDS },
39405 { (char *)"Point2D_Set", (PyCFunction) _wrap_Point2D_Set, METH_VARARGS | METH_KEYWORDS },
423f194a 39406 { (char *)"Point2D_Get", (PyCFunction) _wrap_Point2D_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39407 { (char *)"Point2D_swigregister", Point2D_swigregister, METH_VARARGS },
39408 { (char *)"new_InputStream", (PyCFunction) _wrap_new_InputStream, METH_VARARGS | METH_KEYWORDS },
39409 { (char *)"InputStream_close", (PyCFunction) _wrap_InputStream_close, METH_VARARGS | METH_KEYWORDS },
39410 { (char *)"InputStream_flush", (PyCFunction) _wrap_InputStream_flush, METH_VARARGS | METH_KEYWORDS },
39411 { (char *)"InputStream_eof", (PyCFunction) _wrap_InputStream_eof, METH_VARARGS | METH_KEYWORDS },
39412 { (char *)"InputStream_read", (PyCFunction) _wrap_InputStream_read, METH_VARARGS | METH_KEYWORDS },
39413 { (char *)"InputStream_readline", (PyCFunction) _wrap_InputStream_readline, METH_VARARGS | METH_KEYWORDS },
39414 { (char *)"InputStream_readlines", (PyCFunction) _wrap_InputStream_readlines, METH_VARARGS | METH_KEYWORDS },
39415 { (char *)"InputStream_seek", (PyCFunction) _wrap_InputStream_seek, METH_VARARGS | METH_KEYWORDS },
39416 { (char *)"InputStream_tell", (PyCFunction) _wrap_InputStream_tell, METH_VARARGS | METH_KEYWORDS },
39417 { (char *)"InputStream_Peek", (PyCFunction) _wrap_InputStream_Peek, METH_VARARGS | METH_KEYWORDS },
39418 { (char *)"InputStream_GetC", (PyCFunction) _wrap_InputStream_GetC, METH_VARARGS | METH_KEYWORDS },
39419 { (char *)"InputStream_LastRead", (PyCFunction) _wrap_InputStream_LastRead, METH_VARARGS | METH_KEYWORDS },
39420 { (char *)"InputStream_CanRead", (PyCFunction) _wrap_InputStream_CanRead, METH_VARARGS | METH_KEYWORDS },
39421 { (char *)"InputStream_Eof", (PyCFunction) _wrap_InputStream_Eof, METH_VARARGS | METH_KEYWORDS },
39422 { (char *)"InputStream_Ungetch", (PyCFunction) _wrap_InputStream_Ungetch, METH_VARARGS | METH_KEYWORDS },
39423 { (char *)"InputStream_SeekI", (PyCFunction) _wrap_InputStream_SeekI, METH_VARARGS | METH_KEYWORDS },
39424 { (char *)"InputStream_TellI", (PyCFunction) _wrap_InputStream_TellI, METH_VARARGS | METH_KEYWORDS },
39425 { (char *)"InputStream_swigregister", InputStream_swigregister, METH_VARARGS },
39426 { (char *)"OutputStream_write", (PyCFunction) _wrap_OutputStream_write, METH_VARARGS | METH_KEYWORDS },
39427 { (char *)"OutputStream_swigregister", OutputStream_swigregister, METH_VARARGS },
39428 { (char *)"new_FSFile", (PyCFunction) _wrap_new_FSFile, METH_VARARGS | METH_KEYWORDS },
39429 { (char *)"delete_FSFile", (PyCFunction) _wrap_delete_FSFile, METH_VARARGS | METH_KEYWORDS },
39430 { (char *)"FSFile_GetStream", (PyCFunction) _wrap_FSFile_GetStream, METH_VARARGS | METH_KEYWORDS },
39431 { (char *)"FSFile_GetMimeType", (PyCFunction) _wrap_FSFile_GetMimeType, METH_VARARGS | METH_KEYWORDS },
39432 { (char *)"FSFile_GetLocation", (PyCFunction) _wrap_FSFile_GetLocation, METH_VARARGS | METH_KEYWORDS },
39433 { (char *)"FSFile_GetAnchor", (PyCFunction) _wrap_FSFile_GetAnchor, METH_VARARGS | METH_KEYWORDS },
39434 { (char *)"FSFile_GetModificationTime", (PyCFunction) _wrap_FSFile_GetModificationTime, METH_VARARGS | METH_KEYWORDS },
39435 { (char *)"FSFile_swigregister", FSFile_swigregister, METH_VARARGS },
39436 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister, METH_VARARGS },
39437 { (char *)"new_FileSystemHandler", (PyCFunction) _wrap_new_FileSystemHandler, METH_VARARGS | METH_KEYWORDS },
39438 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction) _wrap_FileSystemHandler__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
39439 { (char *)"FileSystemHandler_CanOpen", (PyCFunction) _wrap_FileSystemHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
39440 { (char *)"FileSystemHandler_OpenFile", (PyCFunction) _wrap_FileSystemHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
39441 { (char *)"FileSystemHandler_FindFirst", (PyCFunction) _wrap_FileSystemHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
39442 { (char *)"FileSystemHandler_FindNext", (PyCFunction) _wrap_FileSystemHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
39443 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction) _wrap_FileSystemHandler_GetProtocol, METH_VARARGS | METH_KEYWORDS },
39444 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction) _wrap_FileSystemHandler_GetLeftLocation, METH_VARARGS | METH_KEYWORDS },
39445 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction) _wrap_FileSystemHandler_GetAnchor, METH_VARARGS | METH_KEYWORDS },
39446 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction) _wrap_FileSystemHandler_GetRightLocation, METH_VARARGS | METH_KEYWORDS },
39447 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction) _wrap_FileSystemHandler_GetMimeTypeFromExt, METH_VARARGS | METH_KEYWORDS },
39448 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister, METH_VARARGS },
39449 { (char *)"new_FileSystem", (PyCFunction) _wrap_new_FileSystem, METH_VARARGS | METH_KEYWORDS },
39450 { (char *)"delete_FileSystem", (PyCFunction) _wrap_delete_FileSystem, METH_VARARGS | METH_KEYWORDS },
39451 { (char *)"FileSystem_ChangePathTo", (PyCFunction) _wrap_FileSystem_ChangePathTo, METH_VARARGS | METH_KEYWORDS },
39452 { (char *)"FileSystem_GetPath", (PyCFunction) _wrap_FileSystem_GetPath, METH_VARARGS | METH_KEYWORDS },
39453 { (char *)"FileSystem_OpenFile", (PyCFunction) _wrap_FileSystem_OpenFile, METH_VARARGS | METH_KEYWORDS },
39454 { (char *)"FileSystem_FindFirst", (PyCFunction) _wrap_FileSystem_FindFirst, METH_VARARGS | METH_KEYWORDS },
39455 { (char *)"FileSystem_FindNext", (PyCFunction) _wrap_FileSystem_FindNext, METH_VARARGS | METH_KEYWORDS },
39456 { (char *)"FileSystem_AddHandler", (PyCFunction) _wrap_FileSystem_AddHandler, METH_VARARGS | METH_KEYWORDS },
39457 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction) _wrap_FileSystem_CleanUpHandlers, METH_VARARGS | METH_KEYWORDS },
39458 { (char *)"FileSystem_FileNameToURL", (PyCFunction) _wrap_FileSystem_FileNameToURL, METH_VARARGS | METH_KEYWORDS },
39459 { (char *)"FileSystem_swigregister", FileSystem_swigregister, METH_VARARGS },
39460 { (char *)"FileSystem_URLToFileName", (PyCFunction) _wrap_FileSystem_URLToFileName, METH_VARARGS | METH_KEYWORDS },
39461 { (char *)"new_InternetFSHandler", (PyCFunction) _wrap_new_InternetFSHandler, METH_VARARGS | METH_KEYWORDS },
39462 { (char *)"InternetFSHandler_CanOpen", (PyCFunction) _wrap_InternetFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
39463 { (char *)"InternetFSHandler_OpenFile", (PyCFunction) _wrap_InternetFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
39464 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister, METH_VARARGS },
39465 { (char *)"new_ZipFSHandler", (PyCFunction) _wrap_new_ZipFSHandler, METH_VARARGS | METH_KEYWORDS },
39466 { (char *)"ZipFSHandler_CanOpen", (PyCFunction) _wrap_ZipFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
39467 { (char *)"ZipFSHandler_OpenFile", (PyCFunction) _wrap_ZipFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
39468 { (char *)"ZipFSHandler_FindFirst", (PyCFunction) _wrap_ZipFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
39469 { (char *)"ZipFSHandler_FindNext", (PyCFunction) _wrap_ZipFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
39470 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister, METH_VARARGS },
39471 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxImage, METH_VARARGS | METH_KEYWORDS },
39472 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_wxBitmap, METH_VARARGS | METH_KEYWORDS },
39473 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction) _wrap___wxMemoryFSHandler_AddFile_Data, METH_VARARGS | METH_KEYWORDS },
39474 { (char *)"new_MemoryFSHandler", (PyCFunction) _wrap_new_MemoryFSHandler, METH_VARARGS | METH_KEYWORDS },
39475 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction) _wrap_MemoryFSHandler_RemoveFile, METH_VARARGS | METH_KEYWORDS },
39476 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction) _wrap_MemoryFSHandler_CanOpen, METH_VARARGS | METH_KEYWORDS },
39477 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction) _wrap_MemoryFSHandler_OpenFile, METH_VARARGS | METH_KEYWORDS },
39478 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction) _wrap_MemoryFSHandler_FindFirst, METH_VARARGS | METH_KEYWORDS },
39479 { (char *)"MemoryFSHandler_FindNext", (PyCFunction) _wrap_MemoryFSHandler_FindNext, METH_VARARGS | METH_KEYWORDS },
39480 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister, METH_VARARGS },
39481 { (char *)"ImageHandler_GetName", (PyCFunction) _wrap_ImageHandler_GetName, METH_VARARGS | METH_KEYWORDS },
39482 { (char *)"ImageHandler_GetExtension", (PyCFunction) _wrap_ImageHandler_GetExtension, METH_VARARGS | METH_KEYWORDS },
39483 { (char *)"ImageHandler_GetType", (PyCFunction) _wrap_ImageHandler_GetType, METH_VARARGS | METH_KEYWORDS },
39484 { (char *)"ImageHandler_GetMimeType", (PyCFunction) _wrap_ImageHandler_GetMimeType, METH_VARARGS | METH_KEYWORDS },
39485 { (char *)"ImageHandler_CanRead", (PyCFunction) _wrap_ImageHandler_CanRead, METH_VARARGS | METH_KEYWORDS },
39486 { (char *)"ImageHandler_SetName", (PyCFunction) _wrap_ImageHandler_SetName, METH_VARARGS | METH_KEYWORDS },
39487 { (char *)"ImageHandler_SetExtension", (PyCFunction) _wrap_ImageHandler_SetExtension, METH_VARARGS | METH_KEYWORDS },
39488 { (char *)"ImageHandler_SetType", (PyCFunction) _wrap_ImageHandler_SetType, METH_VARARGS | METH_KEYWORDS },
39489 { (char *)"ImageHandler_SetMimeType", (PyCFunction) _wrap_ImageHandler_SetMimeType, METH_VARARGS | METH_KEYWORDS },
39490 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister, METH_VARARGS },
39491 { (char *)"new_ImageHistogram", (PyCFunction) _wrap_new_ImageHistogram, METH_VARARGS | METH_KEYWORDS },
39492 { (char *)"ImageHistogram_MakeKey", (PyCFunction) _wrap_ImageHistogram_MakeKey, METH_VARARGS | METH_KEYWORDS },
39493 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction) _wrap_ImageHistogram_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
39494 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister, METH_VARARGS },
39495 { (char *)"new_Image", (PyCFunction) _wrap_new_Image, METH_VARARGS | METH_KEYWORDS },
39496 { (char *)"delete_Image", (PyCFunction) _wrap_delete_Image, METH_VARARGS | METH_KEYWORDS },
39497 { (char *)"new_ImageFromMime", (PyCFunction) _wrap_new_ImageFromMime, METH_VARARGS | METH_KEYWORDS },
39498 { (char *)"new_ImageFromStream", (PyCFunction) _wrap_new_ImageFromStream, METH_VARARGS | METH_KEYWORDS },
39499 { (char *)"new_ImageFromStreamMime", (PyCFunction) _wrap_new_ImageFromStreamMime, METH_VARARGS | METH_KEYWORDS },
39500 { (char *)"new_EmptyImage", (PyCFunction) _wrap_new_EmptyImage, METH_VARARGS | METH_KEYWORDS },
39501 { (char *)"new_ImageFromBitmap", (PyCFunction) _wrap_new_ImageFromBitmap, METH_VARARGS | METH_KEYWORDS },
39502 { (char *)"new_ImageFromData", (PyCFunction) _wrap_new_ImageFromData, METH_VARARGS | METH_KEYWORDS },
39503 { (char *)"Image_Create", (PyCFunction) _wrap_Image_Create, METH_VARARGS | METH_KEYWORDS },
39504 { (char *)"Image_Destroy", (PyCFunction) _wrap_Image_Destroy, METH_VARARGS | METH_KEYWORDS },
39505 { (char *)"Image_Scale", (PyCFunction) _wrap_Image_Scale, METH_VARARGS | METH_KEYWORDS },
39506 { (char *)"Image_ShrinkBy", (PyCFunction) _wrap_Image_ShrinkBy, METH_VARARGS | METH_KEYWORDS },
39507 { (char *)"Image_Rescale", (PyCFunction) _wrap_Image_Rescale, METH_VARARGS | METH_KEYWORDS },
39508 { (char *)"Image_SetRGB", (PyCFunction) _wrap_Image_SetRGB, METH_VARARGS | METH_KEYWORDS },
39509 { (char *)"Image_GetRed", (PyCFunction) _wrap_Image_GetRed, METH_VARARGS | METH_KEYWORDS },
39510 { (char *)"Image_GetGreen", (PyCFunction) _wrap_Image_GetGreen, METH_VARARGS | METH_KEYWORDS },
39511 { (char *)"Image_GetBlue", (PyCFunction) _wrap_Image_GetBlue, METH_VARARGS | METH_KEYWORDS },
39512 { (char *)"Image_SetAlpha", (PyCFunction) _wrap_Image_SetAlpha, METH_VARARGS | METH_KEYWORDS },
39513 { (char *)"Image_GetAlpha", (PyCFunction) _wrap_Image_GetAlpha, METH_VARARGS | METH_KEYWORDS },
39514 { (char *)"Image_HasAlpha", (PyCFunction) _wrap_Image_HasAlpha, METH_VARARGS | METH_KEYWORDS },
39515 { (char *)"Image_FindFirstUnusedColour", (PyCFunction) _wrap_Image_FindFirstUnusedColour, METH_VARARGS | METH_KEYWORDS },
39516 { (char *)"Image_SetMaskFromImage", (PyCFunction) _wrap_Image_SetMaskFromImage, METH_VARARGS | METH_KEYWORDS },
39517 { (char *)"Image_CanRead", (PyCFunction) _wrap_Image_CanRead, METH_VARARGS | METH_KEYWORDS },
39518 { (char *)"Image_GetImageCount", (PyCFunction) _wrap_Image_GetImageCount, METH_VARARGS | METH_KEYWORDS },
39519 { (char *)"Image_LoadFile", (PyCFunction) _wrap_Image_LoadFile, METH_VARARGS | METH_KEYWORDS },
39520 { (char *)"Image_LoadMimeFile", (PyCFunction) _wrap_Image_LoadMimeFile, METH_VARARGS | METH_KEYWORDS },
39521 { (char *)"Image_SaveFile", (PyCFunction) _wrap_Image_SaveFile, METH_VARARGS | METH_KEYWORDS },
39522 { (char *)"Image_SaveMimeFile", (PyCFunction) _wrap_Image_SaveMimeFile, METH_VARARGS | METH_KEYWORDS },
39523 { (char *)"Image_CanReadStream", (PyCFunction) _wrap_Image_CanReadStream, METH_VARARGS | METH_KEYWORDS },
39524 { (char *)"Image_LoadStream", (PyCFunction) _wrap_Image_LoadStream, METH_VARARGS | METH_KEYWORDS },
39525 { (char *)"Image_LoadMimeStream", (PyCFunction) _wrap_Image_LoadMimeStream, METH_VARARGS | METH_KEYWORDS },
39526 { (char *)"Image_Ok", (PyCFunction) _wrap_Image_Ok, METH_VARARGS | METH_KEYWORDS },
39527 { (char *)"Image_GetWidth", (PyCFunction) _wrap_Image_GetWidth, METH_VARARGS | METH_KEYWORDS },
39528 { (char *)"Image_GetHeight", (PyCFunction) _wrap_Image_GetHeight, METH_VARARGS | METH_KEYWORDS },
39529 { (char *)"Image_GetSubImage", (PyCFunction) _wrap_Image_GetSubImage, METH_VARARGS | METH_KEYWORDS },
39530 { (char *)"Image_Copy", (PyCFunction) _wrap_Image_Copy, METH_VARARGS | METH_KEYWORDS },
39531 { (char *)"Image_Paste", (PyCFunction) _wrap_Image_Paste, METH_VARARGS | METH_KEYWORDS },
39532 { (char *)"Image_GetData", (PyCFunction) _wrap_Image_GetData, METH_VARARGS | METH_KEYWORDS },
39533 { (char *)"Image_SetData", (PyCFunction) _wrap_Image_SetData, METH_VARARGS | METH_KEYWORDS },
39534 { (char *)"Image_GetDataBuffer", (PyCFunction) _wrap_Image_GetDataBuffer, METH_VARARGS | METH_KEYWORDS },
39535 { (char *)"Image_SetDataBuffer", (PyCFunction) _wrap_Image_SetDataBuffer, METH_VARARGS | METH_KEYWORDS },
39536 { (char *)"Image_GetAlphaData", (PyCFunction) _wrap_Image_GetAlphaData, METH_VARARGS | METH_KEYWORDS },
39537 { (char *)"Image_SetAlphaData", (PyCFunction) _wrap_Image_SetAlphaData, METH_VARARGS | METH_KEYWORDS },
39538 { (char *)"Image_GetAlphaBuffer", (PyCFunction) _wrap_Image_GetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
39539 { (char *)"Image_SetAlphaBuffer", (PyCFunction) _wrap_Image_SetAlphaBuffer, METH_VARARGS | METH_KEYWORDS },
39540 { (char *)"Image_SetMaskColour", (PyCFunction) _wrap_Image_SetMaskColour, METH_VARARGS | METH_KEYWORDS },
39541 { (char *)"Image_GetMaskRed", (PyCFunction) _wrap_Image_GetMaskRed, METH_VARARGS | METH_KEYWORDS },
39542 { (char *)"Image_GetMaskGreen", (PyCFunction) _wrap_Image_GetMaskGreen, METH_VARARGS | METH_KEYWORDS },
39543 { (char *)"Image_GetMaskBlue", (PyCFunction) _wrap_Image_GetMaskBlue, METH_VARARGS | METH_KEYWORDS },
39544 { (char *)"Image_SetMask", (PyCFunction) _wrap_Image_SetMask, METH_VARARGS | METH_KEYWORDS },
39545 { (char *)"Image_HasMask", (PyCFunction) _wrap_Image_HasMask, METH_VARARGS | METH_KEYWORDS },
39546 { (char *)"Image_Rotate", (PyCFunction) _wrap_Image_Rotate, METH_VARARGS | METH_KEYWORDS },
39547 { (char *)"Image_Rotate90", (PyCFunction) _wrap_Image_Rotate90, METH_VARARGS | METH_KEYWORDS },
39548 { (char *)"Image_Mirror", (PyCFunction) _wrap_Image_Mirror, METH_VARARGS | METH_KEYWORDS },
39549 { (char *)"Image_Replace", (PyCFunction) _wrap_Image_Replace, METH_VARARGS | METH_KEYWORDS },
39550 { (char *)"Image_ConvertToMono", (PyCFunction) _wrap_Image_ConvertToMono, METH_VARARGS | METH_KEYWORDS },
39551 { (char *)"Image_SetOption", (PyCFunction) _wrap_Image_SetOption, METH_VARARGS | METH_KEYWORDS },
39552 { (char *)"Image_SetOptionInt", (PyCFunction) _wrap_Image_SetOptionInt, METH_VARARGS | METH_KEYWORDS },
39553 { (char *)"Image_GetOption", (PyCFunction) _wrap_Image_GetOption, METH_VARARGS | METH_KEYWORDS },
39554 { (char *)"Image_GetOptionInt", (PyCFunction) _wrap_Image_GetOptionInt, METH_VARARGS | METH_KEYWORDS },
39555 { (char *)"Image_HasOption", (PyCFunction) _wrap_Image_HasOption, METH_VARARGS | METH_KEYWORDS },
39556 { (char *)"Image_CountColours", (PyCFunction) _wrap_Image_CountColours, METH_VARARGS | METH_KEYWORDS },
39557 { (char *)"Image_ComputeHistogram", (PyCFunction) _wrap_Image_ComputeHistogram, METH_VARARGS | METH_KEYWORDS },
39558 { (char *)"Image_AddHandler", (PyCFunction) _wrap_Image_AddHandler, METH_VARARGS | METH_KEYWORDS },
39559 { (char *)"Image_InsertHandler", (PyCFunction) _wrap_Image_InsertHandler, METH_VARARGS | METH_KEYWORDS },
39560 { (char *)"Image_RemoveHandler", (PyCFunction) _wrap_Image_RemoveHandler, METH_VARARGS | METH_KEYWORDS },
39561 { (char *)"Image_GetImageExtWildcard", (PyCFunction) _wrap_Image_GetImageExtWildcard, METH_VARARGS | METH_KEYWORDS },
39562 { (char *)"Image_ConvertToBitmap", (PyCFunction) _wrap_Image_ConvertToBitmap, METH_VARARGS | METH_KEYWORDS },
39563 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction) _wrap_Image_ConvertToMonoBitmap, METH_VARARGS | METH_KEYWORDS },
39564 { (char *)"Image_swigregister", Image_swigregister, METH_VARARGS },
39565 { (char *)"InitAllImageHandlers", (PyCFunction) _wrap_InitAllImageHandlers, METH_VARARGS | METH_KEYWORDS },
39566 { (char *)"new_BMPHandler", (PyCFunction) _wrap_new_BMPHandler, METH_VARARGS | METH_KEYWORDS },
39567 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister, METH_VARARGS },
39568 { (char *)"new_ICOHandler", (PyCFunction) _wrap_new_ICOHandler, METH_VARARGS | METH_KEYWORDS },
39569 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister, METH_VARARGS },
39570 { (char *)"new_CURHandler", (PyCFunction) _wrap_new_CURHandler, METH_VARARGS | METH_KEYWORDS },
39571 { (char *)"CURHandler_swigregister", CURHandler_swigregister, METH_VARARGS },
39572 { (char *)"new_ANIHandler", (PyCFunction) _wrap_new_ANIHandler, METH_VARARGS | METH_KEYWORDS },
39573 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister, METH_VARARGS },
39574 { (char *)"new_PNGHandler", (PyCFunction) _wrap_new_PNGHandler, METH_VARARGS | METH_KEYWORDS },
39575 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister, METH_VARARGS },
39576 { (char *)"new_GIFHandler", (PyCFunction) _wrap_new_GIFHandler, METH_VARARGS | METH_KEYWORDS },
39577 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister, METH_VARARGS },
39578 { (char *)"new_PCXHandler", (PyCFunction) _wrap_new_PCXHandler, METH_VARARGS | METH_KEYWORDS },
39579 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister, METH_VARARGS },
39580 { (char *)"new_JPEGHandler", (PyCFunction) _wrap_new_JPEGHandler, METH_VARARGS | METH_KEYWORDS },
39581 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister, METH_VARARGS },
39582 { (char *)"new_PNMHandler", (PyCFunction) _wrap_new_PNMHandler, METH_VARARGS | METH_KEYWORDS },
39583 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister, METH_VARARGS },
39584 { (char *)"new_XPMHandler", (PyCFunction) _wrap_new_XPMHandler, METH_VARARGS | METH_KEYWORDS },
39585 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister, METH_VARARGS },
39586 { (char *)"new_TIFFHandler", (PyCFunction) _wrap_new_TIFFHandler, METH_VARARGS | METH_KEYWORDS },
39587 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister, METH_VARARGS },
39588 { (char *)"new_EvtHandler", (PyCFunction) _wrap_new_EvtHandler, METH_VARARGS | METH_KEYWORDS },
39589 { (char *)"EvtHandler_GetNextHandler", (PyCFunction) _wrap_EvtHandler_GetNextHandler, METH_VARARGS | METH_KEYWORDS },
39590 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction) _wrap_EvtHandler_GetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
39591 { (char *)"EvtHandler_SetNextHandler", (PyCFunction) _wrap_EvtHandler_SetNextHandler, METH_VARARGS | METH_KEYWORDS },
39592 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction) _wrap_EvtHandler_SetPreviousHandler, METH_VARARGS | METH_KEYWORDS },
39593 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_GetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
39594 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction) _wrap_EvtHandler_SetEvtHandlerEnabled, METH_VARARGS | METH_KEYWORDS },
39595 { (char *)"EvtHandler_ProcessEvent", (PyCFunction) _wrap_EvtHandler_ProcessEvent, METH_VARARGS | METH_KEYWORDS },
39596 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction) _wrap_EvtHandler_AddPendingEvent, METH_VARARGS | METH_KEYWORDS },
39597 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction) _wrap_EvtHandler_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
39598 { (char *)"EvtHandler_Connect", (PyCFunction) _wrap_EvtHandler_Connect, METH_VARARGS | METH_KEYWORDS },
39599 { (char *)"EvtHandler_Disconnect", (PyCFunction) _wrap_EvtHandler_Disconnect, METH_VARARGS | METH_KEYWORDS },
39600 { (char *)"EvtHandler__setOORInfo", (PyCFunction) _wrap_EvtHandler__setOORInfo, METH_VARARGS | METH_KEYWORDS },
39601 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister, METH_VARARGS },
39602 { (char *)"NewEventType", (PyCFunction) _wrap_NewEventType, METH_VARARGS | METH_KEYWORDS },
39603 { (char *)"delete_Event", (PyCFunction) _wrap_delete_Event, METH_VARARGS | METH_KEYWORDS },
39604 { (char *)"Event_SetEventType", (PyCFunction) _wrap_Event_SetEventType, METH_VARARGS | METH_KEYWORDS },
39605 { (char *)"Event_GetEventType", (PyCFunction) _wrap_Event_GetEventType, METH_VARARGS | METH_KEYWORDS },
39606 { (char *)"Event_GetEventObject", (PyCFunction) _wrap_Event_GetEventObject, METH_VARARGS | METH_KEYWORDS },
39607 { (char *)"Event_SetEventObject", (PyCFunction) _wrap_Event_SetEventObject, METH_VARARGS | METH_KEYWORDS },
39608 { (char *)"Event_GetTimestamp", (PyCFunction) _wrap_Event_GetTimestamp, METH_VARARGS | METH_KEYWORDS },
39609 { (char *)"Event_SetTimestamp", (PyCFunction) _wrap_Event_SetTimestamp, METH_VARARGS | METH_KEYWORDS },
39610 { (char *)"Event_GetId", (PyCFunction) _wrap_Event_GetId, METH_VARARGS | METH_KEYWORDS },
39611 { (char *)"Event_SetId", (PyCFunction) _wrap_Event_SetId, METH_VARARGS | METH_KEYWORDS },
39612 { (char *)"Event_IsCommandEvent", (PyCFunction) _wrap_Event_IsCommandEvent, METH_VARARGS | METH_KEYWORDS },
39613 { (char *)"Event_Skip", (PyCFunction) _wrap_Event_Skip, METH_VARARGS | METH_KEYWORDS },
39614 { (char *)"Event_GetSkipped", (PyCFunction) _wrap_Event_GetSkipped, METH_VARARGS | METH_KEYWORDS },
39615 { (char *)"Event_ShouldPropagate", (PyCFunction) _wrap_Event_ShouldPropagate, METH_VARARGS | METH_KEYWORDS },
39616 { (char *)"Event_StopPropagation", (PyCFunction) _wrap_Event_StopPropagation, METH_VARARGS | METH_KEYWORDS },
39617 { (char *)"Event_ResumePropagation", (PyCFunction) _wrap_Event_ResumePropagation, METH_VARARGS | METH_KEYWORDS },
39618 { (char *)"Event_Clone", (PyCFunction) _wrap_Event_Clone, METH_VARARGS | METH_KEYWORDS },
39619 { (char *)"Event_swigregister", Event_swigregister, METH_VARARGS },
39620 { (char *)"new_PropagationDisabler", (PyCFunction) _wrap_new_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
39621 { (char *)"delete_PropagationDisabler", (PyCFunction) _wrap_delete_PropagationDisabler, METH_VARARGS | METH_KEYWORDS },
39622 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister, METH_VARARGS },
39623 { (char *)"new_PropagateOnce", (PyCFunction) _wrap_new_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
39624 { (char *)"delete_PropagateOnce", (PyCFunction) _wrap_delete_PropagateOnce, METH_VARARGS | METH_KEYWORDS },
39625 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister, METH_VARARGS },
39626 { (char *)"new_CommandEvent", (PyCFunction) _wrap_new_CommandEvent, METH_VARARGS | METH_KEYWORDS },
39627 { (char *)"CommandEvent_GetSelection", (PyCFunction) _wrap_CommandEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
39628 { (char *)"CommandEvent_SetString", (PyCFunction) _wrap_CommandEvent_SetString, METH_VARARGS | METH_KEYWORDS },
39629 { (char *)"CommandEvent_GetString", (PyCFunction) _wrap_CommandEvent_GetString, METH_VARARGS | METH_KEYWORDS },
39630 { (char *)"CommandEvent_IsChecked", (PyCFunction) _wrap_CommandEvent_IsChecked, METH_VARARGS | METH_KEYWORDS },
39631 { (char *)"CommandEvent_IsSelection", (PyCFunction) _wrap_CommandEvent_IsSelection, METH_VARARGS | METH_KEYWORDS },
39632 { (char *)"CommandEvent_SetExtraLong", (PyCFunction) _wrap_CommandEvent_SetExtraLong, METH_VARARGS | METH_KEYWORDS },
39633 { (char *)"CommandEvent_GetExtraLong", (PyCFunction) _wrap_CommandEvent_GetExtraLong, METH_VARARGS | METH_KEYWORDS },
39634 { (char *)"CommandEvent_SetInt", (PyCFunction) _wrap_CommandEvent_SetInt, METH_VARARGS | METH_KEYWORDS },
39635 { (char *)"CommandEvent_GetInt", (PyCFunction) _wrap_CommandEvent_GetInt, METH_VARARGS | METH_KEYWORDS },
39636 { (char *)"CommandEvent_Clone", (PyCFunction) _wrap_CommandEvent_Clone, METH_VARARGS | METH_KEYWORDS },
39637 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister, METH_VARARGS },
39638 { (char *)"new_NotifyEvent", (PyCFunction) _wrap_new_NotifyEvent, METH_VARARGS | METH_KEYWORDS },
39639 { (char *)"NotifyEvent_Veto", (PyCFunction) _wrap_NotifyEvent_Veto, METH_VARARGS | METH_KEYWORDS },
39640 { (char *)"NotifyEvent_Allow", (PyCFunction) _wrap_NotifyEvent_Allow, METH_VARARGS | METH_KEYWORDS },
39641 { (char *)"NotifyEvent_IsAllowed", (PyCFunction) _wrap_NotifyEvent_IsAllowed, METH_VARARGS | METH_KEYWORDS },
39642 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister, METH_VARARGS },
39643 { (char *)"new_ScrollEvent", (PyCFunction) _wrap_new_ScrollEvent, METH_VARARGS | METH_KEYWORDS },
39644 { (char *)"ScrollEvent_GetOrientation", (PyCFunction) _wrap_ScrollEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
39645 { (char *)"ScrollEvent_GetPosition", (PyCFunction) _wrap_ScrollEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39646 { (char *)"ScrollEvent_SetOrientation", (PyCFunction) _wrap_ScrollEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
39647 { (char *)"ScrollEvent_SetPosition", (PyCFunction) _wrap_ScrollEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
39648 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister, METH_VARARGS },
39649 { (char *)"new_ScrollWinEvent", (PyCFunction) _wrap_new_ScrollWinEvent, METH_VARARGS | METH_KEYWORDS },
39650 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction) _wrap_ScrollWinEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
39651 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction) _wrap_ScrollWinEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39652 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction) _wrap_ScrollWinEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
39653 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction) _wrap_ScrollWinEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
39654 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister, METH_VARARGS },
39655 { (char *)"new_MouseEvent", (PyCFunction) _wrap_new_MouseEvent, METH_VARARGS | METH_KEYWORDS },
39656 { (char *)"MouseEvent_IsButton", (PyCFunction) _wrap_MouseEvent_IsButton, METH_VARARGS | METH_KEYWORDS },
39657 { (char *)"MouseEvent_ButtonDown", (PyCFunction) _wrap_MouseEvent_ButtonDown, METH_VARARGS | METH_KEYWORDS },
39658 { (char *)"MouseEvent_ButtonDClick", (PyCFunction) _wrap_MouseEvent_ButtonDClick, METH_VARARGS | METH_KEYWORDS },
39659 { (char *)"MouseEvent_ButtonUp", (PyCFunction) _wrap_MouseEvent_ButtonUp, METH_VARARGS | METH_KEYWORDS },
39660 { (char *)"MouseEvent_Button", (PyCFunction) _wrap_MouseEvent_Button, METH_VARARGS | METH_KEYWORDS },
39661 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction) _wrap_MouseEvent_ButtonIsDown, METH_VARARGS | METH_KEYWORDS },
39662 { (char *)"MouseEvent_GetButton", (PyCFunction) _wrap_MouseEvent_GetButton, METH_VARARGS | METH_KEYWORDS },
39663 { (char *)"MouseEvent_ControlDown", (PyCFunction) _wrap_MouseEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
39664 { (char *)"MouseEvent_MetaDown", (PyCFunction) _wrap_MouseEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
39665 { (char *)"MouseEvent_AltDown", (PyCFunction) _wrap_MouseEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
39666 { (char *)"MouseEvent_ShiftDown", (PyCFunction) _wrap_MouseEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
39667 { (char *)"MouseEvent_LeftDown", (PyCFunction) _wrap_MouseEvent_LeftDown, METH_VARARGS | METH_KEYWORDS },
39668 { (char *)"MouseEvent_MiddleDown", (PyCFunction) _wrap_MouseEvent_MiddleDown, METH_VARARGS | METH_KEYWORDS },
39669 { (char *)"MouseEvent_RightDown", (PyCFunction) _wrap_MouseEvent_RightDown, METH_VARARGS | METH_KEYWORDS },
39670 { (char *)"MouseEvent_LeftUp", (PyCFunction) _wrap_MouseEvent_LeftUp, METH_VARARGS | METH_KEYWORDS },
39671 { (char *)"MouseEvent_MiddleUp", (PyCFunction) _wrap_MouseEvent_MiddleUp, METH_VARARGS | METH_KEYWORDS },
39672 { (char *)"MouseEvent_RightUp", (PyCFunction) _wrap_MouseEvent_RightUp, METH_VARARGS | METH_KEYWORDS },
39673 { (char *)"MouseEvent_LeftDClick", (PyCFunction) _wrap_MouseEvent_LeftDClick, METH_VARARGS | METH_KEYWORDS },
39674 { (char *)"MouseEvent_MiddleDClick", (PyCFunction) _wrap_MouseEvent_MiddleDClick, METH_VARARGS | METH_KEYWORDS },
39675 { (char *)"MouseEvent_RightDClick", (PyCFunction) _wrap_MouseEvent_RightDClick, METH_VARARGS | METH_KEYWORDS },
39676 { (char *)"MouseEvent_LeftIsDown", (PyCFunction) _wrap_MouseEvent_LeftIsDown, METH_VARARGS | METH_KEYWORDS },
39677 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction) _wrap_MouseEvent_MiddleIsDown, METH_VARARGS | METH_KEYWORDS },
39678 { (char *)"MouseEvent_RightIsDown", (PyCFunction) _wrap_MouseEvent_RightIsDown, METH_VARARGS | METH_KEYWORDS },
39679 { (char *)"MouseEvent_Dragging", (PyCFunction) _wrap_MouseEvent_Dragging, METH_VARARGS | METH_KEYWORDS },
39680 { (char *)"MouseEvent_Moving", (PyCFunction) _wrap_MouseEvent_Moving, METH_VARARGS | METH_KEYWORDS },
39681 { (char *)"MouseEvent_Entering", (PyCFunction) _wrap_MouseEvent_Entering, METH_VARARGS | METH_KEYWORDS },
39682 { (char *)"MouseEvent_Leaving", (PyCFunction) _wrap_MouseEvent_Leaving, METH_VARARGS | METH_KEYWORDS },
39683 { (char *)"MouseEvent_GetPosition", (PyCFunction) _wrap_MouseEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39684 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction) _wrap_MouseEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
39685 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction) _wrap_MouseEvent_GetLogicalPosition, METH_VARARGS | METH_KEYWORDS },
39686 { (char *)"MouseEvent_GetX", (PyCFunction) _wrap_MouseEvent_GetX, METH_VARARGS | METH_KEYWORDS },
39687 { (char *)"MouseEvent_GetY", (PyCFunction) _wrap_MouseEvent_GetY, METH_VARARGS | METH_KEYWORDS },
39688 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction) _wrap_MouseEvent_GetWheelRotation, METH_VARARGS | METH_KEYWORDS },
39689 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction) _wrap_MouseEvent_GetWheelDelta, METH_VARARGS | METH_KEYWORDS },
39690 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction) _wrap_MouseEvent_GetLinesPerAction, METH_VARARGS | METH_KEYWORDS },
39691 { (char *)"MouseEvent_IsPageScroll", (PyCFunction) _wrap_MouseEvent_IsPageScroll, METH_VARARGS | METH_KEYWORDS },
39692 { (char *)"MouseEvent_m_x_set", (PyCFunction) _wrap_MouseEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
39693 { (char *)"MouseEvent_m_x_get", (PyCFunction) _wrap_MouseEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
39694 { (char *)"MouseEvent_m_y_set", (PyCFunction) _wrap_MouseEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
39695 { (char *)"MouseEvent_m_y_get", (PyCFunction) _wrap_MouseEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
39696 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction) _wrap_MouseEvent_m_leftDown_set, METH_VARARGS | METH_KEYWORDS },
39697 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction) _wrap_MouseEvent_m_leftDown_get, METH_VARARGS | METH_KEYWORDS },
39698 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction) _wrap_MouseEvent_m_middleDown_set, METH_VARARGS | METH_KEYWORDS },
39699 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction) _wrap_MouseEvent_m_middleDown_get, METH_VARARGS | METH_KEYWORDS },
39700 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction) _wrap_MouseEvent_m_rightDown_set, METH_VARARGS | METH_KEYWORDS },
39701 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction) _wrap_MouseEvent_m_rightDown_get, METH_VARARGS | METH_KEYWORDS },
39702 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction) _wrap_MouseEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
39703 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction) _wrap_MouseEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
39704 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction) _wrap_MouseEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
39705 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction) _wrap_MouseEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
39706 { (char *)"MouseEvent_m_altDown_set", (PyCFunction) _wrap_MouseEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
39707 { (char *)"MouseEvent_m_altDown_get", (PyCFunction) _wrap_MouseEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
39708 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction) _wrap_MouseEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
39709 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction) _wrap_MouseEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
39710 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_set, METH_VARARGS | METH_KEYWORDS },
39711 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction) _wrap_MouseEvent_m_wheelRotation_get, METH_VARARGS | METH_KEYWORDS },
39712 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_set, METH_VARARGS | METH_KEYWORDS },
39713 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction) _wrap_MouseEvent_m_wheelDelta_get, METH_VARARGS | METH_KEYWORDS },
39714 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_set, METH_VARARGS | METH_KEYWORDS },
39715 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction) _wrap_MouseEvent_m_linesPerAction_get, METH_VARARGS | METH_KEYWORDS },
39716 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister, METH_VARARGS },
39717 { (char *)"new_SetCursorEvent", (PyCFunction) _wrap_new_SetCursorEvent, METH_VARARGS | METH_KEYWORDS },
39718 { (char *)"SetCursorEvent_GetX", (PyCFunction) _wrap_SetCursorEvent_GetX, METH_VARARGS | METH_KEYWORDS },
39719 { (char *)"SetCursorEvent_GetY", (PyCFunction) _wrap_SetCursorEvent_GetY, METH_VARARGS | METH_KEYWORDS },
39720 { (char *)"SetCursorEvent_SetCursor", (PyCFunction) _wrap_SetCursorEvent_SetCursor, METH_VARARGS | METH_KEYWORDS },
39721 { (char *)"SetCursorEvent_GetCursor", (PyCFunction) _wrap_SetCursorEvent_GetCursor, METH_VARARGS | METH_KEYWORDS },
39722 { (char *)"SetCursorEvent_HasCursor", (PyCFunction) _wrap_SetCursorEvent_HasCursor, METH_VARARGS | METH_KEYWORDS },
39723 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister, METH_VARARGS },
39724 { (char *)"new_KeyEvent", (PyCFunction) _wrap_new_KeyEvent, METH_VARARGS | METH_KEYWORDS },
39725 { (char *)"KeyEvent_ControlDown", (PyCFunction) _wrap_KeyEvent_ControlDown, METH_VARARGS | METH_KEYWORDS },
39726 { (char *)"KeyEvent_MetaDown", (PyCFunction) _wrap_KeyEvent_MetaDown, METH_VARARGS | METH_KEYWORDS },
39727 { (char *)"KeyEvent_AltDown", (PyCFunction) _wrap_KeyEvent_AltDown, METH_VARARGS | METH_KEYWORDS },
39728 { (char *)"KeyEvent_ShiftDown", (PyCFunction) _wrap_KeyEvent_ShiftDown, METH_VARARGS | METH_KEYWORDS },
39729 { (char *)"KeyEvent_HasModifiers", (PyCFunction) _wrap_KeyEvent_HasModifiers, METH_VARARGS | METH_KEYWORDS },
39730 { (char *)"KeyEvent_GetKeyCode", (PyCFunction) _wrap_KeyEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
39731 { (char *)"KeyEvent_GetUniChar", (PyCFunction) _wrap_KeyEvent_GetUniChar, METH_VARARGS | METH_KEYWORDS },
39732 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction) _wrap_KeyEvent_GetRawKeyCode, METH_VARARGS | METH_KEYWORDS },
39733 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction) _wrap_KeyEvent_GetRawKeyFlags, METH_VARARGS | METH_KEYWORDS },
39734 { (char *)"KeyEvent_GetPosition", (PyCFunction) _wrap_KeyEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39735 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction) _wrap_KeyEvent_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
39736 { (char *)"KeyEvent_GetX", (PyCFunction) _wrap_KeyEvent_GetX, METH_VARARGS | METH_KEYWORDS },
39737 { (char *)"KeyEvent_GetY", (PyCFunction) _wrap_KeyEvent_GetY, METH_VARARGS | METH_KEYWORDS },
39738 { (char *)"KeyEvent_m_x_set", (PyCFunction) _wrap_KeyEvent_m_x_set, METH_VARARGS | METH_KEYWORDS },
39739 { (char *)"KeyEvent_m_x_get", (PyCFunction) _wrap_KeyEvent_m_x_get, METH_VARARGS | METH_KEYWORDS },
39740 { (char *)"KeyEvent_m_y_set", (PyCFunction) _wrap_KeyEvent_m_y_set, METH_VARARGS | METH_KEYWORDS },
39741 { (char *)"KeyEvent_m_y_get", (PyCFunction) _wrap_KeyEvent_m_y_get, METH_VARARGS | METH_KEYWORDS },
39742 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction) _wrap_KeyEvent_m_keyCode_set, METH_VARARGS | METH_KEYWORDS },
39743 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction) _wrap_KeyEvent_m_keyCode_get, METH_VARARGS | METH_KEYWORDS },
39744 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction) _wrap_KeyEvent_m_controlDown_set, METH_VARARGS | METH_KEYWORDS },
39745 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction) _wrap_KeyEvent_m_controlDown_get, METH_VARARGS | METH_KEYWORDS },
39746 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction) _wrap_KeyEvent_m_shiftDown_set, METH_VARARGS | METH_KEYWORDS },
39747 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction) _wrap_KeyEvent_m_shiftDown_get, METH_VARARGS | METH_KEYWORDS },
39748 { (char *)"KeyEvent_m_altDown_set", (PyCFunction) _wrap_KeyEvent_m_altDown_set, METH_VARARGS | METH_KEYWORDS },
39749 { (char *)"KeyEvent_m_altDown_get", (PyCFunction) _wrap_KeyEvent_m_altDown_get, METH_VARARGS | METH_KEYWORDS },
39750 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction) _wrap_KeyEvent_m_metaDown_set, METH_VARARGS | METH_KEYWORDS },
39751 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction) _wrap_KeyEvent_m_metaDown_get, METH_VARARGS | METH_KEYWORDS },
39752 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction) _wrap_KeyEvent_m_scanCode_set, METH_VARARGS | METH_KEYWORDS },
39753 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction) _wrap_KeyEvent_m_scanCode_get, METH_VARARGS | METH_KEYWORDS },
39754 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction) _wrap_KeyEvent_m_rawCode_set, METH_VARARGS | METH_KEYWORDS },
39755 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction) _wrap_KeyEvent_m_rawCode_get, METH_VARARGS | METH_KEYWORDS },
39756 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction) _wrap_KeyEvent_m_rawFlags_set, METH_VARARGS | METH_KEYWORDS },
39757 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction) _wrap_KeyEvent_m_rawFlags_get, METH_VARARGS | METH_KEYWORDS },
39758 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister, METH_VARARGS },
39759 { (char *)"new_SizeEvent", (PyCFunction) _wrap_new_SizeEvent, METH_VARARGS | METH_KEYWORDS },
39760 { (char *)"SizeEvent_GetSize", (PyCFunction) _wrap_SizeEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
39761 { (char *)"SizeEvent_GetRect", (PyCFunction) _wrap_SizeEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
39762 { (char *)"SizeEvent_SetRect", (PyCFunction) _wrap_SizeEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
39763 { (char *)"SizeEvent_SetSize", (PyCFunction) _wrap_SizeEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
39764 { (char *)"SizeEvent_m_size_set", (PyCFunction) _wrap_SizeEvent_m_size_set, METH_VARARGS | METH_KEYWORDS },
39765 { (char *)"SizeEvent_m_size_get", (PyCFunction) _wrap_SizeEvent_m_size_get, METH_VARARGS | METH_KEYWORDS },
39766 { (char *)"SizeEvent_m_rect_set", (PyCFunction) _wrap_SizeEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
39767 { (char *)"SizeEvent_m_rect_get", (PyCFunction) _wrap_SizeEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
39768 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister, METH_VARARGS },
39769 { (char *)"new_MoveEvent", (PyCFunction) _wrap_new_MoveEvent, METH_VARARGS | METH_KEYWORDS },
39770 { (char *)"MoveEvent_GetPosition", (PyCFunction) _wrap_MoveEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39771 { (char *)"MoveEvent_GetRect", (PyCFunction) _wrap_MoveEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
39772 { (char *)"MoveEvent_SetRect", (PyCFunction) _wrap_MoveEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
39773 { (char *)"MoveEvent_SetPosition", (PyCFunction) _wrap_MoveEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
39774 { (char *)"MoveEvent_m_pos_set", (PyCFunction) _wrap_MoveEvent_m_pos_set, METH_VARARGS | METH_KEYWORDS },
39775 { (char *)"MoveEvent_m_pos_get", (PyCFunction) _wrap_MoveEvent_m_pos_get, METH_VARARGS | METH_KEYWORDS },
39776 { (char *)"MoveEvent_m_rect_set", (PyCFunction) _wrap_MoveEvent_m_rect_set, METH_VARARGS | METH_KEYWORDS },
39777 { (char *)"MoveEvent_m_rect_get", (PyCFunction) _wrap_MoveEvent_m_rect_get, METH_VARARGS | METH_KEYWORDS },
39778 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister, METH_VARARGS },
39779 { (char *)"new_PaintEvent", (PyCFunction) _wrap_new_PaintEvent, METH_VARARGS | METH_KEYWORDS },
39780 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister, METH_VARARGS },
39781 { (char *)"new_NcPaintEvent", (PyCFunction) _wrap_new_NcPaintEvent, METH_VARARGS | METH_KEYWORDS },
39782 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister, METH_VARARGS },
39783 { (char *)"new_EraseEvent", (PyCFunction) _wrap_new_EraseEvent, METH_VARARGS | METH_KEYWORDS },
39784 { (char *)"EraseEvent_GetDC", (PyCFunction) _wrap_EraseEvent_GetDC, METH_VARARGS | METH_KEYWORDS },
39785 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister, METH_VARARGS },
39786 { (char *)"new_FocusEvent", (PyCFunction) _wrap_new_FocusEvent, METH_VARARGS | METH_KEYWORDS },
39787 { (char *)"FocusEvent_GetWindow", (PyCFunction) _wrap_FocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
39788 { (char *)"FocusEvent_SetWindow", (PyCFunction) _wrap_FocusEvent_SetWindow, METH_VARARGS | METH_KEYWORDS },
39789 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister, METH_VARARGS },
39790 { (char *)"new_ChildFocusEvent", (PyCFunction) _wrap_new_ChildFocusEvent, METH_VARARGS | METH_KEYWORDS },
39791 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction) _wrap_ChildFocusEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
39792 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister, METH_VARARGS },
39793 { (char *)"new_ActivateEvent", (PyCFunction) _wrap_new_ActivateEvent, METH_VARARGS | METH_KEYWORDS },
39794 { (char *)"ActivateEvent_GetActive", (PyCFunction) _wrap_ActivateEvent_GetActive, METH_VARARGS | METH_KEYWORDS },
39795 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister, METH_VARARGS },
39796 { (char *)"new_InitDialogEvent", (PyCFunction) _wrap_new_InitDialogEvent, METH_VARARGS | METH_KEYWORDS },
39797 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister, METH_VARARGS },
39798 { (char *)"new_MenuEvent", (PyCFunction) _wrap_new_MenuEvent, METH_VARARGS | METH_KEYWORDS },
39799 { (char *)"MenuEvent_GetMenuId", (PyCFunction) _wrap_MenuEvent_GetMenuId, METH_VARARGS | METH_KEYWORDS },
39800 { (char *)"MenuEvent_IsPopup", (PyCFunction) _wrap_MenuEvent_IsPopup, METH_VARARGS | METH_KEYWORDS },
39801 { (char *)"MenuEvent_GetMenu", (PyCFunction) _wrap_MenuEvent_GetMenu, METH_VARARGS | METH_KEYWORDS },
39802 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister, METH_VARARGS },
39803 { (char *)"new_CloseEvent", (PyCFunction) _wrap_new_CloseEvent, METH_VARARGS | METH_KEYWORDS },
39804 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction) _wrap_CloseEvent_SetLoggingOff, METH_VARARGS | METH_KEYWORDS },
39805 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction) _wrap_CloseEvent_GetLoggingOff, METH_VARARGS | METH_KEYWORDS },
39806 { (char *)"CloseEvent_Veto", (PyCFunction) _wrap_CloseEvent_Veto, METH_VARARGS | METH_KEYWORDS },
39807 { (char *)"CloseEvent_SetCanVeto", (PyCFunction) _wrap_CloseEvent_SetCanVeto, METH_VARARGS | METH_KEYWORDS },
39808 { (char *)"CloseEvent_CanVeto", (PyCFunction) _wrap_CloseEvent_CanVeto, METH_VARARGS | METH_KEYWORDS },
39809 { (char *)"CloseEvent_GetVeto", (PyCFunction) _wrap_CloseEvent_GetVeto, METH_VARARGS | METH_KEYWORDS },
39810 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister, METH_VARARGS },
39811 { (char *)"new_ShowEvent", (PyCFunction) _wrap_new_ShowEvent, METH_VARARGS | METH_KEYWORDS },
39812 { (char *)"ShowEvent_SetShow", (PyCFunction) _wrap_ShowEvent_SetShow, METH_VARARGS | METH_KEYWORDS },
39813 { (char *)"ShowEvent_GetShow", (PyCFunction) _wrap_ShowEvent_GetShow, METH_VARARGS | METH_KEYWORDS },
39814 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister, METH_VARARGS },
39815 { (char *)"new_IconizeEvent", (PyCFunction) _wrap_new_IconizeEvent, METH_VARARGS | METH_KEYWORDS },
39816 { (char *)"IconizeEvent_Iconized", (PyCFunction) _wrap_IconizeEvent_Iconized, METH_VARARGS | METH_KEYWORDS },
39817 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister, METH_VARARGS },
39818 { (char *)"new_MaximizeEvent", (PyCFunction) _wrap_new_MaximizeEvent, METH_VARARGS | METH_KEYWORDS },
39819 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister, METH_VARARGS },
39820 { (char *)"DropFilesEvent_GetPosition", (PyCFunction) _wrap_DropFilesEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39821 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction) _wrap_DropFilesEvent_GetNumberOfFiles, METH_VARARGS | METH_KEYWORDS },
39822 { (char *)"DropFilesEvent_GetFiles", (PyCFunction) _wrap_DropFilesEvent_GetFiles, METH_VARARGS | METH_KEYWORDS },
39823 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister, METH_VARARGS },
39824 { (char *)"new_UpdateUIEvent", (PyCFunction) _wrap_new_UpdateUIEvent, METH_VARARGS | METH_KEYWORDS },
39825 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetChecked, METH_VARARGS | METH_KEYWORDS },
39826 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetEnabled, METH_VARARGS | METH_KEYWORDS },
39827 { (char *)"UpdateUIEvent_GetText", (PyCFunction) _wrap_UpdateUIEvent_GetText, METH_VARARGS | METH_KEYWORDS },
39828 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction) _wrap_UpdateUIEvent_GetSetText, METH_VARARGS | METH_KEYWORDS },
39829 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction) _wrap_UpdateUIEvent_GetSetChecked, METH_VARARGS | METH_KEYWORDS },
39830 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction) _wrap_UpdateUIEvent_GetSetEnabled, METH_VARARGS | METH_KEYWORDS },
39831 { (char *)"UpdateUIEvent_Check", (PyCFunction) _wrap_UpdateUIEvent_Check, METH_VARARGS | METH_KEYWORDS },
39832 { (char *)"UpdateUIEvent_Enable", (PyCFunction) _wrap_UpdateUIEvent_Enable, METH_VARARGS | METH_KEYWORDS },
39833 { (char *)"UpdateUIEvent_SetText", (PyCFunction) _wrap_UpdateUIEvent_SetText, METH_VARARGS | METH_KEYWORDS },
39834 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_SetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
39835 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction) _wrap_UpdateUIEvent_GetUpdateInterval, METH_VARARGS | METH_KEYWORDS },
39836 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction) _wrap_UpdateUIEvent_CanUpdate, METH_VARARGS | METH_KEYWORDS },
39837 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction) _wrap_UpdateUIEvent_ResetUpdateTime, METH_VARARGS | METH_KEYWORDS },
39838 { (char *)"UpdateUIEvent_SetMode", (PyCFunction) _wrap_UpdateUIEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
39839 { (char *)"UpdateUIEvent_GetMode", (PyCFunction) _wrap_UpdateUIEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
39840 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister, METH_VARARGS },
39841 { (char *)"new_SysColourChangedEvent", (PyCFunction) _wrap_new_SysColourChangedEvent, METH_VARARGS | METH_KEYWORDS },
39842 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister, METH_VARARGS },
39843 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction) _wrap_new_MouseCaptureChangedEvent, METH_VARARGS | METH_KEYWORDS },
39844 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction) _wrap_MouseCaptureChangedEvent_GetCapturedWindow, METH_VARARGS | METH_KEYWORDS },
39845 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister, METH_VARARGS },
39846 { (char *)"new_DisplayChangedEvent", (PyCFunction) _wrap_new_DisplayChangedEvent, METH_VARARGS | METH_KEYWORDS },
39847 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister, METH_VARARGS },
39848 { (char *)"new_PaletteChangedEvent", (PyCFunction) _wrap_new_PaletteChangedEvent, METH_VARARGS | METH_KEYWORDS },
39849 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_SetChangedWindow, METH_VARARGS | METH_KEYWORDS },
39850 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction) _wrap_PaletteChangedEvent_GetChangedWindow, METH_VARARGS | METH_KEYWORDS },
39851 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister, METH_VARARGS },
39852 { (char *)"new_QueryNewPaletteEvent", (PyCFunction) _wrap_new_QueryNewPaletteEvent, METH_VARARGS | METH_KEYWORDS },
39853 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_SetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
39854 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction) _wrap_QueryNewPaletteEvent_GetPaletteRealized, METH_VARARGS | METH_KEYWORDS },
39855 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister, METH_VARARGS },
39856 { (char *)"new_NavigationKeyEvent", (PyCFunction) _wrap_new_NavigationKeyEvent, METH_VARARGS | METH_KEYWORDS },
39857 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction) _wrap_NavigationKeyEvent_GetDirection, METH_VARARGS | METH_KEYWORDS },
39858 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction) _wrap_NavigationKeyEvent_SetDirection, METH_VARARGS | METH_KEYWORDS },
39859 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_IsWindowChange, METH_VARARGS | METH_KEYWORDS },
39860 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction) _wrap_NavigationKeyEvent_SetWindowChange, METH_VARARGS | METH_KEYWORDS },
39861 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_GetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
39862 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction) _wrap_NavigationKeyEvent_SetCurrentFocus, METH_VARARGS | METH_KEYWORDS },
39863 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister, METH_VARARGS },
39864 { (char *)"new_WindowCreateEvent", (PyCFunction) _wrap_new_WindowCreateEvent, METH_VARARGS | METH_KEYWORDS },
39865 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction) _wrap_WindowCreateEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
39866 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister, METH_VARARGS },
39867 { (char *)"new_WindowDestroyEvent", (PyCFunction) _wrap_new_WindowDestroyEvent, METH_VARARGS | METH_KEYWORDS },
39868 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction) _wrap_WindowDestroyEvent_GetWindow, METH_VARARGS | METH_KEYWORDS },
39869 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister, METH_VARARGS },
39870 { (char *)"new_ContextMenuEvent", (PyCFunction) _wrap_new_ContextMenuEvent, METH_VARARGS | METH_KEYWORDS },
39871 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction) _wrap_ContextMenuEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
39872 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction) _wrap_ContextMenuEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
39873 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister, METH_VARARGS },
39874 { (char *)"new_IdleEvent", (PyCFunction) _wrap_new_IdleEvent, METH_VARARGS | METH_KEYWORDS },
39875 { (char *)"IdleEvent_RequestMore", (PyCFunction) _wrap_IdleEvent_RequestMore, METH_VARARGS | METH_KEYWORDS },
39876 { (char *)"IdleEvent_MoreRequested", (PyCFunction) _wrap_IdleEvent_MoreRequested, METH_VARARGS | METH_KEYWORDS },
39877 { (char *)"IdleEvent_SetMode", (PyCFunction) _wrap_IdleEvent_SetMode, METH_VARARGS | METH_KEYWORDS },
39878 { (char *)"IdleEvent_GetMode", (PyCFunction) _wrap_IdleEvent_GetMode, METH_VARARGS | METH_KEYWORDS },
39879 { (char *)"IdleEvent_CanSend", (PyCFunction) _wrap_IdleEvent_CanSend, METH_VARARGS | METH_KEYWORDS },
39880 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister, METH_VARARGS },
39881 { (char *)"new_PyEvent", (PyCFunction) _wrap_new_PyEvent, METH_VARARGS | METH_KEYWORDS },
39882 { (char *)"delete_PyEvent", (PyCFunction) _wrap_delete_PyEvent, METH_VARARGS | METH_KEYWORDS },
39883 { (char *)"PyEvent_SetSelf", (PyCFunction) _wrap_PyEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
39884 { (char *)"PyEvent_GetSelf", (PyCFunction) _wrap_PyEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
39885 { (char *)"PyEvent_swigregister", PyEvent_swigregister, METH_VARARGS },
39886 { (char *)"new_PyCommandEvent", (PyCFunction) _wrap_new_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
39887 { (char *)"delete_PyCommandEvent", (PyCFunction) _wrap_delete_PyCommandEvent, METH_VARARGS | METH_KEYWORDS },
39888 { (char *)"PyCommandEvent_SetSelf", (PyCFunction) _wrap_PyCommandEvent_SetSelf, METH_VARARGS | METH_KEYWORDS },
39889 { (char *)"PyCommandEvent_GetSelf", (PyCFunction) _wrap_PyCommandEvent_GetSelf, METH_VARARGS | METH_KEYWORDS },
39890 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister, METH_VARARGS },
39891 { (char *)"new_PyApp", (PyCFunction) _wrap_new_PyApp, METH_VARARGS | METH_KEYWORDS },
39892 { (char *)"delete_PyApp", (PyCFunction) _wrap_delete_PyApp, METH_VARARGS | METH_KEYWORDS },
39893 { (char *)"PyApp__setCallbackInfo", (PyCFunction) _wrap_PyApp__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
39894 { (char *)"PyApp_GetAppName", (PyCFunction) _wrap_PyApp_GetAppName, METH_VARARGS | METH_KEYWORDS },
39895 { (char *)"PyApp_SetAppName", (PyCFunction) _wrap_PyApp_SetAppName, METH_VARARGS | METH_KEYWORDS },
39896 { (char *)"PyApp_GetClassName", (PyCFunction) _wrap_PyApp_GetClassName, METH_VARARGS | METH_KEYWORDS },
39897 { (char *)"PyApp_SetClassName", (PyCFunction) _wrap_PyApp_SetClassName, METH_VARARGS | METH_KEYWORDS },
39898 { (char *)"PyApp_GetVendorName", (PyCFunction) _wrap_PyApp_GetVendorName, METH_VARARGS | METH_KEYWORDS },
39899 { (char *)"PyApp_SetVendorName", (PyCFunction) _wrap_PyApp_SetVendorName, METH_VARARGS | METH_KEYWORDS },
39900 { (char *)"PyApp_GetTraits", (PyCFunction) _wrap_PyApp_GetTraits, METH_VARARGS | METH_KEYWORDS },
39901 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction) _wrap_PyApp_ProcessPendingEvents, METH_VARARGS | METH_KEYWORDS },
39902 { (char *)"PyApp_Yield", (PyCFunction) _wrap_PyApp_Yield, METH_VARARGS | METH_KEYWORDS },
39903 { (char *)"PyApp_WakeUpIdle", (PyCFunction) _wrap_PyApp_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
39904 { (char *)"PyApp_MainLoop", (PyCFunction) _wrap_PyApp_MainLoop, METH_VARARGS | METH_KEYWORDS },
39905 { (char *)"PyApp_Exit", (PyCFunction) _wrap_PyApp_Exit, METH_VARARGS | METH_KEYWORDS },
39906 { (char *)"PyApp_ExitMainLoop", (PyCFunction) _wrap_PyApp_ExitMainLoop, METH_VARARGS | METH_KEYWORDS },
39907 { (char *)"PyApp_Pending", (PyCFunction) _wrap_PyApp_Pending, METH_VARARGS | METH_KEYWORDS },
39908 { (char *)"PyApp_Dispatch", (PyCFunction) _wrap_PyApp_Dispatch, METH_VARARGS | METH_KEYWORDS },
39909 { (char *)"PyApp_ProcessIdle", (PyCFunction) _wrap_PyApp_ProcessIdle, METH_VARARGS | METH_KEYWORDS },
39910 { (char *)"PyApp_SendIdleEvents", (PyCFunction) _wrap_PyApp_SendIdleEvents, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39911 { (char *)"PyApp_IsActive", (PyCFunction) _wrap_PyApp_IsActive, METH_VARARGS | METH_KEYWORDS },
39912 { (char *)"PyApp_SetTopWindow", (PyCFunction) _wrap_PyApp_SetTopWindow, METH_VARARGS | METH_KEYWORDS },
39913 { (char *)"PyApp_GetTopWindow", (PyCFunction) _wrap_PyApp_GetTopWindow, METH_VARARGS | METH_KEYWORDS },
39914 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_SetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
39915 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction) _wrap_PyApp_GetExitOnFrameDelete, METH_VARARGS | METH_KEYWORDS },
39916 { (char *)"PyApp_SetUseBestVisual", (PyCFunction) _wrap_PyApp_SetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
39917 { (char *)"PyApp_GetUseBestVisual", (PyCFunction) _wrap_PyApp_GetUseBestVisual, METH_VARARGS | METH_KEYWORDS },
39918 { (char *)"PyApp_SetPrintMode", (PyCFunction) _wrap_PyApp_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
39919 { (char *)"PyApp_GetPrintMode", (PyCFunction) _wrap_PyApp_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28 39920 { (char *)"PyApp_SetAssertMode", (PyCFunction) _wrap_PyApp_SetAssertMode, METH_VARARGS | METH_KEYWORDS },
44127b65 39921 { (char *)"PyApp_GetAssertMode", (PyCFunction) _wrap_PyApp_GetAssertMode, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39922 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_GetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
39923 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_GetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
39924 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_GetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
39925 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_GetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
39926 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_GetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
39927 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction) _wrap_PyApp_SetMacSupportPCMenuShortcuts, METH_VARARGS | METH_KEYWORDS },
39928 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction) _wrap_PyApp_SetMacAboutMenuItemId, METH_VARARGS | METH_KEYWORDS },
39929 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction) _wrap_PyApp_SetMacPreferencesMenuItemId, METH_VARARGS | METH_KEYWORDS },
39930 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction) _wrap_PyApp_SetMacExitMenuItemId, METH_VARARGS | METH_KEYWORDS },
39931 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction) _wrap_PyApp_SetMacHelpMenuTitleName, METH_VARARGS | METH_KEYWORDS },
39932 { (char *)"PyApp__BootstrapApp", (PyCFunction) _wrap_PyApp__BootstrapApp, METH_VARARGS | METH_KEYWORDS },
39933 { (char *)"PyApp_GetComCtl32Version", (PyCFunction) _wrap_PyApp_GetComCtl32Version, METH_VARARGS | METH_KEYWORDS },
39934 { (char *)"PyApp_swigregister", PyApp_swigregister, METH_VARARGS },
39935 { (char *)"Exit", (PyCFunction) _wrap_Exit, METH_VARARGS | METH_KEYWORDS },
39936 { (char *)"Yield", (PyCFunction) _wrap_Yield, METH_VARARGS | METH_KEYWORDS },
39937 { (char *)"YieldIfNeeded", (PyCFunction) _wrap_YieldIfNeeded, METH_VARARGS | METH_KEYWORDS },
39938 { (char *)"SafeYield", (PyCFunction) _wrap_SafeYield, METH_VARARGS | METH_KEYWORDS },
39939 { (char *)"WakeUpIdle", (PyCFunction) _wrap_WakeUpIdle, METH_VARARGS | METH_KEYWORDS },
39940 { (char *)"PostEvent", (PyCFunction) _wrap_PostEvent, METH_VARARGS | METH_KEYWORDS },
39941 { (char *)"App_CleanUp", (PyCFunction) _wrap_App_CleanUp, METH_VARARGS | METH_KEYWORDS },
39942 { (char *)"GetApp", (PyCFunction) _wrap_GetApp, METH_VARARGS | METH_KEYWORDS },
41f1cec7
RD
39943 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
39944 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
39945 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
39946 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
39947 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
39948 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
39949 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
39950 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
39951 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
39952 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
39953 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
39954 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
39955 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
39956 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39957 { (char *)"new_Window", (PyCFunction) _wrap_new_Window, METH_VARARGS | METH_KEYWORDS },
39958 { (char *)"new_PreWindow", (PyCFunction) _wrap_new_PreWindow, METH_VARARGS | METH_KEYWORDS },
39959 { (char *)"Window_Create", (PyCFunction) _wrap_Window_Create, METH_VARARGS | METH_KEYWORDS },
39960 { (char *)"Window_Close", (PyCFunction) _wrap_Window_Close, METH_VARARGS | METH_KEYWORDS },
39961 { (char *)"Window_Destroy", (PyCFunction) _wrap_Window_Destroy, METH_VARARGS | METH_KEYWORDS },
39962 { (char *)"Window_DestroyChildren", (PyCFunction) _wrap_Window_DestroyChildren, METH_VARARGS | METH_KEYWORDS },
39963 { (char *)"Window_IsBeingDeleted", (PyCFunction) _wrap_Window_IsBeingDeleted, METH_VARARGS | METH_KEYWORDS },
39964 { (char *)"Window_SetTitle", (PyCFunction) _wrap_Window_SetTitle, METH_VARARGS | METH_KEYWORDS },
39965 { (char *)"Window_GetTitle", (PyCFunction) _wrap_Window_GetTitle, METH_VARARGS | METH_KEYWORDS },
39966 { (char *)"Window_SetLabel", (PyCFunction) _wrap_Window_SetLabel, METH_VARARGS | METH_KEYWORDS },
39967 { (char *)"Window_GetLabel", (PyCFunction) _wrap_Window_GetLabel, METH_VARARGS | METH_KEYWORDS },
39968 { (char *)"Window_SetName", (PyCFunction) _wrap_Window_SetName, METH_VARARGS | METH_KEYWORDS },
39969 { (char *)"Window_GetName", (PyCFunction) _wrap_Window_GetName, METH_VARARGS | METH_KEYWORDS },
fe763115
RD
39970 { (char *)"Window_SetWindowVariant", (PyCFunction) _wrap_Window_SetWindowVariant, METH_VARARGS | METH_KEYWORDS },
39971 { (char *)"Window_GetWindowVariant", (PyCFunction) _wrap_Window_GetWindowVariant, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
39972 { (char *)"Window_SetId", (PyCFunction) _wrap_Window_SetId, METH_VARARGS | METH_KEYWORDS },
39973 { (char *)"Window_GetId", (PyCFunction) _wrap_Window_GetId, METH_VARARGS | METH_KEYWORDS },
39974 { (char *)"Window_NewControlId", (PyCFunction) _wrap_Window_NewControlId, METH_VARARGS | METH_KEYWORDS },
39975 { (char *)"Window_NextControlId", (PyCFunction) _wrap_Window_NextControlId, METH_VARARGS | METH_KEYWORDS },
39976 { (char *)"Window_PrevControlId", (PyCFunction) _wrap_Window_PrevControlId, METH_VARARGS | METH_KEYWORDS },
39977 { (char *)"Window_SetSize", (PyCFunction) _wrap_Window_SetSize, METH_VARARGS | METH_KEYWORDS },
39978 { (char *)"Window_SetDimensions", (PyCFunction) _wrap_Window_SetDimensions, METH_VARARGS | METH_KEYWORDS },
39979 { (char *)"Window_SetRect", (PyCFunction) _wrap_Window_SetRect, METH_VARARGS | METH_KEYWORDS },
39980 { (char *)"Window_SetSizeWH", (PyCFunction) _wrap_Window_SetSizeWH, METH_VARARGS | METH_KEYWORDS },
39981 { (char *)"Window_Move", (PyCFunction) _wrap_Window_Move, METH_VARARGS | METH_KEYWORDS },
39982 { (char *)"Window_MoveXY", (PyCFunction) _wrap_Window_MoveXY, METH_VARARGS | METH_KEYWORDS },
39983 { (char *)"Window_Raise", (PyCFunction) _wrap_Window_Raise, METH_VARARGS | METH_KEYWORDS },
39984 { (char *)"Window_Lower", (PyCFunction) _wrap_Window_Lower, METH_VARARGS | METH_KEYWORDS },
39985 { (char *)"Window_SetClientSize", (PyCFunction) _wrap_Window_SetClientSize, METH_VARARGS | METH_KEYWORDS },
39986 { (char *)"Window_SetClientSizeWH", (PyCFunction) _wrap_Window_SetClientSizeWH, METH_VARARGS | METH_KEYWORDS },
39987 { (char *)"Window_SetClientRect", (PyCFunction) _wrap_Window_SetClientRect, METH_VARARGS | METH_KEYWORDS },
39988 { (char *)"Window_GetPosition", (PyCFunction) _wrap_Window_GetPosition, METH_VARARGS | METH_KEYWORDS },
39989 { (char *)"Window_GetPositionTuple", (PyCFunction) _wrap_Window_GetPositionTuple, METH_VARARGS | METH_KEYWORDS },
39990 { (char *)"Window_GetSize", (PyCFunction) _wrap_Window_GetSize, METH_VARARGS | METH_KEYWORDS },
39991 { (char *)"Window_GetSizeTuple", (PyCFunction) _wrap_Window_GetSizeTuple, METH_VARARGS | METH_KEYWORDS },
39992 { (char *)"Window_GetRect", (PyCFunction) _wrap_Window_GetRect, METH_VARARGS | METH_KEYWORDS },
39993 { (char *)"Window_GetClientSize", (PyCFunction) _wrap_Window_GetClientSize, METH_VARARGS | METH_KEYWORDS },
39994 { (char *)"Window_GetClientSizeTuple", (PyCFunction) _wrap_Window_GetClientSizeTuple, METH_VARARGS | METH_KEYWORDS },
39995 { (char *)"Window_GetClientAreaOrigin", (PyCFunction) _wrap_Window_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
39996 { (char *)"Window_GetClientRect", (PyCFunction) _wrap_Window_GetClientRect, METH_VARARGS | METH_KEYWORDS },
39997 { (char *)"Window_GetBestSize", (PyCFunction) _wrap_Window_GetBestSize, METH_VARARGS | METH_KEYWORDS },
39998 { (char *)"Window_GetBestSizeTuple", (PyCFunction) _wrap_Window_GetBestSizeTuple, METH_VARARGS | METH_KEYWORDS },
39999 { (char *)"Window_GetAdjustedBestSize", (PyCFunction) _wrap_Window_GetAdjustedBestSize, METH_VARARGS | METH_KEYWORDS },
40000 { (char *)"Window_Center", (PyCFunction) _wrap_Window_Center, METH_VARARGS | METH_KEYWORDS },
40001 { (char *)"Window_CenterOnScreen", (PyCFunction) _wrap_Window_CenterOnScreen, METH_VARARGS | METH_KEYWORDS },
40002 { (char *)"Window_CenterOnParent", (PyCFunction) _wrap_Window_CenterOnParent, METH_VARARGS | METH_KEYWORDS },
40003 { (char *)"Window_Fit", (PyCFunction) _wrap_Window_Fit, METH_VARARGS | METH_KEYWORDS },
40004 { (char *)"Window_FitInside", (PyCFunction) _wrap_Window_FitInside, METH_VARARGS | METH_KEYWORDS },
40005 { (char *)"Window_SetSizeHints", (PyCFunction) _wrap_Window_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
40006 { (char *)"Window_SetVirtualSizeHints", (PyCFunction) _wrap_Window_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
40007 { (char *)"Window_GetMinWidth", (PyCFunction) _wrap_Window_GetMinWidth, METH_VARARGS | METH_KEYWORDS },
40008 { (char *)"Window_GetMinHeight", (PyCFunction) _wrap_Window_GetMinHeight, METH_VARARGS | METH_KEYWORDS },
40009 { (char *)"Window_GetMaxWidth", (PyCFunction) _wrap_Window_GetMaxWidth, METH_VARARGS | METH_KEYWORDS },
40010 { (char *)"Window_GetMaxHeight", (PyCFunction) _wrap_Window_GetMaxHeight, METH_VARARGS | METH_KEYWORDS },
40011 { (char *)"Window_GetMaxSize", (PyCFunction) _wrap_Window_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
40012 { (char *)"Window_SetVirtualSize", (PyCFunction) _wrap_Window_SetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40013 { (char *)"Window_SetVirtualSizeWH", (PyCFunction) _wrap_Window_SetVirtualSizeWH, METH_VARARGS | METH_KEYWORDS },
40014 { (char *)"Window_GetVirtualSize", (PyCFunction) _wrap_Window_GetVirtualSize, METH_VARARGS | METH_KEYWORDS },
40015 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction) _wrap_Window_GetVirtualSizeTuple, METH_VARARGS | METH_KEYWORDS },
40016 { (char *)"Window_GetBestVirtualSize", (PyCFunction) _wrap_Window_GetBestVirtualSize, METH_VARARGS | METH_KEYWORDS },
40017 { (char *)"Window_Show", (PyCFunction) _wrap_Window_Show, METH_VARARGS | METH_KEYWORDS },
40018 { (char *)"Window_Hide", (PyCFunction) _wrap_Window_Hide, METH_VARARGS | METH_KEYWORDS },
40019 { (char *)"Window_Enable", (PyCFunction) _wrap_Window_Enable, METH_VARARGS | METH_KEYWORDS },
40020 { (char *)"Window_Disable", (PyCFunction) _wrap_Window_Disable, METH_VARARGS | METH_KEYWORDS },
40021 { (char *)"Window_IsShown", (PyCFunction) _wrap_Window_IsShown, METH_VARARGS | METH_KEYWORDS },
40022 { (char *)"Window_IsEnabled", (PyCFunction) _wrap_Window_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40023 { (char *)"Window_SetWindowStyleFlag", (PyCFunction) _wrap_Window_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
40024 { (char *)"Window_GetWindowStyleFlag", (PyCFunction) _wrap_Window_GetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40025 { (char *)"Window_HasFlag", (PyCFunction) _wrap_Window_HasFlag, METH_VARARGS | METH_KEYWORDS },
40026 { (char *)"Window_IsRetained", (PyCFunction) _wrap_Window_IsRetained, METH_VARARGS | METH_KEYWORDS },
40027 { (char *)"Window_SetExtraStyle", (PyCFunction) _wrap_Window_SetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40028 { (char *)"Window_GetExtraStyle", (PyCFunction) _wrap_Window_GetExtraStyle, METH_VARARGS | METH_KEYWORDS },
40029 { (char *)"Window_MakeModal", (PyCFunction) _wrap_Window_MakeModal, METH_VARARGS | METH_KEYWORDS },
40030 { (char *)"Window_SetThemeEnabled", (PyCFunction) _wrap_Window_SetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
40031 { (char *)"Window_GetThemeEnabled", (PyCFunction) _wrap_Window_GetThemeEnabled, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40032 { (char *)"Window_SetFocus", (PyCFunction) _wrap_Window_SetFocus, METH_VARARGS | METH_KEYWORDS },
40033 { (char *)"Window_SetFocusFromKbd", (PyCFunction) _wrap_Window_SetFocusFromKbd, METH_VARARGS | METH_KEYWORDS },
40034 { (char *)"Window_FindFocus", (PyCFunction) _wrap_Window_FindFocus, METH_VARARGS | METH_KEYWORDS },
40035 { (char *)"Window_AcceptsFocus", (PyCFunction) _wrap_Window_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
40036 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_Window_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
40037 { (char *)"Window_GetDefaultItem", (PyCFunction) _wrap_Window_GetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40038 { (char *)"Window_SetDefaultItem", (PyCFunction) _wrap_Window_SetDefaultItem, METH_VARARGS | METH_KEYWORDS },
40039 { (char *)"Window_SetTmpDefaultItem", (PyCFunction) _wrap_Window_SetTmpDefaultItem, METH_VARARGS | METH_KEYWORDS },
40040 { (char *)"Window_GetChildren", (PyCFunction) _wrap_Window_GetChildren, METH_VARARGS | METH_KEYWORDS },
40041 { (char *)"Window_GetParent", (PyCFunction) _wrap_Window_GetParent, METH_VARARGS | METH_KEYWORDS },
40042 { (char *)"Window_GetGrandParent", (PyCFunction) _wrap_Window_GetGrandParent, METH_VARARGS | METH_KEYWORDS },
40043 { (char *)"Window_IsTopLevel", (PyCFunction) _wrap_Window_IsTopLevel, METH_VARARGS | METH_KEYWORDS },
40044 { (char *)"Window_Reparent", (PyCFunction) _wrap_Window_Reparent, METH_VARARGS | METH_KEYWORDS },
40045 { (char *)"Window_AddChild", (PyCFunction) _wrap_Window_AddChild, METH_VARARGS | METH_KEYWORDS },
40046 { (char *)"Window_RemoveChild", (PyCFunction) _wrap_Window_RemoveChild, METH_VARARGS | METH_KEYWORDS },
40047 { (char *)"Window_FindWindowById", (PyCFunction) _wrap_Window_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40048 { (char *)"Window_FindWindowByName", (PyCFunction) _wrap_Window_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40049 { (char *)"Window_GetEventHandler", (PyCFunction) _wrap_Window_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40050 { (char *)"Window_SetEventHandler", (PyCFunction) _wrap_Window_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40051 { (char *)"Window_PushEventHandler", (PyCFunction) _wrap_Window_PushEventHandler, METH_VARARGS | METH_KEYWORDS },
40052 { (char *)"Window_PopEventHandler", (PyCFunction) _wrap_Window_PopEventHandler, METH_VARARGS | METH_KEYWORDS },
40053 { (char *)"Window_RemoveEventHandler", (PyCFunction) _wrap_Window_RemoveEventHandler, METH_VARARGS | METH_KEYWORDS },
40054 { (char *)"Window_SetValidator", (PyCFunction) _wrap_Window_SetValidator, METH_VARARGS | METH_KEYWORDS },
40055 { (char *)"Window_GetValidator", (PyCFunction) _wrap_Window_GetValidator, METH_VARARGS | METH_KEYWORDS },
40056 { (char *)"Window_SetAcceleratorTable", (PyCFunction) _wrap_Window_SetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40057 { (char *)"Window_GetAcceleratorTable", (PyCFunction) _wrap_Window_GetAcceleratorTable, METH_VARARGS | METH_KEYWORDS },
40058 { (char *)"Window_RegisterHotKey", (PyCFunction) _wrap_Window_RegisterHotKey, METH_VARARGS | METH_KEYWORDS },
40059 { (char *)"Window_UnregisterHotKey", (PyCFunction) _wrap_Window_UnregisterHotKey, METH_VARARGS | METH_KEYWORDS },
40060 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction) _wrap_Window_ConvertDialogPointToPixels, METH_VARARGS | METH_KEYWORDS },
40061 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction) _wrap_Window_ConvertDialogSizeToPixels, METH_VARARGS | METH_KEYWORDS },
40062 { (char *)"Window_DLG_PNT", (PyCFunction) _wrap_Window_DLG_PNT, METH_VARARGS | METH_KEYWORDS },
40063 { (char *)"Window_DLG_SZE", (PyCFunction) _wrap_Window_DLG_SZE, METH_VARARGS | METH_KEYWORDS },
40064 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction) _wrap_Window_ConvertPixelPointToDialog, METH_VARARGS | METH_KEYWORDS },
40065 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction) _wrap_Window_ConvertPixelSizeToDialog, METH_VARARGS | METH_KEYWORDS },
40066 { (char *)"Window_WarpPointer", (PyCFunction) _wrap_Window_WarpPointer, METH_VARARGS | METH_KEYWORDS },
40067 { (char *)"Window_CaptureMouse", (PyCFunction) _wrap_Window_CaptureMouse, METH_VARARGS | METH_KEYWORDS },
40068 { (char *)"Window_ReleaseMouse", (PyCFunction) _wrap_Window_ReleaseMouse, METH_VARARGS | METH_KEYWORDS },
40069 { (char *)"Window_GetCapture", (PyCFunction) _wrap_Window_GetCapture, METH_VARARGS | METH_KEYWORDS },
40070 { (char *)"Window_HasCapture", (PyCFunction) _wrap_Window_HasCapture, METH_VARARGS | METH_KEYWORDS },
40071 { (char *)"Window_Refresh", (PyCFunction) _wrap_Window_Refresh, METH_VARARGS | METH_KEYWORDS },
40072 { (char *)"Window_RefreshRect", (PyCFunction) _wrap_Window_RefreshRect, METH_VARARGS | METH_KEYWORDS },
40073 { (char *)"Window_Update", (PyCFunction) _wrap_Window_Update, METH_VARARGS | METH_KEYWORDS },
40074 { (char *)"Window_ClearBackground", (PyCFunction) _wrap_Window_ClearBackground, METH_VARARGS | METH_KEYWORDS },
40075 { (char *)"Window_Freeze", (PyCFunction) _wrap_Window_Freeze, METH_VARARGS | METH_KEYWORDS },
40076 { (char *)"Window_Thaw", (PyCFunction) _wrap_Window_Thaw, METH_VARARGS | METH_KEYWORDS },
40077 { (char *)"Window_PrepareDC", (PyCFunction) _wrap_Window_PrepareDC, METH_VARARGS | METH_KEYWORDS },
40078 { (char *)"Window_GetUpdateRegion", (PyCFunction) _wrap_Window_GetUpdateRegion, METH_VARARGS | METH_KEYWORDS },
40079 { (char *)"Window_GetUpdateClientRect", (PyCFunction) _wrap_Window_GetUpdateClientRect, METH_VARARGS | METH_KEYWORDS },
40080 { (char *)"Window_IsExposed", (PyCFunction) _wrap_Window_IsExposed, METH_VARARGS | METH_KEYWORDS },
40081 { (char *)"Window_IsExposedPoint", (PyCFunction) _wrap_Window_IsExposedPoint, METH_VARARGS | METH_KEYWORDS },
fe763115 40082 { (char *)"Window_IsExposedRect", (PyCFunction) _wrap_Window_IsExposedRect, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40083 { (char *)"Window_SetBackgroundColour", (PyCFunction) _wrap_Window_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40084 { (char *)"Window_SetForegroundColour", (PyCFunction) _wrap_Window_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
40085 { (char *)"Window_GetBackgroundColour", (PyCFunction) _wrap_Window_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40086 { (char *)"Window_GetForegroundColour", (PyCFunction) _wrap_Window_GetForegroundColour, METH_VARARGS | METH_KEYWORDS },
40087 { (char *)"Window_SetCursor", (PyCFunction) _wrap_Window_SetCursor, METH_VARARGS | METH_KEYWORDS },
40088 { (char *)"Window_GetCursor", (PyCFunction) _wrap_Window_GetCursor, METH_VARARGS | METH_KEYWORDS },
40089 { (char *)"Window_SetFont", (PyCFunction) _wrap_Window_SetFont, METH_VARARGS | METH_KEYWORDS },
40090 { (char *)"Window_GetFont", (PyCFunction) _wrap_Window_GetFont, METH_VARARGS | METH_KEYWORDS },
40091 { (char *)"Window_SetCaret", (PyCFunction) _wrap_Window_SetCaret, METH_VARARGS | METH_KEYWORDS },
40092 { (char *)"Window_GetCaret", (PyCFunction) _wrap_Window_GetCaret, METH_VARARGS | METH_KEYWORDS },
40093 { (char *)"Window_GetCharHeight", (PyCFunction) _wrap_Window_GetCharHeight, METH_VARARGS | METH_KEYWORDS },
40094 { (char *)"Window_GetCharWidth", (PyCFunction) _wrap_Window_GetCharWidth, METH_VARARGS | METH_KEYWORDS },
40095 { (char *)"Window_GetTextExtent", (PyCFunction) _wrap_Window_GetTextExtent, METH_VARARGS | METH_KEYWORDS },
40096 { (char *)"Window_GetFullTextExtent", (PyCFunction) _wrap_Window_GetFullTextExtent, METH_VARARGS | METH_KEYWORDS },
40097 { (char *)"Window_ClientToScreenXY", (PyCFunction) _wrap_Window_ClientToScreenXY, METH_VARARGS | METH_KEYWORDS },
40098 { (char *)"Window_ScreenToClientXY", (PyCFunction) _wrap_Window_ScreenToClientXY, METH_VARARGS | METH_KEYWORDS },
40099 { (char *)"Window_ClientToScreen", (PyCFunction) _wrap_Window_ClientToScreen, METH_VARARGS | METH_KEYWORDS },
40100 { (char *)"Window_ScreenToClient", (PyCFunction) _wrap_Window_ScreenToClient, METH_VARARGS | METH_KEYWORDS },
40101 { (char *)"Window_HitTestXY", (PyCFunction) _wrap_Window_HitTestXY, METH_VARARGS | METH_KEYWORDS },
40102 { (char *)"Window_HitTest", (PyCFunction) _wrap_Window_HitTest, METH_VARARGS | METH_KEYWORDS },
2f4c0a16 40103 { (char *)"Window_GetBorder", _wrap_Window_GetBorder, METH_VARARGS },
d14a1e28
RD
40104 { (char *)"Window_UpdateWindowUI", (PyCFunction) _wrap_Window_UpdateWindowUI, METH_VARARGS | METH_KEYWORDS },
40105 { (char *)"Window_PopupMenuXY", (PyCFunction) _wrap_Window_PopupMenuXY, METH_VARARGS | METH_KEYWORDS },
40106 { (char *)"Window_PopupMenu", (PyCFunction) _wrap_Window_PopupMenu, METH_VARARGS | METH_KEYWORDS },
40107 { (char *)"Window_GetHandle", (PyCFunction) _wrap_Window_GetHandle, METH_VARARGS | METH_KEYWORDS },
40108 { (char *)"Window_OnPaint", (PyCFunction) _wrap_Window_OnPaint, METH_VARARGS | METH_KEYWORDS },
40109 { (char *)"Window_HasScrollbar", (PyCFunction) _wrap_Window_HasScrollbar, METH_VARARGS | METH_KEYWORDS },
40110 { (char *)"Window_SetScrollbar", (PyCFunction) _wrap_Window_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
40111 { (char *)"Window_SetScrollPos", (PyCFunction) _wrap_Window_SetScrollPos, METH_VARARGS | METH_KEYWORDS },
40112 { (char *)"Window_GetScrollPos", (PyCFunction) _wrap_Window_GetScrollPos, METH_VARARGS | METH_KEYWORDS },
40113 { (char *)"Window_GetScrollThumb", (PyCFunction) _wrap_Window_GetScrollThumb, METH_VARARGS | METH_KEYWORDS },
40114 { (char *)"Window_GetScrollRange", (PyCFunction) _wrap_Window_GetScrollRange, METH_VARARGS | METH_KEYWORDS },
40115 { (char *)"Window_ScrollWindow", (PyCFunction) _wrap_Window_ScrollWindow, METH_VARARGS | METH_KEYWORDS },
40116 { (char *)"Window_ScrollLines", (PyCFunction) _wrap_Window_ScrollLines, METH_VARARGS | METH_KEYWORDS },
40117 { (char *)"Window_ScrollPages", (PyCFunction) _wrap_Window_ScrollPages, METH_VARARGS | METH_KEYWORDS },
40118 { (char *)"Window_LineUp", (PyCFunction) _wrap_Window_LineUp, METH_VARARGS | METH_KEYWORDS },
40119 { (char *)"Window_LineDown", (PyCFunction) _wrap_Window_LineDown, METH_VARARGS | METH_KEYWORDS },
40120 { (char *)"Window_PageUp", (PyCFunction) _wrap_Window_PageUp, METH_VARARGS | METH_KEYWORDS },
40121 { (char *)"Window_PageDown", (PyCFunction) _wrap_Window_PageDown, METH_VARARGS | METH_KEYWORDS },
40122 { (char *)"Window_SetHelpText", (PyCFunction) _wrap_Window_SetHelpText, METH_VARARGS | METH_KEYWORDS },
40123 { (char *)"Window_SetHelpTextForId", (PyCFunction) _wrap_Window_SetHelpTextForId, METH_VARARGS | METH_KEYWORDS },
40124 { (char *)"Window_GetHelpText", (PyCFunction) _wrap_Window_GetHelpText, METH_VARARGS | METH_KEYWORDS },
40125 { (char *)"Window_SetToolTipString", (PyCFunction) _wrap_Window_SetToolTipString, METH_VARARGS | METH_KEYWORDS },
40126 { (char *)"Window_SetToolTip", (PyCFunction) _wrap_Window_SetToolTip, METH_VARARGS | METH_KEYWORDS },
40127 { (char *)"Window_GetToolTip", (PyCFunction) _wrap_Window_GetToolTip, METH_VARARGS | METH_KEYWORDS },
40128 { (char *)"Window_SetDropTarget", (PyCFunction) _wrap_Window_SetDropTarget, METH_VARARGS | METH_KEYWORDS },
40129 { (char *)"Window_GetDropTarget", (PyCFunction) _wrap_Window_GetDropTarget, METH_VARARGS | METH_KEYWORDS },
40130 { (char *)"Window_DragAcceptFiles", (PyCFunction) _wrap_Window_DragAcceptFiles, METH_VARARGS | METH_KEYWORDS },
40131 { (char *)"Window_SetConstraints", (PyCFunction) _wrap_Window_SetConstraints, METH_VARARGS | METH_KEYWORDS },
40132 { (char *)"Window_GetConstraints", (PyCFunction) _wrap_Window_GetConstraints, METH_VARARGS | METH_KEYWORDS },
40133 { (char *)"Window_SetAutoLayout", (PyCFunction) _wrap_Window_SetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40134 { (char *)"Window_GetAutoLayout", (PyCFunction) _wrap_Window_GetAutoLayout, METH_VARARGS | METH_KEYWORDS },
40135 { (char *)"Window_Layout", (PyCFunction) _wrap_Window_Layout, METH_VARARGS | METH_KEYWORDS },
40136 { (char *)"Window_SetSizer", (PyCFunction) _wrap_Window_SetSizer, METH_VARARGS | METH_KEYWORDS },
40137 { (char *)"Window_SetSizerAndFit", (PyCFunction) _wrap_Window_SetSizerAndFit, METH_VARARGS | METH_KEYWORDS },
40138 { (char *)"Window_GetSizer", (PyCFunction) _wrap_Window_GetSizer, METH_VARARGS | METH_KEYWORDS },
40139 { (char *)"Window_SetContainingSizer", (PyCFunction) _wrap_Window_SetContainingSizer, METH_VARARGS | METH_KEYWORDS },
40140 { (char *)"Window_GetContainingSizer", (PyCFunction) _wrap_Window_GetContainingSizer, METH_VARARGS | METH_KEYWORDS },
40141 { (char *)"Window_swigregister", Window_swigregister, METH_VARARGS },
40142 { (char *)"FindWindowById", (PyCFunction) _wrap_FindWindowById, METH_VARARGS | METH_KEYWORDS },
40143 { (char *)"FindWindowByName", (PyCFunction) _wrap_FindWindowByName, METH_VARARGS | METH_KEYWORDS },
40144 { (char *)"FindWindowByLabel", (PyCFunction) _wrap_FindWindowByLabel, METH_VARARGS | METH_KEYWORDS },
40145 { (char *)"Window_FromHWND", (PyCFunction) _wrap_Window_FromHWND, METH_VARARGS | METH_KEYWORDS },
40146 { (char *)"new_Validator", (PyCFunction) _wrap_new_Validator, METH_VARARGS | METH_KEYWORDS },
40147 { (char *)"Validator_Clone", (PyCFunction) _wrap_Validator_Clone, METH_VARARGS | METH_KEYWORDS },
40148 { (char *)"Validator_Validate", (PyCFunction) _wrap_Validator_Validate, METH_VARARGS | METH_KEYWORDS },
40149 { (char *)"Validator_TransferToWindow", (PyCFunction) _wrap_Validator_TransferToWindow, METH_VARARGS | METH_KEYWORDS },
40150 { (char *)"Validator_TransferFromWindow", (PyCFunction) _wrap_Validator_TransferFromWindow, METH_VARARGS | METH_KEYWORDS },
40151 { (char *)"Validator_GetWindow", (PyCFunction) _wrap_Validator_GetWindow, METH_VARARGS | METH_KEYWORDS },
40152 { (char *)"Validator_SetWindow", (PyCFunction) _wrap_Validator_SetWindow, METH_VARARGS | METH_KEYWORDS },
40153 { (char *)"Validator_IsSilent", (PyCFunction) _wrap_Validator_IsSilent, METH_VARARGS | METH_KEYWORDS },
40154 { (char *)"Validator_SetBellOnError", (PyCFunction) _wrap_Validator_SetBellOnError, METH_VARARGS | METH_KEYWORDS },
40155 { (char *)"Validator_swigregister", Validator_swigregister, METH_VARARGS },
40156 { (char *)"new_PyValidator", (PyCFunction) _wrap_new_PyValidator, METH_VARARGS | METH_KEYWORDS },
40157 { (char *)"PyValidator__setCallbackInfo", (PyCFunction) _wrap_PyValidator__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40158 { (char *)"PyValidator_swigregister", PyValidator_swigregister, METH_VARARGS },
40159 { (char *)"new_Menu", (PyCFunction) _wrap_new_Menu, METH_VARARGS | METH_KEYWORDS },
40160 { (char *)"Menu_Append", (PyCFunction) _wrap_Menu_Append, METH_VARARGS | METH_KEYWORDS },
40161 { (char *)"Menu_AppendSeparator", (PyCFunction) _wrap_Menu_AppendSeparator, METH_VARARGS | METH_KEYWORDS },
40162 { (char *)"Menu_AppendCheckItem", (PyCFunction) _wrap_Menu_AppendCheckItem, METH_VARARGS | METH_KEYWORDS },
40163 { (char *)"Menu_AppendRadioItem", (PyCFunction) _wrap_Menu_AppendRadioItem, METH_VARARGS | METH_KEYWORDS },
40164 { (char *)"Menu_AppendMenu", (PyCFunction) _wrap_Menu_AppendMenu, METH_VARARGS | METH_KEYWORDS },
40165 { (char *)"Menu_AppendItem", (PyCFunction) _wrap_Menu_AppendItem, METH_VARARGS | METH_KEYWORDS },
40166 { (char *)"Menu_Break", (PyCFunction) _wrap_Menu_Break, METH_VARARGS | METH_KEYWORDS },
40167 { (char *)"Menu_InsertItem", (PyCFunction) _wrap_Menu_InsertItem, METH_VARARGS | METH_KEYWORDS },
40168 { (char *)"Menu_Insert", (PyCFunction) _wrap_Menu_Insert, METH_VARARGS | METH_KEYWORDS },
40169 { (char *)"Menu_InsertSeparator", (PyCFunction) _wrap_Menu_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
40170 { (char *)"Menu_InsertCheckItem", (PyCFunction) _wrap_Menu_InsertCheckItem, METH_VARARGS | METH_KEYWORDS },
40171 { (char *)"Menu_InsertRadioItem", (PyCFunction) _wrap_Menu_InsertRadioItem, METH_VARARGS | METH_KEYWORDS },
40172 { (char *)"Menu_InsertMenu", (PyCFunction) _wrap_Menu_InsertMenu, METH_VARARGS | METH_KEYWORDS },
40173 { (char *)"Menu_PrependItem", (PyCFunction) _wrap_Menu_PrependItem, METH_VARARGS | METH_KEYWORDS },
40174 { (char *)"Menu_Prepend", (PyCFunction) _wrap_Menu_Prepend, METH_VARARGS | METH_KEYWORDS },
40175 { (char *)"Menu_PrependSeparator", (PyCFunction) _wrap_Menu_PrependSeparator, METH_VARARGS | METH_KEYWORDS },
40176 { (char *)"Menu_PrependCheckItem", (PyCFunction) _wrap_Menu_PrependCheckItem, METH_VARARGS | METH_KEYWORDS },
40177 { (char *)"Menu_PrependRadioItem", (PyCFunction) _wrap_Menu_PrependRadioItem, METH_VARARGS | METH_KEYWORDS },
40178 { (char *)"Menu_PrependMenu", (PyCFunction) _wrap_Menu_PrependMenu, METH_VARARGS | METH_KEYWORDS },
40179 { (char *)"Menu_Remove", (PyCFunction) _wrap_Menu_Remove, METH_VARARGS | METH_KEYWORDS },
40180 { (char *)"Menu_RemoveItem", (PyCFunction) _wrap_Menu_RemoveItem, METH_VARARGS | METH_KEYWORDS },
40181 { (char *)"Menu_Delete", (PyCFunction) _wrap_Menu_Delete, METH_VARARGS | METH_KEYWORDS },
40182 { (char *)"Menu_DeleteItem", (PyCFunction) _wrap_Menu_DeleteItem, METH_VARARGS | METH_KEYWORDS },
40183 { (char *)"Menu_Destroy", (PyCFunction) _wrap_Menu_Destroy, METH_VARARGS | METH_KEYWORDS },
40184 { (char *)"Menu_DestroyId", (PyCFunction) _wrap_Menu_DestroyId, METH_VARARGS | METH_KEYWORDS },
40185 { (char *)"Menu_DestroyItem", (PyCFunction) _wrap_Menu_DestroyItem, METH_VARARGS | METH_KEYWORDS },
40186 { (char *)"Menu_GetMenuItemCount", (PyCFunction) _wrap_Menu_GetMenuItemCount, METH_VARARGS | METH_KEYWORDS },
40187 { (char *)"Menu_GetMenuItems", (PyCFunction) _wrap_Menu_GetMenuItems, METH_VARARGS | METH_KEYWORDS },
40188 { (char *)"Menu_FindItem", (PyCFunction) _wrap_Menu_FindItem, METH_VARARGS | METH_KEYWORDS },
40189 { (char *)"Menu_FindItemById", (PyCFunction) _wrap_Menu_FindItemById, METH_VARARGS | METH_KEYWORDS },
40190 { (char *)"Menu_FindItemByPosition", (PyCFunction) _wrap_Menu_FindItemByPosition, METH_VARARGS | METH_KEYWORDS },
40191 { (char *)"Menu_Enable", (PyCFunction) _wrap_Menu_Enable, METH_VARARGS | METH_KEYWORDS },
40192 { (char *)"Menu_IsEnabled", (PyCFunction) _wrap_Menu_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40193 { (char *)"Menu_Check", (PyCFunction) _wrap_Menu_Check, METH_VARARGS | METH_KEYWORDS },
40194 { (char *)"Menu_IsChecked", (PyCFunction) _wrap_Menu_IsChecked, METH_VARARGS | METH_KEYWORDS },
40195 { (char *)"Menu_SetLabel", (PyCFunction) _wrap_Menu_SetLabel, METH_VARARGS | METH_KEYWORDS },
40196 { (char *)"Menu_GetLabel", (PyCFunction) _wrap_Menu_GetLabel, METH_VARARGS | METH_KEYWORDS },
40197 { (char *)"Menu_SetHelpString", (PyCFunction) _wrap_Menu_SetHelpString, METH_VARARGS | METH_KEYWORDS },
40198 { (char *)"Menu_GetHelpString", (PyCFunction) _wrap_Menu_GetHelpString, METH_VARARGS | METH_KEYWORDS },
40199 { (char *)"Menu_SetTitle", (PyCFunction) _wrap_Menu_SetTitle, METH_VARARGS | METH_KEYWORDS },
40200 { (char *)"Menu_GetTitle", (PyCFunction) _wrap_Menu_GetTitle, METH_VARARGS | METH_KEYWORDS },
40201 { (char *)"Menu_SetEventHandler", (PyCFunction) _wrap_Menu_SetEventHandler, METH_VARARGS | METH_KEYWORDS },
40202 { (char *)"Menu_GetEventHandler", (PyCFunction) _wrap_Menu_GetEventHandler, METH_VARARGS | METH_KEYWORDS },
40203 { (char *)"Menu_SetInvokingWindow", (PyCFunction) _wrap_Menu_SetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
40204 { (char *)"Menu_GetInvokingWindow", (PyCFunction) _wrap_Menu_GetInvokingWindow, METH_VARARGS | METH_KEYWORDS },
40205 { (char *)"Menu_GetStyle", (PyCFunction) _wrap_Menu_GetStyle, METH_VARARGS | METH_KEYWORDS },
40206 { (char *)"Menu_UpdateUI", (PyCFunction) _wrap_Menu_UpdateUI, METH_VARARGS | METH_KEYWORDS },
40207 { (char *)"Menu_GetMenuBar", (PyCFunction) _wrap_Menu_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
40208 { (char *)"Menu_Attach", (PyCFunction) _wrap_Menu_Attach, METH_VARARGS | METH_KEYWORDS },
40209 { (char *)"Menu_Detach", (PyCFunction) _wrap_Menu_Detach, METH_VARARGS | METH_KEYWORDS },
40210 { (char *)"Menu_IsAttached", (PyCFunction) _wrap_Menu_IsAttached, METH_VARARGS | METH_KEYWORDS },
40211 { (char *)"Menu_SetParent", (PyCFunction) _wrap_Menu_SetParent, METH_VARARGS | METH_KEYWORDS },
40212 { (char *)"Menu_GetParent", (PyCFunction) _wrap_Menu_GetParent, METH_VARARGS | METH_KEYWORDS },
40213 { (char *)"Menu_swigregister", Menu_swigregister, METH_VARARGS },
40214 { (char *)"new_MenuBar", (PyCFunction) _wrap_new_MenuBar, METH_VARARGS | METH_KEYWORDS },
40215 { (char *)"MenuBar_Append", (PyCFunction) _wrap_MenuBar_Append, METH_VARARGS | METH_KEYWORDS },
40216 { (char *)"MenuBar_Insert", (PyCFunction) _wrap_MenuBar_Insert, METH_VARARGS | METH_KEYWORDS },
40217 { (char *)"MenuBar_GetMenuCount", (PyCFunction) _wrap_MenuBar_GetMenuCount, METH_VARARGS | METH_KEYWORDS },
40218 { (char *)"MenuBar_GetMenu", (PyCFunction) _wrap_MenuBar_GetMenu, METH_VARARGS | METH_KEYWORDS },
40219 { (char *)"MenuBar_Replace", (PyCFunction) _wrap_MenuBar_Replace, METH_VARARGS | METH_KEYWORDS },
40220 { (char *)"MenuBar_Remove", (PyCFunction) _wrap_MenuBar_Remove, METH_VARARGS | METH_KEYWORDS },
40221 { (char *)"MenuBar_EnableTop", (PyCFunction) _wrap_MenuBar_EnableTop, METH_VARARGS | METH_KEYWORDS },
40222 { (char *)"MenuBar_IsEnabledTop", (PyCFunction) _wrap_MenuBar_IsEnabledTop, METH_VARARGS | METH_KEYWORDS },
40223 { (char *)"MenuBar_SetLabelTop", (PyCFunction) _wrap_MenuBar_SetLabelTop, METH_VARARGS | METH_KEYWORDS },
40224 { (char *)"MenuBar_GetLabelTop", (PyCFunction) _wrap_MenuBar_GetLabelTop, METH_VARARGS | METH_KEYWORDS },
40225 { (char *)"MenuBar_FindMenuItem", (PyCFunction) _wrap_MenuBar_FindMenuItem, METH_VARARGS | METH_KEYWORDS },
40226 { (char *)"MenuBar_FindItemById", (PyCFunction) _wrap_MenuBar_FindItemById, METH_VARARGS | METH_KEYWORDS },
40227 { (char *)"MenuBar_FindMenu", (PyCFunction) _wrap_MenuBar_FindMenu, METH_VARARGS | METH_KEYWORDS },
40228 { (char *)"MenuBar_Enable", (PyCFunction) _wrap_MenuBar_Enable, METH_VARARGS | METH_KEYWORDS },
40229 { (char *)"MenuBar_Check", (PyCFunction) _wrap_MenuBar_Check, METH_VARARGS | METH_KEYWORDS },
40230 { (char *)"MenuBar_IsChecked", (PyCFunction) _wrap_MenuBar_IsChecked, METH_VARARGS | METH_KEYWORDS },
40231 { (char *)"MenuBar_IsEnabled", (PyCFunction) _wrap_MenuBar_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40232 { (char *)"MenuBar_SetLabel", (PyCFunction) _wrap_MenuBar_SetLabel, METH_VARARGS | METH_KEYWORDS },
40233 { (char *)"MenuBar_GetLabel", (PyCFunction) _wrap_MenuBar_GetLabel, METH_VARARGS | METH_KEYWORDS },
40234 { (char *)"MenuBar_SetHelpString", (PyCFunction) _wrap_MenuBar_SetHelpString, METH_VARARGS | METH_KEYWORDS },
40235 { (char *)"MenuBar_GetHelpString", (PyCFunction) _wrap_MenuBar_GetHelpString, METH_VARARGS | METH_KEYWORDS },
40236 { (char *)"MenuBar_GetFrame", (PyCFunction) _wrap_MenuBar_GetFrame, METH_VARARGS | METH_KEYWORDS },
40237 { (char *)"MenuBar_IsAttached", (PyCFunction) _wrap_MenuBar_IsAttached, METH_VARARGS | METH_KEYWORDS },
40238 { (char *)"MenuBar_Attach", (PyCFunction) _wrap_MenuBar_Attach, METH_VARARGS | METH_KEYWORDS },
40239 { (char *)"MenuBar_Detach", (PyCFunction) _wrap_MenuBar_Detach, METH_VARARGS | METH_KEYWORDS },
40240 { (char *)"MenuBar_swigregister", MenuBar_swigregister, METH_VARARGS },
40241 { (char *)"new_MenuItem", (PyCFunction) _wrap_new_MenuItem, METH_VARARGS | METH_KEYWORDS },
40242 { (char *)"MenuItem_GetMenu", (PyCFunction) _wrap_MenuItem_GetMenu, METH_VARARGS | METH_KEYWORDS },
40243 { (char *)"MenuItem_SetMenu", (PyCFunction) _wrap_MenuItem_SetMenu, METH_VARARGS | METH_KEYWORDS },
40244 { (char *)"MenuItem_SetId", (PyCFunction) _wrap_MenuItem_SetId, METH_VARARGS | METH_KEYWORDS },
40245 { (char *)"MenuItem_GetId", (PyCFunction) _wrap_MenuItem_GetId, METH_VARARGS | METH_KEYWORDS },
40246 { (char *)"MenuItem_IsSeparator", (PyCFunction) _wrap_MenuItem_IsSeparator, METH_VARARGS | METH_KEYWORDS },
40247 { (char *)"MenuItem_SetText", (PyCFunction) _wrap_MenuItem_SetText, METH_VARARGS | METH_KEYWORDS },
40248 { (char *)"MenuItem_GetLabel", (PyCFunction) _wrap_MenuItem_GetLabel, METH_VARARGS | METH_KEYWORDS },
40249 { (char *)"MenuItem_GetText", (PyCFunction) _wrap_MenuItem_GetText, METH_VARARGS | METH_KEYWORDS },
40250 { (char *)"MenuItem_GetLabelFromText", (PyCFunction) _wrap_MenuItem_GetLabelFromText, METH_VARARGS | METH_KEYWORDS },
40251 { (char *)"MenuItem_GetKind", (PyCFunction) _wrap_MenuItem_GetKind, METH_VARARGS | METH_KEYWORDS },
40252 { (char *)"MenuItem_SetCheckable", (PyCFunction) _wrap_MenuItem_SetCheckable, METH_VARARGS | METH_KEYWORDS },
40253 { (char *)"MenuItem_IsCheckable", (PyCFunction) _wrap_MenuItem_IsCheckable, METH_VARARGS | METH_KEYWORDS },
40254 { (char *)"MenuItem_IsSubMenu", (PyCFunction) _wrap_MenuItem_IsSubMenu, METH_VARARGS | METH_KEYWORDS },
40255 { (char *)"MenuItem_SetSubMenu", (PyCFunction) _wrap_MenuItem_SetSubMenu, METH_VARARGS | METH_KEYWORDS },
40256 { (char *)"MenuItem_GetSubMenu", (PyCFunction) _wrap_MenuItem_GetSubMenu, METH_VARARGS | METH_KEYWORDS },
40257 { (char *)"MenuItem_Enable", (PyCFunction) _wrap_MenuItem_Enable, METH_VARARGS | METH_KEYWORDS },
40258 { (char *)"MenuItem_IsEnabled", (PyCFunction) _wrap_MenuItem_IsEnabled, METH_VARARGS | METH_KEYWORDS },
40259 { (char *)"MenuItem_Check", (PyCFunction) _wrap_MenuItem_Check, METH_VARARGS | METH_KEYWORDS },
40260 { (char *)"MenuItem_IsChecked", (PyCFunction) _wrap_MenuItem_IsChecked, METH_VARARGS | METH_KEYWORDS },
40261 { (char *)"MenuItem_Toggle", (PyCFunction) _wrap_MenuItem_Toggle, METH_VARARGS | METH_KEYWORDS },
40262 { (char *)"MenuItem_SetHelp", (PyCFunction) _wrap_MenuItem_SetHelp, METH_VARARGS | METH_KEYWORDS },
40263 { (char *)"MenuItem_GetHelp", (PyCFunction) _wrap_MenuItem_GetHelp, METH_VARARGS | METH_KEYWORDS },
40264 { (char *)"MenuItem_GetAccel", (PyCFunction) _wrap_MenuItem_GetAccel, METH_VARARGS | METH_KEYWORDS },
40265 { (char *)"MenuItem_SetAccel", (PyCFunction) _wrap_MenuItem_SetAccel, METH_VARARGS | METH_KEYWORDS },
40266 { (char *)"MenuItem_SetFont", (PyCFunction) _wrap_MenuItem_SetFont, METH_VARARGS | METH_KEYWORDS },
40267 { (char *)"MenuItem_GetFont", (PyCFunction) _wrap_MenuItem_GetFont, METH_VARARGS | METH_KEYWORDS },
40268 { (char *)"MenuItem_SetTextColour", (PyCFunction) _wrap_MenuItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
40269 { (char *)"MenuItem_GetTextColour", (PyCFunction) _wrap_MenuItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
40270 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction) _wrap_MenuItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40271 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction) _wrap_MenuItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
40272 { (char *)"MenuItem_SetBitmaps", (PyCFunction) _wrap_MenuItem_SetBitmaps, METH_VARARGS | METH_KEYWORDS },
40273 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction) _wrap_MenuItem_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
40274 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction) _wrap_MenuItem_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
40275 { (char *)"MenuItem_SetMarginWidth", (PyCFunction) _wrap_MenuItem_SetMarginWidth, METH_VARARGS | METH_KEYWORDS },
40276 { (char *)"MenuItem_GetMarginWidth", (PyCFunction) _wrap_MenuItem_GetMarginWidth, METH_VARARGS | METH_KEYWORDS },
40277 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction) _wrap_MenuItem_GetDefaultMarginWidth, METH_VARARGS | METH_KEYWORDS },
40278 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction) _wrap_MenuItem_IsOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
40279 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction) _wrap_MenuItem_SetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
40280 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction) _wrap_MenuItem_ResetOwnerDrawn, METH_VARARGS | METH_KEYWORDS },
40281 { (char *)"MenuItem_SetBitmap", (PyCFunction) _wrap_MenuItem_SetBitmap, METH_VARARGS | METH_KEYWORDS },
40282 { (char *)"MenuItem_GetBitmap", (PyCFunction) _wrap_MenuItem_GetBitmap, METH_VARARGS | METH_KEYWORDS },
40283 { (char *)"MenuItem_swigregister", MenuItem_swigregister, METH_VARARGS },
40284 { (char *)"new_Control", (PyCFunction) _wrap_new_Control, METH_VARARGS | METH_KEYWORDS },
40285 { (char *)"new_PreControl", (PyCFunction) _wrap_new_PreControl, METH_VARARGS | METH_KEYWORDS },
40286 { (char *)"Control_Create", (PyCFunction) _wrap_Control_Create, METH_VARARGS | METH_KEYWORDS },
40287 { (char *)"Control_Command", (PyCFunction) _wrap_Control_Command, METH_VARARGS | METH_KEYWORDS },
40288 { (char *)"Control_GetLabel", (PyCFunction) _wrap_Control_GetLabel, METH_VARARGS | METH_KEYWORDS },
40289 { (char *)"Control_SetLabel", (PyCFunction) _wrap_Control_SetLabel, METH_VARARGS | METH_KEYWORDS },
40290 { (char *)"Control_swigregister", Control_swigregister, METH_VARARGS },
40291 { (char *)"ItemContainer_Append", (PyCFunction) _wrap_ItemContainer_Append, METH_VARARGS | METH_KEYWORDS },
40292 { (char *)"ItemContainer_AppendItems", (PyCFunction) _wrap_ItemContainer_AppendItems, METH_VARARGS | METH_KEYWORDS },
40293 { (char *)"ItemContainer_Insert", (PyCFunction) _wrap_ItemContainer_Insert, METH_VARARGS | METH_KEYWORDS },
40294 { (char *)"ItemContainer_Clear", (PyCFunction) _wrap_ItemContainer_Clear, METH_VARARGS | METH_KEYWORDS },
40295 { (char *)"ItemContainer_Delete", (PyCFunction) _wrap_ItemContainer_Delete, METH_VARARGS | METH_KEYWORDS },
40296 { (char *)"ItemContainer_GetCount", (PyCFunction) _wrap_ItemContainer_GetCount, METH_VARARGS | METH_KEYWORDS },
40297 { (char *)"ItemContainer_IsEmpty", (PyCFunction) _wrap_ItemContainer_IsEmpty, METH_VARARGS | METH_KEYWORDS },
40298 { (char *)"ItemContainer_GetString", (PyCFunction) _wrap_ItemContainer_GetString, METH_VARARGS | METH_KEYWORDS },
40299 { (char *)"ItemContainer_GetStrings", (PyCFunction) _wrap_ItemContainer_GetStrings, METH_VARARGS | METH_KEYWORDS },
40300 { (char *)"ItemContainer_SetString", (PyCFunction) _wrap_ItemContainer_SetString, METH_VARARGS | METH_KEYWORDS },
40301 { (char *)"ItemContainer_FindString", (PyCFunction) _wrap_ItemContainer_FindString, METH_VARARGS | METH_KEYWORDS },
40302 { (char *)"ItemContainer_Select", (PyCFunction) _wrap_ItemContainer_Select, METH_VARARGS | METH_KEYWORDS },
40303 { (char *)"ItemContainer_GetSelection", (PyCFunction) _wrap_ItemContainer_GetSelection, METH_VARARGS | METH_KEYWORDS },
40304 { (char *)"ItemContainer_GetStringSelection", (PyCFunction) _wrap_ItemContainer_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
40305 { (char *)"ItemContainer_GetClientData", (PyCFunction) _wrap_ItemContainer_GetClientData, METH_VARARGS | METH_KEYWORDS },
40306 { (char *)"ItemContainer_SetClientData", (PyCFunction) _wrap_ItemContainer_SetClientData, METH_VARARGS | METH_KEYWORDS },
40307 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister, METH_VARARGS },
40308 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister, METH_VARARGS },
40309 { (char *)"new_SizerItem", (PyCFunction) _wrap_new_SizerItem, METH_VARARGS | METH_KEYWORDS },
40310 { (char *)"new_SizerItemSpacer", (PyCFunction) _wrap_new_SizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
40311 { (char *)"new_SizerItemWindow", (PyCFunction) _wrap_new_SizerItemWindow, METH_VARARGS | METH_KEYWORDS },
40312 { (char *)"new_SizerItemSizer", (PyCFunction) _wrap_new_SizerItemSizer, METH_VARARGS | METH_KEYWORDS },
40313 { (char *)"SizerItem_DeleteWindows", (PyCFunction) _wrap_SizerItem_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
40314 { (char *)"SizerItem_DetachSizer", (PyCFunction) _wrap_SizerItem_DetachSizer, METH_VARARGS | METH_KEYWORDS },
40315 { (char *)"SizerItem_GetSize", (PyCFunction) _wrap_SizerItem_GetSize, METH_VARARGS | METH_KEYWORDS },
40316 { (char *)"SizerItem_CalcMin", (PyCFunction) _wrap_SizerItem_CalcMin, METH_VARARGS | METH_KEYWORDS },
40317 { (char *)"SizerItem_SetDimension", (PyCFunction) _wrap_SizerItem_SetDimension, METH_VARARGS | METH_KEYWORDS },
40318 { (char *)"SizerItem_GetMinSize", (PyCFunction) _wrap_SizerItem_GetMinSize, METH_VARARGS | METH_KEYWORDS },
40319 { (char *)"SizerItem_SetInitSize", (PyCFunction) _wrap_SizerItem_SetInitSize, METH_VARARGS | METH_KEYWORDS },
40320 { (char *)"SizerItem_SetRatioWH", (PyCFunction) _wrap_SizerItem_SetRatioWH, METH_VARARGS | METH_KEYWORDS },
40321 { (char *)"SizerItem_SetRatioSize", (PyCFunction) _wrap_SizerItem_SetRatioSize, METH_VARARGS | METH_KEYWORDS },
40322 { (char *)"SizerItem_SetRatio", (PyCFunction) _wrap_SizerItem_SetRatio, METH_VARARGS | METH_KEYWORDS },
40323 { (char *)"SizerItem_GetRatio", (PyCFunction) _wrap_SizerItem_GetRatio, METH_VARARGS | METH_KEYWORDS },
40324 { (char *)"SizerItem_IsWindow", (PyCFunction) _wrap_SizerItem_IsWindow, METH_VARARGS | METH_KEYWORDS },
40325 { (char *)"SizerItem_IsSizer", (PyCFunction) _wrap_SizerItem_IsSizer, METH_VARARGS | METH_KEYWORDS },
40326 { (char *)"SizerItem_IsSpacer", (PyCFunction) _wrap_SizerItem_IsSpacer, METH_VARARGS | METH_KEYWORDS },
40327 { (char *)"SizerItem_SetProportion", (PyCFunction) _wrap_SizerItem_SetProportion, METH_VARARGS | METH_KEYWORDS },
40328 { (char *)"SizerItem_GetProportion", (PyCFunction) _wrap_SizerItem_GetProportion, METH_VARARGS | METH_KEYWORDS },
40329 { (char *)"SizerItem_SetFlag", (PyCFunction) _wrap_SizerItem_SetFlag, METH_VARARGS | METH_KEYWORDS },
40330 { (char *)"SizerItem_GetFlag", (PyCFunction) _wrap_SizerItem_GetFlag, METH_VARARGS | METH_KEYWORDS },
40331 { (char *)"SizerItem_SetBorder", (PyCFunction) _wrap_SizerItem_SetBorder, METH_VARARGS | METH_KEYWORDS },
40332 { (char *)"SizerItem_GetBorder", (PyCFunction) _wrap_SizerItem_GetBorder, METH_VARARGS | METH_KEYWORDS },
40333 { (char *)"SizerItem_GetWindow", (PyCFunction) _wrap_SizerItem_GetWindow, METH_VARARGS | METH_KEYWORDS },
40334 { (char *)"SizerItem_SetWindow", (PyCFunction) _wrap_SizerItem_SetWindow, METH_VARARGS | METH_KEYWORDS },
40335 { (char *)"SizerItem_GetSizer", (PyCFunction) _wrap_SizerItem_GetSizer, METH_VARARGS | METH_KEYWORDS },
40336 { (char *)"SizerItem_SetSizer", (PyCFunction) _wrap_SizerItem_SetSizer, METH_VARARGS | METH_KEYWORDS },
40337 { (char *)"SizerItem_GetSpacer", (PyCFunction) _wrap_SizerItem_GetSpacer, METH_VARARGS | METH_KEYWORDS },
40338 { (char *)"SizerItem_SetSpacer", (PyCFunction) _wrap_SizerItem_SetSpacer, METH_VARARGS | METH_KEYWORDS },
40339 { (char *)"SizerItem_Show", (PyCFunction) _wrap_SizerItem_Show, METH_VARARGS | METH_KEYWORDS },
40340 { (char *)"SizerItem_IsShown", (PyCFunction) _wrap_SizerItem_IsShown, METH_VARARGS | METH_KEYWORDS },
40341 { (char *)"SizerItem_GetPosition", (PyCFunction) _wrap_SizerItem_GetPosition, METH_VARARGS | METH_KEYWORDS },
40342 { (char *)"SizerItem_GetUserData", (PyCFunction) _wrap_SizerItem_GetUserData, METH_VARARGS | METH_KEYWORDS },
40343 { (char *)"SizerItem_swigregister", SizerItem_swigregister, METH_VARARGS },
40344 { (char *)"Sizer__setOORInfo", (PyCFunction) _wrap_Sizer__setOORInfo, METH_VARARGS | METH_KEYWORDS },
40345 { (char *)"Sizer_Add", (PyCFunction) _wrap_Sizer_Add, METH_VARARGS | METH_KEYWORDS },
40346 { (char *)"Sizer_Insert", (PyCFunction) _wrap_Sizer_Insert, METH_VARARGS | METH_KEYWORDS },
40347 { (char *)"Sizer_Prepend", (PyCFunction) _wrap_Sizer_Prepend, METH_VARARGS | METH_KEYWORDS },
40348 { (char *)"Sizer_Remove", (PyCFunction) _wrap_Sizer_Remove, METH_VARARGS | METH_KEYWORDS },
40349 { (char *)"Sizer__SetItemMinSize", (PyCFunction) _wrap_Sizer__SetItemMinSize, METH_VARARGS | METH_KEYWORDS },
40350 { (char *)"Sizer_AddItem", (PyCFunction) _wrap_Sizer_AddItem, METH_VARARGS | METH_KEYWORDS },
40351 { (char *)"Sizer_InsertItem", (PyCFunction) _wrap_Sizer_InsertItem, METH_VARARGS | METH_KEYWORDS },
40352 { (char *)"Sizer_PrependItem", (PyCFunction) _wrap_Sizer_PrependItem, METH_VARARGS | METH_KEYWORDS },
40353 { (char *)"Sizer_SetDimension", (PyCFunction) _wrap_Sizer_SetDimension, METH_VARARGS | METH_KEYWORDS },
40354 { (char *)"Sizer_SetMinSize", (PyCFunction) _wrap_Sizer_SetMinSize, METH_VARARGS | METH_KEYWORDS },
40355 { (char *)"Sizer_GetSize", (PyCFunction) _wrap_Sizer_GetSize, METH_VARARGS | METH_KEYWORDS },
40356 { (char *)"Sizer_GetPosition", (PyCFunction) _wrap_Sizer_GetPosition, METH_VARARGS | METH_KEYWORDS },
40357 { (char *)"Sizer_GetMinSize", (PyCFunction) _wrap_Sizer_GetMinSize, METH_VARARGS | METH_KEYWORDS },
40358 { (char *)"Sizer_RecalcSizes", (PyCFunction) _wrap_Sizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
40359 { (char *)"Sizer_CalcMin", (PyCFunction) _wrap_Sizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
40360 { (char *)"Sizer_Layout", (PyCFunction) _wrap_Sizer_Layout, METH_VARARGS | METH_KEYWORDS },
40361 { (char *)"Sizer_Fit", (PyCFunction) _wrap_Sizer_Fit, METH_VARARGS | METH_KEYWORDS },
40362 { (char *)"Sizer_FitInside", (PyCFunction) _wrap_Sizer_FitInside, METH_VARARGS | METH_KEYWORDS },
40363 { (char *)"Sizer_SetSizeHints", (PyCFunction) _wrap_Sizer_SetSizeHints, METH_VARARGS | METH_KEYWORDS },
40364 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction) _wrap_Sizer_SetVirtualSizeHints, METH_VARARGS | METH_KEYWORDS },
40365 { (char *)"Sizer_Clear", (PyCFunction) _wrap_Sizer_Clear, METH_VARARGS | METH_KEYWORDS },
40366 { (char *)"Sizer_DeleteWindows", (PyCFunction) _wrap_Sizer_DeleteWindows, METH_VARARGS | METH_KEYWORDS },
40367 { (char *)"Sizer_GetChildren", (PyCFunction) _wrap_Sizer_GetChildren, METH_VARARGS | METH_KEYWORDS },
40368 { (char *)"Sizer_Show", (PyCFunction) _wrap_Sizer_Show, METH_VARARGS | METH_KEYWORDS },
40369 { (char *)"Sizer_Hide", (PyCFunction) _wrap_Sizer_Hide, METH_VARARGS | METH_KEYWORDS },
40370 { (char *)"Sizer_IsShown", (PyCFunction) _wrap_Sizer_IsShown, METH_VARARGS | METH_KEYWORDS },
40371 { (char *)"Sizer_ShowItems", (PyCFunction) _wrap_Sizer_ShowItems, METH_VARARGS | METH_KEYWORDS },
40372 { (char *)"Sizer_swigregister", Sizer_swigregister, METH_VARARGS },
40373 { (char *)"new_PySizer", (PyCFunction) _wrap_new_PySizer, METH_VARARGS | METH_KEYWORDS },
40374 { (char *)"PySizer__setCallbackInfo", (PyCFunction) _wrap_PySizer__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
40375 { (char *)"PySizer_swigregister", PySizer_swigregister, METH_VARARGS },
40376 { (char *)"new_BoxSizer", (PyCFunction) _wrap_new_BoxSizer, METH_VARARGS | METH_KEYWORDS },
40377 { (char *)"BoxSizer_GetOrientation", (PyCFunction) _wrap_BoxSizer_GetOrientation, METH_VARARGS | METH_KEYWORDS },
40378 { (char *)"BoxSizer_SetOrientation", (PyCFunction) _wrap_BoxSizer_SetOrientation, METH_VARARGS | METH_KEYWORDS },
40379 { (char *)"BoxSizer_RecalcSizes", (PyCFunction) _wrap_BoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
40380 { (char *)"BoxSizer_CalcMin", (PyCFunction) _wrap_BoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
40381 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister, METH_VARARGS },
40382 { (char *)"new_StaticBoxSizer", (PyCFunction) _wrap_new_StaticBoxSizer, METH_VARARGS | METH_KEYWORDS },
40383 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction) _wrap_StaticBoxSizer_GetStaticBox, METH_VARARGS | METH_KEYWORDS },
40384 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction) _wrap_StaticBoxSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
40385 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction) _wrap_StaticBoxSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
40386 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister, METH_VARARGS },
40387 { (char *)"new_GridSizer", (PyCFunction) _wrap_new_GridSizer, METH_VARARGS | METH_KEYWORDS },
40388 { (char *)"GridSizer_RecalcSizes", (PyCFunction) _wrap_GridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
40389 { (char *)"GridSizer_CalcMin", (PyCFunction) _wrap_GridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
40390 { (char *)"GridSizer_SetCols", (PyCFunction) _wrap_GridSizer_SetCols, METH_VARARGS | METH_KEYWORDS },
40391 { (char *)"GridSizer_SetRows", (PyCFunction) _wrap_GridSizer_SetRows, METH_VARARGS | METH_KEYWORDS },
40392 { (char *)"GridSizer_SetVGap", (PyCFunction) _wrap_GridSizer_SetVGap, METH_VARARGS | METH_KEYWORDS },
40393 { (char *)"GridSizer_SetHGap", (PyCFunction) _wrap_GridSizer_SetHGap, METH_VARARGS | METH_KEYWORDS },
40394 { (char *)"GridSizer_GetCols", (PyCFunction) _wrap_GridSizer_GetCols, METH_VARARGS | METH_KEYWORDS },
40395 { (char *)"GridSizer_GetRows", (PyCFunction) _wrap_GridSizer_GetRows, METH_VARARGS | METH_KEYWORDS },
40396 { (char *)"GridSizer_GetVGap", (PyCFunction) _wrap_GridSizer_GetVGap, METH_VARARGS | METH_KEYWORDS },
40397 { (char *)"GridSizer_GetHGap", (PyCFunction) _wrap_GridSizer_GetHGap, METH_VARARGS | METH_KEYWORDS },
40398 { (char *)"GridSizer_swigregister", GridSizer_swigregister, METH_VARARGS },
40399 { (char *)"new_FlexGridSizer", (PyCFunction) _wrap_new_FlexGridSizer, METH_VARARGS | METH_KEYWORDS },
40400 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction) _wrap_FlexGridSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
40401 { (char *)"FlexGridSizer_CalcMin", (PyCFunction) _wrap_FlexGridSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
40402 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction) _wrap_FlexGridSizer_AddGrowableRow, METH_VARARGS | METH_KEYWORDS },
40403 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableRow, METH_VARARGS | METH_KEYWORDS },
40404 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction) _wrap_FlexGridSizer_AddGrowableCol, METH_VARARGS | METH_KEYWORDS },
40405 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction) _wrap_FlexGridSizer_RemoveGrowableCol, METH_VARARGS | METH_KEYWORDS },
40406 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_SetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
40407 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction) _wrap_FlexGridSizer_GetFlexibleDirection, METH_VARARGS | METH_KEYWORDS },
40408 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_SetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
40409 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction) _wrap_FlexGridSizer_GetNonFlexibleGrowMode, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
40410 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction) _wrap_FlexGridSizer_GetRowHeights, METH_VARARGS | METH_KEYWORDS },
40411 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction) _wrap_FlexGridSizer_GetColWidths, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40412 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister, METH_VARARGS },
40413 { (char *)"new_GBPosition", (PyCFunction) _wrap_new_GBPosition, METH_VARARGS | METH_KEYWORDS },
40414 { (char *)"GBPosition_GetRow", (PyCFunction) _wrap_GBPosition_GetRow, METH_VARARGS | METH_KEYWORDS },
40415 { (char *)"GBPosition_GetCol", (PyCFunction) _wrap_GBPosition_GetCol, METH_VARARGS | METH_KEYWORDS },
40416 { (char *)"GBPosition_SetRow", (PyCFunction) _wrap_GBPosition_SetRow, METH_VARARGS | METH_KEYWORDS },
40417 { (char *)"GBPosition_SetCol", (PyCFunction) _wrap_GBPosition_SetCol, METH_VARARGS | METH_KEYWORDS },
40418 { (char *)"GBPosition___eq__", (PyCFunction) _wrap_GBPosition___eq__, METH_VARARGS | METH_KEYWORDS },
40419 { (char *)"GBPosition___ne__", (PyCFunction) _wrap_GBPosition___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
40420 { (char *)"GBPosition_Set", (PyCFunction) _wrap_GBPosition_Set, METH_VARARGS | METH_KEYWORDS },
40421 { (char *)"GBPosition_Get", (PyCFunction) _wrap_GBPosition_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40422 { (char *)"GBPosition_swigregister", GBPosition_swigregister, METH_VARARGS },
40423 { (char *)"new_GBSpan", (PyCFunction) _wrap_new_GBSpan, METH_VARARGS | METH_KEYWORDS },
40424 { (char *)"GBSpan_GetRowspan", (PyCFunction) _wrap_GBSpan_GetRowspan, METH_VARARGS | METH_KEYWORDS },
40425 { (char *)"GBSpan_GetColspan", (PyCFunction) _wrap_GBSpan_GetColspan, METH_VARARGS | METH_KEYWORDS },
40426 { (char *)"GBSpan_SetRowspan", (PyCFunction) _wrap_GBSpan_SetRowspan, METH_VARARGS | METH_KEYWORDS },
40427 { (char *)"GBSpan_SetColspan", (PyCFunction) _wrap_GBSpan_SetColspan, METH_VARARGS | METH_KEYWORDS },
40428 { (char *)"GBSpan___eq__", (PyCFunction) _wrap_GBSpan___eq__, METH_VARARGS | METH_KEYWORDS },
40429 { (char *)"GBSpan___ne__", (PyCFunction) _wrap_GBSpan___ne__, METH_VARARGS | METH_KEYWORDS },
423f194a
RD
40430 { (char *)"GBSpan_Set", (PyCFunction) _wrap_GBSpan_Set, METH_VARARGS | METH_KEYWORDS },
40431 { (char *)"GBSpan_Get", (PyCFunction) _wrap_GBSpan_Get, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40432 { (char *)"GBSpan_swigregister", GBSpan_swigregister, METH_VARARGS },
40433 { (char *)"new_GBSizerItem", (PyCFunction) _wrap_new_GBSizerItem, METH_VARARGS | METH_KEYWORDS },
40434 { (char *)"new_GBSizerItemWindow", (PyCFunction) _wrap_new_GBSizerItemWindow, METH_VARARGS | METH_KEYWORDS },
40435 { (char *)"new_GBSizerItemSizer", (PyCFunction) _wrap_new_GBSizerItemSizer, METH_VARARGS | METH_KEYWORDS },
40436 { (char *)"new_GBSizerItemSpacer", (PyCFunction) _wrap_new_GBSizerItemSpacer, METH_VARARGS | METH_KEYWORDS },
40437 { (char *)"GBSizerItem_GetPos", (PyCFunction) _wrap_GBSizerItem_GetPos, METH_VARARGS | METH_KEYWORDS },
40438 { (char *)"GBSizerItem_GetSpan", (PyCFunction) _wrap_GBSizerItem_GetSpan, METH_VARARGS | METH_KEYWORDS },
40439 { (char *)"GBSizerItem_SetPos", (PyCFunction) _wrap_GBSizerItem_SetPos, METH_VARARGS | METH_KEYWORDS },
40440 { (char *)"GBSizerItem_SetSpan", (PyCFunction) _wrap_GBSizerItem_SetSpan, METH_VARARGS | METH_KEYWORDS },
40441 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects, METH_VARARGS },
40442 { (char *)"GBSizerItem_GetEndPos", (PyCFunction) _wrap_GBSizerItem_GetEndPos, METH_VARARGS | METH_KEYWORDS },
40443 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction) _wrap_GBSizerItem_GetGBSizer, METH_VARARGS | METH_KEYWORDS },
40444 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction) _wrap_GBSizerItem_SetGBSizer, METH_VARARGS | METH_KEYWORDS },
40445 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister, METH_VARARGS },
40446 { (char *)"new_GridBagSizer", (PyCFunction) _wrap_new_GridBagSizer, METH_VARARGS | METH_KEYWORDS },
40447 { (char *)"GridBagSizer_Add", (PyCFunction) _wrap_GridBagSizer_Add, METH_VARARGS | METH_KEYWORDS },
40448 { (char *)"GridBagSizer_AddItem", (PyCFunction) _wrap_GridBagSizer_AddItem, METH_VARARGS | METH_KEYWORDS },
40449 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_GetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
40450 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction) _wrap_GridBagSizer_SetEmptyCellSize, METH_VARARGS | METH_KEYWORDS },
40451 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition, METH_VARARGS },
40452 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition, METH_VARARGS },
40453 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan, METH_VARARGS },
40454 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan, METH_VARARGS },
40455 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem, METH_VARARGS },
40456 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction) _wrap_GridBagSizer_FindItemAtPosition, METH_VARARGS | METH_KEYWORDS },
423f194a 40457 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction) _wrap_GridBagSizer_FindItemAtPoint, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
40458 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction) _wrap_GridBagSizer_FindItemWithData, METH_VARARGS | METH_KEYWORDS },
40459 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction) _wrap_GridBagSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
40460 { (char *)"GridBagSizer_CalcMin", (PyCFunction) _wrap_GridBagSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
40461 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection, METH_VARARGS },
40462 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister, METH_VARARGS },
40463 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction) _wrap_IndividualLayoutConstraint_Set, METH_VARARGS | METH_KEYWORDS },
40464 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction) _wrap_IndividualLayoutConstraint_LeftOf, METH_VARARGS | METH_KEYWORDS },
40465 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction) _wrap_IndividualLayoutConstraint_RightOf, METH_VARARGS | METH_KEYWORDS },
40466 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction) _wrap_IndividualLayoutConstraint_Above, METH_VARARGS | METH_KEYWORDS },
40467 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction) _wrap_IndividualLayoutConstraint_Below, METH_VARARGS | METH_KEYWORDS },
40468 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction) _wrap_IndividualLayoutConstraint_SameAs, METH_VARARGS | METH_KEYWORDS },
40469 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction) _wrap_IndividualLayoutConstraint_PercentOf, METH_VARARGS | METH_KEYWORDS },
40470 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction) _wrap_IndividualLayoutConstraint_Absolute, METH_VARARGS | METH_KEYWORDS },
40471 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction) _wrap_IndividualLayoutConstraint_Unconstrained, METH_VARARGS | METH_KEYWORDS },
40472 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction) _wrap_IndividualLayoutConstraint_AsIs, METH_VARARGS | METH_KEYWORDS },
40473 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherWindow, METH_VARARGS | METH_KEYWORDS },
40474 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMyEdge, METH_VARARGS | METH_KEYWORDS },
40475 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_SetEdge, METH_VARARGS | METH_KEYWORDS },
40476 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_SetValue, METH_VARARGS | METH_KEYWORDS },
40477 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_GetMargin, METH_VARARGS | METH_KEYWORDS },
40478 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction) _wrap_IndividualLayoutConstraint_SetMargin, METH_VARARGS | METH_KEYWORDS },
40479 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction) _wrap_IndividualLayoutConstraint_GetValue, METH_VARARGS | METH_KEYWORDS },
40480 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction) _wrap_IndividualLayoutConstraint_GetPercent, METH_VARARGS | METH_KEYWORDS },
40481 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetOtherEdge, METH_VARARGS | METH_KEYWORDS },
40482 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_GetDone, METH_VARARGS | METH_KEYWORDS },
40483 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction) _wrap_IndividualLayoutConstraint_SetDone, METH_VARARGS | METH_KEYWORDS },
40484 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_GetRelationship, METH_VARARGS | METH_KEYWORDS },
40485 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction) _wrap_IndividualLayoutConstraint_SetRelationship, METH_VARARGS | METH_KEYWORDS },
40486 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction) _wrap_IndividualLayoutConstraint_ResetIfWin, METH_VARARGS | METH_KEYWORDS },
40487 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction) _wrap_IndividualLayoutConstraint_SatisfyConstraint, METH_VARARGS | METH_KEYWORDS },
40488 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction) _wrap_IndividualLayoutConstraint_GetEdge, METH_VARARGS | METH_KEYWORDS },
40489 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister, METH_VARARGS },
40490 { (char *)"LayoutConstraints_left_get", (PyCFunction) _wrap_LayoutConstraints_left_get, METH_VARARGS | METH_KEYWORDS },
40491 { (char *)"LayoutConstraints_top_get", (PyCFunction) _wrap_LayoutConstraints_top_get, METH_VARARGS | METH_KEYWORDS },
40492 { (char *)"LayoutConstraints_right_get", (PyCFunction) _wrap_LayoutConstraints_right_get, METH_VARARGS | METH_KEYWORDS },
40493 { (char *)"LayoutConstraints_bottom_get", (PyCFunction) _wrap_LayoutConstraints_bottom_get, METH_VARARGS | METH_KEYWORDS },
40494 { (char *)"LayoutConstraints_width_get", (PyCFunction) _wrap_LayoutConstraints_width_get, METH_VARARGS | METH_KEYWORDS },
40495 { (char *)"LayoutConstraints_height_get", (PyCFunction) _wrap_LayoutConstraints_height_get, METH_VARARGS | METH_KEYWORDS },
40496 { (char *)"LayoutConstraints_centreX_get", (PyCFunction) _wrap_LayoutConstraints_centreX_get, METH_VARARGS | METH_KEYWORDS },
40497 { (char *)"LayoutConstraints_centreY_get", (PyCFunction) _wrap_LayoutConstraints_centreY_get, METH_VARARGS | METH_KEYWORDS },
40498 { (char *)"new_LayoutConstraints", (PyCFunction) _wrap_new_LayoutConstraints, METH_VARARGS | METH_KEYWORDS },
40499 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction) _wrap_LayoutConstraints_SatisfyConstraints, METH_VARARGS | METH_KEYWORDS },
40500 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction) _wrap_LayoutConstraints_AreSatisfied, METH_VARARGS | METH_KEYWORDS },
40501 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister, METH_VARARGS },
40502 { NULL, NULL }
40503};
40504
40505
40506/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40507
40508static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x) {
40509 return (void *)((wxSizerItem *) ((wxGBSizerItem *) x));
40510}
40511static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
40512 return (void *)((wxSizer *) ((wxBoxSizer *) x));
40513}
40514static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
40515 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
40516}
40517static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
40518 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
40519}
40520static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
40521 return (void *)((wxSizer *) ((wxGridSizer *) x));
40522}
40523static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
40524 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
40525}
40526static void *_p_wxPySizerTo_p_wxSizer(void *x) {
40527 return (void *)((wxSizer *) ((wxPySizer *) x));
40528}
40529static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x) {
40530 return (void *)((wxBoxSizer *) ((wxStaticBoxSizer *) x));
40531}
40532static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
40533 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
40534}
40535static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
40536 return (void *)((wxEvent *) ((wxMenuEvent *) x));
40537}
40538static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
40539 return (void *)((wxEvent *) ((wxCloseEvent *) x));
40540}
40541static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
40542 return (void *)((wxEvent *) ((wxMouseEvent *) x));
40543}
40544static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
40545 return (void *)((wxEvent *) ((wxEraseEvent *) x));
40546}
40547static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
40548 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
40549}
40550static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
40551 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
40552}
40553static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
40554 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
40555}
40556static void *_p_wxPyEventTo_p_wxEvent(void *x) {
40557 return (void *)((wxEvent *) ((wxPyEvent *) x));
40558}
40559static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
40560 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
40561}
40562static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
40563 return (void *)((wxEvent *) ((wxIdleEvent *) x));
40564}
40565static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
40566 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
40567}
40568static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
40569 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
40570}
40571static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
40572 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
40573}
40574static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
40575 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
40576}
40577static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
40578 return (void *)((wxEvent *) ((wxActivateEvent *) x));
40579}
40580static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
40581 return (void *)((wxEvent *) ((wxSizeEvent *) x));
40582}
40583static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
40584 return (void *)((wxEvent *) ((wxMoveEvent *) x));
40585}
40586static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
40587 return (void *)((wxEvent *) ((wxPaintEvent *) x));
40588}
40589static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
40590 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
40591}
40592static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
40593 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
40594}
40595static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
40596 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
40597}
40598static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
40599 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
40600}
40601static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
40602 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
40603}
40604static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
40605 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
40606}
40607static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
40608 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
40609}
40610static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
40611 return (void *)((wxEvent *) ((wxFocusEvent *) x));
40612}
40613static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
40614 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
40615}
40616static void *_p_wxShowEventTo_p_wxEvent(void *x) {
40617 return (void *)((wxEvent *) ((wxShowEvent *) x));
40618}
40619static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
40620 return (void *)((wxEvent *) ((wxCommandEvent *) x));
40621}
40622static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
40623 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
40624}
40625static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
40626 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40627}
40628static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
40629 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
40630}
40631static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
40632 return (void *)((wxEvent *) ((wxKeyEvent *) x));
40633}
40634static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
40635 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
40636}
40637static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x) {
40638 return (void *)((wxGridSizer *) (wxFlexGridSizer *) ((wxGridBagSizer *) x));
40639}
40640static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x) {
40641 return (void *)((wxGridSizer *) ((wxFlexGridSizer *) x));
40642}
40643static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x) {
40644 return (void *)((wxFlexGridSizer *) ((wxGridBagSizer *) x));
40645}
40646static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
40647 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
40648}
40649static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
40650 return (void *)((wxControl *) ((wxControlWithItems *) x));
40651}
40652static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
40653 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
40654}
40655static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
40656 return (void *)((wxEvtHandler *) ((wxWindow *) x));
40657}
40658static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
40659 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
40660}
40661static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
40662 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
40663}
40664static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
40665 return (void *)((wxEvtHandler *) ((wxValidator *) x));
40666}
40667static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
40668 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
40669}
40670static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
40671 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
40672}
40673static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
40674 return (void *)((wxEvtHandler *) ((wxMenu *) x));
40675}
40676static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x) {
40677 return (void *)((wxCURHandler *) ((wxANIHandler *) x));
40678}
40679static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x) {
40680 return (void *)((wxICOHandler *) ((wxCURHandler *) x));
40681}
40682static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x) {
40683 return (void *)((wxICOHandler *) (wxCURHandler *) ((wxANIHandler *) x));
40684}
40685static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x) {
40686 return (void *)((wxBMPHandler *) ((wxICOHandler *) x));
40687}
40688static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x) {
40689 return (void *)((wxBMPHandler *) (wxICOHandler *) ((wxCURHandler *) x));
40690}
40691static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x) {
40692 return (void *)((wxBMPHandler *) (wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
40693}
40694static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x) {
40695 return (void *)((wxImageHandler *) ((wxBMPHandler *) x));
40696}
40697static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x) {
40698 return (void *)((wxImageHandler *) (wxBMPHandler *) ((wxICOHandler *) x));
40699}
40700static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x) {
40701 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
40702}
40703static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x) {
40704 return (void *)((wxImageHandler *) (wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
40705}
40706static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x) {
40707 return (void *)((wxImageHandler *) ((wxPNGHandler *) x));
40708}
40709static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x) {
40710 return (void *)((wxImageHandler *) ((wxGIFHandler *) x));
40711}
40712static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x) {
40713 return (void *)((wxImageHandler *) ((wxPCXHandler *) x));
40714}
40715static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x) {
40716 return (void *)((wxImageHandler *) ((wxJPEGHandler *) x));
40717}
40718static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x) {
40719 return (void *)((wxImageHandler *) ((wxPNMHandler *) x));
40720}
40721static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x) {
40722 return (void *)((wxImageHandler *) ((wxXPMHandler *) x));
40723}
40724static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x) {
40725 return (void *)((wxImageHandler *) ((wxTIFFHandler *) x));
40726}
40727static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x) {
40728 return (void *)((wxFileSystemHandler *) ((wxPyFileSystemHandler *) x));
40729}
40730static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x) {
40731 return (void *)((wxFileSystemHandler *) ((wxInternetFSHandler *) x));
40732}
40733static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x) {
40734 return (void *)((wxFileSystemHandler *) ((wxZipFSHandler *) x));
40735}
40736static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x) {
40737 return (void *)((wxFileSystemHandler *) ((wxMemoryFSHandler *) x));
40738}
40739static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
40740 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
40741}
40742static void *_p_wxMenuEventTo_p_wxObject(void *x) {
40743 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
40744}
40745static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
40746 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
40747}
40748static void *_p_wxEraseEventTo_p_wxObject(void *x) {
40749 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
40750}
40751static void *_p_wxMouseEventTo_p_wxObject(void *x) {
40752 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
40753}
40754static void *_p_wxCloseEventTo_p_wxObject(void *x) {
40755 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
40756}
40757static void *_p_wxValidatorTo_p_wxObject(void *x) {
40758 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
40759}
40760static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
40761 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
40762}
40763static void *_p_wxMenuBarTo_p_wxObject(void *x) {
40764 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
40765}
40766static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
40767 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
40768}
40769static void *_p_wxSizerTo_p_wxObject(void *x) {
40770 return (void *)((wxObject *) ((wxSizer *) x));
40771}
40772static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
40773 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
40774}
40775static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
40776 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
40777}
40778static void *_p_wxMenuTo_p_wxObject(void *x) {
40779 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
40780}
40781static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
40782 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
40783}
40784static void *_p_wxImageTo_p_wxObject(void *x) {
40785 return (void *)((wxObject *) ((wxImage *) x));
40786}
40787static void *_p_wxScrollEventTo_p_wxObject(void *x) {
40788 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
40789}
40790static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
40791 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
40792}
40793static void *_p_wxPyEventTo_p_wxObject(void *x) {
40794 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
40795}
40796static void *_p_wxWindowTo_p_wxObject(void *x) {
40797 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
40798}
40799static void *_p_wxControlTo_p_wxObject(void *x) {
40800 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
40801}
41f1cec7
RD
40802static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
40803 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
40804}
d14a1e28
RD
40805static void *_p_wxGridSizerTo_p_wxObject(void *x) {
40806 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
40807}
40808static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
40809 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
40810}
40811static void *_p_wxPyAppTo_p_wxObject(void *x) {
40812 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
40813}
40814static void *_p_wxEventTo_p_wxObject(void *x) {
40815 return (void *)((wxObject *) ((wxEvent *) x));
40816}
40817static void *_p_wxActivateEventTo_p_wxObject(void *x) {
40818 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
40819}
40820static void *_p_wxMoveEventTo_p_wxObject(void *x) {
40821 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
40822}
40823static void *_p_wxSizeEventTo_p_wxObject(void *x) {
40824 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
40825}
40826static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
40827 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
40828}
40829static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
40830 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
40831}
40832static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
40833 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
40834}
40835static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
40836 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
40837}
40838static void *_p_wxIdleEventTo_p_wxObject(void *x) {
40839 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
40840}
40841static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
40842 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
40843}
40844static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
40845 return (void *)((wxObject *) ((wxEvtHandler *) x));
40846}
40847static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
40848 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
40849}
40850static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
40851 return (void *)((wxObject *) ((wxImageHandler *) x));
40852}
40853static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
40854 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
40855}
40856static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
40857 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
40858}
40859static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
40860 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
40861}
40862static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
40863 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
40864}
40865static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
40866 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
40867}
40868static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
40869 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
40870}
40871static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
40872 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
40873}
40874static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
40875 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
40876}
40877static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
40878 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
40879}
40880static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
40881 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
40882}
40883static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
40884 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
40885}
40886static void *_p_wxPaintEventTo_p_wxObject(void *x) {
40887 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
40888}
40889static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
40890 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
40891}
40892static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
40893 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
40894}
40895static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
40896 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
40897}
40898static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
40899 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
40900}
40901static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
40902 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
40903}
40904static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
40905 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
40906}
40907static void *_p_wxFileSystemTo_p_wxObject(void *x) {
40908 return (void *)((wxObject *) ((wxFileSystem *) x));
40909}
40910static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
40911 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
40912}
40913static void *_p_wxFocusEventTo_p_wxObject(void *x) {
40914 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
40915}
40916static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
40917 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
40918}
40919static void *_p_wxSizerItemTo_p_wxObject(void *x) {
40920 return (void *)((wxObject *) ((wxSizerItem *) x));
40921}
40922static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
40923 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
40924}
40925static void *_p_wxShowEventTo_p_wxObject(void *x) {
40926 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
40927}
40928static void *_p_wxFSFileTo_p_wxObject(void *x) {
40929 return (void *)((wxObject *) ((wxFSFile *) x));
40930}
40931static void *_p_wxCommandEventTo_p_wxObject(void *x) {
40932 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
40933}
40934static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
40935 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
40936}
40937static void *_p_wxKeyEventTo_p_wxObject(void *x) {
40938 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
40939}
40940static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
40941 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
40942}
40943static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
40944 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40945}
40946static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
40947 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
40948}
40949static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
40950 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
40951}
40952static void *_p_wxMenuItemTo_p_wxObject(void *x) {
40953 return (void *)((wxObject *) ((wxMenuItem *) x));
40954}
40955static void *_p_wxPySizerTo_p_wxObject(void *x) {
40956 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
40957}
40958static void *_p_wxControlTo_p_wxWindow(void *x) {
40959 return (void *)((wxWindow *) ((wxControl *) x));
40960}
40961static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
40962 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
40963}
40964static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
40965 return (void *)((wxWindow *) ((wxMenuBar *) x));
40966}
40967static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
40968 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
40969}
40970static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
40971 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
40972}
40973static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
40974 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
40975}
40976static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
40977 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
40978}
40979static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
40980 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
40981}
40982static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
40983 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
40984}
40985static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
40986 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
40987}
40988static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
40989 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
40990}
40991static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
40992 return (void *)((wxValidator *) ((wxPyValidator *) x));
40993}
2f4c0a16
RD
40994static 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}};
40995static 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}};
40996static 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}};
40997static 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}};
40998static 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}};
40999static 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}};
41000static 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}};
41001static 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}};
41002static 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}};
41003static 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}};
41004static 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}};
41005static 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}};
41006static 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}};
41007static 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}};
41008static 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}};
41009static 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}};
41010static 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}};
41011static 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}};
41012static 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}};
41013static 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}};
41014static 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}};
41015static 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}};
41016static 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}};
41017static 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}};
41018static 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}};
41019static 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}};
41020static 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}};
41021static 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}};
41022static 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}};
41023static 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}};
41024static 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}};
41025static 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}};
41026static 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}};
41027static 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}};
41028static 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}};
41029static 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}};
41030static 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}};
41031static 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}};
41032static 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}};
41033static 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}};
41034static 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}};
41035static 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}};
41036static 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}};
41037static 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}};
41038static 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}};
41039static 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}};
41040static 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}};
41041static 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}};
41042static 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}};
41043static 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}};
41044static 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}};
41045static 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}};
41046static 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}};
41047static 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}};
41048static 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}};
41049static 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}};
41050static 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}};
41051static 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}};
41052static 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}};
41053static 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}};
41054static 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}};
41055static 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}};
41056static 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}};
41057static 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}};
41058static 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}};
41059static 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}};
41060static 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}};
41061static 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}};
41062static 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}};
41063static 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}};
41064static 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}};
41065static 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}};
41066static 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}};
41067static 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}};
41068static 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}};
41069static 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}};
41070static 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}};
41071static 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}};
41072static 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}};
41073static 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}};
41074static 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}};
41075static 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}};
41076static 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}};
41077static 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}};
41078static 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}};
41079static 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}};
41080static 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}};
41081static 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}};
41082static 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}};
41083static 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}};
41084static 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}};
41085static 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}};
41086static 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}};
41087static 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}};
41088static 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}};
41089static 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}};
41090static 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}};
41091static 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}};
41092static 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}};
41093static 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}};
41094static 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}};
41095static 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}};
41096static 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}};
41097static 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}};
41098static 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}};
41099static 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}};
41100static 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}};
41101static 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}};
41102static 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}};
41103static 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}};
41104static 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}};
41105static 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}};
41106static 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}};
41107static 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
41108
41109static swig_type_info *swig_types_initial[] = {
41110_swigt__p_wxLayoutConstraints,
41111_swigt__p_wxRealPoint,
41112_swigt__p_wxSizerItem,
41113_swigt__p_wxGBSizerItem,
41114_swigt__p_wxScrollEvent,
41115_swigt__p_wxIndividualLayoutConstraint,
41116_swigt__p_wxSizer,
41117_swigt__p_wxBoxSizer,
41118_swigt__p_wxStaticBoxSizer,
41119_swigt__p_wxGridBagSizer,
41120_swigt__p_wxAcceleratorEntry,
41121_swigt__p_wxUpdateUIEvent,
41122_swigt__p_wxMenu,
41123_swigt__p_wxEvent,
41124_swigt__p_wxGridSizer,
41125_swigt__p_wxFlexGridSizer,
41126_swigt__p_wxInitDialogEvent,
41127_swigt__p_wxItemContainer,
41128_swigt__p_wxNcPaintEvent,
41129_swigt__p_wxPaintEvent,
41130_swigt__p_wxSysColourChangedEvent,
41131_swigt__p_wxMouseCaptureChangedEvent,
41132_swigt__p_wxDisplayChangedEvent,
41133_swigt__p_wxPaletteChangedEvent,
41134_swigt__p_wxControl,
41135_swigt__p_wxFont,
41136_swigt__p_wxMenuBarBase,
41137_swigt__p_wxSetCursorEvent,
41138_swigt__p_wxFSFile,
41139_swigt__p_wxCaret,
41140_swigt__p_wxRegion,
41141_swigt__p_wxPoint2D,
41142_swigt__p_int,
41143_swigt__p_wxSize,
41144_swigt__p_wxDC,
41145_swigt__p_wxPySizer,
41146_swigt__p_wxNotifyEvent,
41147_swigt__p_wxPyEvent,
41148_swigt__p_wxPropagationDisabler,
41149_swigt__p_wxAppTraits,
41150_swigt__p_wxArrayString,
41151_swigt__p_wxShowEvent,
41152_swigt__p_wxToolTip,
4e760a36 41153_swigt__p_wxMaximizeEvent,
d14a1e28
RD
41154_swigt__p_wxIconizeEvent,
41155_swigt__p_wxActivateEvent,
41156_swigt__p_wxMoveEvent,
41157_swigt__p_wxSizeEvent,
41158_swigt__p_wxQueryNewPaletteEvent,
41159_swigt__p_wxWindowCreateEvent,
41160_swigt__p_wxIdleEvent,
41161_swigt__p_wxMenuItem,
41162_swigt__p_wxStaticBox,
41163_swigt__p_long,
41164_swigt__p_wxTIFFHandler,
41165_swigt__p_wxXPMHandler,
41166_swigt__p_wxPNMHandler,
41167_swigt__p_wxJPEGHandler,
41168_swigt__p_wxPCXHandler,
41169_swigt__p_wxGIFHandler,
41170_swigt__p_wxPNGHandler,
41171_swigt__p_wxANIHandler,
41172_swigt__p_wxMemoryFSHandler,
41173_swigt__p_wxEvtHandler,
41174_swigt__p_wxCURHandler,
41175_swigt__p_wxICOHandler,
41176_swigt__p_wxBMPHandler,
41177_swigt__p_wxImageHandler,
41178_swigt__p_wxFileSystemHandler,
41179_swigt__p_wxPyFileSystemHandler,
41180_swigt__p_wxInternetFSHandler,
4e760a36 41181_swigt__p_wxZipFSHandler,
d14a1e28
RD
41182_swigt__p_wxRect,
41183_swigt__p_wxGBSpan,
41184_swigt__p_wxPropagateOnce,
41185_swigt__p_wxAcceleratorTable,
8edf1c75 41186_swigt__p_char,
d14a1e28
RD
41187_swigt__p_wxGBPosition,
41188_swigt__p_wxImage,
41189_swigt__p_wxFrame,
41190_swigt__p_wxScrollWinEvent,
41191_swigt__p_wxImageHistogram,
41192_swigt__p_byte,
41193_swigt__p_wxPoint,
41194_swigt__p_wxCursor,
41195_swigt__p_wxObject,
41196_swigt__p_wxPyInputStream,
41197_swigt__p_wxOutputStream,
41198_swigt__p_wxInputStream,
41199_swigt__p_wxDateTime,
41200_swigt__p_wxKeyEvent,
41201_swigt__p_wxNavigationKeyEvent,
41202_swigt__p_wxWindowDestroyEvent,
41203_swigt__p_wxWindow,
41204_swigt__p_wxMenuBar,
d14a1e28
RD
41205_swigt__p_wxFileSystem,
41206_swigt__p_wxBitmap,
41207_swigt__p_wxMenuEvent,
41208_swigt__p_wxContextMenuEvent,
41209_swigt__p_unsigned_char,
41210_swigt__p_wxCloseEvent,
41211_swigt__p_wxEraseEvent,
41212_swigt__p_wxMouseEvent,
41213_swigt__p_wxPyApp,
41214_swigt__p_wxCommandEvent,
41215_swigt__p_wxPyCommandEvent,
44127b65 41216_swigt__p_wxPyDropTarget,
d14a1e28
RD
41217_swigt__p_wxChildFocusEvent,
41218_swigt__p_wxFocusEvent,
41219_swigt__p_wxDropFilesEvent,
41220_swigt__p_wxControlWithItems,
41221_swigt__p_wxColour,
41222_swigt__p_wxValidator,
41223_swigt__p_wxPyValidator,
412240
41225};
41226
41227
41228/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41229
41230static swig_const_info swig_const_table[] = {
d14a1e28
RD
41231{0}};
41232
41233#ifdef __cplusplus
41234}
41235#endif
41236
41237#ifdef __cplusplus
41238extern "C"
41239#endif
41240SWIGEXPORT(void) SWIG_init(void) {
41241 static PyObject *SWIG_globals = 0;
41242 static int typeinit = 0;
41243 PyObject *m, *d;
41244 int i;
41245 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
41246 m = Py_InitModule((char *) SWIG_name, SwigMethods);
41247 d = PyModule_GetDict(m);
41248
41249 if (!typeinit) {
41250 for (i = 0; swig_types_initial[i]; i++) {
41251 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
41252 }
41253 typeinit = 1;
41254 }
41255 SWIG_InstallConstants(d,swig_const_table);
41256
41257
41258#ifndef wxPyUSE_EXPORT
41259 // Make our API structure a CObject so other modules can import it
41260 // from this module.
41261 PyObject* cobj = PyCObject_FromVoidPtr(&API, NULL);
41262 PyDict_SetItemString(d,"_wxPyCoreAPI", cobj);
41263 Py_XDECREF(cobj);
41264#endif
41265
2f4c0a16
RD
41266 PyDict_SetItemString(d,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND));
41267 PyDict_SetItemString(d,"VSCROLL", SWIG_FromInt((int)wxVSCROLL));
41268 PyDict_SetItemString(d,"HSCROLL", SWIG_FromInt((int)wxHSCROLL));
41269 PyDict_SetItemString(d,"CAPTION", SWIG_FromInt((int)wxCAPTION));
41270 PyDict_SetItemString(d,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER));
41271 PyDict_SetItemString(d,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER));
41272 PyDict_SetItemString(d,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER));
41273 PyDict_SetItemString(d,"BORDER", SWIG_FromInt((int)wxBORDER));
41274 PyDict_SetItemString(d,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER));
41275 PyDict_SetItemString(d,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER));
41276 PyDict_SetItemString(d,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW));
41277 PyDict_SetItemString(d,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER));
41278 PyDict_SetItemString(d,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS));
41279 PyDict_SetItemString(d,"NO_3D", SWIG_FromInt((int)wxNO_3D));
41280 PyDict_SetItemString(d,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL));
41281 PyDict_SetItemString(d,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS));
41282 PyDict_SetItemString(d,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW));
41283 PyDict_SetItemString(d,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME));
41284 PyDict_SetItemString(d,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN));
41285 PyDict_SetItemString(d,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN));
41286 PyDict_SetItemString(d,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP));
41287 PyDict_SetItemString(d,"ICONIZE", SWIG_FromInt((int)wxICONIZE));
41288 PyDict_SetItemString(d,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE));
41289 PyDict_SetItemString(d,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE));
41290 PyDict_SetItemString(d,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX));
41291 PyDict_SetItemString(d,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME));
41292 PyDict_SetItemString(d,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU));
41293 PyDict_SetItemString(d,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX));
41294 PyDict_SetItemString(d,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX));
41295 PyDict_SetItemString(d,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ));
41296 PyDict_SetItemString(d,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT));
41297 PyDict_SetItemString(d,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX));
41298 PyDict_SetItemString(d,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER));
41299 PyDict_SetItemString(d,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL));
41300 PyDict_SetItemString(d,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS));
41301 PyDict_SetItemString(d,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT));
41302 PyDict_SetItemString(d,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE));
41303 PyDict_SetItemString(d,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE));
41304 PyDict_SetItemString(d,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW));
41305 PyDict_SetItemString(d,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT));
41306 PyDict_SetItemString(d,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU));
41307 PyDict_SetItemString(d,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR));
41308 PyDict_SetItemString(d,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED));
41309 PyDict_SetItemString(d,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN));
41310 PyDict_SetItemString(d,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM));
41311 PyDict_SetItemString(d,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT));
41312 PyDict_SetItemString(d,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE));
41313 PyDict_SetItemString(d,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE));
41314 PyDict_SetItemString(d,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN));
41315 PyDict_SetItemString(d,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS));
41316 PyDict_SetItemString(d,"RETAINED", SWIG_FromInt((int)wxRETAINED));
41317 PyDict_SetItemString(d,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE));
41318 PyDict_SetItemString(d,"COLOURED", SWIG_FromInt((int)wxCOLOURED));
41319 PyDict_SetItemString(d,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH));
41320 PyDict_SetItemString(d,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB));
41321 PyDict_SetItemString(d,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB));
41322 PyDict_SetItemString(d,"LB_SORT", SWIG_FromInt((int)wxLB_SORT));
41323 PyDict_SetItemString(d,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE));
41324 PyDict_SetItemString(d,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE));
41325 PyDict_SetItemString(d,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED));
41326 PyDict_SetItemString(d,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW));
41327 PyDict_SetItemString(d,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL));
41328 PyDict_SetItemString(d,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER));
41329 PyDict_SetItemString(d,"PASSWORD", SWIG_FromInt((int)wxPASSWORD));
41330 PyDict_SetItemString(d,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE));
41331 PyDict_SetItemString(d,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN));
41332 PyDict_SetItemString(d,"CB_SORT", SWIG_FromInt((int)wxCB_SORT));
41333 PyDict_SetItemString(d,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY));
41334 PyDict_SetItemString(d,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL));
41335 PyDict_SetItemString(d,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL));
41336 PyDict_SetItemString(d,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS));
41337 PyDict_SetItemString(d,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS));
41338 PyDict_SetItemString(d,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP));
41339 PyDict_SetItemString(d,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE));
41340 PyDict_SetItemString(d,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL));
41341 PyDict_SetItemString(d,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL));
41342 PyDict_SetItemString(d,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS));
41343 PyDict_SetItemString(d,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS));
41344 PyDict_SetItemString(d,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT));
41345 PyDict_SetItemString(d,"SL_TOP", SWIG_FromInt((int)wxSL_TOP));
41346 PyDict_SetItemString(d,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT));
41347 PyDict_SetItemString(d,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM));
41348 PyDict_SetItemString(d,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH));
41349 PyDict_SetItemString(d,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE));
41350 PyDict_SetItemString(d,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL));
41351 PyDict_SetItemString(d,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL));
41352 PyDict_SetItemString(d,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP));
41353 PyDict_SetItemString(d,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE));
41354 PyDict_SetItemString(d,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE));
41355 PyDict_SetItemString(d,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER));
41356 PyDict_SetItemString(d,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE));
41357 PyDict_SetItemString(d,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE));
41358 PyDict_SetItemString(d,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP));
41359 PyDict_SetItemString(d,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM));
41360 PyDict_SetItemString(d,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT));
41361 PyDict_SetItemString(d,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT));
41362 PyDict_SetItemString(d,"OK", SWIG_FromInt((int)wxOK));
41363 PyDict_SetItemString(d,"YES_NO", SWIG_FromInt((int)wxYES_NO));
41364 PyDict_SetItemString(d,"CANCEL", SWIG_FromInt((int)wxCANCEL));
41365 PyDict_SetItemString(d,"YES", SWIG_FromInt((int)wxYES));
41366 PyDict_SetItemString(d,"NO", SWIG_FromInt((int)wxNO));
41367 PyDict_SetItemString(d,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT));
41368 PyDict_SetItemString(d,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT));
41369 PyDict_SetItemString(d,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION));
41370 PyDict_SetItemString(d,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND));
41371 PyDict_SetItemString(d,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION));
41372 PyDict_SetItemString(d,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION));
41373 PyDict_SetItemString(d,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP));
41374 PyDict_SetItemString(d,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK));
41375 PyDict_SetItemString(d,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK));
41376 PyDict_SetItemString(d,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING));
41377 PyDict_SetItemString(d,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR));
41378 PyDict_SetItemString(d,"FORWARD", SWIG_FromInt((int)wxFORWARD));
41379 PyDict_SetItemString(d,"BACKWARD", SWIG_FromInt((int)wxBACKWARD));
41380 PyDict_SetItemString(d,"RESET", SWIG_FromInt((int)wxRESET));
41381 PyDict_SetItemString(d,"HELP", SWIG_FromInt((int)wxHELP));
41382 PyDict_SetItemString(d,"MORE", SWIG_FromInt((int)wxMORE));
41383 PyDict_SetItemString(d,"SETUP", SWIG_FromInt((int)wxSETUP));
41384 PyDict_SetItemString(d,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH));
41385 PyDict_SetItemString(d,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT));
41386 PyDict_SetItemString(d,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO));
41387 PyDict_SetItemString(d,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING));
41388 PyDict_SetItemString(d,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE));
41389 PyDict_SetItemString(d,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT));
41390 PyDict_SetItemString(d,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE));
41391 PyDict_SetItemString(d,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH));
41392 PyDict_SetItemString(d,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM));
41393 PyDict_SetItemString(d,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW));
41394 PyDict_SetItemString(d,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT));
41395 PyDict_SetItemString(d,"ID_ANY", SWIG_FromInt((int)wxID_ANY));
41396 PyDict_SetItemString(d,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR));
41397 PyDict_SetItemString(d,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST));
41398 PyDict_SetItemString(d,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN));
41399 PyDict_SetItemString(d,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE));
41400 PyDict_SetItemString(d,"ID_NEW", SWIG_FromInt((int)wxID_NEW));
41401 PyDict_SetItemString(d,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE));
41402 PyDict_SetItemString(d,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS));
41403 PyDict_SetItemString(d,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT));
41404 PyDict_SetItemString(d,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT));
41405 PyDict_SetItemString(d,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO));
41406 PyDict_SetItemString(d,"ID_REDO", SWIG_FromInt((int)wxID_REDO));
41407 PyDict_SetItemString(d,"ID_HELP", SWIG_FromInt((int)wxID_HELP));
41408 PyDict_SetItemString(d,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT));
41409 PyDict_SetItemString(d,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP));
41410 PyDict_SetItemString(d,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW));
41411 PyDict_SetItemString(d,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT));
41412 PyDict_SetItemString(d,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS));
41413 PyDict_SetItemString(d,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS));
41414 PyDict_SetItemString(d,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES));
41415 PyDict_SetItemString(d,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT));
41416 PyDict_SetItemString(d,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL));
41417 PyDict_SetItemString(d,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES));
41418 PyDict_SetItemString(d,"ID_CUT", SWIG_FromInt((int)wxID_CUT));
41419 PyDict_SetItemString(d,"ID_COPY", SWIG_FromInt((int)wxID_COPY));
41420 PyDict_SetItemString(d,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE));
41421 PyDict_SetItemString(d,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR));
41422 PyDict_SetItemString(d,"ID_FIND", SWIG_FromInt((int)wxID_FIND));
41423 PyDict_SetItemString(d,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE));
41424 PyDict_SetItemString(d,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL));
41425 PyDict_SetItemString(d,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE));
41426 PyDict_SetItemString(d,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE));
41427 PyDict_SetItemString(d,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL));
41428 PyDict_SetItemString(d,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES));
41429 PyDict_SetItemString(d,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS));
41430 PyDict_SetItemString(d,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS));
41431 PyDict_SetItemString(d,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS));
41432 PyDict_SetItemString(d,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST));
41433 PyDict_SetItemString(d,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE));
41434 PyDict_SetItemString(d,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME));
41435 PyDict_SetItemString(d,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE));
41436 PyDict_SetItemString(d,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE));
41437 PyDict_SetItemString(d,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1));
41438 PyDict_SetItemString(d,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2));
41439 PyDict_SetItemString(d,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3));
41440 PyDict_SetItemString(d,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4));
41441 PyDict_SetItemString(d,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5));
41442 PyDict_SetItemString(d,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6));
41443 PyDict_SetItemString(d,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7));
41444 PyDict_SetItemString(d,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8));
41445 PyDict_SetItemString(d,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9));
41446 PyDict_SetItemString(d,"ID_OK", SWIG_FromInt((int)wxID_OK));
41447 PyDict_SetItemString(d,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL));
41448 PyDict_SetItemString(d,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY));
41449 PyDict_SetItemString(d,"ID_YES", SWIG_FromInt((int)wxID_YES));
41450 PyDict_SetItemString(d,"ID_NO", SWIG_FromInt((int)wxID_NO));
41451 PyDict_SetItemString(d,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC));
41452 PyDict_SetItemString(d,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD));
41453 PyDict_SetItemString(d,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD));
41454 PyDict_SetItemString(d,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT));
41455 PyDict_SetItemString(d,"ID_MORE", SWIG_FromInt((int)wxID_MORE));
41456 PyDict_SetItemString(d,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP));
41457 PyDict_SetItemString(d,"ID_RESET", SWIG_FromInt((int)wxID_RESET));
41458 PyDict_SetItemString(d,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP));
41459 PyDict_SetItemString(d,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL));
41460 PyDict_SetItemString(d,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL));
41461 PyDict_SetItemString(d,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT));
41462 PyDict_SetItemString(d,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY));
41463 PyDict_SetItemString(d,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE));
41464 PyDict_SetItemString(d,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST));
41465 PyDict_SetItemString(d,"OPEN", SWIG_FromInt((int)wxOPEN));
41466 PyDict_SetItemString(d,"SAVE", SWIG_FromInt((int)wxSAVE));
41467 PyDict_SetItemString(d,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY));
41468 PyDict_SetItemString(d,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT));
41469 PyDict_SetItemString(d,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST));
41470 PyDict_SetItemString(d,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE));
41471 PyDict_SetItemString(d,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR));
41472 PyDict_SetItemString(d,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT));
41473 PyDict_SetItemString(d,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL));
41474 PyDict_SetItemString(d,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT));
41475 PyDict_SetItemString(d,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL));
41476 PyDict_SetItemString(d,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE));
41477 PyDict_SetItemString(d,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL));
41478 PyDict_SetItemString(d,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT));
41479 PyDict_SetItemString(d,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME));
41480 PyDict_SetItemString(d,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME));
41481 PyDict_SetItemString(d,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME));
41482 PyDict_SetItemString(d,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON));
41483 PyDict_SetItemString(d,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE));
41484 PyDict_SetItemString(d,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF));
41485 PyDict_SetItemString(d,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE));
41486 PyDict_SetItemString(d,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE));
41487 PyDict_SetItemString(d,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE));
41488 PyDict_SetItemString(d,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL));
41489 PyDict_SetItemString(d,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL));
41490 PyDict_SetItemString(d,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY));
41491 PyDict_SetItemString(d,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS));
41492 PyDict_SetItemString(d,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT));
41493 PyDict_SetItemString(d,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND));
41494 PyDict_SetItemString(d,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE));
41495 PyDict_SetItemString(d,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES));
41496 PyDict_SetItemString(d,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT));
41497 PyDict_SetItemString(d,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC));
41498 PyDict_SetItemString(d,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC));
41499 PyDict_SetItemString(d,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH));
41500 PyDict_SetItemString(d,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH));
41501 PyDict_SetItemString(d,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS));
41502 PyDict_SetItemString(d,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC));
41503 PyDict_SetItemString(d,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC));
41504 PyDict_SetItemString(d,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS));
41505 PyDict_SetItemString(d,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC));
41506 PyDict_SetItemString(d,"CENTRE", SWIG_FromInt((int)wxCENTRE));
41507 PyDict_SetItemString(d,"CENTER", SWIG_FromInt((int)wxCENTER));
41508 PyDict_SetItemString(d,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL));
41509 PyDict_SetItemString(d,"VERTICAL", SWIG_FromInt((int)wxVERTICAL));
41510 PyDict_SetItemString(d,"BOTH", SWIG_FromInt((int)wxBOTH));
41511 PyDict_SetItemString(d,"LEFT", SWIG_FromInt((int)wxLEFT));
41512 PyDict_SetItemString(d,"RIGHT", SWIG_FromInt((int)wxRIGHT));
41513 PyDict_SetItemString(d,"UP", SWIG_FromInt((int)wxUP));
41514 PyDict_SetItemString(d,"DOWN", SWIG_FromInt((int)wxDOWN));
41515 PyDict_SetItemString(d,"TOP", SWIG_FromInt((int)wxTOP));
41516 PyDict_SetItemString(d,"BOTTOM", SWIG_FromInt((int)wxBOTTOM));
41517 PyDict_SetItemString(d,"NORTH", SWIG_FromInt((int)wxNORTH));
41518 PyDict_SetItemString(d,"SOUTH", SWIG_FromInt((int)wxSOUTH));
41519 PyDict_SetItemString(d,"WEST", SWIG_FromInt((int)wxWEST));
41520 PyDict_SetItemString(d,"EAST", SWIG_FromInt((int)wxEAST));
41521 PyDict_SetItemString(d,"ALL", SWIG_FromInt((int)wxALL));
41522 PyDict_SetItemString(d,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT));
41523 PyDict_SetItemString(d,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL));
41524 PyDict_SetItemString(d,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL));
41525 PyDict_SetItemString(d,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT));
41526 PyDict_SetItemString(d,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP));
41527 PyDict_SetItemString(d,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT));
41528 PyDict_SetItemString(d,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM));
41529 PyDict_SetItemString(d,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL));
41530 PyDict_SetItemString(d,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL));
41531 PyDict_SetItemString(d,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER));
41532 PyDict_SetItemString(d,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE));
41533 PyDict_SetItemString(d,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK));
41534 PyDict_SetItemString(d,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT));
41535 PyDict_SetItemString(d,"SHRINK", SWIG_FromInt((int)wxSHRINK));
41536 PyDict_SetItemString(d,"GROW", SWIG_FromInt((int)wxGROW));
41537 PyDict_SetItemString(d,"EXPAND", SWIG_FromInt((int)wxEXPAND));
41538 PyDict_SetItemString(d,"SHAPED", SWIG_FromInt((int)wxSHAPED));
41539 PyDict_SetItemString(d,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE));
41540 PyDict_SetItemString(d,"TILE", SWIG_FromInt((int)wxTILE));
41541 PyDict_SetItemString(d,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT));
41542 PyDict_SetItemString(d,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE));
41543 PyDict_SetItemString(d,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC));
41544 PyDict_SetItemString(d,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE));
41545 PyDict_SetItemString(d,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED));
41546 PyDict_SetItemString(d,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN));
41547 PyDict_SetItemString(d,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE));
41548 PyDict_SetItemString(d,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK));
41549 PyDict_SetItemString(d,"DEFAULT", SWIG_FromInt((int)wxDEFAULT));
41550 PyDict_SetItemString(d,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE));
41551 PyDict_SetItemString(d,"ROMAN", SWIG_FromInt((int)wxROMAN));
41552 PyDict_SetItemString(d,"SCRIPT", SWIG_FromInt((int)wxSCRIPT));
41553 PyDict_SetItemString(d,"SWISS", SWIG_FromInt((int)wxSWISS));
41554 PyDict_SetItemString(d,"MODERN", SWIG_FromInt((int)wxMODERN));
41555 PyDict_SetItemString(d,"TELETYPE", SWIG_FromInt((int)wxTELETYPE));
41556 PyDict_SetItemString(d,"VARIABLE", SWIG_FromInt((int)wxVARIABLE));
41557 PyDict_SetItemString(d,"FIXED", SWIG_FromInt((int)wxFIXED));
41558 PyDict_SetItemString(d,"NORMAL", SWIG_FromInt((int)wxNORMAL));
41559 PyDict_SetItemString(d,"LIGHT", SWIG_FromInt((int)wxLIGHT));
41560 PyDict_SetItemString(d,"BOLD", SWIG_FromInt((int)wxBOLD));
41561 PyDict_SetItemString(d,"ITALIC", SWIG_FromInt((int)wxITALIC));
41562 PyDict_SetItemString(d,"SLANT", SWIG_FromInt((int)wxSLANT));
41563 PyDict_SetItemString(d,"SOLID", SWIG_FromInt((int)wxSOLID));
41564 PyDict_SetItemString(d,"DOT", SWIG_FromInt((int)wxDOT));
41565 PyDict_SetItemString(d,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH));
41566 PyDict_SetItemString(d,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH));
41567 PyDict_SetItemString(d,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH));
41568 PyDict_SetItemString(d,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH));
41569 PyDict_SetItemString(d,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT));
41570 PyDict_SetItemString(d,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE));
41571 PyDict_SetItemString(d,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH));
41572 PyDict_SetItemString(d,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH));
41573 PyDict_SetItemString(d,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH));
41574 PyDict_SetItemString(d,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH));
41575 PyDict_SetItemString(d,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH));
41576 PyDict_SetItemString(d,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH));
41577 PyDict_SetItemString(d,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL));
41578 PyDict_SetItemString(d,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER));
41579 PyDict_SetItemString(d,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND));
41580 PyDict_SetItemString(d,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND));
41581 PyDict_SetItemString(d,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING));
41582 PyDict_SetItemString(d,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT));
41583 PyDict_SetItemString(d,"CLEAR", SWIG_FromInt((int)wxCLEAR));
41584 PyDict_SetItemString(d,"XOR", SWIG_FromInt((int)wxXOR));
41585 PyDict_SetItemString(d,"INVERT", SWIG_FromInt((int)wxINVERT));
41586 PyDict_SetItemString(d,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE));
41587 PyDict_SetItemString(d,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE));
41588 PyDict_SetItemString(d,"COPY", SWIG_FromInt((int)wxCOPY));
41589 PyDict_SetItemString(d,"AND", SWIG_FromInt((int)wxAND));
41590 PyDict_SetItemString(d,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT));
41591 PyDict_SetItemString(d,"NO_OP", SWIG_FromInt((int)wxNO_OP));
41592 PyDict_SetItemString(d,"NOR", SWIG_FromInt((int)wxNOR));
41593 PyDict_SetItemString(d,"EQUIV", SWIG_FromInt((int)wxEQUIV));
41594 PyDict_SetItemString(d,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT));
41595 PyDict_SetItemString(d,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT));
41596 PyDict_SetItemString(d,"NAND", SWIG_FromInt((int)wxNAND));
41597 PyDict_SetItemString(d,"OR", SWIG_FromInt((int)wxOR));
41598 PyDict_SetItemString(d,"SET", SWIG_FromInt((int)wxSET));
41599 PyDict_SetItemString(d,"WXK_BACK", SWIG_FromInt((int)WXK_BACK));
41600 PyDict_SetItemString(d,"WXK_TAB", SWIG_FromInt((int)WXK_TAB));
41601 PyDict_SetItemString(d,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN));
41602 PyDict_SetItemString(d,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE));
41603 PyDict_SetItemString(d,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE));
41604 PyDict_SetItemString(d,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE));
41605 PyDict_SetItemString(d,"WXK_START", SWIG_FromInt((int)WXK_START));
41606 PyDict_SetItemString(d,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON));
41607 PyDict_SetItemString(d,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON));
41608 PyDict_SetItemString(d,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL));
41609 PyDict_SetItemString(d,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON));
41610 PyDict_SetItemString(d,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR));
41611 PyDict_SetItemString(d,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT));
41612 PyDict_SetItemString(d,"WXK_ALT", SWIG_FromInt((int)WXK_ALT));
41613 PyDict_SetItemString(d,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL));
41614 PyDict_SetItemString(d,"WXK_MENU", SWIG_FromInt((int)WXK_MENU));
41615 PyDict_SetItemString(d,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE));
41616 PyDict_SetItemString(d,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL));
41617 PyDict_SetItemString(d,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR));
41618 PyDict_SetItemString(d,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT));
41619 PyDict_SetItemString(d,"WXK_END", SWIG_FromInt((int)WXK_END));
41620 PyDict_SetItemString(d,"WXK_HOME", SWIG_FromInt((int)WXK_HOME));
41621 PyDict_SetItemString(d,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT));
41622 PyDict_SetItemString(d,"WXK_UP", SWIG_FromInt((int)WXK_UP));
41623 PyDict_SetItemString(d,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT));
41624 PyDict_SetItemString(d,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN));
41625 PyDict_SetItemString(d,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT));
41626 PyDict_SetItemString(d,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT));
41627 PyDict_SetItemString(d,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE));
41628 PyDict_SetItemString(d,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT));
41629 PyDict_SetItemString(d,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT));
41630 PyDict_SetItemString(d,"WXK_HELP", SWIG_FromInt((int)WXK_HELP));
41631 PyDict_SetItemString(d,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0));
41632 PyDict_SetItemString(d,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1));
41633 PyDict_SetItemString(d,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2));
41634 PyDict_SetItemString(d,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3));
41635 PyDict_SetItemString(d,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4));
41636 PyDict_SetItemString(d,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5));
41637 PyDict_SetItemString(d,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6));
41638 PyDict_SetItemString(d,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7));
41639 PyDict_SetItemString(d,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8));
41640 PyDict_SetItemString(d,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9));
41641 PyDict_SetItemString(d,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY));
41642 PyDict_SetItemString(d,"WXK_ADD", SWIG_FromInt((int)WXK_ADD));
41643 PyDict_SetItemString(d,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR));
41644 PyDict_SetItemString(d,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT));
41645 PyDict_SetItemString(d,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL));
41646 PyDict_SetItemString(d,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE));
41647 PyDict_SetItemString(d,"WXK_F1", SWIG_FromInt((int)WXK_F1));
41648 PyDict_SetItemString(d,"WXK_F2", SWIG_FromInt((int)WXK_F2));
41649 PyDict_SetItemString(d,"WXK_F3", SWIG_FromInt((int)WXK_F3));
41650 PyDict_SetItemString(d,"WXK_F4", SWIG_FromInt((int)WXK_F4));
41651 PyDict_SetItemString(d,"WXK_F5", SWIG_FromInt((int)WXK_F5));
41652 PyDict_SetItemString(d,"WXK_F6", SWIG_FromInt((int)WXK_F6));
41653 PyDict_SetItemString(d,"WXK_F7", SWIG_FromInt((int)WXK_F7));
41654 PyDict_SetItemString(d,"WXK_F8", SWIG_FromInt((int)WXK_F8));
41655 PyDict_SetItemString(d,"WXK_F9", SWIG_FromInt((int)WXK_F9));
41656 PyDict_SetItemString(d,"WXK_F10", SWIG_FromInt((int)WXK_F10));
41657 PyDict_SetItemString(d,"WXK_F11", SWIG_FromInt((int)WXK_F11));
41658 PyDict_SetItemString(d,"WXK_F12", SWIG_FromInt((int)WXK_F12));
41659 PyDict_SetItemString(d,"WXK_F13", SWIG_FromInt((int)WXK_F13));
41660 PyDict_SetItemString(d,"WXK_F14", SWIG_FromInt((int)WXK_F14));
41661 PyDict_SetItemString(d,"WXK_F15", SWIG_FromInt((int)WXK_F15));
41662 PyDict_SetItemString(d,"WXK_F16", SWIG_FromInt((int)WXK_F16));
41663 PyDict_SetItemString(d,"WXK_F17", SWIG_FromInt((int)WXK_F17));
41664 PyDict_SetItemString(d,"WXK_F18", SWIG_FromInt((int)WXK_F18));
41665 PyDict_SetItemString(d,"WXK_F19", SWIG_FromInt((int)WXK_F19));
41666 PyDict_SetItemString(d,"WXK_F20", SWIG_FromInt((int)WXK_F20));
41667 PyDict_SetItemString(d,"WXK_F21", SWIG_FromInt((int)WXK_F21));
41668 PyDict_SetItemString(d,"WXK_F22", SWIG_FromInt((int)WXK_F22));
41669 PyDict_SetItemString(d,"WXK_F23", SWIG_FromInt((int)WXK_F23));
41670 PyDict_SetItemString(d,"WXK_F24", SWIG_FromInt((int)WXK_F24));
41671 PyDict_SetItemString(d,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK));
41672 PyDict_SetItemString(d,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL));
41673 PyDict_SetItemString(d,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP));
41674 PyDict_SetItemString(d,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN));
41675 PyDict_SetItemString(d,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE));
41676 PyDict_SetItemString(d,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB));
41677 PyDict_SetItemString(d,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER));
41678 PyDict_SetItemString(d,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1));
41679 PyDict_SetItemString(d,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2));
41680 PyDict_SetItemString(d,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3));
41681 PyDict_SetItemString(d,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4));
41682 PyDict_SetItemString(d,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME));
41683 PyDict_SetItemString(d,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT));
41684 PyDict_SetItemString(d,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP));
41685 PyDict_SetItemString(d,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT));
41686 PyDict_SetItemString(d,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN));
41687 PyDict_SetItemString(d,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR));
41688 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP));
41689 PyDict_SetItemString(d,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT));
41690 PyDict_SetItemString(d,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN));
41691 PyDict_SetItemString(d,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END));
41692 PyDict_SetItemString(d,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN));
41693 PyDict_SetItemString(d,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT));
41694 PyDict_SetItemString(d,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE));
41695 PyDict_SetItemString(d,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL));
41696 PyDict_SetItemString(d,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY));
41697 PyDict_SetItemString(d,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD));
41698 PyDict_SetItemString(d,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR));
41699 PyDict_SetItemString(d,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT));
41700 PyDict_SetItemString(d,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL));
41701 PyDict_SetItemString(d,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE));
41702 PyDict_SetItemString(d,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT));
41703 PyDict_SetItemString(d,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT));
41704 PyDict_SetItemString(d,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU));
41705 PyDict_SetItemString(d,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE));
41706 PyDict_SetItemString(d,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER));
41707 PyDict_SetItemString(d,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL));
41708 PyDict_SetItemString(d,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4));
41709 PyDict_SetItemString(d,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET));
41710 PyDict_SetItemString(d,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET));
41711 PyDict_SetItemString(d,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET));
41712 PyDict_SetItemString(d,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL));
41713 PyDict_SetItemString(d,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID));
41714 PyDict_SetItemString(d,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER));
41715 PyDict_SetItemString(d,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT));
41716 PyDict_SetItemString(d,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE));
41717 PyDict_SetItemString(d,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3));
41718 PyDict_SetItemString(d,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL));
41719 PyDict_SetItemString(d,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5));
41720 PyDict_SetItemString(d,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4));
41721 PyDict_SetItemString(d,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5));
41722 PyDict_SetItemString(d,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO));
41723 PyDict_SetItemString(d,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO));
41724 PyDict_SetItemString(d,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14));
41725 PyDict_SetItemString(d,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17));
41726 PyDict_SetItemString(d,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE));
41727 PyDict_SetItemString(d,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9));
41728 PyDict_SetItemString(d,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10));
41729 PyDict_SetItemString(d,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11));
41730 PyDict_SetItemString(d,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12));
41731 PyDict_SetItemString(d,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14));
41732 PyDict_SetItemString(d,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL));
41733 PyDict_SetItemString(d,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5));
41734 PyDict_SetItemString(d,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3));
41735 PyDict_SetItemString(d,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4));
41736 PyDict_SetItemString(d,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6));
41737 PyDict_SetItemString(d,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65));
41738 PyDict_SetItemString(d,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4));
41739 PyDict_SetItemString(d,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5));
41740 PyDict_SetItemString(d,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6));
41741 PyDict_SetItemString(d,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY));
41742 PyDict_SetItemString(d,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH));
41743 PyDict_SetItemString(d,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL));
41744 PyDict_SetItemString(d,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US));
41745 PyDict_SetItemString(d,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN));
41746 PyDict_SetItemString(d,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN));
41747 PyDict_SetItemString(d,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4));
41748 PyDict_SetItemString(d,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD));
41749 PyDict_SetItemString(d,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11));
41750 PyDict_SetItemString(d,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11));
41751 PyDict_SetItemString(d,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11));
41752 PyDict_SetItemString(d,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE));
41753 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA));
41754 PyDict_SetItemString(d,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA));
41755 PyDict_SetItemString(d,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA));
41756 PyDict_SetItemString(d,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA));
41757 PyDict_SetItemString(d,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE));
41758 PyDict_SetItemString(d,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE));
41759 PyDict_SetItemString(d,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE));
41760 PyDict_SetItemString(d,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS));
41761 PyDict_SetItemString(d,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS));
41762 PyDict_SetItemString(d,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS));
41763 PyDict_SetItemString(d,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS));
41764 PyDict_SetItemString(d,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE));
41765 PyDict_SetItemString(d,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE));
41766 PyDict_SetItemString(d,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA));
41767 PyDict_SetItemString(d,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA));
41768 PyDict_SetItemString(d,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA));
41769 PyDict_SetItemString(d,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2));
41770 PyDict_SetItemString(d,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE));
41771 PyDict_SetItemString(d,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE));
41772 PyDict_SetItemString(d,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX));
41773 PyDict_SetItemString(d,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL));
41774 PyDict_SetItemString(d,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL));
41775 PyDict_SetItemString(d,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR));
41776 PyDict_SetItemString(d,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL));
41777 PyDict_SetItemString(d,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK));
41778 PyDict_SetItemString(d,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO));
41779 PyDict_SetItemString(d,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX));
41780 PyDict_SetItemString(d,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE));
41781 PyDict_SetItemString(d,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST));
41782 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1));
41783 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2));
41784 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1));
41785 PyDict_SetItemString(d,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2));
41786 PyDict_SetItemString(d,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB));
41787 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1));
41788 PyDict_SetItemString(d,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2));
41789 PyDict_SetItemString(d,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST));
41790 PyDict_SetItemString(d,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE));
41791 PyDict_SetItemString(d,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE));
41792 PyDict_SetItemString(d,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR));
41793 PyDict_SetItemString(d,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR));
41794 PyDict_SetItemString(d,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER));
41795 PyDict_SetItemString(d,"HT_MAX", SWIG_FromInt((int)wxHT_MAX));
41796 PyDict_SetItemString(d,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE));
41797 PyDict_SetItemString(d,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT));
41798 PyDict_SetItemString(d,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL));
41799 PyDict_SetItemString(d,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT));
41800 PyDict_SetItemString(d,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN));
41801 PyDict_SetItemString(d,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE));
41802 PyDict_SetItemString(d,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE));
41803 PyDict_SetItemString(d,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE));
d14a1e28 41804 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
d03fd34d 41805 SWIG_addvarlink(SWIG_globals,(char*)"EmptyString",_wrap_EmptyString_get, _wrap_EmptyString_set);
2f4c0a16
RD
41806 PyDict_SetItemString(d,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID));
41807 PyDict_SetItemString(d,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP));
41808 PyDict_SetItemString(d,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO));
41809 PyDict_SetItemString(d,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR));
41810 PyDict_SetItemString(d,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM));
41811 PyDict_SetItemString(d,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA));
41812 PyDict_SetItemString(d,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM));
41813 PyDict_SetItemString(d,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA));
41814 PyDict_SetItemString(d,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF));
41815 PyDict_SetItemString(d,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF));
41816 PyDict_SetItemString(d,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG));
41817 PyDict_SetItemString(d,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG));
41818 PyDict_SetItemString(d,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM));
41819 PyDict_SetItemString(d,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX));
41820 PyDict_SetItemString(d,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT));
41821 PyDict_SetItemString(d,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON));
41822 PyDict_SetItemString(d,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI));
41823 PyDict_SetItemString(d,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF));
41824 PyDict_SetItemString(d,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR));
41825 PyDict_SetItemString(d,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY));
41826 PyDict_SetItemString(d,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE));
41827 PyDict_SetItemString(d,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW));
41828 PyDict_SetItemString(d,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW));
41829 PyDict_SetItemString(d,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE));
41830 PyDict_SetItemString(d,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR));
41831 PyDict_SetItemString(d,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS));
41832 PyDict_SetItemString(d,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND));
41833 PyDict_SetItemString(d,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM));
41834 PyDict_SetItemString(d,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON));
41835 PyDict_SetItemString(d,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER));
41836 PyDict_SetItemString(d,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON));
41837 PyDict_SetItemString(d,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY));
41838 PyDict_SetItemString(d,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH));
41839 PyDict_SetItemString(d,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL));
41840 PyDict_SetItemString(d,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT));
41841 PyDict_SetItemString(d,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT));
41842 PyDict_SetItemString(d,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW));
41843 PyDict_SetItemString(d,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON));
41844 PyDict_SetItemString(d,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW));
41845 PyDict_SetItemString(d,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS));
41846 PyDict_SetItemString(d,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE));
41847 PyDict_SetItemString(d,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE));
41848 PyDict_SetItemString(d,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING));
41849 PyDict_SetItemString(d,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN));
41850 PyDict_SetItemString(d,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT));
41851 PyDict_SetItemString(d,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH));
41852 PyDict_SetItemString(d,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK));
41853 PyDict_SetItemString(d,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT));
41854 PyDict_SetItemString(d,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW));
41855 PyDict_SetItemString(d,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT));
41856 PyDict_SetItemString(d,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX));
d14a1e28
RD
41857 SWIG_addvarlink(SWIG_globals,(char*)"DefaultPosition",_wrap_DefaultPosition_get, _wrap_DefaultPosition_set);
41858 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSize",_wrap_DefaultSize_get, _wrap_DefaultSize_set);
2f4c0a16
RD
41859 PyDict_SetItemString(d,"FromStart", SWIG_FromInt((int)wxFromStart));
41860 PyDict_SetItemString(d,"FromCurrent", SWIG_FromInt((int)wxFromCurrent));
41861 PyDict_SetItemString(d,"FromEnd", SWIG_FromInt((int)wxFromEnd));
d14a1e28
RD
41862
41863 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41864
41865
41866 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41867
41868 SWIG_addvarlink(SWIG_globals,(char*)"NullImage",_wrap_NullImage_get, _wrap_NullImage_set);
41869 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get, _wrap_IMAGE_OPTION_BMP_FORMAT_set);
41870 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set);
41871 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set);
41872 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get, _wrap_IMAGE_OPTION_RESOLUTION_set);
41873 SWIG_addvarlink(SWIG_globals,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set);
2f4c0a16
RD
41874 PyDict_SetItemString(d,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES));
41875 PyDict_SetItemString(d,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM));
41876 PyDict_SetItemString(d,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP));
41877 PyDict_SetItemString(d,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP));
41878 PyDict_SetItemString(d,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY));
41879 PyDict_SetItemString(d,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY));
41880 PyDict_SetItemString(d,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED));
41881 PyDict_SetItemString(d,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE));
41882 PyDict_SetItemString(d,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP));
41883 PyDict_SetItemString(d,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP));
41884 PyDict_SetItemString(d,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW));
41885 PyDict_SetItemString(d,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE));
41886 PyDict_SetItemString(d,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX));
d14a1e28
RD
41887 PyDict_SetItemString(d, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL));
41888 PyDict_SetItemString(d, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST));
41889 PyDict_SetItemString(d, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST));
41890 PyDict_SetItemString(d, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED));
41891 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED));
41892 PyDict_SetItemString(d, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED));
41893 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED));
41894 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED));
41895 PyDict_SetItemString(d, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED));
41896 PyDict_SetItemString(d, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED));
41897 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED));
41898 PyDict_SetItemString(d, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED));
41899 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED));
41900 PyDict_SetItemString(d, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED));
41901 PyDict_SetItemString(d, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED));
41902 PyDict_SetItemString(d, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED));
41903 PyDict_SetItemString(d, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED));
41904 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED));
41905 PyDict_SetItemString(d, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER));
41906 PyDict_SetItemString(d, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN));
41907 PyDict_SetItemString(d, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP));
41908 PyDict_SetItemString(d, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN));
41909 PyDict_SetItemString(d, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP));
41910 PyDict_SetItemString(d, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN));
41911 PyDict_SetItemString(d, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP));
41912 PyDict_SetItemString(d, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION));
41913 PyDict_SetItemString(d, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW));
41914 PyDict_SetItemString(d, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW));
41915 PyDict_SetItemString(d, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK));
41916 PyDict_SetItemString(d, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK));
41917 PyDict_SetItemString(d, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK));
41918 PyDict_SetItemString(d, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS));
41919 PyDict_SetItemString(d, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS));
41920 PyDict_SetItemString(d, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS));
41921 PyDict_SetItemString(d, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL));
41922 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN));
41923 PyDict_SetItemString(d, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP));
41924 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN));
41925 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP));
41926 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN));
41927 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP));
41928 PyDict_SetItemString(d, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION));
41929 PyDict_SetItemString(d, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW));
41930 PyDict_SetItemString(d, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW));
41931 PyDict_SetItemString(d, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK));
41932 PyDict_SetItemString(d, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK));
41933 PyDict_SetItemString(d, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK));
41934 PyDict_SetItemString(d, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR));
41935 PyDict_SetItemString(d, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK));
41936 PyDict_SetItemString(d, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY));
41937 PyDict_SetItemString(d, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN));
41938 PyDict_SetItemString(d, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP));
41939 PyDict_SetItemString(d, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY));
41940 PyDict_SetItemString(d, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR));
41941 PyDict_SetItemString(d, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP));
41942 PyDict_SetItemString(d, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM));
41943 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP));
41944 PyDict_SetItemString(d, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN));
41945 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP));
41946 PyDict_SetItemString(d, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN));
41947 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK));
41948 PyDict_SetItemString(d, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE));
41949 PyDict_SetItemString(d, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL));
41950 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP));
41951 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM));
41952 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP));
41953 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN));
41954 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP));
41955 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN));
41956 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK));
41957 PyDict_SetItemString(d, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE));
41958 PyDict_SetItemString(d, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE));
41959 PyDict_SetItemString(d, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE));
41960 PyDict_SetItemString(d, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW));
41961 PyDict_SetItemString(d, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION));
41962 PyDict_SetItemString(d, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION));
41963 PyDict_SetItemString(d, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP));
41964 PyDict_SetItemString(d, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER));
41965 PyDict_SetItemString(d, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE));
41966 PyDict_SetItemString(d, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE));
41967 PyDict_SetItemString(d, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY));
41968 PyDict_SetItemString(d, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW));
41969 PyDict_SetItemString(d, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE));
41970 PyDict_SetItemString(d, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE));
41971 PyDict_SetItemString(d, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED));
41972 PyDict_SetItemString(d, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT));
41973 PyDict_SetItemString(d, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND));
41974 PyDict_SetItemString(d, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT));
41975 PyDict_SetItemString(d, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON));
41976 PyDict_SetItemString(d, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN));
41977 PyDict_SetItemString(d, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE));
41978 PyDict_SetItemString(d, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT));
41979 PyDict_SetItemString(d, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU));
41980 PyDict_SetItemString(d, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED));
41981 PyDict_SetItemString(d, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED));
41982 PyDict_SetItemString(d, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED));
41983 PyDict_SetItemString(d, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE));
41984 PyDict_SetItemString(d, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED));
41985 PyDict_SetItemString(d, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES));
41986 PyDict_SetItemString(d, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM));
41987 PyDict_SetItemString(d, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM));
41988 PyDict_SetItemString(d, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM));
41989 PyDict_SetItemString(d, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG));
41990 PyDict_SetItemString(d, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE));
41991 PyDict_SetItemString(d, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI));
41992 PyDict_SetItemString(d, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING));
41993 PyDict_SetItemString(d, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING));
41994 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK));
41995 PyDict_SetItemString(d, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK));
41996 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK));
41997 PyDict_SetItemString(d, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK));
41998 PyDict_SetItemString(d, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS));
41999 PyDict_SetItemString(d, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS));
42000 PyDict_SetItemString(d, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER));
2f4c0a16
RD
42001 PyDict_SetItemString(d,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY));
42002 PyDict_SetItemString(d,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE));
42003 PyDict_SetItemString(d,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT));
42004 PyDict_SetItemString(d,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE));
42005 PyDict_SetItemString(d,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT));
42006 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL));
42007 PyDict_SetItemString(d,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED));
42008 PyDict_SetItemString(d,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL));
42009 PyDict_SetItemString(d,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED));
42010 PyDict_SetItemString(d,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS));
42011 PyDict_SetItemString(d,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION));
42012 PyDict_SetItemString(d,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG));
42013 PyDict_SetItemString(d,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG));
42014 PyDict_SetItemString(d,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS));
42015 PyDict_SetItemString(d,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT));
41f1cec7 42016 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
423f194a 42017 SWIG_addvarlink(SWIG_globals,(char*)"PanelNameStr",_wrap_PanelNameStr_get, _wrap_PanelNameStr_set);
fe763115
RD
42018 PyDict_SetItemString(d,"WINDOW_VARIANT_DEFAULT", SWIG_FromInt((int)wxWINDOW_VARIANT_DEFAULT));
42019 PyDict_SetItemString(d,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL));
42020 PyDict_SetItemString(d,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL));
42021 PyDict_SetItemString(d,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI));
42022 PyDict_SetItemString(d,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE));
d14a1e28 42023 SWIG_addvarlink(SWIG_globals,(char*)"DefaultValidator",_wrap_DefaultValidator_get, _wrap_DefaultValidator_set);
d03fd34d 42024 SWIG_addvarlink(SWIG_globals,(char*)"ControlNameStr",_wrap_ControlNameStr_get, _wrap_ControlNameStr_set);
2f4c0a16
RD
42025 PyDict_SetItemString(d,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE));
42026 PyDict_SetItemString(d,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED));
42027 PyDict_SetItemString(d,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL));
d14a1e28 42028 SWIG_addvarlink(SWIG_globals,(char*)"DefaultSpan",_wrap_DefaultSpan_get, _wrap_DefaultSpan_set);
2f4c0a16
RD
42029 PyDict_SetItemString(d,"Left", SWIG_FromInt((int)wxLeft));
42030 PyDict_SetItemString(d,"Top", SWIG_FromInt((int)wxTop));
42031 PyDict_SetItemString(d,"Right", SWIG_FromInt((int)wxRight));
42032 PyDict_SetItemString(d,"Bottom", SWIG_FromInt((int)wxBottom));
42033 PyDict_SetItemString(d,"Width", SWIG_FromInt((int)wxWidth));
42034 PyDict_SetItemString(d,"Height", SWIG_FromInt((int)wxHeight));
42035 PyDict_SetItemString(d,"Centre", SWIG_FromInt((int)wxCentre));
42036 PyDict_SetItemString(d,"Center", SWIG_FromInt((int)wxCenter));
42037 PyDict_SetItemString(d,"CentreX", SWIG_FromInt((int)wxCentreX));
42038 PyDict_SetItemString(d,"CentreY", SWIG_FromInt((int)wxCentreY));
42039 PyDict_SetItemString(d,"Unconstrained", SWIG_FromInt((int)wxUnconstrained));
42040 PyDict_SetItemString(d,"AsIs", SWIG_FromInt((int)wxAsIs));
42041 PyDict_SetItemString(d,"PercentOf", SWIG_FromInt((int)wxPercentOf));
42042 PyDict_SetItemString(d,"Above", SWIG_FromInt((int)wxAbove));
42043 PyDict_SetItemString(d,"Below", SWIG_FromInt((int)wxBelow));
42044 PyDict_SetItemString(d,"LeftOf", SWIG_FromInt((int)wxLeftOf));
42045 PyDict_SetItemString(d,"RightOf", SWIG_FromInt((int)wxRightOf));
42046 PyDict_SetItemString(d,"SameAs", SWIG_FromInt((int)wxSameAs));
42047 PyDict_SetItemString(d,"Absolute", SWIG_FromInt((int)wxAbsolute));
d14a1e28
RD
42048
42049 // Initialize threading, some globals and such
42050 __wxPyPreStart(d);
42051
42052
42053 // Although these are defined in __version__ they need to be here too so
42054 // that an assert can be done to ensure that the wxPython and the wxWindows
42055 // versions match.
42056 PyDict_SetItemString(d,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION ));
42057 PyDict_SetItemString(d,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION ));
42058 PyDict_SetItemString(d,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER ));
42059
42060}
42061